:root{--ink:#263c38;--muted:#637368;--paper:#f7f5ed;--green:#315f50;--line:#dedfd1;--gold:#a17e42;--lab-header-height:84px;font-family:"Yu Gothic UI","Meiryo",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:160px}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer;transition:background .18s,border-color .18s,transform .18s}button:hover{border-color:#8ca393}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e3b04c;outline-offset:4px}[hidden]{display:none!important}
.labHeader{position:sticky;top:0;z-index:100;min-height:var(--lab-header-height);padding:12px clamp(18px,2vw,40px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:var(--paper);box-shadow:0 2px 10px #263c3810}
.labHeader img{display:block;width:174px;height:58px;object-fit:contain}.homeLink{font-size:calc(13px + 5pt);text-decoration:none;color:var(--muted)}.homeLink span{margin-left:12px;font-size:calc(19px + 5pt)}
main{width:100%;max-width:none;margin:auto;padding:28px clamp(16px,2vw,40px) 24px}.eyebrow{font-size:calc(9px + 5pt);letter-spacing:.16em;font-weight:750;color:var(--gold);margin:0 0 8px}.labIntro{margin-bottom:25px;display:flex;align-items:end;justify-content:space-between;gap:28px}.labIntro h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(30px,2.3vw,43px);letter-spacing:.035em;margin:0;font-weight:700}.labIntro h1 span{font-family:system-ui,sans-serif;font-size:calc(10px + 5pt);letter-spacing:.04em;margin-left:18px;color:var(--muted);font-weight:500;vertical-align:middle;border:1px solid var(--line);border-radius:30px;padding:6px 11px;white-space:nowrap}.labIntro>p{font-size:calc(12px + 5pt);line-height:1.8;color:var(--muted);margin:0}.mobileBreak{display:none}
.labLayout{display:grid;grid-template-columns:minmax(340px,.35fr) minmax(0,.65fr);gap:24px;align-items:start}.stageCard{position:sticky;top:calc(var(--lab-header-height) + 16px);max-height:calc(100dvh - var(--lab-header-height) - 30px);overflow:auto;scrollbar-gutter:stable;background:#eaece2;border:1px solid #d8ddce;border-radius:18px}.stageTop{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px 10px;flex-wrap:wrap}.stageLabel{font-size:calc(9px + 5pt);letter-spacing:.1em;color:#647c69;font-weight:750}.statusPill{font-size:calc(11px + 5pt);color:#4d6a58;background:#fffaf0d9;border:1px solid #d8decd;border-radius:20px;padding:4px 11px}
.stageViewport{position:sticky;top:0;z-index:3;height:clamp(280px,42vh,510px);background:radial-gradient(ellipse at 50% 80%,#fffdf3 0%,#edf0e5 40%,#e3e8dc 100%)}#dollCanvas{display:block;width:100%;height:100%;object-fit:contain}#loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;background:#edf0e8dd;color:#65776b;font-size:calc(13px + 5pt)}
.poseControls{display:flex;gap:4px;margin:10px 16px 0;background:#dce3d5;padding:5px;border-radius:10px;flex-wrap:wrap}.poseControls button{flex:1 1 20%;padding:9px 4px;border:1px solid transparent;border-radius:7px;background:transparent;font-size:calc(11px + 5pt);color:#607464;white-space:nowrap}.poseControls button.selected{background:#fffdf6;color:#284a3e;box-shadow:0 2px 6px #314f3a0b}kbd{font-family:inherit;font-size:.78em;border:1px solid #aab9a8;padding:1px 4px;border-radius:3px;margin-left:3px;opacity:.8}.labSkillPreview{display:flex;align-items:center;gap:12px;padding:14px 20px 0;color:#526d5c;font-size:calc(11px + 5pt);flex-wrap:wrap}.labSkillPreview>span{white-space:nowrap}
.motionReview{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:9px;padding:16px 20px 0;font-size:calc(11px + 5pt);color:var(--green)}.motionReview select{font:inherit;max-width:100%;min-width:0;padding:7px;border:1px solid var(--line);border-radius:6px;background:#fffdf7;color:inherit}.motionStep{display:flex;gap:7px;flex-wrap:wrap;grid-column:1/-1}.motionStep button{font:inherit;flex:1 1 auto;padding:8px 5px;border:1px solid var(--line);border-radius:6px;background:#fffdf7;color:inherit}.motionReview>output,.motionReview>label:has(input),.motionReview>input{grid-column:1/-1}.motionReview output{font-variant-numeric:tabular-nums}.motionReview label{line-height:1.5}.motionReview input[type=range]{width:100%;accent-color:var(--green)}
.playbackControls{padding:15px 20px 2px;display:flex;gap:13px;align-items:center;color:#6b7d6d;font-size:calc(10px + 5pt);flex-wrap:wrap}.playbackControls label{display:flex;gap:5px;align-items:center;cursor:pointer}.playbackControls input,.motionReview input{accent-color:var(--green);margin:0}.playbackControls>button{margin-left:auto;border:0;background:none;color:var(--green);font-size:inherit;padding:5px 0}.stageCaption{font-size:calc(10px + 5pt);margin:13px 20px 17px;color:#6c7c67;line-height:1.7}
.customizer{min-width:0;background:#fffdf7;border:1px solid var(--line);padding:24px;border-radius:18px}.customizerHeading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.customizerHeading h2{font-size:calc(19px + 5pt);margin:0;letter-spacing:.03em}.resetButton{color:#6d7a67;font-size:calc(10px + 5pt);border:0;background:transparent;padding:5px 0;white-space:nowrap}
.labSectionNav{position:sticky;top:var(--lab-header-height);z-index:10;display:flex;flex-wrap:wrap;gap:7px;padding:12px 0;margin:0 0 12px;background:#fffdf7f5;border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}.labSectionNav a{display:block;padding:8px 13px;border:1px solid #d5ddcc;border-radius:8px;background:#f0f3e8;color:#42654f;text-decoration:none;font-size:calc(11px + 5pt);font-weight:700}.labSectionNav a:hover{background:#e2ebdc}
.labChoiceSection{scroll-margin-top:160px;margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.labChoiceSection:first-of-type{border-top:0;margin-top:0;padding-top:8px}.labChoiceSection>h3{margin:0 0 18px;color:var(--green);font-size:calc(17px + 5pt)}.labChoiceSection>h3>span{font-size:calc(10px + 5pt);font-weight:500;color:var(--muted);margin-left:12px}.labSectionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.labSectionGrid>.labFullWidth{grid-column:1/-1}fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}legend{font-size:calc(12px + 5pt);font-weight:700;margin-bottom:10px;padding:0;width:100%}legend>span{float:right;color:#71816b;font-size:calc(10px + 5pt);font-weight:500}
.jobStyleActions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}.jobStyleActions button{border:1px solid #cbd7c5;background:#eff3e8;color:#315f50;border-radius:8px;padding:8px 10px;font-size:calc(11px + 5pt)}.jobStyleActions span,.styleHint,.labSectionHint{font-size:calc(10px + 5pt);color:var(--muted)}.styleHint,.labSectionHint{display:block;line-height:1.7;margin-top:9px}.labSectionHint{margin:0 0 22px;padding:12px 14px;background:#f1f3e8;border-radius:9px}
.labIconGrid,.iconOptions,#hairOptions,#faceOptions,#hatOptions,#faceGearOptions,#shieldOptions,#outfitOptions,#genderOptions{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:9px;min-width:0;width:100%}#jobOptions{grid-template-columns:repeat(5,minmax(0,1fr));max-width:800px}#genderOptions,#outfitOptions{grid-template-columns:repeat(2,minmax(76px,96px));width:auto}.labSkillPreview .labIconGrid{display:flex;width:auto;gap:8px}.customizer .labIcon,.labSkillPreview .labIcon{position:relative;display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1;min-width:0;min-height:66px;padding:4px;border:1px solid #b8a779;border-radius:7px;background:linear-gradient(#fff7dd,#e5d5ae);overflow:hidden;box-shadow:inset 0 0 0 1px #fff9}.labSkillPreview .labIcon{width:66px;height:66px;flex:0 0 66px}.customizer .labIcon.selected{background:#d7e8df;border:2px solid #315f50;box-shadow:0 0 0 2px #d2ad65}.labIcon img,.labIcon canvas{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.labEmptyIcon{font-size:calc(26px + 5pt);color:#8a8065}
.labEquipmentGallery .labIcon{background:radial-gradient(ellipse at 50% 75%,#26332e,#141c1d);border-color:#bba46d}.labEquipmentGallery .labIcon.selected{background:radial-gradient(ellipse at 50% 75%,#355648,#172b24);border-color:#54846a}.labEquipmentGallery .labEmptyIcon{color:#d8c9a4}.labIcon .itemIllustration,.labIcon .itemAuraArt{display:block;width:100%;height:100%}.labIcon .cdItemArt{width:100%;height:100%;background-size:500% 200%;background-repeat:no-repeat}.labIcon .outfitProductImage{width:100%;height:100%;object-fit:contain}
.labSkillArt{display:block;width:100%;height:100%;background-image:url('/cd/skill-icons/public-skills-v1.webp');background-size:300% 500%;border-radius:3px}.labOptionsLoading{grid-column:1/-1;color:var(--muted);font-size:14px}.swatches{display:flex;flex-wrap:wrap;gap:13px;padding:4px 3px}.swatches button{flex:0 0 37px;width:37px;height:37px;background:var(--swatch);border:3px solid #fffdf7;border-radius:50%;outline:1px solid #d9ddd0;position:relative}.swatches button.selected{outline:2px solid #496f4d}.swatches button.selected:after{content:'✓';position:absolute;inset:0;display:grid;place-content:center;color:#fff;font-size:calc(12px + 5pt);text-shadow:0 1px 3px #3338}
.labItemTooltip{position:fixed;z-index:10000;pointer-events:none;white-space:pre-line;max-width:min(340px,calc(100vw - 16px));padding:14px 17px;border:1px solid #bd9a53;border-radius:5px;background:#172c2ce8;box-shadow:0 5px 22px #15252540;color:#fff6df;font-size:calc(14px + 5pt);line-height:1.65}
.recipeNote{border-top:1px solid var(--line);display:flex;gap:10px;padding-top:16px;color:#6e7d66}.recipeNote>span{color:#aa8c4e;font-size:calc(22px + 5pt)}.recipeNote p{font-size:calc(10px + 5pt);line-height:1.8;margin:0}
.masterCompare{margin-top:28px;background:#fffdf7;border:1px solid var(--line);border-radius:16px;padding:20px 24px}.masterCompare summary{cursor:pointer;color:var(--green);font-size:calc(14px + 5pt);font-weight:700}.masterCompare>p{font-size:calc(12px + 5pt);line-height:1.9;color:var(--muted);margin:16px 0 0}.masterCompareGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.masterCompare figure{margin:0;background:#efeee4;border-radius:12px;overflow:hidden}.masterCompare figcaption{padding:16px 18px 0;font-size:calc(12px + 5pt);color:var(--green)}.masterCompare canvas{display:block;width:100%;height:auto}
.presetSection{margin:30px 0 24px;display:flex;justify-content:space-between;gap:25px;align-items:center}.presetSection h2{font-family:"Yu Mincho",serif;font-size:calc(20px + 5pt);margin:0;font-weight:650}.presetButtons{display:flex;flex-wrap:wrap;gap:10px}.presetButtons button{padding:13px 15px;border:1px solid var(--line);background:#fdfbf4;border-radius:9px;font-size:calc(11px + 5pt);color:#607259}.presetButtons span{font-family:serif;font-size:calc(16px + 5pt);color:#a79876;margin-right:12px}.labFootnote{font-size:calc(10px + 5pt);line-height:1.9;color:#75836b;text-align:center;padding-top:18px;border-top:1px solid var(--line)}.labFooter{width:100%;padding:20px clamp(16px,2vw,40px) 30px;font-size:calc(10px + 5pt);color:#76886e;letter-spacing:.1em;display:flex;justify-content:space-between;gap:20px}.labFooter span{letter-spacing:.02em;color:#87977e}
@media(max-width:1200px){.labLayout{grid-template-columns:minmax(320px,.36fr) minmax(0,.64fr);gap:18px}.customizer{padding:20px}.labSectionGrid{grid-template-columns:1fr;gap:0}.labIntro{display:block}.labIntro>p{margin-top:12px}.poseControls kbd{display:none}.motionReview{grid-template-columns:1fr}.motionReview>*{grid-column:1/-1}.labSectionNav a{padding:8px 10px}.stageViewport{height:clamp(220px,32vh,340px)}}
@media(max-width:900px){main{padding-inline:18px}.labLayout{grid-template-columns:minmax(290px,.4fr) minmax(0,.6fr);gap:14px}.customizer{padding:17px}.labIntro h1 span{display:table;margin:10px 0 0}.labSectionNav{position:relative;top:0}.labChoiceSection>h3>span{display:block;margin:6px 0 0}#jobOptions{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.customizer #jobOptions .labIcon{min-height:48px}.presetSection{display:block}.presetButtons{margin-top:18px}.stageTop,.labSkillPreview{padding-inline:16px}.playbackControls,.motionReview{padding-inline:16px}.stageCaption{margin-inline:16px}.customizerHeading{flex-wrap:wrap}}
@media(max-width:720px){:root{--lab-header-height:70px}main{padding:22px 14px}.labHeader{padding:10px 16px}.labHeader img{width:145px;height:48px}.homeLink{font-size:calc(11px + 5pt)}.homeLink span{margin-left:6px}.labIntro h1{font-size:32px}.labIntro>p{font-size:calc(11px + 5pt)}.mobileBreak{display:block}.labLayout{grid-template-columns:1fr;gap:20px}.stageCard{position:relative;top:auto;max-height:none;overflow:clip}.stageViewport{position:relative;height:min(68vw,360px)}.stageTop{padding-top:14px}.poseControls{flex-wrap:nowrap}.poseControls button{font-size:calc(10px + 5pt)}.motionReview{grid-template-columns:max-content minmax(0,1fr)}.motionReview>label[for=motionSelect],.motionReview>select{grid-column:auto}.customizer{padding:20px}.labSectionNav{position:sticky;top:var(--lab-header-height)}.labSectionGrid{grid-template-columns:1fr}.masterCompare{padding:18px}.masterCompareGrid{grid-template-columns:1fr}.labFootnote{text-align:left}.labFooter{font-size:calc(9px + 5pt);flex-wrap:wrap}.presetButtons{display:grid;grid-template-columns:1fr;width:100%}.presetButtons button{text-align:left}#jobOptions .labIcon{min-height:60px}.customizerHeading h2{font-size:calc(17px + 5pt)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button{transition:none}}

/* Keep the preview visible while choosing the final rows of a long equipment list. */
@media(min-width:901px){.customizer{position:sticky;top:calc(var(--lab-header-height) + 16px);max-height:calc(100dvh - var(--lab-header-height) - 30px);overflow-y:auto;scrollbar-gutter:stable}.customizer .labSectionNav{top:-1px}}


.headFitNotice{margin:0 0 24px;padding:18px 24px;border:1px solid #b9aa80;border-radius:12px;background:#f9f3df}.headFitNotice a{font-size:21px;font-weight:700;color:#28584e}.headFitNotice p{margin:7px 0 0;font-size:16px;color:#5c6c60}
