/* September 8: shared navigation and readable launch pages at every width. */
html{font-size:16px;scroll-padding-top:1rem}body{font-family:'Space Grotesk',sans-serif;line-height:1.55}a,a:visited{color:#8edacb;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}:focus-visible{outline:2px solid #edc76c;outline-offset:4px}
.site-header{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:82px!important;padding:18px clamp(16px,3vw,48px)!important;display:flex!important;flex-wrap:wrap;gap:16px 28px;justify-content:space-between;background:#0b1018!important;letter-spacing:normal!important}
.site-header .brand{display:flex!important;gap:12px!important}.site-header .brand strong{font:500 20px 'Fraunces',serif!important;letter-spacing:normal!important;color:#f0ece2}.site-header>nav{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 22px!important}.site-header>nav a{font:500 14px 'Space Grotesk',sans-serif!important;letter-spacing:normal!important;color:#d4d9e2!important;text-transform:none!important}.header-world-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px!important}.header-world-actions form{margin:0}.header-world-actions a,.header-world-actions button{display:inline-flex!important;align-items:center;min-height:40px;padding:8px 12px!important;white-space:nowrap;font:500 12px 'Space Grotesk',sans-serif!important;letter-spacing:normal!important;color:#cfd7e0!important;border:1px solid #35414e!important;border-radius:6px!important;background:transparent!important}
#main-content{padding-top:0!important;min-height:65vh}.launch-shell,.beta-page,.shared-action-result{width:calc(100% - 48px)!important;max-width:1440px!important;margin-left:auto!important;margin-right:auto!important}.launch-shell{gap:12px!important;margin-top:24px!important}.launch-shell .v1-game-context,.launch-shell .game-status-hud,.launch-shell .v1-life-nav{width:100%!important;max-width:none!important;margin:0!important}.game-context.v1-game-context{grid-template-columns:minmax(220px,.8fr) minmax(0,2fr)!important;gap:20px!important;padding:20px!important}.game-context-who{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;border:0!important;padding:0!important}.game-context-who time{font-size:23px!important}.hybrid-clock-controls{display:block!important;padding:0!important;border:0!important}.context-label{display:block;margin-bottom:8px}.advance-time-buttons{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important}.advance-time-buttons button{min-width:0!important;min-height:42px;padding:8px 5px!important;font-size:13px!important}.routine-help{font-size:12px;color:#aab4c3;margin:10px 0 0}.game-status-hud{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;overflow:visible!important}.game-status-hud a{min-width:0!important;gap:8px!important;padding:12px!important;flex-wrap:wrap}.v1-life-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important}.v1-life-nav a{min-width:0!important;padding:16px!important}.v1-life-nav a strong{font-size:17px!important}.v1-life-nav a small{font-size:12px!important;line-height:1.4!important}
.beta-heading h1{font-size:clamp(32px,4vw,56px)!important;line-height:1.12!important}.beta-heading p{font-size:16px!important;margin:12px 0 0}.beta-panel header{align-items:start;gap:12px;flex-direction:column}.beta-panel h2{font-size:27px}.action-card h3{font-size:24px}.beta-links a{color:#eee9df!important;text-decoration:none!important;min-height:86px}.beta-links a:hover,.person-row:hover{background:#142720}.beta-links small,.person-row small{font-size:14px}.beta-links b,.person-row b{font-size:17px}.action-card p,.beta-panel p{font-size:15px}.action-card small{font-size:13px}.action-card button,.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer}.simple-form input{min-width:0;width:100%}.summary-grid article{min-width:0;overflow-wrap:anywhere}.story-list article{min-width:0}.beta-main-grid>*{min-width:0}
.site-footer{display:flex!important;position:relative!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:36px clamp(24px,4vw,64px)!important;margin-top:40px!important;border-top:1px solid #303a47!important;background:#0b1018!important}.site-footer .footer-identity{display:flex!important;gap:12px!important}.site-footer strong{font:500 20px 'Fraunces',serif!important;letter-spacing:normal!important}.site-footer a{font-size:14px!important;letter-spacing:normal!important}.site-footer nav{display:flex!important;flex-wrap:wrap;gap:14px 24px!important}.public-dossier{padding:48px clamp(20px,5vw,80px) 64px!important;max-width:1440px!important;margin:auto!important}.public-dossier h1{font-size:clamp(40px,6vw,76px)!important}.public-dossier h2{overflow-wrap:anywhere}.launch-notice{max-width:1440px;margin:16px auto;padding:16px;border:1px solid #edc76c;white-space:normal}.cookie-notice[hidden]{display:none!important}.cookie-notice{z-index:1000!important}.cookie-notice button{min-height:44px;font-size:14px}.header-world-actions .current-world-pill{color:#8edacb!important}
@media(max-width:1100px){.site-header>nav{order:3;width:100%}.game-context.v1-game-context{grid-template-columns:1fr!important}.beta-main-grid{grid-template-columns:1fr}.game-status-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important}.v1-life-nav a{padding:12px!important}.v1-life-nav a small{display:none!important}}
@media(max-width:640px){.site-header{padding:14px 16px!important;gap:14px!important}.site-header .brand strong{font-size:18px!important}.header-world-actions{width:100%;order:2}.site-header>nav{gap:10px 20px!important}.launch-shell,.beta-page,.shared-action-result{width:calc(100% - 24px)!important}.game-context.v1-game-context{padding:16px!important}.advance-time-buttons{grid-template-columns:repeat(4,minmax(0,1fr))!important}.game-status-hud a{display:grid!important;padding:10px!important}.game-status-hud strong{font-size:14px!important}.v1-life-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding:4px!important}.v1-life-nav a{padding:12px 3px!important;text-align:center!important;border-radius:6px!important}.v1-life-nav a strong,.v1-life-nav a{font-size:12px!important}.beta-heading,.beta-panel{padding:16px}.beta-heading h1{font-size:34px!important}.beta-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}.beta-links a{padding:12px;min-width:0}.beta-links small{font-size:12px}.action-grid,.people-grid{grid-template-columns:1fr!important}.result-changes,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-grid article strong{font-size:20px}.site-footer{align-items:flex-start!important;flex-direction:column!important;padding:28px 20px!important}.story-list article{grid-template-columns:1fr}.public-world-contracts{grid-template-columns:1fr!important}.simple-form{align-items:stretch}.cookie-notice{max-height:55vh;overflow:auto}.launch-notice{margin:12px}.action-result header{flex-wrap:wrap;gap:12px}}

form[aria-busy="true"] button{pointer-events:none;opacity:.65}

.creation-scene{padding-top:36px!important}.creation-head{margin-top:24px!important}.creation-form,.creation-form fieldset,.name-grid,.name-grid label{min-width:0}.creation-form input:not([type="radio"]):not([type="checkbox"]),.creation-form select,.auth-panel input:not([type="checkbox"]){width:100%;max-width:100%;min-width:0;box-sizing:border-box}.creation-form .origin-chapter-grid fieldset{min-width:0}
@media(max-width:640px){.creation-scene{padding:28px 16px 48px!important}.creation-progress{margin:0 0 22px!important}.creation-head h1{font-size:44px!important}.creation-head{margin-bottom:28px!important}.creation-form{padding:20px 16px!important}.name-grid,.origin-grid,.origin-chapter-grid{grid-template-columns:1fr!important}.creation-world-contract{padding:20px!important}.auth-scene{padding:36px 20px 48px!important;min-height:0!important}.auth-scene h1{font-size:46px!important}.auth-panel{min-width:0;padding:24px 18px!important}.hero-actions{flex-wrap:wrap!important}.site-footer .footer-identity a{white-space:normal!important}.guide-jump{grid-template-columns:repeat(2,minmax(0,1fr))!important}.guide-sections>section{grid-template-columns:1fr!important}.guide-sections>section>div{min-width:0}}

.reveal{opacity:1!important;transform:none!important;transition:none!important}

.guide-jump{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:32px 0}.guide-jump a{display:flex;gap:10px;align-items:center;padding:14px;border:1px solid #35414e;background:#101720;color:#e5e7e9;font-size:14px}.guide-jump a span{color:#e7be62;font:12px 'IBM Plex Mono',monospace}.guide-sections>section{display:grid;grid-template-columns:40px minmax(0,1fr);gap:20px;padding:28px 0;border-top:1px solid #35414e}.guide-sections>section>span{color:#e7be62}.guide-sections h2{font:500 30px 'Fraunces',serif;margin:0 0 14px}.guide-sections p,.guide-sections li{color:#c1cad6;font-size:16px;line-height:1.7}.guide-sections ol{list-style:decimal;padding-left:24px}.guide-sections aside{margin-top:18px;padding:18px;border-left:2px solid #e7be62;background:#151e28}.route-changelog .epoch-contract-card{border:1px solid #35414e;background:#101720;margin:30px 0;padding:28px}.route-changelog .epoch-contract-card>span{font:12px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:#e7be62}.route-changelog .epoch-contract-card h2{font:500 32px 'Fraunces',serif;margin:12px 0 20px}.route-changelog .roadmap-feature-list li{font-size:15px;line-height:1.65;padding-top:9px;padding-bottom:9px}.origin-history summary{cursor:pointer;font:500 25px 'Fraunces',serif;color:#e7be62}.routine-help summary{cursor:pointer;color:#bfcad7}.routine-help p{font-size:12px;line-height:1.6}
@media(max-width:640px){.guide-jump{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-jump a{padding:12px;font-size:13px}.guide-sections>section{grid-template-columns:1fr;gap:8px}.route-changelog .epoch-contract-card{padding:20px 16px}.route-changelog .epoch-contract-card h2{font-size:28px}}

.auth-scene{padding-top:48px!important;padding-bottom:48px!important;min-height:calc(100vh - 82px)!important}.auth-panel>label{font-size:13px!important;line-height:1.55!important}.auth-panel label small,.auth-panel .consent-check span{font-size:12px!important;line-height:1.6!important}.auth-panel input{font-size:16px!important}.auth-panel .panel-label{font-size:11px!important}.auth-panel .form-note{font-size:13px!important}

/* Version 1.3: compact base-game goals. */
.beta-panel progress{width:100%;height:12px;accent-color:var(--gold,#d6b56f);margin:10px 0 18px}
.progress-label{display:block;color:var(--muted,#b6becb)}
.milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.milestone{padding:20px;border:1px solid var(--line,#303845);background:#ffffff03}
.milestone.is-complete{border-color:#d6b56f77;background:#d6b56f0a}
.milestone h3{font-size:20px;margin:0 0 10px}.milestone small{font-size:14px;line-height:1.6;color:var(--muted,#b6becb)}
.beta-page button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.milestone-grid{grid-template-columns:1fr}.beta-panel .routine-help{margin-top:20px}}

.retirement-details{margin-top:20px;padding-top:16px;border-top:1px solid #35414e}.retirement-details summary,.story-effects summary{font-size:15px;cursor:pointer;color:#8edacb}.retirement-details p{font-size:15px;line-height:1.65;margin:14px 0}.retirement-details button,.beta-panel>form>button{padding:12px 20px;min-height:44px;border:1px solid #72bbae;color:#bcece3;background:#14221f;font-size:14px}.story-effects{margin-top:12px}.story-effects ul{padding:12px 0 0 18px;color:#c1cad6;font-size:14px;line-height:1.8}

.shared-action-result p{font-size:15px!important;line-height:1.65!important;margin:12px 0!important}.shared-action-result>small{font-size:12px!important;line-height:1.6!important;display:block}.shared-action-result header{font-size:12px!important}.shared-action-result .result-changes span{font-size:14px!important;line-height:1.6!important;overflow-wrap:anywhere}.shared-action-result .result-changes b{font-size:11px!important;margin-bottom:6px}.shared-action-result .result-changes{gap:10px!important}
