.gw-myth { --myth-gold:#C8A66A; background:#101513; color:#E9E2D3; padding:clamp(16px,4vw,56px); }
.gw-myth a { color:var(--myth-gold); text-underline-offset:.18em; text-decoration:underline; }
.gw-myth-hero,.gw-myth-intro,.gw-myth-layout { max-width:1240px; margin-inline:auto; }
.gw-myth-hero { display:grid; grid-template-columns:1fr 1.2fr; align-items:center; gap:clamp(18px,4vw,56px); padding-block:clamp(18px,5vw,64px); }
.gw-myth-hero h1 { color:inherit; font-size:clamp(2.35rem,6vw,5rem); line-height:1.08; margin:.32em 0; }
.gw-myth-eyebrow { color:var(--myth-gold); font-size:.8rem; letter-spacing:.14em; margin-top:1.8rem; }
.gw-myth-intro { border-block:1px solid #39382f; padding-block:1rem; line-height:1.8; }
.gw-myth-intro p { max-width:76ch; }
.gw-myth-layout { display:grid; grid-template-columns:minmax(210px,270px) minmax(0,1fr); gap:clamp(18px,5vw,64px); padding-block:2rem; }
.gw-myth-aside,.gw-myth-body { min-width:0; }
.gw-myth-index { position:sticky; top:1.5rem; max-height:calc(100svh - 3rem); overflow:auto; padding:1rem; border-top:1px solid #5e5440; background:#151b17; }
.gw-myth-index summary { font-weight:700; cursor:pointer; }
.gw-myth-index ol { list-style:decimal-leading-zero; padding-inline-start:1.7rem; }
.gw-myth-index li { margin-block:.6rem; }
.gw-myth-index a { color:inherit; font-size:.88rem; text-decoration:none; }
.gw-myth-index a[aria-current] { color:var(--myth-gold); text-decoration:underline; }
.gw-myth-chapter { border-bottom:1px solid #39382f; padding-block:1.2rem 2rem; scroll-margin-top:1.25rem; }
.gw-myth-chapter h2 { line-height:1.25; }
.gw-myth-chapter h2 span { color:var(--myth-gold); font-size:.7em; }
.gw-myth-chapter h3 { margin-block:1.65em .65em; }
.gw-myth-chapter p,.gw-myth-chapter li { line-height:1.75; }
.gw-myth figure { margin:1rem 0; }
.gw-myth-cover img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; object-position:center 27%; }
.gw-myth figcaption { color:#b9ad98; font-size:.76rem; padding-top:.5rem; }
.gw-myth-table { overflow:auto; margin-block:1rem; }
.gw-myth-table table { width:100%; border-collapse:collapse; }
.gw-myth-table td,.gw-myth-table th { border:1px solid #39382f; padding:.65rem; text-align:start; }
.gw-myth-product a { display:inline-grid; gap:.6rem; max-width:16rem; }
.gw-myth-product img { max-width:100%; height:auto; }
@media (max-width:800px) {
  .gw-myth-hero,.gw-myth-layout { grid-template-columns:minmax(0,1fr); }
  .gw-myth-index { position:static; }
}

.gw-culture-symbol-cover img { width:min(160px,100%); height:auto; aspect-ratio:1; object-fit:contain; }
.gw-myth-body { overflow-wrap:anywhere; }

/* GEMWISP culture illustrations V2.0 */
.gw-myth .gw-culture-art { width: min(100%, 36rem); margin: 1.5rem auto; }
.gw-myth .gw-culture-art img,
.gw-myth .gw-myth-art-image,
.gw-myth .gw-culture-hero-v2 img {
    display: block; width: 100%; max-width: 100%; height: auto;
    aspect-ratio: auto 1 / 1; object-fit: contain;
}
.gw-myth .gw-culture-art figcaption { margin-top: .55rem; }
.gw-myth .gw-culture-hero-v2 { min-width: 0; }
.gw-myth .gw-culture-hero-v2 img { aspect-ratio: 16 / 9; }

/* GEMWISP culture illustrations V2.2 — 结构图：可点开原图 */
.gw-myth .gw-culture-art--diagram { width: min(100%, 46rem); }
.gw-myth .gw-culture-art--diagram .gw-culture-art__zoom { display: block; }
.gw-myth .gw-culture-art--diagram figcaption a { text-decoration: underline; text-underline-offset: 2px; }
