*{box-sizing:border-box} :root{color-scheme:light;--ink:#1e2c25;--muted:#59645a;--paper:#f5f3ea;--line:#d8d9ca;--green:#243e34;--gold:#a67d3c;--serif:"Noto Serif CJK SC","Songti SC","STSong","SimSun",serif;--sans:"Noto Sans CJK SC","Microsoft YaHei","PingFang SC",system-ui,sans-serif}
html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #a4752f;outline-offset:4px}button{color:inherit}img{display:block}.wrap{width:min(1240px,calc(100% - 72px));margin:auto}
.top{border-bottom:1px solid var(--line);background:#f9f7ef}.top-inner{height:64px;display:flex;align-items:center;gap:18px}.brand{font-family:var(--serif);display:flex;align-items:center;gap:10px;font-size:19px;font-weight:bold;white-space:nowrap}.seal{display:grid;place-items:center;background:#a6503c;color:#fff5de;width:31px;height:31px;border-radius:7px 4px 7px 4px;font-family:var(--serif);font-size:21px}.edition{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:18px}.jump{margin-left:auto;font-size:13px;text-decoration:underline;text-underline-offset:5px}
.hero{margin:29px 0 36px;min-height:326px;background:#142a24;color:#f0efd9;display:grid;grid-template-columns:1.12fr 1fr;position:relative;overflow:hidden;border-radius:24px;isolation:isolate}.intro{padding:44px 0 36px 50px;position:relative;z-index:2}.overline{margin:0;color:#6b684d;font-weight:700;font-size:12px;letter-spacing:.15em}.hero .overline{color:#d6bb7a}.hero h1{margin:10px 0 10px;font:800 clamp(41px,5.2vw,74px)/1.15 var(--serif);letter-spacing:.015em}.hero h1 span{color:#dab26c}.lead{max-width:405px;margin:0;color:#d9e2ca;font-size:15px;line-height:1.8}.metrics{display:flex;gap:25px;margin-top:24px;flex-wrap:wrap}.metrics div{display:flex;align-items:baseline;gap:6px}.metrics strong{color:#f2d398;font:700 21px Georgia,serif}.metrics small{color:#c5cfba;font-size:12px}
.hero-art{overflow:hidden;position:relative;min-height:290px;background:radial-gradient(ellipse at 52% 49%,#416458 0%,#213e34 44%,transparent 72%)}.hero-art::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.32;background:repeating-linear-gradient(0deg,#b9ceac08 0 2px,transparent 2px 5px)}.orbit{position:absolute;left:52%;top:48%;border-radius:100%;transform:translate(-50%,-50%);aspect-ratio:1;border:1px solid #dce9b94d}.orbit-a{width:233px;box-shadow:0 0 40px #becd7040,inset 0 0 40px #a7c49423}.orbit-b{width:271px;border-style:dashed;border-color:#dfce9548}.axis{position:absolute;left:52%;top:48%;width:100%;height:1px;transform:translate(-50%,-50%);background:linear-gradient(90deg,transparent,#a8ba8174,transparent)}.art-light{position:absolute;top:48%;left:52%;width:190px;height:190px;transform:translate(-50%,-50%);border-radius:100%;background:#a8daf52a;filter:blur(36px)}.specimen{image-rendering:pixelated;position:absolute;left:52%;top:47%;width:154px;height:154px;object-fit:contain;transform:translate(-50%,-50%) rotate(-12deg);filter:drop-shadow(0 8px 20px #70bfff88)}.specimen.other{width:44px;height:44px;filter:drop-shadow(0 4px 15px #e9dda771);transform:translate(-50%,-50%);opacity:.93}.specimen.left{left:20%;top:40%}.specimen.right{left:82%;top:54%}.art-caption{position:absolute;bottom:17px;left:52%;transform:translateX(-50%);text-align:center;color:#f0ead0;white-space:nowrap}.art-caption span{display:block;font-family:var(--serif);font-weight:bold}.art-caption small{color:#c0cdb4;font-size:11px}
.catalog{display:grid;grid-template-columns:180px minmax(0,1fr);gap:31px;scroll-margin-top:14px}.sidebar{border-right:1px solid var(--line);padding-right:16px}.nav-label{color:var(--muted);font-size:12px;letter-spacing:.14em;margin:4px 0 10px 10px;font-weight:bold}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar button{border:0;background:transparent;padding:10px 10px;border-radius:9px;display:flex;align-items:center;gap:8px;white-space:nowrap;text-align:left;font-size:14px}.sidebar button[aria-current=true]{background:var(--green);color:#fff7e2}.sidebar button:hover:not([aria-current=true]){background:#e9ebdf}.sidebar small{margin-left:auto;font-size:11px;opacity:.77}.dot{background:var(--accent);height:8px;width:8px;border-radius:100%;display:inline-block;flex:none}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px}.section-head h2{font:800 34px/1.2 var(--serif);margin:5px 0 0}.search{display:flex;align-items:center;width:min(100%,365px);gap:9px;background:#fffdf5;border:1px solid var(--line);border-radius:10px;padding:0 12px;height:44px;color:#5f6e5c}.search span{font-size:25px}.search input{flex:1;min-width:0;width:100%;border:0;background:transparent;outline:none;font-size:14px;color:var(--ink)}.search:focus-within{outline:2px solid #a4752f;outline-offset:2px}
.tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:16px 0 11px}.tabs button,.pages button{background:transparent;border:1px solid var(--line);border-radius:8px;padding:6px 13px;font-size:13px}.tabs button[aria-pressed=true]{background:#e3e9dd;border-color:#9baa97;font-weight:bold}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:11px 0;font-size:13px;color:var(--muted);min-height:31px}.rank select{border:1px solid var(--line);border-radius:6px;background:#fcfaf1;padding:4px 8px;margin-left:6px;color:var(--ink)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.card{background:#fffdf5;border:1px solid #ddded0;border-radius:13px;min-height:137px;text-align:left;padding:13px;display:flex;flex-direction:column;gap:8px;transition:background .16s,transform .16s,border-color .16s;overflow:hidden}.card:hover{background:#f6faef;border-color:#849b84;transform:translateY(-2px)}.imagebox{display:grid;place-items:center;width:52px;height:48px;border-radius:8px;background:radial-gradient(ellipse,#e0e8da,#eef0e6);color:#71866c;font:700 23px var(--serif)}.imagebox img{max-width:41px;max-height:41px;object-fit:contain;image-rendering:pixelated}.card h3{font:700 16px/1.3 var(--serif);margin:0;overflow-wrap:anywhere}.card .sub{color:var(--muted);font-size:11px;margin-top:auto;overflow-wrap:anywhere}.empty{grid-column:1/-1;background:#fffdf5;border:1px dashed var(--line);border-radius:12px;padding:40px;text-align:center;color:var(--muted)}.pages{margin:20px 0 0;display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px}.pages button:disabled{cursor:default;opacity:.4}
footer{border-top:1px solid var(--line);margin:38px 0 0;padding:19px 0 26px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px;gap:12px}footer span:first-child{font:700 15px var(--serif);white-space:nowrap}
dialog{width:min(690px,calc(100% - 25px));max-height:90dvh;padding:0;border:1px solid #bdbfae;border-radius:19px;background:#fbf9ef;color:var(--ink);box-shadow:0 24px 70px #0005;overflow:auto}dialog::backdrop{background:#0d211bbd}#detail-body{padding:28px}.close{position:absolute;right:14px;top:12px;border:1px solid var(--line);border-radius:50%;width:38px;height:38px;background:#fbf9ef;font-size:25px;line-height:1}.detail-head{display:flex;gap:17px;align-items:center;padding-right:38px}.detail-head .imagebox{width:76px;height:76px;flex:none}.detail-head img{max-height:63px;max-width:63px}.detail-head h2{font:800 29px/1.2 var(--serif);margin:2px 0 5px;overflow-wrap:anywhere}.ident{font:12px ui-monospace,monospace;color:var(--muted);overflow-wrap:anywhere}.detail-section{border-top:1px solid var(--line);margin-top:19px;padding-top:13px}.detail-section h3{margin:0 0 9px;font:700 19px var(--serif)}.description{white-space:pre-wrap;margin:6px 0;color:#3d493b;font-size:14px}.chip,.chip-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;overflow-wrap:anywhere;background:#edf0e3;border:1px solid #d7ddcc;padding:5px 8px;margin:0 5px 5px 0;border-radius:6px;font-size:13px}.chip-link img{width:18px;height:18px;object-fit:contain;image-rendering:pixelated}.chip-link:hover{border-color:#72907b}.craft-grid{display:grid;gap:4px;margin:9px 0;width:max-content}.slot{background:#e9e8db;border:1px solid #c9c9b8;border-radius:5px;width:43px;height:43px;display:grid;place-items:center;text-align:center;font-size:11px;overflow:hidden}.slot img{width:29px;height:29px;object-fit:contain;image-rendering:pixelated}.param{margin:8px 0;color:#4c554a;font-size:13px}.param div{display:grid;grid-template-columns:minmax(105px,1fr) minmax(120px,2fr);gap:10px;border-bottom:1px solid #e3e4d8;padding:4px 0;overflow-wrap:anywhere}.param dt{font-weight:600}.param dd{margin:0}.stage{min-height:130px;border-radius:11px;display:grid;place-items:center;background:radial-gradient(#35534b,#152b25);color:#fff;position:relative;overflow:hidden;margin:7px 0}.stage img{width:42px;height:42px;image-rendering:pixelated;position:absolute;animation:drift 2.6s ease-out infinite;animation-delay:var(--delay);animation-play-state:paused;opacity:0}.stage.playing img{animation-play-state:running}.stage>img:first-child{animation:none;opacity:1}.stage small{position:absolute;bottom:6px;left:9px;color:#c5d2bb}.play{border:1px solid #7a9380;border-radius:6px;background:#edf0e3;padding:4px 9px}@keyframes drift{0%{opacity:0;transform:translate(0,0) scale(.3)}25%{opacity:.85}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.8)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:1060px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{padding-right:10px}.catalog{grid-template-columns:152px minmax(0,1fr);gap:20px}}
@media(max-width:740px){.wrap{width:calc(100% - 28px)}.top-inner{height:54px}.edition{display:none}.hero{margin:16px 0 18px;grid-template-columns:1fr}.intro{padding:24px 17px 8px}.hero-art{min-height:220px}.orbit-a{width:144px}.orbit-b{width:174px}.specimen{width:103px;height:103px}.specimen.other{width:32px;height:32px}.art-caption{bottom:7px}.metrics{gap:10px 17px;margin-top:14px}.catalog{display:block}.sidebar{padding:0;border:0}.sidebar nav{flex-direction:row;overflow:auto;padding-bottom:8px}.sidebar small{display:none}.sidebar button{border:1px solid var(--line)}.nav-label{margin-left:0}.section-head{margin-top:12px;align-items:start;flex-direction:column}.search{width:100%}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card{padding:10px;min-height:117px}.section-head h2{font-size:29px}#detail-body{padding:17px}.detail-head h2{font-size:23px}}

/* A refined item and its variants share a tile and always paginate together. */
.pair-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #ddded0;border-radius:13px;background:#fffdf5}
.pair-card .card{border:0;border-radius:0;width:100%}
.pair-card .card:hover{transform:none}
.pair-card .card:focus-visible{outline-offset:-3px}
.pair-card .variant-card{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px 11px;border-top:1px solid #e3e4d9;background:#edeee5;min-height:59px}
.pair-card .variant-card:hover{background:#e2e8db}
.variant-card .imagebox{width:33px;height:33px;flex:none;background:#dedfd6}
.variant-card .imagebox img{max-width:28px;max-height:28px}
.variant-body{display:flex;flex-direction:column;min-width:0;gap:1px}
.variant-title{font:600 12px/1.25 var(--sans);overflow-wrap:anywhere}
.texture-gallery{display:flex;flex-wrap:wrap;gap:12px}
.texture-frame{display:grid;justify-items:center;align-items:center;gap:7px;padding:8px;min-width:123px;border:1px solid var(--line);border-radius:10px;background:#f1f1e6}
.texture-frame.selected{border-color:#879e84;background:#e8eee3}
.texture-well{display:grid;place-items:center;width:104px;height:92px;border-radius:6px;background:conic-gradient(#303f37 25%,#35443c 0 50%,#303f37 0 75%,#35443c 0);background-size:16px 16px}
.texture-well img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated}
.texture-variant{background:#fbfaf1;border:1px solid #c2cbb9;border-radius:6px;padding:3px 8px;font-size:12px}
.texture-variant[aria-current=true]{background:#294337;color:#fff7e2;border-color:#294337}
.texture-frame small{color:var(--muted);font-size:11px}

.model-picture{aspect-ratio:1;background-size:400% 100%;background-position:calc(var(--angle)*100%/3) 50%;background-repeat:no-repeat;image-rendering:auto}
.preview-card>.model-thumb{width:104px;height:104px;align-self:center;border-radius:8px}
.preview-card{background:linear-gradient(#edf0e6 0 111px,#fffdf5 111px);min-height:163px}
.preview-card .imagebox{background:transparent;width:100%;height:90px}
.preview-card .imagebox img{max-width:58px;max-height:57px}
.detail-head .model-thumb{width:76px;flex:none;background-color:#e6ebdd;border-radius:8px}
.model-stage,.preview-particles canvas{border-radius:12px;background:radial-gradient(ellipse at 50% 55%,#3d5f50,#1d342c 66%,#152721);overflow:hidden}
.model-stage{min-height:172px;height:min(36vh,240px);display:grid;place-items:center}
.model-stage .model-picture{height:100%;width:auto;max-width:100%}
.model-empty{color:#dbe5d7;padding:15px;text-align:center}
.model-controls,.model-reference,.particle-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:9px}
.model-angles{display:flex;gap:4px;flex-wrap:wrap}
.angle-button,.model-variants select{border:1px solid #bbc7b7;border-radius:6px;background:#f3f4e9;padding:4px 9px;font-size:12px}
.angle-button[aria-pressed=true]{background:#294337;color:#fff7e2;border-color:#294337}
.model-variants{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}
.model-reference .chip-link{margin:0}
.preview-particles canvas{width:100%;height:auto;display:block}
.particle-controls small{font-size:12px;color:var(--muted)}
.particle-controls .play{margin-left:auto}
@media(max-width:430px){.model-stage{height:180px}}

:root{
  --page-width:1250px;
  --paper:#f3f1e8;
  --green:#223d32;
  --line:#d9dbce;
}
body{background:radial-gradient(ellipse at 75% 0,#e5e9df,transparent 560px),var(--paper)}
.wrap{width:min(var(--page-width),calc(100% - 64px))}
.top{background:#f9f7efee}
.top-inner{height:63px}
.jump{display:flex;align-items:center;gap:8px;border:1px solid #c8cbbd;border-radius:999px;padding:6px 13px;text-decoration:none}
.jump:hover{background:#e7ede2}
.hero{min-height:356px;margin:24px 0 34px;grid-template-columns:1.1fr 1fr;border-radius:21px;border:1px solid #324c41;box-shadow:0 12px 28px #1e372515}
.intro{padding:37px 0 26px 46px}
.hero h1{letter-spacing:.075em;margin:8px 0;font-size:clamp(43px,5.5vw,70px)}
.hero .overline{letter-spacing:.15em}
.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin:19px 0 0}
.hero-actions button{display:inline-flex;align-items:center;gap:10px;border-radius:8px;padding:7px 13px;font-size:13px;font-weight:650}
.hero-primary{border:1px solid #f0dcb0;background:#e6c98d;color:#1e3026}
.hero-primary:hover{background:#f0d9a5}
.hero-secondary{border:1px solid #829487;background:#233d32;color:#edf1e1}
.hero-secondary:hover{background:#315245}
.metrics{gap:18px;margin-top:22px}
.hero-art{min-height:unset;background:radial-gradient(ellipse at 56% 51%,#527365 0%,#324e40 42%,#182e25 75%)}
.hero-art::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#142a24 0%,transparent 17% 92%,#162d24 100%)}
.hero-art .orbit{left:56%}
.hero-art .orbit-a{width:236px}
.hero-art .orbit-b{width:288px}
.hero-art .specimen{width:74px;height:74px;left:23%;top:32%;z-index:1;opacity:.85}
.hero-art .hero-creature{position:absolute;width:min(46%,274px);top:49%;left:56%;transform:translate(-50%,-50%);filter:drop-shadow(0 15px 12px #071e179e);background-size:400% 100%}
.hero-art .art-caption{left:56%;bottom:17px;border:0;background:#172f27dc;color:#f5ead0;border-radius:9px;padding:4px 12px 5px}
.hero-art .art-caption:hover{background:#27483e}
.catalog{gap:22px;grid-template-columns:170px minmax(0,1fr)}
.sidebar{border:0;padding:0}
.pack-panel{position:sticky;top:15px;background:#fbfaf1;border:1px solid var(--line);border-radius:13px;padding:7px}
.nav-label{letter-spacing:.08em;margin:8px 7px 9px}
.sidebar button{font-size:13px;padding:9px 10px}
.sidebar small{font-variant-numeric:tabular-nums}
.catalog-head{padding:0 1px;position:relative}
.section-head{align-items:center}
.section-head h2{font-size:32px}
.search{border-radius:10px;width:min(100%,385px);box-shadow:0 3px 10px #35402f09}
.search input::-webkit-search-cancel-button{display:none}
.search-shortcut{background:#edece3;border:1px solid #dadcd0;border-radius:4px;font-size:12px;padding:0 5px}
#clear-search{border:0;background:transparent;color:#475b4a;padding:0 3px;font-size:22px;line-height:1}
.search [hidden],.detail-controls [hidden]{display:none}
.tabs{gap:6px;padding:14px 0 9px;display:flex}
.tabs button{display:inline-flex;align-items:center;gap:6px;font-weight:620;background:#fbfaf2}
.tabs button[aria-pressed=true]{background:#263f34;color:#fff7e2;border-color:#263f34}
.tabs .count{font-size:10px;opacity:.73;font-variant-numeric:tabular-nums;font-weight:500}
.toolbar{margin:10px 0;min-height:30px}
.filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.view-toggle{display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fcfaf1}
.view-toggle button{border:0;background:transparent;border-radius:5px;padding:3px 10px;font-size:12px;color:var(--muted)}
.view-toggle button[aria-pressed=true]{background:var(--green);color:#fff7e2}
.grid{gap:12px;align-items:start}
.grid.list{grid-template-columns:1fr;gap:7px}
.grid.list .pair-card{display:contents}
.grid.list .card,.grid.list .variant-card{flex-direction:row;align-items:center;min-height:0;padding:8px 12px;gap:12px;border-radius:9px}
.grid.list .card .imagebox,.grid.list .variant-card .imagebox{width:42px;height:38px;flex:none}
.grid.list .card .imagebox img{max-width:30px;max-height:30px}
.grid.list .card .model-thumb{width:42px;height:38px}
.grid.list .card h3{font-size:14px;flex:1;margin:0}
.grid.list .card .sub{margin:0;white-space:nowrap}
.grid.list .card .effect-origin{display:none}
.grid.list .preview-card{background:#fffdf5}
.grid.list .variant-card .variant-body{flex-direction:row;align-items:center;gap:10px}
.grid.list .variant-title{font-size:14px}
.grid>.card,.pair-card{height:100%}
.card{border-radius:11px}
.card .sub{letter-spacing:.01em}
.card h3{font-size:16px}
.card .model-thumb{width:117px;height:112px}
.preview-card{background:linear-gradient(#e8eee3 0 121px,#fffdf5 121px)}
.pair-card .variant-card{border-radius:0}
.empty{display:grid;gap:10px;justify-items:center}
.empty button{border:1px solid #bbc7b7;background:#edf0e3;border-radius:7px;padding:5px 10px}
footer{margin-top:36px}
footer a{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
dialog{padding:0;max-height:min(90dvh,840px)}
.detail-controls{display:flex;position:sticky;top:0;align-items:center;padding:10px 13px 8px;gap:8px;z-index:2;border-bottom:1px solid #dddfd1;background:#fbf9eff5;backdrop-filter:blur(8px)}
.detail-controls form{margin:0}
.detail-controls button{height:32px;border-radius:7px;border:1px solid var(--line);background:#f3f4e9;padding:0 10px;font-size:12px;white-space:nowrap}
.detail-controls .close{position:static;font-size:23px;line-height:1;padding:0;width:32px;border-radius:7px}
#copy-entry{margin-left:auto}
#detail-body{padding-top:20px}
.detail-head{padding-right:0}
.detail-section{margin-top:17px}
.texture-gallery{gap:10px}
.texture-well{height:101px;width:106px}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:1000px){
  .catalog{grid-template-columns:145px minmax(0,1fr);gap:16px}
  .intro{padding-left:32px}
}
@media(max-width:740px){
  .wrap{width:calc(100% - 28px)}
  .top-inner{height:51px}
  .hero{min-height:0;margin:14px 0 16px;grid-template-columns:1fr}
  .intro{padding:21px 17px 12px}
  .hero h1{font-size:42px;margin:5px 0}
  .hero .overline{font-size:11px}
  .lead{font-size:13px}
  .metrics{margin-top:12px;gap:9px 14px}
  .metrics strong{font-size:19px}
  .hero-actions{margin-top:11px}
  .hero-art{min-height:177px}
  .hero-art .hero-creature{width:169px;top:45%}
  .hero-art .orbit-a{width:144px}
  .hero-art .orbit-b{width:176px}
  .hero-art .specimen{width:51px;height:51px;top:40%}
  .hero-art .art-caption{bottom:4px;padding:2px 8px 3px}
  .hero-art .art-caption span{font-size:13px}
  .catalog{display:block}
  .pack-panel{position:static;padding:8px 7px}
  .nav-label{margin:0 2px 6px}
  .sidebar nav{display:flex;flex-wrap:wrap;flex-direction:row;gap:5px;overflow:visible;padding:0}
  .sidebar button{padding:5px 8px;font-size:12px}
  .section-head{align-items:flex-start;gap:9px}
  .section-head h2{font-size:26px}
  .search{width:100%;height:40px}
  .search-shortcut{display:none}
  .tabs{gap:5px;padding-top:10px}
  .tabs button{padding:5px 7px;font-size:12px}
  .grid{gap:8px}
  .card .model-thumb{height:101px;width:101px}
  .preview-card{background:linear-gradient(#e8eee3 0 106px,#fffdf5 106px)}
  #detail-body{padding-top:13px}
}

.model-modes{display:flex;gap:6px;margin:0 0 8px}
.motion-stage{height:min(42dvh,280px)}
.motion-stage .motion-canvas{display:block;width:min(100%,600px);height:100%;object-fit:contain}
.motion-stage canvas[hidden],.motion-stage .model-picture[hidden]{display:none}
.motion-tools{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:9px}
.motion-select{border:1px solid #bbc7b7;border-radius:6px;background:#f3f4e9;padding:5px 8px;min-width:112px;font-size:13px}
.motion-angle{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}
.motion-angle input{width:90px}
.motion-timebar{flex-wrap:nowrap}
.motion-time{flex:1;min-width:50px}
.motion-turn,.motion-time{accent-color:#385c48}
.motion-clock{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
@media(max-width:520px){.motion-stage{height:196px}}
.motion-stage{position:relative}
.motion-stage .motion-effects{position:absolute;inset:0;margin:auto;width:min(100%,600px);height:100%;object-fit:contain;pointer-events:none}
.motion-fx-toggle{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:12px}
.motion-fx-toggle[hidden]{display:none}
.motion-effect-events{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.motion-event{border:1px solid #b9c9b7;border-radius:6px;background:#edf0e5;color:#294337;font-size:11px;padding:3px 7px}
.skill-preview-slot{margin-top:8px}
.skill-preview-slot .chip-link{margin-top:8px}

.effect-origin{display:block;min-width:0;max-width:100%;margin-top:.2rem;color:var(--muted);font-size:.75rem;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.effect-sources .chip-link{text-align:left;white-space:normal;overflow-wrap:anywhere}

.refined-glow img{filter:drop-shadow(0 0 2px var(--gu-glow)) drop-shadow(0 0 4px var(--gu-glow))}
@media (prefers-reduced-motion:no-preference){
  .card:hover .refined-glow img,.card:focus-visible .refined-glow img,.texture-well.refined-glow:hover img{animation:gu-glow-pulse 1.8s ease-in-out infinite alternate}
  @keyframes gu-glow-pulse{to{filter:drop-shadow(0 0 3px var(--gu-glow)) drop-shadow(0 0 7px var(--gu-glow))}}
}

/* 作品反馈投票 */
.vote-box{margin-top:22px;padding:18px 20px;border:1px solid var(--line,#d8ded3);border-radius:10px;background:var(--panel,#f3f5ee)}
.vote-title{margin:0 0 6px;font-size:1.05rem}
.vote-hint{margin:0 0 14px;color:var(--muted,#66705f);font-size:.85rem}
.vote-actions{display:flex;gap:10px;flex-wrap:wrap}
.vote-btn{border:1px solid var(--line,#d8ded3);border-radius:8px;background:#fff;color:#2b3a2e;font:inherit;font-size:.9rem;padding:9px 20px;cursor:pointer;transition:background .15s,border-color .15s}
.vote-like:hover{background:#e7f0df;border-color:#7ba466}
.vote-dislike:hover{background:#f5e8e4;border-color:#c48a7a}
.vote-reason{margin-top:12px}
.vote-reason[hidden]{display:none}
.vote-reason textarea{width:100%;box-sizing:border-box;border:1px solid var(--line,#d8ded3);border-radius:8px;padding:10px 12px;font:inherit;font-size:.9rem;resize:vertical;background:#fff;color:#2b3a2e}
.vote-reason textarea.invalid{border-color:#c4563e}
.vote-submit{margin-top:8px;border:0;border-radius:8px;background:#385c48;color:#fff;font:inherit;font-size:.9rem;padding:9px 18px;cursor:pointer}
.vote-submit:hover{background:#294837}
.vote-btn .vote-count{display:inline-block;min-width:1.5em;margin-left:5px;padding:1px 7px;border-radius:999px;background:#eef2e9;color:#4a5c4d;font-size:.82rem;font-weight:700;font-variant-numeric:tabular-nums}
.vote-like .vote-count{background:#e3eeda;color:#3f6a3a}
.vote-dislike .vote-count{background:#f4e4df;color:#8a4e3c}

/* 诡异复苏：双版本对照卡片 */
.cast{position:absolute;right:3%;top:0;width:52%;height:100%;display:flex;justify-content:center;z-index:1;pointer-events:none}
.cast img{width:24%;height:158%;object-fit:contain;object-position:top;filter:drop-shadow(6px 8px 9px #1d151780);transform:translateY(24%)}
.cast img:nth-child(2){width:28%;transform:translateY(6%);z-index:2}
.cast img:nth-child(3){transform:translateY(16%)}
.ghost-card{gap:9px}
.ghost-card .card-title{font:700 16px/1.3 var(--serif);overflow-wrap:anywhere}
.ghost-card .compare{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}
.ghost-card .side{min-width:0;text-align:center;background:#f1f2e9;border-radius:9px;padding:8px 6px}
.ghost-card .side.b{background:#e9ede4}
.ghost-card .side img{width:100%;height:116px;object-fit:contain;image-rendering:pixelated;margin:auto}
.ghost-card .side img.icon{image-rendering:pixelated}
.ghost-card .side .label{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.ghost-card .side .model{display:block;font-size:10px;color:#6a715f;line-height:1.35;margin-top:4px}
.ghost-card .side .plain{height:116px;display:grid;place-items:center;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.ghost-card .sub{margin:0;font-size:11px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.detail-head{display:block}
.detail-head h2{margin:4px 0 7px}
.detail-head .description{font-size:14px}
.detail-section .compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.detail-section .side{min-width:0;text-align:center;background:#f1f2e9;border-radius:9px;padding:12px}
.detail-section .side img{max-width:100%;height:250px;object-fit:contain;image-rendering:pixelated;margin:auto}
.detail-section .side audio{width:100%;margin-top:8px}
.empty-side{display:grid;place-items:center;color:var(--muted);min-height:100px}
.grid.list .ghost-card .compare{display:flex;gap:10px}
.grid.list .ghost-card .side{flex:1;padding:5px}
.grid.list .ghost-card .side img{height:46px}
.grid.list .ghost-card .side .plain{height:46px}
.grid.list .ghost-card .side .model{display:none}
.grid.list .ghost-card .sub{display:none}
@media(max-width:740px){
  .cast{right:-6%;width:50%;top:22%}
  .cast img:nth-child(4){display:none}
  .ghost-card .side img,.ghost-card .side .plain{height:92px}
  .detail-section .compare{grid-template-columns:1fr}
}
