/* Alarion — centralização, bestiário vetorial e cartografia interativa */
.hero{display:flex;flex-direction:column;align-items:center;text-align:center}
.hero .seal{display:block;width:min(250px,62vw);height:auto;aspect-ratio:1;margin:0 auto .6rem;color:var(--ac);--sw:1.2}
.hero h1,.hero p,.hero .hero-actions,.hero .hgb{width:100%;margin-left:auto;margin-right:auto}
.kc{text-align:center;align-items:center;min-height:236px;padding:1rem .8rem 1.15rem;color:#fff!important;background:linear-gradient(150deg,var(--c),color-mix(in srgb,var(--c) 45%,#000))!important;box-shadow:0 6px 18px color-mix(in srgb,var(--c) 35%,transparent)}
.kc i{align-self:center;margin:0 0 auto;padding:.1rem .2rem .28rem;color:#fff}
.kc .ks{position:relative;top:auto;right:auto;display:block;width:4.9rem;height:4.9rem;margin:.9rem auto .35rem;color:#fff;--sw:3.8;flex:none}
.kc .ks .seal{width:100%;height:100%}
.kc b{margin-top:.35rem;max-width:100%;font-size:clamp(1.05rem,2vw,1.4rem);color:#fff}
.kc small{max-width:19rem;margin:.35rem auto 0;font-size:.91rem;color:#fff}
@media(max-width:480px){.kc{min-height:210px;padding:.8rem .55rem 1rem}.kc .ks{width:4rem;height:4rem;margin:.7rem auto .25rem}.kc b{font-size:1rem}.kc small{font-size:.78rem}}

/* Silhuetas únicas desenhadas como SVG inline a partir das fichas do mundo. */
.ksil{color:var(--ac);opacity:1}
.ksil.mi{opacity:1}
.ksil .species-svg{display:block;width:100%;height:100%;overflow:visible}
.kb .ksil{display:grid;place-items:center;width:5.25rem;height:5.25rem;margin:0 auto .7rem;padding:.55rem;border:2px solid var(--ac);border-radius:50%;background:#30291f;color:#fff!important;opacity:1}
.kb .ksil .species-svg{width:100%;height:100%;color:#fff!important}
.species-portrait{display:flex;flex-direction:column;align-items:center;gap:.25rem;margin:.65rem auto 1.1rem;color:var(--ac)}
.species-portrait .species-svg{width:7rem;height:7rem;overflow:visible;color:#fff!important;background:#30291f;border:2px solid var(--ac);border-radius:50%;padding:.72rem;filter:drop-shadow(0 4px 7px color-mix(in srgb,var(--ac) 28%,transparent))}
.species-portrait figcaption{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);opacity:.7}
.glyph-frame{fill:none;stroke:currentColor;stroke-width:1.4;stroke-dasharray:1.5 4;opacity:.34}
.glyph-fill{fill:currentColor;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
.glyph-line{fill:none;stroke:currentColor;stroke-width:3.2;stroke-linejoin:round;stroke-linecap:round}
.glyph-line.thick{stroke-width:9}
.glyph-detail{fill:var(--bg,#fffdf6);stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.glyph-spark{fill:currentColor;opacity:.72}
.li{display:flex;align-items:center;gap:.8rem}
.li .tx{position:relative;display:block;flex:1;min-width:0}
.li .mn.species-list-mark{position:relative;top:auto;right:auto;display:grid;place-items:center;flex:none;width:2.7rem;height:2.7rem;margin:0;background:transparent;color:var(--b);font-size:0;opacity:1;border-radius:50%;overflow:visible;pointer-events:auto}
.species-list-mark .species-svg{display:block;width:100%;height:100%;overflow:visible;color:var(--b)}
.species-list-mark .glyph-frame{opacity:.24}
@media(max-width:560px){.li .mn.species-list-mark{width:2.35rem;height:2.35rem}}

/* Atlas de Alarion: costa, rotas pontilhadas, selos acessíveis e legenda. */
.atlas-lede{max-width:46rem;margin:.25rem auto 1.2rem;text-align:center}
.atlas-card,.atlas-routebook{margin:1rem 0 1.6rem;padding:clamp(.8rem,2.5vw,1.35rem);border:1px solid color-mix(in srgb,var(--ac) 52%,transparent);border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--cd) 96%,#fff),var(--cd));box-shadow:0 10px 26px color-mix(in srgb,var(--ink) 10%,transparent)}
.atlas-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:.2rem .2rem .9rem}
.atlas-heading h2,.atlas-route-heading h2{margin:.15rem 0;font:500 clamp(1.2rem,2.6vw,1.65rem) Cinzel,serif;color:var(--ac)}
.atlas-heading p{max-width:23rem;margin:0;font-size:.88rem;opacity:.75;text-align:right}
.atlas-kicker{font:600 .68rem Cinzel,serif;letter-spacing:.19em;text-transform:uppercase;color:var(--ac);opacity:.85}
.atlas-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid color-mix(in srgb,var(--ac) 35%,transparent);border-radius:16px;background:#cad8d1;scrollbar-color:var(--ac) #dfe5dc;scrollbar-width:thin}
.atlas-map{position:relative;width:100%;min-width:780px;aspect-ratio:1200/780;overflow:hidden;border-radius:15px}
.atlas-terrain{position:absolute;inset:0;width:100%;height:100%;display:block}
.atlas-land{fill:#e6d8b2;stroke:#827a65;stroke-width:3}
.atlas-land--west,.atlas-land--south{fill:#d9c89c;stroke-width:2.2}
.atlas-coast{fill:none;stroke:#f5eedc;stroke-width:4;opacity:.8}
.atlas-islands path{fill:#dfd0a7;stroke:#8a8068;stroke-width:2}
.atlas-river{fill:none;stroke:#5d9eac;stroke-width:5;stroke-linecap:round;opacity:.78}
.atlas-mountains use,.atlas-forest use{opacity:.74}
.atlas-route{color:var(--route);fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-dasharray:1 12}
.atlas-route .route-halo{stroke:#fff9e9;stroke-width:11;stroke-dasharray:1 12;opacity:.9;filter:url(#atlas-soft)}
.atlas-route[style*="#15151a"]{color:#313038}
.atlas-route[style*="#eee5cb"]{color:#b5a77b}
.atlas-compass{fill:none;stroke:#342d25;stroke-width:2}
.atlas-compass circle:first-child{fill:#f5ebd2;fill-opacity:.55}
.atlas-compass path{fill:#27343a;stroke:#f1e5c7;stroke-width:1.2}
.atlas-compass circle:last-of-type{fill:#b38b39;stroke:#5a4724}
.atlas-compass text{font:700 13px Cinzel,serif;fill:#282820;text-anchor:middle;stroke:none}
.atlas-sea-label{font:italic 18px 'Cormorant Garamond',serif;letter-spacing:3px;fill:#345e69;opacity:.85}
.atlas-node{position:absolute;left:var(--x);top:var(--y);z-index:2;display:flex;flex-direction:column;align-items:center;gap:.18rem;min-width:92px;transform:translate(-50%,-50%);text-decoration:none;color:#28251e;text-shadow:0 1px 0 #fff9}
.atlas-badge{display:grid;place-items:center;width:3.35rem;height:3.35rem;border:2px solid var(--realm);border-radius:50%;background:#fff9e9;box-shadow:0 3px 9px #29231b55;color:var(--realm);transition:transform .2s,box-shadow .2s}
.atlas-badge .seal{display:block;width:76%;height:76%;--sw:3.8}
.atlas-node:hover .atlas-badge,.atlas-node:focus-visible .atlas-badge{transform:scale(1.12);box-shadow:0 0 0 5px color-mix(in srgb,var(--realm) 25%,transparent),0 4px 12px #29231b55}
.atlas-node:focus-visible{outline:0}
.atlas-name{display:flex;align-items:center;gap:.35rem;padding:.13rem .5rem;border:1px solid color-mix(in srgb,var(--realm) 70%,#fff);border-radius:4px;background:#fff9e8ef;box-shadow:0 2px 5px #28251e33;white-space:nowrap}
.atlas-name i{font:600 .55rem Cinzel,serif;color:var(--realm);font-style:normal}
.atlas-name b{font:600 .76rem Cinzel,serif}
.atlas-foot{display:flex;justify-content:space-between;gap:.7rem;padding:.65rem .25rem .05rem;font-size:.75rem;opacity:.7}
.atlas-routebook{padding:1rem 1.2rem 1.25rem}
.atlas-route-heading{margin:0 0 .7rem}
.atlas-route-heading p{margin:.3rem 0 0;font-size:.92rem;opacity:.76}
.atlas-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem 1rem;margin:.6rem 0 0;padding:0;list-style:none}
.atlas-routes li{min-width:0;border-bottom:1px solid color-mix(in srgb,var(--ac) 18%,transparent)}
.atlas-routes a{display:flex;align-items:center;gap:.65rem;padding:.56rem .15rem;text-decoration:none;color:var(--ink)}
.atlas-routes a>i{display:grid;place-items:center;flex:none;width:1.75rem;height:1.75rem;border:2px solid var(--route);border-radius:50%;font:600 .62rem Cinzel,serif;color:var(--route);font-style:normal}
.atlas-routes a span{min-width:0;display:flex;flex-direction:column}
.atlas-routes a b{font:600 .83rem Cinzel,serif;line-height:1.25}
.atlas-routes a small{font-size:.77rem;opacity:.68}
.atlas-routes a:hover b,.atlas-routes a:focus-visible b{color:var(--route)}
@media(max-width:700px){.atlas-heading{display:block}.atlas-heading p{margin-top:.45rem;text-align:left}.atlas-routes{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-foot{font-size:.68rem}}
@media(max-width:420px){.atlas-routes{grid-template-columns:1fr}.atlas-routebook{padding:.8rem}.atlas-badge{width:3rem;height:3rem}.atlas-name b{font-size:.7rem}}


/* Cartografia explorável: zoom por botões, roda com Ctrl e pinça de dois dedos. */
.atlas-map-tools{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:0 .15rem .65rem}
.atlas-zoom-hint{font:600 .72rem Quicksand,sans-serif;letter-spacing:.04em;opacity:.68}
.atlas-zoom-buttons{display:flex;gap:.25rem}
.atlas-zoom-buttons button{min-width:2.25rem;height:2.15rem;padding:0 .55rem;border:1px solid color-mix(in srgb,var(--ac) 42%,transparent);border-radius:9px;background:var(--cd);color:var(--ac);font:700 1rem Cinzel,serif;cursor:pointer;transition:background .2s,transform .2s}
.atlas-zoom-buttons button:hover,.atlas-zoom-buttons button:focus-visible{background:color-mix(in srgb,var(--ac) 14%,var(--cd));transform:translateY(-1px);outline:0}
.atlas-zoom-buttons button[data-atlas-zoom="reset"]{min-width:3.7rem;font-size:.72rem}
.atlas-scroll{touch-action:pan-x pan-y}.atlas-viewport{overscroll-behavior:contain}
.atlas-viewport{min-width:100%;overflow:hidden;position:relative;touch-action:none;background:#cad8d1}
.atlas-map{transform:scale(var(--atlas-zoom,.78));transform-origin:center center;transition:transform .2s ease}
.atlas-viewport:has(.atlas-map[style*="2."]){cursor:grab}
.species-svg--flora{filter:saturate(1.18)}
.species-svg--mystic{filter:drop-shadow(0 0 3px currentColor)}
.species-portrait--flora .species-svg{border-radius:18px 18px 42% 42%;background:linear-gradient(145deg,#203d2b,#15231b);border-style:dashed}
.species-portrait--mystic .species-svg{border-radius:28% 28% 48% 48%;background:linear-gradient(145deg,#262335,#15131e);border-style:dotted}
.species-portrait--fauna .species-svg{background:radial-gradient(circle at 35% 28%,#4d4538,#30291f 65%)}
.species-list-mark--flora{border-radius:12px!important;background:color-mix(in srgb,#3f7d3a 18%,transparent)!important}
.species-list-mark--mystic{border-radius:30% 30% 45% 45%!important;background:color-mix(in srgb,#6d5a86 15%,transparent)!important}
.species-entry--flora .tx b{letter-spacing:.015em}
.species-entry--flora .species-kind,.species-entry--fauna .species-kind,.species-entry--mystic .species-kind{display:inline-flex;align-self:flex-start;margin-top:.28rem;padding:.12rem .4rem;border-radius:999px;font:700 .58rem Quicksand,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.species-kind--flora{color:#2e6637;background:#dcebd9}
.species-kind--fauna{color:#80551c;background:#f0e0bd}
.species-kind--mística{color:#66517e;background:#e7deef}
@media(max-width:520px){.atlas-map-tools{align-items:flex-start;flex-direction:column}.atlas-zoom-buttons{width:100%}.atlas-zoom-buttons button{flex:1}.atlas-zoom-hint{font-size:.66rem}}
@media(prefers-reduced-motion:reduce){.atlas-map{transition:none}.atlas-zoom-buttons button{transition:none}}

.atlas-ice{fill:#d9e8e7;stroke:#789ba0;stroke-width:3;opacity:.92}.atlas-ice-ridge{fill:none;stroke:#f8f4e8;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;opacity:.9}.atlas-region-label{font:600 14px Cinzel,serif;letter-spacing:2px;fill:#47717a;text-anchor:middle;opacity:.82}.atlas-node{min-width:82px}.atlas-name{box-shadow:0 3px 8px #28251e44}.glyph-accent{fill:none;stroke:var(--species-accent,#f3d98b);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.86}.species-svg--flora .glyph-accent{stroke-width:2.4}.species-svg--mystic .glyph-accent{stroke-dasharray:3 4;opacity:.7}.species-svg--fauna .glyph-accent{stroke-width:2.2}


/* Cartografia responsiva sem zoom travado: dois modos explícitos e rolagem nativa. */
.atlas-view-switch{display:flex;gap:.3rem;flex-wrap:wrap}
.atlas-view-switch button{border:1px solid color-mix(in srgb,var(--ac) 42%,transparent);border-radius:999px;padding:.48rem .75rem;background:var(--cd);color:var(--ac);font:700 .69rem Quicksand,sans-serif;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.atlas-view-switch button.is-active,.atlas-view-switch button:hover,.atlas-view-switch button:focus-visible{background:var(--ac);color:#fff8e8;transform:translateY(-1px);outline:0}
.atlas-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scroll-behavior:smooth}
.atlas-viewport{position:relative;min-width:100%;width:100%;overflow:visible;touch-action:pan-x pan-y}
.atlas-scroll--overview .atlas-viewport{width:100%;min-width:100%}
.atlas-scroll--explore .atlas-viewport{width:1120px;min-width:1120px}
.atlas-scroll--overview .atlas-map,.atlas-scroll--explore .atlas-map{width:100%;min-width:0;transform:none;transition:none}
.atlas-scroll--explore .atlas-map{cursor:grab}
.atlas-scroll--explore:active .atlas-map{cursor:grabbing}
.atlas-map-tools{align-items:center}
@media(max-width:520px){.atlas-map-tools{align-items:flex-start;flex-direction:column}.atlas-view-switch{width:100%}.atlas-view-switch button{flex:1}.atlas-scroll--explore .atlas-viewport{width:980px;min-width:980px}}
/* Símbolos: maior área de leitura, molduras não circulares e identidade por categoria. */
.li .mn.species-list-mark{width:4rem;height:4rem;border:1px solid color-mix(in srgb,var(--b) 52%,transparent);padding:.26rem;box-shadow:0 4px 10px #0002}
.species-list-mark .species-svg{width:100%;height:100%;padding:.08rem}
.species-list-mark--fauna{border-radius:50%!important;background:radial-gradient(circle at 32% 25%,#f5dfb6,#b97b38)!important}
.species-list-mark--flora{border-radius:18% 18% 46% 46%!important;background:linear-gradient(145deg,#d5ead0,#527b4e)!important}
.species-list-mark--mystic{border-radius:26% 26% 46% 46%!important;background:linear-gradient(145deg,#e8ddf2,#6d5783)!important;transform:rotate(45deg);margin-right:.45rem!important}
.species-list-mark--mystic .species-svg{transform:rotate(-45deg)}
.species-entry--flora .tx b,.species-entry--fauna .tx b,.species-entry--mystic .tx b{font-size:1.18rem}
.species-svg--flora .glyph-fill{fill:color-mix(in srgb,currentColor 76%,#d9f0bf)!important}
.species-svg--fauna .glyph-fill{fill:color-mix(in srgb,currentColor 82%,#f7dfae)!important}
.species-svg--mystic .glyph-fill{fill:color-mix(in srgb,currentColor 72%,#eee1ff)!important}
@media(max-width:560px){.li .mn.species-list-mark{width:3.45rem;height:3.45rem}.species-entry--flora .tx b,.species-entry--fauna .tx b,.species-entry--mystic .tx b{font-size:1.05rem}}

.atlas-scroll--explore.is-dragging{cursor:grabbing;user-select:none}.atlas-scroll--explore.is-dragging .atlas-node{pointer-events:none}

.atlas-scroll--overview .atlas-map{transform:scale(.84);transform-origin:center center}
.atlas-scroll--overview .atlas-badge{width:2.85rem;height:2.85rem}
.atlas-scroll--overview .atlas-name{padding:.1rem .38rem}
.atlas-scroll--overview .atlas-name b{font-size:.66rem}
.atlas-scroll--overview .atlas-name i{font-size:.5rem}
.atlas-scroll--overview .atlas-node{min-width:72px}
.atlas-scroll--overview .atlas-viewport{background:#cad8d1;display:grid;place-items:center}
@media(max-width:520px){.atlas-scroll--overview .atlas-map{transform:scale(.8)}.atlas-scroll--overview .atlas-badge{width:2.55rem;height:2.55rem}.atlas-scroll--overview .atlas-name b{font-size:.58rem}}

/* Revisão visual 2026-10: mapa inteiro mais arejado e símbolos que mostram o sujeito, não apenas a moldura. */
.atlas-scroll--overview .atlas-viewport{background:linear-gradient(135deg,#b7ccc5 0%,#dbe3d7 48%,#b8cfc8 100%);padding:clamp(.45rem,1.5vw,1rem)}
.atlas-scroll--overview .atlas-map{transform:none;filter:drop-shadow(0 12px 15px #34453b33)}
.atlas-scroll--overview .atlas-route{opacity:.42;stroke-width:3.5}
.atlas-scroll--overview .atlas-route .route-halo{opacity:.28;stroke-width:8}
.atlas-scroll--overview .atlas-land{stroke-width:4}
.atlas-scroll--overview .atlas-node{min-width:86px;filter:drop-shadow(0 3px 4px #33423733)}
.atlas-scroll--overview .atlas-badge{width:3.05rem;height:3.05rem;border-width:3px;background:#fffdf4}
.atlas-scroll--overview .atlas-name{padding:.2rem .48rem;background:#fffdf4f2;border-width:1.5px}
.atlas-scroll--overview .atlas-name b{font-size:.72rem}
.atlas-scroll--explore .atlas-route{opacity:.82}
.atlas-scroll--explore .atlas-route .route-halo{opacity:.75}
.atlas-routebook{position:relative}
.atlas-routebook:before{content:"";display:block;width:3rem;height:3px;margin:-1.25rem auto 1rem;background:var(--ac);border-radius:99px;opacity:.5}
.species-svg--fauna .glyph-fill{fill:color-mix(in srgb,currentColor 88%,#f8dfae)!important}
.species-svg--flora .glyph-fill{fill:color-mix(in srgb,currentColor 80%,#d9f2bc)!important}
.species-svg--mystic .glyph-fill{fill:color-mix(in srgb,currentColor 72%,#eee4ff)!important}
.species-svg--fauna .glyph-detail{fill:#fff4d6}
.species-svg--flora .glyph-detail{fill:#f3f8d8}
.species-svg--fauna-arthropod .glyph-line{stroke-width:2.6}
.species-svg--fauna-bird .glyph-fill{stroke-width:1.8}
.species-svg--fauna-aquatic .glyph-fill{stroke-width:1.8}
.species-svg--mystic .glyph-fill{filter:drop-shadow(0 0 2px currentColor)}
.species-svg--flora .glyph-accent{stroke-dasharray:none;opacity:.65}


/* Mapa de referência: no celular o overview vira uma leitura numerada, sem nomes empilhados. */
@media(max-width:560px){
  .atlas-scroll--overview .atlas-viewport{padding:.35rem;overflow:hidden}
  .atlas-scroll--overview .atlas-map{width:100%;min-width:0;aspect-ratio:1200/780}
  .atlas-scroll--overview .atlas-node{min-width:0}
  .atlas-scroll--overview .atlas-name{padding:.18rem .34rem;border-radius:999px;background:#fffdf4f5}
  .atlas-scroll--overview .atlas-name b{display:none}
  .atlas-scroll--overview .atlas-name i{font-size:.62rem}
  .atlas-scroll--overview .atlas-badge{width:2.35rem;height:2.35rem}
  .atlas-scroll--overview .atlas-route{opacity:.26;stroke-width:2.5}
  .atlas-scroll--overview .atlas-route .route-halo{opacity:.16;stroke-width:6}
  .atlas-foot span:first-child{max-width:70%}
}

/* O sujeito é o símbolo: moldura neutra, sem transformar o fundo em protagonista. */
.species-list-mark--fauna,.species-list-mark--flora,.species-list-mark--mystic{background:transparent!important;border:0!important;box-shadow:none!important}
.species-list-mark--mystic{transform:none!important;margin-right:0!important}
.species-list-mark--mystic .species-svg{transform:none!important}
.species-portrait .species-svg{background:#332d25!important;border-color:color-mix(in srgb,var(--ac) 68%,#fff)!important}
.species-portrait--flora .species-svg{background:#21392a!important}
.species-portrait--mystic .species-svg{background:#262333!important}
.species-list-mark .species-svg{filter:drop-shadow(0 2px 1px #0004)}


/* Mobile-first atlas: the overview is a map, not a pile of labels. */
@media(max-width:560px){
  .atlas-card{padding:.72rem;border-radius:18px}
  .atlas-heading{display:block;margin-bottom:.65rem}
  .atlas-heading h2{font-size:1.35rem;margin:.18rem 0 .28rem}
  .atlas-heading p{font-size:.72rem;line-height:1.45;margin:0;color:color-mix(in srgb,var(--ink) 68%,transparent)}
  .atlas-map-tools{gap:.45rem;padding:0 0 .55rem}
  .atlas-zoom-hint{font-size:.68rem}
  .atlas-view-switch{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .atlas-view-switch button{font-size:.7rem;padding:.55rem .4rem}
  .atlas-scroll--overview{border-radius:13px;overflow:hidden}
  .atlas-scroll--overview .atlas-viewport{padding:.22rem;background:#bfd1c9;overflow:hidden}
  .atlas-scroll--overview .atlas-map{width:100%;min-width:0;aspect-ratio:1200/780;transform:none!important;filter:drop-shadow(0 7px 9px #34453b33)}
  .atlas-scroll--overview .atlas-node{min-width:0;filter:none}
  .atlas-scroll--overview .atlas-name{display:none!important}
  .atlas-scroll--overview .atlas-badge{width:1.95rem;height:1.95rem;border-width:2px;background:#fffdf4;box-shadow:0 2px 4px #29231b44;position:relative}
  .atlas-scroll--overview .atlas-badge::after{content:attr(data-map-number);position:absolute;inset:0;display:grid;place-items:center;font:700 .58rem/1 Cinzel,serif;color:var(--realm);background:#fffdf4;border-radius:50%;opacity:.96}
  .atlas-scroll--overview .atlas-badge .seal{opacity:0}
  .atlas-scroll--overview .atlas-route{opacity:.32;stroke-width:2.4}
  .atlas-scroll--overview .atlas-route .route-halo{opacity:.12;stroke-width:5}
  .atlas-scroll--overview .atlas-region-label,.atlas-scroll--overview .atlas-sea-label{font-size:10px;letter-spacing:1px}
  .atlas-foot{font-size:.62rem;line-height:1.35;gap:.35rem;align-items:flex-start}
  .atlas-foot span:last-child{white-space:nowrap}
}

/* Species: one quiet container, then the actual animal/plant drawing. */
.species-list-mark{width:4rem!important;height:4rem!important;padding:.12rem!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.species-list-mark .species-svg{width:100%!important;height:100%!important;filter:none!important}
.species-list-mark .glyph-frame{display:none!important}
.species-list-mark .glyph-fill{stroke-width:.8!important}
.species-list-mark .glyph-line{stroke-width:2.35!important}
.species-list-mark .glyph-line.thick{stroke-width:6!important}
.species-list-mark .glyph-detail{stroke:none!important}
@media(max-width:560px){
  .species-list-mark{width:3.7rem!important;height:3.7rem!important}
  .species-entry--flora .tx b,.species-entry--fauna .tx b,.species-entry--mystic .tx b{font-size:1rem}
}

@media(max-width:560px){
  .atlas-scroll--overview .atlas-region-label,.atlas-scroll--overview .atlas-sea-label,.atlas-scroll--overview .atlas-compass{display:none}
  .atlas-scroll--overview .atlas-waves{opacity:.34}
  .atlas-scroll--overview .atlas-mountains,.atlas-scroll--overview .atlas-forest,.atlas-scroll--overview .atlas-dunes{opacity:.58}
  .atlas-scroll--overview .atlas-land{stroke-width:3}
}
.species-list-mark .glyph-fill{fill:currentColor!important;stroke:currentColor!important}
.species-list-mark .glyph-line{stroke:currentColor!important}
.species-list-mark .glyph-detail{fill:#fff9e8!important}
.species-list-mark .glyph-accent{opacity:.9!important}
.species-list-mark .glyph-fill{fill:color-mix(in srgb,currentColor 24%,#fff8eb)!important;stroke:currentColor!important;stroke-width:1.6!important}

/* Species detail hero: the creature/plant floats alone, with no badge behind it. */
.kb .ksil.ksil--species{
  display:grid!important;place-items:center;width:min(13rem,54vw)!important;height:min(13rem,54vw)!important;
  margin:.25rem auto .85rem!important;padding:0!important;background:transparent!important;border:0!important;
  border-radius:0!important;color:var(--ac)!important;opacity:1!important;overflow:visible!important;
}
.kb .ksil.ksil--species .species-svg{
  display:block;width:100%!important;height:100%!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  color:var(--ac)!important;filter:drop-shadow(0 8px 8px color-mix(in srgb,var(--ac) 22%,transparent));
  transform-origin:50% 72%;will-change:transform;
}
.kb .ksil.ksil--species .glyph-frame{display:none!important}
.kb .ksil--fauna .species-svg{animation:species-hover 4.8s ease-in-out infinite}
.kb .ksil--flora .species-svg{animation:species-sway 5.6s ease-in-out infinite}
.kb .ksil--mystic .species-svg{animation:species-ethereal 4.2s ease-in-out infinite}
.kb .ksil--species .species-svg--fauna-winged{animation:species-wing 2.8s ease-in-out infinite}
.kb .ksil--species .species-svg--fauna-aquatic{animation:species-swim 4.2s ease-in-out infinite}
.kb .ksil--species .species-svg--flora-flower{animation:species-sway 4.2s ease-in-out infinite}
.kb .ksil--species .species-svg--flora-tree{animation:species-tree 5.8s ease-in-out infinite}
@keyframes species-hover{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@keyframes species-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2.5deg)}}
@keyframes species-ethereal{0%,100%{transform:translateY(2px) scale(.98);opacity:.78}50%{transform:translateY(-8px) scale(1.02);opacity:1}}
@keyframes species-wing{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(-4px) scaleY(.94)}}
@keyframes species-swim{0%,100%{transform:translateX(-2px) rotate(-1deg)}50%{transform:translateX(3px) rotate(1deg)}}
@keyframes species-tree{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}
@media(max-width:560px){.kb .ksil.ksil--species{width:9.5rem!important;height:9.5rem!important;margin:.1rem auto .7rem!important}}
@media(prefers-reduced-motion:reduce){.kb .ksil--species .species-svg{animation:none!important}}

/* Detail pages: no colored hero panel behind the living symbol. */
.kb:has(.ksil--species){
  margin:0 0 .65rem!important;padding:1rem 0 .55rem!important;
  background:transparent!important;border-radius:0!important;
}
.kb:has(.ksil--species) h1,.kb:has(.ksil--species)>p{color:var(--ink)!important}
.kb:has(.ksil--species),.kb:has(.ksil--species) h1{animation:none!important;filter:none!important}

/* Elementos do livro: movimento contínuo depois do desenho inicial. */
.card.ec .cs{
  animation:element-seal-float 4.6s ease-in-out infinite;
  transform-origin:50% 50%;
  will-change:transform,filter;
}
.card.ec:nth-child(2n) .cs{animation-name:element-seal-pulse;animation-duration:3.8s}
.card.ec:nth-child(3n) .cs{animation-name:element-seal-drift;animation-duration:5.2s}
.card.ec:nth-child(4n) .cs{animation-name:element-seal-spin;animation-duration:6.4s}
.card.ec:nth-child(5n) .cs{animation-delay:-1.1s}
.card.ec:nth-child(3n+1) .cs{animation-delay:-.55s}
.kb .kseal{
  animation:element-hero-float 4.8s ease-in-out infinite;
  transform-origin:50% 50%;
  will-change:transform,filter;
}
.kb .kseal .seal{animation:element-hero-glow 3.4s ease-in-out infinite alternate}
@keyframes element-seal-float{0%,100%{transform:translateY(0) rotate(-1deg);filter:drop-shadow(0 2px 0 #fff3)}50%{transform:translateY(-5px) rotate(1deg);filter:drop-shadow(0 7px 6px #0004)}}
@keyframes element-seal-pulse{0%,100%{transform:scale(1);filter:drop-shadow(0 2px 0 #fff2)}50%{transform:scale(1.09);filter:drop-shadow(0 0 8px currentColor)}}
@keyframes element-seal-drift{0%,100%{transform:translate(0,0) rotate(0)}33%{transform:translate(-3px,-3px) rotate(-3deg)}66%{transform:translate(3px,2px) rotate(3deg)}}
@keyframes element-seal-spin{0%,100%{transform:rotate(-3deg) scale(1)}50%{transform:rotate(3deg) scale(1.05)}}
@keyframes element-hero-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)}}
@keyframes element-hero-glow{from{filter:drop-shadow(0 0 0 transparent)}to{filter:drop-shadow(0 0 10px currentColor)}}
@media(prefers-reduced-motion:reduce){.card.ec .cs,.kb .kseal,.kb .kseal .seal{animation:none!important}}

/* v7: mapa ilustrado — paisagem por reino, fitas de rota e modo Explorar ampliado */
.atlas-ribbon text{font:700 10.5px Cinzel,serif;letter-spacing:.3px;stroke:none}
.atlas-ribbon rect{filter:drop-shadow(0 2px 2px #0005)}
.atlas-scroll--explore .atlas-viewport{width:1760px;min-width:1760px}
@media(max-width:520px){.atlas-scroll--explore .atlas-viewport{width:1500px;min-width:1500px}.atlas-scroll--overview .atlas-ribbon{display:none}}
.atlas-scroll--overview .atlas-route{opacity:.8;stroke-width:3.6}
.atlas-scroll--overview .atlas-route .route-halo{opacity:.5}
.atlas-scroll--explore .atlas-route{opacity:1;stroke-width:5}
.atlas-scroll--overview .atlas-sea-label,.atlas-sea-label{fill:#12363f;font-size:22px;opacity:.9}
.atlas-scroll--overview .atlas-viewport{background:#8fb3b8}
.atlas-scroll--explore .atlas-node{filter:drop-shadow(0 3px 5px #0006)}
@media(max-width:700px){.atlas-scroll--overview .atlas-sea-label{display:block}}

/* ===== Mapa v10: imagem pintada, arrastar, pinça, rotas que balançam ===== */
.alm-tools{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:0 .15rem .65rem;flex-wrap:wrap}
.alm-toggle{border:1px solid color-mix(in srgb,var(--ac) 42%,transparent);border-radius:999px;padding:.48rem .85rem;background:var(--cd);color:var(--ac);font:700 .69rem Quicksand,sans-serif;cursor:pointer;transition:opacity .2s}
.alm-toggle[aria-pressed=true]{background:var(--ac);color:#fff8e8}
.alm-wrap{position:relative}
.alm-viewport{position:relative;overflow:hidden;border-radius:14px;background:#d8c79b;box-shadow:inset 0 0 0 1px #6a4a1a33,0 10px 22px #34453b2e;touch-action:pan-y;height:56vw;transition:height .5s ease;outline:0}
.alm[data-mode=explore] .alm-viewport{touch-action:none;cursor:grab;overscroll-behavior:contain}
.alm.is-drag .alm-viewport{cursor:grabbing}
.alm.is-drag .alm-node{pointer-events:none}
.alm-viewport:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--ac) 60%,transparent)}
.alm-stage{position:absolute;left:0;top:0;width:1448px;height:1086px;transform-origin:0 0;will-change:transform;-webkit-user-select:none;user-select:none}
.alm-stage.is-anim{transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.alm-img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-drag:none}
.alm-fx{position:absolute;inset:0;pointer-events:none}
.alm .fx{position:absolute;display:block;border-radius:50%;transform:translate(-50%,-50%)}
.alm .fx-smoke{width:70px;height:70px;background:radial-gradient(circle,#4a4440cc,#4a444000 70%);opacity:0;animation:almSmoke 7s ease-out infinite;animation-delay:var(--d)}
.alm .fx-smoke.sm{width:42px;height:42px}
.alm .fx-lava{width:150px;height:110px;background:radial-gradient(ellipse,#ff7a1fcc,#ff7a1f00 70%);mix-blend-mode:screen;animation:almPulse 3.2s ease-in-out infinite alternate}
.alm .fx-mist{width:300px;height:120px;background:radial-gradient(ellipse,#ffffffaa,#ffffff00 70%);animation:almMist 16s ease-in-out infinite alternate;animation-delay:var(--d)}
.alm .fx-blue{width:46px;height:46px;background:radial-gradient(circle,#7fd6ffcc,#7fd6ff00 70%);mix-blend-mode:screen;animation:almPulse 2.6s ease-in-out infinite alternate;animation-delay:var(--d)}
.alm .fx-gold{width:80px;height:60px;background:radial-gradient(ellipse,#fff1a8aa,#fff1a800 70%);mix-blend-mode:screen;animation:almPulse 4s ease-in-out infinite alternate;animation-delay:var(--d)}
.alm .fx-spark{width:5px;height:5px;background:#fff;box-shadow:0 0 6px #fff;opacity:0;animation:almTwinkle 5s ease-in-out infinite;animation-delay:var(--d)}
@keyframes almSmoke{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}15%{opacity:.75}100%{opacity:0;transform:translate(-30%,-300%) scale(1.8)}}
@keyframes almPulse{from{opacity:.15}to{opacity:.75}}
@keyframes almMist{from{transform:translate(-65%,-50%)}to{transform:translate(-35%,-55%)}}
@keyframes almTwinkle{0%,100%{opacity:0;transform:translate(-50%,-50%) scale(.4)}50%{opacity:.9;transform:translate(-50%,-50%) scale(1)}}
.alm-routes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;transition:opacity .3s}
.alm[data-routes=off] .alm-routes,.alm[data-routes=off] .alm-chip{opacity:0}
.alm-route{opacity:.82;transition:opacity .3s;animation:almBob 3.4s ease-in-out infinite alternate;animation-delay:var(--d)}
.alm-route path{fill:none;stroke-linecap:round;stroke-dasharray:.1px calc(var(--rw,6) * 2.5px)}
.alm-halo{stroke:var(--h);stroke-opacity:.7;stroke-width:calc(var(--rw,6) * 2px)}
.alm-bead{stroke:var(--c);stroke-width:calc(var(--rw,6) * 1.3px)}
.alm.has-active .alm-route{opacity:.22}
.alm.has-active .alm-route.is-active{opacity:1;animation-duration:2.4s}
.alm.has-active .alm-route.is-active .alm-bead{stroke-width:calc(var(--rw,6) * 1.7px)}
.alm.has-active .alm-route.is-active .alm-halo{stroke-opacity:.95;stroke-width:calc(var(--rw,6) * 2.7px)}
@keyframes almBob{from{transform:translateY(calc(var(--bob,3) * -1px))}to{transform:translateY(calc(var(--bob,3) * 1px))}}
.alm-chip{position:absolute;z-index:4;transform:translate(-50%,-50%) scale(var(--ns,1));padding:.2rem .55rem;border-radius:4px;background:var(--c);color:var(--t);font:700 .62rem Cinzel,serif;letter-spacing:.04em;white-space:nowrap;border:1px solid #fff3cf;box-shadow:0 2px 6px #0007;opacity:0;pointer-events:none;transition:opacity .25s}
.alm-chip.is-on{opacity:1}
.alm-node{position:absolute;width:0;height:0;z-index:3;text-decoration:none;color:#28251e;transform:scale(var(--ns,1));transform-origin:0 0;-webkit-tap-highlight-color:transparent;--bs:2.9rem}
.alm-node:hover,.alm-node:focus-visible{--h:1.12;z-index:6;outline:0}
.alm-node .atlas-badge{position:absolute;left:0;top:0;width:var(--bs);height:var(--bs);transform:translate(-50%,-50%) scale(var(--h,1));transition:transform .2s,box-shadow .2s;background:#fffdf4;border:2.5px solid var(--realm);box-shadow:0 3px 8px #1d140a77}
.alm-node .atlas-badge::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--realm);opacity:0;animation:almPing 4s ease-out infinite}
.alm-node:nth-child(3n) .atlas-badge::after{animation-delay:-1.3s}.alm-node:nth-child(3n+1) .atlas-badge::after{animation-delay:-2.6s}
@keyframes almPing{0%{opacity:.7;transform:scale(.9)}70%,100%{opacity:0;transform:scale(1.55)}}
.alm-node .atlas-name{position:absolute;left:0;top:calc(var(--bs) / 2 + .3rem);transform:translateX(-50%);pointer-events:none}
.alm-node .atlas-name b{font-size:.72rem}
.alm-node.is-active{z-index:7}
.alm-node.is-active .atlas-badge{box-shadow:0 0 0 5px color-mix(in srgb,var(--realm) 35%,transparent),0 0 20px var(--realm)}
.alm-node.is-active .atlas-badge::after{animation:none}
.alm.is-narrow[data-mode=overview] .alm-node .atlas-name{display:none}
.alm-ctrl{position:absolute;right:.6rem;top:.6rem;z-index:6;display:none;flex-direction:column;gap:.35rem}
.alm[data-mode=explore] .alm-ctrl{display:flex}
.alm-ctrl button{width:2.5rem;height:2.5rem;border-radius:50%;border:1px solid #6a4a1a88;background:#fff9e8ee;color:#5a3d12;font:700 1.15rem Quicksand,sans-serif;cursor:pointer;box-shadow:0 2px 6px #0004;padding:0}
.alm-hint{position:absolute;left:50%;top:.6rem;transform:translateX(-50%);z-index:6;padding:.32rem .75rem;border-radius:999px;background:#2a1f10d9;color:#fff3d6;font:600 .68rem Quicksand,sans-serif;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .4s}
.alm-hint.is-on{opacity:1}
.alm-info{position:absolute;left:.6rem;bottom:.6rem;z-index:8;width:min(430px,calc(100% - 1.2rem));padding:.8rem 2.2rem .85rem .95rem;border-radius:14px;background:#fff8e6f6;border:1.5px solid var(--realm,#b58a22);box-shadow:0 8px 24px #0006;transform:translateY(130%);opacity:0;pointer-events:none;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .25s}
.alm-info.is-open{transform:none;opacity:1;pointer-events:auto}
.alm-info h3{margin:0;font:600 1.1rem Cinzel,serif;color:#3a2a10}
.alm-info-num{position:absolute;left:.95rem;top:-.7rem;padding:.05rem .5rem;border-radius:999px;background:var(--realm);color:#fff;font:700 .62rem Cinzel,serif}
.alm-info small{display:block;font:700 .66rem Quicksand,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--realm);filter:brightness(.8)}
.alm-info p{margin:.35rem 0 .6rem;font-size:.82rem;line-height:1.42;color:#3d3220}
.alm-go{display:inline-block;padding:.38rem .85rem;border-radius:999px;background:var(--realm);color:#fff;font:700 .72rem Quicksand,sans-serif;text-decoration:none}
.alm-info .x{position:absolute;right:.35rem;top:.25rem;width:2rem;height:2rem;border:0;background:none;font-size:1.4rem;color:#5a3d12;cursor:pointer}
.alm-jump{display:flex;gap:.4rem;overflow-x:auto;padding:.75rem .1rem .15rem;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.alm-jump button{flex:0 0 auto;border:1.5px solid var(--realm);background:#fffdf4;border-radius:999px;padding:.4rem .75rem;font:700 .7rem Quicksand,sans-serif;color:#3a2a10;cursor:pointer;white-space:nowrap}
.alm-jump button i{font:600 .62rem Cinzel,serif;font-style:normal;color:var(--realm);margin-right:.35rem;filter:brightness(.85)}
.alm.is-paused *{animation-play-state:paused!important}
@media(max-width:640px){.alm-node{--bs:2.7rem}.alm-node .atlas-name b{font-size:.68rem}.alm .fx-spark.hs{display:none}.alm-info{left:.4rem;bottom:.4rem;width:calc(100% - .8rem)}}
@media(prefers-reduced-motion:reduce){.alm *{animation:none!important;transition:none!important}.alm .fx-smoke,.alm .fx-spark{display:none}}

@media(max-width:640px){.atlas-card.alm .atlas-foot span:last-child{display:none}.alm-node .atlas-badge{border-width:2px}}

.alm[data-routes=auto] .alm-route{opacity:0}
.alm[data-routes=auto] .alm-route.is-active{opacity:1}
.alm .alm-node .atlas-badge{background:#fffdf4e6}
.alm[data-mode=overview] .alm-node .atlas-badge::after{display:none}

.alm-routes-btn{position:absolute;left:.6rem;top:.6rem;z-index:6;display:flex;align-items:center;gap:.45rem;padding:.42rem .8rem .42rem .6rem;border-radius:999px;border:1px solid #6a4a1a88;background:#fff9e8ee;color:#5a3d12;font:700 .7rem Quicksand,sans-serif;cursor:pointer;box-shadow:0 2px 6px #0004}
.alm-routes-btn b{font:inherit}
.alm-dots{width:1.1rem;height:.5rem;background:radial-gradient(circle,#d46c20 45%,transparent 50%) 0 50%/.37rem .5rem repeat-x}
.alm-routes-btn[aria-pressed=true]{background:#5a3d12;color:#fff3d6}
.alm-hint{top:auto;bottom:.7rem}
.alm[data-routes=auto] .alm-route.is-lit{opacity:.95}
.alm.has-active .alm-route.is-lit:not(.is-active){opacity:.95}
.alm.has-active[data-routes=on] .alm-route:not(.is-lit){opacity:.28}
.alm-links{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;margin:-.2rem 0 .65rem;font:700 .66rem Quicksand,sans-serif;color:#5a3d12}
.alm-links button{border:1.5px solid var(--realm);background:#fffdf4;border-radius:999px;padding:.2rem .55rem;font:700 .68rem Quicksand,sans-serif;color:#3a2a10;cursor:pointer}
@media(max-width:640px){.alm-routes-btn{padding:.38rem .65rem .38rem .5rem;font-size:.66rem}}

.glyph-accent{fill:none;stroke:var(--species-accent,currentColor);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.glyph-ghost{fill:color-mix(in srgb,currentColor 16%,transparent);stroke:currentColor;stroke-width:2;stroke-dasharray:2.6 3;stroke-linecap:round;stroke-linejoin:round}
.species-list-mark .glyph-ghost{stroke-dasharray:none;fill:color-mix(in srgb,currentColor 25%,transparent)!important;stroke:currentColor!important;stroke-width:1.6!important}
.species-list-mark .glyph-accent{stroke:currentColor!important}

/* ===== animações das silhuetas ===== */
.species-svg *{transform-box:fill-box}
.species-svg .a-wing,.species-svg .a-leg,.species-svg .a-tail,.species-svg .a-head,.species-svg .a-body,.species-svg .a-neck,.species-svg .a-bob,.species-svg .a-swim,.species-svg .a-flame,.species-svg .a-note,.species-svg .a-star,.species-svg .a-crown,.species-svg .a-ghost,.species-svg .a-mush,.species-svg .a-petals,.species-svg .a-skitter,.species-svg .a-bw,.species-svg .a-dw,.species-svg .a-claw,.species-svg .a-tent,.species-svg .a-fronds,.species-svg .a-bell,.species-svg .a-blink,.species-svg .a-look{animation-delay:var(--o,0s);animation-timing-function:ease-in-out;animation-iteration-count:infinite}
.species-svg .a-wing{animation-name:aFlap;animation-duration:calc(var(--sp,1) * 1.15s);animation-direction:alternate}
.species-svg .a-wl{transform-origin:100% 60%}
.species-svg .a-wr{transform-origin:0% 60%;animation-name:aFlapR}
@keyframes aFlap{from{transform:rotate(10deg)}to{transform:rotate(-15deg)}}
@keyframes aFlapR{from{transform:rotate(-10deg)}to{transform:rotate(15deg)}}
.species-svg .a-leg{transform-origin:50% 0;animation-duration:calc(var(--sp,1) * 1.1s);animation-direction:alternate}
.species-svg .a-l0,.species-svg .a-l3{animation-name:aLegA}
.species-svg .a-l1,.species-svg .a-l2{animation-name:aLegB}
@keyframes aLegA{from{transform:rotate(-11deg)}to{transform:rotate(11deg)}}
@keyframes aLegB{from{transform:rotate(11deg)}to{transform:rotate(-11deg)}}
.species-svg .a-tail{transform-origin:100% 90%;animation-name:aTail;animation-duration:calc(var(--sp,1) * 1.5s);animation-direction:alternate}
@keyframes aTail{from{transform:rotate(-9deg)}to{transform:rotate(13deg)}}
.species-svg .a-head{transform-origin:0% 100%;animation-name:aHead;animation-duration:calc(var(--sp,1) * 3.2s)}
@keyframes aHead{0%,100%{transform:rotate(0)}35%{transform:rotate(-5deg)}70%{transform:rotate(4deg)}}
.species-svg .a-body{transform-origin:50% 100%;animation-name:aBreath;animation-duration:calc(var(--sp,1) * 3s);animation-direction:alternate}
@keyframes aBreath{from{transform:scale(1,1)}to{transform:scale(1.015,1.045)}}
.species-svg .a-neck{transform-origin:0% 100%;animation-name:aNeck;animation-duration:calc(var(--sp,1) * 4.4s);animation-direction:alternate}
@keyframes aNeck{from{transform:rotate(-6deg)}to{transform:rotate(5deg)}}
.species-svg .a-bob{animation-name:aBob;animation-duration:calc(var(--sp,1) * 2.6s);animation-direction:alternate}
@keyframes aBob{from{transform:translateY(-2.6px)}to{transform:translateY(2.6px)}}
.species-svg .a-swim{animation-name:aSwim;animation-duration:calc(var(--sp,1) * 2.2s);animation-direction:alternate}
@keyframes aSwim{from{transform:rotate(-3.5deg) translateX(-2px)}to{transform:rotate(3.5deg) translateX(2px)}}
.species-svg .a-flame{transform-origin:50% 100%;animation-name:aFlame;animation-duration:calc(var(--sp,1) * .85s);animation-direction:alternate}
@keyframes aFlame{from{transform:scale(.94,.9) skewX(3deg);opacity:.85}to{transform:scale(1.04,1.14) skewX(-3deg);opacity:1}}
.species-svg .a-note{animation-name:aNote;animation-duration:calc(var(--sp,1) * 2.8s)}
@keyframes aNote{0%,100%{transform:translateY(2px);opacity:.55}50%{transform:translateY(-4px);opacity:1}}
.species-svg .a-star{animation-name:aStar;animation-duration:calc(var(--sp,1) * 2.4s);animation-direction:alternate}
@keyframes aStar{from{transform:scale(.8) rotate(0)}to{transform:scale(1.12) rotate(24deg)}}
.species-svg .a-crown{animation-name:aCrown;animation-duration:calc(var(--sp,1) * 3.2s)}
@keyframes aCrown{0%,100%{transform:scaleX(1) translateY(0)}25%{transform:scaleX(.2) translateY(-2px)}50%{transform:scaleX(1) translateY(-3px)}75%{transform:scaleX(.2) translateY(-1px)}}
.species-svg .a-ghost{animation-name:aGhost;animation-duration:calc(var(--sp,1) * 3.4s);animation-direction:alternate}
@keyframes aGhost{from{transform:translateY(0) rotate(-1.5deg);opacity:.72}to{transform:translateY(-5px) rotate(1.5deg);opacity:1}}
.species-svg .a-mush{transform-origin:50% 100%;animation-name:aMush;animation-duration:calc(var(--sp,1) * 3.6s);animation-direction:alternate}
@keyframes aMush{from{transform:scale(1,.94)}to{transform:scale(1.03,1.05)}}
.species-svg .a-petals{animation-name:aPetals;animation-duration:calc(var(--sp,1) * 4s);animation-direction:alternate}
@keyframes aPetals{from{transform:scale(.95) rotate(-4deg)}to{transform:scale(1.05) rotate(4deg)}}
.species-svg .a-skitter{animation-name:aSkitter;animation-duration:calc(var(--sp,1) * .45s);animation-direction:alternate}
@keyframes aSkitter{from{transform:rotate(-1.8deg) translateX(-.5px)}to{transform:rotate(1.8deg) translateX(.5px)}}
.species-svg .a-bw{animation-name:aBw;animation-duration:calc(var(--sp,1) * .55s);animation-direction:alternate}
.species-svg .a-bwl{transform-origin:100% 50%}.species-svg .a-bwr{transform-origin:0% 50%}
@keyframes aBw{from{transform:scaleX(1)}to{transform:scaleX(.42)}}
.species-svg .a-dw{transform-origin:50% 60%;animation-name:aDw;animation-duration:calc(var(--sp,1) * .2s);animation-direction:alternate}
@keyframes aDw{from{transform:scaleY(1)}to{transform:scaleY(.55)}}
.species-svg .a-claw{animation-name:aClaw;animation-duration:calc(var(--sp,1) * 2.2s)}
.species-svg .a-cl{transform-origin:100% 100%}.species-svg .a-cr{transform-origin:0% 100%;animation-name:aClawR}
@keyframes aClaw{0%,100%{transform:rotate(0)}40%{transform:rotate(-14deg)}60%{transform:rotate(-14deg)}}
@keyframes aClawR{0%,100%{transform:rotate(0)}40%{transform:rotate(14deg)}60%{transform:rotate(14deg)}}
.species-svg .a-tent{transform-origin:50% 0;animation-name:aTent;animation-duration:calc(var(--sp,1) * 1.8s);animation-direction:alternate}
.species-svg .a-t1{animation-direction:alternate-reverse}
@keyframes aTent{from{transform:skewX(-8deg)}to{transform:skewX(8deg)}}
.species-svg .a-fronds{transform-origin:50% 100%;animation-name:aFronds;animation-duration:calc(var(--sp,1) * 3.4s);animation-direction:alternate}
@keyframes aFronds{from{transform:rotate(-3.5deg)}to{transform:rotate(3.5deg)}}
.species-svg .a-bell{transform-origin:50% 0;animation-name:aBellS;animation-duration:calc(var(--sp,1) * 2.4s);animation-direction:alternate}
@keyframes aBellS{from{transform:rotate(-9deg)}to{transform:rotate(9deg)}}
.species-svg .a-blink{transform-origin:50% 50%;animation-name:aBlinkK;animation-duration:calc(var(--sp,1) * 5s)}
@keyframes aBlinkK{0%,88%,100%{transform:scaleY(1)}93%{transform:scaleY(.08)}}
.species-svg .a-look{animation-name:aLook;animation-duration:calc(var(--sp,1) * 6s)}
@keyframes aLook{0%,100%{transform:translateX(0)}30%{transform:translateX(-4px)}65%{transform:translateX(4px)}}
.species-svg .a-steps>*{animation:aStep 4.4s ease-in-out infinite;opacity:0}
.species-svg .a-steps>*:nth-child(1){animation-delay:0s}.species-svg .a-steps>*:nth-child(2){animation-delay:.5s}.species-svg .a-steps>*:nth-child(3){animation-delay:1s}.species-svg .a-steps>*:nth-child(4){animation-delay:1.5s}.species-svg .a-steps>*:nth-child(5){animation-delay:2s}.species-svg .a-steps>*:nth-child(6){animation-delay:2.5s}
@keyframes aStep{0%{opacity:0}12%,55%{opacity:1}80%,100%{opacity:0}}
/* movimentos do corpo inteiro (data-a) */
.species-svg [class*="a-w-"]{animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-direction:alternate;animation-delay:var(--o,0s)}
.a-w-glide{animation-name:aGlide;animation-duration:calc(var(--sp,1) * 4.5s)}
@keyframes aGlide{from{transform:translate(-3px,1.5px) rotate(-1.5deg)}to{transform:translate(3px,-2px) rotate(1.5deg)}}
.a-w-flit{animation-name:aFlit;animation-duration:calc(var(--sp,1) * 3.4s)}
@keyframes aFlit{0%{transform:translate(0,0)}33%{transform:translate(4px,-4px) rotate(4deg)}66%{transform:translate(-3px,-1px) rotate(-3deg)}100%{transform:translate(2px,3px)}}
.a-w-slither{animation-name:aSlither;animation-duration:calc(var(--sp,1) * 2.4s)}
@keyframes aSlither{from{transform:skewX(-5deg) translateY(1.2px)}to{transform:skewX(5deg) translateY(-1.2px)}}
.a-w-shake{animation-name:aShake;animation-duration:.16s;animation-direction:alternate}
@keyframes aShake{from{transform:translate(-.9px,.4px)}to{transform:translate(.9px,-.4px)}}
.a-w-hum{animation-name:aHum;animation-duration:calc(var(--sp,1) * 2s)}
@keyframes aHum{from{transform:scale(.98);opacity:.82}to{transform:scale(1.04);opacity:1}}
.a-w-breathe{transform-origin:50% 100%;animation-name:aBr;animation-duration:calc(var(--sp,1) * 3.6s)}
@keyframes aBr{from{transform:scale(1,.97);opacity:.78}to{transform:scale(1.02,1.04);opacity:1}}
.a-w-spread{animation-name:aSpread;animation-duration:calc(var(--sp,1) * 4s)}
@keyframes aSpread{from{transform:scaleX(.94)}to{transform:scaleX(1.08)}}
.a-w-shimmer{animation-name:aShim;animation-duration:calc(var(--sp,1) * 1.6s)}
@keyframes aShim{from{transform:skewX(-3deg);opacity:.75}to{transform:skewX(3deg);opacity:1}}
.a-w-swirl{animation-name:aSwirl;animation-duration:calc(var(--sp,1) * 1.4s)}
@keyframes aSwirl{from{transform:rotate(-5deg) scale(.97)}to{transform:rotate(5deg) scale(1.03)}}
.a-w-fall{animation-name:aFall;animation-duration:calc(var(--sp,1) * 3.2s)}
@keyframes aFall{from{transform:translateY(-4px) rotate(-6deg)}to{transform:translateY(4px) rotate(6deg)}}
.a-w-pulse{animation-name:aPulseK;animation-duration:calc(var(--sp,1) * 2.2s)}
@keyframes aPulseK{from{transform:scale(.95);opacity:.8}to{transform:scale(1.07);opacity:1}}
.a-w-sway{transform-origin:50% 100%;animation-name:aSway2;animation-duration:calc(var(--sp,1) * 2.8s)}
@keyframes aSway2{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}
.a-w-bob{animation-name:aBob;animation-duration:calc(var(--sp,1) * 2.6s)}
.a-w-leap{animation-name:aLeap;animation-duration:calc(var(--sp,1) * 2.2s)}
@keyframes aLeap{from{transform:translate(-3px,3px) rotate(8deg)}to{transform:translate(3px,-5px) rotate(-8deg)}}
/* padrões globais */
.species-svg--flora>g{transform-origin:50% 92%;animation:aSway 4.5s ease-in-out infinite alternate;animation-delay:var(--o,0s)}
@keyframes aSway{from{transform:rotate(-2deg)}to{transform:rotate(2deg)}}
.species-svg--mystic>g{animation:aFloatM 4.2s ease-in-out infinite alternate;animation-delay:var(--o,0s)}
@keyframes aFloatM{from{transform:translateY(1.5px)}to{transform:translateY(-3px)}}
.species-svg .glyph-spark circle{transform-origin:center;animation:aTw 2.6s ease-in-out infinite}
.species-svg .glyph-spark circle:nth-child(2){animation-delay:.7s}.species-svg .glyph-spark circle:nth-child(3){animation-delay:1.3s}.species-svg .glyph-spark circle:nth-child(4){animation-delay:1.9s}.species-svg .glyph-spark circle:nth-child(5){animation-delay:.3s}
@keyframes aTw{0%,100%{opacity:.2;transform:scale(.5)}50%{opacity:1;transform:scale(1.5)}}
.species-svg .glyph-accent{animation:aDrift 3.6s ease-in-out infinite alternate;animation-delay:var(--o,0s)}
@keyframes aDrift{from{transform:translateX(-3px)}to{transform:translateX(3px)}}
.species-svg .glyph-ghost{animation:aDash 7s linear infinite}
@keyframes aDash{to{stroke-dashoffset:-34}}
/* na lista, só anima ao passar o mouse ou focar */
.species-list-mark:not(.is-live) *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.species-svg *{animation:none!important}}
