/* SCRAAPS Instant Article — leitura interna sem alterar os cards do feed. */
html.instant-article-open,
body.instant-article-open{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.instant-article-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:2147483645!important;
  background:rgba(25,55,78,.58);
  opacity:0;
  transition:opacity .24s ease;
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
}
.instant-article-backdrop[hidden],
.instant-article-sheet[hidden]{display:none!important;}
.instant-article-backdrop.is-open{opacity:1;}
.instant-article-sheet{
  position:fixed!important;
  z-index:2147483646!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%;
  max-width:760px;
  height:92vh;
  height:min(92dvh,920px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:25px 25px 0 0;
  background:#fff;
  color:var(--orkut-text,#4b4b4b);
  box-shadow:0 -24px 70px rgba(34,82,117,.34);
  transform:translateY(104%);
  opacity:.98;
  transition:transform .3s cubic-bezier(.22,.8,.25,1),opacity .2s ease;
  will-change:transform;
}
body.instant-article-open .bottom-nav,
body.instant-article-open .bottom-menu,
body.instant-article-open #deejaiPersistentPlayer{
  visibility:hidden!important;
  pointer-events:none!important;
}
.instant-article-sheet.is-open{
  transform:translateY(0);
  opacity:1;
}
.instant-article-handle-wrap{
  flex:0 0 auto;
  height:19px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--orkut-blue-2,#7655c5),var(--orkut-blue-dark,#3b216d));
  touch-action:none;
}
.instant-article-handle{
  width:54px;
  height:5px;
  border-radius:20px;
  background:rgba(255,255,255,.65);
}
.instant-article-topbar{
  flex:0 0 auto;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 16px 13px 22px;
  color:#fff;
  background:linear-gradient(135deg,var(--orkut-blue-2,#7655c5),var(--orkut-blue-dark,#3b216d));
  box-shadow:0 7px 22px rgba(44,105,149,.2);
}
.instant-article-brand{
  min-width:0;
  display:flex;
  align-items:center;
}
.instant-article-brand strong,
.instant-article-brand-text{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:15px;
  line-height:1;
  font-weight:950;
  letter-spacing:.12em;
  white-space:nowrap;
}
.instant-article-close{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  line-height:0;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.instant-article-close svg{
  width:21px;
  height:21px;
  display:block;
  overflow:visible;
}
.instant-article-close path{
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
}
.instant-article-close:focus-visible{
  outline:3px solid var(--orkut-pink,#ff5e6c);
  outline-offset:2px;
}
.instant-article-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  background:#fff;
}
.instant-article-loading,
.instant-article-error,
.instant-article-document{
  width:min(100%,700px);
  margin:0 auto;
  padding:30px 25px calc(150px + env(safe-area-inset-bottom,0px));
}
.instant-article-document::after{content:"";display:block;height:36px;}
.instant-article-loading[hidden],
.instant-article-error[hidden],
.instant-article-document[hidden]{display:none!important;}
.instant-article-loading{
  min-height:360px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:15px;
  color:#616573;
  text-align:center;
}
.instant-article-spinner{
  width:42px;
  height:42px;
  border:4px solid #e2eaf1;
  border-top-color:var(--orkut-blue,#4c2a85);
  border-radius:50%;
  animation:instantArticleSpin .78s linear infinite;
}
.instant-article-loading strong{
  color:#40474d;
  font-size:18px;
  font-weight:900;
}
.instant-article-loading p{
  margin:0;
  color:var(--orkut-muted,#76818a);
  font-size:14px;
  line-height:1.5;
}
@keyframes instantArticleSpin{to{transform:rotate(360deg)}}
.instant-article-error{
  min-height:330px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  text-align:center;
}
.instant-article-error-icon{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#e5f0f8;
  color:var(--orkut-blue-dark,#3b216d);
  font-size:28px;
  font-weight:1000;
}
.instant-article-error strong{font-size:20px;font-weight:950;color:#40474d;}
.instant-article-error p{max-width:430px;margin:0;color:var(--orkut-muted,#76818a);font-size:15px;line-height:1.55;}
.instant-article-document h1{
  margin:0;
  color:#30363b;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(28px,7.4vw,42px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.instant-article-subtitle{
  margin:16px 0 0;
  color:#626b72;
  font-family:Arial,Helvetica,sans-serif;
  font-size:17px;
  line-height:1.5;
  font-weight:500;
}
.instant-article-divider{
  width:76px;
  height:5px;
  margin:25px 0 28px;
  border-radius:20px;
  background:linear-gradient(90deg,var(--orkut-blue,#4c2a85),var(--orkut-pink,#ff5e6c));
}
.instant-article-content{
  color:#30363b;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  line-height:1.68;
  font-weight:400;
  overflow-wrap:anywhere;
}
.instant-article-content p{margin:0 0 1.35em;}
.instant-article-content h2,
.instant-article-content h3{
  margin:1.7em 0 .7em;
  color:#30363b;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.22;
  font-weight:950;
}
.instant-article-content h2{font-size:25px;}
.instant-article-content h3{font-size:21px;}
.instant-article-content strong{font-weight:800;color:#22282d;}
.instant-article-content em{font-style:italic;}
.instant-article-content blockquote{
  margin:1.6em 0;
  padding:5px 0 5px 20px;
  border-left:5px solid var(--orkut-blue,#4c2a85);
  color:#454c52;
  font-size:20px;
  line-height:1.55;
  font-style:italic;
}
.instant-article-content ul,
.instant-article-content ol{
  margin:0 0 1.45em;
  padding-left:1.4em;
}
.instant-article-content li{margin:.45em 0;padding-left:.2em;}
@media (min-width:761px){
  .instant-article-sheet{left:50%!important;right:auto!important;transform:translate(-50%,104%);border-radius:25px 25px 0 0;}
  .instant-article-sheet.is-open{transform:translate(-50%,0);}
}
@media (max-width:380px){
  .instant-article-loading,.instant-article-error,.instant-article-document{padding-left:20px;padding-right:20px;}
  .instant-article-content{font-size:18px;}
}
@media (prefers-reduced-motion:reduce){
  .instant-article-sheet,.instant-article-backdrop{transition:none;}
  .instant-article-spinner{animation-duration:1.4s;}
}
