:root{font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#151b19;--ink:#eff5f1;--muted:#b3c0bb;--green:#a5dfbc;--line:#354641;--control-line:#637b70;--accent-surface:#20372c;--primary:#ff765e;--primary-ink:#2e1611;--download:#d4c6ff;--download-hover:#e5dbff;--download-surface:#2b243d;--preview-ink:#a8dee6;--preview-surface:#1a3036;--art-surface:#242537;--art-tile:radial-gradient(ellipse at 50% 65%, #3d4056 0%, transparent 72%), linear-gradient(145deg, #292637, #1d2330);--control-height:44px;--control-text:.875rem;--art-stage:radial-gradient(ellipse at 50% 86%, #60648672 0%, transparent 55%), radial-gradient(ellipse at 15% 15%, #63517551 0%, transparent 52%), linear-gradient(150deg, #29243a, #202636 65%, #181d2a);color:var(--ink);background:#0b0e0d radial-gradient(56rem 31rem at 76% 10rem,#17231d,#0000 72%) no-repeat;font-family:Inter,ui-sans-serif,system-ui,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;line-height:1.6}a{color:var(--green);text-underline-offset:.2em}button,input,select{font:inherit}:focus-visible{outline:3px solid var(--green);outline-offset:3px}img{object-fit:contain;max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.13}h1{max-width:16ch;font-size:clamp(2.35rem,6vw,4rem)}h2{font-size:clamp(1.35rem,3vw,1.8rem)}h3{font-size:1.15rem}p+p{margin-top:.7rem}.wrap{width:min(110rem,100% - clamp(28px,6vw,144px));margin-inline:auto}.site-header{background:var(--paper);border-bottom:1px solid var(--line);z-index:2;position:sticky;top:0}main :is(section,div)[id],#main{scroll-margin-top:5.5rem}.header-inner{flex-wrap:wrap;align-items:center;gap:.65rem 1.75rem;min-height:72px;padding-block:.85rem;display:flex}.brand{color:var(--ink);align-items:center;gap:.55rem;text-decoration:none;display:inline-flex}.brand-mark{flex:0 0 2rem;width:2rem;height:2rem}.brand-wordmark{aspect-ratio:191/32;background:currentColor;width:5.75rem;-webkit-mask:url(/brand/shimejis-wordmark.svg) 50%/contain no-repeat;mask:url(/brand/shimejis-wordmark.svg) 50%/contain no-repeat}@media (forced-colors:active){.brand-wordmark{forced-color-adjust:none;background:linktext}}nav{flex-wrap:wrap;gap:.35rem 1.3rem;margin-inline:auto;display:flex}nav a,.language{color:var(--muted);font-size:.91rem;font-weight:650;text-decoration:none}.header-inner :is(nav a,.language){font-size:.975rem}.header-inner nav .nav-custom{color:var(--primary)}nav a:hover,nav a[data-status=active],.language:hover{color:var(--green);text-decoration:underline}.language-menu{position:relative}.language{border:1px solid var(--line);cursor:pointer;border-radius:.5rem;align-items:center;gap:.5rem;min-height:44px;padding:.3rem .65rem;list-style:none;display:flex}.language::-webkit-details-marker{display:none}.language-menu>nav{background:var(--paper);border:1px solid var(--line);border-radius:.6rem;gap:.125rem;min-width:9rem;padding:.3rem;display:grid;position:absolute;inset:calc(100% + .35rem) 0 auto auto;box-shadow:0 .65rem 1.75rem #0006}.language-menu>nav a{border-radius:.38rem;align-items:center;min-height:44px;padding-inline:.6rem;display:flex}.language-menu>nav a[aria-current=page]{color:var(--green);background:var(--accent-surface)}.mobile-nav{display:none}.skip{z-index:3;background:var(--paper);padding:.5rem;position:fixed;top:1rem;left:1rem;transform:translateY(-200%)}.skip:focus{transform:none}main{min-height:60vh;padding-bottom:4rem}.lede{max-width:63ch;color:var(--muted);margin-top:.95rem;font-size:clamp(1.04rem,2vw,1.2rem)}.buttons{flex-wrap:wrap;align-items:center;gap:.65rem;margin-block:1.25rem .5rem;display:flex}.button{min-height:var(--control-height);border:1px solid var(--button-line,var(--control-line));font-size:var(--control-text);color:var(--button-ink,var(--green));background:var(--button-surface,var(--paper));cursor:pointer;border-radius:.55rem;justify-content:center;align-items:center;gap:.5rem;padding:.56rem 1rem;font-weight:750;line-height:1.25;text-decoration:none;display:inline-flex}.button:hover{border-color:var(--button-ink,var(--green));background:var(--button-hover,var(--accent-surface))}.button.primary{--button-ink:var(--primary-ink);--button-surface:var(--primary);--button-line:var(--primary);--button-hover:var(--primary)}.button.primary:hover{border-color:var(--button-hover)}.button.primary:not(.button-download):hover{box-shadow:inset 0 0 0 1px}.button-download{--button-ink:var(--download);--button-surface:var(--download-surface);--button-line:#8274a5;--button-hover:#3b3052}.button.primary.button-download{--button-ink:#231839;--button-surface:var(--download);--button-line:var(--download);--button-hover:var(--download-hover)}.button-preview{--button-ink:var(--preview-ink);--button-surface:var(--preview-surface);--button-line:#5a848c;--button-hover:#26434a}.button-chrome{--button-ink:#ffda91;--button-surface:#342b20;--button-line:#9a7642;--button-hover:#463722}.button-edge{--button-ink:#9be5f5;--button-surface:#18313b;--button-line:#568794;--button-hover:#204550}.store-links{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.mascot-art{width:100%;height:auto;display:block}.pixel-sprite{image-rendering:pixelated}.section{padding-block:1.6rem}.section h2{margin-bottom:.7rem}.section-intro{margin-bottom:.95rem}.section p+ul,.section p+dl{margin-top:.8rem}.muted{color:var(--muted)}.empty,.notice{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:.7rem;padding:1rem 1.15rem}.notice{border-left:4px solid #6c9d82}.availability{color:var(--muted);margin-top:.6rem;font-size:.91rem}.feature-grid,.role-grid,.category-grid{gap:.85rem;display:grid}.feature-grid{grid-template-columns:repeat(3,1fr)}.feature{background:var(--paper);border:1px solid var(--line);border-radius:.75rem;flex-direction:column;gap:.75rem;padding:1.25rem;display:flex}.feature h2{font-size:1.28rem}.feature p{color:var(--muted);flex:1}.feature a{font-weight:750}.feature-icon{background:var(--accent-surface);width:2.25rem;height:2.25rem;color:var(--green);border-radius:.4rem;place-items:center;font-weight:850;display:grid}.search{flex-wrap:wrap;gap:.6rem;max-width:45rem;display:flex}.search input{border:1px solid var(--control-line);background:var(--paper);min-width:0;min-height:44px;color:var(--ink);border-radius:.55rem;flex:12rem;padding:.55rem .8rem}.search input::placeholder,.directory-controls input::placeholder{color:var(--muted)}.category-grid,.role-grid,.download-list,.action-list{margin:0;padding:0;list-style:none}.category-grid{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));margin-top:1.2rem}.category-grid a{border:1px solid var(--line);background:var(--paper);border-radius:.55rem;justify-content:space-between;gap:.55rem;padding:.7rem .85rem;text-decoration:none;display:flex}.category-grid a:hover{border-color:var(--green)}.category-grid a[aria-current=page]{border-color:var(--green);background:var(--accent-surface)}.role-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.role-card{background:var(--paper);border:1px solid var(--line);border-radius:.75rem;flex-direction:column;display:flex;overflow:hidden}.role-card:hover,.role-card:focus-within{border-color:var(--green)}.role-card>a{color:var(--ink);flex-direction:column;flex:1;text-decoration:none;display:flex}.role-card-action .button{width:100%;padding:.4rem .35rem}:is(.role-card-action,.detail-role-action) .button:disabled{color:var(--muted);background:var(--accent-surface);border-color:var(--line);cursor:default}:is(.role-card-action,.detail-role-action) p{color:var(--muted);margin-top:.35rem;font-size:.8rem}.role-card a:focus-visible{outline-offset:-3px}.role-card a:is(:hover,:focus-visible) .role-name{color:var(--green);text-decoration:underline}.role-art{aspect-ratio:5/4;border-bottom:1px solid var(--line);background:var(--art-tile) var(--art-surface);flex:none;position:relative}.role-art picture{grid-template-rows:minmax(0,1fr);place-items:center;display:grid;position:absolute;inset:.6rem}.role-art img{width:min(100%,208px);height:100%;min-height:0}.role-copy{overflow-wrap:anywhere;flex-direction:column;flex:1;padding:.85rem;display:flex}.role-name{font-size:1.1rem;line-height:1.25;display:block}.role-copy p{color:var(--muted);margin-block:.2rem .55rem}.role-copy .badge{align-self:flex-start;margin-top:auto}.badge,.result-count{color:#f1cd96;background:#362b1f;border-radius:999px;padding:.15rem .6rem;font-size:.8rem;font-weight:750;display:inline-block}.badge.verified,.result-count{background:var(--accent-surface);color:var(--green)}.faq{border:1px solid var(--line);background:var(--paper);border-radius:.75rem}.faq details{padding:.7rem 1.1rem}.faq details+details{border-top:1px solid var(--line)}.faq summary{cursor:pointer;font-weight:750}.faq p{color:var(--muted);padding:.45rem 0 .2rem}.page-intro{padding-block:clamp(1.3rem,2.6vw,2.35rem) 1.25rem}main:has(.breadcrumbs) .page-intro{padding-top:.65rem}.page-intro h1{text-wrap:balance;max-width:32ch;font-size:clamp(2rem,4vw,3.5rem)}.page-intro .lede{max-width:68ch}.back{margin-top:1.5rem;font-weight:650;display:inline-block}.breadcrumbs{margin-block:1.25rem .5rem}.breadcrumbs ol{color:var(--muted);flex-wrap:wrap;gap:.25rem .65rem;margin:0;padding:0;font-size:.91rem;list-style:none;display:flex}.breadcrumbs li{overflow-wrap:anywhere}.breadcrumbs li+li{border-inline-start:1px solid var(--line);padding-inline-start:.65rem}.character-page{--detail-stage-height:clamp(16rem, 26vw, 23rem);--detail-media-height:calc(var(--detail-stage-height) + 6.8rem + 2px);max-width:83rem;margin-inline:auto}.detail-hero{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.9rem 1.5rem;margin-block:1.15rem 1.45rem;display:flex}.detail-hero>div{min-width:0}.detail-hero-actions{flex-wrap:wrap;align-items:start;gap:.55rem;display:flex}.detail-hero h1{overflow-wrap:anywhere;max-width:none;margin-block:.25rem .5rem;font-size:clamp(2rem,4.6vw,3.35rem)}.detail-hero .lede{color:var(--green);font-size:.95rem}.detail-hero .definition{max-width:68ch;color:var(--muted)}.detail-subtitle{max-width:60ch;margin-block:0 .45rem;font-size:1.08rem;font-weight:600}.character-showcase{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-areas:"preview gallery""actions download""stores stores";gap:.85rem clamp(.9rem,1.75vw,1.5rem);display:grid}.character-showcase.localized-character-showcase{grid-template-areas:"preview download";align-items:start}.shimeji-browser,.character-gallery,.character-download,#character-actions,.detail-browser-install,.pack-details{border:1px solid var(--line);background:var(--paper);border-radius:1rem;min-width:0}.shimeji-browser{grid-area:preview;margin:0;overflow:hidden}.shimeji-browser-bar{align-items:center;gap:.75rem;min-height:2.9rem;padding:.6rem .95rem;display:flex}.shimeji-browser-bar h2{letter-spacing:-.015em;font-size:1.05rem}.shimeji-stage{isolation:isolate;height:var(--detail-stage-height);border-block:1px solid var(--line);background:radial-gradient(at 48% 77%,#566581 0%,#0000 65%),radial-gradient(at 8% 12%,#454058 0%,#0000 56%),linear-gradient(155deg,#303746,#202936 78%);position:relative;overflow:hidden}.stage-poster,.shimeji-stage-canvas{width:100%;height:100%;position:absolute;inset:0}.stage-poster{background:0 0;place-items:center;display:grid}.stage-poster picture{place-items:center;width:100%;height:100%;min-height:0;display:grid}.stage-poster img{width:min(80%,320px);height:90%;min-height:0}.stage-poster[hidden],.shimeji-stage-canvas[hidden]{display:none}.shimeji-stage-canvas{pointer-events:none}.shimeji-controls{align-items:center;min-height:3.9rem;padding:.55rem .95rem;display:grid}.shimeji-control-buttons{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.shimeji-action-select{min-width:0;color:var(--muted);flex:1;align-items:center;gap:.45rem;font-size:.9rem;display:flex}.shimeji-action-select select{min-width:0;max-width:12rem;min-height:44px;color:var(--preview-ink);background:var(--preview-surface);border:1px solid #5a848c;border-radius:.5rem;flex:1;padding:.35rem .45rem}.character-download,#character-actions,.detail-browser-install,.pack-details{padding:clamp(.9rem,1.5vw,1.25rem)}.character-download{grid-area:download;align-content:start;gap:.65rem;display:grid}#character-actions{grid-area:actions}.character-download h2,#character-actions h2{font-size:clamp(1.2rem,2vw,1.5rem)}.detail-editions{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.55rem;display:grid}.detail-editions .detail-edition{align-content:center;justify-items:start;min-height:3.75rem;line-height:1.3;display:grid}.detail-edition small{font-size:.83rem;font-weight:550}.detail-browser-install{flex-wrap:wrap;grid-area:stores;justify-content:space-between;align-items:center;gap:.7rem 1rem;display:flex}.detail-browser-install h2{font-size:1.1rem}.detail-browser-install p{margin-top:.3rem;font-size:.92rem}.detail-browser-install .store-links{align-items:stretch}.detail-browser-install .store-links a{flex:auto}.character-gallery{flex-direction:column;grid-area:gallery;padding:clamp(.75rem,1.6vw,1.2rem);display:flex}.character-gallery-body{flex:1;align-items:center;min-block-size:0;display:grid}.character-gallery-expandable{block-size:var(--detail-media-height)}.character-gallery-expandable .character-gallery-body{scrollbar-gutter:stable;padding:3px;scroll-padding-block:3px;display:block;overflow-y:auto;container-type:size}.character-gallery-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem .6rem;margin-bottom:.8rem;display:flex}.character-gallery-heading h2{font-size:clamp(1.2rem,2vw,1.5rem)}.character-sprite-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.character-sprite-grid a{aspect-ratio:1.35;background:var(--art-tile) var(--art-surface);border:1px solid #44495e;border-radius:.6rem;place-items:center;max-height:7.3rem;padding:.28rem;display:grid}.character-sprite-grid a:hover{border-color:var(--download)}.character-sprite-grid img{width:100%;height:100%;min-height:0;max-height:100%}.character-gallery-expandable .character-sprite-grid{grid-auto-rows:calc(33.3333cqh - .366667rem)}.character-gallery-expandable .character-sprite-grid a{aspect-ratio:auto;block-size:100%;min-block-size:0;max-block-size:none}.character-gallery-more{min-height:44px;color:var(--green);cursor:pointer;background:0 0;border:0;border-radius:.35rem;align-self:start;margin-top:.35rem;padding:.4rem .25rem;font-weight:700}.character-gallery-more:hover{text-decoration:underline}.character-lightbox{border:1px solid var(--line);width:min(560px,100% - 1.5rem);max-height:calc(100% - 1.5rem);color:var(--ink);background:var(--paper);border-radius:1rem;padding:0}.character-lightbox::backdrop{background:#080c0ad9}.character-lightbox-inner{padding:.9rem}.character-lightbox-header,.character-lightbox-footer{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.character-lightbox-art{background:var(--art-stage) var(--art-surface);border-radius:.6rem;place-items:center;height:min(47vh,390px);min-height:140px;margin-block:.75rem;padding:.6rem;display:grid}.character-lightbox-art img{width:100%;height:100%;min-height:0;max-height:100%}.character-original{margin:0 0 .75rem;font-size:.9rem;display:inline-block}.character-page .section>p{max-width:76ch}.character-page .section h3{margin-block:.8rem .5rem}.character-facts,.extension-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.character-facts{margin-block:1.35rem}.character-facts :is(#installation,#character-notes){grid-column:1/-1}.pack-details{overflow-wrap:anywhere;grid-column:1/-1}.pack-details summary{cursor:pointer;color:var(--green);font-weight:700}.pack-details[open] summary{margin-bottom:.6rem}.pack-checksums dt{color:var(--muted);font-size:.9rem}.pack-checksums dd{margin:0 0 .5rem}.character-facts .section,.extension-notes .section{border:1px solid var(--line);background:var(--paper);border-radius:.85rem;min-width:0;padding:clamp(1rem,1.7vw,1.5rem)}.character-facts h2,.extension-notes h2{font-size:clamp(1.25rem,2vw,1.65rem)}.action-list{flex-wrap:wrap;gap:.55rem;display:flex}.action-list li{border:1px solid var(--line);background:var(--paper);border-radius:.5rem;padding:.3rem .55rem}.action-list code{color:var(--green)}.checksum,.commands dd,.package-list{overflow-wrap:anywhere}.checksum{margin-bottom:.7rem;font-size:.9rem}.download-list li{background:var(--paper);border:1px solid var(--line);border-radius:.75rem;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:.9rem;padding:1rem;display:grid}.download-art{background:var(--art-tile) var(--art-surface);border-radius:.5rem}.download-info{overflow-wrap:anywhere}.download-list li+li{margin-top:.65rem}.download-list p{color:var(--muted);margin-block:.2rem}.download-list .checksum{font-size:.83rem}.download-guide{font-size:.9rem;font-weight:700}.download-action{flex-wrap:wrap;gap:.45rem;display:flex}.download-action .button{min-width:8rem}.reading-pets-install{background:linear-gradient(135deg,#30283d,#1b2630 74%);border:1px solid #524960;border-radius:1rem;gap:.8rem;padding:clamp(1.15rem,2.8vw,2rem);display:grid}.reading-pets-install p,.reading-pets-install .steps{color:var(--muted)}.reading-pets-install .steps{margin:0}.reading-pets-install>a{justify-self:start}.steps{max-width:72ch;padding-left:1.55rem}.steps li+li{margin-top:.6rem}.commands dt{font-weight:750}.commands dd{margin:.3rem 0 .75rem}.site-footer{border-top:1px solid var(--line);color:var(--muted);background:#101513;padding:1.35rem 0}.site-footer p{margin-top:.5rem;font-size:.9rem}.footer-inner{grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:1rem 2rem;display:grid}.site-footer nav{align-content:start;margin:0}.site-footer nav a{padding-block:.35rem}.site-info{overflow-wrap:anywhere;max-width:76ch}.reading-page{max-width:76rem}.product-page{max-width:92rem;margin-inline:auto}.product-hero{--hero-art-height:clamp(13rem, 19vw, 21rem);grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:clamp(1.5rem,4vw,4rem);margin-block:1.5rem 2.5rem;display:grid}.product-lead{align-content:start;gap:1.15rem;display:grid}.product-page h1{max-width:23ch;font-size:clamp(2rem,4.2vw,3.5rem)}.product-lead .page-intro{margin:0}.product-lead .lede{max-width:49ch}.product-hero .hero-panel{min-width:0;margin:0}.product-hero .showcase-stage{min-height:16rem}.eyebrow{color:var(--green);letter-spacing:.04em;font-size:.82rem;font-weight:750}.text-link{font-weight:700}.product-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.2rem 0 0;padding:0;list-style:none;display:grid}.product-steps li,.product-card,.product-info-grid>.section{border:1px solid var(--line);background:var(--paper);border-radius:1rem;flex-direction:column;align-items:start;gap:.8rem;min-width:0;padding:clamp(1.15rem,2vw,1.7rem);display:flex}.product-steps li>span{color:var(--primary);font-size:.85rem;font-weight:800}.product-steps p,.product-card p,.product-info-grid p{color:var(--muted)}.product-steps li>a:last-child,.product-card>.button:last-child{margin-top:auto}.product-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.product-info-grid>.section{margin:0}.product-info-grid h2{font-size:clamp(1.2rem,2vw,1.6rem)}.product-info-grid .store-links{margin-top:auto}.product-page .faq{max-width:68rem}.advanced-install{border:1px solid var(--line);border-radius:.85rem;margin-top:2rem;padding:1.15rem 1.4rem}.advanced-install>summary{cursor:pointer;min-height:2rem;font-weight:700}.advanced-install .section{margin-block:1rem 0}.source-note{color:var(--muted);margin-top:2rem;font-size:.85rem}.download-search{gap:.5rem;max-width:55rem;margin-top:1.75rem;display:grid}.download-search label{font-weight:700}.download-search>div{gap:.5rem;display:flex}.download-search input{flex:1;min-width:0}.download-list details.checksum{max-width:100%;color:var(--muted)}.download-list details.checksum summary{cursor:pointer;padding-block:.2rem}.download-list details.checksum code{overflow-wrap:anywhere;display:block}@media (width<=760px){.product-hero,.product-info-grid,.product-steps{grid-template-columns:1fr}.product-hero{gap:1.5rem}.product-page h1{max-width:26ch}.product-steps li{gap:.6rem}}.reading-page .section>p,.reading-page .notice{max-width:78ch}.reading-lead{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:.75rem clamp(1.2rem,3vw,3rem);display:grid}.reading-lead .page-intro h1{font-size:clamp(2rem,3.6vw,3.25rem)}.reading-page .commands{border:1px solid var(--line);background:var(--paper);border-radius:.85rem;max-width:64rem;padding:1rem 1.2rem}.reading-page .commands dd:last-child{margin-bottom:0}.guide-nav{gap:.55rem;margin:.2rem 0 .75rem}.guide-nav .button{color:var(--green)}html[lang=zh] .home p{line-height:1.75}.home-first-screen{padding-bottom:clamp(.85rem,2svh,1.3rem)}.home .hero{--hero-art-height:clamp(11rem, min(27vw, calc(100svh - 28rem)), 27.5rem);grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:clamp(.8rem,2.4svh,1.4rem) clamp(.85rem,1.4vw,1.5rem);min-block-size:calc(100svh - 96px);padding-top:clamp(.9rem,2.5svh,1.65rem);display:grid}.hero h1{text-wrap:balance;max-width:none;font-size:clamp(2rem,3.1vw,3.25rem);line-height:1.08}.hero .lede{text-wrap:pretty;max-width:60ch;margin-top:.45rem;font-size:clamp(.96rem,1.2vw,1.1rem)}.hero-copy{text-align:center;grid-column:1/-1}.hero .lede{margin-inline:auto}.home-catalog-entry{grid-area:3/1/auto/-1;gap:.6rem;display:grid}.home .home-catalog-entry h2{font-size:clamp(1.45rem,2.05vw,2rem)}.home-catalog-entry h2 a{color:var(--ink);text-decoration:none}.home-catalog-entry h2 a:hover{color:var(--green)}.home-catalog-entry h2 svg{vertical-align:-.02em;fill:none;width:.65em;stroke:var(--green);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;margin-inline-start:.35em}.home-catalog-search{border:1px solid var(--control-line);background:var(--paper);border-radius:.7rem;grid-template-columns:minmax(0,1fr) auto;gap:.25rem;max-width:none;padding:.2rem;display:grid}.home-catalog-search:focus-within{border-color:var(--green)}.home-catalog-search label{align-items:center;min-width:0;display:flex;position:relative}.home-catalog-search svg{fill:none;width:1.2rem;stroke:var(--green);stroke-width:1.75px;pointer-events:none;position:absolute;left:.65rem}.home-catalog-search input{background:0 0;border:0;width:100%;padding-inline-start:2.35rem}.home-catalog-search .button{min-width:4.6rem;padding-inline:.8rem}.home-catalog-search :focus-visible{outline-offset:-3px}.hero-custom,.hero-panel{border:1px solid var(--line);border-radius:1rem;min-width:0;margin:0;padding:clamp(.65rem,1vw,.95rem)}.hero-custom{background:linear-gradient(135deg,#292236,#191b23 75%);border-color:#615272}.hero-panel .panel-bar{justify-content:space-between;align-items:center;gap:.6rem;min-height:3.15rem;padding:0 .1rem .4rem;display:flex}.hero-custom-heading{text-align:start;justify-items:start;gap:.5rem;display:grid}.home .hero :is(.hero-custom-heading,.panel-bar) h2{letter-spacing:-.02em;margin:0;font-size:clamp(1.08rem,1.45vw,1.45rem)}.hero-custom-heading p{color:var(--muted);font-size:1rem}.hero-custom-cta{padding-inline:.78rem}.hero-custom-sample{text-align:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.5rem,1vw,.875rem);display:grid;position:relative}.hero-custom-sample figure{min-width:0;margin:0}.hero-custom-source{min-width:0}.hero-custom-sample figcaption{color:var(--muted);padding-block:.48rem;font-size:.85rem;font-weight:650}.hero-custom-sample img,.hero-custom-result{width:100%;height:var(--hero-art-height);border:1px solid #665575;border-radius:.72rem;display:block}.hero-custom-sample img{object-fit:contain;object-position:center;background:#161e1c}.hero-custom-result{background:radial-gradient(at 50% 55%,#484059,#252232 72%,#1e1b28);place-items:center;display:grid}.home .hero-custom-sample{grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);gap:clamp(.65rem,1.15vw,1.25rem);height:100%}.home .hero-custom-source{align-content:center;gap:clamp(.75rem,2.6svh,1.5rem);display:grid}.home .hero-custom-source img{aspect-ratio:1.22;height:auto}.home .hero-custom-person .hero-custom-source img{object-fit:cover;object-position:center top}.home .hero-custom-sample>figure{grid-template-rows:1fr auto;display:grid}.home .hero-custom-result{background:#394c5e url(/home/summer-engawa.webp) 50%/cover no-repeat;place-items:end center;height:100%;min-height:0;padding-bottom:clamp(.3rem,1.5svh,.95rem);position:relative;overflow:hidden}.hero-demo-controls{z-index:1;justify-content:space-between;align-items:center;gap:.3rem;display:flex;position:absolute;inset:.6rem .6rem auto}.hero-demo-controls .button{padding:.45rem .65rem}.hero-demo-try{--button-surface:var(--download);--button-line:var(--download);--button-ink:#231839;--button-hover:var(--download-hover)}.hero-demo-toggle{--button-surface:#1c1728;--button-line:#8b8095;--button-ink:var(--ink);--button-hover:#342844;width:var(--control-height)}.hero-custom-canvas{width:100%;height:100%;position:absolute;inset:0}.hero-custom-sample .hero-pet-poster{background:0 0;border:0;border-radius:0;width:auto;max-width:52%;height:min(184px,40%);position:absolute;inset:auto auto 24px 55%;transform:translate(-50%)}.hero-pet-poster[hidden]{display:none}.hero-custom-canvas:focus-visible{outline:2px solid var(--green);outline-offset:-4px;border-radius:.72rem}.hero-demo-hint{flex-basis:100%;font-size:.75rem;font-weight:400}.hero-demo-caption{flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem .65rem;display:flex}.hero-demo-picker select{border:1px solid var(--control-line);background:var(--paper);max-width:100%;min-height:2rem;color:var(--ink);font-size:var(--control-text);border-radius:.4rem;padding:.2rem .45rem}.custom-pet-page{max-width:68rem;margin-inline:auto;padding-block:clamp(1.2rem,4vw,2.65rem) 1.25rem}.custom-pet-checkout-page .page-intro{padding-top:0;padding-bottom:clamp(1.3rem,3vw,2rem)}.custom-pet-checkout-page .page-intro h1{font-size:clamp(2rem,4.6vw,3.25rem)}.custom-pet-quote{color:var(--muted);margin-top:.7rem;font-size:1rem}.custom-pet-quote strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:1.2rem}.custom-pet-checkout-page .page-intro .lede{margin-top:.45rem}.custom-pet-checkout-grid{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);align-items:start;gap:clamp(.85rem,1.75vw,1.25rem);display:grid}.custom-pet-inputs{gap:clamp(.85rem,1.75vw,1.25rem);min-width:0;display:grid}.custom-pet-checkout{border:1px solid var(--line);background:linear-gradient(150deg, #1b2721, var(--paper) 55%);border-radius:1rem;gap:.9rem;min-width:0;padding:clamp(1rem,2.4vw,1.5rem);display:grid}.custom-pet-checkout h2{font-size:1.25rem}.custom-pet-checkout>.muted{font-size:1rem}.custom-pet-summary .button{width:100%}.custom-pet-summary .button:disabled{opacity:.62;cursor:default}.custom-pet-summary>.custom-pet-input-tip{text-align:center;margin:0}.custom-pet-fields,.custom-pet-subject{border:0;min-width:0;margin:0;padding:0}.custom-pet-fields{gap:.9rem;display:grid}.custom-pet-contact,.custom-pet-photo-options{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:.65rem;display:grid}.custom-pet-phone-option{display:contents}.custom-pet-input-tip{color:var(--muted);font-size:.83rem}.custom-pet-extra-photo{border-top:1px solid var(--line);gap:.65rem;padding-top:.75rem;display:grid}.custom-pet-extra-photo summary{cursor:pointer;color:var(--green);font-weight:650}.custom-pet-extra-photo[open]>:not(summary){margin-top:.65rem}.custom-pet-device,.phone-photo-button{text-align:center;min-height:60px;padding-inline:.65rem;font-size:.9rem}.custom-pet-device{color:var(--green);border-style:dashed;position:relative}.custom-pet-device:focus-within{outline:3px solid var(--green);outline-offset:2px}.phone-photo-button[aria-expanded=true]{background:var(--accent-surface)}.phone-photo-code{border:1px solid var(--line);color:var(--muted);border-radius:.7rem;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:.65rem 1rem;padding:.8rem;font-size:.87rem;display:flex}.phone-photo-code>img{width:168px;height:168px;image-rendering:pixelated;border-radius:.3rem}.phone-photo-code>div{flex:12rem}.phone-photo-code p+p{margin-top:.35rem}.phone-photo-code a{margin-top:.35rem;display:inline-block}.custom-pet-photo-received{color:var(--green);align-items:center;gap:.7rem;font-size:.89rem;display:flex}.custom-pet-photo-received img{object-fit:cover;border-radius:.4rem;width:4rem;height:4rem}.custom-pet-phone-page{max-width:30rem;margin:2rem auto}.custom-pet-phone-page h1{max-width:none;font-size:clamp(1.65rem,5vw,2.2rem)}.custom-pet-field,.custom-pet-subject legend{font-size:.94rem;font-weight:690}.custom-pet-field{gap:.28rem;display:grid}.custom-pet-field input{width:100%;min-width:0;min-height:46px;color:var(--ink);border:1px solid var(--control-line);background:#0f1512;border-radius:.55rem;padding:.55rem .75rem;font-size:1rem;font-weight:450}.custom-pet-field input::placeholder{color:var(--muted);opacity:.8}.custom-pet-upload{min-width:0;color:var(--ink);gap:.3rem;font-size:.94rem;font-weight:690;display:grid}.custom-pet-upload input{border:1px dashed var(--control-line);width:100%;min-width:0;min-height:46px;color:var(--muted);background:#0f1512;border-radius:.55rem;padding:.28rem .45rem;font-size:.9rem;font-weight:450}.custom-pet-upload input::file-selector-button{min-height:35px;color:var(--green);background:var(--accent-surface);cursor:pointer;font:inherit;border:0;border-radius:.35rem;margin-inline-end:.65rem;padding:.3rem .7rem;font-weight:700}.custom-pet-stripe{min-width:0;margin-block:1rem}.custom-pet-subject legend{margin-bottom:.32rem;padding:0}.custom-pet-subject>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;display:grid}.custom-pet-subject label{display:grid;position:relative}.custom-pet-subject input{opacity:0;width:1px;height:1px;position:absolute}.custom-pet-subject span{border:1px solid var(--control-line);min-height:44px;color:var(--muted);cursor:pointer;background:#0f1512;border-radius:.55rem;place-items:center;padding:.3rem .6rem;display:grid}.custom-pet-subject :checked+span{border-color:var(--green);background:var(--accent-surface);color:var(--green);font-weight:700}.custom-pet-subject :focus-visible+span{outline:3px solid var(--green);outline-offset:2px}.custom-pet-subject :disabled+span{cursor:default}.custom-pet-screen-reader{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.custom-pet-checkout-footnote{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:.15rem .7rem;margin-top:.75rem;font-size:.8rem;display:flex}.custom-pet-checkout-footnote a{color:inherit}.custom-pet-feedback{color:#ffc1b3;font-size:.9rem}.custom-pet-order{max-width:48rem;margin:0 auto 2rem}@media (width<=810px){.custom-pet-checkout-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=540px){.custom-pet-contact,.custom-pet-photo-options{grid-template-columns:minmax(0,1fr)}.custom-pet-phone-option{display:none}}.custom-pet-form{border:1px solid var(--line);background:var(--paper);border-radius:1rem;gap:1rem;padding:clamp(1rem,3vw,2rem);display:grid}.custom-pet-form form,.custom-pet-form label{gap:.65rem;display:grid}.custom-pet-form label{margin-block:.35rem}.custom-pet-form .button{justify-self:start}.custom-pet-photo{object-fit:contain;border-radius:.7rem;max-width:min(100%,18rem);max-height:18rem}.custom-pet-actions{flex-wrap:wrap;gap:.6rem;display:flex}.custom-pet-browser{border:1px solid var(--control-line);background:linear-gradient(135deg,#20342b,#18241e);border-radius:.7rem;justify-items:start;gap:.6rem;padding:.95rem 1rem;display:grid}.custom-pet-browser p,.custom-pet-downloads p{color:var(--muted);font-size:.94rem}.custom-pet-browser .custom-pet-added{color:var(--green);font-weight:750}.custom-pet-browser .custom-pet-added+p{margin-top:.25rem}.custom-pet-browser .button:disabled{opacity:.65;cursor:default}.custom-pet-handoff{gap:.5rem;width:100%;min-width:0;display:grid}.custom-pet-handoff-link{border:1px solid var(--control-line);background:var(--paper);min-width:0;min-height:44px;color:var(--ink);border-radius:.55rem;padding:.55rem .8rem}.custom-pet-refresh{min-height:44px;color:var(--green);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.custom-pet-downloads{border-top:1px solid var(--line)}.custom-pet-downloads summary{color:var(--green);cursor:pointer;padding-block:.6rem;font-weight:650}.custom-pet-downloads .custom-pet-actions{margin-top:.65rem}.custom-pet-preview{gap:.75rem;display:grid}.custom-pet-preview canvas{justify-self:center;width:min(100%,16rem);height:auto}.custom-pet-preview button[aria-pressed=true]{border-color:currentColor}.hero-panel{background:linear-gradient(145deg, #1d3029, var(--paper) 74%)}.panel-bar{color:var(--green)}.showcase-pause{visibility:hidden;min-width:3.75rem;min-height:44px;color:var(--preview-ink);background:var(--preview-surface);cursor:pointer;border:1px solid #5a848c;border-radius:.55rem;flex:none;padding:.3rem .4rem;font-size:.85rem;font-weight:700}.showcase-pause[data-ready=true]{visibility:visible}.showcase-pause:hover{border-color:var(--preview-ink);background:#26434a}.panel-caption{color:var(--muted);padding:.45rem .15rem 0;font-size:.81rem}.hero-previews{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.showcase-stage{--showcase-height:var(--hero-art-height);border:1px solid var(--line);background:var(--art-stage) var(--art-surface);border-radius:.85rem;position:relative;overflow:hidden}.home .showcase-stage{background:#dac9b4 url(/home/spring-tram-stop.webp) 50%/cover no-repeat}.hero-previews{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:0}.hero-role{flex-direction:column;height:100%;text-decoration:none;display:flex}.hero-role:focus-visible{outline-offset:-3px}.hero-role:is(:hover,:focus-visible) .hero-role-name{text-decoration:underline}.hero-preview{height:var(--showcase-height);place-items:end center;padding:0 .3rem 12px;display:grid}.hero-preview picture{width:100%;display:block}.hero-preview img{width:min(80%, 220px, var(--showcase-height) * .69, var(--showcase-height) * .77 - 12px);aspect-ratio:1;height:auto;margin-inline:auto}.hero-preview[data-animated] picture{opacity:0}.showcase-canvas{width:100%;height:var(--showcase-height);pointer-events:none;position:absolute;inset:0 0 auto}.hero-role-name{border-top:1px solid var(--line);background:var(--paper);text-align:center;overflow-wrap:anywhere;padding:.5rem .4rem;font-size:clamp(.73rem,1.4vw,.95rem);font-weight:750;display:block}.hero-role-name span{color:var(--green)}.home .section{padding-block:clamp(1rem,2vw,1.65rem)}.home .home-catalog{border-top:1px solid var(--line);padding-top:clamp(.85rem,1.55vw,1.4rem)}.home-catalog-controls{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.home-catalog-sort{color:var(--muted);align-items:center;gap:.6rem;font-size:.9rem;display:flex}.home-catalog-sort select{border:1px solid var(--control-line);background:var(--paper);min-height:44px;color:var(--ink);border-radius:.55rem;padding:.45rem .7rem}.home-catalog-options{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin:.8rem 0 1rem;display:flex}.home-catalog-help{flex-wrap:wrap;gap:.2rem 1rem;display:flex}.home-catalog-help a{min-height:44px;color:var(--muted);align-items:center;font-size:.86rem;display:inline-flex}.home-catalog-help a:hover{color:var(--ink)}.home-role-filters{flex-wrap:wrap;align-items:center;gap:.5rem;margin:0;display:flex}.home-role-filters a{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--muted);border-radius:999px;align-items:center;gap:.25rem;padding:.4rem .8rem;font-size:.86rem;font-weight:650;text-decoration:none;display:inline-flex}.home-role-filters a:is(:hover,.selected){border-color:var(--control-line);background:var(--accent-surface);color:var(--green)}.home-catalog-count{color:var(--muted);margin-block:.2rem .75rem;font-size:.88rem}.home-catalog-more{justify-content:center;margin-top:clamp(1rem,2.4vw,1.75rem);display:none}.home-catalog-more[data-has-more]{display:flex}.home h2{font-size:clamp(1.75rem,2.3vw,2.25rem)}.home .section h2{margin-bottom:.85rem}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;column-gap:1rem;display:flex}.section-link{padding-bottom:.65rem;font-size:.93rem;font-weight:750;display:inline-block}:is(.role-art img,.hero-preview img,.stage-poster img,.character-sprite-grid img,.character-lightbox-art img,.download-art img){filter:drop-shadow(0 2px 2px #0007)}.series-browse>.section{scroll-margin-top:6rem}.series-browse .section-intro{max-width:80ch;margin-bottom:1rem}.series-shortcuts a{align-items:center;gap:.45rem;min-height:44px;display:inline-flex}.series-shortcuts .result-count{margin:0}.series-guide-link{white-space:nowrap}.site-header .nav-section-active{color:var(--ink);text-decoration:underline;-webkit-text-decoration-color:var(--primary);text-decoration-color:var(--primary);text-underline-offset:.4em;text-decoration-thickness:2px}.catalog-browser .page-intro{padding-block:.6rem 1rem}.catalog-browser .page-intro h1{text-wrap:initial;max-width:42ch;font-size:clamp(1.85rem,3.15vw,2.65rem)}.catalog-browser .page-intro .lede{max-width:88ch;margin-top:.5rem;font-size:clamp(.95rem,1.15vw,1.05rem)}.catalog-browse-controls{margin-bottom:.5rem}.catalog-views{border-bottom:1px solid var(--line);gap:.35rem;margin-bottom:.8rem}.catalog-views a{min-height:44px;color:var(--muted);border-bottom:3px solid #0000;align-items:center;padding:.45rem 1rem;font-weight:750;text-decoration:none;display:flex}.catalog-views a[aria-current=page]{border-color:var(--primary);color:var(--ink)}.catalog-search-form{background:var(--paper);border:1px solid var(--line);border-radius:.8rem;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.45rem .65rem;padding:.75rem;display:grid}.catalog-search-form label{gap:.3rem;min-width:0;display:grid}.catalog-search-form label>span{color:var(--muted);font-size:.8rem;font-weight:650}.catalog-extra-filters{grid-column:1/-1}.catalog-extra-filters summary{min-height:44px;color:var(--green);cursor:pointer;font-size:.875rem;line-height:44px}.catalog-extra-filters summary span{color:var(--muted);margin-inline-start:.5rem}.catalog-extra-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;padding-bottom:.5rem;display:grid}.catalog-return{min-height:var(--control-height);align-items:center;display:inline-flex}.series-jump-links{gap:.5rem;margin-top:1rem}.series-jump-links a{min-height:var(--control-height);border:1px solid var(--line);border-radius:.6rem;align-items:center;padding:.25rem .7rem;display:inline-flex}.photo-to-shimeji-lead{grid-template-columns:1.25fr 1fr;align-items:center;gap:1.25rem;display:grid}.photo-to-shimeji-example{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:0;display:grid}.photo-to-shimeji-example div{text-align:center;color:var(--muted);gap:.5rem;display:grid}.photo-to-shimeji-example img{background:var(--art-tile);border:1px solid var(--line);border-radius:.65rem;width:100%;height:clamp(10rem,26vw,16rem)}.catalog-search-form :is(input,select){border:1px solid var(--control-line);width:100%;min-width:0;min-height:44px;color:var(--ink);background:#0f1512;border-radius:.5rem;padding:.45rem .65rem}.catalog-search-form input::placeholder{color:var(--muted)}.catalog-facet-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;margin-top:.75rem;display:flex}.catalog-category-links{flex-wrap:wrap;gap:.45rem;display:flex}.catalog-category-links a{border:1px solid var(--line);min-height:44px;color:var(--muted);border-radius:2rem;align-items:center;gap:.4rem;padding:.45rem .75rem;font-size:.9rem;text-decoration:none;display:inline-flex}.catalog-category-links a span{font-variant-numeric:tabular-nums;opacity:.85;font-size:.8rem}.catalog-category-links a[aria-current=page]{color:var(--green);background:var(--accent-surface);border-color:#638574}.catalog-category-links a:hover{color:var(--ink);border-color:var(--green)}.catalog-reset{align-items:center;min-height:44px;padding:.3rem .5rem;font-size:.88rem;display:inline-flex}.catalog-scope{color:var(--muted);margin-top:.55rem;font-size:.88rem}.directory-results>h2{margin-bottom:.7rem}.catalog-browser>.section{padding-block:1.15rem}.catalog-browser>.catalog-page>.section:first-child{padding-top:1.15rem}.catalog-related-collections{border-top:1px solid var(--line);margin-top:1rem}.catalog-related-collections h2{font-size:1.3rem}.catalog-related-collections .collection-links{margin-bottom:.3rem}.catalog-related-collections .collection-links a{align-items:center;gap:.45rem;min-height:44px;display:inline-flex}.catalog-related-collections .collection-links a span{color:var(--muted);font-size:.8rem}@media (width<=520px){.catalog-search-form{padding:.55rem .65rem}.catalog-extra-fields,.photo-to-shimeji-lead{grid-template-columns:minmax(0,1fr)}.catalog-category-links{gap:.3rem}.catalog-category-links a{gap:.3rem;padding-inline:.48rem;font-size:.85rem}}.collection-actions,.collection-links{flex-wrap:wrap;gap:.6rem;margin:1.1rem 0 1.4rem;display:flex}.collection-links a{border:1px solid var(--line);color:var(--green);background:var(--paper);border-radius:2rem;padding:.5rem .85rem;font-size:.9rem}.collection-links a:hover{border-color:var(--green)}.collection-reading,.catalog-page>.section>p{max-width:78ch;color:var(--muted)}.template-intro{max-width:76ch;margin-top:1rem}.template-workbench{border:1px solid var(--line);background:var(--paper);border-radius:1rem;grid-template-columns:minmax(0,1.65fr) minmax(17rem,1fr);gap:1.25rem;margin-block:2rem 2.75rem;padding:clamp(1rem,2.3vw,1.75rem);display:grid}.template-editor,.template-settings{min-width:0}.template-editor-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.template-editor-heading h2{font-size:1.4rem}.template-tabs{flex-wrap:wrap;gap:.45rem;margin-block:1rem;display:flex}.template-tabs .button{flex:1;padding-inline:.6rem}.template-stage{border:1px solid var(--line);background:repeating-conic-gradient(#23302a 0% 25%,#1b2520 0% 50%) 50%/24px 24px;border-radius:.8rem;place-items:center;min-height:18rem;display:grid;position:relative;overflow:hidden}.template-stage canvas{aspect-ratio:1;width:min(65%,240px);height:auto;display:block}.template-baseline{color:var(--muted);text-align:center;font-size:.8rem;position:absolute;inset:auto 0 .6rem}.template-playback{flex-wrap:wrap;align-items:center;gap:1rem;margin-block:1rem;font-size:.9rem;display:flex}.template-playback label{flex:1;grid-template-columns:1fr auto;gap:.3rem .5rem;min-width:8rem;display:grid}.template-playback input{width:100%;min-height:1.5rem;accent-color:var(--primary);grid-column:1/-1;padding:0}.template-playback output{font-variant-numeric:tabular-nums}.template-frames{grid-template-columns:repeat(auto-fill,minmax(6.5rem,1fr));gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.template-frames li{border:1px solid var(--line);background:#101713;border-radius:.6rem;min-width:0;overflow:hidden}.template-frame-select{width:100%;color:var(--muted);cursor:pointer;background:0 0;border:0;justify-items:center;padding:.4rem;display:grid}.template-frame-select[aria-pressed=true]{background:var(--accent-surface);color:var(--green);box-shadow:inset 0 0 0 2px var(--green)}.template-frame-select img{width:80px;height:80px}.template-frame-controls{border-top:1px solid var(--line);display:flex}.template-frame-controls button{min-width:0;min-height:44px;color:var(--green);cursor:pointer;background:0 0;border:0;flex:1;padding:.3rem}.template-frame-controls button:hover:enabled{background:var(--accent-surface)}.template-frame-controls button:disabled{opacity:.35;cursor:default}.template-settings{border-left:1px solid var(--line);flex-direction:column;align-items:stretch;gap:.9rem;padding-left:1.25rem;display:flex}.template-settings h3{font-size:1.2rem}.template-upload,.template-name{gap:.5rem;font-weight:700;display:grid}.template-upload input{width:100%;min-width:0;max-width:100%;font-size:.85rem;display:block}.template-upload input::file-selector-button{background:var(--accent-surface);color:var(--green);font:inherit;cursor:pointer;border:0;border-radius:.35rem;margin-right:.5rem;padding:.55rem .65rem}.template-name input{width:100%;min-width:0}.template-hint{font-size:.83rem}.template-reset{color:var(--muted);text-underline-offset:.2em;cursor:pointer;background:0 0;border:0;align-self:start;padding:.4rem 0;text-decoration:underline}.template-error{color:#ffc6b6;background:#39231d;border:1px solid #a26a5b;border-radius:.5rem;padding:.7rem}@media (width<=850px){.template-workbench{grid-template-columns:1fr}.template-settings{border-left:0;border-top:1px solid var(--line);padding:1.25rem 0 0}.template-stage{min-height:15rem}}.home .role-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.role-library-grid{gap:clamp(.65rem,1.05vw,1.2rem)}.role-library-grid .role-card{border-radius:.95rem;padding:clamp(.55rem,.9vw,1rem)}.role-library-grid .role-art{aspect-ratio:3/2;border:0;border-radius:.65rem}.role-library-grid .role-art picture{inset:.4rem}.role-library-grid .role-art img{width:min(91%,10rem)}.role-library-grid .role-copy{gap:.12rem;padding:.55rem 0 .6rem}.role-library-grid .role-name{font-size:clamp(.95rem,1.15vw,1.1rem)}.role-library-grid .role-copy p{order:-1;margin:0;font-size:.8rem;line-height:1.35}.home .feature,.home .faq{border-radius:.9rem}.home .feature{padding:clamp(1rem,2.2vw,1.65rem)}.home .feature p{max-width:62ch}.home-guide{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,1.6vw,1.25rem);margin-block-start:clamp(1.25rem,2vw,1.75rem);display:grid}.home-guide>.section{background:var(--paper);border:1px solid var(--line);border-radius:.95rem;padding:clamp(1.15rem,2.15vw,1.65rem)}.home .home-guide h2{font-size:clamp(1.25rem,1.65vw,1.6rem)}.home-guide p,.home-guide-steps{color:var(--muted);max-inline-size:68ch}.home-guide p>a{display:inline-block}.home-guide-steps{margin:.35rem 0 .6rem;padding-inline-start:1.3rem}.home-guide .faq{background:#111916}.home-guide .faq details{padding:0}.home-guide .faq summary{min-block-size:44px;padding:.65rem .75rem}.home-guide .faq p{padding:0 .75rem .7rem}.extension-browser-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin-block:1rem;display:grid}.extension-browser-options>div:target{border-color:var(--green)}.definition{max-width:74ch}.directory-controls{background:var(--paper);border:1px solid var(--line);border-radius:.9rem;flex-wrap:wrap;align-items:end;gap:.85rem;padding:1rem;display:flex}.directory-controls label{flex:8.5rem;gap:.25rem;min-width:0;display:grid}.directory-controls label span{color:var(--muted);font-size:.88rem;font-weight:700}.directory-controls .directory-query{flex-basis:16rem}.directory-controls input,.directory-controls select{border:1px solid var(--control-line);background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--ink);border-radius:.55rem;padding:.45rem .65rem}.directory-actions{flex-wrap:wrap;gap:.45rem;display:flex}:is(.directory-results,.catalog-page) .role-grid{grid-template-columns:repeat(5,minmax(0,1fr))}:is(.directory-results,.catalog-page) .role-grid:not(.role-library-grid) .role-art{aspect-ratio:1}@media (width>=1440px){:is(.directory-results,.catalog-page) .role-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (1050px<width<1600px){:is(.home,.directory-results) .role-library-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.home-catalog .role-grid>.role-card:nth-child(n+21){display:none}.home-catalog:has(.role-card:nth-child(21)) .home-catalog-more{display:flex}}@media (600px<width<=1050px){.home-catalog .role-grid>.role-card:nth-child(n+13){display:none}.home-catalog:has(.role-card:nth-child(13)) .home-catalog-more{display:flex}}@media (width<=1050px){.home .role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}:is(.directory-results,.catalog-page) .role-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=820px){.header-inner{gap:.55rem;min-height:60px;padding-block:.55rem}.header-inner .desktop-nav{display:none}.language-menu{margin-left:auto}.mobile-nav{display:block}.mobile-nav summary,.language{align-items:center;min-height:44px;display:flex}.mobile-nav summary{cursor:pointer;color:var(--green);gap:.35rem;padding-inline:.55rem;font-weight:750}.mobile-nav summary:after{content:"▾"}.mobile-nav[open] summary:after{content:"▴"}.mobile-nav nav{top:100%;background:var(--paper);border-bottom:1px solid var(--line);gap:.25rem;padding:.5rem max(1rem,50vw - 600px);display:grid;position:absolute;inset-inline:0;box-shadow:0 .4rem .8rem #0006}.mobile-nav nav a{align-items:center;min-height:44px;padding-inline:.5rem;display:flex}.home h2{font-size:clamp(1.625rem,4vw,1.75rem)}.role-grid,:is(.directory-results,.catalog-page) .role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-inner{grid-template-columns:1fr;gap:.75rem}}@media (width<=768px){.home-guide{grid-template-columns:minmax(0,1fr)}.character-page{--detail-stage-height:clamp(16rem, 57vw, 23rem)}.character-showcase{grid-template-columns:minmax(0,1fr);grid-template-areas:"preview""download""gallery""actions""stores";gap:.85rem}.character-showcase.localized-character-showcase{grid-template-areas:"preview""download"}.character-sprite-grid a{aspect-ratio:1.14}.character-facts,.extension-notes,.reading-lead{grid-template-columns:1fr}}@media (width<=820px){.home .hero{--hero-art-height:clamp(7.5rem, 37vw, 17.25rem);grid-template-columns:minmax(0,1fr);align-content:start;gap:.75rem;min-block-size:0;padding-top:1.15rem}.home-catalog-entry{grid-row:2}.hero h1{font-size:clamp(1.95rem,6.2vw,2.65rem)}.home .hero-custom-sample{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}.home .hero-custom-source img{max-height:9rem}}@media (width<=600px){.home .hero{--hero-art-height:clamp(7.5rem, 35vw, 12rem)}.hero .showcase-stage{--showcase-height:clamp(6.5rem, 30vw, 11rem)}.home .hero-custom-sample{align-items:start;height:auto}.home .hero-custom-source{display:contents}.hero-custom-heading{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title action""description action";align-items:center;gap:.25rem .55rem}.hero-custom-heading h2{grid-area:title}.hero-custom-heading p{grid-area:description;line-height:1.45}.hero-custom-cta{grid-area:action}.home .hero-custom-source img,.home .hero-custom-result{height:clamp(9rem,40vw,12rem)}.hero-demo-controls{inset:.3rem .3rem auto}.hero-demo-controls .button{padding:.3rem .42rem;font-size:.8125rem}.home .hero-custom-sample figcaption{padding-block:.25rem}.home .role-grid,.role-grid,:is(.directory-results,.catalog-page) .role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-catalog .role-grid>.role-card:nth-child(n+9){display:none}.home-catalog:has(.role-card:nth-child(9)) .home-catalog-more{display:flex}.hero-previews>li:nth-child(n+3){display:none}}@media (width<=540px){.download-list li{grid-template-columns:64px minmax(0,1fr)}.download-action{grid-column:1/-1}.hero .lede{font-size:1rem}.extension-browser-options{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.showcase-canvas{display:none}.hero-preview[data-animated] picture{opacity:1}.shimeji-controls{min-height:0}}@media (width<=405px){.role-copy{padding:.7rem}}@media (width<=360px){.header-inner,.brand{gap:.35rem}.brand-wordmark{width:5.2rem}.mobile-nav summary{padding-inline:.3rem}.hero-custom-cta{gap:.35rem;padding-inline:.55rem}}
