.game-modal{max-width:840px}.game-modal .lesson-main{padding:26px 38px 30px}.game-modal .lesson-main h2{font-size:27px;margin-bottom:10px}.game-prompt{font-size:13px;line-height:1.85;max-width:670px;color:#7e8b72}.game-pill{font-size:7px}.game-pill b{font-size:15px;line-height:.7}.game-pill.match{background:#ece6f5;border-color:#dfd5ef;color:#8d78a5}.game-pill.sequence{background:#f7ecd7;border-color:#e9d8b6;color:#a1844f}.game-pill.branch{background:#e5eee3;border-color:#cfdfc7;color:#729560}.game-instruction{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#8c967e;margin:22px 0 16px}.game-step{background:#eff0e7;width:20px;height:20px;border-radius:6px;display:inline-grid;place-items:center;font-size:9px;font-weight:700;color:#83976f}.match-board{display:grid;grid-template-columns:1fr 1.4fr;gap:27px}.match-column{display:flex;flex-direction:column;gap:10px}.match-heading{font-size:7px;letter-spacing:1.5px;color:#a4ab97;padding:2px 1px 5px;font-weight:700}.match-tile{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:76px;border:1px solid #e0e2d5;border-bottom-width:3px;border-radius:11px;padding:15px 17px;background:var(--white);font-size:12px;line-height:1.7;font-weight:550;text-align:left;transition:background .15s,border-color .15s,transform .15s}.match-tile:hover:not(:disabled){background:#f1edf7;border-color:#c2b2d6;transform:translateY(-2px)}.match-tile.selected{background:#eae3f4;border-color:#ae95c5;box-shadow:0 0 0 2px #eadff5;color:#7b6297}.match-tile.partner{font-size:11px;font-weight:400;background:#f7f6f0}.match-tile.matched{opacity:1;background:#eaf1df;color:#72955e;border-color:#d4dfc5;cursor:default}.match-tile.mismatch{border-color:#d3a48c;background:#fbf0e8}.pair-marker{font-size:8px;font-style:normal;border:1px solid #c7d6b6;background:#f8fbf1;border-radius:6px;padding:2px 5px;flex-shrink:0;white-space:nowrap}.match-status{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;font-size:9px;line-height:1.8;color:#9ba68c;margin-top:17px}.match-status>span:first-child{font-weight:650;white-space:nowrap;color:#92a57d}.game-wait{font-size:9px;color:#a0a78f}.sequence-board{list-style:none;padding:0;margin:23px 0 0;display:flex;flex-direction:column;gap:11px}.sequence-tile{display:flex;align-items:center;gap:16px;background:var(--white);border:1px solid #e2e3d7;border-bottom-width:3px;border-radius:12px;padding:13px 15px;min-height:75px;position:relative}.sequence-tile:after{content:'';height:13px;position:absolute;top:100%;left:31px;border-left:2px dotted #dfe3d3}.sequence-tile:last-child:after{display:none}.sequence-number{width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e5d5b5;border-radius:9px;background:#f8f0df;color:#b19667;font-size:11px;font-weight:650}.sequence-text{font-size:12px;line-height:1.7;flex:1}.reorder-controls{display:flex;gap:5px;flex-shrink:0}.reorder-controls button{width:32px;height:32px;border:1px solid #e0e3d5;background:#f8f8f1;border-radius:7px;color:#8c9d78;font-size:16px}.reorder-controls button:hover:not(:disabled){background:#eaf0df;border-color:#a7bc90}.reorder-controls button:disabled{opacity:.28}.sequence-tile.out-of-order{background:#fcf3ea;border-color:#dfc5a9}.sequence-tile.out-of-order .sequence-number{background:#f5dfc8;border-color:#d9b185;color:#b18050}.sequence-tile.ordered{background:#eff5e7;border-color:#c9d9b4}.sequence-tile.ordered .sequence-number{color:#83a265;background:#e1edd2;border-color:#bcccaa}.story-person{display:flex;align-items:center;gap:13px;padding:17px 0;border-top:1px solid #e6e9dc;border-bottom:1px solid #e6e9dc;margin-top:24px}.story-avatar{display:grid;place-items:center;background:#ede5d4;color:#a78b5c;border-radius:13px;width:43px;height:45px;font:23px Georgia,serif;flex-shrink:0;transform:rotate(-5deg)}.story-person>div:nth-child(2){flex:1}.story-person strong{font-family:'Manrope',sans-serif;font-size:12px;letter-spacing:-.2px}.story-person p{font-size:10px;line-height:1.8;margin-top:4px;max-width:410px}.story-role{font-size:6px;letter-spacing:1px;color:#9ea78f;max-width:97px;text-align:right;line-height:1.9}.story-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:23px 0}.story-metric>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#9b9e8d}.story-metric strong{font-size:13px;font-weight:650;color:#7e9371}.story-metric small{font-size:7px;color:#afb4a0;font-weight:400;margin-left:2px}.metric-track{height:5px;border-radius:5px;background:#e7ebdc;overflow:hidden;margin-top:8px}.metric-track i{height:100%;display:block;transition:width .5s ease;border-radius:5px;background:#9eb78a}.clarity .metric-track i{background:#b5a2c7}.momentum .metric-track i{background:#d4b077}.story-consequence{background:#f2f3e8;border:1px solid #e0e4d1;border-radius:10px;padding:15px 18px;margin-bottom:23px}.story-consequence .eyebrow{font-size:6px;letter-spacing:1.2px}.story-consequence p{font-size:11px;line-height:1.9;margin-top:5px;color:#859375}.effect-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.effect-chip{font-size:7px;padding:3px 7px;border-radius:20px;border:1px solid #d5dfc7;background:#f9fcf1;color:#8ba172}.effect-chip.loss{background:#faf0e6;border-color:#e6d2ba;color:#b78c62}.story-scene>.eyebrow{font-size:7px}.story-scene h3{font-size:19px;line-height:1.65;letter-spacing:-.35px;margin:8px 0 20px}.story-choices{display:flex;flex-direction:column;gap:12px}.story-choice{display:flex;align-items:center;gap:14px;border:1px solid #dde3d2;border-bottom-width:3px;border-radius:11px;background:var(--white);padding:17px 18px;text-align:left;font-size:12px;line-height:1.85;transition:all .15s}.story-choice:hover{background:#edf3e4;border-color:#9eb58b;transform:translateY(-2px)}.choice-number{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border:1px solid #dde2d3;border-radius:7px;color:#9aa78c;font-size:9px}.story-choice>span:nth-child(2){flex:1}.choice-arrow{font-size:17px;color:#a3b48f}.simulation-note{font-size:8px!important;color:#a6ad99!important;line-height:1.8;margin-top:20px}.story-ending{text-align:center;border:1px solid #d5e0c7;border-radius:14px;background:#eff5e6;padding:26px;margin:22px 0}.outcome-symbol{display:grid;place-items:center;width:47px;height:47px;border-radius:15px;background:#dfebcc;color:#8aaa68;font-size:27px;margin:0 auto 16px;transform:rotate(-8deg)}.story-ending .eyebrow{font-size:7px;letter-spacing:1.7px}.story-ending h3{font-size:24px;line-height:1.4;margin:9px auto 13px;max-width:510px;color:#60804b}.story-ending p{font-size:12px;line-height:1.9;color:#849574;max-width:530px;margin:auto}.ending-context{font-size:10px;line-height:1.8;color:#9aab88;border-top:1px solid #dbe4cd;padding-top:13px;margin-top:17px}.story-ending.recovering{background:#f6f0e2;border-color:#e7d8b9}.recovering .outcome-symbol{background:#efdfbd;color:#c09e5d}.recovering h3{color:#a88a51}.recovering p,.recovering .ending-context{color:#a99a7c}.story-ending.stalled{background:#f8ece5;border-color:#ebd3c3}.stalled .outcome-symbol{background:#f0d7c6;color:#bc8d67}.stalled h3{color:#b17e57}.stalled p,.stalled .ending-context{color:#b19982}.decision-trail{border:1px solid var(--line);border-radius:10px;background:var(--white);padding:14px 17px;margin-top:18px}.decision-trail summary{cursor:pointer;font-size:10px;color:#819072;list-style-position:inside}.decision-trail summary>span{font-size:8px;color:#a6af99;float:right}.decision-trail ol{padding:0 0 0 19px;margin:17px 0 4px}.decision-trail li{font-size:10px;padding:0 0 15px 4px;color:#8a9b78}.decision-trail li:last-child{padding-bottom:0}.decision-trail strong{font-size:10px;font-weight:550;color:#7e8b70}.decision-trail p{font-size:10px;line-height:1.9;margin-top:7px}.route-comparison{background:#eeeaf6;border:1px solid #e0d9ed;padding:18px;border-radius:11px;margin-top:20px}.route-comparison>strong{font-size:12px;color:#9a84ad}.route-comparison>div{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:11px;font-size:10px;line-height:1.9;color:#a198af}.route-comparison p{font-size:9px;color:#a095af;margin-top:10px}.route-comparison small{font-size:8px;line-height:1.8;display:block;margin-top:8px;color:#b1a8bc}.branch-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:24px;border-top:1px solid var(--line);padding-top:21px}.branch-footer .button{font-size:10px;gap:10px}.lesson-game-preview{margin-top:21px}.lesson-game-preview>span{font-size:6px;letter-spacing:1.4px;color:#a6ad97}.lesson-game-preview>div{display:flex;gap:9px;margin-top:8px;flex-wrap:wrap}.lesson-game-preview b{font-size:8px;font-weight:500;border:1px solid #e4e4d7;border-radius:5px;padding:4px 8px;color:#8c9b7e;background:#fafaf3}.format-section{margin-top:30px}.format-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:16px}.format-card{border:1px solid #dfd7ed;border-radius:13px;background:#f1edf7;padding:24px;text-align:left;transition:transform .18s,box-shadow .18s}.format-card:hover{transform:translateY(-3px);box-shadow:0 4px 0 #e3d9ee}.format-card>span{display:grid;place-items:center;font-size:31px;color:#ae96c2;background:#fcfaff;border:1px solid #e7dff0;width:47px;height:47px;border-radius:14px;margin-bottom:18px;transform:rotate(-6deg)}.format-card h3{font-size:16px;line-height:1.5}.format-card p{font-size:11px;line-height:1.9;margin-top:10px;color:#a296b0;min-height:43px}.format-card>b{display:block;font-size:9px;margin-top:18px;color:#a18ab5;font-weight:550}.format-card.sequence{background:#f7f0e2;border-color:#e8ddc6}.format-card.sequence>span{color:#c1a367;border-color:#e9dfca;background:#fffaf0}.format-card.sequence p,.format-card.sequence>b{color:#b19f7d}.format-card.branch{background:#edf2e6;border-color:#d7e2c9}.format-card.branch>span{color:#92ae76;border-color:#dae5cd;background:#f9fcf3}.format-card.branch p,.format-card.branch>b{color:#98a787}.story-summary{margin-top:20px;padding:15px 20px;border:1px solid #dce4d0;border-radius:10px;background:#f2f5e9;text-align:left}.story-summary .eyebrow{font-size:6px}.story-summary h3{font-size:16px;margin-top:7px}.story-summary p{font-size:10px;line-height:1.9;margin-top:9px}
@media(max-width:850px){.format-grid{gap:12px}.format-card{padding:20px 17px}.format-card h3{font-size:14px}.format-card p{font-size:10px}.game-modal .lesson-main{padding:25px 30px}}
@media(max-width:620px){.game-modal .lesson-main{padding:22px}.game-modal .lesson-main h2{font-size:22px;line-height:1.45;margin-top:20px}.game-prompt{font-size:11px;line-height:1.9}.game-pill{font-size:6px;letter-spacing:.6px}.game-pill b{font-size:12px}.game-instruction{font-size:8px;gap:6px;line-height:1.9;margin:19px 0 15px}.game-step{width:17px;height:17px;font-size:8px}.match-board{gap:12px;grid-template-columns:1fr 1.3fr}.match-column{gap:9px}.match-heading{font-size:6px;letter-spacing:1px}.match-tile{font-size:10px;padding:12px 10px;min-height:93px;border-radius:9px;gap:5px;position:relative}.match-tile.partner{font-size:9px}.pair-marker{font-size:5px;padding:1px 4px;position:absolute;right:5px;top:4px}.match-tile.matched{padding-top:17px}.match-status{font-size:7px;gap:12px;margin-top:14px}.match-status>span:last-child{text-align:right}.game-wait{font-size:7px;max-width:100px;text-align:right}.sequence-tile{padding:12px 10px;gap:10px;min-height:77px}.sequence-text{font-size:10px;line-height:1.85}.sequence-number{width:25px;height:27px;font-size:10px;border-radius:7px}.sequence-tile:after{left:23px}.reorder-controls{flex-direction:column;gap:4px}.reorder-controls button{width:27px;height:25px;font-size:13px;border-radius:6px}.sequence-board{gap:10px;margin-top:17px}.story-person{gap:10px;margin-top:20px;padding:16px 0}.story-person strong{font-size:11px}.story-person p{font-size:9px;line-height:1.9}.story-role{display:none}.story-avatar{width:35px;height:39px;font-size:21px}.story-metrics{gap:12px;margin:19px 0}.story-metric>div:first-child{font-size:8px;gap:3px;align-items:flex-start;flex-direction:column}.story-metric strong{font-size:12px;margin-top:2px}.story-metric small{font-size:6px}.metric-track{height:4px;margin-top:6px}.story-consequence{padding:13px 14px;margin-bottom:20px}.story-consequence p{font-size:10px}.story-consequence .eyebrow{font-size:5px}.effect-chip{font-size:6px;padding:2px 6px}.story-scene h3{font-size:16px;line-height:1.75;margin:8px 0 16px}.story-scene>.eyebrow{font-size:6px}.story-choice{padding:13px 12px;gap:10px;font-size:10px;border-radius:10px}.choice-number{width:22px;height:22px;font-size:8px}.choice-arrow{font-size:14px}.story-choices{gap:10px}.simulation-note{font-size:7px!important;margin-top:17px}.story-ending{padding:22px 17px;margin:20px 0}.story-ending h3{font-size:21px;margin:10px auto 12px}.story-ending p{font-size:10px;line-height:1.95}.story-ending .eyebrow{font-size:6px;letter-spacing:1.3px}.outcome-symbol{width:39px;height:39px;border-radius:12px;font-size:23px}.ending-context{font-size:8px;margin-top:15px;padding-top:12px}.branch-footer{gap:9px;padding-top:17px;margin-top:20px;align-items:stretch}.branch-footer .button{font-size:8px;padding:10px 11px;gap:7px;flex:1;line-height:1.7}.decision-trail{padding:13px}.decision-trail summary{font-size:8px}.decision-trail summary>span{font-size:6px}.decision-trail strong,.decision-trail p{font-size:9px}.decision-trail ol{margin-top:14px}.route-comparison{padding:15px}.route-comparison>strong{font-size:11px}.route-comparison>div{font-size:9px;gap:10px}.route-comparison p{font-size:8px}.route-comparison small{font-size:7px}.format-grid{grid-template-columns:1fr;gap:12px}.format-card{position:relative;padding:20px 20px 20px 81px}.format-card>span{position:absolute;left:18px;top:22px;width:43px;height:43px;font-size:29px;margin:0}.format-card h3{font-size:15px}.format-card p{font-size:10px;min-height:0;margin-top:8px}.format-card>b{margin-top:12px;font-size:8px}.format-section .section-heading>span{font-size:5px;letter-spacing:.5px}.format-section .section-heading h2{font-size:15px}.lesson-game-preview b{font-size:7px;padding:4px 6px}.lesson-game-preview>span{font-size:5px}.story-summary{padding:13px 16px}.story-summary h3{font-size:14px}.story-summary p{font-size:9px}}
@media(max-width:620px){.match-tile,.match-tile.partner{font-size:11px}.sequence-text{font-size:11px}.story-choice{font-size:11px}.story-person p{font-size:10px}.game-prompt{font-size:12px}.game-instruction{font-size:9px}}
@media(prefers-reduced-motion:reduce){.game-modal *, .format-card{transition:none!important}}
