/* De Cadenze logo (templates/partials/brand_logo.html): the DECADENZE wordmark, about 8.3:1.
   Themes set --dc-logo-h on the link (sized for the old, narrower logos), so each kind scales it to
   keep about the same width as before: header ~0.6, footer ~0.28. */
.dc-logo { display: inline-flex; align-items: center; line-height: 0; }
.dc-logo img { display: block; height: calc(var(--dc-logo-h, 32px) * .6); width: auto; max-width: none; }
.dc-logo--logo img { height: calc(var(--dc-logo-h, 110px) * .28); }
.dc-logo--auto .dc-logo-white { display: none; }
.is-over-dark .dc-logo--auto .dc-logo-ink { display: none; }
.is-over-dark .dc-logo--auto .dc-logo-white { display: block; }
/* phones: header logos get their own (smaller) height so they never touch the icons */
@media (max-width: 899px) { .dc-logo--lockup img { height: calc(var(--dc-logo-hm, 24px) * .6); } }
@media (max-width: 599px) { .dc-logo--compact img { height: 13px; } }

/* Accedi / Registrati switch in the account modal: the active tab is the one with aria-pressed (imperial-base.js) */
.auth-tab--themed[aria-pressed="true"] { background: var(--tab-on-bg, #151310); color: var(--tab-on-fg, #fff); }
.auth-tab--themed[aria-pressed="false"] { background: transparent; }
