/* Mythological stories complement each province; existing chart explanations remain intact. */
.kingdom-layout{align-items:center}
.kingdom-display{padding:24px 30px 18px;border-color:#d9b87930;background:linear-gradient(145deg,#121c2ce8,#0b1220ed);box-shadow:0 25px 70px #03071038}
#province-panel{border-top:0;padding-top:0;min-height:0}
#province-panel>p{margin-bottom:16px}
.mythic-scene{margin:0;position:relative;min-width:0}
.mythic-image{height:290px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse,#8092a00d,transparent 66%);mask-image:linear-gradient(transparent,#000 9%,#000 80%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 9%,#000 80%,transparent)}
.mythic-image img{width:100%;height:100%;object-fit:cover;object-position:center 43%;filter:saturate(.78) brightness(1.05);opacity:0;transition:opacity .65s ease;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.mythic-image.is-ready img{opacity:.94}
.mythic-scene figcaption{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;padding:0 8px 20px;margin-top:-10px;position:relative}
.mythic-name{font-family:var(--serif);font-size:22px;line-height:1.35;color:#ede3cf}
.mythic-theme{font-size:12px;line-height:1.55;color:#b4bfcc;letter-spacing:.1px}
#province-panel>.eyebrow{display:block;border-top:1px solid var(--line);padding-top:20px}
.province-map{border-top:1px solid var(--line);margin-top:4px}
.province-map summary{padding:15px 0 2px;color:var(--gold-soft);font-size:13px;cursor:pointer;list-style-position:inside}
.province-map summary::marker{color:var(--gold)}
.province-map .radar-wrap{height:255px;margin-top:12px}
.province-map summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px;border-radius:2px}
.reading-art.has-myth{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:12px;height:295px;margin:14px -12px 24px}
.reading-art.has-myth:before{display:none}
.reading-art.has-myth .mythic-image{height:230px;mask-image:linear-gradient(transparent,#000 9%,#000 77%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 9%,#000 77%,transparent)}
.reading-art.has-myth .mythic-image img{object-fit:cover;object-position:center}
.reading-art.has-myth figcaption{padding:0 0 4px;margin-top:-9px;gap:5px}
.reading-art.has-myth .mythic-name{font-size:19px}
.reading-art.has-myth .mythic-theme{font-size:11px}
.reading-diagram{min-width:0;height:190px;display:grid;place-items:center;border-left:1px solid #d9b87925;padding-left:8px}
.reading-diagram svg{max-width:100%;max-height:100%}
.mythic-scene.image-unavailable .mythic-image{display:none}
.mythic-scene.image-unavailable figcaption{margin:20px 0}
@media(min-width:1400px){.mythic-image{height:330px}.reading-art.has-myth .mythic-image{height:250px}}
@media(max-width:1050px) and (min-width:681px){.kingdom-layout{gap:4%}.kingdom-display{padding:20px}.mythic-image{height:255px}.reading-art.has-myth{grid-template-columns:1fr;height:auto;gap:0}.reading-art.has-myth .mythic-image{height:205px}.reading-diagram{height:150px;border-left:0;padding:12px 0 0}.reading-art.has-myth .mythic-theme{font-size:12px}}
@media(max-width:680px){.kingdom-display{padding:20px 21px 14px}.mythic-image{height:275px;margin:0 -12px}.mythic-name{font-size:23px}.mythic-theme{font-size:13px}.reading-art.has-myth{grid-template-columns:1fr;height:auto;gap:5px;margin:15px -4px 20px}.reading-art.has-myth .mythic-image{height:240px;margin:0}.reading-art.has-myth .mythic-name{font-size:22px}.reading-art.has-myth .mythic-theme{font-size:12px}.reading-diagram{height:165px;border-left:0;padding:12px 0 0}.reading-art.has-myth .reading-diagram svg{max-width:270px}.province-map summary{font-size:14px}}
@media(max-width:380px){.mythic-image{height:245px}.reading-art.has-myth .mythic-image{height:210px}}
html:not([lang=en]) .mythic-theme{letter-spacing:0;font-size:14px}
html:not([lang=en]) .reading-art.has-myth .mythic-theme{font-size:12px}
body.motion-paused .mythic-image img{transition:none}
@media(prefers-reduced-motion:reduce){.mythic-image img{transition:none}}
/* Give the explanatory diagrams their original scale below the mythological scene. */
.reading-art.has-myth{grid-template-columns:1fr;height:auto;gap:8px}
.reading-art.has-myth .mythic-image{height:260px}
.reading-art.has-myth .mythic-image img{object-fit:contain}
.reading-diagram{height:230px;padding:8px 0 0;border-left:0}
.reading-art.has-myth .reading-diagram svg{width:100%;max-width:330px}
.reading-diagram text[font-size="7"],.reading-diagram text[font-size="8"],.reading-diagram text[font-size="9"],.reading-diagram text[font-size="10"]{font-size:11px;letter-spacing:.35px}
@media(max-width:680px){.reading-art.has-myth .mythic-image{height:230px}.reading-diagram{height:230px}}
