/* Original transparent artwork; frame, anatomy and fire remain independent. */
:root { --crest-light:var(--accent,#37e6e2); --crest-fire:var(--fire,#a6e22e); --crest-frame:var(--crest-light); --dragon-tint:hue-rotate(0deg); --crest-size:340px; --crest-frame-lower:#3555a6; --crest-neck:#43e8b6; --crest-neck-light:#99f7d6; --crest-silver-light:#a3b7c2; --crest-silver-mid:#536575; --crest-badge-fill:var(--bg,#0a0616); }
html[data-theme="sod"] { --crest-light:var(--accent,#e0393e); --crest-fire:var(--fire,#ff6b6b); --dragon-tint:hue-rotate(180deg) saturate(1.3) brightness(1.05); --crest-frame-lower:#7a1517; --crest-neck:#e0393e; --crest-neck-light:#ffdede; }
html[data-theme="mop"] { --crest-light:var(--accent,#3dffb0); --crest-fire:var(--fire,#baffb0); --dragon-tint:hue-rotate(-35deg) saturate(1.25); --crest-frame-lower:#1fae72; --crest-neck:#3dffb0; --crest-neck-light:#baffb0; }
html[data-theme="forever"] { --crest-light:var(--accent,#f2a65a); --crest-fire:var(--fire,#f2a65a); --dragon-tint:hue-rotate(0deg); --crest-frame-lower:#84487a; --crest-neck:#f2a65a; --crest-neck-light:#ffe4c4; }
.valyrians-crest { position:relative; display:block; width:100%; aspect-ratio:1; isolation:isolate; }
.valyrians-crest svg { display:block; width:100%; height:100%; overflow:visible; }
.crest-frame-spin { transform-origin:500px 500px; }
html[data-theme="retail"] .crest-approved-frame,html[data-theme="retail"] .crest-dragon-art { filter:none !important; }
.crest-flame { fill:var(--crest-fire); opacity:0; }
.crest-flame-core { fill:#f2ffff; opacity:0; }
.crest-mouth-light { fill:var(--crest-light); opacity:0; filter:blur(7px); }
.crest-volume-fire { position:absolute; inset:-50%; width:200%; height:200%; pointer-events:none; }
.valyrians-crest.has-volume-fire .crest-flame,.valyrians-crest.has-volume-fire .crest-flame-core { display:none; }
.hero-medallion:has([data-valyrians-crest]) { width:min(var(--crest-size),54vw); height:auto; aspect-ratio:1; margin-top:.4rem; }
.nav-brand .valyrians-crest { width:60px; flex:0 0 60px; margin-block:-4px; }
@media(max-width:480px) { .nav-brand .valyrians-crest { width:48px; flex-basis:48px; } }
@media(prefers-reduced-motion:reduce) { .crest-flame,.crest-flame-core,.crest-mouth-light,.crest-volume-fire { display:none; } }
html.lite .crest-volume-fire { display:none; }



.crest-original-art { filter:var(--dragon-tint); }
.crest-current { mix-blend-mode:screen; }

/* Fuego del dragón desactivado a pedido: ni llamas SVG, ni luz de las bocas, ni el canvas de fuego. Para volver a activarlo, borrar este bloque y poner FIRE_ON=true en crest-animation.js */
.crest-flame,.crest-flame-core,.crest-mouth-light,.crest-volume-fire,.crest-fire-layer { display:none !important; }
