/* Shared rolls and readable life outcomes. All body copy stays at least 13px. */
.board-turn-queue{margin:0 0 18px;padding:15px 17px;background:#f7f7ec;border:1px solid #d7dfcd;border-radius:16px;color:#344a3d}
.board-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;font-size:14px}
.board-queue-heading>span{font-size:13px;color:#65745e}
.board-turn-queue ol{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:0;padding:0}
.board-turn-queue li{min-width:0;border:1px solid #dce3d3;border-radius:10px;padding:6px;background:#fffef6}
.board-turn-queue li.is-active{border-color:#48765a;background:#e4eedc;box-shadow:inset 0 0 0 1px #48765a}
.board-queue-player{display:flex;align-items:center;gap:7px;padding:3px;width:100%;min-height:44px;border:0;background:none;text-align:left;color:inherit;cursor:pointer;font:inherit}
.board-priority{min-width:15px;font-size:12px;font-weight:700;color:#77866c}
.board-person-photo{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;overflow:hidden;border:1px solid #d1dac6;border-radius:50%;background:#e9eddc;color:#61765a;font-size:25px}
.board-person-photo img{display:block;width:100%;height:100%;object-fit:cover}
.board-queue-player .board-person-photo{width:31px;height:31px;flex-basis:31px;font-size:20px}
.board-queue-identity{min-width:0;display:block}.board-queue-identity b{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.board-queue-identity small{display:block;font-size:11px;margin-top:3px;line-height:1.35;color:#5b7057}
.board-turn-card{padding:24px;min-width:0;color:#314637;overflow-wrap:anywhere}
.board-turn-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:11px;line-height:1.4;font-weight:650;letter-spacing:.04em;color:#68785f}
.board-stage-clock{white-space:nowrap;font-size:12px;font-weight:400;letter-spacing:0}.board-stage-clock b{font-variant-numeric:tabular-nums;font-weight:700}
.board-turn-person{display:flex;align-items:center;gap:11px;border:0;border-bottom:1px solid #dbe2d1;background:none;padding:17px 0;width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit}
.board-turn-person>span:nth-child(2){flex:1;min-width:0}.board-turn-person b{display:block;font-size:15px;line-height:1.4}.board-turn-person small{display:block;font-size:13px;color:#66785d;line-height:1.5;margin-top:2px}.board-person-open{font-size:17px;color:#5d7e5d}
.board-turn-card h2{font-size:29px;line-height:1.12;letter-spacing:-.035em;margin:19px 0 12px}.board-turn-card .board-story-copy{font-size:15px;line-height:1.65;margin:12px 0;color:#51634b}.board-turn-card .board-turn-note{font-size:13px;line-height:1.55;color:#66745d;margin:13px 0 0}
.board-real-dice{display:flex;align-items:center;gap:8px;margin:17px 0}.board-real-dice .die{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #c7d5bf;border-radius:9px;background:#f8faef;color:#42674e;box-shadow:0 3px 0 #d3ddc9;animation:none}.board-real-dice .die-face{width:31px;height:31px}.board-real-dice>b{font-size:14px;line-height:1.4;margin-left:2px}.board-real-dice.compact{gap:4px;margin:6px 4px 3px 25px;flex-wrap:wrap}.board-real-dice.compact .die{width:24px;height:24px;border-radius:5px;box-shadow:none}.board-real-dice.compact .die-face{width:19px;height:19px}.board-real-dice.compact>b{font-size:11px}
.board-turn-balance{font-size:13px;line-height:1.6;margin:15px 0;color:#596f50}.board-full-story{border-left:2px solid #cad6bd;padding-left:11px;margin:10px 0 15px;color:#5d6e54}.board-full-story summary{cursor:pointer;min-height:32px;display:list-item;align-content:center;font-size:13px;text-decoration:underline;text-underline-offset:3px}.board-full-story p{font-size:13px;line-height:1.7;margin:6px 0 0;white-space:pre-line}
.board-story-effects{padding:12px 0;border-top:1px solid #dce4d2;margin-top:13px}.board-story-effects>span:first-child{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#718066;margin-bottom:7px}.board-effect-list{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-start}.board-effect{display:inline-block;padding:5px 7px;border:1px solid #ccdcc0;border-radius:7px;background:#edf4e4;color:#3c633f;font-size:12px;line-height:1.35;font-weight:600;white-space:normal}.board-effect.negative{background:#fbefe5;border-color:#e8cebd;color:#8a4c35}.board-effect.variable{background:#f3efdf;border-color:#ddd5b8;color:#76632d}.board-actual-effects{margin:18px 0}
.board-choice-list{display:grid;grid-template-columns:1fr;gap:9px;margin-top:13px}.board-choice{width:100%;min-height:48px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #c4d1b8;background:#fbfcf2;color:#344d39;padding:13px 14px;border-radius:10px;text-align:left;cursor:pointer;font:inherit;font-size:14px;line-height:1.5}.board-choice>b{font-size:14px;line-height:1.45;font-weight:650}.board-choice>span:not(.board-effect-list){font-size:13px;line-height:1.5;color:#617258}.board-choice>small{font-size:13px}.board-choice:disabled{cursor:default;opacity:.65}.board-choice:not(:disabled):hover{background:#e9f1df;border-color:#759464}.board-choice-card>img{width:55px;height:55px;object-fit:cover;border-radius:8px}.board-expand-choices{font-size:13px;line-height:1.5;min-height:44px;margin-top:9px;text-align:left}.board-target-label{display:block;font-size:13px;line-height:1.6;margin:14px 0}.board-target-label select{display:block;width:100%;min-height:46px;margin-top:7px;border:1px solid #c4d1b8;border-radius:8px;padding:9px 11px;background:#fffdf4;font:inherit;font-size:16px;color:#344d39}
.board-main-action{min-height:48px;margin-top:17px;font-size:15px;white-space:normal}.board-turn-notice{font-size:14px;line-height:1.6;margin:18px 0 0;padding:12px 14px;background:#e9efdf;border-radius:9px;color:#526b49}.board-chosen{font-size:14px;line-height:1.5;color:#51674a;margin:12px 0}.board-chosen>span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#76856b;margin-right:5px}.board-impact-empty{font-size:13px;line-height:1.6;color:#718066;margin:15px 0}.board-acknowledgements{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px}.board-acknowledgements>span{font-size:11px;line-height:1.5;padding:4px 7px;border:1px solid #d4ddc9;border-radius:6px;background:#f2f3e7;color:#68785c}.board-acknowledgements>.is-ready{background:#e1eed6;border-color:#aeca99;color:#43683b}
.board-owner-progress{padding:21px 24px;background:#f4f6e9;border:1px solid #d6dfca;border-radius:17px;color:#344d3a;min-width:0}.board-progress-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}.board-progress-heading h3{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:0}.board-progress-heading>span{font-size:12px;white-space:nowrap;color:#6c7b62}.board-happiness-progress>div,.board-purpose-row>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:9px;font-size:13px;line-height:1.5}.board-happiness-progress strong{font-size:19px}.board-progress-track{position:relative;display:block;height:7px;background:#dce4d1;border-radius:6px;margin-top:8px;isolation:isolate}.board-progress-track>i:first-child{display:block;position:absolute;inset:0 auto 0 0;border-radius:inherit;background:#7a9b68}.board-progress-track .board-pacing-marker{position:absolute;top:-3px;bottom:-3px;border-left:2px solid #a27b37;transform:translateX(-1px);z-index:1}.board-purpose-progress{display:grid;gap:16px;margin:22px 0 17px}.board-purpose-row>div:first-child b{font-size:14px}.board-purpose-row>div:first-child>span{font-size:11px;color:#6f7b63;white-space:nowrap}.board-purpose-current{display:flex;align-items:center;gap:9px;margin:5px 0}.board-purpose-current strong{font-size:14px;min-width:38px;font-variant-numeric:tabular-nums}.board-purpose-current .board-progress-track{flex:1;margin:0}.board-purpose-row>small{display:block;font-size:11px;color:#6e7a61;line-height:1.5}.board-pacing-guide{font-size:13px;line-height:1.55;margin:14px 0;color:#6a735b}.board-pacing-guide>i{display:inline-block;height:11px;border-left:2px solid #a27b37;margin-right:6px;vertical-align:-1px}.board-current-scores{margin:15px 0 0;padding-top:10px;border-top:1px solid #d6dfc9}.board-current-scores>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12px;line-height:1.6;margin:7px 0}.board-current-scores dt{color:#6d7b62}.board-current-scores dd{margin:0;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.board-current-scores .board-current-total{font-size:14px;margin-top:11px}.board-current-total dt{font-weight:700;color:#344d3a}
.board-turn-card button:focus-visible,.board-turn-queue button:focus-visible,.board-full-story summary:focus-visible{outline:3px solid #a1884d;outline-offset:3px}
.board-story-signal{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:20px;color:#69775d;font-size:12px;line-height:1.5}.board-story-signal i{width:7px;height:7px;border-radius:50%;background:currentColor}.board-story-signal b{font-weight:650}.board-story-signal>span{margin-left:auto;text-transform:capitalize;color:#7d7768}.board-story-signal[data-story-tone=bright]{color:#477442}.board-story-signal[data-story-tone=hard]{color:#a45b3e}.board-story-signal[data-story-tone=serious]{color:#8e4946}.board-story-signal[data-story-tone=choice]{color:#7e6935}.board-story-signal+h2{margin-top:10px}.board-turn-card:has(.board-story-signal[data-story-tone=serious]){border-top:4px solid #ad706b}.board-turn-card:has(.board-story-signal[data-story-tone=hard]){border-top:4px solid #bd8362}.board-turn-card:has(.board-story-signal[data-story-tone=bright]){border-top:4px solid #7d9d60}.board-result-happiness{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:18px 0 9px;padding:13px 15px;border:1px solid #d4dec5;background:#f3f7e9;border-radius:9px}.board-result-happiness>span{font-size:13px;color:#65785b}.board-result-happiness>strong{font-size:23px;line-height:1.25;letter-spacing:-.035em;font-weight:600;font-variant-numeric:tabular-nums}.board-result-happiness+.board-actual-effects{margin-top:10px}.board-actual-effects .board-effect{font-size:14px;padding:7px 9px}.board-story-effects .board-effect{font-size:13px;padding:6px 8px}
@media(max-width:1100px){.board-turn-card{padding:20px}.board-owner-progress{padding:20px}.board-turn-card h2{font-size:27px}}
@media(max-width:800px){.turn-panel:has(.board-turn-card){display:flex;flex-direction:column;gap:13px}.turn-panel:has(.board-turn-card) .board-owner-progress{display:block}.board-turn-queue ol{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.board-owner-progress .board-purpose-progress{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.board-purpose-row>div:first-child{flex-wrap:wrap;gap:2px}}
@media(max-width:540px){.board-turn-queue{padding:12px;margin-bottom:13px}.board-queue-heading{align-items:start;gap:7px;font-size:13px}.board-queue-heading>span{font-size:11px}.board-turn-queue ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.board-queue-player{gap:5px}.board-priority{min-width:11px;font-size:11px}.board-queue-player .board-person-photo{width:28px;height:28px;flex-basis:28px}.board-queue-identity b{font-size:12px}.board-real-dice.compact{margin-left:19px}.board-turn-card{padding:21px}.board-turn-card h2{font-size:29px}.board-turn-card .board-story-copy{font-size:15px}.board-owner-progress{padding:21px}.board-owner-progress .board-purpose-progress{grid-template-columns:1fr;gap:15px}.board-purpose-row>div:first-child{flex-wrap:nowrap}.board-choice{padding:13px}.board-main-action{position:relative;min-height:49px}.board-effect{font-size:12px}.board-turn-person{padding:14px 0}}
.board-life-context{display:grid;gap:5px;padding:12px 14px;margin:12px 0;border-left:3px solid #ab8741;border-radius:0 10px 10px 0;background:#f3eddd;color:#3c4d44;font-size:14px;line-height:1.45}.board-life-context>b{font-size:13px;color:#79602c}.board-life-context>span{display:block}
.event-dialog:has(.board-life-context) .choice-button:disabled,.board-turn-card:has(.board-life-context) .board-choice:disabled{opacity:1;background:#eeece5;color:#626b60;border-style:dashed}.event-dialog:has(.board-life-context) .choice-button:disabled small,.board-turn-card:has(.board-life-context) .board-choice:disabled>span:not(.board-effect-list){color:#566151;font-size:14px}
.round-purpose-reminder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;flex:1;max-width:680px;min-width:0;margin:0 16px}.round-purpose-reminder>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;min-width:0;padding:10px 12px;background:#fffdf3;border:1px solid #d9e1cf;border-radius:10px;font-size:14px;line-height:1.4;color:#3f5b49}.round-purpose-reminder b{font-size:14px;font-variant-numeric:tabular-nums}.round-purpose-reminder>div>span:first-child{overflow-wrap:anywhere}.round-purpose-track{display:block;height:5px;grid-column:1/-1;border-radius:4px;background:#e6e9dd;overflow:hidden}.round-purpose-track i{display:block;height:100%;border-radius:inherit;background:var(--purpose-color)}
.event-person-card>img{height:180px;object-fit:cover;object-position:center}.board-choice-card>img{object-position:center}
@media(max-width:1000px){.board-phase-line:has(.round-purpose-reminder){flex-wrap:wrap}.round-purpose-reminder{order:2;flex-basis:100%;max-width:none;margin:2px 0 0}.board-phase-line:has(.round-purpose-reminder)>div:first-child{flex:1}.round-purpose-reminder>div{padding:8px 10px;font-size:13px}}
@media(max-width:480px){.round-purpose-reminder{gap:6px}.round-purpose-reminder>div{padding:7px 8px;font-size:12px;gap:4px}.round-purpose-reminder b{font-size:12px}.event-person-card>img{height:155px}}

body.board-active #board-progress:empty{display:none}

/* Decisions: hold the chosen option before the table sees the consequence. */
.board-decision-locked{display:grid;gap:12px;padding:24px 20px;margin:18px 0;background:#eef2e4;border:1px solid #b5c5a2;border-radius:16px;animation:decision-settle .3s ease-out}
.board-decision-locked span{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#637458;font-weight:700}.board-decision-locked strong{font-size:clamp(23px,3vw,32px);line-height:1.2;color:#344d3d}
.board-delayed-receipt{display:flex;flex-wrap:wrap;gap:6px 12px;margin:8px 0 16px;padding:12px 14px;border-radius:10px;background:#f4ecd6;color:#725d31;font-size:14px}.board-delayed-receipt span{flex-basis:100%}
.board-observer-choices{display:grid;gap:8px;margin:14px 0}.board-observer-choices>div{padding:12px 14px;background:#f3f3e9;border:1px solid #dddcc8;border-radius:10px}.board-observer-choices small{display:block;margin-top:4px;line-height:1.4}
.board-pending-decisions{margin:12px 0;font-size:13px;color:#795c2d}.board-pending-decisions summary{cursor:pointer}.board-pending-decisions p{display:flex;justify-content:space-between;gap:12px;margin:8px 0}.board-pending-decisions span{white-space:nowrap}
@keyframes decision-settle{from{transform:translateY(8px);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.board-decision-locked{animation:none}}

.board-order-note{margin:4px 0 10px;font-size:13px;line-height:1.4;color:#596f50}.board-previous-gain{display:block;font-size:12px;line-height:1.35;color:#627254;font-style:normal;margin-top:2px}

/* Decisions can touch a real life on the other side of the table. */
.board-table-people{margin:12px 0;padding:10px 12px;border:1px solid #d5dece;border-radius:12px;background:#edf2e8}
.board-table-people>small{display:block;font-size:13px;line-height:1.45;color:#536950;margin-bottom:7px}
.board-table-people>div{display:flex;gap:10px;flex-wrap:wrap}
.board-table-people button{display:flex;gap:8px;align-items:center;padding:0;border:0;background:none;text-align:left;color:inherit;font:inherit;cursor:pointer}
.board-table-people button b,.board-table-people button small{display:block;font-size:14px;line-height:1.4}
.board-table-people button small{font-size:12px;color:#63745c}
.board-recipient-preview{display:block;border-top:1px dashed #cbd7c1;margin-top:7px;padding-top:7px}
.board-recipient-preview>b{font-size:13px;display:block;margin-bottom:4px}
.board-affected-lives{padding:12px;margin:15px 0;background:#edf2e8;border:1px solid #d5dece;border-radius:12px}
.board-affected-lives h3{margin:0 0 8px;font-size:14px}
.board-affected-lives>div+div{border-top:1px solid #d5dece;margin-top:10px;padding-top:10px}
.board-affected-lives>div>b{display:block;font-size:15px}
.board-affected-lives .board-result-happiness{background:transparent;padding:5px 0;margin:3px 0;border:0;font-size:13px}
@media(max-width:600px){.board-table-people .board-person-photo{width:36px;height:36px;flex-basis:36px}.board-affected-lives{padding:10px}.board-recipient-preview .board-effect{font-size:12px}}

.board-affected-lives .board-result-happiness{display:none}

.board-event-scene{display:block;width:100%;height:112px;margin:10px 0 14px;overflow:hidden;border-radius:10px;background:#e2e6d8}
.board-event-scene>svg,.board-event-scene>img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.board-event-scene{height:96px}}

/* Partner decisions keep the actual chance and household value beside the face. */
.partner-interest{display:inline-flex!important;align-self:flex-start;padding:5px 9px;border-radius:999px;background:#e3eddf;color:#305e43;font-size:14px!important;font-weight:750;line-height:1.3}
.partner-work{font-size:15px!important;line-height:1.45;color:#375c50}
.partner-expectations{font-size:15px!important;line-height:1.5;color:#485b50}
.partner-risk{display:block;line-height:1.5;font-size:13px!important;color:#7b5143;padding-top:7px;border-top:1px solid #dddace}
.board-purpose-focus{padding:8px 12px;background:#eee7f3;border-radius:8px;color:#674b7b;font-weight:700}
@media(max-width:650px){.board-choice-card .partner-expectations{font-size:14px!important}.partner-risk{font-size:13px!important}.partner-interest{font-size:14px!important}}
.board-event-stage .board-choice-card:has(.partner-interest)>img,.event-person-card:has(.partner-interest)>img{width:128px;height:128px;align-self:center;object-fit:cover;border-radius:50%;flex-shrink:0}

.partner-work,.partner-expectations{margin-top:0!important;padding-top:0!important}
@media(max-width:650px){.board-event-stage .board-choice-list:has(.partner-interest),.event-card-grid:has(.partner-interest){grid-template-columns:1fr}.board-event-stage .board-choice-card:has(.partner-interest)>img{width:112px;height:112px}}
