body.detail { margin: 0 auto !important; padding: 24px 32px; max-width: 1160px; background: #171b16; color: #e9e4d9; }
body.detail h1 { font-family: Georgia, serif; font-weight: normal; font-size: clamp(30px, 4vw, 48px); color: #e9e4d9; margin-top: 0; }
body.detail a { color: #dfbd7c; }
body.detail .back-link { background: none; color: #dfbd7c; padding: 0; margin: 16px 0 28px; }
.detail-kicker { font-size: 13px; color: #c6aa77; margin-bottom: 8px; }
.detail-introduction { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; margin: 24px 0 42px; }
.detail-introduction figure { margin: 0; }
.detail-introduction img { width: 100%; max-height: 540px; object-fit: contain; background: #10130e; }
.detail-introduction h2 { font-size: 16px; margin: 0 0 8px; }
.detail-introduction p { margin: 0 0 24px; }
.detail-introduction figcaption, .detail-layer figcaption { font-size: 12px; color: #aaa89b; margin-top: 8px; }
.detail-article, .detail-sources { border-top: 1px solid #414334; padding-top: 24px; margin-top: 32px; }
.detail-article > h2, .detail-sources > h2 { font: 26px/1.3 Georgia, serif; }
.detail-article img { max-width: 100%; height: auto; }
.detail-technical { margin: 32px 0; border: 1px solid #525340; border-radius: 5px; padding: 16px; }
.detail-technical summary { cursor: pointer; color: #dfbd7c; }
.detail-technical h2 { font-size: 18px; }
.detail-layer { margin: 32px 0; }
.detail-layer .detail-image { max-width: 768px; width: 100%; }
@media (max-width: 700px) {
  body.detail { padding: 18px; margin: 0 !important; }
  .detail-introduction { grid-template-columns: 1fr; gap: 24px; }
  .detail-introduction img { max-height: 360px; }
}

.detail-diagram svg { display: block; max-width: 100%; height: auto; margin: 1rem auto; }
.detail-diagram figcaption { color: #c7c4b9; }
