:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:16px;line-height:1.5;--background: #0b0b0f;--foreground: #f5f5f7;--primary: #e0a444;--primary-foreground: #1a1206;--secondary: #1e1e26;--muted-foreground: #a1a1aa;--accent: #26262f;--border: #2a2a33;--destructive: #ef4444;color:var(--foreground);background:var(--background);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}*,:before,:after{box-sizing:border-box;margin:0;padding:0;border:0 solid var(--border)}body{min-width:280px;min-height:100dvh;background:var(--background)}button,textarea{font:inherit;letter-spacing:inherit;color:inherit;background:transparent}button{cursor:pointer}button:disabled{pointer-events:none;opacity:.5}img{display:block;max-width:100%;height:auto}ul{list-style:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:8px;height:36px;padding:8px 16px;border-radius:6px;font-size:14px;line-height:1.42857;font-weight:500;white-space:nowrap;transition:background-color .15s}.button:focus-visible,.close:focus-visible{outline:0;box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--primary)}.icon{display:inline-block;flex-shrink:0;width:16px;height:16px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;pointer-events:none}.launcher{position:fixed;z-index:20;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:56px;height:56px;border-radius:9999px;background:var(--secondary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.launcher:hover{background:#1e1e26cc}.launcher .icon{width:24px;height:24px}.sheet{position:fixed;inset:0 0 0 auto;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;padding:0;border-left:1px solid var(--border);background:var(--background);color:var(--foreground);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:hidden}.sheet[open]{display:flex;flex-direction:column;animation:slide-in .5s cubic-bezier(.4,0,.2,1)}.sheet::backdrop,.image-dialog::backdrop{background:#000c}.sheet[open]::backdrop{animation:fade-in .15s ease-out}.sheet.is-closing{animation:slide-out .3s cubic-bezier(.4,0,.2,1) forwards}.sheet.is-closing::backdrop{animation:fade-out .3s forwards}.sheet>h2{flex-shrink:0;padding:12px 48px 12px 16px;border-bottom:1px solid var(--border);font-size:18px;font-weight:600;line-height:1.55556}.close{position:absolute;top:16px;right:16px;display:inline-flex;width:16px;height:16px;border-radius:2px;opacity:.7;transition:opacity .15s}.close:hover{opacity:1}.messages{display:flex;flex:1;flex-direction:column;gap:8px;overflow-y:auto;min-height:0;padding:16px}.message{display:flex;justify-content:flex-end}.bubble{display:flex;max-width:85%;flex-direction:column;gap:8px;padding:8px 12px;border-radius:8px;font-size:14px;line-height:1.42857;background:var(--accent)}.bubble p{overflow-wrap:anywhere;white-space:pre-wrap}.bubble a{color:inherit;text-decoration:underline;text-underline-offset:2px}.message-image{overflow:hidden;border-radius:6px;cursor:zoom-in}.message-image img{width:100%;max-height:256px;object-fit:cover}.composer{display:flex;flex-shrink:0;align-items:flex-end;gap:8px;border-top:1px solid var(--border);padding:12px}.ghost:hover{background:var(--accent)}.attach{width:36px;padding:0}.composer textarea{display:flex;width:100%;min-width:0;min-height:36px;flex:1;resize:none;border:1px solid var(--border);border-radius:6px;padding:8px 12px;font-size:14px;line-height:1.42857;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.composer textarea::placeholder{color:var(--muted-foreground);opacity:1}.composer textarea:focus-visible{outline:none;box-shadow:0 0 0 1px var(--background),0 0 0 3px var(--primary),0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.primary{background:var(--primary);color:var(--primary-foreground);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.primary:hover{background:#e0a444e5}.photo-preview{display:flex;flex-shrink:0;align-items:center;gap:12px;border-top:1px solid var(--border);padding:12px}.photo-preview>img{width:64px;height:64px;border-radius:6px;object-fit:cover}.filename{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.42857;color:var(--muted-foreground)}.error{padding:0 16px 8px;color:var(--destructive);font-size:12px;line-height:1.33333}.drop-target{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0b0b0fe5;pointer-events:none;font-size:14px;font-weight:500}.image-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:calc(100% - 32px);max-width:768px;max-height:calc(100dvh - 32px);margin:auto;padding:8px;border:1px solid var(--border);border-radius:10px;background:var(--background);color:var(--foreground)}.image-dialog>img{width:100%;max-height:85dvh;object-fit:contain;border-radius:6px}@media(min-width:768px){.sheet{width:420px}}@keyframes slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slide-out{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.try-on-page{--canvas: #100d0e;--ink: #f8eee3;--subtle: #bfb0a6;--gallery-gold: #eac080;--rule: #362724;min-height:100dvh;margin-right:auto;background:radial-gradient(ellipse 780px 510px at 50% 26%,#291819,transparent),var(--canvas);color:var(--ink)}.masthead{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:12px;padding:12px clamp(20px,4vw,64px);border-bottom:1px solid var(--rule)}.wordmark{font-family:Georgia,Times New Roman,serif;font-size:clamp(.9rem,2.3vw,1.1rem);line-height:1.2;letter-spacing:.12em;text-transform:uppercase}.masthead-detail{color:var(--subtle);font-size:.8125rem;letter-spacing:.1em;white-space:nowrap}.try-on-intro{display:grid;justify-items:center;padding:clamp(30px,5vh,50px) 18px clamp(24px,3.6vh,36px);text-align:center}.try-on-intro h1{font-family:"Noto Serif TC",Songti TC,PMingLiU,Georgia,serif;font-size:clamp(1.75rem,4.1vw,3.45rem);font-weight:600;line-height:1.28;letter-spacing:.07em;text-wrap:balance}.try-on-intro h1 span{color:var(--gallery-gold);white-space:nowrap}.try-on-intro p{margin-top:10px;color:var(--subtle);font-size:clamp(.875rem,1.15vw,1rem);line-height:1.65}.start-try-on{min-height:43px;margin-top:20px;padding:8px 20px;border-radius:999px;color:#29190e;background:var(--gallery-gold);font-weight:700;letter-spacing:.045em}.start-try-on:hover{background:#f6d7a7}.outfit-gallery{--cover-height: clamp(132px, min(18vw, 26vh), 244px);--cover-width: calc(var(--cover-height) * .75);--pitch: max(81px, calc(var(--cover-width) * .66));width:min(100%,1580px);margin-inline:auto;padding-bottom:27px}.outfit-art{display:grid;gap:12px}.outfit-row{position:relative;display:grid;place-items:center;height:var(--cover-height);isolation:isolate}.outfit-movement{--halo-room: 20px;position:absolute;inset:calc(-1 * var(--halo-room)) 0;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent)}.outfit-track{position:absolute;inset:var(--halo-room) 0;perspective:920px;transform-style:preserve-3d}.outfit-tile{position:absolute;top:0;left:calc(50% - var(--cover-width) * .5);width:var(--cover-width);height:100%;border:1px solid #74594a55;border-radius:9px;background:#332624;transform:translate(calc(var(--initial-position) * var(--pitch))) scale(.83);filter:brightness(.67)}.outfit-tile img{width:100%;height:100%;border-radius:inherit;object-fit:cover;object-position:center}.outfit-light{--light: #f9d594;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;border:1px solid #fff3ce;border-radius:9px;box-shadow:inset 0 0 5px #ffe6b0d9,0 0 2px 1px var(--light),0 0 10px #f5bf64ba,0 0 27px #ef9c4673}.outfit-row--after .outfit-light{--light: #ffc66f}.outfit-label{position:absolute;bottom:10px;left:10px;padding:4px 9px;border-radius:4px;color:#faf0e4;background:#130e0ded;font-size:.75rem;line-height:1.4;font-weight:600}.outfit-row--after .outfit-label{color:#28190e;background:var(--gallery-gold)}.outfit-footer{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 82px 0}.outfit-options{display:flex;gap:4px;align-items:center}.outfit-options button,.outfit-motion{min-height:40px;padding:6px 11px;border:1px solid transparent;border-radius:999px;color:var(--subtle);font-size:.875rem;white-space:nowrap}.outfit-options button:hover,.outfit-motion:hover{color:var(--ink)}.outfit-options button[aria-pressed=true]{border-color:#624731;color:var(--gallery-gold);background:#35231d}.outfit-options button:focus-visible,.outfit-motion:focus-visible{outline:2px solid var(--gallery-gold);outline-offset:2px}.outfit-motion{position:absolute;right:max(82px,7%);display:flex;align-items:center;gap:7px;font-size:.75rem}.motion-mark{display:inline-block;width:9px;height:11px;border-inline:2px solid currentColor}.outfit-gallery[data-paused=true] .motion-mark{width:0;height:0;border:0;border-block:5px solid transparent;border-left:8px solid currentColor}.try-on-page .launcher{background:var(--gallery-gold);color:#29190e}.try-on-page .launcher:hover{background:#f6d7a7}@media(min-width:1024px){.try-on-page:has(+.sheet[open]:not(.is-closing)){width:calc(100% - 420px)}.try-on-page:has(+.sheet[open]) .launcher{visibility:hidden}.sheet::backdrop{background:#0004}}@media(max-width:600px){.masthead{min-height:54px}.outfit-gallery{--cover-height: clamp(137px, 41vw, 180px);--pitch: calc(var(--cover-width) * .66);padding-bottom:20px}.outfit-art{gap:10px}.outfit-movement{-webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent)}.outfit-label{bottom:6px;left:6px}.outfit-footer{flex-wrap:wrap;padding:12px 72px 0 12px;gap:3px 8px}.outfit-motion{position:static}}@media(prefers-reduced-motion:reduce){.outfit-motion{display:none}}
