/* Standard V29.5 structure: blurred crop -> direct WebGL -> UI content. */

body.article-reader-open .desktop,
body.article-reader-open .stage,
body.article-reader-open .desktop-icons,
body.article-reader-open .taskbar {
  opacity: 0;
  visibility: hidden;
  transform: none;
  filter: none;
  pointer-events: none;
  transition: none;
}

body.article-reader-open .desktop {
  content-visibility: hidden;
  contain: strict;
}

body.article-reader-open .desktop *,
body.article-reader-open .desktop *::before,
body.article-reader-open .desktop *::after {
  animation-play-state: paused !important;
}

.article-reader {
  background: #07122b;
  transform: none;
  transition: opacity 180ms ease;
}

.article-reader::before {
  display: none !important;
  content: none !important;
}

.article-glass-canvas {
  z-index: 0;
  display: block;
  opacity: 1;
}

.article-reader-stage {
  z-index: 2;
}

.article-glass-shell,
.article-toc,
.legacy-glass-control {
  overflow: hidden;
  border: 0;
  outline: 0;
  background: #12375a;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
}

.article-glass-shell,
.article-toc {
  border-radius: 46px;
  filter: drop-shadow(0 22px 34px #00000052);
}

.legacy-glass-control {
  position: relative;
  border-radius: 46px;
  filter: drop-shadow(0 12px 22px #00000042);
  padding: 0;
}

.article-glass-shell::before,
.article-glass-shell::after,
.article-toc::before,
.article-toc::after,
.legacy-glass-control::before,
.legacy-glass-control::after {
  display: none !important;
  content: none !important;
}

.v295-standard-gb,
.v295-standard-gl {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.v295-standard-gb {
  z-index: 0;
  border-radius: inherit;
}

.v295-standard-gl {
  z-index: 1;
}

.article-glass-shell > :not(.v295-standard-gb):not(.v295-standard-gl) {
  z-index: 2;
}

.article-toc > :not(.v295-standard-gb):not(.v295-standard-gl) {
  position: relative;
  z-index: 2;
}

.article-scroll {
  position: absolute !important;
  z-index: 2;
}

.article-progress-track {
  position: absolute !important;
  z-index: 5 !important;
}

.v295-standard-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.legacy-glass-control:hover,
.legacy-glass-control:active {
  transform: none;
}

.article-reader:not(.v295-ready) .article-glass-shell,
.article-reader:not(.v295-ready) .article-toc,
.article-reader:not(.v295-ready) .legacy-glass-control,
.v295-standard-fallback {
  background: #12375a;
}

@media (max-width: 820px) {
  .article-glass-shell {
    position: absolute;
    inset: 0;
    border-radius: 30px;
  }

  .article-toc {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 30px));
  }

  .article-reader.toc-open .article-toc {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
