.cast-profile,.cast-gallery{box-sizing:border-box;margin:2rem auto;padding:clamp(1rem,3vw,2.25rem);max-width:70rem;color:#251e19;background:#fcf6eb;border:1px solid #a88953;border-radius:1rem;text-align:left}
.cast-profile header{position:static;background:transparent;color:inherit;border:0;padding:0;display:block}
.cast-profile h2,.cast-profile h3,.cast-gallery summary{color:#35291d;margin:.25rem 0 .85rem}
.cast-profile .cast-kicker,.cast-profile dt{font:600 .82rem/1.4 system-ui;letter-spacing:.04em;color:#72542b}
.cast-layout{display:flex;align-items:flex-start;gap:clamp(1rem,3vw,2.25rem);flex-wrap:wrap}
.cast-portrait{flex:1 1 15rem;max-width:22rem}.cast-layout>div:last-child{flex:2 1 18rem}
.cast-layout p,.cast-layout dd{font-size:1rem;line-height:1.55;color:#302923}
.cast-frame{display:block;position:relative;isolation:isolate;overflow:hidden;aspect-ratio:3/4;background:#211d19;border-radius:.65rem}
.cast-frame img{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;object-position:center 28%;border:0}
.cast-frame img.cast-alt{opacity:0;transition:opacity .55s ease}.cast-show-off .cast-frame img.cast-alt{opacity:1}
.cast-controls{display:flex;gap:.35rem;flex-wrap:wrap;margin:.7rem 0}.cast-controls[hidden]{display:none}
.cast-controls button{font:600 .9rem/1.3 system-ui;border:1px solid #92764d;border-radius:.5rem;padding:.55rem .7rem;color:#35291d;background:#fffaf1;cursor:pointer}
.cast-controls button[aria-pressed=true]{background:#382e24;color:#fff8ec}
.cast-stats,.cast-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.85rem}
.cast-stats>div{border-top:1px solid #d9c8ae;padding-top:.5rem}.cast-stats dd{margin:.15rem 0}
.cast-gallery summary{cursor:pointer;font-weight:700;font-size:1.13rem}.cast-gallery:not([open]) summary{margin:0}
.cast-card{color:#332919;text-decoration:none;display:flex;flex-direction:column;gap:.4rem}.cast-card strong{color:#332919}
@media(prefers-reduced-motion:reduce){.cast-frame img.cast-alt{transition:none}}
[data-group-cast] .sigil:has(.cast-card-alt){position:relative}
[data-group-cast] img.cast-card-alt{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%;opacity:0;transition:opacity .55s ease}
[data-group-cast].cast-show-off img.cast-card-alt{opacity:1}
@media(prefers-reduced-motion:reduce){[data-group-cast] img.cast-card-alt{transition:none}}
.cast-ensemble{display:flex;gap:.15rem;align-items:center}.cast-ensemble .cast-frame{flex:1;min-width:0}.cast-ensemble .cast-frame img{object-position:center top}
.cast-grid .cast-ensemble{aspect-ratio:3/4}
.cast-seal{position:absolute;bottom:.65rem;left:.65rem;z-index:1;display:grid;place-items:center;padding:.15rem;min-width:2.2rem;aspect-ratio:1;border:3px double #d1b279;border-radius:50%;background:#292218e8;color:#f7dfa7;font:600 .67rem/1 Georgia,serif;letter-spacing:.05em;pointer-events:none}
.cast-card .cast-seal{min-width:1.55rem;font-size:.55rem;bottom:.4rem;left:.4rem}
.stack-sigil .cast-member{position:relative;display:block;min-width:0;height:100%;overflow:hidden}.stack-sigil .cast-member img{width:100%;height:100%;object-fit:cover}
