/* All campaign styling is scoped; the original racing HUD stays independent. */
#gridlock-story-ui{--story-ink:#f6f2df;--story-muted:#a3b6c1;--story-cyan:#75d8ed;--story-gold:#f8d16c;--story-purple:#b09aff;--story-line:#334757;--story-panel:#112330;position:fixed;inset:0;z-index:15000;overflow:hidden;background:#07111b;color:var(--story-ink);font-family:"Avenir Next","Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.45;text-align:left;touch-action:pan-y;isolation:isolate;color-scheme:dark}
#gridlock-story-ui[hidden]{display:none!important}
#gridlock-story-ui *,#gridlock-story-ui *:before,#gridlock-story-ui *:after{box-sizing:border-box}
#gridlock-story-ui button{font:inherit;cursor:pointer;letter-spacing:inherit;text-transform:none;margin:0;-webkit-tap-highlight-color:transparent}
#gridlock-story-ui button:disabled{cursor:not-allowed}
#gridlock-story-ui button:focus-visible,#gridlock-story-ui canvas:focus-visible{outline:3px solid var(--story-cyan);outline-offset:4px}
#gridlock-story-ui h1,#gridlock-story-ui h2,#gridlock-story-ui p{margin:0}
#gridlock-story-ui h1,#gridlock-story-ui h2{font-family:Impact,"Arial Black","Avenir Next Condensed",sans-serif;letter-spacing:.015em;font-weight:800}
#gridlock-story-ui .story-shell{height:100%;display:flex;flex-direction:column;position:relative;background:radial-gradient(ellipse at 85% 95%,#20315166,transparent 62%),#09141e}
#gridlock-story-ui .story-topbar{position:relative;z-index:2;flex:none;min-height:76px;display:flex;align-items:center;gap:24px;padding:12px 32px;border-bottom:1px solid #334454;background:#0b1821ee}
#gridlock-story-ui .story-brand{display:flex;align-items:center;gap:17px;border:0;background:none;padding:0;color:var(--story-purple);font-size:10px;font-weight:900;letter-spacing:.18em;white-space:nowrap;box-shadow:none}
#gridlock-story-ui .story-brand img{display:block;width:113px;height:39px;object-fit:contain}
#gridlock-story-ui .story-brand>span{border-left:1px solid #48606f;padding-left:17px}
#gridlock-story-ui .story-tools{margin-left:auto;display:flex;gap:8px;align-items:center}
#gridlock-story-ui .story-save-indicator{display:flex;gap:8px;align-items:center;color:#94abba;font-size:11px}
#gridlock-story-ui .story-save-indicator>span:first-child{width:5px;height:5px;border-radius:50%;background:#8cd8ae;box-shadow:0 0 12px #8cd8ae66}
#gridlock-story-ui .story-main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px 32px 30px;outline:none;scrollbar-color:#496071 transparent}
#gridlock-story-ui .story-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:43px;border-radius:7px;border:1px solid #466071;background:#142a39;color:var(--story-ink);font-size:13px;font-weight:800;padding:11px 18px;line-height:1.25;text-shadow:none;box-shadow:none;transition:background .15s,border-color .15s,transform .15s}
#gridlock-story-ui .story-button:hover{background:#203a4b;border-color:#6d90a3;transform:translateY(-1px)}
#gridlock-story-ui .story-button:active{transform:translateY(1px)}
#gridlock-story-ui .story-button>span{margin-left:auto}
#gridlock-story-ui .story-button--primary{background:var(--story-gold);border-color:var(--story-gold);color:#14212a;box-shadow:0 3px 0 #8d6b2a;font-weight:900}
#gridlock-story-ui .story-button--primary:hover{background:#ffe59a;border-color:#ffe59a}
#gridlock-story-ui .story-button--primary:disabled{opacity:.65;transform:none}
#gridlock-story-ui .story-button--glass{background:#102130cc;border-color:#678094;color:#f0f3ec}
#gridlock-story-ui .story-button--quiet{background:#12242f;border-color:#354d5c;color:#bdced6;min-height:35px;padding:8px 12px;font-size:11px;border-radius:5px}
#gridlock-story-ui .story-button--quiet:hover{color:#fff;background:#243a49}
#gridlock-story-ui .story-button--text{min-height:30px;padding:5px 0;background:none!important;border:0!important;box-shadow:none;color:var(--story-cyan);font-size:11px;text-decoration:underline;text-underline-offset:3px}
#gridlock-story-ui .story-eyebrow{display:block;color:var(--story-cyan);font-family:"SF Mono","Consolas",monospace;font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.15em}
#gridlock-story-ui .story-live-dot{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--story-cyan);box-shadow:0 0 10px #75d8ed}
#gridlock-story-ui .story-tag{display:inline-block;padding:5px 8px;border:1px solid #78719b;border-radius:3px;background:#9b84f013;color:#ccbdff;font-size:9px;font-weight:850;letter-spacing:.1em;line-height:1.4}
#gridlock-story-ui .story-title-page{max-width:1420px;margin:0 auto}
#gridlock-story-ui .story-hero{position:relative;overflow:hidden;min-height:460px;border:1px solid #365364;border-radius:13px;background-image:linear-gradient(90deg,#07121deb,#0c1c2cd9 42%,#0c183446 100%),var(--story-title-art,url('/assets/images/start-screen.webp'));background-size:cover;background-position:center 48%;box-shadow:0 16px 40px #0004,inset 0 1px #8ed8ef15}
#gridlock-story-ui .story-hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#07141dce,transparent 45%),linear-gradient(115deg,transparent 55%,#7681ba12 55.1%,#1223380a 73%,#10233770 73.1%);pointer-events:none}
#gridlock-story-ui .story-hero-copy{position:relative;z-index:1;width:72%;max-width:810px;padding:43px 45px 42px}
#gridlock-story-ui .story-season{font-size:11px;letter-spacing:.18em;color:#baaade;margin:36px 0 8px;font-weight:850}
#gridlock-story-ui .story-hero h1{font-size:clamp(54px,6.1vw,90px);line-height:.95;text-transform:uppercase;color:#ffdb7f;letter-spacing:.018em;max-width:620px;text-shadow:0 3px 0 #172536,0 0 55px #c997481b}
#gridlock-story-ui .story-hero-description{margin-top:20px;max-width:540px;font-size:15px;line-height:1.6;color:#d3dee3}
#gridlock-story-ui .story-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
#gridlock-story-ui .story-hero-actions .story-button{min-height:49px;min-width:178px}
#gridlock-story-ui .story-hero-meta{display:flex;flex-wrap:wrap;gap:17px;margin-top:30px;color:#a8becb;font-size:8px;font-weight:850;letter-spacing:.09em}
#gridlock-story-ui .story-hero-meta>span+span{border-left:1px solid #6f869277;padding-left:17px}
#gridlock-story-ui .story-signal-art{position:absolute;right:12%;top:57px;height:330px;transform:rotate(8deg);filter:drop-shadow(12px 15px 12px #0008)}
#gridlock-story-ui .story-signal-box{position:relative;z-index:1;width:98px;padding:12px 13px;border:3px solid #637780;border-right-width:7px;border-radius:14px;background:#16252d;box-shadow:inset 5px 2px 0 #06121a;display:grid;gap:12px}
#gridlock-story-ui .story-signal-box i{width:63px;height:63px;border-radius:50%;border:5px solid #07151d;background:repeating-linear-gradient(0deg,#392d32 0 2px,#302c30 2px 4px);box-shadow:0 -7px 0 #030c1399}
#gridlock-story-ui .story-signal-box i:nth-child(2){background:repeating-linear-gradient(0deg,#48412b 0 2px,#3c392a 2px 4px)}
#gridlock-story-ui .story-signal-box i:nth-child(3){background:repeating-linear-gradient(0deg,#94f0bd 0 2px,#72ceaa 2px 4px);box-shadow:0 0 39px #86ffb26b,0 0 9px #86ffb2;animation:story-signal-glow 4s ease-in-out infinite}
#gridlock-story-ui .story-signal-pole{position:absolute;left:35px;top:60px;width:23px;height:320px;background:linear-gradient(90deg,#1c2c32,#6a7e82 25%,#344c55 51%,#22313d);border:2px solid #19323f}
#gridlock-story-ui .story-signal-art>span{display:block;position:relative;z-index:2;left:-39px;margin-top:14px;font-family:Impact,"Arial Black",sans-serif;font-size:23px;line-height:1;color:#172a33;background:#f6d578;padding:8px 14px;transform:rotate(-14deg);border:3px solid #24333a;box-shadow:3px 4px 0 #102230}
#gridlock-story-ui .story-hero-coordinate{position:absolute;bottom:23px;right:25px;text-align:right;font:9px/1.8 "SF Mono",Consolas,monospace;letter-spacing:.1em;color:#b5c6d1}
#gridlock-story-ui .story-title-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:19px;margin-top:20px}
#gridlock-story-ui .story-save-card{display:grid;grid-template-columns:1fr auto;gap:19px 22px;padding:23px;border:1px solid #384c5d;border-radius:10px;background:linear-gradient(115deg,#142936,#112132)}
#gridlock-story-ui .story-save-card h2{font-size:23px;margin:7px 0}
#gridlock-story-ui .story-save-card p{font-size:11px;color:var(--story-muted);max-width:480px}
#gridlock-story-ui .story-save-progress{text-align:right;align-self:center;min-width:91px}
#gridlock-story-ui .story-save-progress b{font:700 34px/1.2 "SF Mono",Consolas,monospace;color:var(--story-gold)}
#gridlock-story-ui .story-save-progress b span{font-size:15px;color:#8097a8}
#gridlock-story-ui .story-save-progress small{display:block;font-size:7px;font-weight:800;letter-spacing:.06em;margin-top:6px;color:#a9bdc9}
#gridlock-story-ui .story-progress-track{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;grid-column:1/-1;height:5px;width:100%}
#gridlock-story-ui .story-progress-track span{border-radius:1px;background:#324956}
#gridlock-story-ui .story-progress-track span.story-progress-done{background:var(--story-cyan)}
#gridlock-story-ui .story-progress-track span.story-progress-current{background:var(--story-gold);box-shadow:0 0 10px #f8d16c33}
#gridlock-story-ui .story-story-note{padding:24px;border:1px solid #434b67;border-radius:10px;background:linear-gradient(120deg,#28213e77,#132033)}
#gridlock-story-ui .story-story-note p{margin-top:10px;font-size:13px;line-height:1.7;max-width:460px;color:#cbd6e0}
#gridlock-story-ui .story-note-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px;font-size:10px;color:#899eae}
#gridlock-story-ui .story-content-page{max-width:1350px;margin:0 auto}
#gridlock-story-ui .story-page-heading{display:flex;gap:25px;align-items:flex-start;justify-content:space-between;margin:8px 0 28px}
#gridlock-story-ui .story-page-heading h1{font-size:37px;line-height:1.2;margin-top:8px}
#gridlock-story-ui .story-page-heading p{color:var(--story-muted);font-size:12px;margin-top:9px}
#gridlock-story-ui .story-chapter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#gridlock-story-ui .story-chapter-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:215px;border:1px solid #344a5b;border-radius:9px;padding:16px;background:linear-gradient(155deg,#243447,#111f2c 80%);color:#edf0e7;text-align:left;box-shadow:none;overflow:hidden}
#gridlock-story-ui .story-chapter-card:before{content:'';position:absolute;width:150px;height:150px;right:-68px;top:28px;border:16px solid #829bbb09;border-radius:50%;transform:rotate(-30deg)}
#gridlock-story-ui .story-chapter-card:hover:not(:disabled){border-color:var(--story-cyan);background:linear-gradient(155deg,#2b4457,#182b3a)}
#gridlock-story-ui .story-chapter-card:disabled{opacity:.47;filter:saturate(.2)}
#gridlock-story-ui .story-chapter-card--current{border-color:var(--story-gold);box-shadow:inset 0 3px 0 var(--story-gold)}
#gridlock-story-ui .story-chapter-card--done{border-color:#558b89}
#gridlock-story-ui .story-chapter-card-top{display:flex;justify-content:space-between;gap:7px;font:7px/1.5 "SF Mono",monospace;color:#99b1c3;letter-spacing:.01em}
#gridlock-story-ui .story-chapter-card-top>span{max-width:70px}
#gridlock-story-ui .story-chapter-card-top b{font-size:7px;color:var(--story-gold);text-align:right;white-space:nowrap}
#gridlock-story-ui .story-chapter-number{font:48px/1 Impact,"Arial Black",sans-serif;letter-spacing:.02em;color:#899cb75c;margin:21px 0 8px}
#gridlock-story-ui .story-chapter-card--current .story-chapter-number{color:#f8d16c}
#gridlock-story-ui .story-chapter-card>strong{font-size:14px;font-weight:850;line-height:1.35;padding-bottom:13px;position:relative}
#gridlock-story-ui .story-chapter-card-bottom{display:flex;flex-direction:column;gap:3px;font-size:8px;margin-top:auto;padding-top:13px;border-top:1px solid #45607255;color:#a5b8c6}
#gridlock-story-ui .story-chapter-card-bottom>span:last-child{color:#9da4d5}
#gridlock-story-ui .story-chapter-footer{max-width:420px;margin:25px auto;text-align:center;font-size:10px;color:#97adbf}
#gridlock-story-ui .story-chapter-footer>.story-progress-track{margin-bottom:13px}
#gridlock-story-ui .story-hub-page{max-width:1440px;margin:0 auto}
#gridlock-story-ui .story-hub-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
#gridlock-story-ui .story-hub-heading h1{font-size:32px;margin-top:4px;line-height:1.15}
#gridlock-story-ui .story-hub-heading p{color:#a8bcca;font-size:11px;margin-top:7px}
#gridlock-story-ui .story-hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:21px;align-items:start}
#gridlock-story-ui .story-hub-stage{position:relative;overflow:hidden;border:1px solid #435d6b;border-radius:10px;background:#071017;box-shadow:0 14px 26px #0003;min-width:0}
#gridlock-story-ui .story-hub-canvas{display:block;width:100%;height:auto;aspect-ratio:1040 / 620;touch-action:none;cursor:crosshair}
#gridlock-story-ui .story-hub-scene-tag{position:absolute;top:15px;left:17px;display:flex;align-items:center;padding:7px 10px;background:#06151ded;border:1px solid #304b5a;border-radius:4px;color:#b3cbd8;font-size:8px;font-weight:800;letter-spacing:.05em}
#gridlock-story-ui .story-hub-scene-tag b{margin-left:14px;color:var(--story-cyan);font-size:7px}
#gridlock-story-ui .story-hub-prompt{position:absolute;bottom:42px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:90%;white-space:nowrap;background:#06151eed;border:1px solid #3d5565;padding:7px 12px;border-radius:6px;font-size:10px;color:#bdd0dc;box-shadow:0 6px 20px #0004}
#gridlock-story-ui .story-hub-prompt--near{border-color:#b39855;color:#f8dda0;background:#20271eee}
#gridlock-story-ui kbd{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:18px;border:1px solid #536d7b;border-radius:3px;background:#213441;font:9px "SF Mono",monospace;box-shadow:0 2px 0 #020b13;color:#d0dce2}
#gridlock-story-ui .story-hub-prompt kbd{color:var(--story-gold);min-width:22px;height:23px;font-size:12px}
#gridlock-story-ui .story-hub-controls{position:absolute;bottom:12px;left:18px;right:18px;display:flex;align-items:center;justify-content:center;gap:20px;color:#849eaf;font-size:7px;font-weight:700;letter-spacing:.05em}
#gridlock-story-ui .story-hub-controls>span{display:flex;align-items:center;gap:3px}
#gridlock-story-ui .story-hub-sidebar{display:flex;flex-direction:column;gap:18px}
#gridlock-story-ui .story-mission-peek{padding:21px;border:1px solid #545a73;border-radius:9px;background:linear-gradient(135deg,#25283d,#122b37)}
#gridlock-story-ui .story-mission-peek h2{font-size:27px;line-height:1.12;margin:10px 0}
#gridlock-story-ui .story-mission-peek p{font-size:11px;line-height:1.65;color:#b4c5d0}
#gridlock-story-ui .story-mission-peek-meta{display:flex;flex-wrap:wrap;gap:6px;margin:17px 0}
#gridlock-story-ui .story-mission-peek-meta span{font-size:8px;font-weight:800;border:1px solid #566573;background:#0c1c2855;color:#aec6d6;padding:3px 6px;border-radius:3px}
#gridlock-story-ui .story-mission-peek>.story-button{width:100%;font-size:11px;padding:11px 12px;gap:10px}
#gridlock-story-ui .story-crew-menu>.story-eyebrow{font-size:8px;margin-bottom:7px;color:#91aabc}
#gridlock-story-ui .story-crew-link{display:flex;width:100%;align-items:center;gap:9px;padding:11px 0;background:none;border:0;border-bottom:1px solid #33495977;color:#eef1e9;text-align:left}
#gridlock-story-ui .story-crew-link>span{min-width:0}
#gridlock-story-ui .story-crew-link strong{font-size:12px;display:block}
#gridlock-story-ui .story-crew-link small{display:block;font-size:8px;line-height:1.4;color:#91a7b8;margin-top:3px}
#gridlock-story-ui .story-crew-link>b{font-size:8px;margin-left:auto;color:var(--story-cyan);white-space:nowrap}
#gridlock-story-ui .story-crew-link:hover strong{color:var(--story-gold)}
#gridlock-story-ui .story-hub-state{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:8px;letter-spacing:.04em;color:#9eb6c7}
#gridlock-story-ui .story-hub-state>span{display:flex;align-items:center;gap:10px;border:1px solid #3b5063;padding:9px;border-radius:5px;background:#122330}
#gridlock-story-ui .story-hub-state b{margin-left:auto;font:700 13px "SF Mono",monospace;color:#c9bbfa}
#gridlock-story-ui .story-access-note{color:#8ca5b5;font-size:10px;line-height:1.7}
#gridlock-story-ui .story-touch-pad,#gridlock-story-ui .story-touch-interact{display:none}
#gridlock-story-ui .story-portrait{--story-character-color:#8ee9ee;position:relative;flex:none;overflow:hidden;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--story-character-color),#33434e 60%);border-radius:8px;background-color:#18303d;background-image:radial-gradient(circle at 70% 20%,color-mix(in srgb,var(--story-character-color),transparent 80%),transparent 75%),linear-gradient(140deg,#294253,#14222f);box-shadow:inset 0 0 35px #07111977;color:var(--story-character-color)}
#gridlock-story-ui .story-portrait img{width:100%;height:100%;object-fit:cover;display:block}
#gridlock-story-ui .story-portrait--large{width:154px;height:170px;align-self:start}
#gridlock-story-ui .story-portrait--medium{width:105px;height:117px;margin:18px auto 15px}
#gridlock-story-ui .story-portrait--small{width:35px;height:40px;border-radius:5px}
#gridlock-story-ui .story-portrait> b{position:relative;z-index:1;align-self:end;justify-self:start;margin:11px;font:26px Impact,sans-serif;text-shadow:1px 2px #122331}
#gridlock-story-ui .story-portrait--small>b{font-size:11px;margin:3px;line-height:1}
#gridlock-story-ui .story-avatar-silhouette{position:absolute;bottom:-9%;left:9%;width:88%;height:61%;border-radius:45% 45% 0 0;background:linear-gradient(120deg,color-mix(in srgb,var(--story-character-color),#19313f 62%),#142935);box-shadow:inset 7px 1px 0 #9daeb61f;transform:rotate(-9deg)}
#gridlock-story-ui .story-avatar-silhouette:before{content:'';position:absolute;left:25%;bottom:76%;width:50%;height:80%;border-radius:50% 47% 44% 38%;background:linear-gradient(115deg,color-mix(in srgb,var(--story-character-color),#162b36 45%),#244350 70%);box-shadow:inset 1px 9px 0 #142632}
#gridlock-story-ui .story-avatar-silhouette:after{content:'';position:absolute;left:36%;bottom:137%;width:18%;height:4%;background:#d8e7d480;transform:rotate(8deg);box-shadow:13px 0 0 #d8e7d480}
#gridlock-story-ui .story-portrait--art{background-repeat:no-repeat;box-shadow:inset 0 -25px 35px #0c1b2b33}
#gridlock-story-ui .story-brief-page{max-width:1150px}
#gridlock-story-ui .story-brief-grid{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:24px}
#gridlock-story-ui .story-brief-main{position:relative;overflow:hidden;border:1px solid #47526a;border-radius:12px;background:radial-gradient(circle at 100% 0,#7f78c32b,transparent 60%),linear-gradient(130deg,#193044,#0e2330);min-height:470px}
#gridlock-story-ui .story-brief-number{position:absolute;right:-10px;top:30px;color:#abc4eb0b;font:300px/.9 Impact,sans-serif;letter-spacing:-.06em}
#gridlock-story-ui .story-brief-copy{position:relative;z-index:1;padding:35px 37px}
#gridlock-story-ui .story-brief-main h1{font-size:clamp(44px,5vw,69px);line-height:1.04;margin:24px 0 19px;max-width:540px;color:#ffdc83}
#gridlock-story-ui .story-brief-lead{font-size:15px;color:#bdcddd;max-width:500px;line-height:1.7}
#gridlock-story-ui .story-objective{position:relative;margin-top:32px;padding:20px 20px 20px 23px;border:1px solid #53657c;border-left:3px solid var(--story-cyan);border-radius:5px;background:#06182766}
#gridlock-story-ui .story-objective>span,#gridlock-story-ui .story-route-effect>span{display:block;font-size:9px;letter-spacing:.13em;color:var(--story-cyan);font-weight:800}
#gridlock-story-ui .story-objective strong{display:block;font-size:18px;margin:8px 0;color:#ecf0e6}
#gridlock-story-ui .story-objective p{font-size:12px;color:#b6c7d4;line-height:1.7}
#gridlock-story-ui .story-route-effect{margin-top:17px;padding:0 4px}
#gridlock-story-ui .story-route-effect>span{color:#c9b5ff;font-size:8px}
#gridlock-story-ui .story-route-effect p{color:#a8bcce;font-size:11px;margin-top:6px}
#gridlock-story-ui .story-launch-card{padding:27px 24px;border:1px solid #405568;border-radius:11px;text-align:center;background:#152734;display:flex;flex-direction:column;align-items:center}
#gridlock-story-ui .story-launch-card h2{font-size:24px;line-height:1.2;margin:6px 0 9px}
#gridlock-story-ui .story-launch-card p{font-size:11px;color:#a8bac8;line-height:1.7}
#gridlock-story-ui .story-launch-card small{display:block;font-size:8px;letter-spacing:.1em;color:#a79bc9;margin-bottom:20px}
#gridlock-story-ui .story-rival-meter{display:flex;gap:4px;margin:16px 0 6px;width:153px}
#gridlock-story-ui .story-rival-meter i{width:14px;height:5px;background:#364855;transform:skew(-10deg)}
#gridlock-story-ui .story-rival-meter .story-rival-meter-on{background:var(--story-purple)}
#gridlock-story-ui .story-launch-actions{display:flex;flex-direction:column;gap:12px;width:100%;margin-top:auto;padding-top:25px;margin-bottom:21px}
#gridlock-story-ui .story-launch-actions .story-button{font-size:12px;gap:10px}
#gridlock-story-ui .story-taxi-badge{display:grid;place-items:center;width:116px;height:84px;margin:30px auto 25px;background:var(--story-gold);color:#152531;font:30px Impact,sans-serif;border:5px solid #9b824e;border-radius:14px 14px 5px 5px;box-shadow:0 5px 0 #050f18,0 0 50px #f8d16c16;transform:rotate(-5deg)}
#gridlock-story-ui .story-overlay-host:empty{display:none}
#gridlock-story-ui .story-dialogue-backdrop{position:absolute;z-index:20;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:28px;background:#050c146e;backdrop-filter:blur(3px);overflow:auto}
#gridlock-story-ui .story-dialogue{width:min(100%,1030px);padding:22px 29px 21px;border:1px solid #647b91;border-top:3px solid var(--story-purple);border-radius:12px;background:linear-gradient(140deg,#1c2c42fa,#0e202ffc);box-shadow:0 -15px 90px #030a1377,0 5px 30px #0008}
#gridlock-story-ui .story-dialogue-top{display:flex;align-items:center;gap:17px;padding-bottom:15px;border-bottom:1px solid #43566a77;color:#a7becf;font-size:9px;font-weight:800;letter-spacing:.06em}
#gridlock-story-ui .story-dialogue-top>span:nth-child(2){margin-left:auto;color:#8d9eb7;white-space:nowrap}
#gridlock-story-ui .story-dialogue-top>.story-button{font-size:9px;min-height:20px}
#gridlock-story-ui .story-dialogue-body{display:flex;gap:30px;padding-top:23px;min-height:200px}
#gridlock-story-ui .story-dialogue-text{min-width:0;flex:1;padding-top:3px}
#gridlock-story-ui .story-dialogue-text h2{font-size:30px;margin:6px 0 14px}
#gridlock-story-ui .story-typewriter{font-size:17px;line-height:1.7;color:#e5eae3;min-height:85px;max-width:740px}
#gridlock-story-ui .story-typewriter i{display:inline-block;width:5px;height:16px;background:var(--story-cyan);margin-left:4px;vertical-align:-2px;animation:story-cursor .8s steps(2,end) infinite}
#gridlock-story-ui .story-typewriter i[hidden]{display:none}
#gridlock-story-ui .story-dialogue-footer{display:flex;align-items:center;gap:20px;justify-content:flex-end;margin-top:20px}
#gridlock-story-ui .story-dialogue-footer>span{font-size:9px;color:#8da5b7}
#gridlock-story-ui .story-dialogue-footer>.story-button{min-width:130px}
#gridlock-story-ui .story-choice-panel,#gridlock-story-ui .story-confirm{align-self:center;width:min(100%,720px);padding:34px;border:1px solid #65728f;border-top:3px solid var(--story-purple);border-radius:12px;background:linear-gradient(140deg,#202b44,#0c2331);box-shadow:0 20px 90px #0008}
#gridlock-story-ui .story-choice-panel h2,#gridlock-story-ui .story-confirm h2{font-size:34px;margin:10px 0}
#gridlock-story-ui .story-choice-panel>p,#gridlock-story-ui .story-confirm>p{font-size:12px;line-height:1.7;color:#b9cad5}
#gridlock-story-ui .story-choice-list{display:flex;flex-direction:column;gap:13px;margin-top:25px}
#gridlock-story-ui .story-choice{display:flex;align-items:flex-start;gap:18px;background:#172d3e;border:1px solid #57667e;border-radius:8px;padding:19px;text-align:left;color:#f0eee7;box-shadow:none}
#gridlock-story-ui .story-choice:hover{background:#293a50;border-color:var(--story-gold)}
#gridlock-story-ui .story-choice>b{font:22px Impact,sans-serif;color:var(--story-purple)}
#gridlock-story-ui .story-choice>span{display:flex;flex-direction:column;gap:7px}
#gridlock-story-ui .story-choice strong{font-size:16px}
#gridlock-story-ui .story-choice small{font-size:11px;line-height:1.6;color:#afc3d2}
#gridlock-story-ui .story-choice em{font-style:normal;font-size:22px;color:var(--story-gold);margin-left:auto}
#gridlock-story-ui .story-choice-effect{font-size:9px;color:var(--story-cyan);margin-top:3px}
#gridlock-story-ui .story-confirm{max-width:500px}
#gridlock-story-ui .story-confirm>.story-result-actions{margin-top:25px}
#gridlock-story-ui .story-result-page,#gridlock-story-ui .story-ending-page{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:900px;margin:0 auto;padding:22px 0 25px}
#gridlock-story-ui .story-result-beacon{display:grid;place-items:center;flex:none;width:80px;height:80px;border-radius:50%;border:1px solid #a28d7d;background:radial-gradient(circle,#a7834e33,#172c39);color:#f2cb85;font:42px "Avenir Next",sans-serif;box-shadow:0 0 55px #997f311c;margin:4px 0 29px}
#gridlock-story-ui .story-result-beacon--win{color:#aeefc1;border-color:#6db398;background:radial-gradient(circle,#92e7b526,#183332);box-shadow:0 0 55px #68dda425}
#gridlock-story-ui .story-result-page h1,#gridlock-story-ui .story-ending-page h1{font-size:clamp(36px,4.6vw,61px);line-height:1.1;margin:14px 0 17px;max-width:800px;color:var(--story-gold)}
#gridlock-story-ui .story-result-reason{color:#bbcfdd;max-width:600px;font-size:14px;line-height:1.7}
#gridlock-story-ui .story-result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;max-width:600px;width:100%;margin:35px 0;padding:25px;border:1px solid #465d70;border-radius:10px;background:linear-gradient(120deg,#1c3040,#152938)}
#gridlock-story-ui .story-result-stats>div+div{border-left:1px solid #435b6e}
#gridlock-story-ui .story-result-stats span{display:block;font-size:8px;font-weight:800;letter-spacing:.13em;color:#94b0c6;margin-bottom:8px}
#gridlock-story-ui .story-result-stats strong{font:700 24px/1 "SF Mono",Consolas,monospace;color:#eaf3ec}
#gridlock-story-ui .story-result-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-bottom:20px}
#gridlock-story-ui .story-result-actions>.story-button{min-width:172px}
#gridlock-story-ui .story-ending-page{padding-top:15px}
#gridlock-story-ui .story-ending-orbit{display:grid;place-items:center;width:110px;height:110px;border:1px solid #85caaa55;border-radius:50%;box-shadow:0 0 55px #8ff6b529,inset 0 0 30px #8ff6b51b;margin:22px 0 12px;background:repeating-radial-gradient(circle,transparent 0 20px,#79b19726 21px,transparent 22px 30px)}
#gridlock-story-ui .story-ending-orbit>span{width:35px;height:35px;border-radius:50%;background:#9aefb8;box-shadow:0 0 35px #8cffb58a;border:4px solid #152d30}
#gridlock-story-ui .story-ending-subtitle{max-width:650px;color:#b9cad7;font-size:14px;line-height:1.7}
#gridlock-story-ui .story-ending-metrics{display:flex;gap:34px;margin:29px 0;color:#96adbf;font-size:8px;letter-spacing:.05em}
#gridlock-story-ui .story-ending-metrics b{display:block;color:var(--story-purple);font:25px "SF Mono",monospace;margin-bottom:5px}
#gridlock-story-ui .story-credits{border-top:1px solid #3f576977;width:100%;max-width:660px;padding-top:25px;margin:2px 0 25px}
#gridlock-story-ui .story-credits>span{display:block;color:var(--story-cyan);font-size:8px;letter-spacing:.18em}
#gridlock-story-ui .story-credits strong{display:block;color:#e5eae2;font-size:15px;margin:9px 0}
#gridlock-story-ui .story-credits p{font-size:10px;color:#91a8b9;line-height:1.7}
#gridlock-story-ui .story-error{position:absolute;z-index:40;top:84px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:25px;max-width:min(800px,90%);width:max-content;padding:14px 16px;border:1px solid #c58f62;border-radius:7px;background:#342a23;color:#ffe1ba;box-shadow:0 8px 30px #0006;font-size:12px}
#gridlock-story-ui .story-error>.story-button{flex:none;border-color:#ad865d;color:#ffe3b8;background:#4d3c2f}
#gridlock-story-ui .story-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@keyframes story-signal-glow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.16)}}
@keyframes story-cursor{50%{opacity:0}}
@media(min-width:1600px){#gridlock-story-ui .story-main{padding-top:40px}#gridlock-story-ui .story-hero{min-height:500px}#gridlock-story-ui .story-hero-copy{padding-top:53px}}
@media(max-width:1120px){#gridlock-story-ui .story-topbar{padding:12px 22px;gap:15px}#gridlock-story-ui .story-main{padding:23px 22px}#gridlock-story-ui .story-save-indicator{font-size:9px}#gridlock-story-ui .story-hub-layout{grid-template-columns:minmax(0,1fr) 224px;gap:15px}#gridlock-story-ui .story-mission-peek{padding:17px}#gridlock-story-ui .story-mission-peek h2{font-size:23px}#gridlock-story-ui .story-mission-peek p{font-size:10px}#gridlock-story-ui .story-hub-sidebar{gap:13px}#gridlock-story-ui .story-hub-state>span{font-size:7px;padding:7px;gap:6px}#gridlock-story-ui .story-hero-copy{padding:36px;width:73%}#gridlock-story-ui .story-hero-description{max-width:430px}#gridlock-story-ui .story-signal-art{right:9%}#gridlock-story-ui .story-hero{min-height:455px}#gridlock-story-ui .story-chapter-grid{gap:10px}#gridlock-story-ui .story-chapter-card{padding:13px}#gridlock-story-ui .story-chapter-card-top{font-size:6px}#gridlock-story-ui .story-chapter-card-top b{font-size:6px}}
@media(max-width:900px){#gridlock-story-ui .story-save-indicator{display:none}#gridlock-story-ui .story-hero{min-height:432px}#gridlock-story-ui .story-hero-copy{width:77%;padding:29px}#gridlock-story-ui .story-hero h1{font-size:62px;max-width:440px}#gridlock-story-ui .story-hero-description{max-width:390px;font-size:13px}#gridlock-story-ui .story-season{font-size:9px;letter-spacing:.12em}#gridlock-story-ui .story-signal-art{right:4%;transform:scale(.8) rotate(8deg);transform-origin:top right;top:75px}#gridlock-story-ui .story-hero-meta{font-size:7px;gap:11px}#gridlock-story-ui .story-hero-meta>span+span{padding-left:11px}#gridlock-story-ui .story-title-bottom{grid-template-columns:1fr}#gridlock-story-ui .story-story-note{padding:19px 23px}#gridlock-story-ui .story-story-note p{max-width:none}#gridlock-story-ui .story-chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#gridlock-story-ui .story-chapter-card-top,#gridlock-story-ui .story-chapter-card-top b{font-size:7px}#gridlock-story-ui .story-hub-layout{grid-template-columns:1fr}#gridlock-story-ui .story-hub-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}#gridlock-story-ui .story-hub-state{align-self:start}#gridlock-story-ui .story-crew-menu{grid-column:2;grid-row:1/3}#gridlock-story-ui .story-hub-sidebar>.story-access-note{grid-column:1/-1}#gridlock-story-ui .story-mission-peek h2{font-size:26px}#gridlock-story-ui .story-brief-grid{grid-template-columns:minmax(0,1fr) 252px;gap:15px}#gridlock-story-ui .story-brief-copy{padding:27px}#gridlock-story-ui .story-launch-card{padding:25px 18px}#gridlock-story-ui .story-launch-actions .story-button{font-size:10px}#gridlock-story-ui .story-brief-lead{font-size:13px}#gridlock-story-ui .story-dialogue-body{gap:23px}#gridlock-story-ui .story-typewriter{font-size:15px}#gridlock-story-ui .story-portrait--large{width:123px;height:149px}}
@media(pointer:coarse), (max-width:600px){#gridlock-story-ui .story-touch-pad{position:absolute;left:15px;bottom:54px;display:grid;grid-template-columns:36px 36px 36px;grid-template-rows:36px 36px;gap:3px;touch-action:none;opacity:.87}#gridlock-story-ui .story-touch-pad>button{display:grid;place-items:center;background:#152837e8;color:#d8e5ec;border:1px solid #6b8495;border-radius:7px;padding:0;font:20px sans-serif;touch-action:none}#gridlock-story-ui .story-pad-up{grid-column:2;grid-row:1}#gridlock-story-ui .story-pad-left{grid-column:1;grid-row:2}#gridlock-story-ui .story-pad-down{grid-column:2;grid-row:2}#gridlock-story-ui .story-pad-right{grid-column:3;grid-row:2}#gridlock-story-ui .story-touch-interact{position:absolute;right:16px;bottom:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:59px;height:59px;border:1px solid #899773;background:#273c36d9;color:#f6dda0;border-radius:50%;padding:8px;font-size:21px;touch-action:manipulation}#gridlock-story-ui .story-touch-interact>span{font-size:6px;font-weight:800}#gridlock-story-ui .story-touch-interact--near{background:#f4d276;color:#1d2a30;box-shadow:0 0 15px #f8da6b55}#gridlock-story-ui .story-hub-prompt{bottom:15px;font-size:9px}#gridlock-story-ui .story-hub-controls{display:none}}
@media(max-width:600px){#gridlock-story-ui .story-topbar{min-height:63px;padding:10px 13px;gap:8px}#gridlock-story-ui .story-brand{gap:8px}#gridlock-story-ui .story-brand img{width:80px;height:34px}#gridlock-story-ui .story-brand>span{padding-left:8px;font-size:7px;letter-spacing:.09em;max-width:43px;white-space:normal;line-height:1.5}#gridlock-story-ui .story-tools{gap:5px}#gridlock-story-ui .story-tools>.story-button{font-size:8px;padding:7px;min-height:29px}#gridlock-story-ui .story-main{padding:16px 13px 25px}#gridlock-story-ui .story-hero{min-height:440px;border-radius:9px;background-position:center center}#gridlock-story-ui .story-hero-copy{padding:24px 21px 26px;width:100%}#gridlock-story-ui .story-hero-copy>.story-eyebrow{font-size:7px;letter-spacing:.08em}#gridlock-story-ui .story-season{margin-top:40px;max-width:200px;font-size:8px;letter-spacing:.08em}#gridlock-story-ui .story-hero h1{font-size:49px;max-width:275px;line-height:1.01}#gridlock-story-ui .story-hero-description{font-size:12px;max-width:255px;margin-top:17px;line-height:1.65}#gridlock-story-ui .story-hero-actions{gap:9px;margin-top:24px}#gridlock-story-ui .story-hero-actions .story-button{min-width:0;min-height:44px;font-size:10px;padding:11px 13px;gap:12px}#gridlock-story-ui .story-hero-meta{margin-top:22px;gap:10px;font-size:6px;letter-spacing:.02em}#gridlock-story-ui .story-hero-meta>span+span{padding-left:10px}#gridlock-story-ui .story-hero-coordinate{display:none}#gridlock-story-ui .story-signal-art{right:3%;top:64px;transform:scale(.57) rotate(8deg);opacity:.9}#gridlock-story-ui .story-signal-art>span{font-size:20px}#gridlock-story-ui .story-title-bottom{gap:13px;margin-top:13px}#gridlock-story-ui .story-save-card{padding:17px;gap:17px 14px}#gridlock-story-ui .story-save-card h2{font-size:21px}#gridlock-story-ui .story-save-card p{font-size:10px}#gridlock-story-ui .story-save-progress{min-width:66px}#gridlock-story-ui .story-save-progress b{font-size:28px}#gridlock-story-ui .story-save-progress b span{font-size:11px}#gridlock-story-ui .story-save-progress small{font-size:6px}#gridlock-story-ui .story-story-note{padding:18px}#gridlock-story-ui .story-story-note p{font-size:11px}#gridlock-story-ui .story-tag{font-size:7px}#gridlock-story-ui .story-eyebrow{font-size:8px}#gridlock-story-ui .story-page-heading{gap:12px;margin:4px 0 21px}#gridlock-story-ui .story-page-heading h1{font-size:28px;max-width:250px}#gridlock-story-ui .story-page-heading p{font-size:10px}#gridlock-story-ui .story-page-heading>.story-button{font-size:9px;max-width:97px;padding:8px 9px}#gridlock-story-ui .story-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#gridlock-story-ui .story-chapter-card{padding:12px;min-height:207px}#gridlock-story-ui .story-chapter-card-top{gap:6px;font-size:6px}#gridlock-story-ui .story-chapter-card-top>span{max-width:67px}#gridlock-story-ui .story-chapter-card-top b{font-size:6px}#gridlock-story-ui .story-chapter-card>strong{font-size:12px}#gridlock-story-ui .story-chapter-number{font-size:41px}#gridlock-story-ui .story-hub-heading{gap:13px;margin-bottom:14px}#gridlock-story-ui .story-hub-heading h1{font-size:27px}#gridlock-story-ui .story-hub-heading p{font-size:10px;max-width:260px}#gridlock-story-ui .story-hub-heading>.story-button{font-size:9px;padding:7px 9px}#gridlock-story-ui .story-hub-layout{gap:15px}#gridlock-story-ui .story-hub-stage{border-radius:7px;overflow:hidden;min-height:257px;padding-bottom:51px}#gridlock-story-ui .story-hub-canvas{height:257px;width:100%;object-fit:fill}#gridlock-story-ui .story-hub-scene-tag{top:8px;left:8px;font-size:6px;padding:5px 6px}#gridlock-story-ui .story-hub-scene-tag b{font-size:6px}#gridlock-story-ui .story-hub-prompt{font-size:8px;bottom:16px;max-width:80%;padding:6px 9px;gap:6px;white-space:normal;min-width:170px;text-align:center}#gridlock-story-ui .story-hub-prompt kbd{display:none}#gridlock-story-ui .story-hub-controls{font-size:5px;gap:9px;bottom:7px}#gridlock-story-ui .story-hub-controls kbd{font-size:6px;min-width:12px;height:13px}#gridlock-story-ui .story-hub-controls+.story-hub-prompt{bottom:22px}#gridlock-story-ui .story-hub-sidebar{gap:13px;grid-template-columns:1fr 1fr}#gridlock-story-ui .story-mission-peek{padding:14px;grid-column:1/-1}#gridlock-story-ui .story-mission-peek h2{font-size:25px}#gridlock-story-ui .story-mission-peek p{font-size:11px}#gridlock-story-ui .story-mission-peek-meta{margin:12px 0}#gridlock-story-ui .story-mission-peek>.story-button{font-size:12px}#gridlock-story-ui .story-crew-menu{grid-column:1/-1;grid-row:auto}#gridlock-story-ui .story-hub-state{grid-column:1/-1}#gridlock-story-ui .story-hub-state>span{font-size:8px;padding:10px}#gridlock-story-ui .story-crew-link{padding:10px 0}#gridlock-story-ui .story-crew-link small{font-size:9px}#gridlock-story-ui .story-crew-link>b{font-size:10px}#gridlock-story-ui .story-touch-pad{left:11px;bottom:48px;grid-template-columns:32px 32px 32px;grid-template-rows:32px 32px}#gridlock-story-ui .story-touch-interact{right:12px;bottom:53px;width:52px;height:52px}#gridlock-story-ui .story-brief-grid{grid-template-columns:1fr;gap:15px}#gridlock-story-ui .story-brief-main{min-height:0}#gridlock-story-ui .story-brief-copy{padding:25px 24px}#gridlock-story-ui .story-brief-main h1{font-size:43px;margin-top:20px}#gridlock-story-ui .story-objective{margin-top:24px;padding:17px}#gridlock-story-ui .story-brief-number{font-size:230px;top:30px}#gridlock-story-ui .story-launch-card{padding:24px;display:grid;grid-template-columns:94px 1fr;align-items:start;text-align:left;column-gap:17px}#gridlock-story-ui .story-launch-card>.story-eyebrow{grid-column:1/-1;margin-bottom:15px}#gridlock-story-ui .story-launch-card>.story-portrait{grid-row:2/6;grid-column:1;width:94px;height:108px;margin:0}#gridlock-story-ui .story-launch-card>h2{grid-column:2;font-size:24px;margin-top:5px}#gridlock-story-ui .story-launch-card>p{grid-column:2;font-size:10px}#gridlock-story-ui .story-launch-card .story-rival-meter{grid-column:2;margin-top:9px;width:140px}#gridlock-story-ui .story-launch-card small{grid-column:2;margin-bottom:0}#gridlock-story-ui .story-launch-actions{grid-column:1/-1;padding-top:21px;margin-bottom:14px}#gridlock-story-ui .story-launch-actions .story-button{font-size:12px}#gridlock-story-ui .story-launch-card>.story-access-note{grid-column:1/-1;text-align:center}#gridlock-story-ui .story-taxi-badge{width:85px;height:68px;font-size:25px;grid-column:1;grid-row:2/4;margin:3px 0}#gridlock-story-ui .story-dialogue-backdrop{padding:12px;backdrop-filter:blur(2px)}#gridlock-story-ui .story-dialogue{padding:16px;border-radius:9px}#gridlock-story-ui .story-dialogue-top{font-size:7px;gap:10px;padding-bottom:11px}#gridlock-story-ui .story-dialogue-top>.story-button{font-size:8px}#gridlock-story-ui .story-dialogue-body{position:relative;gap:14px;padding-top:19px;min-height:195px}#gridlock-story-ui .story-dialogue .story-portrait--large{position:absolute;top:19px;left:0;width:55px;height:66px;border-radius:5px}#gridlock-story-ui .story-dialogue .story-portrait>b{font-size:17px;margin:5px}#gridlock-story-ui .story-dialogue-text{padding-top:2px}#gridlock-story-ui .story-dialogue-text>.story-eyebrow{margin-left:70px;font-size:8px;min-height:13px;padding-top:4px}#gridlock-story-ui .story-dialogue-text h2{font-size:27px;margin:6px 0 23px 70px;line-height:1.1;min-height:30px}#gridlock-story-ui .story-typewriter{font-size:14px;line-height:1.7;min-height:93px}#gridlock-story-ui .story-dialogue-footer{margin-top:16px;justify-content:space-between;gap:10px}#gridlock-story-ui .story-dialogue-footer>span{font-size:8px;max-width:120px}#gridlock-story-ui .story-dialogue-footer>.story-button{min-width:118px;font-size:12px;min-height:41px}#gridlock-story-ui .story-choice-panel,#gridlock-story-ui .story-confirm{padding:23px 19px}#gridlock-story-ui .story-choice-panel h2,#gridlock-story-ui .story-confirm h2{font-size:29px}#gridlock-story-ui .story-choice-panel>p,#gridlock-story-ui .story-confirm>p{font-size:11px}#gridlock-story-ui .story-choice{padding:15px 12px;gap:12px}#gridlock-story-ui .story-choice strong{font-size:14px}#gridlock-story-ui .story-choice small{font-size:10px}#gridlock-story-ui .story-choice>b{font-size:20px}#gridlock-story-ui .story-choice em{font-size:17px}#gridlock-story-ui .story-choice-effect{font-size:8px}#gridlock-story-ui .story-result-page{padding-top:14px}#gridlock-story-ui .story-result-beacon{width:64px;height:64px;font-size:34px;margin-bottom:24px}#gridlock-story-ui .story-result-page h1,#gridlock-story-ui .story-ending-page h1{font-size:37px;margin-top:13px}#gridlock-story-ui .story-result-reason{font-size:12px}#gridlock-story-ui .story-result-stats{gap:13px;padding:20px 12px;margin:25px 0}#gridlock-story-ui .story-result-stats strong{font-size:19px}#gridlock-story-ui .story-result-stats span{font-size:7px;letter-spacing:.03em}#gridlock-story-ui .story-result-actions{width:100%;gap:11px}#gridlock-story-ui .story-result-actions>.story-button{min-width:145px;font-size:11px;gap:12px}#gridlock-story-ui .story-ending-subtitle{font-size:12px}#gridlock-story-ui .story-ending-metrics{gap:27px;font-size:7px}#gridlock-story-ui .story-error{top:73px;gap:13px;font-size:11px;padding:12px;max-width:94%}#gridlock-story-ui .story-error>.story-button{font-size:9px}}
@media(max-height:680px) and (min-width:901px){#gridlock-story-ui .story-topbar{min-height:62px;padding-top:8px;padding-bottom:8px}#gridlock-story-ui .story-main{padding-top:18px}#gridlock-story-ui .story-hero{min-height:370px}#gridlock-story-ui .story-hero-copy{padding-top:26px;padding-bottom:25px}#gridlock-story-ui .story-season{margin-top:24px}#gridlock-story-ui .story-hero h1{font-size:66px}#gridlock-story-ui .story-hero-description{margin-top:15px;font-size:13px}#gridlock-story-ui .story-hero-actions{margin-top:20px}#gridlock-story-ui .story-hero-meta{margin-top:22px}#gridlock-story-ui .story-signal-art{transform:scale(.85) rotate(8deg);transform-origin:top right;top:40px}#gridlock-story-ui .story-title-bottom{margin-top:15px}#gridlock-story-ui .story-save-card,#gridlock-story-ui .story-story-note{padding:18px}#gridlock-story-ui .story-dialogue{padding-top:17px;padding-bottom:17px}#gridlock-story-ui .story-dialogue-body{min-height:170px}#gridlock-story-ui .story-portrait--large{height:145px;width:133px}#gridlock-story-ui .story-result-page{padding-top:7px}#gridlock-story-ui .story-result-beacon{width:63px;height:63px;font-size:34px;margin-bottom:20px}#gridlock-story-ui .story-result-stats{margin:23px 0;padding:20px}}
@media(prefers-reduced-motion:reduce){#gridlock-story-ui *,#gridlock-story-ui *:before,#gridlock-story-ui *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#gridlock-story-ui .story-driving-report{width:100%;max-width:720px;padding:21px 23px;margin:-12px 0 28px;border:1px solid #445c70;border-radius:10px;background:linear-gradient(130deg,#202a43,#142b37);text-align:left}
#gridlock-story-ui .story-driving-report>header{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:18px}
#gridlock-story-ui .story-driving-report>header>strong{display:flex;align-items:center;gap:14px;font:27px Impact,sans-serif;color:var(--story-gold)}
#gridlock-story-ui .story-driving-report>header small{font:10px "SF Mono",monospace;color:#b4cad7}
#gridlock-story-ui .story-report-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px}
#gridlock-story-ui .story-report-categories>div{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:9px;color:#acbfd0}
#gridlock-story-ui .story-report-categories b{color:#e2ebe9;font:700 11px "SF Mono",monospace}
#gridlock-story-ui .story-report-categories small{font-size:8px;color:#8fa6b8}
#gridlock-story-ui .story-report-categories i{grid-column:1/-1;height:4px;background:#344859;border-radius:2px;overflow:hidden}
#gridlock-story-ui .story-report-categories em{display:block;height:100%;background:var(--story-purple)}
#gridlock-story-ui .story-report-stats{display:flex;flex-wrap:wrap;gap:7px 20px;margin-top:18px;padding-top:15px;border-top:1px solid #49607366;font-size:9px;color:#99b0c3}
#gridlock-story-ui .story-report-stats b{color:#c8dce4;margin-left:5px}
#gridlock-story-ui .story-dialogue,#gridlock-story-ui .story-choice-panel,#gridlock-story-ui .story-confirm{max-height:100%;overflow:auto;overscroll-behavior:contain}
@media(max-width:600px){#gridlock-story-ui .story-driving-report{padding:18px 15px;margin-top:-5px}#gridlock-story-ui .story-report-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#gridlock-story-ui .story-driving-report>header>strong{font-size:23px;gap:9px}#gridlock-story-ui .story-driving-report>header small{font-size:8px}#gridlock-story-ui .story-report-categories>div{font-size:8px}}
@media(max-height:480px) and (min-width:601px){#gridlock-story-ui .story-dialogue-backdrop{padding:12px}#gridlock-story-ui .story-dialogue{padding:13px 20px}#gridlock-story-ui .story-dialogue-top{padding-bottom:9px;font-size:8px}#gridlock-story-ui .story-dialogue-body{min-height:0;padding-top:13px;gap:19px}#gridlock-story-ui .story-dialogue .story-portrait--large{width:89px;height:105px}#gridlock-story-ui .story-dialogue-text h2{font-size:25px;margin-top:4px;margin-bottom:8px}#gridlock-story-ui .story-typewriter{font-size:14px;line-height:1.6;min-height:66px}#gridlock-story-ui .story-dialogue-footer{margin-top:12px}#gridlock-story-ui .story-dialogue-footer>.story-button{min-height:36px;padding-top:8px;padding-bottom:8px}#gridlock-story-ui .story-choice-panel{padding-top:20px;padding-bottom:20px}#gridlock-story-ui .story-choice-list{margin-top:15px;gap:10px}#gridlock-story-ui .story-choice{padding:12px 15px}}
/* Cutaway interiors, purposeful navigation, and transparent campaign choices. */
#gridlock-story-ui .story-hub-scene{min-width:0}
#gridlock-story-ui .story-hub-goal{position:absolute;top:17px;right:18px;display:flex;flex-direction:column;gap:4px;padding:9px 12px;border:1px solid #e8c97377;border-radius:6px;background:#152027e8;box-shadow:0 4px 18px #0005;pointer-events:none}
#gridlock-story-ui .story-hub-goal>span{font:700 7px "SF Mono",monospace;letter-spacing:.12em;color:#b5c7d0}
#gridlock-story-ui .story-hub-goal>strong{font-size:11px;color:#ffe1a0}
#gridlock-story-ui .story-hub-goal b{margin-left:12px}
#gridlock-story-ui .story-hub-next-step{display:flex;align-items:center;gap:13px;margin-top:12px;padding:13px 15px;border:1px solid #586268;border-radius:7px;background:linear-gradient(115deg,#232d35,#142a35)}
#gridlock-story-ui .story-hub-step-number{display:grid;place-items:center;flex:none;width:28px;height:32px;border-radius:5px;background:#eaca7220;color:#f4d789;border:1px solid #f0ca7355;font:19px Impact,sans-serif}
#gridlock-story-ui .story-hub-next-step>div{min-width:0;flex:1}
#gridlock-story-ui .story-hub-next-step strong{font-size:11px;line-height:1.5;color:#e6ebe4}
#gridlock-story-ui .story-hub-next-step p{font-size:9px;line-height:1.6;color:#a4bccb;margin-top:4px}
#gridlock-story-ui .story-hub-next-step>.story-button{flex:none;font-size:10px;white-space:nowrap}
#gridlock-story-ui .story-hub-support>.story-eyebrow{font-size:8px;color:#a2b7c7;margin-bottom:10px}
#gridlock-story-ui .story-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}
#gridlock-story-ui .story-support-card{min-width:0;padding:17px;border:1px solid #526279;border-radius:8px;background:#172b3dd9}
#gridlock-story-ui .story-support-card>div{display:flex;gap:9px;justify-content:space-between;align-items:center;color:#c6d5df;font-size:11px;font-weight:800}
#gridlock-story-ui .story-support-card b{font:700 19px "SF Mono",monospace;color:#cab8ff;white-space:nowrap}
#gridlock-story-ui .story-support-card small{font-size:10px;color:#8ea5b6}
#gridlock-story-ui .story-support-card i{display:block;width:100%;height:4px;border-radius:2px;background:#3d5064;overflow:hidden;margin:12px 0}
#gridlock-story-ui .story-support-card em{display:block;height:100%;background:#b4a1f4}
#gridlock-story-ui .story-support-card p{font-size:11px;line-height:1.6;color:#a7c0d1}
#gridlock-story-ui .story-support-card--active{border-color:#609688;background:#152e35dd}
#gridlock-story-ui .story-support-card--active b,#gridlock-story-ui .story-support-card--active strong{color:#a4e6ba}
#gridlock-story-ui .story-support-card--active em{background:#8ed5b3}
#gridlock-story-ui .story-support-grid--compact{grid-template-columns:1fr;gap:8px;margin:0}
#gridlock-story-ui .story-support-grid--compact .story-support-card{padding:11px 12px;border-radius:5px}
#gridlock-story-ui .story-support-grid--compact .story-support-card>div{font-size:10px}
#gridlock-story-ui .story-support-grid--compact .story-support-card b{font-size:15px}
#gridlock-story-ui .story-support-grid--compact .story-support-card small{font-size:9px}
#gridlock-story-ui .story-support-grid--compact .story-support-card i{height:3px;margin:8px 0}
#gridlock-story-ui .story-support-grid--compact .story-support-card p{font-size:9px}
#gridlock-story-ui .story-hub-support>.story-button{font-size:9px;margin-top:6px}
#gridlock-story-ui .story-journal{align-self:center;max-width:790px;width:100%;max-height:100%;overflow:auto;padding:29px;border:1px solid #637590;border-top:3px solid var(--story-purple);border-radius:12px;background:linear-gradient(130deg,#202e44,#102632);box-shadow:0 20px 80px #0007}
#gridlock-story-ui .story-journal-heading{display:flex;gap:20px;align-items:start;justify-content:space-between;margin-bottom:15px}
#gridlock-story-ui .story-journal h2{font-size:33px;line-height:1.2;margin-top:8px}
#gridlock-story-ui .story-journal>p{font-size:12px;line-height:1.7;color:#beced9}
#gridlock-story-ui .story-ending-progress{padding:15px 17px;border:1px solid #5a6280;background:#242840;border-radius:7px;margin:18px 0 24px}
#gridlock-story-ui .story-ending-progress>span{color:#c9b8ff;font:700 8px "SF Mono",monospace;letter-spacing:.1em}
#gridlock-story-ui .story-ending-progress p{font-size:11px;color:#bfd0db;margin-top:7px;line-height:1.7}
#gridlock-story-ui .story-decision-history>.story-eyebrow{margin-bottom:12px}
#gridlock-story-ui .story-decision-history>div{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #425b6d99}
#gridlock-story-ui .story-decision-history>div>b{font:22px Impact,sans-serif;color:#8ca6be}
#gridlock-story-ui .story-decision-history strong{display:block;font-size:12px;color:#e5ece9}
#gridlock-story-ui .story-decision-history small{display:block;font-size:10px;color:#a6becf;margin-top:4px}
#gridlock-story-ui .story-decision-history>p{font-size:11px;line-height:1.7;color:#a9c0d0}
#gridlock-story-ui .story-choice-panel{width:min(100%,970px);padding:29px}
#gridlock-story-ui .story-choice-panel h2{font-size:35px}
#gridlock-story-ui .story-choice-panel>p{max-width:760px}
#gridlock-story-ui .story-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:24px}
#gridlock-story-ui .story-choice{display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:20px;min-width:0;border-color:#5b6d86;background:linear-gradient(155deg,#23364e,#142d3d);transition:border-color .15s,background .15s;box-shadow:0 5px 16px #04101b44}
#gridlock-story-ui .story-choice:hover{background:linear-gradient(155deg,#304663,#193647);border-color:#f4d48b}
#gridlock-story-ui .story-choice>span{display:flex;flex-direction:column;gap:7px;width:100%;margin:0}
#gridlock-story-ui .story-choice>.story-choice-heading{flex-direction:row;align-items:start;gap:10px}
#gridlock-story-ui .story-choice-heading>b{color:#bfa8ef;font:22px Impact,sans-serif;flex:none}
#gridlock-story-ui .story-choice-heading>span{font-size:17px;line-height:1.3;font-weight:850;padding-top:1px;color:#f2f1e5}
#gridlock-story-ui .story-choice-heading>em{font-size:21px;flex:none;margin-left:auto}
#gridlock-story-ui .story-choice>.story-choice-story{font-size:11px;color:#b2c6d6;line-height:1.65;min-height:54px}
#gridlock-story-ui .story-choice>.story-choice-gain{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border:1px solid #70839d88;border-radius:5px;background:#0c2335a3;padding:11px 13px}
#gridlock-story-ui .story-choice-gain>span{font-size:10px;color:#c1d4e0;font-weight:850}
#gridlock-story-ui .story-choice-gain>b{font:700 19px "SF Mono",monospace;color:#f1edda;white-space:nowrap}
#gridlock-story-ui .story-choice-gain i{font-style:normal;font-size:13px;color:#95b1c4;padding:0 2px}
#gridlock-story-ui .story-choice-gain>strong{font-size:11px;font-weight:850;color:#98e1bb;padding:3px 6px;border:1px solid #77ab9066;border-radius:3px;background:#7ec29314}
#gridlock-story-ui .story-choice-consequence>b,#gridlock-story-ui .story-choice-next>b{font:700 8px "SF Mono",monospace;letter-spacing:.035em;color:#a6dce8}
#gridlock-story-ui .story-choice-consequence>span{font-size:11px;line-height:1.6;color:#e4e9e7}
#gridlock-story-ui .story-choice-consequence>small{font-size:10px;line-height:1.6;color:#a8c0d0}
#gridlock-story-ui .story-choice>.story-choice-next{padding-top:13px;border-top:1px solid #53718966}
#gridlock-story-ui .story-choice-next>b{font-size:7px;color:#a6bdd2}
#gridlock-story-ui .story-choice-next>strong{font-size:12px;color:#e7ecdf}
#gridlock-story-ui .story-choice-next>span{font-size:10px;line-height:1.6;color:#b5ccda}
#gridlock-story-ui .story-choice>.story-choice-ending{font-size:9px;line-height:1.6;color:#c5b4f2;background:#9285c412;border:1px solid #76699155;border-radius:4px;padding:9px 11px;margin-top:auto}
#gridlock-story-ui .story-choice>.story-choice-select{flex-direction:row;align-items:center;justify-content:space-between;margin-top:1px;color:#f4d486;font-size:11px;font-weight:850}
#gridlock-story-ui .story-choice-select>b{font-size:18px}
#gridlock-story-ui .story-choice-panel>.story-choice-save-note{font-size:9px;color:#94abba;margin-top:17px;text-align:center;max-width:none}
@media(min-width:1250px){#gridlock-story-ui .story-hub-layout{grid-template-columns:minmax(0,1fr) 280px}#gridlock-story-ui .story-hub-stage{min-height:0}#gridlock-story-ui .story-hub-canvas{aspect-ratio:1040 / 620}}
@media(max-width:900px){#gridlock-story-ui .story-hub-support{grid-column:1}#gridlock-story-ui .story-crew-menu{grid-row:1/3}#gridlock-story-ui .story-choice-panel{padding:23px}#gridlock-story-ui .story-choice{padding:16px;gap:13px}#gridlock-story-ui .story-choice-heading>span{font-size:15px}}
@media(max-width:600px){#gridlock-story-ui .story-hub-scene{grid-column:1/-1}#gridlock-story-ui .story-hub-goal{top:8px;right:8px;padding:6px 8px;gap:2px}#gridlock-story-ui .story-hub-goal>span{font-size:5px}#gridlock-story-ui .story-hub-goal>strong{font-size:8px}#gridlock-story-ui .story-hub-goal b{margin-left:5px}#gridlock-story-ui .story-hub-scene-tag{max-width:165px}#gridlock-story-ui .story-hub-next-step{padding:10px;gap:9px;flex-wrap:wrap}#gridlock-story-ui .story-hub-next-step strong{font-size:10px}#gridlock-story-ui .story-hub-next-step p{font-size:9px}#gridlock-story-ui .story-hub-next-step>.story-button{margin-left:37px;min-height:29px;font-size:9px;padding:6px 10px}#gridlock-story-ui .story-hub-support{grid-column:1/-1}#gridlock-story-ui .story-support-grid--compact{grid-template-columns:1fr 1fr;gap:9px}#gridlock-story-ui .story-support-grid--compact .story-support-card{padding:10px}#gridlock-story-ui .story-support-grid--compact .story-support-card>div{font-size:8px;gap:5px}#gridlock-story-ui .story-support-grid--compact .story-support-card b{font-size:13px}#gridlock-story-ui .story-support-grid--compact .story-support-card small{font-size:7px}#gridlock-story-ui .story-support-grid--compact .story-support-card p{font-size:8px}#gridlock-story-ui .story-hub-sidebar .story-crew-menu{grid-row:auto}#gridlock-story-ui .story-journal{padding:20px}#gridlock-story-ui .story-journal h2{font-size:28px}#gridlock-story-ui .story-journal-heading{gap:10px}#gridlock-story-ui .story-journal-heading>.story-button{font-size:9px;padding:7px 10px}#gridlock-story-ui .story-journal>p{font-size:11px}#gridlock-story-ui .story-support-grid{gap:10px}#gridlock-story-ui .story-support-card{padding:12px}#gridlock-story-ui .story-support-card>div{font-size:9px;gap:6px;flex-wrap:wrap}#gridlock-story-ui .story-support-card b{font-size:18px}#gridlock-story-ui .story-support-card p{font-size:10px}#gridlock-story-ui .story-choice-panel{padding:22px 16px}#gridlock-story-ui .story-choice-panel h2{font-size:29px}#gridlock-story-ui .story-choice-list{grid-template-columns:1fr;gap:15px;margin-top:20px}#gridlock-story-ui .story-choice{padding:17px;gap:13px}#gridlock-story-ui .story-choice-heading>span{font-size:16px}#gridlock-story-ui .story-choice>.story-choice-story{min-height:0;font-size:11px}#gridlock-story-ui .story-choice-gain>span{font-size:11px}#gridlock-story-ui .story-choice-consequence>span{font-size:11px}#gridlock-story-ui .story-choice-next>b{font-size:8px}}
@media(max-height:600px) and (min-width:601px){#gridlock-story-ui .story-choice-panel{padding:18px 23px}#gridlock-story-ui .story-choice-panel h2{font-size:29px;margin:7px 0}#gridlock-story-ui .story-choice-list{margin-top:17px}#gridlock-story-ui .story-choice{gap:11px;padding:16px}}
#gridlock-story-ui .story-choice-improved{color:#a5ddbc!important;font-size:9px!important}
@media(max-width:600px){#gridlock-story-ui .story-touch-pad{grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px;gap:3px;bottom:48px}#gridlock-story-ui .story-touch-pad>button{font-size:23px;background:#152837ed}#gridlock-story-ui .story-touch-interact{width:60px;height:60px;bottom:54px;font-size:22px}}
@media(max-width:600px){#gridlock-story-ui .story-hub-stage{padding-bottom:112px}#gridlock-story-ui .story-hub-canvas{height:auto;aspect-ratio:1040 / 620}#gridlock-story-ui .story-touch-pad{bottom:12px}#gridlock-story-ui .story-touch-interact{bottom:28px}#gridlock-story-ui .story-hub-prompt{bottom:100px;background:#071923f5;max-width:90%;font-size:9px}}
/* Decisions explain the reason, the immediate result, and the remaining stakes. */
#gridlock-story-ui.story-paused *,#gridlock-story-ui.story-paused *:before,#gridlock-story-ui.story-paused *:after{animation-play-state:paused!important}
#gridlock-story-ui .story-choice{gap:13px}
#gridlock-story-ui .story-choice>.story-choice-recommendation{font-size:13px;line-height:1.6;color:#fff1c5;padding:12px 13px;border-left:3px solid #e6c372;background:#e4c4770a;border-radius:0 5px 5px 0}
#gridlock-story-ui .story-choice>.story-choice-consequence,#gridlock-story-ui .story-choice>.story-choice-later{gap:6px}
#gridlock-story-ui .story-choice-later>b{font:700 8px "SF Mono",monospace;letter-spacing:.035em;color:#c5b5ed}
#gridlock-story-ui .story-choice-later>span{font-size:11px;line-height:1.65;color:#b8c7db}
#gridlock-story-ui .story-choice>.story-choice-select{margin-top:auto;min-height:34px;padding-top:9px;border-top:1px solid #586c7d55}
#gridlock-story-ui .story-choice:disabled{opacity:.7;transform:none;background:#193141}
#gridlock-story-ui .story-choice-panel>p{max-width:810px}
#gridlock-story-ui .story-choice-ack{align-self:center;max-width:670px;width:100%;max-height:100%;overflow:auto;overscroll-behavior:contain;padding:34px;border:1px solid #649689;border-top:3px solid #98dcba;border-radius:12px;background:linear-gradient(135deg,#1c3540,#132432);box-shadow:0 20px 70px #0007}
#gridlock-story-ui .story-choice-saved{display:inline-flex;align-items:center;margin-bottom:23px;padding:7px 10px;border:1px solid #78bc9966;border-radius:5px;background:#8ed1a214;font:700 9px "SF Mono",monospace;color:#abe4bf;letter-spacing:.06em}
#gridlock-story-ui .story-choice-ack>.story-eyebrow{color:#d2c4f3}
#gridlock-story-ui .story-choice-ack h2{font-size:39px;line-height:1.12;margin:12px 0 16px}
#gridlock-story-ui .story-choice-ack>p{color:#d1dfdf;font-size:13px;line-height:1.8}
#gridlock-story-ui .story-choice-ack-later{border-top:1px solid #526f7766;padding-top:18px;margin:6px 0 23px}
#gridlock-story-ui .story-choice-ack-later>span{color:#c5b6ef;font:700 8px "SF Mono",monospace;letter-spacing:.08em}
#gridlock-story-ui .story-choice-ack-later p{font-size:11px;line-height:1.8;color:#afc4d2;margin-top:7px}
#gridlock-story-ui .story-choice-ack>.story-button{width:100%}
#gridlock-story-ui .story-choice-ack>small{display:block;text-align:center;margin-top:16px;font-size:9px;color:#8faebd}
#gridlock-story-ui .story-mission-support{padding:20px 22px;margin-top:18px;border:1px solid #57717c;border-radius:7px;background:#142c3ba8}
#gridlock-story-ui .story-mission-support--active{border-color:#77a88a88;background:#18373eaa}
#gridlock-story-ui .story-mission-support--active>.story-eyebrow{color:#ade1b7}
#gridlock-story-ui .story-target-comparison{display:flex;align-items:center;gap:25px;margin:16px 0}
#gridlock-story-ui .story-target-comparison>span{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:3px 8px;min-width:110px}
#gridlock-story-ui .story-target-comparison small{grid-column:1/-1;font:700 8px "SF Mono",monospace;color:#9cb6c6;letter-spacing:.06em}
#gridlock-story-ui .story-target-comparison b{font:31px Impact,sans-serif;color:#e6e3d3}
#gridlock-story-ui .story-target-comparison em{font-size:11px;font-style:normal;color:#b6cbd0}
#gridlock-story-ui .story-target-comparison>span:last-child b{color:#f7d98b}
#gridlock-story-ui .story-target-comparison>i{font-size:23px;font-style:normal;color:#9fbbbf}
#gridlock-story-ui .story-mission-support>p{font-size:11px;line-height:1.7;color:#afc5ce}
#gridlock-story-ui .story-mission-support strong{color:#dbe8d8;font-weight:700}
#gridlock-story-ui .story-pending-note{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;margin-bottom:22px;border:1px solid #9a8757;border-radius:7px;background:#b5a5690d}
#gridlock-story-ui .story-pending-note>span{font-size:10px;color:#b7c8d1;line-height:1.7}
#gridlock-story-ui .story-pending-note b{display:block;font-size:12px;color:#eddaa2}
#gridlock-story-ui .story-pending-note>.story-button{flex:none;min-height:42px;color:#f3d486}
#gridlock-story-ui .story-ending-decisions{max-width:760px;width:100%;text-align:left;margin:25px auto 8px;border:1px solid #536779;border-radius:7px;background:#152937}
#gridlock-story-ui .story-ending-decisions>summary{padding:17px 19px;cursor:pointer;font-size:12px;font-weight:750;color:#f0d99f;min-height:50px}
#gridlock-story-ui .story-ending-decisions>summary>span{float:right;font-size:9px;color:#a3bdcc;font-weight:400}
#gridlock-story-ui .story-ending-decisions>div{padding:0 20px 14px}
#gridlock-story-ui .story-ending-decisions article{display:flex;gap:17px;padding:15px 0;border-top:1px solid #3f5b6c}
#gridlock-story-ui .story-ending-decisions article>b{font:24px Impact,sans-serif;color:#b2a5dc}
#gridlock-story-ui .story-ending-decisions h3{margin:0 0 6px;font-size:12px;color:#dbe4df}
#gridlock-story-ui .story-ending-decisions p{font-size:11px;line-height:1.7;color:#a8bfcc}
#gridlock-story-ui .story-dialogue-footer>span{margin-right:auto;line-height:1.7}
#gridlock-story-ui summary:focus-visible{outline:3px solid var(--story-cyan);outline-offset:3px}
@media(pointer:coarse){#gridlock-story-ui .story-touch-pad{grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px;gap:3px}#gridlock-story-ui .story-touch-interact{width:60px;height:60px}}
@media(max-width:600px){#gridlock-story-ui .story-choice-ack{padding:23px 19px}#gridlock-story-ui .story-choice-ack h2{font-size:31px}#gridlock-story-ui .story-choice-ack>p{font-size:12px}#gridlock-story-ui .story-choice-ack>.story-button{font-size:11px}#gridlock-story-ui .story-choice>.story-choice-recommendation{font-size:12px;padding:10px 11px}#gridlock-story-ui .story-mission-support{padding:17px 16px}#gridlock-story-ui .story-target-comparison{gap:15px}#gridlock-story-ui .story-target-comparison>span{min-width:0;flex:1;gap:3px 5px}#gridlock-story-ui .story-target-comparison em{font-size:10px}#gridlock-story-ui .story-target-comparison small{font-size:7px}#gridlock-story-ui .story-target-comparison b{font-size:29px}#gridlock-story-ui .story-pending-note{gap:12px;padding:12px}#gridlock-story-ui .story-pending-note b{font-size:10px}#gridlock-story-ui .story-pending-note>span{font-size:9px}#gridlock-story-ui .story-pending-note>.story-button{font-size:9px;padding:8px}#gridlock-story-ui .story-ending-decisions>summary{font-size:11px}#gridlock-story-ui .story-ending-decisions>summary>span{display:block;float:none;margin-top:5px}#gridlock-story-ui .story-tools>.story-button{min-height:44px}#gridlock-story-ui .story-dialogue-top>.story-button{min-height:44px}}
#gridlock-story-ui .story-decision-history>div p{font-size:11px;line-height:1.7;color:#9fb8c8;margin-top:8px;max-width:610px}

/* Simple mission flow and printed comic scenes. */
#gridlock-story-ui [data-story-text][hidden]{display:none}
#gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:clamp(28px,3vw,42px)}
#gridlock-story-ui .story-hub-simple .story-hub-heading p{max-width:820px;font-size:15px;line-height:1.55}
#gridlock-story-ui .story-hub-simple .story-hub-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start}
#gridlock-story-ui .story-hub-simple .story-hub-sidebar{display:flex;flex-direction:column;gap:12px}
#gridlock-story-ui .story-hub-simple .story-mission-peek{padding:25px;border:2px solid #f4cc71;background:linear-gradient(145deg,#1b3240,#101d28);box-shadow:0 9px 25px #0004}
#gridlock-story-ui .story-hub-simple .story-mission-peek h2{font-size:32px;margin:10px 0 12px}
#gridlock-story-ui .story-hub-simple .story-mission-peek p,#gridlock-story-ui .story-simple-brief .story-mission-peek p{font-size:14px;line-height:1.6}
#gridlock-story-ui .story-simple-objective{display:flex;flex-direction:column;gap:8px;padding:15px 0;margin:12px 0;border-block:1px solid #91bbca42}
#gridlock-story-ui .story-simple-objective>span,#gridlock-story-ui .story-simple-reward>b{color:#f5d279;font-size:10px;font-weight:900;letter-spacing:.09em}
#gridlock-story-ui .story-simple-objective>strong{font-size:17px;line-height:1.45;color:#fff8e4}
#gridlock-story-ui .story-simple-reward{color:#d9e8df}
#gridlock-story-ui .story-mission-peek .story-button--primary{margin-top:14px;width:100%;min-height:52px;font-size:15px}
#gridlock-story-ui .story-launch-hint{display:block;color:#a8bec9;font-size:11px;line-height:1.5;margin-top:12px}
#gridlock-story-ui .story-simple-support{padding:10px;background:#133c34;border-radius:6px;color:#b6eed0;font-size:12px!important}
#gridlock-story-ui .story-extra-menu{border:1px solid #3e5563;border-radius:8px;background:#0d1b24;padding:0 16px}
#gridlock-story-ui .story-extra-menu>summary{cursor:pointer;min-height:48px;align-content:center;font-size:13px;font-weight:700;color:#d8e4e8}
#gridlock-story-ui .story-extra-menu>summary small{color:#9aafbc;float:right;font-size:11px;font-weight:400}
#gridlock-story-ui .story-extra-menu .story-crew-menu{display:block;padding:0 0 9px}
#gridlock-story-ui .story-extra-menu .story-support-grid{padding-bottom:12px}
#gridlock-story-ui .story-extra-menu .story-button{margin-bottom:12px}
#gridlock-story-ui .story-simple-brief{max-width:700px}
#gridlock-story-ui .story-simple-brief .story-mission-peek{padding:28px}
#gridlock-story-ui .story-simple-choices{max-width:740px;padding:25px}
#gridlock-story-ui .story-simple-choices>h2{font-size:32px}
#gridlock-story-ui .story-simple-choices .story-choice-list{gap:14px;margin:20px 0}
#gridlock-story-ui .story-simple-choices .story-choice{padding:18px;gap:10px}
#gridlock-story-ui .story-simple-choices .story-choice-heading{font-size:18px}
#gridlock-story-ui .story-simple-choices .story-choice-recommendation,#gridlock-story-ui .story-simple-choices .story-choice-consequence{font-size:14px;line-height:1.5}
#gridlock-story-ui .story-simple-choices>small{color:#9ab8c4}
#gridlock-story-ui .story-comic-backdrop{padding:24px;background:#020b10e8;align-items:center}
#gridlock-story-ui .story-comic{align-self:center;width:min(100%,1040px);max-height:100%;overflow:auto;padding:22px;background:#f0e4c7;background-image:radial-gradient(#c2ad862b .7px,transparent .8px);background-size:5px 5px;border:3px solid #131f27;border-radius:4px;box-shadow:9px 10px 0 #030c15,0 22px 100px #0009;transform:none;color:#18252d}
#gridlock-story-ui .story-comic-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}
#gridlock-story-ui .story-comic-heading .story-eyebrow{color:#586166;font-size:10px}
#gridlock-story-ui .story-comic-heading h2{font-size:clamp(23px,3vw,34px);line-height:1.1;margin:8px 0 0;color:#142631}
#gridlock-story-ui .story-comic-heading>span{font-size:11px;font-weight:800;white-space:nowrap}
#gridlock-story-ui .story-comic-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#gridlock-story-ui .story-comic-panel{position:relative;isolation:isolate;min-width:0;display:flex;flex-direction:column;min-height:400px;border:3px solid #17232c;box-shadow:4px 5px 0 #17232c;background:#203542;overflow:hidden}
#gridlock-story-ui .story-comic-panel:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#001c2844,#00111dee),var(--comic-scene) center/cover;opacity:.9}
#gridlock-story-ui .story-comic-panel:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(#00172650 .6px,transparent .8px);background-size:4px 4px;opacity:.25}
#gridlock-story-ui .story-comic-caption{position:relative;z-index:2;align-self:flex-start;margin:14px 12px 0;padding:7px 13px;background:#ffda73;border:2px solid #17232c;box-shadow:3px 3px 0 #17232c;font-size:14px;font-weight:900;transform:rotate(-2deg)}
#gridlock-story-ui .story-comic-art{display:flex;justify-content:center;align-items:end;flex:1;min-height:190px;padding:10px 25px 0}
#gridlock-story-ui .story-comic-art .story-portrait{width:min(100%,290px);height:240px;border:3px solid var(--comic-accent);border-radius:2px;box-shadow:9px 0 0 #081f2977;transform:rotate(2deg);flex-shrink:1}
#gridlock-story-ui .story-comic-panel:nth-child(2n) .story-portrait{transform:rotate(-2deg)}
#gridlock-story-ui .story-comic-bubble{position:relative;z-index:2;margin:15px 14px 22px;padding:14px 16px;background:#fffaf0;border:2px solid #14222b;border-radius:14px 14px 14px 3px;box-shadow:3px 4px 0 #13222b;min-height:110px}
#gridlock-story-ui .story-comic-bubble:before{content:"";position:absolute;top:-13px;left:35px;width:19px;height:19px;background:#fffaf0;transform:skewY(30deg) rotate(36deg);border-left:2px solid #14222b;border-top:2px solid #14222b}
#gridlock-story-ui .story-comic-bubble strong{position:relative;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#5b5d59}
#gridlock-story-ui .story-comic-bubble p{position:relative;font-family:Arial,sans-serif;font-size:18px;line-height:1.45;font-weight:600;margin:6px 0 0;color:#1b2932}
#gridlock-story-ui .story-comic-panel-number{position:absolute;bottom:2px;right:7px;font-size:12px;color:#f3e6c6;z-index:2}
#gridlock-story-ui .story-comic-footer{position:sticky;bottom:-22px;padding:18px 0 0;margin-top:14px;background:#f0e4c7;justify-content:space-between;z-index:4}
#gridlock-story-ui .story-comic-footer .story-button--text{color:#4b5960;min-width:0}
#gridlock-story-ui .story-comic-footer .story-button--primary{border:2px solid #162630;box-shadow:3px 4px 0 #162630;min-height:50px;font-size:14px}
@media(max-width:1000px){#gridlock-story-ui .story-hub-simple .story-hub-layout{grid-template-columns:1fr}#gridlock-story-ui .story-hub-simple .story-hub-sidebar{grid-row:1}#gridlock-story-ui .story-hub-simple .story-hub-scene{grid-row:2}#gridlock-story-ui .story-hub-simple .story-mission-peek h2{font-size:28px}#gridlock-story-ui .story-hub-simple .story-hub-heading{padding-bottom:18px}}
@media(max-width:600px){#gridlock-story-ui .story-comic-backdrop{padding:10px}#gridlock-story-ui .story-comic{padding:12px;max-height:100%;border-width:2px}#gridlock-story-ui .story-comic-heading{margin-bottom:12px;gap:8px}#gridlock-story-ui .story-comic-heading .story-eyebrow{font-size:8px}#gridlock-story-ui .story-comic-heading>span{font-size:9px}#gridlock-story-ui .story-comic-panels{grid-template-columns:1fr;gap:12px}#gridlock-story-ui .story-comic-panel{min-height:265px}#gridlock-story-ui .story-comic-art{min-height:105px;padding-top:0}#gridlock-story-ui .story-comic-art .story-portrait{width:155px;height:138px}#gridlock-story-ui .story-comic-caption{font-size:11px;padding:5px 8px;margin:8px 8px 0}#gridlock-story-ui .story-comic-bubble{min-height:0;margin:8px 9px 15px;padding:10px 12px}#gridlock-story-ui .story-comic-bubble p{font-size:16px;line-height:1.4}#gridlock-story-ui .story-comic-footer{bottom:-12px;padding-top:12px;gap:10px}#gridlock-story-ui .story-comic-footer .story-button--primary{font-size:12px;min-width:0}#gridlock-story-ui .story-hub-simple .story-mission-peek{padding:19px}#gridlock-story-ui .story-hub-simple .story-hub-heading p{font-size:13px}#gridlock-story-ui .story-hub-simple .story-mission-peek p{font-size:14px}#gridlock-story-ui .story-simple-choices{padding:20px}#gridlock-story-ui .story-simple-choices>h2{font-size:27px}}
/* One wallet and three concrete taxi upgrades replace the old support currencies. */
#gridlock-story-ui .story-wallet{display:grid;grid-template-columns:1fr 1fr;gap:9px 20px;padding:19px 20px;background:#101e29;border:1px solid #4b6877;border-radius:9px}
#gridlock-story-ui .story-wallet>div{display:flex;flex-direction:column;gap:3px}
#gridlock-story-ui .story-wallet>div>span{font-size:10px;font-weight:800;letter-spacing:.09em;color:#adc4cf}
#gridlock-story-ui .story-wallet>div>strong{font-size:29px;line-height:1.2;color:#f6d477;font-variant-numeric:tabular-nums}
#gridlock-story-ui .story-wallet>div:nth-child(2)>strong{color:#e1e7e6}
#gridlock-story-ui .story-wallet>p{grid-column:1/-1;font-size:13px;line-height:1.4;margin:1px 0}
#gridlock-story-ui .story-wallet>progress{grid-column:1/-1;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#263b46;accent-color:#f6d477}
#gridlock-story-ui .story-wallet>progress::-webkit-progress-bar{background:#263b46}
#gridlock-story-ui .story-wallet>progress::-webkit-progress-value{background:#f6d477}
#gridlock-story-ui .story-wallet>small{grid-column:1/-1;color:#8eabb9;font-size:10px;margin-top:2px}
#gridlock-story-ui .story-taxi-shop>p{font-size:12px;line-height:1.5;color:#bdd0da}
#gridlock-story-ui .story-upgrade{padding:16px 0;border-top:1px solid #395462}
#gridlock-story-ui .story-upgrade>div{display:flex;gap:8px;align-items:center;justify-content:space-between}
#gridlock-story-ui .story-upgrade h3{font:22px Impact,sans-serif;margin:0;color:#f5e9c7}
#gridlock-story-ui .story-upgrade>div>strong{font-size:15px;color:#f5d279;white-space:nowrap}
#gridlock-story-ui .story-upgrade p{font-size:13px;line-height:1.5;margin:8px 0}
#gridlock-story-ui .story-upgrade>small{display:block;color:#a5bbc8;font-size:11px;line-height:1.5}
#gridlock-story-ui .story-upgrade .story-button{margin:12px 0 0;width:100%;min-height:44px}
#gridlock-story-ui .story-upgrade .story-button:disabled{opacity:.48;cursor:not-allowed}
#gridlock-story-ui .story-mission-peek>.story-button--quiet{width:100%;margin-top:12px;min-height:46px}

/* Race for the Rent — arcade menu polish. Scoped to campaign UI, never the race HUD. */
#gridlock-story-ui{--story-gold:#ffd363;--story-cyan:#79e2ec;--story-ink:#fff5db;--story-muted:#adc2cc;--story-line:#3d5663;--story-menu-display:"Gridlock ESP",Impact,"Arial Black",sans-serif;--story-menu-copy:"Avenir Next","Segoe UI",system-ui,sans-serif}
#gridlock-story-ui .story-shell{background:radial-gradient(ellipse at 5% 0,#17414c38,transparent 45%),radial-gradient(ellipse at 95% 90%,#29385440,transparent 58%),#09131c}
#gridlock-story-ui .story-topbar{background:linear-gradient(#152631,#0b1923);border-bottom-color:#405764;box-shadow:0 3px 0 #030b1180,inset 0 1px #ffffff0b}
#gridlock-story-ui .story-brand{color:var(--story-gold)}
#gridlock-story-ui .story-brand>span{font-family:var(--story-menu-display);font-weight:400;letter-spacing:.07em}
#gridlock-story-ui .story-main{scrollbar-width:thin}
#gridlock-story-ui h1,#gridlock-story-ui h2{font-family:var(--story-menu-display);font-weight:400;letter-spacing:.02em;text-wrap:balance}
#gridlock-story-ui p,#gridlock-story-ui .story-launch-hint,#gridlock-story-ui .story-comic-bubble p{font-family:var(--story-menu-copy);text-wrap:pretty}
#gridlock-story-ui .story-eyebrow{font-family:var(--story-menu-copy);font-size:10px;font-weight:800;letter-spacing:.16em;color:#88d9e3}
#gridlock-story-ui .story-button{position:relative;border-radius:6px;border-color:#4d6b7b;background:linear-gradient(#27404d,#142835);box-shadow:inset 0 1px #b7eaff20,0 3px 0 #030b12,0 6px 12px #0002;font-family:var(--story-menu-copy);font-weight:750;letter-spacing:.01em;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
#gridlock-story-ui .story-button:hover:not(:disabled){border-color:#95e2eb;background:linear-gradient(#355664,#203f4c);box-shadow:inset 0 1px #d6ffff2b,0 3px 0 #030b12,0 0 18px #66dbe114;transform:translateY(-1px)}
#gridlock-story-ui .story-button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px #ffffff18,0 1px 0 #030b12}
#gridlock-story-ui .story-button--primary{border-color:#ffe49c #d6a544 #a87824;background:linear-gradient(180deg,#ffe590 0,#ffd369 55%,#efb849 100%);box-shadow:inset 0 1px #fff7ca,0 4px 0 #8a591c,0 7px 18px #0004;color:#16222b;font-family:var(--story-menu-display);font-weight:400;letter-spacing:.015em;text-shadow:0 1px #fff4bd80}
#gridlock-story-ui .story-button--primary:hover:not(:disabled){border-color:#fff2bd;background:linear-gradient(#fff0b4,#ffdc78 55%,#f8c458);box-shadow:inset 0 1px #fffbdc,0 4px 0 #986724,0 8px 23px #e8bd3c20}
#gridlock-story-ui .story-button--primary>span{padding-left:12px;font:700 22px/1 var(--story-menu-copy)}
#gridlock-story-ui .story-button--quiet{border-color:#385864;background:linear-gradient(#1b3340,#112530);color:#c5dce3;box-shadow:inset 0 1px #b2eaff10,0 2px 0 #050f17;font-size:12px}
#gridlock-story-ui .story-button--glass{border-color:#638391;background:linear-gradient(#203843ed,#102632ed)}
#gridlock-story-ui .story-button--text{color:#85dce7;box-shadow:none!important;font-family:var(--story-menu-copy);font-weight:650;text-shadow:none;text-decoration-thickness:1px}
#gridlock-story-ui .story-button:disabled{transform:none;box-shadow:inset 0 1px #ffffff09;filter:saturate(.35)}
#gridlock-story-ui .story-button:focus-visible,#gridlock-story-ui summary:focus-visible{outline:3px solid #9aeeef;outline-offset:4px}

/* The title reads like a game cabinet marquee, with a single gold start control. */
#gridlock-story-ui .story-hero{border-color:#58717c;border-radius:10px;box-shadow:0 5px 0 #040c13,0 18px 40px #0005,inset 0 1px #b4eaf62e;min-height:472px}
#gridlock-story-ui .story-hero:after{content:"";position:absolute;right:26px;bottom:23px;width:120px;height:12px;opacity:.28;background:repeating-conic-gradient(#ffe2a0 0 25%,transparent 0 50%) 0/12px 12px;pointer-events:none}
#gridlock-story-ui .story-hero-copy{padding:42px 44px 36px;max-width:900px}
#gridlock-story-ui .story-hero-copy>.story-eyebrow{color:#bdebf0;font-size:10px}
#gridlock-story-ui .story-season{margin:26px 0 12px;color:#e6c589;font-family:var(--story-menu-copy);font-size:11px;letter-spacing:.12em;font-weight:750}
#gridlock-story-ui .story-hero h1{max-width:680px;font-size:clamp(52px,5.25vw,78px);line-height:1.04;letter-spacing:.018em;color:#ffe192;text-shadow:0 3px 0 #83592f,0 7px 0 #07121de0,0 13px 24px #0008}
#gridlock-story-ui .story-hero-description{font-size:16px;line-height:1.65;color:#d9e3e5;max-width:555px;margin-top:23px}
#gridlock-story-ui .story-hero-actions{margin-top:26px;gap:14px}
#gridlock-story-ui .story-hero-actions .story-button{min-height:52px;min-width:187px;font-size:14px}
#gridlock-story-ui .story-hero-meta{margin-top:29px;color:#b7cbd3;font-size:9px;letter-spacing:.08em;gap:16px}
#gridlock-story-ui .story-hero-coordinate{bottom:49px;color:#9bb5c0}
#gridlock-story-ui .story-signal-art{right:8%;opacity:.86;filter:drop-shadow(12px 15px 12px #0008)}
#gridlock-story-ui .story-save-card,#gridlock-story-ui .story-story-note{border-color:#385362;border-radius:8px;background:linear-gradient(130deg,#162c39,#101f2a);box-shadow:inset 0 1px #9dd8e014,0 4px 0 #020a1155}
#gridlock-story-ui .story-save-card h2{font-size:22px;line-height:1.25;margin:9px 0}
#gridlock-story-ui .story-save-card p{font-size:13px;line-height:1.6}
#gridlock-story-ui .story-save-progress b{color:#ffe09a;font-size:32px}
#gridlock-story-ui .story-story-note .story-tag{border-color:#59717c;background:#7acfe90a;color:#b5dce5;font-size:9px}
#gridlock-story-ui .story-story-note p{font-size:14px;line-height:1.65}
#gridlock-story-ui .story-note-footer{font-size:11px}
#gridlock-story-ui .story-progress-track{height:6px;gap:5px}
#gridlock-story-ui .story-progress-track span{transform:skewX(-15deg);border-radius:1px}

/* The room is the backdrop; the job and cash panels are the playable menu. */
#gridlock-story-ui .story-hub-heading,#gridlock-story-ui .story-page-heading{padding-bottom:20px;border-bottom:1px solid #39515d80;margin-bottom:24px;align-items:center}
#gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:clamp(28px,2.5vw,38px);line-height:1.2;margin-top:7px;text-shadow:0 3px 0 #030b12}
#gridlock-story-ui .story-hub-simple .story-hub-heading p{font-size:14px;line-height:1.6;color:#adc3ce;max-width:760px;margin-top:8px}
#gridlock-story-ui .story-hub-simple .story-hub-layout{gap:22px;grid-template-columns:minmax(0,1fr) 348px}
#gridlock-story-ui .story-hub-stage{border-radius:8px;border-color:#54717c;box-shadow:0 5px 0 #030b13,0 15px 35px #0004}
#gridlock-story-ui .story-hub-scene-tag{border-color:#52727d;background:#0a1c25ef;box-shadow:0 2px 0 #0007;font-family:var(--story-menu-copy);font-size:9px;letter-spacing:.03em}
#gridlock-story-ui .story-hub-scene-tag b{font-size:8px;color:#8ee1e8}
#gridlock-story-ui .story-hub-prompt{border-color:#5b7580;border-radius:5px;background:#0c202bea;font-family:var(--story-menu-copy);font-size:11px;box-shadow:0 3px 0 #030b1380}
#gridlock-story-ui .story-hub-prompt--near{border-color:#d6b25e;color:#ffe5a1;background:#242b23ee}
#gridlock-story-ui .story-hub-controls{font-family:var(--story-menu-copy);font-size:8px;font-weight:650;color:#b4cbd3}
#gridlock-story-ui .story-hub-simple .story-mission-peek,#gridlock-story-ui .story-simple-brief .story-mission-peek{position:relative;padding:23px;border:1px solid #b8964d;border-top:4px solid #f1c565;border-radius:8px;background:linear-gradient(145deg,#263a44,#132630 58%,#101d28);box-shadow:inset 0 1px #fff0b116,0 5px 0 #030c14,0 12px 28px #0003}
#gridlock-story-ui .story-mission-peek>.story-eyebrow{color:#e9c980;font-size:10px;letter-spacing:.14em}
#gridlock-story-ui .story-hub-simple .story-mission-peek h2{font-size:29px;line-height:1.2;margin:11px 0 12px;color:#fff0cb}
#gridlock-story-ui .story-hub-simple .story-mission-peek p,#gridlock-story-ui .story-simple-brief .story-mission-peek p{font-size:14px;line-height:1.65;color:#bed0d7}
#gridlock-story-ui .story-simple-objective{padding:14px 15px;margin:18px 0 14px;gap:7px;border:1px solid #46616e88;border-left:3px solid #8ddce5;border-radius:4px;background:#07192570}
#gridlock-story-ui .story-simple-objective>span{font-family:var(--story-menu-copy);font-size:9px;letter-spacing:.16em;color:#9ae5ed}
#gridlock-story-ui .story-simple-objective>strong{font-family:var(--story-menu-copy);font-size:16px;line-height:1.5;font-weight:750;color:#f3f3e8}
#gridlock-story-ui .story-simple-reward>b{display:inline-block;margin-right:5px;padding:4px 8px;border:1px solid #9b823b66;border-radius:3px;background:#ffd26b0d;color:#ffe09a;font-family:var(--story-menu-copy);font-size:11px;letter-spacing:.05em}
#gridlock-story-ui .story-mission-peek .story-button--primary{min-height:52px;margin-top:18px;font-size:14px;padding:13px 16px;gap:12px}
#gridlock-story-ui .story-launch-hint{font-size:11px;line-height:1.55;color:#9db6c3;margin-top:14px}

/* A compact dashboard for cash, followed by optional cyan shop controls. */
#gridlock-story-ui .story-wallet{position:relative;padding:18px 20px 16px;gap:8px 18px;border-color:#466672;border-top:3px solid #79d8df;border-radius:8px;background:linear-gradient(135deg,#203640,#112731 65%);box-shadow:inset 0 1px #c0fbff14,0 4px 0 #030b13}
#gridlock-story-ui .story-wallet>div+div{border-left:1px solid #55717a66;padding-left:18px}
#gridlock-story-ui .story-wallet>div>span{font-family:var(--story-menu-copy);font-size:9px;letter-spacing:.15em;font-weight:800;color:#b1c8d1}
#gridlock-story-ui .story-wallet>div>strong{font-family:"SF Mono",Consolas,monospace;font-size:28px;line-height:1.3;letter-spacing:-.035em;font-weight:750;color:#ffe29b;text-shadow:0 2px #08151d}
#gridlock-story-ui .story-wallet>div:nth-child(2)>strong{color:#dce6e9;font-size:25px}
#gridlock-story-ui .story-wallet>p{font-size:12px;color:#d7e4e5;margin:4px 0 2px}
#gridlock-story-ui .story-wallet>progress{height:8px;border-radius:2px;background:#071924;border:1px solid #46616b;box-shadow:inset 0 1px 3px #0006}
#gridlock-story-ui .story-wallet>progress::-webkit-progress-bar{background:#071924}
#gridlock-story-ui .story-wallet>progress::-webkit-progress-value{background:repeating-linear-gradient(110deg,#f7cb67 0 10px,#e9b651 10px 12px)}
#gridlock-story-ui .story-wallet>progress::-moz-progress-bar{background:repeating-linear-gradient(110deg,#f7cb67 0 10px,#e9b651 10px 12px)}
#gridlock-story-ui .story-wallet>small{font-size:10px;letter-spacing:.01em;color:#91afbc;margin-top:3px}
#gridlock-story-ui .story-extra-menu{padding:0 17px;border-color:#3c5967;border-radius:6px;background:linear-gradient(120deg,#172c37,#10222d);box-shadow:inset 0 1px #aee9ee0a,0 3px 0 #030b1355}
#gridlock-story-ui .story-extra-menu>summary{min-height:52px;font-family:var(--story-menu-copy);font-size:13px;font-weight:750;letter-spacing:.01em;color:#d8e8e9}
#gridlock-story-ui .story-extra-menu>summary::marker{color:#83dce7;font-size:11px}
#gridlock-story-ui .story-extra-menu>summary small{font-size:10px;color:#93b3c0;letter-spacing:.04em}
#gridlock-story-ui .story-extra-menu[open]{border-color:#71959f}
#gridlock-story-ui .story-extra-menu[open]>summary{color:#93e8ed;border-bottom:1px solid #45636d77;margin-bottom:13px}
#gridlock-story-ui .story-taxi-shop>p{font-size:13px;line-height:1.6;color:#adc6d0;padding-bottom:4px}
#gridlock-story-ui .story-upgrade{padding:17px 0;border-top-color:#45646f77}
#gridlock-story-ui .story-upgrade h3{font-family:var(--story-menu-display);font-size:20px;font-weight:400;line-height:1.2;letter-spacing:.02em;color:#f8ebc8}
#gridlock-story-ui .story-upgrade>div>strong{font-family:"SF Mono",Consolas,monospace;font-size:13px;line-height:1.3;padding:4px 7px;border:1px solid #89744266;border-radius:3px;background:#ffe0800c;color:#ffe1a1}
#gridlock-story-ui .story-upgrade p{font-size:13px;color:#c5d7dd}
#gridlock-story-ui .story-upgrade>small{font-size:11px;color:#9ebbc8}
#gridlock-story-ui .story-upgrade .story-button{min-height:45px;border-color:#51808e;background:linear-gradient(#214853,#17303c);color:#acedef;font-size:12px}
#gridlock-story-ui .story-upgrade .story-button:disabled{opacity:.52;background:#152730;color:#acbdc5;border-color:#3d5662}

/* Job selection stays scan-friendly; checker accents are decorative and restrained. */
#gridlock-story-ui .story-page-heading h1{font-size:36px;line-height:1.2;text-shadow:0 3px #030c14}
#gridlock-story-ui .story-page-heading p{font-size:14px;line-height:1.6}
#gridlock-story-ui .story-chapter-grid{gap:14px}
#gridlock-story-ui .story-chapter-card{min-height:228px;padding:18px;border-radius:7px;border-color:#45616f;background:linear-gradient(150deg,#243d4b,#142733 70%);box-shadow:inset 0 1px #b0e5f31a,0 4px 0 #030b13;transition:transform .15s,border-color .15s,background .15s}
#gridlock-story-ui .story-chapter-card:before{top:auto;bottom:17px;right:14px;width:54px;height:12px;border:0;border-radius:0;transform:none;background:repeating-conic-gradient(#a1d2dd 0 25%,transparent 0 50%) 0/12px 12px;opacity:.13}
#gridlock-story-ui .story-chapter-card:hover:not(:disabled){transform:translateY(-3px);border-color:#93dfe7;background:linear-gradient(145deg,#305364,#1a3443)}
#gridlock-story-ui .story-chapter-card--current{border-color:#dcba64;background:linear-gradient(145deg,#394438,#1b3036 76%);box-shadow:inset 0 3px #f6cf72,0 4px 0 #030b13}
#gridlock-story-ui .story-chapter-card--done{border-color:#577b7b}
#gridlock-story-ui .story-chapter-card-top,#gridlock-story-ui .story-chapter-card-top b{font-family:var(--story-menu-copy);font-size:9px;line-height:1.4;font-weight:750}
#gridlock-story-ui .story-chapter-card-top>span{max-width:100px;color:#a4bdc9}
#gridlock-story-ui .story-chapter-card-top b{color:#f6d78e}
#gridlock-story-ui .story-chapter-number{font-family:var(--story-menu-display);font-size:43px;line-height:1;margin:24px 0 12px;color:#92b5c366}
#gridlock-story-ui .story-chapter-card--current .story-chapter-number{color:#ffe29e}
#gridlock-story-ui .story-chapter-card>strong{font-family:var(--story-menu-copy);font-size:15px;font-weight:750;line-height:1.4}
#gridlock-story-ui .story-chapter-card-bottom{font-family:var(--story-menu-copy);font-size:10px;line-height:1.45;gap:4px;border-top-color:#66889433;color:#b6cbd3}
#gridlock-story-ui .story-chapter-card-bottom>span:last-child{color:#94d4db}
#gridlock-story-ui .story-chapter-card:disabled{opacity:.5;filter:saturate(.3);box-shadow:none}

/* Comic chrome shares the menu controls; speech keeps its printed-page clarity. */
#gridlock-story-ui .story-comic{border-radius:7px;border-color:#29363a;box-shadow:0 5px 0 #020b11,0 24px 80px #000a,inset 0 1px #fff9df;padding:24px}
#gridlock-story-ui .story-comic-heading{border-bottom:2px solid #273c4050;padding-bottom:17px;margin-bottom:20px}
#gridlock-story-ui .story-comic-heading h2{font-family:var(--story-menu-display);font-weight:400;font-size:29px;line-height:1.2;letter-spacing:.015em;color:#203039}
#gridlock-story-ui .story-comic-heading .story-eyebrow{font-family:var(--story-menu-copy);color:#657172;font-size:9px;letter-spacing:.12em}
#gridlock-story-ui .story-comic-heading>span{padding:7px 10px;border:1px solid #263c4066;border-radius:3px;background:#263b4009;font-family:"SF Mono",Consolas,monospace;font-size:10px;color:#405154}
#gridlock-story-ui .story-comic-caption{font-family:var(--story-menu-display);font-weight:400;font-size:13px;letter-spacing:.025em}
#gridlock-story-ui .story-comic-bubble strong{font-family:var(--story-menu-copy);font-size:10px;letter-spacing:.12em;font-weight:800;color:#5b655e}
#gridlock-story-ui .story-comic-bubble p{font-size:17px;line-height:1.5;font-weight:600;color:#20303a}
#gridlock-story-ui .story-comic-footer{padding:17px 0 3px;border-top:1px solid #52666955;margin-top:21px;bottom:-24px;gap:20px;box-shadow:0 -8px 14px #f0e4c7bb}
#gridlock-story-ui .story-comic-footer .story-button--primary{min-height:50px;border:1px solid #9a732f;box-shadow:inset 0 1px #fff5c8,0 4px 0 #273839;font-size:13px;padding:13px 20px}
#gridlock-story-ui .story-comic-footer .story-button--text{font-family:var(--story-menu-copy);font-size:12px;min-height:44px;color:#485b60;text-underline-offset:4px}

@media(max-width:1120px){#gridlock-story-ui .story-hub-simple .story-hub-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}#gridlock-story-ui .story-hero-copy{padding:35px;width:78%}#gridlock-story-ui .story-hero h1{font-size:62px}#gridlock-story-ui .story-signal-art{right:6%;opacity:.6}}
@media(max-width:1000px){#gridlock-story-ui .story-hub-simple .story-hub-layout{grid-template-columns:1fr}#gridlock-story-ui .story-hub-simple .story-hub-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}#gridlock-story-ui .story-hub-sidebar>.story-wallet{grid-column:2;grid-row:1;align-self:start}#gridlock-story-ui .story-hub-sidebar>.story-mission-peek{grid-column:1;grid-row:1/4}#gridlock-story-ui .story-hub-sidebar>.story-extra-menu{grid-column:2}#gridlock-story-ui .story-hero-description{font-size:15px}#gridlock-story-ui .story-chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
  #gridlock-story-ui .story-topbar{padding:10px 13px;min-height:65px}
  #gridlock-story-ui .story-brand>span{font-size:7px;letter-spacing:.06em}
  #gridlock-story-ui .story-tools>.story-button{font-size:10px;min-height:42px;padding:8px}
  #gridlock-story-ui .story-main{padding:18px 14px 30px}
  #gridlock-story-ui .story-hero{min-height:0;border-radius:8px;background-position:56% center}
  #gridlock-story-ui .story-hero-copy{width:100%;padding:26px 22px 28px}
  #gridlock-story-ui .story-hero-copy>.story-eyebrow{font-size:8px;letter-spacing:.09em}
  #gridlock-story-ui .story-season{margin:25px 0 14px;font-size:9px;max-width:none;letter-spacing:.07em}
  #gridlock-story-ui .story-hero h1{font-size:44px;line-height:1.09;max-width:100%;letter-spacing:.018em;text-shadow:0 2px 0 #805b33,0 5px 0 #07121de0,0 10px 20px #0008}
  #gridlock-story-ui .story-signal-art{display:none}
  #gridlock-story-ui .story-hero-description{font-size:14px;line-height:1.65;max-width:none;margin-top:22px}
  #gridlock-story-ui .story-hero-actions{display:grid;grid-template-columns:1fr;margin-top:24px;gap:12px}
  #gridlock-story-ui .story-hero-actions .story-button{min-width:0;min-height:49px;width:100%;font-size:13px}
  #gridlock-story-ui .story-hero-actions .story-button--glass{min-height:44px;font-family:var(--story-menu-copy);font-size:13px}
  #gridlock-story-ui .story-hero-meta{font-size:8px;gap:9px;letter-spacing:.015em;line-height:1.5;margin-top:25px}
  #gridlock-story-ui .story-hero-meta>span+span{padding-left:9px}
  #gridlock-story-ui .story-hero:after{width:72px;height:8px;right:18px;bottom:11px;opacity:.19;background-size:8px 8px}
  #gridlock-story-ui .story-title-bottom{margin-top:18px;gap:14px}
  #gridlock-story-ui .story-save-card,#gridlock-story-ui .story-story-note{padding:20px}
  #gridlock-story-ui .story-save-card h2{font-size:19px;line-height:1.3}
  #gridlock-story-ui .story-save-card p,#gridlock-story-ui .story-story-note p{font-size:13px}
  #gridlock-story-ui .story-save-progress{min-width:72px}
  #gridlock-story-ui .story-save-progress b{font-size:26px}
  #gridlock-story-ui .story-hub-heading,#gridlock-story-ui .story-page-heading{gap:13px;padding-bottom:18px;margin-bottom:19px;align-items:flex-start}
  #gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:26px;line-height:1.23}
  #gridlock-story-ui .story-hub-simple .story-hub-heading p{font-size:13px;line-height:1.6}
  #gridlock-story-ui .story-hub-heading>.story-button{font-size:10px;min-height:42px;padding:9px 11px;max-width:86px;flex:none}
  #gridlock-story-ui .story-hub-simple .story-hub-sidebar{display:flex;flex-direction:column;gap:14px}
  #gridlock-story-ui .story-hub-sidebar>.story-mission-peek{order:-1}
  #gridlock-story-ui .story-hub-sidebar>.story-wallet{align-self:stretch}
  #gridlock-story-ui .story-wallet{padding:14px 17px 12px;gap:6px 14px}
  #gridlock-story-ui .story-wallet>div+div{padding-left:15px}
  #gridlock-story-ui .story-wallet>div>strong{font-size:27px}
  #gridlock-story-ui .story-wallet>div:nth-child(2)>strong{font-size:24px}
  #gridlock-story-ui .story-wallet>p{font-size:12px;margin:1px 0}
  #gridlock-story-ui .story-wallet>small{font-size:9px;margin-top:1px}
  #gridlock-story-ui .story-hub-simple .story-mission-peek{padding:20px}
  #gridlock-story-ui .story-hub-simple .story-mission-peek h2{font-size:26px;line-height:1.2}
  #gridlock-story-ui .story-hub-simple .story-mission-peek p{font-size:14px;line-height:1.6}
  #gridlock-story-ui .story-simple-objective{padding:12px 13px;margin:15px 0 12px}
  #gridlock-story-ui .story-simple-objective>strong{font-size:15px}
  #gridlock-story-ui .story-mission-peek .story-button--primary{font-size:13px;min-height:51px;padding:13px;margin-top:16px}
  #gridlock-story-ui .story-hub-stage{margin-top:4px}
  #gridlock-story-ui .story-hub-scene-tag{font-size:8px;top:10px;left:10px;padding:6px 8px}
  #gridlock-story-ui .story-hub-scene-tag b{font-size:6px;margin-left:9px}
  #gridlock-story-ui .story-hub-prompt{font-size:10px;white-space:normal;width:max-content;max-width:92%;padding:7px 10px}
  #gridlock-story-ui .story-page-heading h1{font-size:28px}
  #gridlock-story-ui .story-page-heading p{font-size:13px}
  #gridlock-story-ui .story-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #gridlock-story-ui .story-chapter-card{min-height:223px;padding:14px}
  #gridlock-story-ui .story-chapter-card-top,#gridlock-story-ui .story-chapter-card-top b{font-size:8px}
  #gridlock-story-ui .story-chapter-card-top{flex-direction:column;gap:6px}
  #gridlock-story-ui .story-chapter-card-top b{text-align:left}
  #gridlock-story-ui .story-chapter-number{font-size:37px;margin:17px 0 11px}
  #gridlock-story-ui .story-chapter-card>strong{font-size:14px;line-height:1.4}
  #gridlock-story-ui .story-chapter-card-bottom{font-size:9px}
  #gridlock-story-ui .story-comic-backdrop{padding:10px}
  #gridlock-story-ui .story-comic{padding:14px 12px;border-radius:6px}
  #gridlock-story-ui .story-comic-heading{padding-bottom:12px;margin-bottom:15px;gap:9px}
  #gridlock-story-ui .story-comic-heading h2{font-size:22px;line-height:1.23;margin-top:7px}
  #gridlock-story-ui .story-comic-heading .story-eyebrow{font-size:8px;letter-spacing:.06em}
  #gridlock-story-ui .story-comic-heading>span{font-size:8px;padding:5px 6px}
  #gridlock-story-ui .story-comic-caption{font-size:11px}
  #gridlock-story-ui .story-comic-bubble p{font-size:16px;line-height:1.5}
  #gridlock-story-ui .story-comic-footer{bottom:-14px;margin-top:16px;padding:14px 0 4px;gap:13px}
  #gridlock-story-ui .story-comic-footer .story-button--primary{font-size:11px;min-height:48px;padding:12px 13px;gap:8px}
  #gridlock-story-ui .story-comic-footer .story-button--text{font-size:11px;min-width:65px}
}
@media(prefers-reduced-motion:reduce){#gridlock-story-ui .story-button,#gridlock-story-ui .story-chapter-card{transition:none}#gridlock-story-ui .story-button:hover:not(:disabled),#gridlock-story-ui .story-chapter-card:hover:not(:disabled){transform:none}}

/* Viewport-sized story screens. Optional content opens in focused menu panels. */
#gridlock-story-ui .story-topbar{min-height:60px;height:60px;padding:8px 24px;gap:18px}
#gridlock-story-ui .story-topbar .story-tools>.story-button{min-height:36px}
#gridlock-story-ui .story-main{padding:18px 24px;overflow:hidden;display:flex;flex-direction:column}
#gridlock-story-ui .story-main>div{min-height:0;flex:1}
#gridlock-story-ui .story-title-page{width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:14px}
#gridlock-story-ui .story-hero{min-height:0;height:100%}
#gridlock-story-ui .story-hero-copy{height:100%;padding:24px 34px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
#gridlock-story-ui .story-hero h1{font-size:clamp(42px,8.1vh,74px);max-width:650px}
#gridlock-story-ui .story-season{margin:18px 0 12px}
#gridlock-story-ui .story-hero-description{margin-top:18px;font-size:15px}
#gridlock-story-ui .story-hero-actions{margin-top:20px;gap:12px}
#gridlock-story-ui .story-hero-actions .story-button{min-height:46px}
#gridlock-story-ui .story-hero-meta{margin-top:22px}
#gridlock-story-ui .story-title-bottom{margin:0;gap:14px;min-height:0}
#gridlock-story-ui .story-save-card,#gridlock-story-ui .story-story-note{padding:16px 20px;gap:10px 18px}
#gridlock-story-ui .story-save-card h2{font-size:19px;margin:6px 0}
#gridlock-story-ui .story-save-card p,#gridlock-story-ui .story-story-note p{font-size:12px;line-height:1.5}
#gridlock-story-ui .story-story-note p{margin-top:7px}
#gridlock-story-ui .story-note-footer{margin-top:9px}
#gridlock-story-ui .story-signal-art{top:50%;transform:translateY(-50%) scale(.88) rotate(8deg);transform-origin:center}
#gridlock-story-ui .story-hub-page{height:100%;width:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px}
#gridlock-story-ui .story-hub-heading,#gridlock-story-ui .story-page-heading{margin:0;padding-bottom:12px;gap:16px;flex:none}
#gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:clamp(24px,3.2vh,32px);line-height:1.15;margin-top:5px}
#gridlock-story-ui .story-hub-simple .story-hub-heading p{font-size:13px;line-height:1.45;margin-top:5px}
#gridlock-story-ui .story-hub-simple .story-hub-layout{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:minmax(0,1fr);align-items:stretch;gap:18px}
#gridlock-story-ui .story-hub-simple .story-hub-scene{height:100%;min-height:0;min-width:0;display:grid;place-items:center;container-type:size;grid-row:auto}
#gridlock-story-ui .story-hub-stage{width:min(100cqw,calc(100cqh * 1040 / 620));min-height:0;padding:0;margin:0;flex:none;box-shadow:0 4px 0 #030b13,0 12px 28px #0003}
#gridlock-story-ui .story-hub-canvas{display:block;width:100%;height:auto;aspect-ratio:1040/620;object-fit:contain}
#gridlock-story-ui .story-hub-simple .story-hub-sidebar{min-height:0;display:flex;flex-direction:column;gap:10px;align-self:center;grid-row:auto}
#gridlock-story-ui .story-hub-sidebar>.story-wallet{order:0;align-self:stretch}
#gridlock-story-ui .story-hub-sidebar>.story-mission-peek{order:0}
#gridlock-story-ui .story-hub-sidebar .story-wallet{padding:10px 14px;gap:4px 14px}
#gridlock-story-ui .story-hub-sidebar .story-wallet>div>strong{font-size:24px}
#gridlock-story-ui .story-hub-sidebar .story-wallet>div:nth-child(2)>strong{font-size:22px}
#gridlock-story-ui .story-hub-sidebar .story-wallet>p{font-size:12px;margin:1px 0}
#gridlock-story-ui .story-hub-sidebar .story-wallet>progress{height:5px}
#gridlock-story-ui .story-hub-sidebar .story-wallet>small{display:none}
#gridlock-story-ui .story-hub-simple .story-mission-peek{padding:16px 18px}
#gridlock-story-ui .story-hub-sidebar .story-mission-peek>h2,#gridlock-story-ui .story-hub-sidebar .story-mission-peek>.story-simple-purpose{display:none}
#gridlock-story-ui .story-hub-sidebar .story-mission-peek>.story-eyebrow{font-size:9px}
#gridlock-story-ui .story-hub-sidebar .story-simple-objective{margin:11px 0 10px;padding:10px 12px;gap:5px}
#gridlock-story-ui .story-hub-sidebar .story-simple-objective>strong{font-size:15px;line-height:1.45}
#gridlock-story-ui .story-hub-sidebar .story-simple-objective>span{font-size:9px}
#gridlock-story-ui .story-hub-sidebar .story-mission-peek p{font-size:13px;line-height:1.45}
#gridlock-story-ui .story-hub-sidebar .story-simple-reward>b{padding:3px 6px;font-size:10px}
#gridlock-story-ui .story-hub-sidebar .story-mission-peek .story-button--primary{min-height:46px;font-size:13px;margin-top:12px;padding:11px 13px}
#gridlock-story-ui .story-hub-sidebar .story-mission-peek>.story-button--quiet{min-height:40px;margin-top:10px}
#gridlock-story-ui .story-hub-sidebar .story-launch-hint{margin-top:9px;font-size:11px;line-height:1.4}
#gridlock-story-ui .story-hub-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:none}
#gridlock-story-ui .story-hub-options>.story-button{min-height:43px;padding:10px 12px;font-size:12px;gap:8px}
#gridlock-story-ui .story-hub-prompt:not(.story-hub-prompt--near){display:none}
#gridlock-story-ui .story-hub-scene-tag{max-width:calc(100% - 20px);top:10px;left:10px}
#gridlock-story-ui .story-content-page{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:14px}
#gridlock-story-ui .story-page-heading h1{font-size:30px;line-height:1.1;margin:5px 0 0}
#gridlock-story-ui .story-page-heading p{font-size:13px;line-height:1.4;margin-top:6px}
#gridlock-story-ui .story-chapter-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
#gridlock-story-ui .story-chapter-card{min-height:0;padding:14px}
#gridlock-story-ui .story-chapter-number{font-size:35px;margin:15px 0 10px}
#gridlock-story-ui .story-chapter-card>strong{font-size:14px;padding-bottom:8px}
#gridlock-story-ui .story-chapter-card-bottom{padding-top:8px;font-size:10px}
#gridlock-story-ui .story-chapter-footer{flex:none;margin:0 auto;font-size:11px;line-height:1.35;width:100%;max-width:480px}
#gridlock-story-ui .story-chapter-footer>.story-progress-track{margin-bottom:7px}
#gridlock-story-ui .story-simple-brief{justify-content:center;max-width:720px}
#gridlock-story-ui .story-simple-brief .story-mission-peek{padding:20px}
#gridlock-story-ui .story-simple-brief .story-mission-peek h2{font-size:27px;line-height:1.2}
#gridlock-story-ui .story-simple-brief .story-simple-objective{margin:14px 0;padding:12px}
#gridlock-story-ui .story-result-page,#gridlock-story-ui .story-ending-page{width:100%;height:100%;padding:0;gap:14px;justify-content:center}
#gridlock-story-ui .story-result-beacon{width:56px;height:56px;font-size:29px;margin:0}
#gridlock-story-ui .story-result-page h1,#gridlock-story-ui .story-ending-page h1{font-size:clamp(29px,4.6vh,48px);line-height:1.15;margin:0}
#gridlock-story-ui .story-result-reason,#gridlock-story-ui .story-ending-page>p{font-size:15px;line-height:1.55;max-width:650px}
#gridlock-story-ui .story-result-stats{gap:18px;padding:16px;margin:2px 0;width:min(100%,570px);border-radius:7px}
#gridlock-story-ui .story-result-stats span{font-size:9px;margin-bottom:6px}
#gridlock-story-ui .story-result-stats strong{font-size:22px}
#gridlock-story-ui .story-result-actions{margin:0;gap:10px;flex:none}
#gridlock-story-ui .story-result-actions>.story-button{min-height:44px;min-width:0;padding:11px 16px;font-size:13px}
#gridlock-story-ui .story-result-actions>[data-story-action="report"]{order:3}
#gridlock-story-ui .story-result-page>.story-access-note{font-size:11px;line-height:1.45}
#gridlock-story-ui .story-ending-metrics{margin:8px 0;gap:36px;font-size:10px}
#gridlock-story-ui .story-ending-metrics b{font-size:30px;margin-bottom:6px}

/* Comics and optional menus consume the viewport as paged, self-contained screens. */
#gridlock-story-ui .story-dialogue-backdrop{padding:16px;overflow:hidden;align-items:center}
#gridlock-story-ui .story-comic{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;width:min(100%,1040px);height:min(720px,calc(100dvh - 32px));max-height:none;overflow:hidden;padding:20px}
#gridlock-story-ui .story-comic-heading{padding:0 0 12px;margin:0;min-width:0}
#gridlock-story-ui .story-comic-heading h2{font-size:26px;line-height:1.15;margin-top:5px}
#gridlock-story-ui .story-comic-panels{height:100%;min-height:0;gap:14px;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}
#gridlock-story-ui .story-comic-panel{min-height:0;height:100%;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:0 14px;align-items:center}
#gridlock-story-ui .story-comic-caption{grid-column:1;grid-row:1;justify-self:start;align-self:start;margin:15px 15px 0;padding:7px 11px;font-size:14px}
#gridlock-story-ui .story-comic-art{grid-column:1;grid-row:1/3;position:relative;min-height:0;height:100%;padding:30px 18px 30px 28px;align-items:center}
#gridlock-story-ui .story-comic-art .story-portrait{position:relative;left:auto;top:auto;width:min(100%,340px);height:min(100%,360px);align-self:center}
#gridlock-story-ui .story-comic-bubble{grid-column:2;grid-row:1/3;flex:none;margin:20px 28px 20px 0;min-height:0;padding:22px}
#gridlock-story-ui .story-comic-bubble p{font-size:19px;line-height:1.55}
#gridlock-story-ui .story-comic-footer{position:static;bottom:auto;min-height:0;margin:0;padding:12px 0 0;gap:14px;box-shadow:none}
#gridlock-story-ui .story-comic-footer .story-button--primary{min-height:46px;padding:11px 17px;font-size:13px}
#gridlock-story-ui .story-comic-footer .story-button--text{min-height:44px;font-size:12px}
#gridlock-story-ui .story-menu-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;width:min(100%,930px);max-height:calc(100dvh - 32px);padding:22px;border:1px solid #63808b;border-top:3px solid #8fdee5;border-radius:8px;background:linear-gradient(140deg,#203845,#10242f);box-shadow:0 6px 0 #020b13,0 22px 70px #0008}
#gridlock-story-ui .story-menu-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #58768266;padding-bottom:12px}
#gridlock-story-ui .story-menu-heading h2{font-size:26px;line-height:1.2;margin:0}
#gridlock-story-ui .story-menu-heading p{font-size:13px;line-height:1.5;color:#b8cdd6;margin-top:7px}
#gridlock-story-ui .story-menu-body{min-height:0;display:flex;flex-direction:column;gap:12px}
#gridlock-story-ui .story-menu-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:10px;border-top:1px solid #58768266}
#gridlock-story-ui .story-menu-footer>.story-button{min-height:44px;font-size:13px}
#gridlock-story-ui .story-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;min-height:0}
#gridlock-story-ui .story-shop-grid .story-upgrade{padding:16px;border:1px solid #486571;border-radius:6px;background:#0a1d275c}
#gridlock-story-ui .story-shop-grid .story-upgrade>div{align-items:flex-start;flex-wrap:wrap}
#gridlock-story-ui .story-shop-grid .story-upgrade h3{font-size:19px;line-height:1.25}
#gridlock-story-ui .story-shop-grid .story-upgrade p{font-size:13px;line-height:1.45;margin:10px 0}
#gridlock-story-ui .story-shop-grid .story-upgrade>small{font-size:11px;line-height:1.4}
#gridlock-story-ui .story-shop-grid .story-upgrade .story-button{min-height:43px;font-size:12px;margin-top:12px}
#gridlock-story-ui .story-menu-body>.story-crew-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#gridlock-story-ui .story-menu-body .story-crew-link{padding:16px 12px;flex-wrap:wrap;border:1px solid #4a6773;border-radius:6px;background:#0b202d88;gap:10px}
#gridlock-story-ui .story-menu-body .story-crew-link strong{font-size:15px}
#gridlock-story-ui .story-menu-body .story-crew-link small{font-size:12px;line-height:1.5}
#gridlock-story-ui .story-menu-body .story-crew-link>b{font-size:12px}
#gridlock-story-ui .story-menu-body .story-driving-report{margin:0;padding:16px;max-width:none}
#gridlock-story-ui .story-menu-body .story-report-categories{gap:13px}
#gridlock-story-ui .story-menu-body .story-report-stats{padding-top:12px;margin-top:12px}

@media(max-height:760px) and (min-width:601px){
 #gridlock-story-ui .story-topbar{height:54px;min-height:54px;padding-block:6px}
 #gridlock-story-ui .story-main{padding:13px 20px}
 #gridlock-story-ui .story-hero h1{font-size:54px}
 #gridlock-story-ui .story-hero-copy{padding:20px 28px}
 #gridlock-story-ui .story-hero-description{margin-top:14px}
 #gridlock-story-ui .story-hero-actions{margin-top:17px}
 #gridlock-story-ui .story-hero-meta{margin-top:18px}
 #gridlock-story-ui .story-save-card,#gridlock-story-ui .story-story-note{padding:12px 17px}
 #gridlock-story-ui .story-save-card h2{font-size:18px}
 #gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:26px}
 #gridlock-story-ui .story-hub-simple .story-hub-layout{grid-template-columns:minmax(0,1fr) 324px}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek{padding:14px 16px}
 #gridlock-story-ui .story-hub-sidebar .story-simple-objective{margin:10px 0;padding:9px 11px}
 #gridlock-story-ui .story-chapter-card{padding:12px}
 #gridlock-story-ui .story-chapter-number{font-size:30px;margin:10px 0 7px}
 #gridlock-story-ui .story-chapter-card-top,#gridlock-story-ui .story-chapter-card-top b{font-size:8px}
 #gridlock-story-ui .story-chapter-card>strong{font-size:14px;line-height:1.3}
 #gridlock-story-ui .story-comic{height:calc(100dvh - 28px);padding:16px;gap:12px}
 #gridlock-story-ui .story-comic-heading h2{font-size:24px}
}
@media(max-width:600px){
 #gridlock-story-ui .story-topbar{height:56px;min-height:56px;padding:7px 12px;gap:8px}
 #gridlock-story-ui .story-topbar .story-tools>.story-button{min-height:38px;font-size:10px}
 #gridlock-story-ui .story-main{padding:12px}
 #gridlock-story-ui .story-title-page{gap:12px}
 #gridlock-story-ui .story-title-bottom{display:block}
 #gridlock-story-ui .story-title-bottom .story-story-note{display:none}
 #gridlock-story-ui .story-hero-copy{padding:23px 20px}
 #gridlock-story-ui .story-hero h1{font-size:clamp(35px,5.6vh,47px);line-height:1.1}
 #gridlock-story-ui .story-season{margin:18px 0 12px;font-size:9px}
 #gridlock-story-ui .story-hero-description{font-size:14px;line-height:1.5;margin-top:16px}
 #gridlock-story-ui .story-hero-actions{display:flex;flex-direction:column;width:100%;gap:11px;margin-top:20px}
 #gridlock-story-ui .story-hero-actions .story-button{min-height:45px;font-size:13px}
 #gridlock-story-ui .story-hero-actions .story-button--text{min-height:36px}
 #gridlock-story-ui .story-hero-meta{margin-top:20px;font-size:8px}
 #gridlock-story-ui .story-save-card{padding:15px 17px;gap:10px 12px}
 #gridlock-story-ui .story-save-card h2{font-size:17px;line-height:1.25}
 #gridlock-story-ui .story-save-card p{font-size:12px;line-height:1.4}
 #gridlock-story-ui .story-save-progress b{font-size:23px}
 #gridlock-story-ui .story-hub-page{gap:10px}
 #gridlock-story-ui .story-hub-heading{padding-bottom:9px;gap:10px}
 #gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:22px;line-height:1.18}
 #gridlock-story-ui .story-hub-simple .story-hub-heading p{font-size:12px;line-height:1.4;margin-top:4px}
 #gridlock-story-ui .story-hub-heading>.story-button{min-height:39px;max-width:79px;padding:8px;font-size:10px}
 #gridlock-story-ui .story-hub-simple .story-hub-layout{display:flex;flex-direction:column;gap:10px;min-height:0}
 #gridlock-story-ui .story-hub-simple .story-hub-sidebar{width:100%;display:flex;flex-direction:column;gap:8px;flex:none;align-self:stretch;order:0}
 #gridlock-story-ui .story-hub-sidebar>.story-wallet{order:0}
 #gridlock-story-ui .story-hub-sidebar>.story-mission-peek{order:0}
 #gridlock-story-ui .story-hub-sidebar .story-wallet{padding:8px 12px;grid-template-columns:1fr 1fr;gap:3px 15px}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div{flex-direction:row;align-items:center;justify-content:space-between;gap:6px}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div+div{padding-left:14px}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div>span{font-size:8px;letter-spacing:.08em}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div>strong,#gridlock-story-ui .story-hub-sidebar .story-wallet>div:nth-child(2)>strong{font-size:20px;line-height:1.3}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>p{font-size:11px;line-height:1.4;margin-top:2px}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>progress{display:none}
 #gridlock-story-ui .story-hub-simple .story-mission-peek{padding:12px 14px}
 #gridlock-story-ui .story-hub-sidebar .story-simple-objective{margin:8px 0;padding:8px 10px;gap:3px}
 #gridlock-story-ui .story-hub-sidebar .story-simple-objective>strong{font-size:14px;line-height:1.4}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek p{font-size:12px;line-height:1.4}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek .story-button--primary{min-height:45px;margin-top:9px;font-size:12px;padding:10px 12px}
 #gridlock-story-ui .story-hub-sidebar .story-launch-hint{font-size:10px;line-height:1.35;margin-top:7px}
 #gridlock-story-ui .story-hub-options{gap:9px}
 #gridlock-story-ui .story-hub-options>.story-button{min-height:41px;font-size:12px}
 #gridlock-story-ui .story-hub-scene{order:1;flex:1;min-height:0;width:100%}
 #gridlock-story-ui .story-hub-stage{width:min(100cqw,calc((100cqh - 54px) * 1040 / 620));padding-bottom:54px;min-height:0}
 #gridlock-story-ui .story-hub-scene-tag{font-size:8px;top:7px;left:7px;padding:5px 7px}
 #gridlock-story-ui .story-hub-scene-tag b{display:none}
 #gridlock-story-ui .story-hub-prompt{bottom:61px;font-size:10px;padding:5px 8px}
 #gridlock-story-ui .story-hub-controls{display:none}
 #gridlock-story-ui .story-touch-pad{display:grid;grid-template-columns:repeat(4,40px);grid-template-rows:40px;gap:4px;left:8px;bottom:7px}
 #gridlock-story-ui .story-touch-pad>button{width:40px;height:40px;font-size:22px;grid-column:auto;grid-row:auto}
 #gridlock-story-ui .story-touch-interact{display:flex;flex-direction:column;align-items:center;justify-content:center;right:8px;bottom:7px;width:46px;height:40px;border-radius:6px;font-size:16px}
 #gridlock-story-ui .story-touch-interact>span{font-size:7px}
 #gridlock-story-ui .story-content-page{gap:10px}
 #gridlock-story-ui .story-page-heading{padding-bottom:10px;gap:10px}
 #gridlock-story-ui .story-page-heading h1{font-size:25px}
 #gridlock-story-ui .story-page-heading p{font-size:12px;line-height:1.4}
 #gridlock-story-ui .story-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:8px}
 #gridlock-story-ui .story-chapter-card{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:5px 8px;align-items:center;padding:10px}
 #gridlock-story-ui .story-chapter-card-top{grid-column:1/-1;grid-row:1;display:block;font-size:9px}
 #gridlock-story-ui .story-chapter-card-top>span,#gridlock-story-ui .story-chapter-card-bottom{display:none}
 #gridlock-story-ui .story-chapter-card-top b{font-size:9px;line-height:1.2}
 #gridlock-story-ui .story-chapter-number{grid-column:1;grid-row:2;margin:0;font-size:24px}
 #gridlock-story-ui .story-chapter-card>strong{grid-column:2;grid-row:2;font-size:13px;line-height:1.35;padding:0}
 #gridlock-story-ui .story-chapter-card:before{width:36px;height:8px;background-size:8px 8px;bottom:7px;right:7px;opacity:.09}
 #gridlock-story-ui .story-chapter-footer{font-size:10px;line-height:1.3}
 #gridlock-story-ui .story-chapter-footer>.story-progress-track{height:4px;margin-bottom:5px}
 #gridlock-story-ui .story-result-page,#gridlock-story-ui .story-ending-page{gap:13px}
 #gridlock-story-ui .story-result-page h1,#gridlock-story-ui .story-ending-page h1{font-size:29px}
 #gridlock-story-ui .story-result-reason,#gridlock-story-ui .story-ending-page>p{font-size:14px;line-height:1.5}
 #gridlock-story-ui .story-result-stats{padding:14px 10px;gap:10px}
 #gridlock-story-ui .story-result-actions{width:100%;display:grid;grid-template-columns:1fr}
 #gridlock-story-ui .story-result-actions>.story-button{font-size:12px;min-height:45px}
 #gridlock-story-ui .story-ending-metrics{gap:24px;font-size:9px}
 #gridlock-story-ui .story-ending-metrics b{font-size:25px}
 #gridlock-story-ui .story-dialogue-backdrop{padding:10px}
 #gridlock-story-ui .story-comic{height:calc(100dvh - 20px);padding:14px 12px;gap:12px}
 #gridlock-story-ui .story-comic-heading{padding-bottom:10px;gap:8px}
 #gridlock-story-ui .story-comic-heading h2{font-size:21px;line-height:1.2}
 #gridlock-story-ui .story-comic-panels{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}
 #gridlock-story-ui .story-comic-panel{display:flex;flex-direction:column;gap:0}
 #gridlock-story-ui .story-comic-caption{flex:none;align-self:flex-start;margin:10px 10px 0;padding:6px 10px;font-size:12px}
 #gridlock-story-ui .story-comic-art{flex:1;min-height:0;height:auto;width:100%;padding:12px 20px 0;align-items:center}
 #gridlock-story-ui .story-comic-art .story-portrait{width:min(100%,270px);height:min(100%,310px)}
 #gridlock-story-ui .story-comic-bubble{margin:12px 10px 18px;padding:14px}
 #gridlock-story-ui .story-comic-bubble p{font-size:17px;line-height:1.5}
 #gridlock-story-ui .story-comic-footer{padding-top:10px}
 #gridlock-story-ui .story-comic-footer .story-button--primary{font-size:12px;min-height:46px}
 #gridlock-story-ui .story-menu-dialog{width:100%;max-height:calc(100dvh - 20px);padding:15px;gap:11px}
 #gridlock-story-ui .story-menu-heading{padding-bottom:10px;gap:10px}
 #gridlock-story-ui .story-menu-heading h2{font-size:23px}
 #gridlock-story-ui .story-menu-heading p{font-size:12px;line-height:1.4}
 #gridlock-story-ui .story-shop-grid{grid-template-columns:1fr;gap:10px}
 #gridlock-story-ui .story-shop-grid .story-upgrade{padding:12px}
 #gridlock-story-ui .story-shop-grid .story-upgrade>div{flex-wrap:nowrap;align-items:center}
 #gridlock-story-ui .story-shop-grid .story-upgrade h3{font-size:19px}
 #gridlock-story-ui .story-shop-grid .story-upgrade p{font-size:13px;margin:7px 0}
 #gridlock-story-ui .story-shop-grid .story-upgrade>small{font-size:11px}
 #gridlock-story-ui .story-shop-grid .story-upgrade .story-button{margin-top:8px;min-height:42px}
 #gridlock-story-ui .story-menu-body>.story-crew-menu{grid-template-columns:1fr;gap:10px}
 #gridlock-story-ui .story-menu-body .story-crew-link{flex-wrap:nowrap;padding:14px}
 #gridlock-story-ui .story-menu-footer{padding-top:9px}
}
@media(max-height:500px) and (min-width:601px){
 #gridlock-story-ui .story-topbar{height:48px;min-height:48px;padding:5px 16px}
 #gridlock-story-ui .story-brand img{width:90px;height:33px}
 #gridlock-story-ui .story-topbar .story-tools>.story-button{min-height:34px;font-size:11px}
 #gridlock-story-ui .story-save-indicator{display:none}
 #gridlock-story-ui .story-main{padding:9px 14px}
 #gridlock-story-ui .story-title-page{display:block}
 #gridlock-story-ui .story-title-bottom{display:none}
 #gridlock-story-ui .story-hero-copy{padding:14px 25px;width:78%;justify-content:center}
 #gridlock-story-ui .story-hero-copy>.story-eyebrow,#gridlock-story-ui .story-hero-meta,#gridlock-story-ui .story-hero-coordinate{display:none}
 #gridlock-story-ui .story-season{font-size:9px;margin:0 0 9px}
 #gridlock-story-ui .story-hero h1{font-size:43px;max-width:460px;line-height:1.05}
 #gridlock-story-ui .story-hero-description{font-size:14px;margin-top:12px}
 #gridlock-story-ui .story-hero-actions{margin-top:15px;gap:11px;flex-wrap:nowrap}
 #gridlock-story-ui .story-hero-actions .story-button{min-height:42px;min-width:0;font-size:12px;padding:10px 13px}
 #gridlock-story-ui .story-hero-actions .story-button--text{min-height:38px}
 #gridlock-story-ui .story-signal-art{transform:translateY(-50%) scale(.58) rotate(8deg);right:3%;opacity:.7}
 #gridlock-story-ui .story-hub-page{gap:8px}
 #gridlock-story-ui .story-hub-heading{padding-bottom:7px;align-items:center}
 #gridlock-story-ui .story-hub-heading .story-eyebrow{font-size:8px}
 #gridlock-story-ui .story-hub-simple .story-hub-heading h1{font-size:20px;margin-top:3px}
 #gridlock-story-ui .story-hub-simple .story-hub-heading p{display:none}
 #gridlock-story-ui .story-hub-heading>.story-button{min-height:34px;font-size:10px;padding:7px 10px}
 #gridlock-story-ui .story-hub-simple .story-hub-layout{grid-template-columns:minmax(0,1fr) 306px;gap:12px}
 #gridlock-story-ui .story-hub-simple .story-hub-sidebar{gap:6px;align-self:stretch}
 #gridlock-story-ui .story-hub-sidebar .story-wallet{padding:6px 11px;gap:2px 12px}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div{flex-direction:row;align-items:center;justify-content:space-between}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div>span{font-size:8px;letter-spacing:.05em}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>div>strong,#gridlock-story-ui .story-hub-sidebar .story-wallet>div:nth-child(2)>strong{font-size:20px}
 #gridlock-story-ui .story-hub-sidebar .story-wallet>p,#gridlock-story-ui .story-hub-sidebar .story-wallet>progress{display:none}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek{padding:8px 11px;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek>.story-eyebrow{display:none}
 #gridlock-story-ui .story-hub-sidebar .story-simple-objective{padding:7px 9px;margin:0 0 7px}
 #gridlock-story-ui .story-hub-sidebar .story-simple-objective>span{display:none}
 #gridlock-story-ui .story-hub-sidebar .story-simple-objective>strong{font-size:13px;line-height:1.35}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek p{font-size:12px;line-height:1.35}
 #gridlock-story-ui .story-hub-sidebar .story-launch-hint{display:none}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek .story-button--primary{min-height:40px;margin-top:8px;font-size:11px;padding:9px 11px}
 #gridlock-story-ui .story-hub-sidebar .story-mission-peek>.story-button--quiet{min-height:33px;font-size:11px;margin-top:6px;padding:7px 10px}
 #gridlock-story-ui .story-hub-options{gap:8px}
 #gridlock-story-ui .story-hub-options>.story-button{min-height:36px;padding:7px 10px;font-size:11px}
 #gridlock-story-ui .story-hub-stage{width:min(100cqw,calc((100cqh - 50px) * 1040 / 620));padding-bottom:50px}
 #gridlock-story-ui .story-hub-scene-tag{font-size:8px;padding:5px 7px;top:7px;left:7px}
 #gridlock-story-ui .story-hub-scene-tag b,#gridlock-story-ui .story-hub-controls{display:none}
 #gridlock-story-ui .story-hub-prompt{bottom:55px;font-size:10px;padding:5px 8px}
 #gridlock-story-ui .story-touch-pad{display:grid;grid-template-columns:repeat(4,38px);grid-template-rows:38px;gap:4px;bottom:6px;left:8px}
 #gridlock-story-ui .story-touch-pad>button{width:38px;height:38px;grid-column:auto;grid-row:auto;font-size:20px}
 #gridlock-story-ui .story-touch-interact{display:flex;flex-direction:column;align-items:center;justify-content:center;right:8px;bottom:6px;width:45px;height:38px;border-radius:5px;font-size:16px}
 #gridlock-story-ui .story-touch-interact>span{font-size:7px}
 #gridlock-story-ui .story-content-page{gap:8px}
 #gridlock-story-ui .story-page-heading{padding-bottom:7px;align-items:center;gap:10px}
 #gridlock-story-ui .story-page-heading h1{font-size:24px;margin-top:3px}
 #gridlock-story-ui .story-page-heading p{display:none}
 #gridlock-story-ui .story-chapter-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px}
 #gridlock-story-ui .story-chapter-card{display:grid;grid-template-columns:35px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);padding:8px;gap:4px 7px;align-items:center}
 #gridlock-story-ui .story-chapter-card-top{grid-column:1/-1;grid-row:1;display:block}
 #gridlock-story-ui .story-chapter-card-top>span,#gridlock-story-ui .story-chapter-card-bottom{display:none}
 #gridlock-story-ui .story-chapter-card-top b{font-size:8px}
 #gridlock-story-ui .story-chapter-number{grid-column:1;grid-row:2;font-size:21px;margin:0}
 #gridlock-story-ui .story-chapter-card>strong{grid-column:2;grid-row:2;font-size:12px;line-height:1.3;padding:0}
 #gridlock-story-ui .story-chapter-footer{font-size:10px;line-height:1.2}
 #gridlock-story-ui .story-chapter-footer>.story-progress-track{display:none}
 #gridlock-story-ui .story-simple-brief{max-width:720px;gap:8px}
 #gridlock-story-ui .story-simple-brief .story-mission-peek{padding:11px 17px;display:grid;grid-template-columns:1fr auto;gap:7px 15px;align-items:center}
 #gridlock-story-ui .story-simple-brief .story-mission-peek h2{font-size:20px;margin:0}
 #gridlock-story-ui .story-simple-brief .story-mission-peek>.story-eyebrow,#gridlock-story-ui .story-simple-brief .story-simple-purpose,#gridlock-story-ui .story-simple-brief .story-launch-hint{display:none}
 #gridlock-story-ui .story-simple-brief .story-simple-objective{grid-column:1;margin:0;padding:8px 11px}
 #gridlock-story-ui .story-simple-brief .story-simple-objective>strong{font-size:13px}
 #gridlock-story-ui .story-simple-brief .story-simple-objective>span{display:none}
 #gridlock-story-ui .story-simple-brief .story-simple-reward{font-size:12px}
 #gridlock-story-ui .story-simple-brief .story-button--primary{grid-column:2;grid-row:1/4;margin:0;max-width:240px;font-size:12px;min-height:44px}
 #gridlock-story-ui .story-result-page,#gridlock-story-ui .story-ending-page{gap:9px}
 #gridlock-story-ui .story-result-beacon{display:none}
 #gridlock-story-ui .story-result-page h1,#gridlock-story-ui .story-ending-page h1{font-size:28px}
 #gridlock-story-ui .story-result-reason,#gridlock-story-ui .story-ending-page>p{font-size:13px;line-height:1.4}
 #gridlock-story-ui .story-result-stats{padding:10px 14px;gap:14px;margin:0;max-width:460px}
 #gridlock-story-ui .story-result-stats strong{font-size:21px}
 #gridlock-story-ui .story-result-stats span{margin-bottom:4px;font-size:8px}
 #gridlock-story-ui .story-result-actions>.story-button{min-height:39px;font-size:12px;padding:9px 13px}
 #gridlock-story-ui .story-result-page>.story-access-note{display:none}
 #gridlock-story-ui .story-ending-metrics{margin:4px 0;gap:34px;font-size:9px}
 #gridlock-story-ui .story-ending-metrics b{font-size:25px;margin-bottom:4px}
 #gridlock-story-ui .story-dialogue-backdrop{padding:8px}
 #gridlock-story-ui .story-comic{height:calc(100dvh - 16px);width:min(100%,790px);padding:12px 15px;gap:8px}
 #gridlock-story-ui .story-comic-heading{padding-bottom:7px}
 #gridlock-story-ui .story-comic-heading h2{font-size:20px;margin-top:3px}
 #gridlock-story-ui .story-comic-heading .story-eyebrow{display:none}
 #gridlock-story-ui .story-comic-panels{grid-template-columns:1fr}
 #gridlock-story-ui .story-comic-panel{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:0 12px;align-items:center}
 #gridlock-story-ui .story-comic-caption{grid-column:1;grid-row:1;justify-self:start;font-size:11px;margin:8px 0 0 10px;padding:5px 8px;z-index:2}
 #gridlock-story-ui .story-comic-art{grid-column:1;grid-row:2;height:100%;padding:12px 12px 6px;align-items:flex-end}
 #gridlock-story-ui .story-comic-art .story-portrait{width:min(100%,240px);height:100%;max-height:220px}
 #gridlock-story-ui .story-comic-bubble{grid-column:2;grid-row:1/3;margin:12px 14px 12px 0;padding:13px 15px}
 #gridlock-story-ui .story-comic-bubble p{font-size:16px;line-height:1.45}
 #gridlock-story-ui .story-comic-footer{padding-top:7px}
 #gridlock-story-ui .story-comic-footer .story-button--primary{min-height:40px;font-size:12px;padding:9px 14px}
 #gridlock-story-ui .story-comic-footer .story-button--text{min-height:38px}
 #gridlock-story-ui .story-menu-dialog{max-height:calc(100dvh - 16px);padding:12px 16px;gap:9px;width:min(100%,820px)}
 #gridlock-story-ui .story-menu-heading{padding-bottom:7px}
 #gridlock-story-ui .story-menu-heading h2{font-size:21px}
 #gridlock-story-ui .story-menu-heading p{font-size:12px;margin-top:4px;line-height:1.35}
 #gridlock-story-ui .story-menu-footer{padding-top:7px}
 #gridlock-story-ui .story-menu-footer>.story-button{min-height:38px;font-size:12px;padding:8px 13px}
 #gridlock-story-ui .story-shop-grid{gap:10px}
 #gridlock-story-ui .story-shop-grid .story-upgrade{padding:10px}
 #gridlock-story-ui .story-shop-grid .story-upgrade h3{font-size:17px}
 #gridlock-story-ui .story-shop-grid .story-upgrade p{font-size:12px;line-height:1.35;margin:7px 0}
 #gridlock-story-ui .story-shop-grid .story-upgrade>small{font-size:11px;line-height:1.3}
 #gridlock-story-ui .story-shop-grid .story-upgrade .story-button{min-height:37px;font-size:11px;margin-top:8px}
 #gridlock-story-ui .story-menu-body .story-crew-link{padding:12px;gap:8px}
 #gridlock-story-ui .story-menu-body .story-crew-link strong{font-size:14px}
 #gridlock-story-ui .story-menu-body .story-crew-link small{font-size:11px}
 #gridlock-story-ui .story-menu-body .story-driving-report{padding:10px 13px}
 #gridlock-story-ui .story-menu-body .story-report-categories{gap:8px;margin-top:8px}
 #gridlock-story-ui .story-menu-body .story-report-stats{margin-top:8px;padding-top:8px}
}

/* Three short, replayable upgrade lessons. The illustration is local CSS art. */
#gridlock-story-ui .story-upgrade-demo{width:min(100%,680px);max-height:calc(100dvh - 24px);display:grid;grid-template-columns:minmax(0,1fr);gap:15px;padding:24px;border:1px solid #6a9099;border-top:3px solid #ffdc82;border-radius:10px;background:linear-gradient(145deg,#233a45,#0e202b);box-shadow:0 10px 70px #000a;overflow:hidden}
#gridlock-story-ui .story-upgrade-demo>header{display:flex;align-items:center;justify-content:space-between;gap:18px}
#gridlock-story-ui .story-upgrade-demo h2{margin:5px 0 0;font-size:30px;line-height:1.1}
#gridlock-story-ui .story-demo-count{flex:none;white-space:nowrap;padding:7px 11px;border:1px solid #75969b;border-radius:4px;font:700 12px "SF Mono",monospace;color:#e7d5a1}
#gridlock-story-ui .story-demo-scene{position:relative;height:190px;overflow:hidden;border:1px solid #506a76;border-radius:7px;background:linear-gradient(#102331 0%,#214254 68%,#17222a 69%)}
#gridlock-story-ui .story-demo-skyline{position:absolute;inset:15% 0 30%;opacity:.6;background:repeating-linear-gradient(90deg,transparent 0 22px,#263e50 22px 46px,transparent 46px 54px,#122735 54px 105px);clip-path:polygon(0 30%,9% 30%,9% 0,17% 0,17% 45%,26% 45%,26% 10%,34% 10%,34% 35%,45% 35%,45% 0,56% 0,56% 25%,66% 25%,66% 45%,78% 45%,78% 12%,89% 12%,89% 35%,100% 35%,100% 100%,0 100%)}
#gridlock-story-ui .story-demo-road{position:absolute;inset:70% -20% 0;border-top:2px solid #7ca2a2;background:#182630}
#gridlock-story-ui .story-demo-road:after{content:"";position:absolute;inset:52% 0 auto;height:3px;background:repeating-linear-gradient(90deg,#dbd3a7 0 44px,transparent 44px 94px);animation:story-demo-road .7s linear 6}
#gridlock-story-ui .story-demo-taxi{position:absolute;left:30%;top:49%;width:145px;height:59px;filter:drop-shadow(0 8px 5px #0006);animation:story-demo-drive 3s ease-out 1}
#gridlock-story-ui .story-demo-body{position:absolute;left:0;bottom:10px;width:145px;height:31px;border:2px solid #efc368;border-radius:9px 20px 6px 7px;background:linear-gradient(#ffde6d 0 48%,#ba8225 50% 54%,#f2c54d 56%);box-shadow:inset -10px 0 #ffe5a0}
#gridlock-story-ui .story-demo-body:after{content:"";position:absolute;left:42px;right:35px;top:15px;height:7px;background:repeating-conic-gradient(#263542 0 25%,#f0d382 0 50%) 0 0/10px 10px}
#gridlock-story-ui .story-demo-window{position:absolute;left:26px;top:0;width:80px;height:28px;border:5px solid #f4c653;border-bottom:0;border-radius:21px 31px 0 0;background:linear-gradient(90deg,#6ec5d5 0 45%,#f4c653 46% 51%,#284656 52%)}
#gridlock-story-ui .story-demo-roof{position:absolute;left:58px;top:-12px;padding:1px 5px;border-radius:3px 3px 0 0;background:#ffeaac;color:#25353d;font:800 8px sans-serif;font-style:normal}
#gridlock-story-ui .story-demo-wheel{position:absolute;bottom:0;width:24px;height:24px;border:6px solid #0c141c;border-radius:50%;background:#8ea0a4;box-shadow:0 0 0 2px #dfaa42}
#gridlock-story-ui .story-demo-wheel--rear{left:18px}#gridlock-story-ui .story-demo-wheel--front{right:18px}
#gridlock-story-ui .story-demo-taxi--loaner .story-demo-body{border-color:#629ec9;background:linear-gradient(#77b5d7 0 48%,#214a75 50% 54%,#306fa6 56%);box-shadow:inset -10px 0 #9cd0e7}
#gridlock-story-ui .story-demo-taxi--loaner .story-demo-body:after{display:none}
#gridlock-story-ui .story-demo-taxi--loaner .story-demo-window{border-color:#4380ad;background:linear-gradient(90deg,#9bcdd6 0 45%,#417da9 46% 51%,#284656 52%)}
#gridlock-story-ui .story-demo-taxi--loaner .story-demo-wheel{box-shadow:0 0 0 2px #7e9baa}
#gridlock-story-ui .story-demo-flame{display:none;position:absolute;right:97%;bottom:15px;width:65px;height:23px;clip-path:polygon(0 50%,35% 25%,20% 0,100% 15%,100% 85%,23% 100%,40% 70%);background:linear-gradient(90deg,#67d9ff00,#42ccff 45%,#e8fdff);filter:drop-shadow(0 0 8px #46cfff)}
#gridlock-story-ui [data-demo-power="boost"] .story-demo-flame,#gridlock-story-ui [data-demo-power="super"] .story-demo-flame{display:block}
#gridlock-story-ui [data-demo-power="super"] .story-demo-flame{width:100px;height:31px;bottom:11px;background:linear-gradient(90deg,#b775ff00,#aa68fa 45%,#ffe8ff)}
#gridlock-story-ui [data-demo-power="super"] .story-demo-road:after{animation-duration:.4s;animation-iteration-count:10}
#gridlock-story-ui .story-demo-cue{position:absolute;top:17px;left:0;right:0;text-align:center;font-size:14px;letter-spacing:.12em;color:#e2f7fc;text-shadow:0 2px 10px #09202c}
#gridlock-story-ui .story-demo-controls{display:flex;align-items:center;justify-content:center;gap:32px}
#gridlock-story-ui .story-demo-controls>span:not(.story-demo-taps){display:flex;flex-direction:column;align-items:center;gap:7px;min-width:95px}
#gridlock-story-ui .story-demo-controls small{font-size:9px;letter-spacing:.12em;color:#a9c6ce}
#gridlock-story-ui .story-demo-controls b{display:flex;align-items:center;gap:8px;font-size:14px;color:#d4e7e7}
#gridlock-story-ui .story-demo-controls kbd{display:grid;place-items:center;width:37px;height:36px;border:1px solid #82999c;border-bottom:4px solid #617d83;border-radius:5px;background:#243f4d;color:#fff1c4;font:800 18px sans-serif}
#gridlock-story-ui .story-demo-controls .story-demo-gas{display:grid;place-items:center;width:47px;height:47px;border:2px solid #e8d295;border-radius:50%;background:#eec75a;color:#263240;font:800 12px sans-serif}
#gridlock-story-ui .story-demo-taps{display:flex;align-items:center;gap:8px;padding-top:17px}
#gridlock-story-ui .story-demo-taps i{display:grid;place-items:center;width:25px;height:25px;border:1px solid #72aaad;border-radius:50%;font:700 12px sans-serif;color:#b8d9dc;background:#284751;animation:story-demo-tap 1.1s ease-out 1}
#gridlock-story-ui .story-demo-taps i:last-child{animation-delay:.3s}
#gridlock-story-ui .story-demo-taps em{font-style:normal;font-size:10px;color:#9bb9c1}
#gridlock-story-ui .story-demo-controls kbd,#gridlock-story-ui .story-demo-gas{animation:story-demo-gas 1.5s ease-out 1}
#gridlock-story-ui [data-demo-upgrade="boost"][data-demo-step="0"] .story-demo-controls kbd,#gridlock-story-ui [data-demo-upgrade="boost"][data-demo-step="0"] .story-demo-gas,#gridlock-story-ui [data-demo-step="2"] .story-demo-controls kbd,#gridlock-story-ui [data-demo-step="2"] .story-demo-gas{animation:none}
#gridlock-story-ui .story-demo-copy{min-height:100px;text-align:center}
#gridlock-story-ui .story-demo-copy h3{font-size:23px;line-height:1.25;margin:0 0 10px;color:#ffdf90}
#gridlock-story-ui .story-demo-copy p{max-width:510px;margin:0 auto;color:#c7dce1;font-size:15px;line-height:1.6}
#gridlock-story-ui .story-demo-progress{display:flex;justify-content:center;gap:7px}
#gridlock-story-ui .story-demo-progress i{width:32px;height:3px;border-radius:2px;background:#3f5c67}
#gridlock-story-ui .story-demo-progress .is-shown{background:#eecd74}
#gridlock-story-ui .story-upgrade-demo>footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:13px;border-top:1px solid #49636c}
#gridlock-story-ui .story-upgrade-demo>footer>small{color:#9fbbc3;font-size:10px;line-height:1.5}
#gridlock-story-ui .story-upgrade-demo>footer>div{display:flex;gap:9px}
#gridlock-story-ui .story-upgrade-demo .story-button{min-height:44px;min-width:0;padding:10px 15px;font-size:12px}
#gridlock-story-ui.story-paused .story-upgrade-demo *{animation-play-state:paused!important}
@keyframes story-demo-road{to{transform:translateX(-94px)}}
@keyframes story-demo-drive{0%{transform:translateX(-15px)}65%,100%{transform:translateX(18px)}}
@keyframes story-demo-tap{0%,100%{background:#284751;transform:scale(1)}30%{background:#ffe08c;color:#153746;transform:scale(1.18)}}
@keyframes story-demo-gas{0%,20%,39%,65%,100%{filter:brightness(1);transform:translateY(0)}28%,49%{filter:brightness(1.5);transform:translateY(3px)}}
@media(max-width:600px){
 #gridlock-story-ui .story-upgrade-demo{padding:18px 15px;gap:13px}
 #gridlock-story-ui .story-upgrade-demo h2{font-size:26px}
 #gridlock-story-ui .story-demo-scene{height:166px}
 #gridlock-story-ui .story-demo-taxi{left:28%;transform:scale(.9);transform-origin:left bottom}
 #gridlock-story-ui .story-demo-controls{gap:15px}
 #gridlock-story-ui .story-demo-controls>span:not(.story-demo-taps){min-width:80px}
 #gridlock-story-ui .story-demo-taps{gap:5px}
 #gridlock-story-ui .story-demo-copy{min-height:112px}
 #gridlock-story-ui .story-demo-copy h3{font-size:21px}
 #gridlock-story-ui .story-demo-copy p{font-size:14px;line-height:1.55}
 #gridlock-story-ui .story-upgrade-demo>footer{flex-direction:column;gap:8px;padding-top:9px}
 #gridlock-story-ui .story-upgrade-demo>footer>div{width:100%;justify-content:space-between;gap:8px}
 #gridlock-story-ui .story-upgrade-demo>footer .story-button{flex:1;padding-inline:8px}
}
@media(max-height:690px) and (max-width:600px){
 #gridlock-story-ui .story-upgrade-demo{padding:12px;gap:10px}
 #gridlock-story-ui .story-demo-scene{height:115px}
 #gridlock-story-ui .story-demo-cue{top:10px;font-size:11px}
 #gridlock-story-ui .story-demo-copy{min-height:95px}
 #gridlock-story-ui .story-demo-copy h3{font-size:19px;margin-bottom:7px}
 #gridlock-story-ui .story-demo-copy p{font-size:13px}
 #gridlock-story-ui .story-demo-controls{gap:9px}
 #gridlock-story-ui .story-demo-controls>span:not(.story-demo-taps){min-width:77px}
 #gridlock-story-ui .story-demo-controls small{font-size:8px}
 #gridlock-story-ui .story-demo-controls .story-demo-gas{width:40px;height:40px}
}
@media(max-height:500px) and (min-width:601px){
 #gridlock-story-ui .story-upgrade-demo{width:min(100%,760px);grid-template-columns:1fr 1fr;padding:14px 19px;gap:12px 22px}
 #gridlock-story-ui .story-upgrade-demo>header,#gridlock-story-ui .story-upgrade-demo>footer{grid-column:1/-1}
 #gridlock-story-ui .story-upgrade-demo h2{font-size:24px}
 #gridlock-story-ui .story-demo-scene{grid-column:1;grid-row:2;height:124px}
 #gridlock-story-ui .story-demo-controls{grid-column:1;grid-row:3;gap:8px}
 #gridlock-story-ui .story-demo-controls>span:not(.story-demo-taps){min-width:76px}
 #gridlock-story-ui .story-demo-copy{grid-column:2;grid-row:2/4;align-self:center;min-height:0;text-align:left}
 #gridlock-story-ui .story-demo-copy h3{font-size:22px}
 #gridlock-story-ui .story-demo-copy p{font-size:14px}
 #gridlock-story-ui .story-demo-progress{grid-column:2;grid-row:3;align-self:end;justify-content:flex-start}
 #gridlock-story-ui .story-upgrade-demo>footer{padding-top:8px}
 #gridlock-story-ui .story-demo-cue{top:10px;font-size:11px}
}

/* Full illustrated establishing panels keep the art visible behind a short caption. */
#gridlock-story-ui .story-comic-panel--scene{display:flex;flex-direction:column;position:relative;justify-content:space-between;isolation:isolate;background:#0b1c28;gap:12px}
#gridlock-story-ui .story-comic-panel--scene:before{display:none}
#gridlock-story-ui .story-scene-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1}
#gridlock-story-ui .story-comic-panel--scene .story-comic-caption{flex:none;z-index:1;margin:16px;max-width:calc(100% - 32px)}
#gridlock-story-ui .story-comic-panel--scene .story-comic-bubble{flex:none;align-self:center;width:calc(100% - 48px);max-width:900px;margin:0 24px 24px;padding:14px 20px;background:#fff5dcf2}
#gridlock-story-ui .story-comic-panel--scene .story-comic-bubble:before{display:none}
#gridlock-story-ui .story-comic-panel--scene .story-comic-bubble p{margin:0;font-size:17px;line-height:1.4}
@media(max-width:600px){#gridlock-story-ui .story-comic-panel--scene .story-scene-image{object-fit:contain;object-position:center 35%;background:#0b1c28}#gridlock-story-ui .story-comic-panel--scene .story-comic-caption{margin:10px;font-size:11px}#gridlock-story-ui .story-comic-panel--scene .story-comic-bubble{width:calc(100% - 20px);margin:0 10px 16px;padding:12px}#gridlock-story-ui .story-comic-panel--scene .story-comic-bubble p{font-size:15px}}

/* Delivery decisions and the closing chapter remain compact, with the consequence beside the action. */
#gridlock-story-ui .story-delivery-options h2{font-size:27px;margin:5px 0 8px}
#gridlock-story-ui .story-delivery-options>p{font-size:12px;color:#b9cdd7;margin-bottom:12px}
#gridlock-story-ui .story-delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#gridlock-story-ui .story-delivery-offer{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;min-width:0;padding:17px;border:1px solid #527484;border-radius:8px;background:#18323f;color:#f8f2de;box-shadow:none}
#gridlock-story-ui .story-delivery-offer:hover{border-color:var(--story-gold);background:#254451}
#gridlock-story-ui .story-delivery-offer>span{font-size:13px;font-weight:800}
#gridlock-story-ui .story-delivery-offer>strong{font:34px/1 Impact,sans-serif;color:var(--story-gold)}
#gridlock-story-ui .story-delivery-offer>small{font-size:12px;line-height:1.5;color:#d0e1e6}
#gridlock-story-ui .story-delivery-offer>b{font-size:12px;color:#f7d67f;margin-top:auto;padding-top:5px}
#gridlock-story-ui .story-offer-pinned{font-size:11px;padding:9px 11px;background:#324956;border-left:3px solid #80c8dc;border-radius:3px;color:#ddedf0!important}
#gridlock-story-ui .story-secondary-jobs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#gridlock-story-ui .story-dolly-offer>p{font-size:15px;line-height:1.55;margin:14px 0}
#gridlock-story-ui .story-dolly-offer strong{color:var(--story-gold)}
#gridlock-story-ui .story-chapters-page{height:100%;display:flex;flex-direction:column;min-height:0;gap:14px}
#gridlock-story-ui .story-chapters-page .story-page-heading{flex:none;margin:0}
#gridlock-story-ui .story-chapters-page .story-chapter-grid{flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
#gridlock-story-ui .story-chapters-page .story-chapter-card{min-height:0;padding:12px 16px}
#gridlock-story-ui .story-chapters-page .story-chapter-number{font-size:clamp(24px,4vh,43px);margin:10px 0 5px}
#gridlock-story-ui .story-chapters-page .story-chapter-card>strong{font-size:15px;padding-bottom:7px}
#gridlock-story-ui .story-chapters-page .story-chapter-card-bottom{padding-top:8px}
#gridlock-story-ui .story-chapter-pager{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#b6cbd5}
#gridlock-story-ui .story-homecoming{height:100%;min-height:0;position:relative;display:flex;align-items:flex-end;isolation:isolate;border-radius:10px;overflow:hidden;background:linear-gradient(0deg,#07141df5 0%,#07141db3 32%,#07141d00 74%),var(--story-homecoming);background-size:cover;background-position:center}
#gridlock-story-ui .story-homecoming-copy{max-width:790px;padding:clamp(22px,4vw,48px);text-shadow:0 2px 9px #0009}
#gridlock-story-ui .story-homecoming-copy h1{font-size:clamp(33px,5vw,62px);line-height:1.04;margin:13px 0;color:#ffe194}
#gridlock-story-ui .story-homecoming-copy>p{max-width:610px;font-size:16px;line-height:1.55;color:#e3eae5}
#gridlock-story-ui .story-homecoming-copy .story-result-actions{justify-content:flex-start;margin-top:23px;text-shadow:none}
#gridlock-story-ui .story-homecoming-copy .story-next-adventure{padding-left:14px;border-left:3px solid #efcf68}
#gridlock-story-ui .story-next-adventure b{display:block;color:#ffe194}
#gridlock-story-ui .story-homecoming-copy .story-ending-note{font-size:12px;color:#adc2cc;margin:12px 0 0;line-height:1.4}

#gridlock-story-ui[data-story-screen="chapters"] .story-main,#gridlock-story-ui[data-story-screen="ending"] .story-main{overflow:hidden}
@media(min-width:901px){#gridlock-story-ui .story-hub-sidebar .story-delivery-grid{grid-template-columns:1fr}#gridlock-story-ui .story-hub-sidebar .story-delivery-offer{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:10px 12px}#gridlock-story-ui .story-hub-sidebar .story-delivery-offer>strong{font-size:26px;grid-column:2;grid-row:1/3}#gridlock-story-ui .story-hub-sidebar .story-delivery-offer>small{font-size:11px}#gridlock-story-ui .story-hub-sidebar .story-delivery-offer>b{display:none}}
@media(max-width:600px){
 #gridlock-story-ui .story-delivery-grid{gap:8px}
 #gridlock-story-ui .story-delivery-offer{padding:12px;gap:6px}
 #gridlock-story-ui .story-delivery-offer>strong{font-size:27px}
 #gridlock-story-ui .story-delivery-offer>small{font-size:11px}
 #gridlock-story-ui .story-delivery-options h2{font-size:23px}
 #gridlock-story-ui .story-chapters-page{gap:9px}
 #gridlock-story-ui .story-chapters-page .story-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
 #gridlock-story-ui .story-chapters-page .story-chapter-card{padding:10px}
 #gridlock-story-ui .story-chapters-page .story-chapter-card-top>span{display:none}
 #gridlock-story-ui .story-chapters-page .story-chapter-number{font-size:27px;margin:5px 0}
 #gridlock-story-ui .story-chapters-page .story-chapter-card>strong{font-size:13px}
 #gridlock-story-ui .story-chapter-pager{gap:5px;font-size:9px}
 #gridlock-story-ui .story-homecoming{background-position:43% center}
 #gridlock-story-ui .story-homecoming-copy{padding:23px 19px;background:linear-gradient(0deg,#07141def,transparent)}
 #gridlock-story-ui .story-homecoming-copy>p{font-size:14px}
 #gridlock-story-ui .story-homecoming-copy .story-result-actions{gap:9px}
 #gridlock-story-ui .story-dolly-offer{padding:21px}
 #gridlock-story-ui .story-dolly-offer h2{font-size:28px}
 #gridlock-story-ui .story-dolly-offer>p{font-size:14px}
}
@media(max-height:550px) and (min-width:601px){
 #gridlock-story-ui .story-delivery-options h2{font-size:21px}
 #gridlock-story-ui .story-delivery-grid{gap:10px}
 #gridlock-story-ui .story-delivery-offer{gap:5px;padding:11px}
 #gridlock-story-ui .story-simple-brief .story-mission-peek:has(.story-delivery-options){display:block}
 #gridlock-story-ui .story-homecoming-copy{padding:20px 27px;max-width:620px}
 #gridlock-story-ui .story-homecoming-copy h1{font-size:32px;margin:8px 0}
 #gridlock-story-ui .story-homecoming-copy>p{font-size:13px}
 #gridlock-story-ui .story-homecoming-copy .story-result-actions{margin-top:13px}
 #gridlock-story-ui .story-chapters-page .story-chapter-number{font-size:22px;margin:3px 0}
 #gridlock-story-ui .story-chapters-page .story-chapter-card-top{display:block}
 #gridlock-story-ui .story-chapters-page .story-chapter-card-top>span{display:none}
}
@media(max-height:500px) and (min-width:601px){
 #gridlock-story-ui .story-touch-pad,#gridlock-story-ui .story-touch-interact{position:absolute}
 #gridlock-story-ui .story-dolly-offer{padding:17px 23px;max-width:720px}
 #gridlock-story-ui .story-dolly-offer h2{font-size:26px;margin:7px 0}
 #gridlock-story-ui .story-dolly-offer>p{font-size:13px;line-height:1.4;margin:9px 0}
 #gridlock-story-ui .story-dolly-offer .story-result-actions{margin-top:12px}
}
#gridlock-story-ui .story-shop-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
#gridlock-story-ui .story-loaner-note{margin:0;color:#c5d7dd;font-size:12px;line-height:1.4}
#gridlock-story-ui .story-menu--shop{grid-template-rows:auto minmax(0,1fr)}
#gridlock-story-ui .story-menu--shop .story-shop-grid .story-upgrade .story-button,
#gridlock-story-ui .story-menu--shop .story-menu-heading .story-button,
#gridlock-story-ui .story-menu--shop .story-menu-footer .story-button{min-height:44px}
@media(max-width:600px){
 #gridlock-story-ui .story-menu--shop{padding:12px;gap:8px}
 #gridlock-story-ui .story-menu--shop .story-menu-body{gap:8px}
 #gridlock-story-ui .story-menu--shop .story-shop-grid{grid-template-columns:1fr;gap:7px}
 #gridlock-story-ui .story-menu--shop .story-upgrade{display:grid;grid-template-columns:minmax(0,1fr) 98px;gap:3px 9px;padding:9px}
 #gridlock-story-ui .story-menu--shop .story-upgrade>div{grid-column:1/-1}
 #gridlock-story-ui .story-menu--shop .story-upgrade h3{font-size:17px}
 #gridlock-story-ui .story-menu--shop .story-upgrade p{grid-column:1;font-size:12px;line-height:1.3;margin:2px 0}
 #gridlock-story-ui .story-menu--shop .story-upgrade>small{grid-column:1;font-size:11px;line-height:1.3}
 #gridlock-story-ui .story-menu--shop .story-upgrade .story-button{grid-column:2;grid-row:2/4;align-self:center;margin:0;padding:7px;min-height:44px;font-size:11px}
 #gridlock-story-ui .story-menu--shop .story-menu-heading{padding-bottom:6px}
 #gridlock-story-ui .story-menu--shop .story-menu-footer{padding-top:6px}
 #gridlock-story-ui .story-menu--shop .story-shop-balance{margin:0;font-size:12px}
}
#gridlock-story-ui .story-secondary-jobs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#gridlock-story-ui .story-secondary-jobs .story-button{min-width:0;white-space:normal;text-align:center;font-size:11px;padding:8px}
@media(max-height:500px) and (min-width:601px){#gridlock-story-ui .story-secondary-jobs{margin-top:8px;gap:6px}#gridlock-story-ui .story-secondary-jobs .story-button{font-size:10px;min-height:36px;padding:6px}}

/* Results belong to the place just visited. Static art, one short entrance,
   and opaque text surfaces keep the scene inexpensive and readable. */
#gridlock-story-ui[data-story-screen="result"] .story-main{padding:0}
#gridlock-story-ui .story-result-page{--result-accent:#8fe2bc;position:relative;isolation:isolate;max-width:none;overflow:hidden;align-items:flex-start;text-align:left;padding:clamp(18px,4vw,58px);background:#08141d}
#gridlock-story-ui .story-result-page--failed{--result-accent:#f7b17f}
#gridlock-story-ui .story-result-page:before{content:"";position:absolute;inset:0;z-index:-2;background:var(--story-result-scene) center/cover no-repeat;opacity:.75}
#gridlock-story-ui .story-result-page:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#07121df0 0%,#07121dd6 40%,#07121d54 85%),linear-gradient(0deg,#07121dba,transparent 45%);pointer-events:none}
#gridlock-story-ui .story-result-content{position:relative;width:min(100%,680px);display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:clamp(20px,3vw,38px);border:1px solid #7893a454;border-top:3px solid var(--result-accent);border-radius:4px 4px 14px 14px;background:linear-gradient(135deg,#0a1b27f7,#102432eb);box-shadow:0 20px 70px #0005}
#gridlock-story-ui .story-result-content>.story-eyebrow{color:var(--result-accent);font-size:11px;letter-spacing:.13em;line-height:1.5}
#gridlock-story-ui .story-result-page h1{font-size:clamp(28px,3.8vw,52px);line-height:1.12;text-wrap:balance;color:#ffe193;max-width:100%;text-shadow:0 3px 0 #050c13}
#gridlock-story-ui .story-result-verdict{font-size:18px;line-height:1.4;font-weight:800;color:#f5f4e9;border-left:3px solid var(--result-accent);padding-left:13px}
#gridlock-story-ui .story-result-reason{font-size:15px;line-height:1.5;color:#bfd0db;max-width:100%}
#gridlock-story-ui .story-result-stats{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;gap:18px;padding:18px 0;margin:0;border:0;border-top:1px solid #52708066;border-bottom:1px solid #52708066;border-radius:0;background:none}
#gridlock-story-ui .story-result-stats>div{min-width:0;padding:0 18px}
#gridlock-story-ui .story-result-stats>div:first-child{padding-left:0}
#gridlock-story-ui .story-result-stats span{color:#a6bfcc;font-size:10px}
#gridlock-story-ui .story-result-stats strong{font-size:27px;color:#edf8f1;font-variant-numeric:tabular-nums}
#gridlock-story-ui .story-result-content .story-result-actions{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px}
#gridlock-story-ui .story-result-content .story-result-actions>.story-button{min-height:44px}
#gridlock-story-ui .story-result-content .story-result-actions>.story-button--primary{order:-1}
#gridlock-story-ui .story-button:focus-visible,#gridlock-story-ui .story-chapter-card:focus-visible{outline:3px solid #91edff;outline-offset:3px;box-shadow:0 0 0 6px #07121de6}
@media(prefers-reduced-motion:no-preference){
 #gridlock-story-ui .story-result-content{animation:story-result-arrive .32s cubic-bezier(.2,.7,.2,1) both}
 #gridlock-story-ui .story-comic-caption{animation:story-panel-caption .2s ease-out both}
 #gridlock-story-ui .story-comic-bubble{animation:story-panel-caption .24s ease-out both}
}
@keyframes story-result-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes story-panel-caption{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
#gridlock-story-ui .story-hub-sidebar .story-wallet--paid{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:12px}
#gridlock-story-ui .story-hub-sidebar .story-wallet--paid>div:first-child{display:flex;flex-direction:row;align-items:center;gap:10px}
#gridlock-story-ui .story-hub-sidebar .story-wallet--paid>div:first-child>strong{font-size:23px}
#gridlock-story-ui .story-hub-sidebar .story-wallet--paid>div:nth-child(2),#gridlock-story-ui .story-hub-sidebar .story-wallet--paid>progress{display:none}
#gridlock-story-ui .story-hub-sidebar .story-wallet--paid>p{display:block;margin:0;color:#96debb;font-size:11px}
@media(max-width:600px){
 #gridlock-story-ui .story-result-page{padding:14px;justify-content:center}
 #gridlock-story-ui .story-result-page:after{background:linear-gradient(0deg,#07121df2,#07121d77 70%,#07121d88)}
 #gridlock-story-ui .story-result-content{padding:20px 17px;gap:13px}
 #gridlock-story-ui .story-result-content>.story-eyebrow{font-size:10px;letter-spacing:.08em}
 #gridlock-story-ui .story-result-page h1{font-size:clamp(26px,7.5vw,36px)}
 #gridlock-story-ui .story-result-verdict{font-size:16px;padding-left:10px}
 #gridlock-story-ui .story-result-reason{font-size:14px;line-height:1.45}
 #gridlock-story-ui .story-result-stats{padding:13px 0;gap:13px}
 #gridlock-story-ui .story-result-stats strong{font-size:24px}
 #gridlock-story-ui .story-result-content .story-result-actions{display:grid;grid-template-columns:1fr}
}
@media(max-height:650px) and (max-width:600px){
 /* Keep the title and its actions clear on short portrait screens. */
 #gridlock-story-ui .story-hero-copy{padding:16px 20px}
 #gridlock-story-ui .story-hero-copy>.story-eyebrow,#gridlock-story-ui .story-season,#gridlock-story-ui .story-hero-meta{display:none}
 #gridlock-story-ui .story-hero-actions{margin-top:16px;gap:8px}
 #gridlock-story-ui .story-result-page{padding:10px}
 #gridlock-story-ui .story-result-content{gap:10px;padding:15px}
 #gridlock-story-ui .story-result-page h1{font-size:25px}
 #gridlock-story-ui .story-result-verdict{font-size:14px}
 #gridlock-story-ui .story-result-reason{font-size:12px;line-height:1.4}
 #gridlock-story-ui .story-result-stats{padding:9px 0}
 #gridlock-story-ui .story-result-stats strong{font-size:21px}
 #gridlock-story-ui .story-result-content .story-result-actions{gap:7px}
}
@media(max-height:500px) and (min-width:601px){
 #gridlock-story-ui .story-result-page{padding:12px 24px}
 #gridlock-story-ui .story-result-content{width:min(100%,780px);padding:15px 20px;gap:8px}
 #gridlock-story-ui .story-result-page h1{font-size:26px}
 #gridlock-story-ui .story-result-verdict{font-size:14px}
 #gridlock-story-ui .story-result-reason{font-size:12px;line-height:1.35}
 #gridlock-story-ui .story-result-stats{position:absolute;right:20px;top:20px;width:160px;display:flex;gap:12px;border:0;padding:0}
 #gridlock-story-ui .story-result-stats>div{padding:0 7px}
 #gridlock-story-ui .story-result-stats span{font-size:8px}
 #gridlock-story-ui .story-result-stats strong{font-size:19px}
 #gridlock-story-ui .story-result-content{padding-right:190px}
 #gridlock-story-ui .story-result-content .story-result-actions{width:calc(100% + 170px)}
 #gridlock-story-ui .story-result-content>.story-eyebrow{font-size:9px}
}

/* The garage board offers parallel jobs; venues are the places to meet contacts. */
#gridlock-story-ui .story-mission-board{min-width:0;border:1px solid #b39b54;border-radius:10px;background:linear-gradient(145deg,#182b34,#0b1822);padding:16px;box-shadow:0 4px 0 #030a10}
#gridlock-story-ui .story-board-heading h2{font-family:var(--story-menu-display);font-size:22px;line-height:1.2;margin:7px 0;color:#ffda70}
#gridlock-story-ui .story-board-heading p{font-size:12px;line-height:1.45;color:#b9c9d0;margin:0 0 12px}
#gridlock-story-ui .story-board-jobs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#gridlock-story-ui .story-board-job{appearance:none;text-align:left;display:flex;flex-direction:column;gap:14px;min-width:0;min-height:210px;border:1px solid #537883;border-top:3px solid #86d5d9;border-radius:8px;background:linear-gradient(135deg,#284651,#142532);padding:22px;color:#f4f0da;cursor:pointer;box-shadow:0 4px 0 #06111a;transition:border-color .16s,background .16s}
#gridlock-story-ui .story-board-job:hover{border-color:#ffda70;background:linear-gradient(135deg,#344d53,#1c3039)}
#gridlock-story-ui .story-board-job:focus-visible{outline:3px solid #ffda70;outline-offset:3px}
#gridlock-story-ui .story-board-job-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#8fd9df;font-size:10px;font-weight:900;letter-spacing:.05em}
#gridlock-story-ui .story-board-job-top b{color:#ffda70;font-size:17px;letter-spacing:0;white-space:nowrap}
#gridlock-story-ui .story-board-job>strong{font-family:var(--story-menu-display);font-size:29px;line-height:1.16;color:#fff2c8}
#gridlock-story-ui .story-board-job-summary{font-size:15px;line-height:1.55;color:#d3dee1;font-weight:400}
#gridlock-story-ui .story-board-job-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:13px;border-top:1px solid #ffffff25;color:#f9d977;font-size:12px;font-weight:800;line-height:1.4}
#gridlock-story-ui .story-board-job-bottom>b{font-size:23px}
#gridlock-story-ui .story-board-jobs--compact{grid-template-columns:1fr;gap:9px}
#gridlock-story-ui .story-board-jobs--compact .story-board-job{min-height:0;padding:12px;gap:7px}
#gridlock-story-ui .story-board-jobs--compact .story-board-job>strong{font-size:19px}
#gridlock-story-ui .story-board-jobs--compact .story-board-job-summary{font-size:12px;line-height:1.4}
#gridlock-story-ui .story-board-jobs--compact .story-board-job-bottom{padding-top:7px;font-size:11px}
#gridlock-story-ui .story-board-jobs--compact .story-board-job-top{font-size:8px}
#gridlock-story-ui .story-board-jobs--compact .story-board-job-top b{font-size:14px}
#gridlock-story-ui .story-mission-board>.story-button{width:100%;margin-top:7px;min-height:34px;font-size:11px;padding:7px}
#gridlock-story-ui .story-board-page{height:100%;min-height:0;display:flex;flex-direction:column;gap:18px;padding:26px;border:1px solid #43606d;border-radius:12px;background:linear-gradient(#081723e8,#081723e8),var(--story-board-art) center/cover}
#gridlock-story-ui .story-board-page .story-page-heading h1{font-size:30px;line-height:1.25}
#gridlock-story-ui .story-board-content{max-width:960px;width:100%;margin:auto;display:grid;gap:18px;min-height:0}
#gridlock-story-ui .story-board-content>.story-wallet{padding:14px 20px}
#gridlock-story-ui .story-board-content .story-mission-board{padding:22px}
#gridlock-story-ui .story-board-content .story-board-heading h2{font-size:26px}
#gridlock-story-ui .story-board-content .story-board-heading p{font-size:14px}
#gridlock-story-ui .story-hub-home .story-hub-sidebar{width:356px;max-width:100%}
#gridlock-story-ui .story-hub-home .story-hub-layout{grid-template-columns:minmax(0,1fr) 356px}
@media(min-width:901px) and (max-height:800px){
 #gridlock-story-ui .story-hub-home .story-board-job-summary{display:none}
 #gridlock-story-ui .story-hub-home .story-board-heading p{margin-bottom:8px}
 #gridlock-story-ui .story-hub-home .story-mission-board{padding:12px}
 #gridlock-story-ui .story-hub-home .story-board-job{gap:5px;padding:9px 11px}
 #gridlock-story-ui .story-hub-home .story-board-heading h2{font-size:20px;margin:4px 0}
}
@media(max-width:900px){
 #gridlock-story-ui .story-hub-home .story-hub-sidebar{width:100%}
 #gridlock-story-ui .story-hub-home .story-mission-board{padding:10px 12px}
 #gridlock-story-ui .story-hub-home .story-board-heading h2{font-size:18px;margin:4px 0}
 #gridlock-story-ui .story-hub-home .story-board-heading p{font-size:11px;margin-bottom:8px}
 #gridlock-story-ui .story-hub-home .story-board-jobs--compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #gridlock-story-ui .story-hub-home .story-board-job{padding:9px;gap:6px}
 #gridlock-story-ui .story-hub-home .story-board-job>strong{font-size:16px}
 #gridlock-story-ui .story-hub-home .story-board-job-summary{display:none}
 #gridlock-story-ui .story-hub-home .story-board-job-top{flex-wrap:wrap;gap:3px;font-size:7px}
 #gridlock-story-ui .story-hub-home .story-board-job-top b{font-size:12px}
 #gridlock-story-ui .story-hub-home .story-board-job-bottom{font-size:10px;line-height:1.3;padding-top:5px;gap:5px}
 #gridlock-story-ui .story-board-page{padding:14px;gap:12px}
 #gridlock-story-ui .story-board-page .story-page-heading h1{font-size:24px}
 #gridlock-story-ui .story-board-content{gap:12px}
 #gridlock-story-ui .story-board-content .story-mission-board{padding:14px}
 #gridlock-story-ui .story-board-jobs{gap:12px}
 #gridlock-story-ui .story-board-job{padding:15px;min-height:185px;gap:10px}
 #gridlock-story-ui .story-board-job>strong{font-size:23px}
 #gridlock-story-ui .story-board-job-summary{font-size:13px;line-height:1.4}
}
@media(max-width:600px){
 #gridlock-story-ui .story-board-page{padding:12px}
 #gridlock-story-ui .story-board-page .story-page-heading h1{font-size:21px}
 #gridlock-story-ui .story-board-page .story-page-heading{padding-bottom:0}
 #gridlock-story-ui .story-board-content{margin:auto 0}
 #gridlock-story-ui .story-board-content .story-wallet{padding:8px 12px;gap:3px 14px}
 #gridlock-story-ui .story-board-content .story-wallet strong{font-size:21px}
 #gridlock-story-ui .story-board-content .story-wallet p{font-size:11px;margin:0}
 #gridlock-story-ui .story-board-content .story-wallet progress{display:none}
 #gridlock-story-ui .story-board-content .story-board-heading h2{font-size:20px;margin:5px 0}
 #gridlock-story-ui .story-board-content .story-board-heading p{font-size:12px;margin-bottom:9px}
 #gridlock-story-ui .story-board-jobs{grid-template-columns:1fr;gap:10px}
 #gridlock-story-ui .story-board-job{min-height:0;padding:13px;gap:7px}
 #gridlock-story-ui .story-board-job>strong{font-size:21px}
 #gridlock-story-ui .story-board-job-bottom{padding-top:7px;font-size:11px}
 #gridlock-story-ui .story-board-job-top{font-size:8px}
 #gridlock-story-ui .story-board-job-top b{font-size:15px}
}
@media(max-width:600px) and (max-height:700px){
 #gridlock-story-ui .story-hub-home .story-board-heading p{display:none}
 #gridlock-story-ui .story-hub-home .story-board-heading .story-eyebrow{display:none}
 #gridlock-story-ui .story-hub-home .story-board-heading h2{margin:0 0 6px;font-size:16px}
 #gridlock-story-ui .story-hub-home .story-wallet p{display:none}
 #gridlock-story-ui .story-hub-home .story-mission-board>.story-button{min-height:29px;margin-top:3px;padding:4px}
 #gridlock-story-ui .story-hub-home .story-board-job-bottom{display:none}
 #gridlock-story-ui .story-board-content{gap:7px}
 #gridlock-story-ui .story-board-page{gap:7px;padding:9px}
 #gridlock-story-ui .story-board-page .story-page-heading h1{font-size:18px}
 #gridlock-story-ui .story-board-content .story-wallet{display:flex;justify-content:space-between;gap:12px}
 #gridlock-story-ui .story-board-content .story-wallet>div{gap:4px}
 #gridlock-story-ui .story-board-content .story-wallet p{display:none}
 #gridlock-story-ui .story-board-content .story-mission-board{padding:10px}
 #gridlock-story-ui .story-board-content .story-board-heading h2{font-size:17px}
 #gridlock-story-ui .story-board-job{padding:10px;gap:5px}
 #gridlock-story-ui .story-board-job>strong{font-size:18px}
 #gridlock-story-ui .story-board-job-summary{font-size:12px;line-height:1.3}
 #gridlock-story-ui .story-board-job-bottom{padding-top:5px;font-size:10px}
}
@media(max-width:600px) and (max-height:700px){
 /* Keep the walkable room visible on short phones; the full board is one tap away. */
 #gridlock-story-ui .story-hub-home .story-hub-heading h1{font-size:18px}
 #gridlock-story-ui .story-hub-home .story-hub-heading p{display:none}
 #gridlock-story-ui .story-hub-home .story-board-jobs--compact{display:none}
 #gridlock-story-ui .story-hub-home .story-mission-board>.story-button{background:#f6ce6b;color:#142631;text-decoration:none;border:1px solid #f6da91;min-height:38px;font-size:12px}
 #gridlock-story-ui .story-hub-home .story-board-heading h2{font-size:15px}
}
@media(max-width:600px) and (max-height:700px){
 #gridlock-story-ui .story-board-page .story-page-heading h1{font-size:17px}
 #gridlock-story-ui .story-board-page .story-page-heading .story-eyebrow{font-size:8px}
 #gridlock-story-ui .story-board-content .story-board-heading h2,#gridlock-story-ui .story-board-content .story-board-heading>.story-eyebrow{display:none}
 #gridlock-story-ui .story-board-content .story-board-heading p{font-size:11px;margin:0 0 8px}
 #gridlock-story-ui .story-board-content .story-board-job>strong{font-family:var(--story-menu-copy);font-size:16px;font-weight:850}
 #gridlock-story-ui .story-board-content .story-wallet{padding:8px 10px}
 #gridlock-story-ui .story-board-content .story-wallet>div{flex-direction:row;align-items:center;gap:6px}
 #gridlock-story-ui .story-board-content .story-wallet>div>span{font-size:7px;letter-spacing:0}
 #gridlock-story-ui .story-board-content .story-wallet>div>strong{font-size:17px}
}
@media(min-width:601px) and (max-height:500px){
 #gridlock-story-ui .story-hub-home .story-hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px}
 #gridlock-story-ui .story-hub-home .story-hub-sidebar{width:100%;align-self:center;gap:7px}
 #gridlock-story-ui .story-hub-home .story-hub-heading h1{font-size:18px}
 #gridlock-story-ui .story-hub-home .story-hub-heading p{display:none}
 #gridlock-story-ui .story-hub-home .story-board-jobs--compact{display:none}
 #gridlock-story-ui .story-hub-home .story-mission-board>.story-button{background:#f6ce6b;color:#142631;text-decoration:none;border:1px solid #f6da91;min-height:37px;font-size:12px}
 #gridlock-story-ui .story-hub-home .story-board-heading>.story-eyebrow{display:none}
 #gridlock-story-ui .story-hub-home .story-board-heading h2{font-family:var(--story-menu-copy);font-size:17px}
 #gridlock-story-ui .story-hub-home .story-board-heading p{font-size:11px;margin-bottom:5px}
 #gridlock-story-ui .story-hub-home .story-wallet p,#gridlock-story-ui .story-hub-home .story-wallet progress{display:none}
 #gridlock-story-ui .story-hub-home .story-hub-options>.story-button{min-height:33px;font-size:11px;padding:6px}
 #gridlock-story-ui .story-hub-home .story-hub-scene{height:100%;min-height:0;order:0}
 #gridlock-story-ui .story-board-page{padding:10px;gap:8px}
 #gridlock-story-ui .story-board-page .story-page-heading{padding-bottom:0;align-items:center}
 #gridlock-story-ui .story-board-page .story-page-heading h1{font-size:20px;margin:0}
 #gridlock-story-ui .story-board-page .story-page-heading>.story-button{min-height:34px;padding:7px 12px}
 #gridlock-story-ui .story-board-content{gap:7px;margin:auto}
 #gridlock-story-ui .story-board-content>.story-wallet{display:flex;justify-content:space-between;padding:6px 12px}
 #gridlock-story-ui .story-board-content>.story-wallet>div{flex-direction:row;align-items:center;gap:10px}
 #gridlock-story-ui .story-board-content>.story-wallet>div>span{font-size:9px}
 #gridlock-story-ui .story-board-content>.story-wallet>div>strong{font-size:20px}
 #gridlock-story-ui .story-board-content>.story-wallet p,#gridlock-story-ui .story-board-content>.story-wallet progress{display:none}
 #gridlock-story-ui .story-board-content .story-mission-board{padding:10px}
 #gridlock-story-ui .story-board-content .story-board-heading h2,#gridlock-story-ui .story-board-content .story-board-heading>.story-eyebrow{display:none}
 #gridlock-story-ui .story-board-content .story-board-heading p{font-size:11px;margin-bottom:6px}
 #gridlock-story-ui .story-board-content .story-board-job{min-height:0;padding:10px;gap:5px}
 #gridlock-story-ui .story-board-content .story-board-job>strong{font-family:var(--story-menu-copy);font-size:18px;font-weight:850}
 #gridlock-story-ui .story-board-content .story-board-job-summary{font-size:12px;line-height:1.35}
 #gridlock-story-ui .story-board-content .story-board-job-bottom{font-size:11px;padding-top:5px}
}
@media(max-width:600px) and (max-height:700px){
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-hub-heading h1{font-size:18px}
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-hub-heading p,
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-hub-sidebar>.story-wallet,
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-mission-peek>.story-eyebrow{display:none}
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-mission-peek{padding:10px 12px}
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-simple-objective{margin:0 0 6px;padding:6px 9px}
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-simple-objective>strong{font-size:13px}
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-mission-peek .story-button--primary{min-height:40px;margin-top:7px;padding:8px 10px;font-size:11px}
 #gridlock-story-ui .story-hub-simple:not(.story-hub-home) .story-hub-options>.story-button{min-height:35px;padding:7px;font-size:11px}
}

/* Short phones keep a readable face above the dialogue instead of flattening it. */
@media(max-width:600px) and (max-height:680px) and (orientation:portrait){
 #gridlock-story-ui .story-comic{padding:12px 10px;gap:8px}
 #gridlock-story-ui .story-comic-heading{padding-bottom:8px}
 #gridlock-story-ui .story-comic-heading .story-eyebrow{display:none}
 #gridlock-story-ui .story-comic-heading h2{font-size:18px;line-height:1.15;margin-top:0}
 #gridlock-story-ui .story-comic-panel:not(.story-comic-panel--scene) .story-comic-art{flex:1 0 120px;min-height:120px;padding:8px 16px 0}
 #gridlock-story-ui .story-comic-art .story-portrait{flex:none;width:clamp(96px,20dvh,130px);height:clamp(96px,20dvh,130px)}
 #gridlock-story-ui .story-comic-panel:not(.story-comic-panel--scene) .story-comic-bubble{margin:8px 10px 12px;padding:12px}
 #gridlock-story-ui .story-comic-bubble p{font-size:16px;line-height:1.4}
 #gridlock-story-ui .story-comic-footer{padding-top:8px}
}

@media(max-width:420px) and (max-height:700px){
 #gridlock-story-ui .story-homecoming-copy{padding:17px 16px}
 #gridlock-story-ui .story-homecoming-copy h1{font-size:27px;margin:9px 0}
 #gridlock-story-ui .story-homecoming-copy>p{font-size:12px;line-height:1.45}
 #gridlock-story-ui .story-homecoming-copy .story-result-actions{margin-top:14px;gap:7px}
 #gridlock-story-ui .story-homecoming-copy .story-result-actions>.story-button{min-height:38px;padding:9px 12px;font-size:11px}
 #gridlock-story-ui .story-homecoming-copy .story-ending-note{font-size:11px;margin-top:9px}
}

/* Rent is a clear, explicit milestone wherever the wallet is shown. */
#gridlock-story-ui .story-wallet--ready{border-color:#d9b354;border-top-color:#ffe19a;background:linear-gradient(135deg,#3b3c2c,#152c33 75%)}
#gridlock-story-ui .story-wallet--ready>.story-button{grid-column:1/-1;flex:1 0 100%;width:100%;min-height:44px;gap:8px;margin-top:3px;font-size:13px}
#gridlock-story-ui .story-wallet--ready>.story-button:disabled{opacity:.7}
#gridlock-story-ui .story-rent-receipt-balance{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(100%,300px);margin:20px 0;padding:14px 18px;border:1px solid #91c4a280;border-radius:7px;background:#102f2ad9}
#gridlock-story-ui .story-rent-receipt-balance>span{font:800 10px/1.4 "Avenir Next","Segoe UI",system-ui,sans-serif;letter-spacing:.12em;color:#b2d8c5}
#gridlock-story-ui .story-rent-receipt-balance>strong{font:800 32px/1.2 "SF Mono",Consolas,monospace;color:#b8edc6;font-variant-numeric:tabular-nums}
@media(max-width:600px),(max-height:650px){
 #gridlock-story-ui .story-wallet--ready>.story-button{font-size:12px;min-height:42px;padding:9px 12px;margin-top:2px}
 #gridlock-story-ui .story-rent-receipt-balance{margin:12px 0;padding:10px 14px}
 #gridlock-story-ui .story-rent-receipt-balance>strong{font-size:27px}
}

/* The full job board scrolls without shrinking its choices into unreadable cards. */
#gridlock-story-ui .story-board-page>.story-page-heading{flex:none}
#gridlock-story-ui .story-board-page>.story-board-content{display:flex;flex-direction:column;flex:1;min-height:0;margin:0 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px;scrollbar-color:#637e87 #10222d}
#gridlock-story-ui .story-board-content>.story-wallet,#gridlock-story-ui .story-board-content>.story-mission-board{flex:none}
#gridlock-story-ui .story-board-content .story-board-job{min-height:190px;gap:10px;scroll-margin-block:12px}
#gridlock-story-ui .story-board-content .story-board-job>strong{font-size:25px}
#gridlock-story-ui .story-board-job--sidequest{border-top-color:#e8bb71}
#gridlock-story-ui .story-board-job--sidequest .story-board-job-top>span{color:#f2cb91}
#gridlock-story-ui .story-board-job-objective{font-size:12px;line-height:1.4;font-weight:800;color:#b2dbdf}
#gridlock-story-ui .story-board-jobs--compact .story-board-job-objective{font-size:11px}
#gridlock-story-ui .story-board-rent-support{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:12px;border:1px solid #b39b5466;border-radius:7px;background:#3f392322}
#gridlock-story-ui .story-board-rent-support>div{flex:1 1 220px;display:grid;gap:4px}
#gridlock-story-ui .story-board-rent-support strong{font-size:14px;color:#ffe1a3}
#gridlock-story-ui .story-board-rent-support span{font-size:12px;line-height:1.4;color:#c9d4d7}
#gridlock-story-ui .story-board-rent-support>.story-button,#gridlock-story-ui .story-hub-home .story-mission-board>.story-button{min-height:44px}
#gridlock-story-ui .story-hub-home .story-board-rent-support{padding:9px;margin-bottom:9px}
#gridlock-story-ui .story-hub-home .story-board-rent-support span{display:none}
#gridlock-story-ui .story-hub-home .story-board-rent-support>div{flex-basis:100%}
#gridlock-story-ui .story-hub-home .story-board-rent-support>.story-button{flex:1;padding:8px;font-size:11px}
@media(max-width:900px){
 #gridlock-story-ui .story-board-content .story-board-job{min-height:165px;padding:15px}
 #gridlock-story-ui .story-board-content .story-board-job>strong{font-size:23px}
}
@media(max-width:600px){
 #gridlock-story-ui .story-board-content .story-board-job{min-height:0;padding:14px;gap:8px}
 #gridlock-story-ui .story-board-content .story-board-job>strong{font-size:22px}
 #gridlock-story-ui .story-board-content .story-board-job-summary{font-size:13px;line-height:1.45}
 #gridlock-story-ui .story-board-content .story-board-job-top{font-size:9px}
 #gridlock-story-ui .story-board-content .story-board-job-top b{font-size:16px}
 #gridlock-story-ui .story-board-content .story-board-job-bottom{font-size:12px;padding-top:8px}
}
@media(max-height:600px){
 #gridlock-story-ui .story-hub-home .story-board-rent-support{display:none}
}

/* Failed optional jobs stay readable in the chapter history, without a retry. */
#gridlock-story-ui .story-chapter-card--missed:disabled{opacity:.8;filter:none;border-color:#96675e}
#gridlock-story-ui .story-chapter-card--missed .story-chapter-card-top>b{color:#efb2a2}
#gridlock-story-ui .story-board-job-condition{font-size:10px;font-weight:800;line-height:1.4;color:#e8bc91;letter-spacing:.04em}
#gridlock-story-ui .story-sidequest-condition{padding:10px 12px;border-left:3px solid #e1ad77;background:#71462733;color:#ecd4b8;font-size:12px;line-height:1.5}
#gridlock-story-ui .story-sidequest-condition>b{display:block;color:#ffe0b6}

/* Reserve room for the hub controls; only the available jobs need to scroll. */
@media(min-width:601px){
 #gridlock-story-ui .story-hub-simple .story-hub-sidebar{max-height:100%}
 #gridlock-story-ui .story-hub-sidebar>.story-wallet,
 #gridlock-story-ui .story-hub-sidebar>.story-hub-options{flex:none}
 #gridlock-story-ui .story-hub-sidebar>.story-mission-board{display:flex;flex-direction:column;flex:0 1 auto;min-height:0}
 #gridlock-story-ui .story-hub-sidebar>.story-mission-board>.story-board-heading,
 #gridlock-story-ui .story-hub-sidebar>.story-mission-board>.story-board-rent-support,
 #gridlock-story-ui .story-hub-sidebar>.story-mission-board>.story-button{flex:none}
 #gridlock-story-ui .story-hub-sidebar .story-board-jobs--compact{min-height:0;grid-auto-rows:max-content;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#637e87 #10222d;padding:4px;margin:-4px}
 #gridlock-story-ui .story-hub-sidebar .story-board-jobs--compact>.story-board-job{scroll-margin-block:4px}
 #gridlock-story-ui .story-hub-sidebar>.story-mission-peek{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#637e87 #10222d}
}

/* Immediate calls keep their decision buttons in view while the details scroll. */
#gridlock-story-ui .story-fare-call{display:flex;flex-direction:column;max-width:860px;height:100%;max-height:720px;min-height:0;margin:0 auto;border:1px solid #587d85;border-top:4px solid #f4d16f;border-radius:12px;background:linear-gradient(145deg,#213842,#101e29);box-shadow:0 20px 70px #0006;overflow:hidden}
#gridlock-story-ui .story-fare-copy{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:clamp(20px,4vw,44px);scrollbar-color:#637e87 #10222d}
#gridlock-story-ui .story-fare-copy h1{margin:12px 0 28px;font-size:clamp(26px,4vw,42px);color:#ffe3a0}
#gridlock-story-ui .story-fare-message{display:flex;align-items:center;gap:24px;margin-bottom:24px}
#gridlock-story-ui .story-fare-message>.story-portrait{flex:none;width:112px;height:132px}
#gridlock-story-ui .story-fare-message strong{color:#85d8de}
#gridlock-story-ui .story-fare-message p{font-size:18px;line-height:1.6;margin:8px 0 0}
#gridlock-story-ui .story-fare-terms{padding:18px;border:1px solid #557782;border-radius:8px;background:#09182099}
#gridlock-story-ui .story-fare-terms>strong{color:#fbe0a0;font-size:17px}
#gridlock-story-ui .story-fare-terms p,#gridlock-story-ui .story-fare-pass-note{font-size:14px;line-height:1.6;color:#c5d4d9}
#gridlock-story-ui .story-fare-terms p:last-child{margin-bottom:0}
#gridlock-story-ui .story-fare-actions{display:flex;flex-wrap:wrap;gap:12px;flex:none;padding:18px 24px;border-top:1px solid #557782;background:#10222d}
#gridlock-story-ui .story-fare-actions>.story-button{flex:1;min-height:48px}
@media(max-width:600px){
 #gridlock-story-ui .story-fare-message{align-items:flex-start;gap:14px}
 #gridlock-story-ui .story-fare-message>.story-portrait{width:64px;height:80px}
 #gridlock-story-ui .story-fare-message p{font-size:15px}
 #gridlock-story-ui .story-fare-actions{padding:12px;gap:8px}
}

/* The location is the menu: preserve the room's world coordinates at every size. */
#gridlock-story-ui[data-story-screen="hub"] .story-topbar{position:absolute;inset:0 0 auto;z-index:5;height:54px;min-height:54px;background:linear-gradient(#051017e8,#07111c99 70%,transparent);border:0;box-shadow:none;padding:7px 20px;pointer-events:none}
#gridlock-story-ui[data-story-screen="hub"] .story-topbar button,#gridlock-story-ui[data-story-screen="hub"] .story-tools{pointer-events:auto}
#gridlock-story-ui[data-story-screen="hub"] .story-save-indicator{font-size:10px;color:#c2d0d0;text-shadow:0 1px 3px #000}
#gridlock-story-ui[data-story-screen="hub"] .story-brand{filter:drop-shadow(0 2px 5px #0009)}
#gridlock-story-ui[data-story-screen="hub"] .story-main{padding:0;overflow:hidden}
#gridlock-story-ui .story-hub-page.story-hub-world{position:relative;display:block;max-width:none;width:100%;height:100%;margin:0;isolation:isolate;background:#081219}
#gridlock-story-ui .story-hub-world:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#07101766,#07101766),var(--story-room-art) center/cover;filter:blur(14px);opacity:.75}
#gridlock-story-ui .story-hub-world .story-hub-layout{position:absolute;inset:0;display:block;height:100%;width:100%;gap:0;grid-template-columns:none}
#gridlock-story-ui .story-hub-world .story-hub-scene{display:grid;place-items:center;width:100%;height:100%;container-type:size;overflow:hidden}
#gridlock-story-ui .story-hub-world .story-hub-stage{width:min(100cqw,calc(100cqh * 1040 / 620));aspect-ratio:1040/620;min-height:0;padding:0;margin:0;border:0;border-radius:0;overflow:visible;box-shadow:0 0 80px 25px #050c1299}
#gridlock-story-ui .story-hub-world .story-hub-canvas{display:block;width:100%;height:auto;aspect-ratio:1040/620;object-fit:fill;border:0;border-radius:0}
#gridlock-story-ui .story-hub-world .story-hub-stage:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;box-shadow:inset 0 0 65px 16px #050b1144;background:linear-gradient(#04101955,transparent 20%,transparent 84%,#050d1666)}
#gridlock-story-ui .story-hub-world-heading{position:absolute;left:22px;right:22px;top:60px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;pointer-events:none}
#gridlock-story-ui .story-hub-location{max-width:55%;padding:9px 13px;border-left:3px solid #ffda76;background:linear-gradient(90deg,#07131dd9,#07131d66);border-radius:0 6px 6px 0;color:#fff0cb;text-shadow:0 2px 3px #000;font-size:clamp(13px,1.4vw,21px);font-weight:800}
#gridlock-story-ui .story-hub-wallet-hud{display:grid;grid-template-columns:auto auto;gap:4px 16px;min-width:160px;max-width:240px;padding:10px 14px;border:1px solid #86b9bb55;border-radius:8px;background:#0a1b25df;box-shadow:0 4px 16px #0005;font-size:11px;color:#bfd4d8}
#gridlock-story-ui .story-hub-wallet-hud strong{color:#ffdc80;font-size:20px;letter-spacing:-.02em}
#gridlock-story-ui .story-hub-wallet-hud progress{grid-column:1/-1;width:100%;height:4px;accent-color:#f2d278;border:0;border-radius:3px;overflow:hidden;background:#24414a}
#gridlock-story-ui .story-hub-wallet-hud progress::-webkit-progress-bar{background:#24414a}
#gridlock-story-ui .story-hub-wallet-hud progress::-webkit-progress-value{background:#f2d278}
#gridlock-story-ui .story-hub-world .story-hub-controls{display:flex;position:absolute;bottom:12px;z-index:2;font-size:10px;padding:7px 12px;border-radius:5px;background:#07131dba;text-shadow:0 1px 2px #000;pointer-events:none}
#gridlock-story-ui .story-hub-world .story-hub-prompt{z-index:3;bottom:47px;font-size:12px;max-width:90%;white-space:normal;pointer-events:none}
#gridlock-story-ui .story-hub-world .story-touch-pad,#gridlock-story-ui .story-hub-world .story-touch-interact{z-index:3}
#gridlock-story-ui .story-hub-conversation{position:absolute;z-index:6;width:380px;max-width:calc(100% - 24px);max-height:calc(100% - 24px);overflow:auto;overscroll-behavior:contain;padding:17px 18px 12px;border:2px solid #d9bd79;border-radius:12px;background:linear-gradient(140deg,#203843fa,#10232ffb 70%);box-shadow:0 14px 32px #0009,inset 0 1px #fff3;outline:none;scrollbar-color:#78989e #10222d;animation:story-room-bubble-in .15s ease-out}
#gridlock-story-ui .story-hub-conversation[hidden]{display:none}
#gridlock-story-ui .story-hub-conversation:before{content:"";position:absolute;bottom:-8px;left:var(--story-bubble-tail-x,50%);width:13px;height:13px;transform:translateX(-50%) rotate(45deg);border-right:2px solid #d9bd79;border-bottom:2px solid #d9bd79;background:#10232f}
#gridlock-story-ui .story-hub-conversation[data-placement="below"]:before{bottom:auto;top:-8px;transform:translateX(-50%) rotate(225deg);background:#203843}
#gridlock-story-ui .story-hub-conversation-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#gridlock-story-ui .story-hub-conversation-header strong{color:#ffdf8b;font-size:17px;line-height:1.25}
#gridlock-story-ui .story-hub-conversation-close{border:1px solid #6f939d;background:#132c39;color:#d4e8ed;border-radius:5px;min-width:28px;min-height:28px;font:inherit;font-size:18px;cursor:pointer}
#gridlock-story-ui .story-hub-conversation-text{font-size:15px;line-height:1.6;color:#e0eaec;margin:0 0 14px}
#gridlock-story-ui .story-hub-conversation-actions{display:flex;flex-direction:column;gap:7px}
#gridlock-story-ui .story-hub-conversation-actions .story-button{justify-content:flex-start;width:100%;min-height:38px;margin:0;padding:9px 12px;font-size:12px;text-align:left;white-space:normal}
#gridlock-story-ui .story-hub-conversation-actions .story-button[aria-current="true"]{border-color:#ffdf8b;background:#34505b;color:#fff0ba;box-shadow:inset 3px 0 #ffdc80}
#gridlock-story-ui .story-hub-conversation-hint{display:block;margin-top:11px;font-size:9px;line-height:1.5;color:#a7c5cc;letter-spacing:.03em}
@keyframes story-room-bubble-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
@media(max-width:600px),(max-height:500px){
 #gridlock-story-ui[data-story-screen="hub"] .story-topbar{height:42px;min-height:42px;padding:4px 10px}
 #gridlock-story-ui[data-story-screen="hub"] .story-brand>span,#gridlock-story-ui[data-story-screen="hub"] .story-save-indicator{display:none}
 #gridlock-story-ui[data-story-screen="hub"] .story-topbar .story-tools>.story-button{min-height:30px;padding:5px 9px;font-size:10px}
 #gridlock-story-ui .story-hub-world-heading{top:46px;left:10px;right:10px;gap:8px}
 #gridlock-story-ui .story-hub-location{font-size:12px;padding:7px 9px}
 #gridlock-story-ui .story-hub-wallet-hud{min-width:126px;padding:7px 9px;font-size:9px;gap:3px 8px}
 #gridlock-story-ui .story-hub-wallet-hud strong{font-size:16px}
 #gridlock-story-ui .story-hub-world .story-hub-controls{font-size:8px;gap:10px;bottom:7px;padding:5px 8px}
 #gridlock-story-ui .story-hub-world .story-hub-prompt{font-size:10px;bottom:35px;padding:6px 10px}
 #gridlock-story-ui .story-hub-conversation{padding:12px;width:330px;border-radius:9px}
 #gridlock-story-ui .story-hub-conversation-header{margin-bottom:6px}
 #gridlock-story-ui .story-hub-conversation-header strong{font-size:15px}
 #gridlock-story-ui .story-hub-conversation-text{font-size:13px;line-height:1.45;margin-bottom:10px}
 #gridlock-story-ui .story-hub-conversation-actions{gap:5px}
 #gridlock-story-ui .story-hub-conversation-actions .story-button{min-height:34px;font-size:11px;padding:7px 9px}
 #gridlock-story-ui .story-hub-conversation-hint{margin-top:7px;font-size:8px}
}
@media(prefers-reduced-motion:reduce){#gridlock-story-ui .story-hub-conversation{animation:none}}
#gridlock-story-ui .story-hub-wallet-hud>div{display:flex;flex-direction:column;justify-content:center;gap:5px}
#gridlock-story-ui .story-hub-wallet-hud>div>span{font-size:9px;font-weight:800;line-height:1.4;letter-spacing:.04em}
#gridlock-story-ui .story-hub-wallet-hud>div:last-child{min-width:98px;max-width:140px}
#gridlock-story-ui .story-hub-conversation{display:flex;flex-direction:column;overflow:visible}
#gridlock-story-ui .story-hub-conversation-header,#gridlock-story-ui .story-hub-conversation-hint{flex:none}
#gridlock-story-ui .story-hub-conversation-text{flex:0 1 auto;min-height:2.9em;overflow-y:auto}
#gridlock-story-ui .story-hub-conversation-actions{flex:0 1 auto;min-height:38px;overflow-y:auto;scrollbar-color:#78989e #10222d}
#gridlock-story-ui .story-hub-conversation-actions .story-button{flex:none}

/* Rebuilt full-frame rooms; dialogue reads as a conversation, not a menu. */
#gridlock-story-ui .story-hub-world .story-hub-stage{width:min(100cqw,calc(100cqh * 1672 / 941));aspect-ratio:1672/941;box-shadow:none}
#gridlock-story-ui .story-hub-world .story-hub-canvas{width:100%;height:100%;aspect-ratio:1672/941}
#gridlock-story-ui .story-hub-world .story-hub-stage:after{box-shadow:none;background:linear-gradient(#080d1544,transparent 15%,transparent 92%,#080d1522)}
#gridlock-story-ui .story-hub-world:before{filter:blur(5px);opacity:1}
#gridlock-story-ui .story-hub-conversation{width:max-content;min-width:190px;max-width:min(390px,calc(100% - 24px));padding:18px 23px 15px;border:2px solid #344239;border-color:color-mix(in srgb,var(--story-speaker-color,#efbe67) 22%,#293a34);border-radius:30px 24px 34px 22px / 26px 30px 24px 32px;background:radial-gradient(ellipse at 24% 0%,#fffef4,#fff5dc 90%);box-shadow:0 9px 22px #0005,0 3px 0 #16251e33,inset 0 1px 0 #fff;color:#26372e;transition:left .16s ease-out,top .16s ease-out;isolation:isolate}
#gridlock-story-ui .story-hub-conversation[data-advance="true"]{cursor:pointer}
#gridlock-story-ui .story-hub-conversation:before{bottom:-18px;width:25px;height:20px;border:0;border-radius:0;background:#fff5dc;clip-path:polygon(0 0,100% 0,32% 100%);transform:translateX(-50%) skewX(-9deg);filter:drop-shadow(0 2px 0 #344239)}
#gridlock-story-ui .story-hub-conversation[data-placement="below"]:before{bottom:auto;top:-18px;background:#fffdf1;transform:translateX(-50%) rotate(180deg) skewX(-9deg)}
#gridlock-story-ui .story-hub-conversation[data-remote="true"]:before{display:none}
#gridlock-story-ui .story-hub-conversation-header{margin-bottom:6px;gap:24px;align-items:center}
#gridlock-story-ui .story-hub-conversation-header strong{display:flex;align-items:center;gap:7px;color:#49523e;font-size:12px;font-weight:800;letter-spacing:.025em;text-transform:none}
#gridlock-story-ui .story-hub-conversation-header strong:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--story-speaker-color,#efbe67);box-shadow:0 0 0 1px #30433633}
#gridlock-story-ui .story-hub-conversation-close{background:transparent;border:0;border-radius:50%;color:#78806b;font-size:18px;min-height:24px;min-width:24px;padding:0;line-height:1}
#gridlock-story-ui .story-hub-conversation-close:hover{color:#273c31;background:#314a3210}
#gridlock-story-ui .story-hub-conversation-text{color:#2a362d;font-size:17px;font-weight:500;line-height:1.5;margin:0;min-height:0;overflow-y:auto;scrollbar-color:#b6ac85 transparent}
#gridlock-story-ui .story-hub-conversation-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:7px 20px;min-height:0;overflow-y:auto;padding:9px 3px 4px;scrollbar-color:#b6ac85 transparent}
#gridlock-story-ui .story-hub-conversation-actions .story-button{display:inline-flex;width:auto;min-height:28px;padding:2px 0;margin:0;border:0;border-radius:3px;background:transparent;box-shadow:none;color:#51654a;font-family:var(--story-menu-copy);font-size:14px;font-weight:750;line-height:1.4;text-transform:none;white-space:normal;transform:none}
#gridlock-story-ui .story-hub-conversation-actions .story-button:hover,#gridlock-story-ui .story-hub-conversation-actions .story-button[aria-current="true"]{border:0;background:transparent;box-shadow:none;color:#204c37;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;transform:none}
#gridlock-story-ui .story-hub-conversation-actions .story-button:focus-visible{outline:2px solid #628369;outline-offset:2px}
#gridlock-story-ui .story-hub-speech-cue{align-self:flex-end;flex:none;height:13px;line-height:10px;color:#6e815e;letter-spacing:3px;font-size:18px;font-weight:800;margin-top:4px;pointer-events:none}
#gridlock-story-ui .story-hub-conversation:focus-visible{outline:2px solid #fff7cf88;outline-offset:3px}
@media(prefers-reduced-motion:reduce){#gridlock-story-ui .story-hub-conversation{transition:none}}
#gridlock-story-ui .story-hub-location{font-size:clamp(12px,1.2vw,17px);border-left-width:2px;padding:6px 10px}
#gridlock-story-ui .story-hub-wallet-hud{min-width:145px;max-width:210px;padding:7px 10px;background:#09151aba;border:1px solid #a6b5aa44;border-radius:4px;box-shadow:none}
#gridlock-story-ui .story-hub-wallet-hud strong{font-size:17px}
@media(max-width:600px),(max-height:500px){
 #gridlock-story-ui .story-hub-conversation{width:max-content;min-width:160px;max-width:min(315px,calc(100% - 24px));padding:11px 16px;border-radius:23px 19px 27px 18px}
 #gridlock-story-ui .story-hub-conversation-text{font-size:14px;line-height:1.4;margin-bottom:0}
 #gridlock-story-ui .story-hub-conversation-actions .story-button{font-size:12px;padding:3px 0}
 #gridlock-story-ui .story-hub-conversation-header strong{font-size:11px}
 #gridlock-story-ui .story-hub-wallet-hud{min-width:122px;max-width:175px;padding:5px 8px}
 #gridlock-story-ui .story-hub-wallet-hud strong{font-size:14px}
}

/* The night-shift board: pinned job slips, familiar destinations, and the rent ledger. */
#gridlock-story-ui[data-story-screen="board"] .story-main{padding:0;overflow:hidden}
#gridlock-story-ui[data-story-screen="board"] .story-board-page{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:18px;width:100%;height:100%;min-height:0;max-width:none;box-sizing:border-box;padding:clamp(22px,3.3vh,40px) clamp(24px,6vw,95px) 18px;border:0;border-radius:0;overflow:hidden;background:linear-gradient(#09292313,#05181435),var(--story-board-art) center/100% 100% no-repeat,#163733;color:#f1e4c4;box-shadow:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-page::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#041a1726,transparent 18%,transparent 82%,#041a1726);pointer-events:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-page>.story-page-heading{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:24px;margin:0;padding:0 3px;border:0;background:none;box-shadow:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-title{flex:0 0 auto;padding:2px 0 0}
#gridlock-story-ui[data-story-screen="board"] .story-board-title>.story-eyebrow{font:700 8px/1.3 "Avenir Next",Avenir,sans-serif;color:#ded0a4;letter-spacing:.19em;text-shadow:0 1px 2px #06120c}
#gridlock-story-ui[data-story-screen="board"] .story-page-heading h1{margin:7px 0 10px;color:#fff2d1;text-shadow:0 2px 8px #021710bd;font:italic 600 clamp(30px,3.1vw,47px)/1 Georgia,serif;letter-spacing:-.045em;white-space:nowrap}
#gridlock-story-ui[data-story-screen="board"] .story-board-title-actions{display:flex;flex-wrap:wrap;gap:7px}
#gridlock-story-ui[data-story-screen="board"] .story-board-title-actions .story-button{min-height:28px;padding:5px 9px;font-size:10px;font-weight:600;background:#07282499;border:1px solid #d9c89666;border-radius:3px;box-shadow:none;color:#eee0bb}
#gridlock-story-ui[data-story-screen="board"] .story-board-title-actions .story-button:hover{background:#28473b;border-color:#e7d49c}
#gridlock-story-ui[data-story-screen="board"] .story-board-title-actions [data-story-action="board-back"]{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:7px 12px;background:#e7d8b4;color:#264438;border-color:#f2e6c9;font-size:12px;font-weight:800;box-shadow:1px 2px 0 #031c1680}
#gridlock-story-ui[data-story-screen="board"] .story-board-title-actions [data-story-action="board-back"]:hover{background:#fff0cc;color:#183b2b}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel{flex:0 1 690px;max-width:64%;padding:13px 17px 14px;position:relative;border:1px solid #bca87b;border-radius:2px;transform:rotate(.35deg);background:linear-gradient(112deg,#f7eed6,#e5d7b8);color:#374136;box-shadow:1px 3px 0 #09201a22,0 6px 13px #001a164a}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel::before,#gridlock-story-ui[data-story-screen="board"] .story-board-travel::after{position:absolute;content:"";top:-6px;width:34px;height:13px;background:#cfbd8a9e;border:1px solid #e3d4aa3b;box-shadow:0 1px 1px #3a382025;transform:rotate(-4deg)}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel::before{left:17px}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel::after{right:17px;transform:rotate(7deg)}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:9px;padding-bottom:7px;border-bottom:1px solid #86724e47}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label>span{color:#6e5131;font:800 8px/1.25 "Avenir Next",Avenir,sans-serif;letter-spacing:.14em}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label>small{font:italic 11px/1.25 Georgia,serif;color:#746447}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links{display:flex;flex-wrap:wrap;gap:6px}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button{display:flex;align-items:center;justify-content:space-between;gap:11px;min-height:32px;padding:7px 10px;border:1px solid #74806866;border-radius:3px;background:#fcf7e64a;color:#304535;font:650 11px/1.15 "Avenir Next",Avenir,sans-serif;box-shadow:0 1px 0 #fffa;text-transform:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button>span{color:#9c653e;font-size:12px}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button:hover{color:#192e22;border-color:#697752;background:#fff7de;transform:translateY(-1px)}
#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button:focus-visible{outline:2px solid #184638;outline-offset:2px}
#gridlock-story-ui[data-story-screen="board"] .story-board-page>.story-board-content{display:flex;flex:1;flex-direction:column;min-height:0;width:100%;max-width:none;gap:18px;margin:0;padding:4px 7px 14px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#c3b88680 #001c1626}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet{display:grid;grid-template-columns:auto auto minmax(120px,1fr) minmax(100px,190px) auto;align-items:center;gap:18px;flex:none;min-width:0;padding:12px 18px;border:1px solid #c6b88061;border-radius:4px;background:linear-gradient(105deg,#082b26ea,#123d33ed);box-shadow:inset 0 1px #f6ebbc10,0 4px 12px #03191143;color:#ece3c9}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>div>span{font-size:8px;line-height:1;letter-spacing:.13em;color:#bfc9af}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>div>strong{font:400 27px/1 Georgia,serif;letter-spacing:-.03em;color:#fbe9af}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>p{display:block;grid-column:auto;min-width:0;margin:0;color:#d1d9c1;font-size:11px;line-height:1.45}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>progress{display:block;grid-column:auto;width:100%;height:5px;margin:0;border:0;border-radius:5px;accent-color:#d8bd77;background:#06201b}
#gridlock-story-ui[data-story-screen="board"] .story-wallet>progress::-webkit-progress-bar{background:#06201b}
#gridlock-story-ui[data-story-screen="board"] .story-wallet>progress::-webkit-progress-value{background:#d8bd77}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>.story-button{grid-column:auto;padding:9px 12px;min-height:35px;border-radius:3px;font-size:10px;background:#ebd49a;color:#263c2c;border:1px solid #f3dfa9;box-shadow:none;white-space:nowrap}
#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-mission-board{flex:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:0 0 15px;padding:0 4px 9px;border-bottom:1px solid #dace9b3d;background:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-heading>.story-eyebrow{display:block;font-size:8px;letter-spacing:.16em;color:#d9c997}
#gridlock-story-ui[data-story-screen="board"] .story-board-heading>h2{display:block;margin:0;color:#faeac8;font:italic 400 23px/1.2 Georgia,serif;letter-spacing:-.025em}
#gridlock-story-ui[data-story-screen="board"] .story-board-heading>p{display:block;flex:1;min-width:230px;margin:0;font-size:10px;line-height:1.5;color:#bacbb8;text-align:right}
#gridlock-story-ui[data-story-screen="board"] .story-board-jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(265px,100%),1fr));gap:20px;align-items:stretch;grid-auto-rows:auto;padding:5px 2px;overflow:visible}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job{--job-tab:#913e32;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:10px;min-height:212px;height:auto;max-width:520px;padding:25px 20px 18px;margin:0;border:1px solid #b9ab89;border-top:1px solid #d7cbb0;border-radius:2px;background:radial-gradient(ellipse at 95% 0%,#fffc,transparent 65%),linear-gradient(115deg,#f1e5c9,#e8dabb);color:#273e35;box-shadow:1px 2px 0 #d9cba755,0 7px 12px #001b156e;text-align:left;transform:none;transition:transform .16s,box-shadow .16s;overflow:visible;scroll-margin-block:15px;text-shadow:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-job[data-story-job-type="delivery"]{--job-tab:#336b66}
#gridlock-story-ui[data-story-screen="board"] .story-board-job[data-story-job-type="sidequest"]{--job-tab:#a27636}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job::before{position:absolute;content:"";left:20px;top:-5px;width:44px;height:12px;background:var(--job-tab);border:1px solid #0002;border-radius:1px 1px 0 0;box-shadow:0 2px 3px #4632162b;transform:rotate(-1.5deg)}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job::after{position:absolute;content:"";top:5px;right:17px;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff9 0 15%,#aea899 25%,#66665a 65%,#373f33);box-shadow:1px 2px 2px #473a2466}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job:hover{transform:translateY(-3px) rotate(-.25deg);box-shadow:1px 3px 0 #d9cba788,0 10px 17px #001b1590;background:radial-gradient(ellipse at 95% 0%,#fffc,transparent 65%),linear-gradient(115deg,#fff1d1,#eddfbd);border-color:#dfc997}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job:focus-visible{outline:3px solid #efd188;outline-offset:4px}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-top{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;min-height:17px;color:#5c6957;font-size:8px;line-height:1.4;letter-spacing:.08em}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-top>span{color:var(--job-tab);font-weight:850}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-top>b{color:#374e36;font:700 17px/1 Georgia,serif;letter-spacing:-.025em;white-space:nowrap}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job>strong{margin:0;color:#273c31;font:700 27px/1.03 Georgia,serif;letter-spacing:-.045em}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-objective{font:700 11px/1.4 "Avenir Next",Avenir,sans-serif;letter-spacing:0;color:#56613d}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-summary{display:block;color:#635c49;font:400 12px/1.55 "Avenir Next",Avenir,sans-serif;max-width:none}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-condition{display:block;align-self:flex-start;padding:4px 6px;border:1px solid #ac7a504f;border-radius:2px;color:#885b35;font-size:8px;letter-spacing:.06em;background:#bf874f0a}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #8d825541;color:#3c593f;font:700 11px/1.35 "Avenir Next",Avenir,sans-serif}
#gridlock-story-ui[data-story-screen="board"] .story-board-job-bottom>b{color:var(--job-tab);font-size:20px;line-height:1}
#gridlock-story-ui[data-story-screen="board"] .story-board-rent-support{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 2px 18px;padding:12px 15px;background:#e9d79ee8;border:1px solid #bfa566;border-radius:3px;color:#56462c}
#gridlock-story-ui[data-story-screen="board"] .story-board-rent-support strong,#gridlock-story-ui[data-story-screen="board"] .story-board-rent-support span{color:inherit}
#gridlock-story-ui[data-story-screen="board"] .story-board-footnote{display:flex;flex:none;justify-content:space-between;gap:15px;padding:0 5px;color:#b9bc9a88;font:700 7px/1.3 "Avenir Next",Avenir,sans-serif;letter-spacing:.16em;pointer-events:none}
#gridlock-story-ui .story-hub-location [data-story-travel-return]{display:block;pointer-events:auto;margin:7px 0 0;padding:3px 0;min-height:23px;border:0;border-radius:0;background:none;box-shadow:none;color:#d6d4b8;font-size:10px;font-weight:650;text-align:left;text-decoration:none}
#gridlock-story-ui .story-hub-location [data-story-travel-return]:hover{color:#ffe4a5;background:none}
@media(max-width:1050px){#gridlock-story-ui[data-story-screen="board"] .story-board-page{padding-inline:5vw;gap:15px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel{max-width:62%;padding:12px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label{display:block}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label>small{display:block;margin-top:4px}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet{gap:13px;padding:11px 14px;grid-template-columns:auto auto minmax(80px,1fr) auto}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>progress{display:none}#gridlock-story-ui[data-story-screen="board"] .story-board-jobs{gap:17px}#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job{padding:23px 17px 16px}}
@media(max-width:650px){#gridlock-story-ui[data-story-screen="board"] .story-board-page{padding:18px 15px 12px;gap:12px;background-size:auto 100%}#gridlock-story-ui[data-story-screen="board"] .story-board-page>.story-page-heading{display:block;padding:0 3px}#gridlock-story-ui[data-story-screen="board"] .story-board-title{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:5px 10px}#gridlock-story-ui[data-story-screen="board"] .story-board-title>.story-eyebrow{width:100%;font-size:7px}#gridlock-story-ui[data-story-screen="board"] .story-page-heading h1{font-size:29px;margin:2px 0 8px}#gridlock-story-ui[data-story-screen="board"] .story-board-title-actions{margin-bottom:7px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel{max-width:none;width:auto;transform:none;padding:10px 11px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label{display:flex;gap:7px;margin-bottom:7px;padding-bottom:6px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label>span{font-size:7px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label>small{font-size:9px;margin:0}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links{gap:4px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button{font-size:9px;min-height:30px;padding:7px 8px;gap:7px}#gridlock-story-ui[data-story-screen="board"] .story-board-page>.story-board-content{padding:3px 5px 10px;gap:13px}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet{grid-template-columns:auto auto minmax(0,1fr);gap:8px 12px;padding:10px 12px}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>div>strong{font-size:23px}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>div>span{font-size:7px}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>p{font-size:10px}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet>.story-button{grid-column:1/-1;min-height:32px}#gridlock-story-ui[data-story-screen="board"] .story-board-heading{gap:6px 10px;margin-bottom:13px}#gridlock-story-ui[data-story-screen="board"] .story-board-heading>h2{font-size:21px}#gridlock-story-ui[data-story-screen="board"] .story-board-heading>p{min-width:0;flex-basis:100%;text-align:left;font-size:10px}#gridlock-story-ui[data-story-screen="board"] .story-board-jobs{grid-template-columns:1fr;gap:19px;padding:4px 1px}#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job{max-width:none;min-height:195px;padding:23px 18px 17px}#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job>strong{font-size:26px}#gridlock-story-ui[data-story-screen="board"] .story-board-job-summary{font-size:12px}#gridlock-story-ui[data-story-screen="board"] .story-board-footnote{font-size:6px;letter-spacing:.06em}}
@media(max-height:600px){#gridlock-story-ui[data-story-screen="board"] .story-board-page{padding-block:14px 10px;gap:10px}#gridlock-story-ui[data-story-screen="board"] .story-page-heading h1{font-size:29px;margin:5px 0 7px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel{padding-block:10px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label{margin-bottom:6px;padding-bottom:5px}#gridlock-story-ui[data-story-screen="board"] .story-board-travel-label>small{display:none}#gridlock-story-ui[data-story-screen="board"] .story-board-content>.story-wallet{padding-block:9px}#gridlock-story-ui[data-story-screen="board"] .story-board-footnote{display:none}}
@media(prefers-reduced-motion:reduce){#gridlock-story-ui[data-story-screen="board"] .story-board-job,#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button{transition:none}#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job:hover,#gridlock-story-ui[data-story-screen="board"] .story-board-travel-links .story-button:hover{transform:none}}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo{position:relative;align-self:center;justify-self:center;width:min(100%,360px);box-sizing:border-box;padding:24px 27px 23px;background:linear-gradient(110deg,#d3dfce,#b9cab5);border:1px solid #7f987d;border-radius:2px;box-shadow:1px 3px 1px #08241a4d,0 7px 16px #001a164a;color:#244638;transform:rotate(1.2deg)}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo::before{content:"";position:absolute;top:-7px;left:calc(50% - 17px);width:34px;height:17px;background:#e4d5a68c;transform:rotate(-8deg);border:1px solid #efe4c33b}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo>span{font:800 7px/1.3 "Avenir Next",sans-serif;letter-spacing:.17em;color:#517057}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo>strong{display:block;font:italic 500 30px/1.05 Georgia,serif;letter-spacing:-.045em;margin:13px 0}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo>p{margin:0 15px 15px 0;font:400 11px/1.6 "Avenir Next",sans-serif;color:#4c654e}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo>small{display:block;border-top:1px solid #637e6040;padding-top:12px;font:italic 12px/1.3 Georgia,serif;color:#48654b}
#gridlock-story-ui[data-story-screen="board"] .story-board-memo>b{position:absolute;right:18px;bottom:21px;font:400 28px/1 Georgia,serif;color:#89754c}
@media(max-width:650px){#gridlock-story-ui[data-story-screen="board"] .story-board-memo{width:90%;margin:2px 0 8px;padding:22px}#gridlock-story-ui[data-story-screen="board"] .story-board-memo>strong{font-size:27px}}
/* The generated frame has a clear inset of x7.3–92%, y6.8–87.8%. Keep every
   control inside it; only the job-paper area scrolls when the viewport is short. */
#gridlock-story-ui[data-story-screen="board"] .story-main{container-type:size}
#gridlock-story-ui[data-story-screen="board"] .story-board-page{padding:8cqh 8cqw 14cqh;background-size:100% 100%}
/* Two paper dividers keep new work and familiar practice on the same board. */
#gridlock-story-ui[data-story-screen="board"] .story-board-tabs{display:flex;flex:none;align-items:end;gap:7px;padding:0 4px;border-bottom:1px solid #ddca955e}
#gridlock-story-ui[data-story-screen="board"] .story-board-tabs .story-button{min-height:37px;margin-bottom:-1px;padding:10px 17px;border:1px solid #ab9c755e;border-bottom-color:#ddca955e;border-radius:6px 6px 0 0;background:#253e32eb;box-shadow:inset 0 1px #fff1;color:#d1d4bc;font:700 12px/1.2 "Avenir Next",Avenir,sans-serif;letter-spacing:.02em}
#gridlock-story-ui[data-story-screen="board"] .story-board-tabs .story-button[aria-selected="true"]{color:#2b4636;background:linear-gradient(105deg,#fbefd0,#e4d5ae);border-color:#ddca95;border-bottom-color:#e8dbb9;box-shadow:0 -2px 6px #061b1940;transform:translateY(-1px)}
#gridlock-story-ui[data-story-screen="board"] .story-board-tabs .story-button:hover{color:#f8eaca;background:#385240}
#gridlock-story-ui[data-story-screen="board"] .story-board-tabs .story-button[aria-selected="true"]:hover{color:#213c2e;background:#fff1d1}
#gridlock-story-ui[data-story-screen="board"] .story-board-tabs .story-button:focus-visible{outline:2px solid #efd188;outline-offset:3px}
#gridlock-story-ui[data-story-screen="board"] .story-board-empty,#gridlock-story-ui[data-story-screen="board"] .story-board-story-note{position:relative;max-width:600px;padding:25px 30px;background:linear-gradient(110deg,#f7ecd0,#e4d6b8);border:1px solid #b9a57e;border-radius:2px;box-shadow:2px 5px 15px #001c1766;color:#334a39}
#gridlock-story-ui[data-story-screen="board"] .story-board-story-note::before{position:absolute;content:"";width:45px;height:13px;top:-6px;left:30px;background:#a5793d;transform:rotate(-2deg)}
#gridlock-story-ui[data-story-screen="board"] .story-board-story-note>span{font:800 8px/1.4 "Avenir Next",sans-serif;letter-spacing:.13em;color:#866137}
#gridlock-story-ui[data-story-screen="board"] .story-board-empty>strong,#gridlock-story-ui[data-story-screen="board"] .story-board-story-note>h3{display:block;margin:12px 0;font:700 28px/1.1 Georgia,serif;letter-spacing:-.035em;color:#2b4033}
#gridlock-story-ui[data-story-screen="board"] .story-board-empty>p,#gridlock-story-ui[data-story-screen="board"] .story-board-story-note>p{font:400 13px/1.6 "Avenir Next",sans-serif;color:#635b46}
#gridlock-story-ui[data-story-screen="board"] .story-board-story-note>.story-button{min-height:36px;margin-top:12px;padding:9px 14px;background:#33513d;border:1px solid #214331;border-radius:3px;box-shadow:none;font-size:12px;color:#f6e9c7}
#gridlock-story-ui[data-story-screen="board"] .story-board-content .story-board-job:disabled{opacity:.7;cursor:default;filter:saturate(.5);transform:none;box-shadow:1px 3px 0 #d9cba744,0 4px 12px #001b1560}
@media(max-width:650px){#gridlock-story-ui[data-story-screen="board"] .story-board-tabs{gap:5px;padding-inline:0}#gridlock-story-ui[data-story-screen="board"] .story-board-tabs .story-button{flex:1;min-height:35px;padding:9px 8px;font-size:10px}#gridlock-story-ui[data-story-screen="board"] .story-board-empty,#gridlock-story-ui[data-story-screen="board"] .story-board-story-note{padding:21px 19px}#gridlock-story-ui[data-story-screen="board"] .story-board-story-note>h3{font-size:25px}}
