/* The NIICHI Academy logo (see ni-brand.js). Brand red is used here only: it is the logo. */
.ni-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ni-partner { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--nii-ink, #1E1B4B); }
.ni-partner img { height: 40px; max-width: 120px; object-fit: contain; border-radius: 8px; background: #fff; }
.ni-x { color: var(--color-muted, #6B6A86); font-weight: 700; }
.ni-lockup { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 10px; text-decoration: none; color: #fff;
             background: radial-gradient(circle at 50% 50%, #D8152A 0%, #A10E1F 100%); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); line-height: 1; }
.ni-lockup:hover, .ni-lockup:focus-visible { color: #fff; outline: 2px solid var(--nii-ink, #1E1B4B); outline-offset: 2px; }
.ni-lockup img { height: 38px; width: auto; filter: brightness(0) invert(1) drop-shadow(1px 2px 1px rgba(0, 0, 0, .35)); }
.ni-words b { display: block; font-weight: 800; font-size: 15px; line-height: 1.05; letter-spacing: .02em; }
.ni-words small { display: block; font-size: 9.5px; opacity: .92; margin-top: 4px; font-weight: 500; }
.ni-lockup.sm { padding: 6px 10px 6px 8px; }
.ni-lockup.sm img { height: 28px; }
.ni-lockup.sm .ni-words b { font-size: 12px; }
.ni-lockup.sm .ni-words small { display: none; }
