/*
 * ReAnime theme: AniHoshi adaptations on top of the compiled skin
 * (css/reanime.css, a Tailwind v4 build — only the utilities its own views
 * used exist there, so anything new is written out here).
 */

/* ---- AniHoshi wordmark (reanime.partials.logo) ---- */
.rn-logo { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.rn-logo-mark { height: 100%; width: auto; flex: none; filter: drop-shadow(0 0 10px rgb(124 207 0 / .25)); }
.rn-logo-text { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #fff; }
.rn-logo-tail { color: var(--color-primary); }
.rn-logo-o { display: inline-block; height: .74em; width: .74em; margin: 0 .02em; vertical-align: -.04em; }
@media (min-width: 640px) { .rn-logo-text { font-size: 25px; } }
@media (min-width: 1024px) { .rn-logo-text { font-size: 28px; } }
footer .rn-logo-text { font-size: 26px; }
@media (min-width: 640px) { footer .rn-logo-text { font-size: 32px; } }
/* Site wordmark (partials.site-wordmark) — themes that are not the AniHoshi brand show the site name. */
.rn-logo .rn-wordmark { font-size: 22px !important; font-weight: 900 !important; letter-spacing: -.03em !important; color: #fff !important; }
.rn-logo .rn-wordmark .site-wordmark-ac { font: inherit; }
@media (min-width: 640px) { .rn-logo .rn-wordmark { font-size: 25px !important; } }
@media (min-width: 1024px) { .rn-logo .rn-wordmark { font-size: 28px !important; } }
footer .rn-logo .rn-wordmark { font-size: 26px !important; }
@media (min-width: 640px) { footer .rn-logo .rn-wordmark { font-size: 32px !important; } }
.rn-landing-logo .rn-logo .rn-wordmark { font-size: 34px !important; }
@media (min-width: 768px) { .rn-landing-logo .rn-logo .rn-wordmark { font-size: 44px !important; } }
@media (min-width: 1024px) { .rn-landing-logo .rn-logo .rn-wordmark { font-size: 54px !important; } }

/* ---- Notification bell: AniHoshi has a fourth (Friends) tab ---- */
.user-notification.fixed { width: min(21rem, calc(100vw - 16px)); }

/* ---- Pages that fall back to the default theme (body.rn-legacy) ----
   Their stylesheets sit in the `rnlegacy` cascade layer (see the layout), so
   Tailwind utilities win, but a few legacy element rules still reach shell
   properties the utilities never set. */
body.rn-legacy { padding: 0; margin: 0; }
.rn-legacy header[data-rn-header] { background: transparent; height: auto; padding: 0; box-shadow: none; }
.rn-legacy #user .btn, .rn-legacy #user button { background: transparent; border: 0; box-shadow: none; }
.rn-legacy footer { background-color: rgb(0 0 0 / .9); }

/* Landing page wordmark is larger than the header's. */
.rn-landing-logo .rn-logo-text { font-size: 34px; }
@media (min-width: 768px) { .rn-landing-logo .rn-logo-text { font-size: 44px; } }
@media (min-width: 1024px) { .rn-landing-logo .rn-logo-text { font-size: 54px; } }

/* Default-theme pages pick up the ReAnime palette through their own tokens. */
body.rn-legacy { --ak-accent: var(--ah-accent, #7ccf00); --ak-bg: var(--hs-bg, #000000); --ak-bg-2: var(--hs-bg-2, #0d0d0f); }
