/* Westminster Beta 20 — one reusable cinematic language, built for laptop-first play. */
body.wm20-cinema-open{overflow:hidden!important}
.wm20-encounter-overlay{position:fixed;inset:0;z-index:2147483500;display:grid;place-items:center;background:rgba(2,8,15,.94);padding:clamp(8px,2vw,26px);color:#f2ece3;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;font-size:14px}
.wm20-encounter-overlay *, .wm20-encounter-overlay *:before,.wm20-encounter-overlay *:after{box-sizing:border-box}
.wm20-encounter-overlay [hidden]{display:none!important}
.wm20-encounter-overlay :is(button,a):focus-visible{outline:3px solid #f3ca8e;outline-offset:3px}
.wm20-cinema-window{display:flex;flex-direction:column;width:min(1460px,100%);height:min(880px,calc(100dvh - 20px));min-height:300px;overflow:hidden;background:#0b1b28;border:1px solid #5c6c76;border-radius:15px;box-shadow:0 32px 105px #000b;isolation:isolate}
.wm20-cinema-header{z-index:3;flex:none;min-height:76px;display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px clamp(14px,2.2vw,30px);background:linear-gradient(120deg,#0b1e2a,#172c3c);border-bottom:1px solid #4b5e6e}
.wm20-cinema-id{display:flex;gap:12px;align-items:center;min-width:170px}
.wm20-cinema-monogram{width:48px;height:48px;flex:none;display:grid;place-items:center;font:32px Georgia,serif;color:#e8c894;border:1px solid #b79a70;background:#0d202e;border-radius:6px}
.wm20-cinema-id b{display:block;font:normal clamp(16px,1.8vw,24px) Georgia,serif;color:#edc88f;letter-spacing:.02em}
.wm20-cinema-id small{display:block;font-size:9px;letter-spacing:.12em;color:#acbdc5;white-space:normal}
.wm20-cinema-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.wm20-encounter-overlay button{font:inherit;cursor:pointer}
.wm20-header-button,.wm20-secondary{min-height:42px;padding:10px 15px;border:1px solid #627587;border-radius:7px;color:#e9ebe9;background:#1d3849}
.wm20-header-button:hover,.wm20-secondary:hover{border-color:#e5bd7b;background:#2b4b60}
.wm20-primary{min-height:48px;max-width:100%;padding:12px 24px;border:1px solid #f7dfa9;color:#102334;background:linear-gradient(145deg,#f4d59f,#d5ae6b);border-radius:8px;font-weight:800!important}
.wm20-primary:hover{filter:brightness(1.08)}
.wm20-cinema-window>main{flex:1;min-height:0;overflow-y:auto}
.wm20-cinema-footer{min-height:36px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 24px;background:#071622;border-top:1px solid #304756;color:#829ba9;font-size:9px;letter-spacing:.07em}
.wm20-cinema-intro{background:radial-gradient(ellipse at 0 0,#1e3b4d 0,#0b1e2c 57%,#091723 100%)}
.wm20-cinema-feature{min-height:258px;display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,53px);background:linear-gradient(90deg,#071723ed,#07172380),url('westminster-scene.jpg') center/cover}
.wm20-overline{font-size:10px;letter-spacing:.19em;font-weight:800;color:#e9bd79}
.wm20-cinema-feature h1,.wm20-stage-picture h1,.wm20-result h1{font:normal clamp(28px,3.5vw,53px)/1.07 Georgia,serif;max-width:780px;color:#f2d09c;margin:12px 0 14px}
.wm20-cinema-feature p{max-width:720px;color:#d7e3e4;line-height:1.65;font-size:14px;margin:0 0 14px}
.wm20-infochip{display:inline-flex;align-self:flex-start;padding:6px 11px;border:1px solid #667c85;border-radius:30px;background:#112d3f;color:#e4d7c3;font-size:11px}
.wm20-cinema-content{padding:clamp(18px,3vw,35px) clamp(18px,4vw,50px) 45px}
.wm20-sectiontitle{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:14px;margin-bottom:20px;border-bottom:1px solid #344c5c;color:#e4be81;font-weight:800;letter-spacing:.12em;font-size:11px}
.wm20-sectiontitle strong{font-size:10px;color:#9eb8c4}
.wm20-scene-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.wm20-scene-tile{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;text-align:left;min-width:0;min-height:300px;overflow:hidden;border-radius:10px;border:1px solid #4a6878;padding:23px 19px;background:linear-gradient(0deg,#05121cf7 0%,#071b2ad8 43%,#10233255 99%),var(--scene-image) center/cover;color:#f6e9d7;transition:border-color .15s,transform .15s}
.wm20-scene-tile:not(:disabled):hover{transform:translateY(-3px);border-color:#e9c188}
.wm20-scene-tile:disabled{opacity:.58;filter:grayscale(.35);cursor:not-allowed}
.wm20-scene-tag{font-size:10px;font-weight:800;letter-spacing:.17em;color:#edbf79;margin-bottom:9px}
.wm20-scene-title{font:normal clamp(22px,2.1vw,30px)/1.08 Georgia,serif;color:#f5d0a0;margin-bottom:13px}
.wm20-scene-summary{font-size:12px;line-height:1.5;color:#c5d7dc;margin-bottom:19px}
.wm20-scene-start{border-top:1px solid #647889;padding-top:12px;font-size:12px;font-weight:800;color:#f3d5a0}
.wm20-cinema-bottom{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:28px}
.wm20-cinema-bottom>div{border:1px solid #355266;border-radius:9px;padding:22px;background:#122b3b}
.wm20-cinema-bottom h3{font:normal 22px Georgia,serif;color:#f0ce9b;margin:0 0 10px}
.wm20-cinema-bottom p{font-size:12px;line-height:1.7;color:#b6cbd3}
.wm20-journal{margin:0;padding:0;list-style:none}
.wm20-journal li{padding:9px 0;border-bottom:1px solid #324a5c;display:flex;gap:10px;flex-direction:column}
.wm20-journal li span{font-size:12px;font-weight:700;color:#eff0ea}
.wm20-journal li small{font-size:11px;color:#a8c0cb}
.wm20-cinema-stage{display:grid;grid-template-columns:minmax(280px,43%) minmax(0,57%);min-height:100%;background:#102636}
.wm20-stage-picture{background:linear-gradient(0deg,#071622f5,#081b29bd 45%,#07152280),var(--wm20-venue) center/cover;display:flex;flex-direction:column;justify-content:space-between;min-height:525px;padding:clamp(22px,3vw,45px)}
.wm20-stage-picture>div{margin-top:auto;margin-bottom:30px}
.wm20-stage-picture h1{font-size:clamp(35px,4vw,57px)}
.wm20-stage-picture p{color:#c7d9db;margin:0;font-size:14px}
.wm20-venue{font-weight:800;font-size:12px;color:#b8cbce;letter-spacing:.08em}
.wm20-caption{color:#9daeb6;font-size:10px;letter-spacing:.12em}
.wm20-dialogue{min-width:0;padding:clamp(24px,3vw,49px);background:linear-gradient(125deg,#132f40,#101f30);display:flex;flex-direction:column}
.wm20-stage-progress{display:flex;gap:15px;align-items:center;margin-bottom:clamp(36px,5vw,90px);flex-wrap:wrap}
.wm20-stage-progress>span{font-size:10px;color:#9cbac7;font-weight:800;letter-spacing:.14em}
.wm20-progress-track{height:4px;background:#334a5c;flex:1;min-width:80px;border-radius:5px;overflow:hidden}
.wm20-progress-track i{height:100%;display:block;background:#e6c084;transition:width .3s}
.wm20-dialogue-name{font-size:11px;font-weight:800;color:#e8bf81;letter-spacing:.16em;text-transform:uppercase}
.wm20-dialogue blockquote{font:normal clamp(19px,2.4vw,31px)/1.37 Georgia,serif;color:#f5eee6;border-left:3px solid #e9c18a;padding:0 0 0 18px;margin:13px 0 27px}
.wm20-prompt{font-size:10px;letter-spacing:.19em;color:#96b9c4;font-weight:800;margin:0 0 13px}
.wm20-choice-list{display:grid;gap:9px;margin-bottom:15px}
.wm20-choice-list button{display:flex;align-items:center;gap:14px;text-align:left;min-width:0;min-height:65px;padding:12px 17px;color:#e5edf0;border:1px solid #536c7b;border-radius:8px;background:#1c3546;font-size:13px;line-height:1.5}
.wm20-choice-list button span{flex:0 0 31px;display:grid;place-items:center;height:31px;background:#0d2333;color:#e9c489;border:1px solid #617989;border-radius:5px;font-weight:800}
.wm20-choice-list button b{margin-left:auto;color:#edc381;font-size:16px}
.wm20-choice-list button:hover{border-color:#e0be88;background:#294b5c}
.wm20-kbdhint{color:#90a8b4;font-size:10px;margin-top:auto}
.wm20-your-answer,.wm20-reaction{background:#1b3c4e;padding:17px 20px;border-radius:9px;border-left:4px solid #e4c082;margin:7px 0 15px}
.wm20-reaction{background:#173b3b;border-left-color:#89c6b2}
.wm20-your-answer span,.wm20-reaction span{font-size:10px;letter-spacing:.16em;color:#efcd95;font-weight:800}
.wm20-your-answer p,.wm20-reaction p{font-size:14px;line-height:1.65;color:#f4ebe4;margin:9px 0 0}
.wm20-scene-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:20px}
.wm20-result{display:flex;flex-direction:column;justify-content:center;padding:clamp(25px,5vw,70px);background:radial-gradient(ellipse at top,#1e4150,#0c202e 76%)}
.wm20-result>p{max-width:850px;color:#bfd0d4;line-height:1.65}
.wm20-result-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;max-width:850px;width:100%;margin:27px 0}
.wm20-result-summary article{background:#142c3c;border:1px solid #4c6170;border-radius:9px;padding:22px;min-width:0}
.wm20-result-summary article span{display:block;color:#b0c2c9;font-size:10px;letter-spacing:.13em;font-weight:800}
.wm20-result-summary article strong{display:block;font:normal 38px Georgia,serif;color:#e6bc81;margin:8px 0}
.wm20-result-summary article small{color:#9cafb8;font-size:11px}
.wm20-result .wm20-result-note{font-size:12px;max-width:790px}
@media(max-width:1120px){.wm20-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wm20-scene-tile{min-height:250px}.wm20-encounter-brand-placeholder{display:none}}
@media(max-width:760px){.wm20-encounter-overlay{padding:0}.wm20-cinema-window{height:100dvh;border-radius:0;border:none}.wm20-cinema-stage{grid-template-columns:1fr}.wm20-stage-picture{min-height:245px;padding:24px}.wm20-stage-picture h1{font-size:35px}.wm20-stage-picture>div{margin:20px 0 0}.wm20-dialogue{padding:25px}.wm20-stage-progress{margin-bottom:25px}.wm20-cinema-bottom{grid-template-columns:1fr}.wm20-cinema-header{padding:9px 12px;min-height:65px}.wm20-cinema-header-actions .wm20-header-button:first-child{display:none}.wm20-cinema-id small{font-size:8px}.wm20-cinema-monogram{width:38px;height:38px;font-size:25px}.wm20-cinema-footer{font-size:8px;min-height:20px}.wm20-cinema-footer span:last-child{display:none}}
@media(max-width:450px){.wm20-scene-grid{grid-template-columns:1fr}.wm20-scene-tile{min-height:235px}.wm20-cinema-content{padding:18px}.wm20-result-summary{grid-template-columns:1fr}.wm20-result-summary article{padding:12px 18px}.wm20-result-summary article strong{font-size:27px}.wm20-dialogue blockquote{font-size:22px}.wm20-cinema-id{min-width:0}.wm20-cinema-id b{font-size:15px}.wm20-cinema-header-actions{margin-left:0}.wm20-header-button{padding:6px 10px}.wm20-cinema-intro .wm20-cinema-feature{min-height:238px}.wm20-cinema-feature h1{font-size:33px}}
@media(prefers-reduced-motion:reduce){.wm20-encounter-overlay *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
