@font-face{font-family:Calibri;src:url('https://huggingface.co/hyz317/HairDeck/resolve/main/assets/Calibri.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Calibri;src:url('https://huggingface.co/hyz317/HairDeck/resolve/main/assets/Calibrib.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:light;--ink:#202c42;--muted:#657082;--blue:#536b99;--line:#dfe4ec;--light:#f3f5f9;--wide:1160px;--content:1000px;--body:Calibri,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:#fff;color:var(--ink);font:19px/1.55 var(--body)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}img{max-width:100%;height:auto;display:block}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #839bd1;outline-offset:4px}[hidden]{display:none!important}p{margin:0 0 18px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:20;left:16px;top:-80px;background:var(--ink);color:white;padding:10px 18px;border-radius:6px}.skip-link:focus{top:10px}
.site-nav{max-width:var(--wide);height:68px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 8px}.wordmark{font-size:24px;font-weight:700;letter-spacing:-.7px}.wordmark span,.brand-period{color:#8d9dcb}.site-nav nav{display:flex;gap:30px;font-size:17px;color:var(--muted)}.site-nav a:hover{color:var(--blue)}.hero{text-align:center;padding:36px 20px 38px}.hero-brand{font-size:72px;line-height:1.05;font-weight:700;letter-spacing:-3px;margin:0 0 14px}.hero h1{font-size:clamp(32px,3.8vw,48px);line-height:1.12;letter-spacing:-1.1px;margin:0 auto;max-width:1000px}.authors{display:flex;flex-wrap:wrap;justify-content:center;gap:7px 21px;margin:22px auto 0;max-width:1000px;font-size:21px;color:var(--blue)}.authors span,.authors a{white-space:nowrap}.authors a:hover{text-decoration:underline}.hero-description{font-size:21px;color:var(--muted);margin:17px auto 23px}.resource-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.resource{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:17px;line-height:1;min-height:44px;padding:12px 19px;border:1px solid #cdd5e1;border-radius:30px;transition:background .15s,border-color .15s}.resource:hover{background:var(--light);border-color:#a6b4cd}.resource.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.resource.primary:hover{background:var(--blue);border-color:var(--blue)}.resource svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.resource img{width:20px;height:20px;object-fit:contain}.resource.unavailable{color:#7e8795;background:#f8f9fb;cursor:default}.soon{font-size:12px;border-left:1px solid var(--line);padding-left:8px;margin-left:1px}
.section-shell,.wide{max-width:var(--wide);margin-left:auto;margin-right:auto}.section-shell{margin-bottom:100px}.video-section{max-width:var(--content);margin-bottom:87px}.video-section video{width:100%;display:block;aspect-ratio:16/9;object-fit:contain;background:#eef0f4;border-radius:14px;box-shadow:0 12px 40px #26334b12}.section-kicker{font-size:13px;font-weight:700;letter-spacing:1.7px;line-height:1.5;color:var(--blue);margin:0 0 12px}h2{font-size:40px;line-height:1.14;letter-spacing:-.7px;margin:0 0 20px}h3{font-size:24px;line-height:1.3}.text-section{max-width:810px;margin:0 auto 40px}.text-section .lead{font-size:25px;line-height:1.45;color:var(--ink)}.text-section>p:not(.section-kicker){color:#4c5a6d;font-size:20px;line-height:1.65}.text-section>.lead{font-size:25px!important;color:var(--ink)!important;line-height:1.45!important}.abstract-details,.architecture-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px 0 0}summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:var(--blue);font-size:18px;padding:15px 0}summary::-webkit-details-marker{display:none}summary span{font-size:25px;line-height:1}details[open]>summary span{transform:rotate(45deg)}.abstract-details>div{padding:5px 0 8px;color:#4c5a6d;font-size:18px}.paper-figure{margin:0}.paper-figure>a,.figure-panel>a{display:block;cursor:zoom-in}.paper-figure img{width:100%}.paper-figure figcaption{max-width:850px;margin:16px auto 0;color:var(--muted);font-size:17px;text-align:center;line-height:1.5}.teaser-figure{max-width:var(--content);margin:0 auto 100px}.teaser-figure img{border-radius:12px}.section-heading{text-align:center;max-width:880px;margin:0 auto 32px}.section-heading h2{margin-bottom:14px}.section-heading>p:last-child:not(.section-kicker){font-size:20px;color:var(--muted);margin-bottom:0}
.result-explorer{max-width:var(--content);margin:auto;border:1px solid var(--line);border-radius:16px;overflow:hidden}.explorer-toolbar{background:#f6f7fa;display:flex;justify-content:space-between;align-items:center;padding:12px 15px;gap:15px;border-bottom:1px solid var(--line)}.segmented{display:flex;gap:3px;padding:4px;border-radius:28px;background:#e9edf4}.segmented button{border:0;background:none;border-radius:23px;padding:7px 17px;font-size:17px;line-height:1.3;min-height:36px;white-space:nowrap;color:#626e81}.segmented button[aria-selected=true]{background:white;color:var(--ink);box-shadow:0 1px 4px #243c5814}.explorer-hint{font-size:14px;color:var(--muted)}.explorer-hint span{margin-left:6px}.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px}.gallery-tile{display:block;position:relative;aspect-ratio:960/612.625;overflow:hidden;border:0;background:#f1f2f5;padding:0;cursor:zoom-in}.gallery-tile img{position:absolute;width:400%;height:800%;max-width:none;pointer-events:none}.gallery-tile:focus-visible{outline-offset:-4px;z-index:1}.gallery-tile:hover{filter:brightness(.97)}.gallery-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 17px;background:#fafbfc;border-top:1px solid var(--line)}.gallery-footer p,.panel-caption{font-size:16px;color:var(--muted);margin:0}.gallery-pages{display:flex;gap:5px;flex-shrink:0}.gallery-pages button{font-size:14px;border:1px solid transparent;border-radius:18px;padding:5px 10px;background:none;min-height:34px;color:var(--muted)}.gallery-pages button[aria-pressed=true]{background:#e6ebf5;color:var(--ink)}.gallery-pages button:hover{border-color:#cbd5e5}.figure-panel{padding:24px 18px 17px;min-height:360px;display:flex;flex-direction:column;justify-content:center}.figure-panel img{width:100%}.panel-caption{margin-top:21px;text-align:center}.text-link{color:var(--blue);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.result-note{max-width:var(--content);margin:11px auto 0;font-size:15px;color:var(--muted)}.method-figure{padding:24px 22px;border:1px solid var(--line);border-radius:16px}.method-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;margin-top:33px}.method-steps article{border-top:2px solid #bcc7df;padding-top:14px}.step-number{font-size:14px;color:var(--blue);letter-spacing:1px}.method-steps h3{margin:7px 0 10px}.method-steps p{font-size:18px;color:var(--muted);line-height:1.5;margin:0}.architecture-details{margin-top:34px}.architecture-details figure{padding:10px 0 24px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);max-width:var(--content);margin:auto;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}.metrics>div+div{border-left:1px solid var(--line)}.metrics strong{font-size:52px;line-height:1.1;letter-spacing:-1.4px;font-weight:700;color:#536b99}.metrics strong span{font-size:.66em;margin-left:2px}.metrics p{font-size:19px;margin:8px 0 2px}.metrics small{font-size:15px;color:var(--muted)}.metric-note{text-align:center;font-size:15px;color:var(--muted);margin:11px 0 28px}.comparison-figure{max-width:var(--content);padding:24px;border:1px solid var(--line);border-radius:16px;margin:auto}.try-section{max-width:var(--content);display:flex;align-items:center;justify-content:space-between;gap:28px;padding:31px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:76px}.try-section .section-kicker{margin-bottom:7px}.try-section h2{font-size:32px;margin-bottom:9px}.try-section p:last-child{font-size:18px;color:var(--muted);margin:0}.try-section .resource{white-space:nowrap;flex-shrink:0}.citation-section{max-width:var(--content);margin-bottom:70px}.citation-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.citation-heading h2{font-size:32px;margin:0}.citation-heading button,.dialog-toolbar button{font-size:16px;border:1px solid #cdd5e1;border-radius:22px;padding:8px 18px;background:#fff;min-height:40px}.citation-heading button:hover,.dialog-toolbar button:hover{background:var(--light)}.bibtex-block{margin:0;padding:24px 28px;border:1px solid var(--line);border-radius:12px;overflow-x:auto;background:#f6f8fb;color:#44536a;font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.bibtex-block code{font:inherit}footer{border-top:1px solid var(--line);padding:31px 20px 40px;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:16px}footer .wordmark{color:var(--ink)}footer p{margin:0}footer .back-top{color:var(--blue);margin-top:8px}dialog{border:0;border-radius:12px;width:min(1500px,96vw);max-height:92vh;padding:20px;color:var(--ink);background:#fff;box-shadow:0 15px 100px #0003}dialog::backdrop{background:#172337bb;backdrop-filter:blur(5px)}.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;font-size:16px}.dialog-toolbar p{margin:0}.dialog-toolbar button{white-space:nowrap}.dialog-toolbar button span{margin-left:8px}.lightbox-image{margin:auto;max-width:100%;height:auto}#lightbox-content .gallery-tile{max-width:960px;margin:auto;width:100%;cursor:default}body.dialog-open{overflow:hidden}
@media(min-width:1500px){.hero{padding-top:43px;padding-bottom:43px}.hero-brand{font-size:78px}.hero h1{font-size:51px}}
@media(max-width:1220px){.site-nav,.section-shell,.wide{margin-left:28px;margin-right:28px}.text-section{padding:0 28px}.video-section,.teaser-figure,.try-section,.citation-section{width:min(var(--content),calc(100% - 56px));margin-left:auto;margin-right:auto}}
@media(max-width:780px){.site-nav{height:60px;margin:0 20px;padding:0}.site-nav nav{font-size:15px;gap:17px}.site-nav nav a[href='#comparisons']{display:none}.hero{padding:29px 18px 31px}.hero-brand{font-size:61px;margin-bottom:13px}.hero h1{font-size:35px;line-height:1.12;letter-spacing:-.7px}.desktop-break{display:none}.authors{gap:5px 16px;max-width:560px;font-size:19px;margin-top:22px}.hero-description{font-size:19px;max-width:340px;margin:17px auto 21px}.resource-links{gap:8px}.resource{font-size:16px;padding:11px 15px;gap:7px}.resource.unavailable .soon{font-size:11px}.section-shell,.wide{margin-left:18px;margin-right:18px;margin-bottom:65px}.video-section,.teaser-figure,.try-section,.citation-section{width:calc(100% - 36px);margin-left:auto;margin-right:auto}.video-section video{border-radius:9px}.text-section{padding:0 24px;margin-bottom:31px}h2{font-size:33px;letter-spacing:-.4px}.text-section>.lead{font-size:23px!important}.text-section>p:not(.section-kicker){font-size:19px}.section-kicker{font-size:12px}.section-heading{text-align:left;margin:0 5px 24px}.section-heading>p:last-child:not(.section-kicker){font-size:19px}.paper-figure figcaption{font-size:15px;text-align:left;margin:13px 4px 0}.explorer-toolbar{justify-content:center;padding:11px 8px}.segmented button{font-size:16px;padding:7px 13px}.explorer-hint{display:none}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:5px}.gallery-footer{flex-direction:column;gap:8px;padding:12px}.gallery-footer p{font-size:14px}.gallery-pages button{padding:6px 13px}.figure-panel{padding:20px 10px;min-height:280px}.panel-caption{font-size:15px;margin-top:20px}.result-note{font-size:14px;margin:10px 4px 0}.method-figure{padding:16px 10px}.method-steps{grid-template-columns:1fr;gap:25px;margin:26px 5px 0}.method-steps h3{font-size:24px}.method-steps p{font-size:18px}.metrics{padding:18px 0}.metrics strong{font-size:40px}.metrics p{font-size:16px;line-height:1.25;margin:9px 9px 4px}.metrics small{font-size:13px}.metric-note{font-size:13px;margin:10px 10px 23px}.comparison-figure{padding:14px 10px}.try-section{flex-direction:column;align-items:flex-start;gap:21px;padding:26px 4px}.try-section h2{font-size:30px}.bibtex-block{font-size:12px;padding:18px 16px}.citation-heading h2{font-size:30px}footer{text-align:center;font-size:14px}.dialog-toolbar{gap:12px;align-items:flex-start;font-size:15px}.dialog-toolbar button{padding:6px 11px}dialog{padding:14px}}
@media(max-width:390px){.hero h1{font-size:31px}.hero-brand{font-size:56px}.site-nav nav{gap:12px}.resource{padding:10px 13px}.segmented button{font-size:14px;padding:7px 12px}.metrics strong{font-size:34px}.metrics small{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.no-wrap{white-space:nowrap}
@media(min-width:521px) and (max-width:780px){.hero-description{max-width:none}}
@media(max-width:780px){.authors{display:grid;grid-template-columns:repeat(3,max-content);gap:5px 17px;max-width:none;font-size:18px}}
@media(max-width:390px){.authors{font-size:16px;gap:5px 12px}}

/* Author affiliations and contribution marks. */
.authors sup{font-size:.64em;margin-left:2px;line-height:0;vertical-align:super}
.affiliations{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 22px;margin:12px auto 0;max-width:1000px;font-size:18px;line-height:1.5;color:var(--muted)}
.affiliations span{white-space:nowrap}.affiliations sup,.author-notes sup{font-size:.72em;margin-right:4px}
.author-notes{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 19px;margin:7px auto 0;font-size:15px;color:var(--muted)}
@media(max-width:780px){.affiliations{font-size:16px;gap:3px 15px;margin-top:13px}.author-notes{font-size:14px}}
@media(max-width:380px){.authors{grid-template-columns:repeat(2,max-content)}.affiliations{font-size:15px}.affiliations span{white-space:normal}}
