@charset "UTF-8";
:root{--ink:#173c46;--muted:#657e80;--paper:#f5f2e9;--card:#fffefa;--teal:#0a7477;--deep:#123f49;--aqua:#dcece7;--orange:#db7644;--line:#d9e1d9;--red:#ae473a;--gold:#b4862c;--shadow:0 14px 45px #123f490a;--radius:20px;font-family:Inter,"Noto Sans TC","Microsoft JhengHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:4px}a{color:var(--teal);text-underline-offset:4px}button{color:inherit}button, a,input,select{-webkit-tap-highlight-color:transparent}svg{display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}p{line-height:1.8}button{touch-action:manipulation}.site-header{max-width:1440px;margin:auto;padding:24px 44px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:12px;align-items:center;border:0;background:none;text-align:left;font-weight:750;font-size:20px;padding:0;letter-spacing:.03em}.brand small{display:block;font-size:var(--small-font-9,9px);letter-spacing:.17em;margin-top:5px;font-weight:600;color:var(--muted)}.brand-mark{width:43px;height:43px;border-radius:12px;background:var(--deep);color:var(--paper);padding:8px}.brand-mark svg{width:100%;height:100%}nav{display:flex;align-items:center;gap:22px}.text-button{border:0;background:none;padding:8px 0;font-size:var(--small-font-13,13px);color:var(--muted);white-space:nowrap}.text-button:hover{color:var(--teal)}.beta{font-size:var(--small-font-10,10px);border:1px solid var(--line);padding:6px 9px;border-radius:5px;color:var(--muted)}#app{max-width:1352px;margin:0 auto;padding:0 0 34px;outline:0;min-height:75vh}.eyebrow{font-size:var(--small-font-10,10px);letter-spacing:.18em;font-weight:750;color:var(--teal);margin-bottom:16px;line-height:1.5}.tag{font-size:var(--small-font-11,11px);letter-spacing:.05em;border-radius:5px;background:var(--aqua);color:var(--teal);padding:5px 9px;display:inline-flex;align-items:center;gap:5px}.home{padding:30px 44px 0}.hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(350px,.8fr);gap:50px;align-items:start}.hero-copy{padding-top:28px}.hero-copy h1{font-size:clamp(48px,6.3vw,88px);font-weight:850;line-height:1.14;margin-bottom:22px}.hero-copy h1 .outline{color:var(--teal)}.hero-copy .lead{font-size:20px;font-weight:500;line-height:1.8;max-width:530px;margin-bottom:15px}.hero-copy .sub{font-size:14px;color:var(--muted);max-width:530px;margin-bottom:28px}.hero-numbers{display:flex;gap:26px;flex-wrap:wrap;margin-bottom:28px}.hero-number{border-left:1px solid var(--line);padding-left:18px}.hero-number:first-child{border:0;padding-left:0}.hero-number strong{display:block;font-size:28px;letter-spacing:-.04em;font-weight:650}.hero-number small{font-size:var(--small-font-11,11px);color:var(--muted)}.route-art{background:var(--deep);color:var(--paper);border-radius:22px;position:relative;overflow:hidden;min-height:193px;padding:22px 24px}.route-art .art-label{display:flex;justify-content:space-between;font-size:var(--small-font-10,10px);letter-spacing:.13em;color:#b6d0d0}.route-art svg{width:100%;height:145px}.route-art .art-note{font-size:var(--small-font-10,10px);position:absolute;bottom:13px;right:22px;color:#b6d0d0}.setup{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:25px;box-shadow:var(--shadow)}.setup-head{display:flex;justify-content:space-between;align-items:center}.setup-head h2{font-size:18px;margin:0}.setup-head button{font-size:var(--small-font-12,12px)}.setup-radar{margin:-6px auto -12px;max-width:320px}.field{display:block;margin:14px 0}.field>span,.field-label{font-size:var(--small-font-11,11px);color:var(--muted);display:block;margin-bottom:7px;letter-spacing:.04em}.field input,.field select{width:100%;padding:12px 13px;background:var(--card);border:1px solid var(--line);border-radius:9px;min-height:45px;color:var(--ink)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-note{font-size:var(--small-font-11,11px);color:var(--muted);margin:3px 0 15px;line-height:1.7}.speed-row{display:flex;align-items:center;justify-content:space-between;margin:18px 0}.speed-row>span{font-size:var(--small-font-12,12px)}.segments{display:inline-flex;border:1px solid var(--line);border-radius:8px;padding:3px;gap:3px}.segments button{border:0;border-radius:5px;padding:7px 12px;background:transparent;color:var(--muted);font-size:var(--small-font-11,11px);min-height:32px}.segments button[aria-pressed=true]{background:var(--deep);color:var(--paper)}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;min-height:49px;padding:13px 20px;font-size:14px;font-weight:650;border:1px solid var(--deep);transition:transform .15s,background .15s}.primary-button{background:var(--deep);color:var(--paper)}.primary-button:hover{background:var(--teal);border-color:var(--teal);transform:translateY(-1px)}.secondary-button{background:transparent;border-color:var(--line);color:var(--ink)}.secondary-button:hover{background:var(--aqua)}.wide-button{width:100%}.setup .secondary-button{margin-bottom:8px}.save-note{font-size:var(--small-font-10,10px);color:var(--muted);margin:10px 0 0;text-align:center;line-height:1.6}.mode-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px}.mode-card{padding:17px 19px;border:1px solid var(--line);border-radius:13px;text-align:left;background:transparent;position:relative}.mode-card.active{background:var(--aqua);border-color:#9ec7be}.mode-card:disabled{opacity:.6}.mode-card small{display:block;font-size:var(--small-font-10,10px);color:var(--muted);margin:7px 0}.mode-card strong{font-size:18px;letter-spacing:-.02em}.mode-card span{font-size:var(--small-font-10,10px);line-height:1.5}.mode-card .check{position:absolute;right:16px;top:16px;font-size:var(--small-font-12,12px);color:var(--teal)}.home-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;color:var(--muted);font-size:var(--small-font-11,11px)}.game{padding:12px 44px 0}.voyage-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 20px}.voyage-top h1{font-size:21px;margin:0}.voyage-top p{font-size:var(--small-font-11,11px);color:var(--muted);margin:5px 0 0;line-height:1.5}.game-tools{display:flex;align-items:center;gap:15px}.small-button{background:transparent;border:1px solid var(--line);border-radius:7px;font-size:var(--small-font-11,11px);padding:9px 11px;min-height:36px}.small-button:hover{background:var(--aqua)}.route-strip{display:grid;grid-template-columns:repeat(30,1fr);gap:5px;margin-bottom:10px}.route-node{height:8px;border-radius:3px;background:#dbe2d9;position:relative;border:0;padding:0}.route-node.done{background:var(--teal)}.route-node.current{background:var(--orange);box-shadow:0 0 0 3px #db764424}.route-node.chance:not(.done):not(.current){background:#dbc69f}.route-node.fate:not(.done):not(.current){background:#b3c5ca}.route-legend{display:flex;justify-content:space-between;gap:12px;font-size:var(--small-font-10,10px);color:var(--muted);margin-bottom:24px}.route-legend .symbols{display:flex;gap:15px}.game-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}.dashboard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;position:sticky;top:15px;box-shadow:var(--shadow)}.dashboard-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:var(--small-font-12,12px)}.dashboard-top span{font-size:var(--small-font-10,10px);color:var(--muted)}.radar-wrap{margin:5px -12px -10px}.radar{width:100%;height:auto;overflow:visible}.radar text{font-family:inherit;fill:var(--ink);font-size:var(--small-font-11,11px)}.radar .axis-val{font-size:var(--small-font-13,13px);font-weight:700}.radar .grid{fill:none;stroke:var(--line);stroke-width:1}.radar .threshold{fill:none;stroke:#b99a65;stroke-width:1;stroke-dasharray:3 4}.radar .ray{stroke:var(--line);stroke-width:1}.radar .area{fill:#0a74771d;stroke:var(--teal);stroke-width:2;stroke-linejoin:round}.radar .dot{fill:var(--teal);stroke:var(--card);stroke-width:2}.radar .old{fill:none;stroke:#9aa9a8;stroke-dasharray:3 4;stroke-width:1.2}.radar-key{display:flex;justify-content:center;gap:12px;margin:0 0 15px;font-size:var(--small-font-9,9px);color:var(--muted)}.radar-key span:before{content:'';display:inline-block;width:12px;height:0;border-top:1px dashed #b99a65;margin-right:5px;vertical-align:middle}.radar-key span:last-child:before{border-top-style:solid;border-color:var(--teal)}.state-tag{border-radius:9px;background:var(--aqua);padding:10px 12px;font-size:var(--small-font-12,12px);display:flex;justify-content:space-between;gap:8px;align-items:center}.state-tag strong{font-weight:650}.state-tag small{font-size:var(--small-font-9,9px);color:var(--muted)}.state-tag.warn{background:#f3e7ce;color:#886124}.state-tag.danger{background:#f5dfd7;color:var(--red)}.state-detail{font-size:var(--small-font-10,10px);line-height:1.7;color:var(--muted);margin:8px 0 17px}.finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px;border-top:1px solid var(--line);padding-top:17px}.finance-grid small{display:block;font-size:var(--small-font-9,9px);color:var(--muted);line-height:1.5;margin-bottom:4px}.finance-grid strong{font-size:16px;letter-spacing:-.025em;font-weight:650;font-variant-numeric:tabular-nums}.finance-grid .negative{color:var(--red)}.dashboard-more{display:flex;justify-content:space-between;gap:10px;margin-top:17px;border-top:1px solid var(--line);padding-top:12px}.dashboard-more .text-button{font-size:var(--small-font-10,10px)}.play-panel{min-width:0}.stage-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px 30px;box-shadow:var(--shadow)}.stage-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.type-label{display:inline-flex;gap:8px;align-items:center;font-size:var(--small-font-11,11px);color:var(--teal)}.type-label .symbol{font-size:19px;line-height:1}.type-label.chance{color:#927134}.type-label.fate{color:#5b778b}.countdown{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:var(--small-font-10,10px);white-space:nowrap}.countdown strong{color:var(--ink);font-size:17px;letter-spacing:.025em;font-variant-numeric:tabular-nums;font-weight:600}.countdown.urgent strong{color:var(--red)}.clock-ring{width:31px;height:31px}.clock-ring .track{stroke:var(--line);stroke-width:2;fill:none}.clock-ring .remaining{stroke:var(--teal);stroke-width:2;fill:none;transform:rotate(-90deg);transform-origin:center}.stage-card h2{font-size:clamp(23px,2.5vw,33px);line-height:1.4;margin:0 0 13px}.stage-prompt{font-size:14px;line-height:1.9;color:#526b70;margin-bottom:23px}.age-pill{font-size:var(--small-font-10,10px);border:1px solid var(--line);padding:4px 8px;border-radius:5px;color:var(--muted)}.choices{display:grid;gap:11px}.choice{display:grid;grid-template-columns:30px 1fr 20px;gap:10px;align-items:start;width:100%;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 15px;transition:border .15s,transform .15s,background .15s;position:relative}.choice:hover:not(:disabled){background:#f2f8f3;border-color:#8eb9b1;transform:translateX(2px)}.choice:disabled{background:#efeee7;color:#74827f;opacity:.8}.choice .number{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:var(--paper);font-size:var(--small-font-10,10px);font-variant-numeric:tabular-nums}.choice:hover:not(:disabled) .number{background:var(--teal);color:var(--paper)}.choice h3{font-size:14px;font-weight:650;letter-spacing:0;line-height:1.6;margin:0 0 4px}.choice p{font-size:var(--small-font-11,11px);line-height:1.7;margin:0;color:var(--muted)}.choice .arrow{font-size:15px;margin-top:2px;color:var(--teal)}.choice:disabled .arrow{color:var(--muted)}.choice-effects{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:9px;font-size:var(--small-font-9,9px);color:var(--muted);line-height:1.7}.choice-effects .up{color:var(--teal)}.choice-effects .down{color:var(--red)}.choice .gate{display:block;font-size:var(--small-font-10,10px);color:var(--red);margin-top:8px;line-height:1.7}.stage-foot{font-size:var(--small-font-10,10px);color:var(--muted);display:flex;justify-content:space-between;gap:15px;margin-top:20px;line-height:1.6}.stage-foot button{font-size:var(--small-font-10,10px);padding:0}.pause-banner{background:var(--deep);color:var(--paper);border-radius:10px;padding:12px 16px;margin-bottom:13px;display:flex;justify-content:space-between;gap:12px;font-size:var(--small-font-12,12px);align-items:center}.pause-banner button{border:1px solid #ffffff55;background:transparent;color:inherit;border-radius:6px;padding:6px 10px;font-size:var(--small-font-11,11px)}.mobile-stats{display:none}.chronicle-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px 30px;box-shadow:var(--shadow)}.chronicle-card h2{font-size:29px;line-height:1.45;margin-bottom:12px}.chronicle-label{color:var(--teal);font-size:var(--small-font-10,10px);letter-spacing:.14em;margin-bottom:18px}.chosen-label{font-size:var(--small-font-11,11px);color:var(--muted);border-left:2px solid var(--orange);padding-left:10px;margin-bottom:22px;line-height:1.7}.chronicle-story{font-size:16px;line-height:1.95}.delta-row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:22px 0}.delta-item small{display:block;font-size:var(--small-font-10,10px);color:var(--muted);margin-bottom:6px}.delta-item strong{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.delta-item .up{color:var(--teal)}.delta-item .down{color:var(--red)}.journal-events{list-style:none;padding:0;margin:0 0 22px}.journal-events li{font-size:var(--small-font-12,12px);color:#526b70;line-height:1.8;padding:0 0 15px 23px;border-left:1px solid var(--line);position:relative;margin-left:4px;animation:arrive .4s both}.journal-events li:before{content:'';position:absolute;left:-4px;top:6px;background:var(--teal);width:7px;height:7px;border-radius:50%}.journal-events li:last-child{padding-bottom:0;border-left-color:transparent}.lesson{padding:14px 16px;border-radius:9px;background:var(--aqua);font-size:var(--small-font-11,11px);line-height:1.8;margin-bottom:21px}.chronicle-money{display:flex;gap:22px;flex-wrap:wrap;font-size:var(--small-font-11,11px);color:var(--muted);margin-bottom:20px;line-height:1.8}.chronicle-money strong{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}.next-row{display:flex;justify-content:space-between;gap:15px;align-items:center}.next-row .countdown strong{font-size:14px}.end-view{padding:30px 44px 0;max-width:1150px;margin:auto}.end-intro{text-align:center;margin:0 auto 30px;max-width:760px}.end-symbol{font-size:45px;color:var(--teal);line-height:1;margin:5px 0 22px}.end-intro h1{font-size:clamp(30px,4.2vw,53px);line-height:1.35;margin-bottom:17px}.end-intro .tag{margin-bottom:15px}.end-intro>p{font-size:14px;color:var(--muted);max-width:650px;margin:0 auto}.end-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:24px;border:1px solid var(--line);background:var(--card);border-radius:16px;margin-bottom:22px}.end-stats small{display:block;color:var(--muted);font-size:var(--small-font-10,10px);margin-bottom:9px}.end-stats strong{font-size:23px;font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.end-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.end-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:23px}.end-card h2{font-size:16px;margin-bottom:14px}.end-card p{font-size:var(--small-font-12,12px);color:var(--muted);line-height:1.9}.end-card .radar-wrap{max-width:340px;margin:auto}.life-line{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--line)}.life-line:last-child{border:0;margin:0;padding:0}.life-line small{display:block;color:var(--teal);font-size:var(--small-font-10,10px);margin-bottom:5px}.life-line p{margin-bottom:0}.end-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:25px 0}.ending-note{text-align:center;color:var(--muted);font-size:var(--small-font-10,10px);line-height:1.8}.history-list{list-style:none;margin:0;padding:0}.history-list li{padding:17px 0 17px 23px;border-left:1px solid var(--line);position:relative;margin-left:6px}.history-list li:before{content:'';position:absolute;left:-4px;top:23px;width:7px;height:7px;border-radius:50%;background:var(--teal)}.history-list .history-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.history-list small{font-size:var(--small-font-10,10px);color:var(--muted)}.history-list h3{font-size:var(--small-font-13,13px);margin:6px 0;font-weight:650;letter-spacing:0}.history-list p{font-size:var(--small-font-11,11px);line-height:1.8;margin:5px 0;color:var(--muted)}.history-list .effects{font-size:var(--small-font-10,10px);color:var(--teal)}.history-list .history-choice{color:var(--ink);font-weight:500}.site-footer{max-width:1352px;margin:20px auto 0;padding:19px 44px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:var(--small-font-10,10px)}.site-footer .text-button{font-size:var(--small-font-10,10px)}dialog{width:min(740px,calc(100vw - 28px));max-height:85vh;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--ink);padding:0;box-shadow:0 30px 100px #123f4933}dialog::backdrop{background:#12343f77;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:25px 27px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--card);z-index:2}.dialog-head h2{font-size:23px;margin:0}.dialog-head .eyebrow{margin-bottom:5px;font-size:var(--small-font-9,9px)}.icon-button{background:var(--paper);border:0;border-radius:50%;width:35px;height:35px;font-size:25px;line-height:1;display:flex;align-items:center;justify-content:center}.dialog-content{padding:22px 27px 28px;font-size:var(--small-font-12,12px);line-height:1.9}.dialog-content h3{font-size:15px;letter-spacing:0;margin:23px 0 10px}.dialog-content h3:first-child{margin-top:0}.dialog-content p{font-size:var(--small-font-12,12px);line-height:1.9;color:#526b70}.dialog-content ul{padding-left:20px;color:#526b70}.rules-table{width:100%;border-collapse:collapse;font-size:var(--small-font-11,11px)}.rules-table td,.rules-table th{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}.rules-table th{font-size:var(--small-font-10,10px);color:var(--muted);font-weight:500}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.resource-item{border:1px solid var(--line);padding:14px;border-radius:10px}.resource-item small{font-size:var(--small-font-9,9px);color:var(--teal)}.resource-item h3{font-size:var(--small-font-12,12px);margin:5px 0;line-height:1.6}.resource-item p{font-size:var(--small-font-10,10px);margin:0;line-height:1.7;color:var(--muted)}.resource-item a{font-size:var(--small-font-10,10px);display:inline-block;margin-top:7px}.source-item{padding:14px 0;border-bottom:1px solid var(--line)}.source-item h3{margin:0 0 5px;font-size:var(--small-font-12,12px)}.source-item p{font-size:var(--small-font-11,11px);margin:0}.source-item a{font-size:var(--small-font-10,10px);margin-top:6px;display:inline-block}.records-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.record-item{padding:12px;border:1px solid var(--line);border-radius:8px}.record-item small{font-size:var(--small-font-10,10px);color:var(--muted);display:block}.record-item strong{font-size:var(--small-font-13,13px);line-height:1.8;display:block;font-weight:600}.pause-shade{opacity:.65}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--deep);color:var(--paper);font-size:var(--small-font-12,12px);border-radius:9px;padding:12px 18px;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90vw;line-height:1.6}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.journey-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;font-size:var(--small-font-10,10px);color:var(--muted)}.tiny-progress{height:4px;background:var(--line);border-radius:3px;overflow:hidden;flex:1}.tiny-progress span{display:block;height:100%;background:var(--teal)}.muted{color:var(--muted)}.tabular{font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:1450px){.hero-grid{gap:80px}.hero-copy{padding-top:35px}.home{padding-top:40px}}
@media(max-width:1050px){.site-header{padding:22px 25px}.home,.game,.end-view{padding-left:25px;padding-right:25px}.hero-grid{gap:30px;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr)}.game-layout{grid-template-columns:260px 1fr;gap:17px}.stage-card,.chronicle-card{padding:24px}.dashboard{padding:16px}.route-legend .symbols{gap:8px}.site-footer{padding-left:25px;padding-right:25px}.hero-copy .lead{font-size:18px}.hero-numbers{gap:18px}.mode-card{padding:15px 13px}}
@media(max-width:780px){.site-header{padding:18px 18px;gap:10px}.brand{font-size:17px;gap:9px}.brand-mark{width:36px;height:36px;border-radius:10px;padding:6px}.brand small{font-size:var(--small-font-8,8px);margin-top:3px}nav{gap:15px}.beta{display:none}.text-button{font-size:var(--small-font-11,11px)}.home,.game,.end-view{padding-left:18px;padding-right:18px}.home{padding-top:10px}.hero-grid{grid-template-columns:1fr;gap:25px}.hero-copy{padding-top:10px}.hero-copy h1{font-size:61px;margin-bottom:18px}.hero-copy .lead{font-size:18px;max-width:none}.hero-copy .sub{font-size:var(--small-font-13,13px);margin-bottom:22px;max-width:none}.hero-numbers{margin-bottom:22px;gap:22px}.hero-number strong{font-size:25px}.route-art{min-height:178px}.route-art svg{height:130px}.setup{padding:22px}.setup-radar{max-width:310px}.mode-row{gap:8px;margin-top:22px}.mode-card{padding:13px 10px}.mode-card strong{font-size:16px}.mode-card small{font-size:var(--small-font-9,9px)}.mode-card .check{right:9px;top:10px}.mode-card span{font-size:var(--small-font-9,9px)}.home-bottom{font-size:var(--small-font-10,10px);align-items:flex-start;line-height:1.7}.voyage-top{align-items:flex-start;margin-top:5px;margin-bottom:17px}.voyage-top h1{font-size:18px}.game-tools{gap:8px}.game-tools .segments button{padding:5px 8px}.small-button{padding:7px 8px;font-size:var(--small-font-10,10px)}.route-strip{gap:3px;margin-bottom:8px}.route-node{height:6px}.route-legend{font-size:var(--small-font-9,9px);margin-bottom:13px}.route-legend .symbols{gap:8px}.game-layout{display:flex;flex-direction:column;gap:18px}.play-panel{order:1;width:100%}.dashboard{order:2;position:static;width:100%;padding:20px}.dashboard .radar-wrap{max-width:360px;margin:0 auto}.dashboard .finance-grid{grid-template-columns:repeat(4,1fr)}.dashboard .finance-grid strong{font-size:15px}.dashboard .state-detail{margin-bottom:15px}.dashboard .radar-key{margin-top:-12px}.mobile-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:15px;background:var(--aqua);padding:10px 7px;border-radius:10px;position:sticky;top:0;z-index:1}.mobile-stats div{text-align:center}.mobile-stats small{display:block;font-size:var(--small-font-9,9px);color:var(--muted);margin-bottom:4px}.mobile-stats strong{font-size:16px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}.mobile-stats .danger{color:var(--red)}.stage-card,.chronicle-card{padding:22px 18px;border-radius:16px}.stage-meta{margin-bottom:17px}.stage-card h2{font-size:25px}.stage-prompt{font-size:var(--small-font-13,13px);line-height:1.9;margin-bottom:19px}.choice{padding:14px 11px;gap:8px;grid-template-columns:25px 1fr 13px}.choice h3{font-size:var(--small-font-13,13px)}.choice p{font-size:var(--small-font-11,11px)}.choice-effects{font-size:var(--small-font-9,9px);gap:3px 9px}.choice .number{width:22px;height:22px}.stage-foot{font-size:var(--small-font-9,9px);margin-top:16px}.chronicle-card h2{font-size:25px}.chronicle-story{font-size:14px}.chronicle-money{gap:10px}.delta-item strong{font-size:17px}.delta-item small{font-size:var(--small-font-9,9px)}.journal-events li{font-size:var(--small-font-11,11px)}.next-row{flex-wrap:wrap}.next-row .primary-button{flex:1;font-size:var(--small-font-12,12px)}.end-view{padding-top:20px}.end-intro h1{font-size:32px}.end-intro>p{font-size:var(--small-font-12,12px)}.end-stats{grid-template-columns:1fr 1fr;padding:20px;gap:20px}.end-stats strong{font-size:23px}.end-grid{grid-template-columns:1fr;gap:14px}.end-actions{gap:9px}.end-actions button{font-size:var(--small-font-12,12px);flex:1 1 40%;padding:12px}.site-footer{margin-top:10px;padding:17px 18px 22px;flex-direction:column;align-items:flex-start;gap:4px}.dialog-head{padding:22px 20px 16px}.dialog-head h2{font-size:21px}.dialog-content{padding:20px}.resource-grid{grid-template-columns:1fr}.records-grid{grid-template-columns:1fr 1fr}.pause-banner{font-size:var(--small-font-11,11px);padding:11px 12px}.finance-grid strong{font-size:15px}}
@media(max-width:370px){nav{gap:10px}.brand{font-size:15px}.brand small{font-size:var(--small-font-7,7px)}.hero-copy h1{font-size:53px}.home,.game,.end-view{padding-left:13px;padding-right:13px}.form-row{gap:8px}.field select{font-size:var(--small-font-12,12px)}.countdown{gap:5px}.countdown strong{font-size:15px}.game-tools{gap:5px}.game-tools .segments button{padding:4px 6px}.route-legend{font-size:var(--small-font-8,8px)}.dashboard .finance-grid{grid-template-columns:1fr 1fr}.next-row .countdown{font-size:var(--small-font-9,9px)}}

/* Second playtest: visible cards, concrete plans and period accounts. */
.start-risk{border:1px solid #d9c79e;background:#faf1dc;border-radius:10px;padding:12px 13px;margin:10px 0 15px}.start-risk strong{display:block;font-size:var(--small-font-12,12px)}.start-risk span{display:block;font-size:var(--small-font-10,10px);color:#816635;margin-top:5px}.start-risk p{font-size:var(--small-font-10,10px);line-height:1.7;color:#816635;margin:6px 0 0}.event-reveal{margin:18px 0 22px;padding:19px 20px;border:1px solid #cfb983;border-radius:13px;background:#fbf3df;box-shadow:inset 4px 0 #b8903a}.event-reveal.fate{background:#eaf0f4;border-color:#a4bac9;box-shadow:inset 4px 0 #647e99}.event-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:var(--small-font-10,10px);color:#876724;margin-bottom:12px}.fate .event-card-head{color:#48667e}.event-card-head strong{font-size:var(--small-font-13,13px);letter-spacing:.06em}.event-card-head span{font-size:var(--small-font-9,9px)}.event-reveal h3{font-size:20px;line-height:1.5;margin:0 0 10px;letter-spacing:-.02em}.event-reveal p{font-size:var(--small-font-12,12px);line-height:1.9;margin-bottom:12px;color:#52676d}.event-impact{border-top:1px solid #c6b47e66;padding-top:10px;font-size:var(--small-font-10,10px);line-height:1.8;color:#82632e}.fate .event-impact{color:#47657c;border-color:#a4bac966}.scene-plans{padding:16px 18px;background:#f3f5ef;border:1px solid var(--line);border-radius:12px;margin:18px 0 22px}.scene-plans h3{font-size:var(--small-font-12,12px);margin:0 0 12px;letter-spacing:0}.scene-plans .field{margin:10px 0 6px}.scene-plans select{background:var(--card)}.plan-note{font-size:var(--small-font-10,10px)!important;line-height:1.8;margin:6px 0 16px!important;color:var(--muted)}.plan-note:last-child{margin-bottom:0!important}.model-guide-button{padding:12px 15px;border:1px solid #a9cac2;background:var(--aqua);border-radius:9px;font-size:var(--small-font-12,12px);text-align:left;width:100%;margin:0 0 19px;color:var(--deep)}.sales-comparison section{padding:15px;border:1px solid var(--line);border-radius:11px;margin:12px 0}.sales-comparison h3{margin:0 0 7px}.sales-comparison p{margin:7px 0;font-size:var(--small-font-11,11px)}.dashboard-details{border-top:1px solid var(--line);padding-top:12px;margin-top:17px;display:grid;gap:10px}.dashboard-details span{display:block;font-size:var(--small-font-9,9px);color:var(--muted);line-height:1.6}.dashboard-details strong{display:block;font-size:var(--small-font-11,11px);font-weight:550;line-height:1.8}.period-ledger{border:1px solid var(--line);border-radius:12px;background:#f7f7f1;padding:17px;margin:22px 0}.period-ledger h3{font-size:var(--small-font-13,13px);margin:0 0 14px;letter-spacing:0}.period-money-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 12px}.period-money-grid small{display:block;font-size:var(--small-font-9,9px);line-height:1.5;color:var(--muted);margin-bottom:5px}.period-money-grid strong{font-size:16px;letter-spacing:-.03em;font-weight:600;font-variant-numeric:tabular-nums}.period-ledger>p{font-size:var(--small-font-9,9px);margin:14px 0 0;line-height:1.8;color:var(--muted)}.resolved-card{font-size:var(--small-font-11,11px);border-left:3px solid #b8903a;padding:8px 12px;background:#fbf3df;line-height:1.8;margin:14px 0 18px}.resolved-card.fate{background:#eaf0f4;border-color:#647e99}.life-incident{padding:16px;background:#f9eae2;border:1px solid #e2c5b6;border-radius:11px;margin:12px 0}.life-incident span{font-size:var(--small-font-9,9px);color:#8e634f}.life-incident h4{font-size:15px;margin:8px 0}.life-incident p{font-size:var(--small-font-11,11px);margin:5px 0;line-height:1.9}.life-incident strong{font-size:var(--small-font-10,10px);color:#96533c;line-height:1.8}.history-list .history-card{background:var(--aqua);padding:5px 8px;border-radius:5px;color:var(--teal);font-size:var(--small-font-10,10px)}
@media(max-width:780px){.event-reveal{padding:16px}.event-reveal h3{font-size:19px}.event-card-head{gap:8px}.event-card-head span{font-size:var(--small-font-8,8px)}.scene-plans{padding:15px}.period-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-details{grid-template-columns:1fr 1fr;gap:12px}.event-reveal p{font-size:var(--small-font-12,12px)}.period-ledger{padding:15px}.start-risk p{font-size:var(--small-font-10,10px)}.stage-card .choice h3{line-height:1.65}.form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.scene-plans select{font-size:var(--small-font-13,13px)}}

/* Third playtest: the second company and parallel life choices. */
.restart-gate{border:1px solid #b2c8bf;background:#e8f0e8;border-radius:13px;padding:19px;margin:18px 0}.restart-gate.eligible{border-color:#91b9a9;background:#dceee3}.restart-gate>span{font-size:var(--small-font-9,9px);letter-spacing:.12em;color:#517c6b}.restart-gate h3{font-size:19px;line-height:1.6;margin:10px 0}.restart-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:var(--small-font-11,11px);color:#8c8170}.restart-checks .met{color:#276c54}.restart-checks b{display:inline-block;min-width:15px}.restart-gate p{font-size:var(--small-font-10,10px);line-height:1.8;color:var(--muted);margin:13px 0 0}.legacy-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:0 0 22px}.legacy-summary>div{padding:20px;border:1px solid var(--line);border-radius:13px;background:#e6eeE5}.legacy-summary small{display:block;font-size:var(--small-font-10,10px);color:var(--muted);margin-bottom:8px}.legacy-summary strong{font-size:23px;letter-spacing:-.03em}.legacy-summary p{font-size:var(--small-font-10,10px);line-height:1.8;color:var(--muted);margin:8px 0 0}.side-opportunity{border:1px solid #b7c7bc;background:#edf3eb;border-radius:12px;padding:16px 18px;margin:16px 0}.side-opportunity>span{font-size:var(--small-font-9,9px);letter-spacing:.04em;color:#537562}.side-opportunity h3{font-size:18px;line-height:1.6;margin:9px 0}.side-opportunity p{font-size:var(--small-font-11,11px);line-height:1.9;color:#577064;margin:0}.side-opportunity.family-window{background:#f6efe8;border-color:#dac4b4}.family-window>span{color:#97725b}.side-results{border:1px solid var(--line);border-radius:13px;padding:18px;margin:18px 0;background:#eff3ea}.side-results>h3{font-size:var(--small-font-13,13px);margin:0 0 12px}.side-results article{border-top:1px solid #ced9cd;padding:13px 0}.side-results article:first-of-type{border:0;padding-top:0}.side-results article:last-child{padding-bottom:0}.side-results h4{font-size:var(--small-font-12,12px);line-height:1.7;margin:0 0 7px}.side-results p{font-size:var(--small-font-10,10px);color:var(--muted);line-height:1.9;margin:0 0 7px}.side-results span{font-size:var(--small-font-10,10px);line-height:1.9;color:var(--teal)}.scene-plans input{font-size:var(--small-font-13,13px)}.second-venture .voyage-top .eyebrow{color:#927134}
@media(max-width:780px){.restart-gate,.side-opportunity,.side-results{padding:15px}.restart-checks{font-size:var(--small-font-10,10px);gap:9px}.legacy-summary{grid-template-columns:1fr}.side-opportunity h3{font-size:18px}.scene-plans .field>span{line-height:1.7}.hero-number strong{font-size:23px}}
.industry-panel{border:1px solid #afc9c3;background:#edf3ef;border-radius:14px;padding:19px 22px;margin:0 0 18px;color:var(--deep)}.industry-head{display:flex;flex-wrap:wrap;gap:7px 18px;align-items:baseline;margin-bottom:14px}.industry-head>span{font-size:var(--small-font-9,9px);letter-spacing:.12em;color:#66877e}.industry-head>strong{font-size:var(--small-font-13,13px);font-weight:600}.industry-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 17px;margin:0}.industry-metrics dt{font-size:var(--small-font-10,10px);color:var(--muted);line-height:1.6;margin-bottom:5px}.industry-metrics dd{font-size:15px;font-weight:600;line-height:1.6;margin:0;overflow-wrap:anywhere}.valuation-detail{margin-top:17px;border-top:1px solid #c8dad1;padding-top:12px}.valuation-detail summary{cursor:pointer;font-size:var(--small-font-11,11px);color:var(--teal);line-height:1.8}.valuation-detail p{font-size:var(--small-font-11,11px);line-height:1.9;color:var(--muted);margin:10px 0 0}.route-guide{padding:15px 16px;border:1px solid var(--line);border-radius:11px;background:#f2f4ec;margin:14px 0}.route-guide h3{font-size:var(--small-font-13,13px);line-height:1.7;margin:0 0 8px}.route-guide p{font-size:var(--small-font-11,11px);line-height:1.9;margin:0 0 12px;color:var(--muted)}.route-guide>div{display:grid;grid-template-columns:58px 1fr;gap:8px;font-size:var(--small-font-10,10px);line-height:1.9;margin:7px 0}.route-guide strong{font-weight:600;color:#527267}.route-guide span{color:var(--muted)}.end-view>.industry-panel{margin-bottom:22px}@media(max-width:780px){.industry-panel{padding:16px}.industry-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.industry-metrics dd{font-size:14px}.route-guide>div{grid-template-columns:52px 1fr}.industry-head>strong{font-size:var(--small-font-12,12px)}}
.activity-panel{margin:14px 0 20px}.activity-panel>h3{font-size:var(--small-font-13,13px);margin-bottom:12px}.activity-options{display:grid;gap:9px}.activity-option{display:grid;gap:7px;width:100%;padding:14px 15px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:10px;color:var(--deep);font:inherit;cursor:pointer}.activity-option[aria-pressed="true"]{background:#e4f0e8;border-color:#4c8e76;box-shadow:inset 3px 0 #4c8e76}.activity-option:focus-visible{outline:3px solid #689d89;outline-offset:2px}.activity-option strong{font-size:var(--small-font-13,13px);line-height:1.6}.activity-option>span:not(.activity-bonus){font-size:var(--small-font-10,10px);line-height:1.7}.activity-option small{font-size:var(--small-font-10,10px);color:var(--muted)}.activity-bonus{font-size:var(--small-font-9,9px);letter-spacing:.03em;color:#4e7c69}.activity-skip{margin:10px 0 0;font-size:var(--small-font-10,10px)}.activity-selected{padding:12px;background:#e9f0e5;border-radius:8px}
.report-button{color:#925b3c!important}.report-context{padding:13px 15px;border-radius:9px;background:#eaf0e7;font-size:var(--small-font-12,12px);line-height:1.9}.report-consent{display:flex;align-items:flex-start;gap:9px;font-size:var(--small-font-11,11px);line-height:1.8;margin:15px 0}.report-consent input{width:auto;margin-top:4px}.report-actions{display:flex;flex-wrap:wrap;gap:10px}#problemForm textarea{width:100%;box-sizing:border-box;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--card);font:inherit;font-size:var(--small-font-13,13px);line-height:1.8;color:var(--deep);resize:vertical}.personal-portfolio{margin:0 0 22px}.personal-portfolio>p{margin-top:16px;font-size:var(--small-font-11,11px);line-height:1.9;color:var(--muted)}@media(max-width:600px){.site-header nav{gap:6px;flex-wrap:wrap;justify-content:flex-end}.site-header nav .text-button{font-size:var(--small-font-10,10px)}.site-header .beta{display:none}.report-actions{display:grid;grid-template-columns:1fr} .report-actions button{width:100%}}
.brief-purpose{font-size:17px!important;line-height:1.9;color:var(--deep);margin-top:0!important}.game-brief h3{font-size:15px;margin:22px 0 9px}.game-brief p,.game-brief li{font-size:var(--small-font-12,12px);line-height:1.95}.game-brief ol{padding-left:22px}.game-brief li{padding-left:4px;margin-bottom:10px}.game-brief strong{font-weight:650}.game-brief .primary-button{margin-top:17px}

@media(min-width:781px){:root{--small-font-7:12px;--small-font-8:12px;--small-font-9:12px;--small-font-10:12px;--small-font-11:13px;--small-font-12:14px;--small-font-13:15px}.radar text,.radar .axis-val{font-size:16px}.route-art svg text{font-size:13px}.plan-note{line-height:1.95}.dashboard-details span,.dashboard-details strong{line-height:1.85}.activity-option{gap:9px;padding:16px}.activity-option strong{line-height:1.7}.dialog-content{line-height:1.9}}

/* Producer credit and the closing invitation. */
.producer-credit{margin:20px 0;color:var(--muted);font-size:14px;line-height:1.8}
.producer-credit a{font-weight:700;color:var(--teal)}
.end-view>.producer-credit{text-align:center;margin:24px 0}
.tga-cta{background:var(--aqua);border-color:#bdd7cc;margin-top:24px}
.tga-cta h2{font-size:clamp(22px,3vw,30px);margin-bottom:14px}
.tga-cta p{max-width:760px}
.tga-cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.tga-cta-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px}
@media(max-width:560px){.tga-cta-actions{flex-direction:column}.tga-cta-actions a{width:100%}.tga-cta a[href^="mailto:"]{overflow-wrap:anywhere}}
.decision-review-entry{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-8px 0 20px}.decision-review-entry>span{font-size:var(--small-font-11,11px);color:var(--muted)}.decision-review-entry button:disabled{opacity:.5}.history-review-button{display:block;margin-top:10px}.review-notice{padding:13px 16px;border-radius:10px;background:var(--aqua);font-size:14px}.review-selected{padding:12px 0;color:var(--teal)}.review-choices{list-style:none;display:grid;gap:12px;padding:0;margin:0 0 22px}.review-choice{border:1px solid var(--line);border-radius:12px;padding:16px}.review-choice.selected{border:2px solid var(--teal);background:#f2f8f3}.review-choice-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.review-choice-heading strong{line-height:1.7}.review-choice-heading .tag{flex-shrink:0}.review-choice p{font-size:14px;margin:8px 0 0;color:var(--muted)}.review-choice .review-gate{color:var(--red)}.review-details{border-top:1px solid var(--line);padding:15px 0}.review-details summary{cursor:pointer;line-height:1.8}.review-details .event-reveal{margin-top:16px}.review-plans{margin:15px 0 0}.review-plans>div{margin:0 0 15px}.review-plans dt{font-size:14px;color:var(--muted)}.review-plans dd{margin:5px 0 0;line-height:1.8}.review-result{border-top:1px solid var(--line);padding-top:22px;margin-top:12px}.review-result .delta-item small{display:block;margin-top:5px}.review-navigation{display:flex;gap:10px;margin:22px 0 12px}.review-navigation button{flex:1}.review-navigation button:disabled{opacity:.45}.review-legacy{color:var(--muted);background:var(--paper);padding:14px;border-radius:9px}@media(max-width:780px){.review-choice-heading{flex-wrap:wrap}.decision-review-entry{gap:8px;margin:0 0 16px}.review-navigation button{padding:11px;font-size:13px}}
.copyright{display:block;font-size:12px;margin-top:5px;letter-spacing:.02em}.mode-card[aria-pressed=false]{cursor:pointer}.mode-banner{display:flex;flex-direction:column;gap:7px;padding:14px 18px;background:var(--aqua);border:1px solid #b8d4ca;border-radius:12px;margin:0 0 20px;font-size:14px;line-height:1.8}.mode-banner strong{color:var(--teal)}.auto-banner{border:2px solid var(--teal)}.choice.auto-choice:disabled{opacity:.7;background:var(--card);color:var(--ink);cursor:default}.choice.auto-selected:disabled{opacity:1;background:#edf7ef;color:var(--ink);border:3px solid var(--teal);animation:auto-reveal 1.2s ease-in-out infinite}.choice.auto-selected .number{background:var(--teal);color:var(--paper)}.choice.auto-selected .arrow{color:var(--teal)}.game.paused .auto-selected{animation-play-state:paused}.depth-card .prelude-note{margin-top:20px}.depth-history{padding:0 0 20px}.depth-result .chronicle-money{line-height:1.9;flex-wrap:wrap}@keyframes auto-reveal{0%,100%{box-shadow:0 0 0 2px #0a747710}50%{box-shadow:0 0 0 6px #0a74772b}}@media(prefers-reduced-motion:reduce){.choice.auto-selected:disabled{animation:none;box-shadow:0 0 0 3px #0a74772b}}@media(max-width:780px){.mode-banner{font-size:13px;padding:12px}.mode-card{padding:16px 12px}}

/* Growth capital details remain readable on narrow screens. */
.table-scroll{overflow-x:auto;margin-top:12px}.table-scroll table{width:100%;border-collapse:collapse;font-size:var(--small-font-11,12px);font-variant-numeric:tabular-nums}.table-scroll th,.table-scroll td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);white-space:nowrap}.table-scroll th{font-weight:500;color:var(--muted)}.capital-card>.industry-metrics{margin:22px 0}.capital-card .choice p{line-height:1.8}
.gtm-progress{margin-top:18px;border-top:1px solid #c8dad1;padding-top:14px}.gtm-progress h3{margin:0 0 8px;font-size:16px;line-height:1.7}.gtm-progress>p{line-height:1.9;font-size:var(--small-font-11,13px);color:var(--muted)}.gtm-progress .industry-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.valuation-detail>.industry-metrics{margin-top:14px}

/* v1: a calmer, TGA-branded game, with details available on demand. */
:root{--paper:#f6f8f5;--card:#fff;--ink:#173c46;--deep:#173c46;--teal:#126d70;--orange:#ee7f30;--muted:#637570;--line:#e0e7e1;--aqua:#eaf3ee;--radius:18px;--shadow:0 10px 35px #173c4606;--small-font-7:12px;--small-font-8:12px;--small-font-9:12px;--small-font-10:13px;--small-font-11:14px;--small-font-12:15px;--small-font-13:16px;font-size:16px;letter-spacing:0}body{line-height:1.65}button,select,input,textarea{font:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ee7f3088;outline-offset:3px}p{line-height:1.8}h1,h2,h3{letter-spacing:-.035em}summary{cursor:pointer;line-height:1.7}summary::marker{color:var(--orange)}.site-header{border-top:3px solid var(--orange);border-bottom:1px solid var(--line);padding:19px 0 18px;margin:0 auto 22px;max-width:1230px;gap:24px}.brand{gap:14px;font-size:22px}.brand small{font-size:10px;letter-spacing:.14em;margin-top:6px}.site-header nav{gap:22px}.site-header nav button{font-size:14px}.beta{font-size:12px;background:#fff;border:1px solid var(--line);padding:5px 9px;border-radius:20px}.primary-button{background:var(--deep);border:1px solid var(--deep);border-radius:12px;font-size:16px;font-weight:650;padding:15px 22px;box-shadow:0 5px 14px #173c4610}.primary-button:hover{background:var(--teal);border-color:var(--teal)}.secondary-button{background:#fff;border:1px solid #b9cbc5;border-radius:12px;padding:14px 20px;font-size:15px}.text-button{font-size:14px}.field>span{font-size:14px;font-weight:600;color:var(--ink)}.field select,.field input{font-size:16px;background:#fff;border-color:#d5e0da;border-radius:10px;min-height:49px;padding:11px 12px}.field{margin-bottom:15px}.eyebrow,.mini-label{font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--teal)}.mini-label{display:block}.home,.game,.end-view{max-width:1230px;margin:auto}.modern-home{padding:14px 0 28px}.home-intro{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:20px 0 35px}.home-intro .hero-copy{padding:0}.home-intro h1{font-size:70px;line-height:1.08;margin:13px 0 17px;letter-spacing:-.06em}.home-intro h1 span{color:var(--teal);-webkit-text-stroke:0}.home-intro .lead{font-size:26px;line-height:1.4;margin:0 0 12px}.home-intro .sub{font-size:17px;line-height:1.8;margin:0;color:var(--muted)}.home-route{background:var(--deep);padding:26px 28px 16px;border-radius:18px;color:#eaf3ee;border-top:3px solid var(--orange)}.home-route .route-art{padding:0;margin:0;border:0;box-shadow:none}.home-route>p{font-size:13px;color:#c2d4cf;margin:13px 0 0}.art-note{font-size:14px}.mode-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 34px}.mode-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff;border:1px solid var(--line);padding:20px 22px;border-radius:15px;gap:7px;color:var(--ink);min-height:220px}.mode-card.active{background:#fff9f2;border-color:var(--orange);box-shadow:inset 0 3px var(--orange)}.mode-card:hover{border-color:var(--orange)}.mode-card .mode-badge{font-size:12px;color:#a4541e;letter-spacing:.05em}.mode-card strong{font-size:32px;line-height:1.1;display:flex;align-items:baseline;gap:7px;margin-top:5px}.mode-card strong small{font-size:13px;font-weight:400}.mode-card h3{font-size:19px;margin:0}.mode-card>span:not(.mode-badge){font-size:14px;line-height:1.7;color:var(--muted)}.mode-card>small{font-size:12px;color:var(--teal);margin-top:auto}.setup-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:26px;align-items:start}.setup{padding:30px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.setup-head{margin-bottom:22px}.setup-head h2{font-size:25px}.sector-one-line{border-left:2px solid var(--orange);padding-left:12px;color:var(--muted);font-size:15px;margin:0 0 18px}.starting-card{background:#edf3ef;border:1px solid #d7e3db;border-radius:18px;padding:27px}.starting-card h3{font-size:20px;margin:10px 0 0}.starting-card .setup-radar{height:230px;margin:5px 0}.starting-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:10px 0 18px;border-bottom:1px solid #d3e0d6}.starting-summary span{font-size:13px;color:var(--muted)}.starting-summary strong{display:block;font-size:18px;color:var(--ink);margin-top:4px}.setup-extra{padding:14px 0;border-top:1px solid var(--line);font-size:14px}.setup-extra summary{color:var(--teal)}.setup-extra[open] summary{margin-bottom:14px}.setup-extra p{font-size:14px;color:var(--muted)}.start-actions{display:grid;gap:10px;margin-top:13px}.start-actions .save-note{font-size:13px;line-height:1.8;margin:0;color:var(--muted)}.starting-card .speed-row{gap:14px;align-items:center}.starting-card .speed-row .field{flex:1;margin:10px 0}.home-bottom{border-top:1px solid var(--line);font-size:13px;color:var(--muted);margin-top:28px;padding-top:17px}.producer-credit{font-size:13px}.form-row{gap:14px}.game{padding-top:14px}.voyage-top h1{font-size:30px;margin:7px 0}.voyage-top>div>p:not(.eyebrow){font-size:14px;color:var(--muted)}.route-node.current{box-shadow:0 0 0 2px #ee7f3044;background:var(--orange)}.route-legend{font-size:12px}.mode-banner{margin:14px 0;background:#fff9f2;border:1px solid #efdfce;border-left:3px solid var(--orange);padding:11px 15px;border-radius:9px;gap:12px;font-size:14px}.mode-banner strong{font-size:14px}.mode-banner span{font-size:13px}.decision-review-entry{margin-bottom:16px}.decision-review-entry span{font-size:12px}.game-layout{grid-template-columns:294px minmax(0,1fr);gap:22px;align-items:start}.dashboard{padding:21px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:none}.dashboard .radar-wrap{margin:0 -4px}.dashboard-top strong{font-size:17px}.dashboard-top span{font-size:12px}.dashboard .radar-key{font-size:12px;margin-top:-6px}.dashboard .state-tag{margin-top:15px}.state-tag strong{font-size:15px}.state-tag small{display:none}.state-detail{font-size:13px;line-height:1.7}.finance-grid{gap:18px 12px;margin-top:20px}.finance-grid strong{font-size:20px}.finance-grid small{font-size:12px;line-height:1.7}.dashboard-extra{margin-top:20px;border-top:1px solid var(--line);padding-top:12px}.dashboard-extra>summary{font-size:13px;color:var(--teal)}.dashboard-details{grid-template-columns:1fr;margin-top:12px;font-size:13px;border:0;padding:0}.dashboard-details strong{font-size:14px}.dashboard-more{gap:8px;margin-top:17px;flex-wrap:wrap}.dashboard-more button{font-size:12px}.radar text{font-size:14px}.radar .axis-val{font-size:16px}.industry-disclosure{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}.industry-disclosure>summary{padding:13px 16px;font-size:14px;color:var(--teal);font-weight:600}.industry-disclosure>summary span{font-weight:400;float:right}.industry-disclosure .industry-panel{margin:0 12px 12px;background:#f2f6f2;border:0}.stage-card,.chronicle-card{padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);position:relative}.stage-card:before,.chronicle-card:before{content:'';position:absolute;top:0;left:30px;width:56px;height:3px;background:var(--orange)}.stage-card h2,.chronicle-card h2{font-size:27px;line-height:1.4;margin:0 0 16px}.stage-prompt,.chronicle-story{font-size:16px;line-height:1.8;color:#566d68;margin-bottom:22px}.stage-meta{margin-bottom:22px}.type-label{font-size:13px}.countdown small{font-size:12px}.countdown strong{font-size:18px}.choices{gap:12px}.choice-wrap{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.choice-wrap:hover{border-color:#dda673}.choice-wrap .choice{width:100%;border:0;border-radius:0;background:transparent;padding:18px;box-shadow:none}.choice{font-size:16px}.choice h3{font-size:18px;line-height:1.55;font-weight:650;letter-spacing:-.02em;margin-bottom:7px}.choice p{font-size:15px;line-height:1.7;margin-bottom:10px}.choice .number{font-size:12px;color:#a86636;background:#fff4e8;border-color:#f3e1cd}.choice .arrow{color:var(--orange)}.choice-effects{gap:6px 10px;font-size:12px;line-height:1.7}.choice-effects span{background:#f3f6f2;padding:2px 6px;border-radius:4px}.choice-detail{padding:7px 18px 10px;border-top:1px solid #edf0ea;background:#fbfcfa}.choice-detail summary,.field-help summary{font-size:13px;color:var(--teal)}.choice-detail p,.field-help p{font-size:14px;line-height:1.8;color:var(--muted);margin:10px 0 3px}.scene-plans{padding:18px;margin:20px 0;background:#f8faf7;border:1px solid #e6ebe3;border-radius:13px}.scene-plans h3{font-size:16px;margin-bottom:16px}.plan-field{margin:0 0 17px}.plan-field:last-child{margin-bottom:0}.plan-field .field{margin-bottom:5px}.field-help{font-size:13px}.extra-plans{border-top:1px solid var(--line);padding:12px 0 0;margin-top:10px}.extra-plans>summary{font-size:14px;color:var(--teal)}.extra-plans[open]>summary{margin-bottom:18px}.scenario-detail{font-size:14px;margin-top:20px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted)}.scenario-detail p{font-size:15px}.stage-foot{font-size:12px;line-height:1.8;gap:15px}.prelude-note{font-size:14px;line-height:1.8}.event-reveal{background:#fff8ec;border-color:#edddbf;box-shadow:inset 3px 0 var(--orange);padding:22px}.event-reveal.fate{background:#eef3f6;box-shadow:inset 3px 0 #71919c;border-color:#d5e0e7}.event-reveal h3{font-size:24px}.event-reveal p{font-size:16px;line-height:1.8}.event-impact{font-size:13px}.activity-option strong{font-size:16px}.activity-option small,.activity-bonus{font-size:13px}.activity-option[aria-pressed=true]{box-shadow:inset 3px 0 var(--orange);border-color:#d4b090;background:#fffaf3}.journal-highlights{list-style:none;padding:0;margin:20px 0}.journal-highlights li{padding:10px 0 10px 15px;border-left:2px solid var(--orange);margin:10px 0;font-size:15px;line-height:1.8;color:#536e66}.period-details{border-top:1px solid var(--line);padding-top:13px;margin:20px 0}.period-details>summary{font-size:14px;color:var(--teal)}.journal-events li{font-size:14px;line-height:1.85}.next-row{margin-top:24px}.next-row .muted{display:none}.chronicle-money{font-size:14px;gap:12px}.chosen-label{font-size:14px}.delta-row{padding:15px 0}.delta-item strong{font-size:22px}.side-opportunity{padding:16px;background:#f0f5ef;border-color:#d9e4d7}.side-opportunity h3{font-size:18px}.side-opportunity p{font-size:14px;line-height:1.8}.dialog-head{padding:25px 30px 18px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:26px}.dialog-content{padding:25px 30px 30px;line-height:1.8}.game-brief .brief-purpose,.brief-purpose{font-size:19px!important;line-height:1.7}.sector-brief{background:#f1f6ef;border-left:3px solid var(--orange);padding:19px 22px;border-radius:0 13px 13px 0;margin:22px 0}.sector-brief h3{font-size:19px;margin:10px 0 13px;line-height:1.6}.sector-brief ol{padding-left:24px;margin-bottom:10px}.sector-brief li{font-size:16px;line-height:1.8;margin:6px 0}.sector-brief p{font-size:14px!important;color:var(--muted);margin:12px 0 0}.how-to-play{display:flex;gap:14px;align-items:center;justify-content:center;margin:23px 0;font-size:15px}.how-to-play b{color:var(--orange)}.mode-rule-note{padding:15px 17px;background:#fff8f0;border:1px solid #f0deca;border-radius:11px;font-size:15px;line-height:1.8;margin:18px 0}.mode-rule-note strong{font-size:16px}.mode-rule-note p{margin:7px 0 0;font-size:15px}.brief-links{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 0}.quick-rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.quick-rule-grid article{border:1px solid var(--line);border-radius:12px;padding:19px}.quick-rule-grid b{color:var(--orange);font-size:13px}.quick-rule-grid h3{font-size:18px;margin:8px 0}.quick-rule-grid p{font-size:15px;line-height:1.8;margin:0;color:var(--muted)}.rule-group{padding:16px 0;border-bottom:1px solid var(--line)}.rule-group summary{font-size:17px;font-weight:600;color:var(--teal)}.rule-group p{font-size:15px;line-height:1.9;color:#546c64;margin:15px 0}.full-rules{margin-bottom:25px}.end-intro h1{font-size:clamp(32px,4vw,49px);line-height:1.35}.end-card h2{font-size:21px}.end-card p{font-size:15px}.end-stats strong{font-size:26px}.site-footer{max-width:1230px;margin:15px auto 0;border-top:1px solid var(--line);font-size:13px;padding:20px 0}.site-footer .text-button{font-size:13px}
@media(max-width:1280px){.site-header,.home,.game,.end-view,.site-footer{margin-left:28px;margin-right:28px}.site-header{padding-left:0;padding-right:0}.home,.game,.end-view{padding-left:0;padding-right:0}}
@media(max-width:780px){:root{font-size:16px}.site-header{margin:0 18px 15px;padding:15px 0;align-items:flex-start;gap:13px}.brand{gap:9px;font-size:19px}.brand small{font-size:8px;margin-top:4px}.site-header nav{gap:9px;max-width:170px;flex-wrap:wrap}.site-header nav button{font-size:12px}.home,.game,.end-view,.site-footer{margin-left:18px;margin-right:18px}.home-intro{grid-template-columns:1fr;gap:20px;padding:12px 0 25px}.home-intro h1{font-size:52px;line-height:1.15}.home-intro .lead{font-size:23px}.home-intro .sub{font-size:16px}.home-route{display:none}.mode-row{gap:8px;margin-bottom:24px}.mode-card{padding:13px 10px;gap:7px;min-height:168px;border-radius:12px}.mode-card strong{font-size:27px;gap:4px}.mode-card h3{font-size:16px}.mode-card .mode-badge{font-size:11px}.mode-card>span:not(.mode-badge){display:none}.mode-card>small{font-size:11px;line-height:1.6}.mode-card strong small{font-size:11px}.setup-layout{grid-template-columns:1fr;gap:17px}.setup{padding:22px 19px}.setup-head h2{font-size:22px}.starting-card{padding:22px 19px}.starting-card .setup-radar{height:210px}.starting-card .setup-extra{margin-top:12px}.form-row{grid-template-columns:1fr;gap:0}.field select,.field input{font-size:16px}.game-layout{grid-template-columns:1fr}.dashboard{padding:20px;margin-bottom:0}.dashboard .radar-wrap,.dashboard .radar-key,.dashboard .state-tag,.dashboard .state-detail{display:none}.dashboard .finance-grid{margin-top:13px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.finance-grid strong{font-size:17px}.finance-grid small{font-size:11px}.dashboard-extra{margin-top:14px}.dashboard-details{grid-template-columns:1fr 1fr}.dashboard-more{margin-top:12px}.mobile-stats{background:#edf3ef;border:1px solid var(--line);padding:12px 5px;top:0;margin-bottom:15px}.mobile-stats small{font-size:12px}.mobile-stats strong{font-size:19px}.stage-card,.chronicle-card{padding:23px 19px}.stage-card:before,.chronicle-card:before{left:20px}.stage-card h2,.chronicle-card h2{font-size:25px}.stage-prompt,.chronicle-story{font-size:16px}.choice-wrap .choice{padding:15px 12px;grid-template-columns:23px minmax(0,1fr) 12px;gap:9px}.choice h3{font-size:17px}.choice p{font-size:14px}.choice-effects{font-size:12px;gap:5px}.choice-detail{padding:7px 15px 10px}.choice-detail p{font-size:14px}.stage-foot{flex-wrap:wrap}.scene-plans{padding:16px}.dialog-head{padding:22px 20px 17px}.dialog-head h2{font-size:23px}.dialog-content{padding:21px 20px 24px}.quick-rule-grid{gap:10px}.quick-rule-grid article{padding:15px}.quick-rule-grid h3{font-size:16px}.quick-rule-grid p{font-size:14px}.sector-brief{padding:17px}.sector-brief li{font-size:15px}.sector-brief h3{font-size:18px}.how-to-play{gap:10px;font-size:14px}.brief-links{flex-wrap:wrap}.site-footer{padding:19px 0}.mode-banner{flex-wrap:wrap;gap:3px}.voyage-top h1{font-size:26px}.end-stats strong{font-size:23px}}
.selected-cost-note{padding:11px 14px;margin:10px 0;border-left:2px solid var(--orange);background:#fffaf4;font-size:14px;line-height:1.8;color:#715237}

.tga-cta-logo{display:block;width:180px;height:auto;max-width:65%;margin:0 0 22px;border-radius:4px}

.save-file-field{margin-top:25px}.save-file-field input{padding:12px;max-width:100%;background:var(--paper);font-size:15px}.save-import-preview{padding:16px 18px;background:var(--aqua);border-left:2px solid var(--orange);border-radius:0 10px 10px 0;margin:17px 0;line-height:1.8}.save-import-preview p{margin:4px 0}.primary-button:disabled{opacity:.45;cursor:not-allowed}

.route-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 20px;padding:3px 5px 10px;min-width:0;color:#b6d0d0;font-size:13px;line-height:1.8;letter-spacing:.1em}.route-heading>span{display:block;max-width:100%;overflow-wrap:anywhere}.route-heading>span:last-child{margin-left:auto;white-space:nowrap}.home-route .route-art{border-radius:0;overflow:visible}
