.prose:has(.gpt-image-study) {--ink:#261f2a;--rule:#e2dce2;--paper:#fffefd;--purple:#563675;--muted:#655b68;--sans:inherit; }
.prose:has(.gpt-image-study) figure { margin: 0; }
.prose:has(.gpt-image-study) figure a:has(img) { display: block; cursor: zoom-in; }
.prose:has(.gpt-image-study) figure { margin-block: 1.5rem; }
.prose:has(.gpt-image-study) figure img { width: 100%; max-height: 680px; object-fit: contain; background: #f3eff1; }
.prose:has(.gpt-image-study) .photo-grid { margin: 1.3rem 0 1.55rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; align-items: start; }
.prose:has(.gpt-image-study) .photo-grid figure { margin: 0; }
.prose:has(.gpt-image-study) .photo-grid figure img { max-height: 520px; }
.prose:has(.gpt-image-study) .compare-stage { --split: 50%; position: relative; isolation: isolate; width: fit-content; max-width: 100%; margin-inline: auto; overflow: hidden; background: #f3eff1; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.prose:has(.gpt-image-study) .compare-stage .compare-base { max-height: 620px; width: auto; }
.prose:has(.gpt-image-study) .compare-stage .compare-before { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.prose:has(.gpt-image-study) .compare-stage img { pointer-events: none; }
.prose:has(.gpt-image-study) .compare-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; transform: translateX(-50%); background: #fff; border-left: 1px solid #382a39; color: transparent; }
.prose:has(.gpt-image-study) .compare-divider::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-content: center; width: 2.2rem; height: 2.2rem; color: #352838; background: #fff; border: 1px solid #c9bcc7; border-radius: 50%; font: bold 1.23rem/1 var(--sans); }
.prose:has(.gpt-image-study) .compare-controls, .prose:has(.gpt-image-study) .original-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5em 1em; }
.prose:has(.gpt-image-study) .compare-controls { margin-top: .6rem; color: var(--ink); font-size: .84rem; font-weight: bold; }
.prose:has(.gpt-image-study) .compare-controls input { accent-color: var(--purple); width: min(56%, 280px); height: 32px; margin: 0; cursor: ew-resize; }
.prose:has(.gpt-image-study) .original-links { margin-top: .15rem; font-size: .79rem; }
.prose:has(.gpt-image-study) .table-scroll { max-width: 100%; overflow-x: auto; margin: 1.2rem 0 1.6rem; scrollbar-width: thin; }
@media (max-width: 670px) {
  .prose:has(.gpt-image-study) .photo-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media print {
  .prose:has(.gpt-image-study) .table-scroll { overflow: visible; }
}
.prose:has(.gpt-image-study) .guide-figure { max-width: 27rem; margin: 1.5rem auto 2.2rem; }
.prose:has(.gpt-image-study) .guide-figure img { max-height: none; height: auto; background: transparent; }
.prose:has(.gpt-image-study) .chart-figure { max-width: 30rem; }
.prose:has(.gpt-image-study) .scene-portrait { max-width: 29rem; margin-inline: auto; }
.prose:has(.gpt-image-study) .scene-portrait img { max-height: none; }
.prose:has(.gpt-image-study) .prompt-details { margin-block: 1rem 1.5rem; padding: .7rem .95rem; border: 1px solid var(--rule); border-radius: .3rem; }
.prose:has(.gpt-image-study) .prompt-details summary { font-weight: 650; color: var(--purple); cursor: pointer; }

.prose:has(.gpt-image-study) .article-shortcuts { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 1rem 0; }
.prose:has(.gpt-image-study) .article-shortcuts a { display: inline-flex; align-items: center; min-height: 2.65rem; font-size: .89rem; font-weight: 650; }
.prose:has(.gpt-image-study) table.route-summary { min-width: 0; }
.prose:has(.gpt-image-study) .route-summary th:first-child, .prose:has(.gpt-image-study) .route-summary td:nth-child(2) { white-space: nowrap; }
.prose:has(.gpt-image-study) .route-summary th, .prose:has(.gpt-image-study) .route-summary td { padding: .6rem .55rem; }
.prose:has(.gpt-image-study) .test-breakdown { margin: .8rem 0 1.5rem; }
.prose:has(.gpt-image-study) .test-breakdown summary { padding-block: .6rem; color: var(--purple); font-weight: 650; cursor: pointer; }
.prose:has(.gpt-image-study) .scene-lineage { display: grid; grid-template-columns: minmax(0,.52fr) minmax(0,1.25fr); align-items: center; gap: 1.5rem; margin-block: 1.3rem; }
.prose:has(.gpt-image-study) .scene-lineage figure { margin: 0; }
.prose:has(.gpt-image-study) .scene-lineage .scene-source { min-width: 0; }
.prose:has(.gpt-image-study) .route-face-comparison { max-width: 39rem; margin-inline: auto; }
.prose:has(.gpt-image-study) .route-face-comparison img { max-height: none; }
@media (max-width: 670px) {
  .prose:has(.gpt-image-study) .article-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .9rem; margin: .35rem 0; }
  .prose:has(.gpt-image-study) .article-shortcuts a { min-height: 2.75rem; }
  .prose:has(.gpt-image-study) .scene-lineage { display: block; }
  .prose:has(.gpt-image-study) .scene-lineage .scene-source { display: grid; grid-template-columns: 5.6rem 1fr; align-items: center; gap: .85rem; margin: 1rem 0 .75rem; }
  .prose:has(.gpt-image-study) .scene-lineage .scene-source figcaption { padding: 0; }
  .prose:has(.gpt-image-study) .route-summary th, .prose:has(.gpt-image-study) .route-summary td { font-size: .84rem; padding: .55rem .3rem; }
}

.study-anchor{scroll-margin-top:6rem}
