.person-setting-choice{border:0;min-width:0;margin:0;padding:0}.person-setting-summary{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;align-items:center;gap:8px;width:100%;min-height:54px;padding:7px 8px;display:flex}.person-setting-icon{background:var(--surface2);width:30px;height:30px;color:var(--accent);border-radius:9px;flex:0 0 30px;place-items:center;display:grid;overflow:hidden}.person-setting-icon svg{width:16px;height:16px;display:block}.person-setting-icon .choice-asset{object-fit:cover;width:100%;height:100%;display:block}.person-setting-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.person-setting-copy>span{color:var(--muted);font-size:11px;line-height:1.4}.person-setting-copy>strong{overflow-wrap:anywhere;font-size:12px;font-weight:550;line-height:1.35}.person-setting-chevron{width:14px;height:14px;color:var(--muted);flex:0 0 14px}.person-setting-sheet .bottom-sheet-body{padding-top:0}.person-setting-search{border:1px solid var(--line);background:var(--surface2);border-radius:12px;align-items:center;gap:8px;min-height:44px;margin:0 0 10px;padding:0 10px;display:flex}.person-setting-search:focus-within{border-color:var(--accent)}.person-setting-search>svg,.person-setting-search button svg{width:16px;height:16px;color:var(--muted)}.person-setting-search input{width:100%;min-width:0;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;margin:0;padding:8px 0;font-size:12px}.person-setting-search button{border-radius:10px;flex:0 0 44px;place-items:center;height:44px;margin-right:-10px;display:grid}.person-setting-clear{min-height:44px;color:var(--accent);margin-bottom:8px;padding:0 10px}.person-setting-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.person-setting-options>button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;align-items:center;gap:8px;width:100%;min-width:0;min-height:54px;padding:7px 8px;font-size:12px;display:flex}.person-setting-options .person-setting-icon{border-radius:10px;flex-basis:38px;width:38px;height:38px}.person-setting-options>button>span:not(.person-setting-icon){overflow-wrap:anywhere;flex:1;min-width:0}.person-setting-summary:hover:not(:disabled),.person-setting-options>button:hover,.person-setting-search button:hover{background:var(--surface2)}.person-setting-options>button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.person-setting-check{width:16px;height:16px;color:var(--accent);flex:0 0 16px}.person-setting-summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.person-setting-options>button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.person-setting-search button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.person-setting-clear:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.person-setting-summary:active:not(:disabled),.person-setting-options>button:active{transform:scale(.99)}.person-setting-empty{color:var(--muted);text-align:center;margin:20px 0;font-size:12px}@media (min-width:901px){:is(.dialog-overlay,.v12-overlay)~.v12-overlay:has(+.person-setting-sheet){-webkit-backdrop-filter:blur(7px);background:#14101ac7}.v12-overlay:has(+.person-setting-sheet){-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#14101ac7}.person-setting-sheet.bottom-sheet{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#251e2cf5;border-color:#ffffff24;border-radius:16px;width:min(670px,100vw - 40px);height:auto;max-height:calc(100dvh - 40px);margin:0;font-family:UGC MiSans,PingFang SC,sans-serif;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:inset 0 1px #ffb1d117}.person-setting-sheet .bottom-sheet-drag-zone{cursor:default}.person-setting-sheet .bottom-sheet-handle{display:none}.person-setting-sheet .bottom-sheet-header{border:0;padding:24px 24px 16px}.person-setting-sheet .bottom-sheet-header h2{letter-spacing:-.3px;font-size:22px;line-height:30px}.person-setting-sheet .bottom-sheet-header .icon-button{background:#ff8a6c14;border:1px solid #ffb1d12b;border-radius:50%}.person-setting-sheet .bottom-sheet-body{padding:0 24px 24px}.person-setting-sheet .person-setting-search{background:#14101ab3;border-color:#ffb1d142;border-radius:10px;margin-bottom:17px}}@media (max-width:359px){.person-setting-summary{gap:6px;padding-inline:6px}.person-setting-icon{flex-basis:28px;width:28px;height:28px}.person-setting-options{gap:6px}.person-setting-options>button{gap:6px;padding-inline:6px}.person-setting-options .person-setting-icon{flex-basis:34px;width:34px;height:34px}}@media (prefers-reduced-motion:reduce){.person-setting-summary:active:not(:disabled),.person-setting-options>button:active{transform:none}}@media (forced-colors:active){.person-setting-options>button[aria-pressed=true]{border-color:highlight;outline:1px solid highlight}}.person-preview{--person-preview-footer-space:calc(58px + max(10px, env(safe-area-inset-bottom)));min-width:0;max-width:560px;margin:0 auto}.ugc-route .main-content:has(.person-preview-page){bottom:calc(var(--nav) + env(safe-area-inset-bottom));scroll-padding-bottom:calc(66px + max(10px, env(safe-area-inset-bottom)))}.ugc-route .main-content .page.person-preview-page{padding-top:8px;padding-bottom:12px}.ugc-route .page.person-preview-page>.page-heading{min-height:44px;margin-bottom:8px}.ugc-route .page.person-preview-page>.page-heading .back{width:44px;height:44px}.ugc-route .page.person-preview-page>.page-heading h1{font-size:16px}.person-preview-hero{aspect-ratio:9/16;border:1px solid var(--line);background:var(--surface);border-radius:18px;width:min(100%,420px);margin:0 auto 16px;position:relative;overflow:hidden}.person-preview-hero>img{object-fit:cover;object-position:center top;width:100%;height:100%}.person-preview-empty{height:100%;color:var(--muted);align-content:center;justify-items:center;gap:12px;font-size:12px;display:grid}.person-preview-empty>svg{width:28px;height:28px;color:var(--accent)}.person-preview-identity{background:linear-gradient(#0000,#0e0912d9 65%,#0e0912f2);padding:54px 54px 14px 14px;position:absolute;inset:auto 0 0}.person-preview-identity>strong{overflow-wrap:anywhere;align-items:baseline;gap:8px;font-size:17px;line-height:1.4;display:flex}.person-preview-identity>strong>span{font-size:14px;font-weight:500}.person-preview-identity>p{-webkit-line-clamp:2;color:var(--muted);overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:4px 0 0;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.person-preview-edit,.person-preview-regenerate{width:44px;height:44px;color:var(--ink);border-radius:50%;place-items:center;display:grid;position:absolute}.person-preview-edit{background:0 0;bottom:5px;right:5px}.person-preview-edit>svg{width:16px;height:16px}.person-preview-regenerate{background:var(--primary-gradient);color:var(--accent-ink);top:10px;right:10px;box-shadow:0 4px 16px #09050d44}.person-preview-regenerate>svg{width:17px;height:17px}.person-preview-edit:hover:not(:disabled){background:var(--surface2)}.person-preview-regenerate:hover:not(:disabled){filter:brightness(1.08)}.person-preview-tabs{border:1px solid var(--line);background:var(--bg);border-radius:24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-height:54px;margin-bottom:10px;padding:4px;display:grid}.person-preview-tabs>button{min-height:44px;color:var(--muted);border-radius:20px;padding:6px 12px;font-size:13px}.person-preview-tabs>button[aria-selected=true]{background:var(--surface2);color:var(--ink)}.person-preview-tabs>button:hover{color:var(--ink)}.person-preview-settings{flex-direction:column;gap:10px;min-width:0;display:flex}.person-preview-choice-summary{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:14px;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px 10px;display:flex}.person-preview-choice-summary>img,.person-preview-choice-color{object-fit:cover;background:var(--surface2);border-radius:11px;flex:0 0 38px;width:38px;height:38px;display:block}.person-preview-choice-summary>span:not(.person-preview-choice-color){flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.person-preview-choice-summary small{color:var(--muted);font-size:11px;line-height:1.4}.person-preview-choice-summary strong{color:var(--ink);overflow-wrap:anywhere;font-size:13px;font-weight:550;line-height:1.4}.person-preview-choice-summary>svg{width:16px;height:16px;color:var(--muted);flex:0 0 16px}.person-preview-choice-summary:hover:not(:disabled){background:var(--surface2)}.person-preview-choice-sheet{--ugc-background:var(--surface);background:var(--surface)}.person-preview-choice-sheet .appearance-choices{margin:0}.person-preview-choice-sheet .appearance-choices>legend{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.person-preview-choice-sheet .appearance-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.person-preview-choice-sheet .appearance-swatch-rail .appearance-choice-grid{display:flex}.person-preview-actions{z-index:3;padding:10px 0 max(10px, env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--ugc-background,var(--bg)) 24%);margin-top:14px;position:sticky;bottom:0}.person-preview .person-preview-actions>.button.primary.wide{border-radius:28px;min-height:48px;margin:0;font-size:13px}.person-preview-actions>.button>svg{flex:0 0 16px;width:16px;height:16px}.person-preview .chat-scene-card{aspect-ratio:auto;background:var(--surface);border:0;border-radius:0;width:100%;height:100%;margin:0}.person-preview .chat-scene-generations{--chat-control-ink:var(--accent);--chat-character-bubble:var(--surface);--chat-character-bubble-line:var(--line);height:100%}.person-preview .chat-scene-my-works{display:none}.person-preview .chat-scene-card>header{padding:14px}.person-preview button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.person-preview button:active:not(:disabled){transform:scale(.99)}@media (max-width:767px){.person-preview-hero{width:min(100%,390px)}}@media (min-width:768px){.ugc-route .main-content:has(.person-preview-page){bottom:0}}@media (prefers-reduced-motion:reduce){.person-preview button:active:not(:disabled){transform:none}}.person-preview-setting-fields{border:0;flex-direction:column;gap:10px;min-width:0;margin:0;padding:0;display:flex}.person-preview-choice-color{border-radius:50%}.person-preview-choice-style .appearance-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.person-preview .chat-scene-card footer button{display:none}.person-preview-cost{border:1px solid var(--line);background:var(--surface2);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin:0 0 8px;padding:12px 14px;display:flex}.person-preview-cost span{color:var(--muted);font-size:12px}.person-preview-cost strong{color:var(--ink);font-size:16px}.person-details-sheet .field{margin-bottom:14px}.person-preview-actions{gap:10px;display:flex}.person-preview-actions>.button.secondary{flex:none}.person-preview-actions>.button.primary{flex:1}.person-preview{flex-direction:column;flex:1;width:100%;display:flex}.person-preview-actions{padding:10px 10px max(10px,env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;gap:6px;margin-top:auto;position:sticky;bottom:0}.person-preview-action-row{align-items:stretch;gap:10px;width:100%;display:flex}.person-preview .person-preview-action-row .button{min-width:0;min-height:48px;margin:0}.person-preview .person-preview-action-row .button.primary.wide{flex:1 1 0;width:auto;margin:0}.person-preview-action-row .button.secondary{flex:none}.person-preview .person-preview-action-row .button.secondary:not(.person-preview-create){min-width:44px}.person-preview-action-row .button.person-preview-create{flex:1 1 0}.person-preview-action-row .button svg{flex:0 0 17px}.person-preview-action-row .button span{overflow-wrap:anywhere}@media (max-width:360px){.person-preview .person-preview-action-row .button{gap:4px;padding-inline:5px;font-size:12px}.person-preview-action-row .button svg{flex-basis:14px;width:14px;height:14px}}.person-preview button,.person-preview input,.person-preview textarea{scroll-margin-bottom:110px}@media (min-width:1024px){.ugc-route .main-content .page.person-preview-page{max-width:1180px}.person-preview-page .person-preview{grid-template-rows:auto auto 1fr;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);align-items:start;gap:12px 22px;max-width:1180px;display:grid}.person-preview-page .person-preview>.person-face-source{grid-area:1/2;min-width:0}.person-preview-page .person-preview>.person-preview-appearance-inline{grid-area:2/2;min-width:0}.person-preview-page .person-preview>.person-preview-hero{aspect-ratio:9/16;background:radial-gradient(ellipse at 40% 30%, #38263e, var(--surface) 76%);grid-area:1/1/span 3;place-self:start center;width:min(100%,490px);height:auto;min-height:0;margin:0;position:sticky;top:16px}.person-preview-page .person-preview-hero>img{object-fit:contain}.person-preview-page .person-preview-empty{gap:18px;font-size:16px}.person-preview-page .person-preview-empty>svg{width:52px;height:52px}.person-preview-page .person-preview>.person-preview-feedback,.person-preview-page .person-preview>.inline-error,.person-preview-page .person-preview>.person-preview-actions{grid-column:1/-1}.person-preview-page .person-preview-actions{width:100%;margin-top:0}.person-preview-page .person-preview-story-trigger{margin-inline:auto}.person-preview-page .person-face-source-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.person-preview-page .person-face-source-options>button{overflow-wrap:anywhere;min-height:54px;padding:8px 6px}}.person-preview-appearance-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:0;display:grid}.person-preview-workbench-action .button.primary{border-radius:12px;min-height:40px;padding:0 18px;font-size:13px}.person-preview-story-trigger{justify-content:center;align-items:center;gap:6px;display:inline-flex}.person-rich-story-sheet .bottom-sheet-header,.person-rich-story-choice-sheet .bottom-sheet-header{border-bottom:1px solid var(--line);padding:20px 22px 14px}.person-rich-story-sheet .bottom-sheet-header h2,.person-rich-story-choice-sheet .bottom-sheet-header h2{font-size:18px;font-weight:600;line-height:26px}.person-rich-story-sheet .bottom-sheet-body{padding:16px 22px 0}.person-rich-story-choice-sheet .bottom-sheet-body{padding:16px 22px 22px}.person-rich-story-body{gap:14px;display:grid}.person-rich-story-hint{color:#e5b8d0;margin:0;font-size:13px;line-height:1.5}.person-rich-story-body .field{gap:6px;margin:0}.person-rich-story-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.person-rich-story-preset-btn{border:1px solid var(--line);background:var(--surface2);min-height:52px;color:var(--ink);text-align:left;cursor:pointer;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 11px;transition:border-color .15s,background .15s;display:flex}.person-rich-story-preset-btn:hover:not(:disabled){background:#382c42;border-color:#ffffff38}.person-rich-story-preset-btn span{color:var(--muted);font-size:11px;line-height:16px}.person-rich-story-preset-btn strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;font-weight:600;line-height:18px;overflow:hidden}.person-rich-story-interests-section{gap:8px;display:grid}.person-rich-story-section-label{color:var(--muted);font-size:12px;font-weight:500;line-height:18px}.person-rich-story-interests{flex-wrap:wrap;gap:8px;display:flex}.person-rich-story-interest-chip{border:1px solid var(--line);background:var(--surface2);min-height:34px;color:var(--ink);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:12px;line-height:18px;transition:border-color .15s,background .15s,color .15s}.person-rich-story-interest-chip:hover:not(:disabled){border-color:#ffffff38}.person-rich-story-interest-chip[aria-pressed=true]{border-color:var(--accent,#ff64a9);color:#ffe1f0;background:#ff4d8d24}.person-rich-story-footer{z-index:2;padding:12px 22px max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#201426;justify-content:flex-end;margin:0 -22px;display:flex;position:sticky;bottom:0}.person-rich-story-footer .button.primary{min-width:108px;min-height:40px}@keyframes person-rich-story-pulse{0%,to{border-color:var(--line);box-shadow:none}20%,65%{border-color:var(--accent,#ff64a9);box-shadow:0 0 0 3px #ff64a93d}}.person-rich-story-body [data-rich-story-field].is-attention .person-setting-summary,.person-rich-story-body [data-rich-story-field].is-attention .person-ai-input>textarea{animation:1.1s ease-out person-rich-story-pulse}@media (prefers-reduced-motion:reduce){.person-rich-story-body [data-rich-story-field].is-attention .person-setting-summary,.person-rich-story-body [data-rich-story-field].is-attention .person-ai-input>textarea{border-color:var(--accent,#ff64a9);animation:none;box-shadow:0 0 0 2px #ff64a93d}}@media (max-width:600px){.person-preview-appearance-inline{grid-template-columns:1fr}.person-rich-story-sheet .bottom-sheet-header,.person-rich-story-choice-sheet .bottom-sheet-header{padding:16px 18px 12px}.person-rich-story-sheet .bottom-sheet-body{padding:14px 18px 0}.person-rich-story-choice-sheet .bottom-sheet-body{padding:14px 18px max(20px, env(safe-area-inset-bottom))}.person-rich-story-footer{padding:12px 18px max(16px, env(safe-area-inset-bottom));margin:0 -18px}.person-rich-story-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.person-preview-action-row .person-preview-story-trigger{flex:1 1 0}}.person-preview-result>.person-preview-enlarge{cursor:zoom-in;background:0 0;width:100%;height:100%;padding:0;display:block}.person-preview-result>.person-preview-enlarge>img{object-fit:contain;width:100%;height:100%}.person-preview-workbench-meta{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.person-preview-draft-thumbs{flex-shrink:0;align-items:center;gap:6px;display:flex}.person-preview-draft-thumb{background:var(--surface2);cursor:pointer;border:2px solid #ffffff29;border-radius:8px;width:40px;height:54px;padding:0;transition:border-color .15s,transform .15s;overflow:hidden}.person-preview-draft-thumb.is-selected{border-color:var(--accent,#ff4d8d);transform:translateY(-1px);box-shadow:0 0 0 1px #ff4d8d59}.person-preview-draft-thumb img{object-fit:cover;width:100%;height:100%;display:block}@media (max-width:600px){.person-preview-workbench-meta{flex-direction:column;align-items:flex-start;gap:6px}}
