/* Nerddi Master Brand System — original DD-glasses identity + modern experience layer */
.nerddi-brand-wordmark,.nerddi-brand-lockup{display:inline-flex;align-items:center;line-height:1;vertical-align:middle}
.nerddi-brand-wordmark img,.nerddi-brand-lockup img{display:block;width:auto;max-width:100%;height:auto;object-fit:contain}
.nerddi-brand-lockup--switch{position:relative;display:inline-grid;align-items:center}
.nerddi-brand-lockup--switch>img{grid-area:1/1;transition:opacity .18s ease}
.nerddi-brand-lockup--switch>img[data-brand-theme="light"]{opacity:0;pointer-events:none}
html[data-theme="light"] .nerddi-brand-lockup--switch>img[data-brand-theme="dark"]{opacity:0;pointer-events:none}
html[data-theme="light"] .nerddi-brand-lockup--switch>img[data-brand-theme="light"]{opacity:1;pointer-events:auto}
@media (prefers-color-scheme:light){html[data-theme="system"] .nerddi-brand-lockup--switch>img[data-brand-theme="dark"]{opacity:0;pointer-events:none}html[data-theme="system"] .nerddi-brand-lockup--switch>img[data-brand-theme="light"]{opacity:1;pointer-events:auto}}
.nerddi-brand-icon{display:inline-block;object-fit:contain}
.nerddi-master-wordmark{display:block;width:auto;object-fit:contain}
.nerddi-brand-mini{display:inline-block;width:auto;height:.92em;max-width:112px;object-fit:contain;vertical-align:-.12em}
.nerddi-brand-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.nerddi-family-chip{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(120,145,220,.18);border-radius:999px;padding:.42rem .7rem;background:rgba(80,100,180,.08);backdrop-filter:blur(12px)}
.nerddi-family-chip .nerddi-brand-icon{width:1.2rem;height:1.2rem}
/* The DD glasses are the master signature. Do not substitute ordinary D letters in primary brand lockups. */
