.anime-tool .page-head { max-width: 780px; }
.anime-tool [hidden] { display: none !important; }
.anime-tool fieldset { min-width: 0; margin: 0 0 1rem; border: 1px solid #e7d9eb; border-radius: 1rem; padding: 1rem; }
.anime-tool legend { padding: 0 .4rem; font-weight: 700; }
.anime-fields, .anime-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.anime-character label { display: block; margin-bottom: .5rem; }
.anime-character input, .anime-character select, .anime-tool input[readonly], .anime-tool textarea { width: 100%; }
.anime-tool .anime-compare { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; }
.anime-tool .anime-compare input { width: auto; margin: 0; }
.anime-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.anime-result { padding: 1.2rem; border-radius: 1rem; background: #faf2fa; color: #321c3d; overflow-wrap: anywhere; }
.anime-result:only-child { grid-column: 1 / -1; }
.anime-result h3, .anime-result p { margin: 0 0 .45rem; }
.anime-result .anime-score { font-size: clamp(2rem, 7vw, 4rem); font-weight: 800; line-height: 1.15; }
.anime-table { overflow-x: auto; }
.anime-table table { width: 100%; border-collapse: collapse; text-align: left; }
.anime-table th, .anime-table td { padding: .6rem; border-bottom: 1px solid #e7d9eb; }
@media (max-width: 620px) { .anime-fields, .anime-cards { grid-template-columns: 1fr; } }
