/* Campaign notices share the booth's paper, bitmap text and plain rules. */
.founder-pilot .classic-screen .has-campaign-plot h2{margin:8px 0 12px;font-size:32px;line-height:34px}
.founder-pilot .classic-screen .has-campaign-plot .pilot-outcome-body>p{margin:10px 0;font-size:22px;line-height:25px}
.founder-pilot .has-campaign-plot .campaign-plot{margin-top:14px}
.founder-pilot .campaign-plot{box-sizing:border-box;width:100%;max-width:640px;margin:20px 0 4px;padding:14px 18px 10px;border-top:1px dotted #a4ad8b;border-bottom:1px dotted #a4ad8b;background:#e8eed5;color:#4b5544;box-shadow:2px 2px #30392e}
.founder-pilot .classic-screen .campaign-plot h3{margin:0 0 10px;color:#43503c;font:21px/23px ClassicDisplay,var(--pixel);letter-spacing:0}
.founder-pilot .classic-screen .campaign-plot p{max-width:none;margin:5px 0;color:#4b5544;font:20px/21px DeskText,var(--pixel)}
.founder-pilot .campaign-plot-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.founder-pilot .campaign-plot-choices:has(>button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.founder-pilot .classic-screen .campaign-plot-choices button{display:block;min-width:0;margin:0;padding:8px 9px;border:1px solid #9ca78b;background:transparent;box-shadow:none;color:#4b5544;text-align:left;white-space:normal;font:19px/20px DeskText,var(--pixel)}
.founder-pilot .campaign-plot-choice-label{display:block;margin:0;font:19px/20px DeskText,var(--pixel)}
.founder-pilot .campaign-plot-choice-detail{display:block;font:18px/19px DeskText,var(--pixel);color:#626d55}
.founder-pilot .classic-screen .campaign-plot-choices button[aria-pressed=true]{border-color:#526349;background:#d1dabc;color:#34482d}
.founder-pilot .classic-screen .campaign-plot-choices button:hover{border-color:#526349;background:#dce3c8;color:#34482d}
.founder-pilot .classic-screen .campaign-plot-choices button:focus-visible{outline:2px dashed #526349;outline-offset:2px;background:#dce3c8}
.founder-pilot .classic-screen .campaign-plot .campaign-plot-status{margin:9px 0 0;color:#67735c;font:17px/19px DeskText,var(--pixel)}

/* Epilogues use the original game's spare scene / sentence / NEXT composition. */
.founder-pilot .classic-screen:has(.campaign-ending,.campaign-stats,.campaign-portfolio){background:#000;color:#c5c5b7}
.founder-pilot .campaign-ended~.desk-menu,.founder-pilot .game-frame:has(.campaign-ended)>.desk-menu{visibility:hidden}
.founder-pilot .campaign-ending,.founder-pilot .campaign-stats{position:absolute;inset:0;box-sizing:border-box;width:1140px;height:640px;overflow:hidden;text-align:center}
.founder-pilot .campaign-ending-scene{position:absolute;top:100px;left:330px;width:480px;height:320px;margin:0;overflow:hidden;background:#74766a}
.founder-pilot .classic-screen #campaign-ending-title{position:absolute;left:60px;right:60px;top:50px;margin:0;color:#c5c5b7;font:28px/32px ClassicDisplay,var(--pixel);text-align:center}
.founder-pilot .campaign-ending-scene svg{display:block;width:100%;height:100%;image-rendering:pixelated}
.founder-pilot .classic-screen .campaign-ending-copy{position:absolute;top:440px;left:70px;right:70px;max-width:none;margin:0;color:#c5c5b7;font:23px/26px ClassicDisplay,var(--pixel);text-align:center;text-wrap:balance}
.founder-pilot .classic-screen .campaign-next{position:absolute;left:50%;bottom:66px;transform:translateX(-50%);box-sizing:border-box;width:200px;margin:0;padding:3px 0 6px;border:0;border-bottom:1px dotted #3f4939;background:none;color:#758268;font:26px/28px ClassicDisplay,var(--pixel);text-align:center}
.founder-pilot .classic-screen .campaign-next:hover{background:none;color:#b5bf9f;border-bottom-color:#8b9878}
.founder-pilot .classic-screen .campaign-next:focus-visible{outline:none;background:none;color:#b5bf9f;border-bottom:2px solid #8b9878;padding-bottom:5px}
.founder-pilot .campaign-stats-insignia{position:absolute;top:24px;left:460px;width:220px;height:116px;object-fit:contain;image-rendering:pixelated}
.founder-pilot .classic-screen .campaign-stats h2{position:absolute;top:153px;left:0;right:0;margin:0;color:#c5c5b7;font:28px/32px ClassicDisplay,var(--pixel)}
.founder-pilot .campaign-stats>dl{position:absolute;top:214px;left:325px;width:490px;margin:0;padding:0;color:#c5c5b7;font:25px/31px ClassicDisplay,var(--pixel);text-align:left}
.founder-pilot .campaign-stats>dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:26px}
.founder-pilot .campaign-stats dt,.founder-pilot .campaign-stats dd{margin:0;font-weight:400}
.founder-pilot .campaign-stats dd{white-space:nowrap;font-variant-numeric:tabular-nums}
.founder-pilot .classic-screen .campaign-stats-ending{position:absolute;top:449px;left:110px;right:110px;margin:0;max-width:none;color:#939b83;font:20px/24px ClassicDisplay,var(--pixel)}
.founder-pilot .campaign-stats .campaign-next{bottom:57px}
.founder-pilot .campaign-stats-links{position:absolute;left:0;right:0;bottom:15px;display:flex;justify-content:center;gap:44px}
.founder-pilot .classic-screen .campaign-stats-links button{margin:0;padding:2px 0;border:0;border-bottom:1px dotted #30382d;background:none;color:#79846b;font:17px/20px ClassicDisplay,var(--pixel)}
.founder-pilot .classic-screen .campaign-stats-links button:hover,.founder-pilot .classic-screen .campaign-stats-links button:focus-visible{background:none;color:#b5bf9f;border-bottom-color:#8b9878;outline:none}

/* Small, plain links sit clear of the ending's navigation and scene. */
.founder-pilot .founder-support-links{display:flex;flex-direction:column;align-items:center;gap:2px;color:#818c74;font:18px/20px DeskText,var(--pixel);text-align:center}
.founder-pilot .founder-support-links a{display:inline-block;box-sizing:border-box;min-height:24px;padding:1px 4px;vertical-align:middle;color:#a0ad90;text-decoration:none;border-bottom:1px dotted #56634d}
.founder-pilot .founder-support-links a:hover,.founder-pilot .founder-support-links a:focus-visible{color:#d0d6c5;border-bottom-color:#a0ad90}
.founder-pilot .founder-support-links a:focus-visible{outline:1px dotted #a0ad90;outline-offset:3px}
.founder-pilot .campaign-ending>.founder-support-links{position:absolute;left:40px;right:40px;bottom:12px}
.founder-pilot .campaign-stats>.founder-support-links{position:absolute;left:40px;right:40px;top:482px}
.founder-pilot .title-options-panel>.founder-support-links{align-items:flex-start;margin-top:26px;font-size:20px;line-height:22px;text-align:left}

/* The optional closing file retains the recorded causes and full ledger. */
.founder-pilot .classic-screen .campaign-portfolio{box-sizing:border-box;display:flex;flex-direction:column;width:900px;max-width:calc(100% - 40px);max-height:610px;padding:22px 36px;overflow:hidden}
.founder-pilot .campaign-portfolio-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#66745d #000;padding-right:8px}
.founder-pilot .classic-screen .campaign-ending-number{display:block;color:#8d9a80;font:16px/18px DeskText,var(--pixel);letter-spacing:1px}
.founder-pilot .classic-screen .campaign-portfolio h2{margin:11px 0 19px;color:#d2d5ba;font:32px/34px ClassicDisplay,var(--pixel);letter-spacing:0}
.founder-pilot .campaign-ending-record{margin:18px 0 0;padding:11px 0 0;border-top:1px solid #4b5a46}
.founder-pilot .classic-screen .campaign-ending-record h3{margin:0 0 5px;color:#92a086;font:16px/18px DeskText,var(--pixel);letter-spacing:1px}
.founder-pilot .campaign-ending-record ul{list-style:none;margin:0;padding:0}
.founder-pilot .campaign-ending-record li{margin:4px 0;color:#aebaa1;font:18px/20px DeskText,var(--pixel)}
.founder-pilot .campaign-ending-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 30px;flex:none;margin-top:15px;padding-top:9px;border-top:1px solid #4b5a46}
.founder-pilot .classic-screen .campaign-ending-actions button{display:block;margin:0;padding:4px 0;border:0;border-bottom:1px solid transparent;background:none;color:#bdc8a9;font:23px/25px ClassicDisplay,var(--pixel)}
.founder-pilot .classic-screen .campaign-ending-actions button:hover,.founder-pilot .classic-screen .campaign-ending-actions button:focus-visible{border-bottom-color:#bdc8a9;background:none;color:#e0e4ca;outline:none}

/* The portfolio is a ledger, with commitments kept separate from cash. */
.founder-pilot .campaign-ledger{box-sizing:border-box;margin:17px 0 0;color:#b9c6aa;font-family:DeskText,var(--pixel)}
.founder-pilot .campaign-ledger dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 30px;margin:0;padding:0}
.founder-pilot .campaign-ledger dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px dotted #56634d;padding:5px 0}
.founder-pilot .campaign-ledger dt{color:#8f9f81;font:16px/18px DeskText,var(--pixel)}
.founder-pilot .campaign-ledger dd{margin:0;color:#d0d7bc;font:20px/22px DeskText,var(--pixel);font-variant-numeric:tabular-nums;white-space:nowrap}
.founder-pilot .classic-screen .campaign-ledger-pending{max-width:none;margin:11px 0;color:#b9bd98;font:18px/20px DeskText,var(--pixel)}
.founder-pilot .campaign-ledger-table{overflow-x:auto;margin-top:20px}
.founder-pilot .campaign-ledger table{width:100%;border-collapse:collapse;font:20px/22px DeskText,var(--pixel);text-align:left}
.founder-pilot .campaign-ledger thead th{padding:6px 8px 8px 0;border-bottom:1px solid #69785e;color:#8f9f81;font:16px/18px DeskText,var(--pixel);font-weight:400}
.founder-pilot .campaign-ledger tbody th,.founder-pilot .campaign-ledger tbody td{padding:9px 8px 9px 0;border-bottom:1px dotted #45553e;vertical-align:top;font-weight:400}
.founder-pilot .campaign-ledger tbody th{width:48%;color:#c9d2b5}
.founder-pilot .campaign-ledger tbody th span{display:block;margin-top:2px;color:#8f9f81;font:16px/18px DeskText,var(--pixel)}
.founder-pilot .campaign-ledger th:last-child,.founder-pilot .campaign-ledger td:last-child{text-align:right;padding-right:0;white-space:nowrap}
.founder-pilot .classic-screen .campaign-ledger-note,.founder-pilot .classic-screen .campaign-ledger-empty{max-width:none;margin:10px 0 0;color:#8f9f81;font:16px/18px DeskText,var(--pixel)}
.founder-pilot .campaign-ledger.is-compact{padding-top:10px;border-top:1px solid #4b5a46}
.founder-pilot .campaign-ledger.is-compact dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.founder-pilot .campaign-ledger.is-compact dl>div{display:block;padding:0;border:0}
.founder-pilot .campaign-ledger.is-compact dd{margin-top:3px}

@media(max-width:560px){
 .founder-pilot .campaign-plot-choices{gap:7px}
 .founder-pilot .campaign-plot-choices:has(>button:nth-child(3)){grid-template-columns:1fr}
 .founder-pilot .classic-screen .campaign-plot-choices button{padding:7px}
 .founder-pilot .classic-screen .campaign-portfolio{max-width:calc(100% - 24px);padding:20px 26px}
}

.founder-pilot .pilot-brief .campaign-ledger{margin:0 0 18px;padding-top:0;border-top:0}
.founder-pilot .classic-screen .pilot-brief .campaign-brief-clue{font:22px/22px DeskText,var(--pixel);color:#a9af95;margin-top:16px}
.founder-pilot .pilot-brief .campaign-ledger-note,.founder-pilot .classic-aux .campaign-ledger-note{display:none}
.founder-pilot .classic-aux .campaign-ledger{margin:0 0 14px;padding:0 0 8px;color:#4d5946;border-top:0;border-bottom:1px dotted #a3ab8e}
.founder-pilot .classic-aux .campaign-ledger.is-compact dl{display:block}
.founder-pilot .classic-aux .campaign-ledger.is-compact dl>div{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px}
.founder-pilot .classic-aux .campaign-ledger dt{color:#667356;font:15px/16px DeskText,var(--pixel)}
.founder-pilot .classic-aux .campaign-ledger dd{color:#394f34;font:18px/18px DeskText,var(--pixel)}
.founder-pilot .classic-aux .campaign-ledger-pending{font:15px/17px DeskText,var(--pixel);color:#68724f}
