/* The same restrained Glass Dark material as the application nodes. */
:root {
  --illustration-glass:
    radial-gradient(ellipse at 24% 8%, rgb(255 255 255 / 12.5%), transparent 80%),
    radial-gradient(ellipse at 100% 100%, rgb(255 255 255 / 3.5%), transparent 65%),
    linear-gradient(135deg, rgb(57 67 82 / 80.4%), rgb(29 37 49 / 68.2%) 50%, rgb(39 49 65 / 75.3%));
  --illustration-shadow: 0 18px 45px rgb(0 4 10 / 22%);
}

/* Keep all image pixels clear; the glass belongs to their surrounding surface. */
.panel-image .app-frame,
.case-image,
.calibration-preview,
.journal-card,
.featured-story,
.article-cover img,
.diagram-scroll {
  border: 0;
  background: var(--illustration-glass);
  box-shadow: var(--illustration-shadow);
}

.panel-image .app-frame { padding: 0; border-radius: 14px; }
.panel-image .app-frame > img { border-radius: 0 0 9px 9px; }
.panel-image .frame-top {
  background: transparent;
  border: 0;
  color: #a9bacb;
}
.frame-dots i { background: #92aabd55; }

.case-image { padding: 0; border-radius: 12px; }
.case-image img { border-radius: 8px; }
.case-image .case-number,
.card-art > span {
  border: 0;
  background: linear-gradient(135deg, rgb(70 86 102 / 76%), rgb(24 34 46 / 82%));
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  color: #d4e1eb;
  box-shadow: 0 5px 16px #02071024;
  border-radius: 5px;
}
.case-tags span {
  border: 0;
  background: linear-gradient(135deg, #637b8e29, #293b4f29);
  color: #a4b9ca;
}

.journal-card { border-radius: 14px; }
.journal-card:hover { box-shadow: 0 22px 50px #00060c44; }
.card-art, .featured-art { background: transparent; }
.featured-story { border-radius: 16px; }
.article-cover img, .diagram-scroll { border-radius: 12px; }
.diagram-scroll:focus-visible { outline: 2px solid #8dcddb; outline-offset: 4px; }
.article-diagram figcaption, .article-cover figcaption { color: #849eaf; }

.calibration-preview {
  background:
    radial-gradient(ellipse at 15% 10%, #b9e2ed10, transparent 65%),
    var(--illustration-glass);
}

@media (prefers-reduced-transparency: reduce) {
  .panel-image .app-frame, .case-image, .calibration-preview,
  .journal-card, .featured-story, .diagram-scroll { background: #273342; }
  .case-image .case-number, .card-art > span {
    background: #273342;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
