`;
}
return html``;
}
if (this.activeResolved.type === "effect") {
const c = this.activeResolved.cosmetic as Effect | null;
if (c === null) {
// "Default" tile — selecting it clears the effect for that type.
return html`
`;
}
// Nuke explosions preview per visual type (expanding ring or sparkle
// burst); every trail effectType (transportShipTrail, nukeTrail) and the
// structures effect share the same attribute shapes and preview as a
// color swatch.
if (isNukeExplosionEffect(c)) {
if (c.attributes.type === "sparkles") {
return html``;
}
return html``;
}
return html``;
}
if (this.activeResolved.type === "crown") {
const c = this.activeResolved.cosmetic as Crown | null;
if (c === null) {
// "Default" (none) tile — selecting it clears the crown.
return html`