/* Anime pages (/anime/ and /anime/<show>). Builds on assets/css/styles.css, games/games.css and the
   guide cards (.gguide, copied below so guides.css is not needed). Copied into next/anime/ by anime/build.py. */

.an .nav__links a[href="/anime/"] { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.an .nav__links a[href="/games/"] { text-decoration: none; }

.an__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.bars a.bars__l { color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.an__about { padding: var(--sec) 0 0; }
.an__about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.an__text { max-width: 40em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; }
.an__text p + p { margin-top: 1em; }
.an__text a { color: var(--ink); font-weight: 700; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.gcards--guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(22px, 2.6vw, 40px); }
.gguide { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.2vw, 30px); border-radius: 22px; background: var(--tint); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease); }
.gmore .gguide { background: #fff; }
.gguide:hover { transform: translateY(-3px); }
.gguide b { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.gguide span { color: var(--ink2); line-height: 1.5; }

@media (max-width: 900px) {
  .an__about-in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gguide { transition: none; } }
