/* Spatial story: original motion transforms remain; new content follows its hosts. */
#app .dial,#app .side-a,#app .tri{margin-left:calc(var(--story37-x,0) * var(--s,1px))!important}
.story37-phone{position:absolute;left:50%;top:50%;width:33%;height:64%;z-index:5;transform-origin:center;pointer-events:none;opacity:0}.story37-phone img{width:100%;height:100%;object-fit:contain;display:block}
.story37-states{position:absolute;left:50%;top:50%;width:36%;height:62%;z-index:5;opacity:0;pointer-events:none}.story37-states img{width:100%;height:100%;object-fit:contain;display:block}
.story37-text{position:fixed;z-index:18;top:17vh;right:6vw;width:37vw;max-width:510px;pointer-events:none;color:#171717;visibility:hidden;transform-origin:center;}
.story37-text[data-scene="1"],.story37-text[data-scene="2"]{right:auto;left:6vw;width:37vw}
.story37-number{font:11px/1.6 'Lemon Mono','Lemon Sarasa',monospace;letter-spacing:.07em;border-top:3px solid #171717;padding-top:9px;display:block}
.story37-text h2{font:700 clamp(24px,2.4vw,33px)/1.25 'Lemon Mono','Lemon Sarasa',monospace;letter-spacing:-.02em;margin:20px 0 22px}
html[lang^=zh] .story37-text h2{font-family:'Lemon Fusion','Lemon Sarasa',monospace;font-weight:400;line-height:1.45;font-size:clamp(24px,2.35vw,30px)}
.story37-body p{font:400 clamp(14px,1.2vw,16px)/1.8 'Lemon Mono','Lemon Sarasa',monospace;margin:0 0 15px;text-wrap:pretty}
.story37-principle{font:700 14px/1.65 'Lemon Mono','Lemon Sarasa',monospace;border-left:3px solid #171717;padding-left:13px;margin:22px 0 0}
.story37-decision{position:absolute;z-index:8;left:10%;top:19%;width:72%;display:flex;flex-direction:column;gap:16px;opacity:0;color:#171717;font:400 calc(28 * var(--s))/1.5 'Lemon Mono','Lemon Sarasa',monospace;pointer-events:none}.story37-decision strong{font-weight:700}.story37-decision span:first-child{text-decoration:line-through;color:#777}
body[data-story37="2"] #app .tri__shout,body[data-story37="2"] #app .tri__lead{opacity:calc(1 - var(--story37-intro))!important}
.story37-process{position:absolute;left:14%;top:16%;width:72%;z-index:4;opacity:0;font:12px/1.5 'Lemon Mono','Lemon Sarasa',monospace}body[data-story37="1"] .story37-process{opacity:1}.story37-process p{font-size:17px;font-weight:700}
body[data-story37="0"] #app .dial__title,body[data-story37="0"] #app .dial__kicker{opacity:0!important}
@media(max-width:700px){.story37-text{top:51vh;left:6vw!important;right:auto;width:88vw!important;max-width:none;background:#f2efe8eb;padding:10px;box-sizing:border-box}.story37-text h2{font-size:19px!important;margin:8px 0}.story37-body p{font-size:12px;line-height:1.5;margin-bottom:6px}.story37-number{font-size:9px}.story37-principle{font-size:11px;margin-top:8px}}

#app{top:var(--story37-offset,0px)!important}
body[data-story37="0"] #app .dial{margin-top:calc(-135 * var(--story37-intro) * var(--s))!important}
body[data-story37="0"] #app .bar :is(p,h2),body[data-story37="0"] #app .pill :is(p,h2),body[data-story37="0"] #app .v-card :is(.v-turn,.v-card__no,.v-card__shout),body[data-story37="1"] #app .bar :is(p,h2),body[data-story37="1"] #app .pill :is(p,h2),body[data-story37="1"] #app .v-card :is(.v-turn,.v-card__no,.v-card__shout),body[data-story37="2"] #app .bar :is(p,h2),body[data-story37="2"] #app .pill :is(p,h2),body[data-story37="2"] #app .v-card :is(.v-turn,.v-card__no,.v-card__shout){opacity:calc(1 - var(--story37-intro))!important}

.story37-legend{display:flex;gap:20px;margin:20px 0 0;font:11px/1.5 'Lemon Mono','Lemon Sarasa',monospace}.story37-legend span:before{content:'';display:inline-block;width:8px;height:8px;background:#aaa;margin-right:6px}.story37-legend span:nth-child(2):before{background:#3c8aff}.story37-legend span:nth-child(3):before{background:#e3b400}.story37-legend span:nth-child(4):before{background:#d53737}

@font-face{font-family:'Story Mechanical';src:url('/studies/integrated40/story-media/SarasaMonoSC-Regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:'Story Mechanical';src:url('/studies/integrated40/story-media/SarasaMonoSC-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
html[lang^=zh] .story37-text :is(h2,.story37-number,.story37-body p,.story37-principle){font-family:'Story Mechanical','Lemon Sarasa',monospace}html[lang^=zh] .story37-text h2{font-weight:700;font-size:clamp(24px,2.25vw,29px);line-height:1.4}.system35-heading h2,.system35-intro{font-family:'Story Mechanical','Lemon Sarasa',monospace}.system35-drawing svg g[font-family]{font-family:'Story Mechanical','Lemon Sarasa',monospace}

.story37-ai{position:absolute;inset:0;display:flex;justify-content:center;gap:12px;opacity:0}.story37-ai img{width:68%;height:100%;object-fit:contain}.story37-states>img{transition:none}
.story37-decision{left:20%;top:17%;font-size:calc(22 * var(--s));gap:12px}
