/* The house credit (partials/tnh-credit.hbs; the pop-up chip mirrors it in csi-portal.js): each name led by its mark,
   The Noble House™ in the site blue, APRYL AI in gold. Marks sit on the text baseline at text height. */
.tnh-credit { display: inline; }
.tnh-credit__house,
.tnh-credit__apryl { display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; vertical-align: middle; }
.footer-powered .tnh-credit__house,
.mobile-menu__powered .tnh-credit__house { color: var(--accent-glow, #00a3ff); text-decoration: none; }
.footer-powered .tnh-credit__house:hover,
.mobile-menu__powered .tnh-credit__house:hover { color: var(--pure-white, #fff); }
.tnh-credit__apryl { color: var(--noble-gold, #d4af37); font-weight: 600; letter-spacing: 0.05em; }
.footer-powered .tnh-credit__mark,
.mobile-menu__powered .tnh-credit__mark { display: block; flex: none; width: 20px; height: 20px; border-radius: 4px; object-fit: cover; filter: none; }
/* Ghost's floating account button (fixed, bottom right, ~105px on desktop) sits on the footer's end at the page bottom
   and would cover APRYL AI: make room only while that button exists, so turning it off in Portal removes the gap. */
@media (min-width: 768px) {
    body:has(iframe.gh-portal-triggerbtn-iframe) .footer-bottom-right { padding-right: 104px; }
}
/* Below 1100px the button is 0.8 size from its corner (Carlos), so it covers less of the cards; its round button stays
   over 44px to tap, and the reserve above still clears it. */
@media (max-width: 1099px) {
    .gh-portal-triggerbtn-iframe { transform: scale(0.8); transform-origin: 100% 100%; }
}
