.ns-animal-guide{--animal-bg:#14292c;--animal-edge:#59706b;--animal-txt:#eae8d9;--animal-muted:#bdd0c8;--animal-accent:#e2c588;color:var(--animal-txt);max-width:980px;margin:0 auto}
.ns-animal-guide .ns-animal-head{padding:clamp(.8rem,3vw,1.4rem);background:radial-gradient(ellipse at top right,#314847,var(--animal-bg) 72%);border:1px solid var(--animal-edge);border-radius:16px;margin-bottom:.8rem}
#detail .ns-animal-head :is(h2,p){margin:.3rem 0}
.ns-animal-head button{min-height:44px;margin-bottom:.55rem}
.ns-animal-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:.4rem}
.ns-animal-groups button{display:flex;align-items:center;justify-content:center;gap:.38rem;text-align:center;min-height:44px;margin:0;padding:.36rem .3rem;line-height:1.15}
#detail .ns-animal-groups button[aria-pressed=true]{background:var(--animal-accent);border-color:var(--animal-accent);color:#172023}
.ns-animal-groups svg{flex:none}
.ns-animal-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.42fr);gap:.5rem;margin:.65rem 0}
.ns-animal-inputs label{display:block;font-size:.9rem;color:var(--animal-muted)}
.ns-animal-inputs :is(input,select){box-sizing:border-box;display:block;min-height:44px;width:100%;font-size:16px;margin:.22rem 0 0}
.ns-animal-count{color:var(--animal-muted);margin:.6rem 0;font-size:.92rem}
.ns-animal-results{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem}
.ns-animal-species{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:.65rem;padding:.7rem;background:var(--animal-bg);border:1px solid var(--animal-edge);border-radius:.7rem}
.ns-animal-symbol{display:grid;place-items:center;background:#ffffff0c;color:var(--animal-accent);width:2.1rem;height:2.1rem;border-radius:.5rem}
#detail .ns-animal-species h3{margin:0;line-height:1.17;font-size:1.1rem;overflow-wrap:anywhere}
.ns-animal-species i,.ns-animal-tag{display:block;margin:.23rem 0;font-size:.83rem;overflow-wrap:anywhere;color:var(--animal-muted)}
.ns-animal-tag[data-status="introduced"]{color:#f6cbad}
.ns-animal-species a,.ns-animal-sources a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.2em}
.ns-animal-pager{margin:.6rem 0;display:flex;gap:.4rem}
.ns-animal-pager button{min-height:44px}
.ns-animal-pager button[hidden]{display:none!important}
.ns-animal-sources{padding:.6rem .8rem;border:1px solid var(--animal-edge);border-radius:.6rem}
.ns-animal-sources summary{padding:.45rem 0;cursor:pointer}
.ns-animal-sources ul{margin:.3rem 0;padding-left:1.1rem}
html.north-red-mode .ns-animal-guide{--animal-bg:#321216;--animal-edge:#90505a;--animal-txt:#ffded5;--animal-muted:#efbfb8;--animal-accent:#ffc5b4}
html.north-red-mode .ns-animal-guide .ns-animal-head{background:#230b11}
@media(max-width:600px){.ns-animal-results{grid-template-columns:1fr}}
@media(max-width:420px){.ns-animal-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.ns-animal-groups button{font-size:.8rem}.ns-animal-groups svg{width:17px;height:17px}.ns-animal-inputs{grid-template-columns:1fr}}
