:root{--story-paper:#F8F8F8;--story-ink:#021024;--story-muted:#7DA0CA;--story-wash:#D6E8F5}
.story-opening{min-height:68svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:108px 24px 72px;background:#052659;color:#D6E8F5}
.story-opening .story-kicker{font-size:13px;font-weight:700;letter-spacing:.18em;color:#7DA0CA}
.story-opening h1{font-size:clamp(42px,5.2vw,74px);font-weight:580;letter-spacing:-.06em;line-height:1.02;max-width:950px;margin:22px 0 20px}
.story-opening h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em}
.story-opening p{font-size:clamp(17px,1.45vw,20px);line-height:1.5;max-width:600px;margin:0;color:#D6E8F5}
.story-start{display:inline-flex;align-items:center;gap:16px;margin-top:34px;padding:12px 20px;background:#D6E8F5;color:#052659;border-radius:100px;font-size:15px;font-weight:650;text-decoration:none}
.story-start span{font-size:20px;font-weight:400;line-height:1}
body[data-mode=essencia] .story-opening,body[data-mode=editorial] .story-opening,body[data-mode=espelho] .story-opening{background:#D6E8F5;color:#021024}
body[data-mode=essencia] .story-opening p,body[data-mode=editorial] .story-opening p,body[data-mode=espelho] .story-opening p{color:#052659}
body[data-mode=essencia] .story-opening .story-kicker,body[data-mode=editorial] .story-opening .story-kicker,body[data-mode=espelho] .story-opening .story-kicker{color:#7DA0CA}
body[data-mode=essencia] .story-start,body[data-mode=editorial] .story-start,body[data-mode=espelho] .story-start{background:#052659;color:#D6E8F5}
body[data-mode=precisao] .story-opening,body[data-mode=respiro] .story-opening{background:#F8F8F8;color:#021024}
body[data-mode=precisao] .story-opening p,body[data-mode=respiro] .story-opening p{color:#052659}
body[data-mode=precisao] .story-opening .story-kicker,body[data-mode=respiro] .story-opening .story-kicker{color:#7DA0CA}
body[data-mode=precisao] .story-start,body[data-mode=respiro] .story-start{background:#052659;color:#D6E8F5}
body[data-mode=cinema] .story-opening{background:#021024}

body[data-title=integrado] .atc .integrated-title{display:none}
body[data-title=integrado] .at9 .atc-stage{gap:clamp(38px,5vw,92px);align-items:center}
.phone-scene{position:relative;flex:none;height:100%;width:auto;aspect-ratio:9/19.2;display:flex;align-items:center;justify-content:center;isolation:isolate}
body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 58px);width:auto;aspect-ratio:9/19.2;position:relative;z-index:2;box-shadow:0 20px 55px #02102429}
.story-archive{position:absolute;z-index:1;top:13%;right:-112px;width:142px;height:210px;overflow:hidden;border:1px solid #7DA0CA;border-radius:16px;background:#7DA0CA;opacity:0;filter:grayscale(1);transition:opacity .45s ease,transform .45s ease;pointer-events:none;box-shadow:0 8px 20px #0210241a}
.story-archive.has-history{opacity:.55;transform:translateY(-4px)}
.story-archive .archive-mini{position:absolute;top:0;left:0;width:300px;height:650px;transform:scale(.48);transform-origin:top left;filter:grayscale(1)}
.story-archive .dv-s{position:absolute;inset:0;overflow:hidden;background:#F8F8F8}
.story-archive .side-cap{display:none}
.story-archive::after{content:'';position:absolute;inset:0;background:#7DA0CA;mix-blend-mode:color}

body[data-title=integrado] .at9 .atc-txt{position:relative;height:100%;overflow:hidden}
.story-history{position:absolute;top:4%;left:0;right:0;display:grid;gap:0;min-height:120px}
.history-row{width:100%;display:flex;align-items:center;gap:14px;border:0;border-bottom:1px solid #7DA0CA6b;background:none;padding:10px 0;text-align:left;color:#7DA0CA;filter:grayscale(1);opacity:.53;transition:opacity .3s ease}
.history-row:hover,.history-row:focus-visible{opacity:.9}
.history-row .story-icon{width:20px;height:20px;flex:none;color:inherit}
.history-row span:last-child{font-size:15px;font-weight:550;line-height:1.25}
.story-now{position:absolute;top:29%;left:0;color:#7DA0CA;font-size:12px;font-weight:750;letter-spacing:.14em}
body[data-title=integrado] .at9 .atc-p{top:35%;height:340px;gap:14px}
body[data-title=integrado] .at9 .atc-p .ey{display:flex;align-items:center;gap:11px;font-size:15px;color:#052659}
.at9 .atc-p .ey .story-icon{width:28px;height:28px;flex:none;color:currentColor}
body[data-title=integrado] .at9 .atc-p h3{font-size:clamp(35px,3.25vw,45px);line-height:1.08}
body[data-title=integrado] .at9 .atc-p p{font-size:18px;line-height:1.48;max-width:36ch}
.story-upcoming{position:absolute;left:0;right:0;bottom:4%;display:grid;gap:0}
.upcoming-row{width:100%;border:0;border-top:1px solid #7DA0CA6b;background:none;text-align:left;color:#7DA0CA;padding:11px 0;display:flex;align-items:center;gap:13px;opacity:.55;filter:grayscale(1)}
.upcoming-row span:last-child{font-size:15px;font-weight:560}
.upcoming-row .story-icon{width:18px;height:18px;flex:none}
.upcoming-row:hover,.upcoming-row:focus-visible{opacity:1}
body[data-theme=noite] .history-row,body[data-theme=noite] .upcoming-row{color:#7DA0CA;border-color:#7DA0CA78}
body[data-theme=noite] .story-now,body[data-theme=noite] .at9 .atc-p .ey{color:#D6E8F5}
body[data-theme=noite] .story-icon{color:#D6E8F5}
body[data-title=integrado] .at9 .atc-foot .chapters{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}
body[data-title=integrado] .at9 .atc-foot{border:0;max-width:min(1080px,100%)}
.story-icon{display:inline-block;width:24px;height:24px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ai-marks{display:flex;flex-wrap:wrap;gap:14px;margin-top:6px}
.ai-mark{display:inline-flex;align-items:center;gap:7px;color:#052659;font-size:12px;font-weight:650}
.ai-mark .brand-mark{display:block;width:18px;height:18px;background:currentColor;mask:var(--icon-url) center/contain no-repeat;-webkit-mask:var(--icon-url) center/contain no-repeat}
body[data-theme=noite] .ai-mark{color:#D6E8F5}
body[data-mode=editorial] .at9 .atc-p h3{font-family:Georgia,serif;font-weight:400}
body[data-mode=respiro] .at9 .atc-p h3{font-size:clamp(32px,3vw,40px)}
body[data-mode=assinatura] .at9 .atc-p h3{font-size:clamp(31px,2.8vw,39px)}
body[data-mode=cinema] .story-opening h1{font-size:clamp(50px,6vw,86px)}
body[data-mode=editorial] .story-opening h1{font-family:Georgia,serif;font-weight:400}
body[data-mode=editorial] .story-archive{top:3%;right:-90px;height:170px}
body[data-mode=respiro] .story-history{top:8%}
body[data-mode=respiro] .story-archive{top:9%;right:-95px;width:126px;height:154px}
body[data-mode=espelho] .story-archive,body[data-mode=cinema] .story-archive{right:auto;left:-112px}
body[data-mode=espelho] .story-history,body[data-mode=cinema] .story-history{top:6%}
body[data-mode=cinema] .story-archive{top:3%;height:170px}
body[data-mode=assinatura] .story-upcoming{bottom:9%}
body[data-mode=assinatura] .story-archive{top:22%;height:180px}
body[data-mode=essencia] .phone-scene .dv{border-radius:47px}
body[data-mode=cinema] .story-archive,body[data-mode=assinatura] .story-archive{filter:grayscale(1) brightness(1.2)}
@media(max-width:980px){body[data-title=integrado] .at9 .atc-stage{gap:22px}}
@media(max-width:860px){
 .story-opening{min-height:55svh;padding:100px 28px 56px}
 .story-opening h1{font-size:clamp(38px,7vw,58px)}
 body[data-title=integrado] .at9 .atc-stage{flex-direction:column-reverse!important;gap:10px;justify-content:center}
 body[data-title=integrado] .at9 .atc-txt{height:270px;width:min(560px,100%);flex:none}
 .story-history{top:0;min-height:34px}
 .history-row:not(:last-child){display:none}
 .history-row{padding:3px 0 5px;border-bottom:0}
 .history-row span:last-child{font-size:12px}
 .story-now{top:15%;font-size:11px}
 body[data-title=integrado] .at9 .atc-p{top:25%;height:185px;gap:7px}
 body[data-title=integrado] .at9 .atc-p h3,body[data-mode=editorial] .at9 .atc-p h3,body[data-mode=respiro] .at9 .atc-p h3,body[data-mode=assinatura] .at9 .atc-p h3{font-size:clamp(27px,4.8vw,35px)}
 body[data-title=integrado] .at9 .atc-p p{font-size:16px;line-height:1.36}
 body[data-title=integrado] .at9 .atc-p .ey{font-size:13px}
 .at9 .atc-p .ey .story-icon{width:20px;height:20px}
 .story-upcoming{bottom:0}.upcoming-row:not(:first-child){display:none}.upcoming-row{padding:5px 0}.upcoming-row span:last-child{font-size:12px}
 .phone-scene{height:clamp(340px,48svh,480px)}
 body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 36px);width:auto}
 .story-archive,body[data-mode] .story-archive{height:65px;width:100px;top:0;left:50%;right:auto;transform:translateX(-50%)}
 .story-archive.has-history,body[data-mode] .story-archive.has-history{transform:translateX(-50%);opacity:.5}
 .story-archive .archive-mini{transform:scale(.34)}
}
@media(max-width:520px){
 .story-opening{min-height:60svh;padding:95px 22px 48px}
 .story-opening h1{font-size:clamp(37px,10vw,50px)}
 body[data-title=integrado] .at9 .atc-stage{min-height:0}
 body[data-title=integrado] .at9 .atc-txt{height:min(285px,35svh)}
 .phone-scene{height:min(365px,42svh)}
 body[data-title=integrado] .at9 .atc-p{top:25%;height:190px}
 body[data-title=integrado] .at9 .atc-p h3{font-size:29px}
 body[data-title=integrado] .at9 .atc-p p{font-size:15px}
 .ai-marks{gap:5px 10px}.ai-mark{font-size:10px}.ai-mark .brand-mark{width:14px;height:14px}
}

@media(prefers-reduced-motion:reduce){.story-archive,.history-row{transition:none}}

/* O histórico pertence ao fluxo vertical do visual, nunca flutua ao lado do aparelho. */
body[data-mode] .at9 .atc-stick{background:var(--scene-bg)}
body[data-mode=essencia],body[data-mode=editorial],body[data-mode=espelho]{--scene-bg:#D6E8F5}
body[data-mode=precisao],body[data-mode=respiro]{--scene-bg:#F8F8F8}
body[data-mode=cinema]{--scene-bg:#021024}
body[data-mode=assinatura]{--scene-bg:#052659}
.story-opening{min-height:clamp(480px,58svh,660px)}
body[data-title=integrado] .at9 .atc-stage{align-items:center;gap:clamp(50px,8vw,132px)}
body[data-title=integrado] .at9 .atc .phone-scene{width:min(43vw,420px);height:100%;aspect-ratio:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;overflow:hidden}
body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 130px);max-height:570px;min-height:0;aspect-ratio:9/19.2;flex:none}
body[data-title=integrado] .at9 .atc .story-archive,
body[data-mode] .at9 .atc .story-archive{position:relative;inset:auto;width:min(100%,370px);height:104px;flex:none;border:0;border-radius:16px;background:transparent;box-shadow:none;transform:none;overflow:hidden;filter:grayscale(1);opacity:0}
body[data-title=integrado] .at9 .atc .story-archive.has-history,
body[data-mode] .at9 .atc .story-archive.has-history{opacity:.48;transform:none}
.story-archive .archive-mini{left:50%;top:0;transform:translateX(-50%) scale(.74);transform-origin:top center;filter:grayscale(1)}
.story-archive::after{background:linear-gradient(180deg,transparent 30%,var(--scene-bg) 100%);mix-blend-mode:normal}
body[data-theme=noite] .story-archive .archive-mini{filter:grayscale(1) brightness(1.75)}
body[data-title=integrado] .at9 .atc-txt{height:100%}
body[data-title=integrado] .at9 .atc-p{top:34%;height:300px}
body[data-title=integrado] .at9 .atc-p h3{font-size:clamp(31px,3.1vw,43px)}
body[data-title=integrado] .at9 .atc-p p{max-width:38ch}
body[data-mode=editorial] .at9 .atc-stage{width:min(1140px,100%)}
body[data-mode=respiro] .at9 .atc-stage{width:min(1000px,100%);gap:clamp(70px,10vw,160px)}
body[data-mode=espelho] .at9 .atc-stage,body[data-mode=cinema] .at9 .atc-stage{flex-direction:row-reverse}
body[data-mode=cinema] .story-opening,body[data-mode=assinatura] .story-opening{background:var(--scene-bg)}
@media(max-width:860px){
 body[data-mode] .at9 .atc-stick{background:var(--scene-bg)}
 body[data-title=integrado] .at9 .atc-stage,body[data-mode=espelho] .at9 .atc-stage,body[data-mode=cinema] .at9 .atc-stage{flex-direction:column-reverse!important;gap:12px}
 body[data-title=integrado] .at9 .atc .phone-scene{height:clamp(350px,49svh,480px);width:min(100%,430px);gap:8px}
 body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 70px);max-height:none}
 body[data-title=integrado] .at9 .atc .story-archive,body[data-mode] .at9 .atc .story-archive{height:62px;width:min(100%,300px)}
 .story-archive .archive-mini{transform:translateX(-50%) scale(.58)}
 body[data-title=integrado] .at9 .atc-p{top:23%;height:190px}
}
@media(max-width:520px){
 .story-opening{min-height:58svh}
 body[data-title=integrado] .at9 .atc-txt{height:min(280px,34svh)}
 body[data-title=integrado] .at9 .atc .phone-scene{height:min(390px,47svh)}
 body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 58px)}
 body[data-title=integrado] .at9 .atc .story-archive,body[data-mode] .at9 .atc .story-archive{height:50px}
 body[data-title=integrado] .at9 .atc-p{top:22%;height:190px}
}

/* Tipografia do site atual: SF Pro no aparelho Apple, Inter nos demais. */
:root,body,.at9,.showcase-nav{font-family:"Host Grotesk",-apple-system,BlinkMacSystemFont,Arial,sans-serif}
.story-opening h1,.at9 .atc-p h3{font-family:"Host Grotesk",-apple-system,BlinkMacSystemFont,Arial,sans-serif!important;font-weight:600!important;letter-spacing:-.035em!important}
.story-opening h1 em{font-family:inherit;font-weight:inherit;font-style:normal;letter-spacing:inherit}
body[data-mode=editorial] .story-opening h1,body[data-mode=editorial] .at9 .atc-p h3{font-family:"Host Grotesk",-apple-system,BlinkMacSystemFont,Arial,sans-serif!important;font-weight:600!important}

/* Três telas no mesmo eixo: a atual em foco e as vizinhas arquivadas. */
body[data-title=integrado] .at9 .atc-stage{width:min(1210px,100%);gap:clamp(16px,3vw,44px);justify-content:space-between}
body[data-title=integrado] .at9 .atc-txt{flex:0 1 415px;max-width:415px;min-width:0}
body[data-title=integrado] .at9 .atc .phone-scene{width:min(58vw,700px);max-width:700px;min-width:0;height:100%;display:grid;grid-template-columns:minmax(88px,1fr) auto minmax(88px,1fr);align-items:center;justify-items:center;gap:clamp(8px,1.2vw,20px);overflow:visible}
body[data-title=integrado] .at9 .atc .phone-scene .dv{grid-column:2;grid-row:1;height:min(590px,calc(100% - 72px));max-height:none;aspect-ratio:9/19.2;z-index:3;box-shadow:0 22px 45px #02102420}
body[data-title=integrado] .at9 .atc .story-archive,
body[data-mode] .at9 .atc .story-archive,
body[data-title=integrado] .at9 .atc .story-next{position:relative;inset:auto;width:162px;height:337px;max-width:100%;border:6px solid #021024;border-radius:28px;background:#D6E8F5;overflow:hidden;box-shadow:none;filter:grayscale(1);opacity:0;transform:none;pointer-events:none;transition:opacity .4s ease}
body[data-title=integrado] .at9 .atc .story-archive{grid-column:1;grid-row:1}
body[data-title=integrado] .at9 .atc .story-next{grid-column:3;grid-row:1}
body[data-title=integrado] .at9 .atc .story-archive.has-history,
body[data-mode] .at9 .atc .story-archive.has-history,
body[data-title=integrado] .at9 .atc .story-next.has-preview{opacity:.2;transform:none}
body[data-title=integrado] .at9 .atc .story-archive .archive-mini,
body[data-title=integrado] .at9 .atc .story-next .archive-mini{position:absolute;top:0;left:0;inset:auto;width:300px;height:650px;transform:scale(.5);transform-origin:top left;filter:grayscale(1)}
body[data-title=integrado] .at9 .atc .story-archive::after{content:none}
body[data-theme=noite] .at9 .atc .story-archive.has-history,
body[data-theme=noite] .at9 .atc .story-next.has-preview{opacity:.28}
body[data-title=integrado] .at9 .atc-p{top:31%;height:330px}
.story-history{top:8%}
.story-upcoming{bottom:7%}
.story-now{display:none}
@media(max-width:1100px){
 body[data-title=integrado] .at9 .atc-txt{flex-basis:360px;max-width:360px}
 body[data-title=integrado] .at9 .atc .phone-scene{width:min(57vw,590px);grid-template-columns:minmax(65px,1fr) auto minmax(65px,1fr);gap:8px}
 body[data-title=integrado] .at9 .atc .story-archive,body[data-mode] .at9 .atc .story-archive,body[data-title=integrado] .at9 .atc .story-next{width:120px;height:252px;border-width:4px;border-radius:22px}
 body[data-title=integrado] .at9 .atc .story-archive .archive-mini,body[data-title=integrado] .at9 .atc .story-next .archive-mini{transform:scale(.375)}
}
@media(max-width:860px){
 body[data-title=integrado] .at9 .atc-stage{gap:10px}
 body[data-title=integrado] .at9 .atc-txt{flex:none;width:min(560px,100%);max-width:560px}
 body[data-title=integrado] .at9 .atc .phone-scene{width:min(100%,590px);height:clamp(340px,47svh,490px);grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr);gap:10px}
 body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 28px)}
 body[data-title=integrado] .at9 .atc .story-archive,body[data-mode] .at9 .atc .story-archive,body[data-title=integrado] .at9 .atc .story-next{width:100px;height:210px}
 body[data-title=integrado] .at9 .atc .story-archive .archive-mini,body[data-title=integrado] .at9 .atc .story-next .archive-mini{transform:scale(.31)}
 body[data-title=integrado] .at9 .atc-p{top:23%;height:190px}
}
@media(max-width:520px){
 body[data-title=integrado] .at9 .atc .phone-scene{width:100%;height:min(340px,43svh);grid-template-columns:minmax(34px,1fr) auto minmax(34px,1fr);gap:5px}
 body[data-title=integrado] .at9 .atc .phone-scene .dv{height:calc(100% - 12px)}
 body[data-title=integrado] .at9 .atc .story-archive,body[data-mode] .at9 .atc .story-archive,body[data-title=integrado] .at9 .atc .story-next{width:66px;height:138px;border-width:3px;border-radius:14px}
 body[data-title=integrado] .at9 .atc .story-archive .archive-mini,body[data-title=integrado] .at9 .atc .story-next .archive-mini{transform:scale(.2)}
}

/* As telas laterais têm a escala da atual; o centro cobre a borda delas. */
body[data-title=integrado] .at9 .atc .phone-scene{position:relative;display:flex;justify-content:center;align-items:center;gap:0;overflow:visible}
body[data-title=integrado] .at9 .atc .phone-scene .dv{position:relative;flex:none;height:min(590px,calc(100% - 72px));width:auto;max-width:none;z-index:3}
body[data-title=integrado] .at9 .atc .story-archive,
body[data-mode] .at9 .atc .story-archive,
body[data-title=integrado] .at9 .atc .story-next{position:absolute;top:50%;left:0;right:auto;width:auto;max-width:none;height:min(590px,calc(100% - 72px));aspect-ratio:9/19.2;border:10px solid #052659;border-radius:44px;background:#D6E8F5;transform:translateY(-50%);overflow:hidden;filter:grayscale(1);opacity:0;pointer-events:none;box-shadow:none}
body[data-title=integrado] .at9 .atc .story-next{left:auto;right:0}
body[data-title=integrado] .at9 .atc .story-archive.has-history,
body[data-mode] .at9 .atc .story-archive.has-history,
body[data-title=integrado] .at9 .atc .story-next.has-preview{opacity:.2;transform:translateY(-50%)}
body[data-theme=noite] .at9 .atc .story-archive.has-history,
body[data-theme=noite] .at9 .atc .story-next.has-preview{opacity:.26}
body[data-title=integrado] .at9 .atc .story-archive .archive-mini,
body[data-title=integrado] .at9 .atc .story-next .archive-mini{position:relative;top:auto;left:auto;inset:auto;width:100%;height:100%;transform:none;transform-origin:center;filter:grayscale(1)}
body:not([data-theme=noite])[data-title=integrado] .at9 .atc-p h3,
body:not([data-theme=noite])[data-title=integrado] .at9 .atc-p .ey{color:#052659!important}
body:not([data-theme=noite]) .at9 .atc .dv-s :is(.bk-top,.bk-c b,.em-top,.em-open h5,.aa,.bb){color:#052659}
.at9 .atc .dv-s:is(.sc-conc,.sc-banco,.sc-ben,.sc-ia){color:#052659}
.at9 .atc .dv-s :is(.wa2-b .bb,.bk-top,.bk-c,.bk-c span:not(.bk-b),.em-top,.em-row,.em-open,.ai-h,.ai-b .aa,.ai-b .aq){color:#052659}
.at9 .atc .dv-s:is(.sc-banco,.sc-ben,.sc-ia)::before{color:#052659}

/* Legenda da ligação começa depois dos comandos e mantém a transcrição rolável. */
body[data-title=integrado] .at9 .atc .dv .side-cap.on{top:auto;bottom:18px;left:15px;right:15px;width:auto;height:145px;max-height:145px;overflow:hidden}
body[data-title=integrado] .at9 .atc .dv .side-cap .sc-b{max-height:112px;overflow:auto}
body[data-title=integrado] .at9 .atc .dv .side-cap .sc-b{scrollbar-width:none}
body[data-title=integrado] .at9 .atc .dv .side-cap .sc-b::-webkit-scrollbar{display:none}
body[data-title=integrado] .at9 .atc .dv:has(.side-cap.on) .ios-end{top:calc(100% - 207px);bottom:auto;left:50%;transform:translateX(-50%)}
html{scroll-snap-type:none}
.at9 .atc-case{scroll-snap-align:none}
@media(max-width:860px){
 body[data-title=integrado] .at9 .atc .phone-scene{height:clamp(340px,47svh,490px);width:min(100%,590px)}
 body[data-title=integrado] .at9 .atc .phone-scene .dv,
 body[data-title=integrado] .at9 .atc .story-archive,
 body[data-mode] .at9 .atc .story-archive,
 body[data-title=integrado] .at9 .atc .story-next{height:calc(100% - 28px)}
}
@media(max-width:520px){
 body[data-title=integrado] .at9 .atc .phone-scene{height:min(340px,43svh);width:100%}
 body[data-title=integrado] .at9 .atc .phone-scene .dv,
 body[data-title=integrado] .at9 .atc .story-archive,
 body[data-mode] .at9 .atc .story-archive,
 body[data-title=integrado] .at9 .atc .story-next{height:calc(100% - 12px)}
 body[data-title=integrado] .at9 .atc .dv .side-cap.on{height:115px;max-height:115px;bottom:13px}
 body[data-title=integrado] .at9 .atc .dv .side-cap .sc-b{max-height:82px}
 body[data-title=integrado] .at9 .atc .dv:has(.side-cap.on) .ios-end{top:calc(100% - 170px)}
}

/* As prévias reproduzem a tela completa em escala; o conteúdo não muda de fluxo. */
body[data-title=integrado] .at9 .atc .story-archive,
body[data-title=integrado] .at9 .atc .story-next{container-type:size;isolation:isolate}
body[data-title=integrado] .at9 .atc .story-archive .archive-mini,
body[data-title=integrado] .at9 .atc .story-next .archive-mini{position:absolute;top:0;left:0;width:300px;height:650px;transform:scale(.61);transform-origin:top left;border-radius:35px;overflow:hidden}
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-archive,
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-next{height:min(425px,calc((100% - 72px)*.72));border-width:6px;border-radius:33px}
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-archive{left:-4px;transform:translateY(-50%) perspective(700px) rotateY(13deg)}
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-next{right:-4px;transform:translateY(-50%) perspective(700px) rotateY(-13deg)}
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-archive.has-history{opacity:.29;transform:translateY(-50%) perspective(700px) rotateY(13deg)}
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-next.has-preview{opacity:var(--side-opacity,0);transform:translateY(-50%) perspective(700px) rotateY(-13deg)}
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-archive .archive-mini,
body:not([data-side-option])[data-title=integrado] .at9 .atc .story-next .archive-mini{-webkit-mask-image:linear-gradient(#000 0 58%,transparent 83%);mask-image:linear-gradient(#000 0 58%,transparent 83%)}

/* Fundo Cloud e tinta azul marinho na leitura principal. */
body[data-mode=precisao]{--scene-bg:#D6E8F5}
body[data-mode=precisao] .story-opening,
body[data-mode=precisao] .at9,
body[data-mode=precisao] .at9 .atc,
body[data-mode=precisao] .at9 .atc-l,
body[data-mode=precisao] .at9 .atc-stick{background:#D6E8F5;color:#052659}
body:not([data-theme=noite]) .story-opening h1{color:#052659}
body[data-mode=cinema] .story-opening h1,
body[data-mode=assinatura] .story-opening h1{color:#D6E8F5}

/* Progresso discreto abaixo da experiência. */
.at9 .atc-sp{width:118px;height:2px;background:#7DA0CA;border-radius:99px;overflow:hidden}
.at9 .atc-sp i{display:block;width:100%;height:100%;background:#052659;transform-origin:left center}
body[data-theme=noite] .at9 .atc-sp{background:#7DA0CA}
body[data-theme=noite] .at9 .atc-sp i{background:#D6E8F5}
.at9 .atc .auto-toggle{border:0;background:transparent;color:#052659;font:600 11px/1.2 inherit;padding:8px 10px;border-radius:99px;cursor:pointer}
.at9 .atc .auto-toggle:hover,.at9 .atc .auto-toggle:focus-visible{background:#7DA0CA;outline:none}
body[data-theme=noite] .at9 .atc .auto-toggle{color:#D6E8F5}

/* Em telas médias, as informações do banco ficam dentro da tela do aparelho. */
@media(max-width:1100px){
 body[data-title=integrado] .at9 .atc .story-archive .archive-mini,
 body[data-title=integrado] .at9 .atc .story-next .archive-mini{transform:scale(.43)}
 .at9 .atc .bk{padding:31px 9px 10px;gap:5px}
 .at9 .atc .bk-c{margin-top:28px;padding:9px;gap:4px}
 .at9 .atc .bk-c img{height:75px}
 .at9 .atc .bk-c b{font-size:12px}
 .at9 .atc .bk-c span:not(.bk-b){font-size:10px;line-height:1.25}
 .at9 .atc .bk-b{font-size:10px;padding:7px}
 .at9 .atc .bk-ok{font-size:9px;line-height:1.25;padding:6px 8px;margin-top:4px}
 body[data-title=integrado] .at9 .atc-p h3{font-size:clamp(26px,3vw,34px)}
 body[data-title=integrado] .at9 .atc-p p{font-size:clamp(14px,1.5vw,17px)}
}
@media(max-width:860px){
 body[data-title=integrado] .at9 .atc .story-archive .archive-mini,
 body[data-title=integrado] .at9 .atc .story-next .archive-mini{transform:scale(.4)}
 body:not([data-side-option])[data-title=integrado] .at9 .atc .story-archive,
 body:not([data-side-option])[data-title=integrado] .at9 .atc .story-next{height:calc((100% - 28px)*.65)}
}
@media(max-width:520px){
 body[data-title=integrado] .at9 .atc .story-archive .archive-mini,
 body[data-title=integrado] .at9 .atc .story-next .archive-mini{transform:scale(.25)}
 body:not([data-side-option])[data-title=integrado] .at9 .atc .story-archive,
 body:not([data-side-option])[data-title=integrado] .at9 .atc .story-next{height:calc((100% - 12px)*.55);border-width:3px;border-radius:20px}
}
