/* Scoped decoration preserves authored sheet colors, real text and native controls. */
.vf-art-label{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.vf-art-icon{width:40px;height:40px;object-fit:contain;flex:0 0 40px;pointer-events:none}
legend.vf-art-label{display:block}
legend>.vf-art-icon{display:inline-block;width:32px;height:32px;margin-right:.5rem;vertical-align:middle}
.vf-domain-card{position:relative;isolation:isolate}
.vf-domain-card>.vf-domain-watermark{position:absolute;right:8px;top:8px;width:min(42%,160px);height:auto;object-fit:contain;opacity:.08;pointer-events:none;z-index:-1}
.vf-domain-credit{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:inherit}
.vf-domain-credit>.vf-art-icon{width:28px;height:28px;flex-basis:28px}
#device.sheet .sections button.vf-art-label>.vf-art-icon{display:inline-block;width:24px;height:24px;flex-basis:24px}
.vf-domain-card .ability-fact-grid>div{min-width:0}
.vf-domain-card .ability-fact-grid strong{overflow-wrap:anywhere}
@media(max-width:600px){.vf-art-icon{width:32px;height:32px;flex-basis:32px}.vf-domain-card>.vf-domain-watermark{width:min(38%,120px)}}
@media print{.vf-domain-watermark{display:none!important}.vf-art-icon{display:none!important}.vf-art-label{display:block}.vf-domain-card{isolation:auto}}

/* Domain accents remain ornamental: names and crests carry identity, text uses the Character palette. */
.vf-domain-accent{border-inline-start:3px solid var(--vf-domain-accent)!important}
.vf-domain-accent > summary,.vf-domain-accent > h3{background:color-mix(in srgb,var(--vf-domain-accent) 9%,transparent)}
.power-detail-dialog.vf-domain-accent .card-detail-frame > header{border-block-end:3px solid var(--vf-domain-accent);background:color-mix(in srgb,var(--vf-domain-accent) 9%,var(--surface,#14212b))}
