.creation-pokemon{display:flex;flex-wrap:wrap;gap:9px;padding:16px 0 8px}.creation-pokemon-one{display:flex;align-items:center;gap:9px;min-width:0}.creation-pokemon-one>img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}.creation-pokemon-one>span{display:flex;flex-direction:column;gap:2px}.creation-pokemon-one small{font:11px var(--font-mono,monospace);color:var(--accent)}.creation-pokemon-one strong{font-size:19px;line-height:1.2;overflow-wrap:anywhere}.creation-card .card-meta{margin-top:8px}.creation-card h3{margin-top:7px;font-size:21px}.creation-card .card-media-caption,.creation-state{font-size:12px;line-height:1.5;color:var(--muted);margin-top:7px}.creation-pending{height:100%;min-height:150px;display:grid;place-content:center;text-align:center;color:var(--muted);font-size:14px;padding:20px}.media-retry{position:absolute;inset:auto 10px 10px;min-height:44px;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--accent);padding:8px}.card-image img[data-bundle]:not([src]),.project-cover img[data-bundle]:not([src]){visibility:hidden}.project-media-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 0}.project-media-thumbs button{position:relative;flex:0 0 104px;min-height:130px;padding:6px;background:var(--surface);color:var(--ink);border:1px solid var(--line);text-align:left}.project-media-thumbs button[aria-pressed=true]{border:2px solid var(--accent);padding:5px}.project-media-thumbs img{height:82px;width:100%;object-fit:contain}.project-media-thumbs small{font-size:10px;line-height:1.3;display:block;margin-top:5px}.project-copy>.creation-pokemon{padding-top:0;margin-bottom:22px}.project-copy>.creation-pokemon .creation-pokemon-one strong{font-size:25px}.project-status{margin:14px 0;font-size:13px;color:var(--accent)}.project-cover:has(.creation-pending){min-height:320px}.project-media-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px}
body[data-page=pokemon] .species-nav-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1.6fr) minmax(0,1fr);align-items:center;gap:24px;border-bottom:1px solid var(--line);padding:12px 0 28px}body[data-page=pokemon] .species-nav-links>.species-neighbor{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:10px 0;border:0;background:none;min-height:44px;text-align:left}body[data-page=pokemon] .species-nav-links>.species-neighbor:last-child{align-items:flex-end;text-align:right}.species-neighbor img{height:52px;width:52px;object-fit:contain;image-rendering:pixelated}.species-neighbor strong{font-size:17px;line-height:1.2}.species-neighbor small{font-size:11px}.species-neighbor:hover strong{color:var(--accent)}body[data-page=pokemon] .species-nav-links>.species-identity{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;border:0;padding:0;min-width:0}.species-identity .species-sprite{width:112px;height:112px}.species-identity.no-models .species-sprite{filter:none;opacity:1}.species-identity h1{font-size:clamp(28px,4vw,48px);margin:4px 0 10px}body[data-page=pokemon] .species-identity .type-chips{justify-content:center}.species-nav-limit{padding:0;min-height:44px}.creation-totals{font-size:13px;color:var(--muted);line-height:1.6}.project-media .media-caption{min-height:20px}.catalogue-card .card-image img{object-fit:contain}.creation-card .creation-pokemon:has(.creation-pokemon-one:nth-child(3)) .creation-pokemon-one strong{font-size:15px}
@media(max-width:700px){body[data-page=pokemon] .species-nav-links{grid-template-columns:minmax(0,1fr) minmax(130px,1.7fr) minmax(0,1fr);gap:8px;padding:10px 0 22px}.species-identity .species-sprite{width:82px;height:82px}.species-identity h1{font-size:clamp(23px,6.5vw,32px)}body[data-page=pokemon] .species-nav-links>.species-neighbor{gap:5px}.species-neighbor img{width:38px;height:38px}.species-nav-links .species-neighbor strong{font-size:12px}.species-nav-links .species-neighbor small{font-size:10px}.species-nav-limit{font-size:10px;overflow-wrap:anywhere}.species-number{font-size:11px}body[data-page=pokemon] .species-identity .type-chips{gap:6px}body[data-page=pokemon] .species-identity .type-chip{font-size:10px;gap:4px}body[data-page=pokemon] .species-identity .type-chip svg{width:22px;height:22px;padding:4px}.creation-pokemon{gap:9px;padding-top:12px}.creation-pokemon-one>img{width:48px;height:48px}.creation-pokemon-one strong{font-size:18px}.creation-card h3{font-size:20px}.creation-state,.creation-card .card-media-caption{font-size:12px}.project-copy>.creation-pokemon .creation-pokemon-one strong{font-size:22px}.project-media-thumbs button{flex-basis:96px}.project-cover:has(.creation-pending){min-height:230px}}

.creation-types .type-chips{justify-content:flex-start;gap:8px;margin:6px 0 12px}.creation-types .type-chip{font-size:11px}.creation-types .type-chip svg{width:24px;height:24px;padding:5px}.creation-card .card-image .creation-pending{position:static;background:none;height:100%;width:100%;padding:18px;min-height:0;font-size:13px}.home-media-caption{font-size:11px;color:var(--muted);margin-top:12px}.home-additional-pokemon{display:flex;flex-wrap:wrap;gap:6px 12px;grid-column:1/-1}.home-additional-pokemon>span{display:flex;align-items:center;gap:4px;font-size:10px}.home-additional-pokemon img{object-fit:contain;image-rendering:pixelated}.sphere-main-image[data-bundle]:not([src]){visibility:hidden}.creation-card h3,.species-neighbor strong{overflow-wrap:anywhere}.project-layout>*,.species-nav-links>*{min-width:0}
@media(max-width:700px){.creation-types .type-chip{font-size:10px}.creation-types .type-chip svg{width:22px;height:22px;padding:4px}.creation-pokemon-one{flex-wrap:wrap}.creation-pokemon-one>img{flex:0 0 40px;width:40px;height:40px}.creation-pokemon-one strong{font-size:16px}.creation-pokemon-one small{font-size:10px}.home-additional-pokemon>span{font-size:10px}.creation-card .card-image .creation-pending{font-size:11px;padding:10px}.species-nav-links .species-neighbor{min-width:0}.project-layout{max-width:100%}}
.species-nav-links>.species-nav-limit{border:0;background:none;padding:0;min-height:44px}.generation-choices{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.generation-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Bound portrait media to the square frame independently of intrinsic image height. */
body[data-page=project] .project-cover>img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);min-width:0;min-height:0;object-fit:contain}
