.ugc-create-center,.ugc-wizard{max-width:720px;margin:0 auto;background:#101115;color:#f5f5f7;min-height:calc(100dvh - 80px)}.ugc-create-center{padding:30px 22px 120px}.ugc-create-center .ugc-header{margin-bottom:28px}.ugc-create-center .ugc-header h1{font-size:24px}.ugc-center-subtitle{color:#a9a9b5;margin:12px 0 25px}.ugc-center-empty{min-height:55dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px}.ugc-center-empty img{width:82px;height:82px;object-fit:contain;border-radius:22px;margin-bottom:10px}.ugc-center-empty h2{font-size:22px;margin:0}.ugc-center-empty p{color:#a9a9b5;max-width:280px;line-height:1.7;margin:0}.ugc-center-empty button{padding:15px 24px}.ugc-create-fab{position:fixed;inset-inline-end:max(20px,calc((100vw - 720px)/2 + 22px));bottom:calc(92px + env(safe-area-inset-bottom));z-index:20;border:0;border-radius:26px;padding:14px 20px;background:linear-gradient(110deg,#3b5af6,#a16bfa);color:white;box-shadow:0 6px 24px #0004;display:flex;align-items:center;gap:8px;min-height:48px}.ugc-create-center .ugc-work-card{position:relative;border:0;background:transparent;box-shadow:none}.ugc-create-center .ugc-work-card>img{border-radius:14px;aspect-ratio:3/4;object-fit:cover;width:100%;height:auto}.ugc-card-open{display:block;color:inherit;text-decoration:none;font-size:16px;font-weight:600;margin:8px 0}.ugc-create-center .ugc-work-description,.ugc-create-center .ugc-work-meta{display:none}.ugc-create-center .ugc-review-feedback{font-size:12px;line-height:1.5}.ugc-create-center .ugc-work-card h2{font-size:16px}.ugc-create-center .ugc-work-menu-button{min-height:36px}.ugc-create-center .ugc-eyebrow,.ugc-create-center .ugc-header>div>p{display:none}.ugc-mode-options{display:flex;flex-direction:column;gap:14px}.ugc-mode-options>button{display:flex;align-items:center;gap:16px;width:100%;min-height:100px;border:0;border-radius:16px;padding:18px;text-align:start;background:#2a2b34;color:#f5f5f7}.ugc-mode-options span{flex:1 1}.ugc-mode-options strong{display:block;font-size:17px}.ugc-mode-options small{display:block;line-height:1.6;color:#d5d1e5;font-size:13px;margin-top:5px}.ugc-wizard{max-width:650px;padding-bottom:110px}.ugc-wizard button{cursor:pointer}.ugc-wizard button:disabled{cursor:default;opacity:.45}.ugc-wizard-header{position:-webkit-sticky;position:sticky;top:0;background:#101115f8;z-index:30;padding:18px 20px;display:flex;align-items:center;gap:10px;min-height:72px}.ugc-wizard-header>button{border:0;background:none;color:#f5f5f7;padding:4px;flex-shrink:0;min-height:40px}.ugc-wizard-header .ugc-save-exit{font-size:13px;-webkit-margin-start:auto;margin-inline-start:auto}.ugc-wizard-header ol{gap:6px;list-style:none;padding:0;margin:0;flex:1 1}.ugc-wizard-header li,.ugc-wizard-header ol{display:flex;align-items:center;justify-content:center}.ugc-wizard-header li{border:2px solid #34343f;width:14px;height:14px;border-radius:50%;flex-shrink:0}.ugc-wizard-header li[aria-current]{width:auto;height:30px;padding:0 10px;background:#45454e;border:0;font-size:13px;font-weight:600;border-radius:20px;white-space:nowrap}.ugc-wizard-header li.done{background:#45454e;border:0;width:18px;height:18px}.ugc-wizard-content{padding:8px 22px 28px}.ugc-coach{display:flex;align-items:center;flex-direction:column;gap:22px;margin-bottom:30px}.ugc-coach p{position:relative;border-radius:19px;background:#24252b;padding:20px;line-height:1.65;text-align:center;width:100%;font-size:17px;font-weight:600;margin:0}.ugc-coach p:after{content:"";position:absolute;bottom:-10px;left:calc(50% - 10px);border:10px solid transparent;border-top-color:#24252b;border-bottom:0}.ugc-coach img{object-fit:contain;border-radius:16px}.ugc-wizard h1{font-size:21px;margin:0 0 20px;font-weight:600}.ugc-wizard-fields{border:0;padding:0;margin:0;min-width:0;transition:opacity .15s}.ugc-wizard-fields.is-generating{opacity:.24;pointer-events:none;max-height:250px;overflow:hidden}.ugc-wizard-fields label{display:block;font-size:14px;font-weight:600;margin:20px 0 0}.ugc-wizard-fields input:not([type=checkbox]),.ugc-wizard-fields select,.ugc-wizard-fields textarea{display:block;width:100%;color:#f5f5f7;background:#15161c;border:1px solid #4a4a58;border-radius:11px;padding:14px;margin-top:10px;font:inherit;font-size:16px;line-height:1.65}.ugc-wizard-fields textarea{resize:vertical;min-height:95px}.ugc-wizard-fields input:focus,.ugc-wizard-fields textarea:focus{outline:2px solid #a48afc;outline-offset:1px}.ugc-wizard-fields button{color:#d4c7ff;border:1px solid #44444f;border-radius:10px;background:#1c1d24;min-height:42px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:14px}.ugc-wizard-fields .ugc-primary,.ugc-wizard-footer .ugc-primary{background:linear-gradient(110deg,#3b5af6,#8d53ed);color:white;border:0}.ugc-wizard-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 8px}.ugc-wizard-section-title h1{margin:0}.ugc-wizard-section-title button{background:none;border:0;color:#bd9dff;padding:8px 0}.ugc-wizard-fields svg{width:18px;height:18px;flex-shrink:0}.ugc-wizard-hint{color:#a9a9b5;font-size:13px;line-height:1.6;margin:10px 0 15px}.ugc-genre-list{display:flex;flex-direction:column;gap:10px}.ugc-genre-list label{display:flex;gap:16px;align-items:center;padding:18px;background:#202127;border-radius:14px;min-height:68px;margin:0;cursor:pointer;font-size:17px;border:1px solid transparent}.ugc-genre-list label:has(input:checked){background:#2d253f;border-color:#a48afc}.ugc-genre-list input{accent-color:#a48afc;width:20px;height:20px}.ugc-wizard .ugc-expand-genres{width:100%;margin:12px 0;text-align:start;justify-content:flex-start}.ugc-wizard .ugc-idea-input{min-height:240px}.ugc-character-tabs{display:flex;gap:14px;align-items:center;overflow:auto;border-bottom:1px solid #34343f;padding-bottom:8px;margin:5px 0 22px}.ugc-character-tabs button{white-space:nowrap;background:none;border:0;flex-shrink:0;color:#a9a9b5;padding:8px 2px;border-radius:0}.ugc-character-tabs button[aria-pressed=true]{color:#bc9bff;border-bottom:3px solid #a48afc}.ugc-character-tabs button:last-child:has(svg){-webkit-margin-start:auto;margin-inline-start:auto}.ugc-wizard .ugc-role-delete{display:flex;margin:28px auto 0;background:none;border:0;color:#b4b0c0}.ugc-wizard-styles{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.ugc-wizard-styles button[aria-pressed=true]{color:#d1b5ff;border-color:#a48afc;background:#2d253f}.ugc-wizard-image{position:relative;margin:18px 0}.ugc-wizard-image>img{display:block;width:100%;max-height:350px;object-fit:contain;background:#15161c;border-radius:13px}.ugc-wizard-image>button{position:absolute;right:10px;bottom:10px;background:#101115cc;color:#ddd;font-size:12px}.ugc-wizard-image-empty{min-height:190px;display:grid;place-items:center;color:#999ba6;background:#1b1c22;border-radius:13px;margin:20px 0}.ugc-wizard-image-actions{display:flex;gap:12px}.ugc-wizard-image-actions button{flex:1 1}.ugc-opening-segment{margin:22px 0}.ugc-opening-segment>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ugc-opening-segment>div label{margin:0;display:flex;align-items:center;gap:12px;flex:1 1;min-width:170px}.ugc-opening-segment select{display:inline-block;width:auto;max-width:170px;margin:0;padding:7px 10px}.ugc-opening-segment>div button{padding:7px;min-width:35px;min-height:35px}.ugc-wizard-visibility{border-top:1px solid #34343f;padding-top:24px;display:flex!important;align-items:center;gap:12px}.ugc-wizard-visibility>span:first-child{-webkit-margin-end:auto;margin-inline-end:auto}.ugc-wizard-visibility input{accent-color:#a48afc;width:22px;height:22px}.ugc-wizard-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,650px);padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:#101115f8;border-top:1px solid #34343f;display:flex;gap:14px;z-index:35}.ugc-wizard-footer button{flex:1 1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:50px;border:1px solid #454550;border-radius:12px;background:#24252d;color:#ddd;font-size:16px}.ugc-wizard-save-status{font-size:12px;color:#999ba6;margin-top:24px}.ugc-switch-custom{border:0;background:none;color:#aaa0ba;padding:14px 0;font-size:13px}.ugc-wizard-error{padding:15px;margin-bottom:20px;border-radius:12px;background:#301e27;color:#ffd0d7;line-height:1.6}.ugc-wizard-error p{margin:0 0 10px}.ugc-wizard-error button{background:#49323d;border:0;color:white;border-radius:7px;padding:10px}.ugc-generation-loading{padding:24px 4px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}.ugc-generation-loading small{color:#a9a9b5}.ugc-generation-spinner{width:30px;height:30px;border:3px solid #34343f;border-top-color:#b08aff;animation:ugc-spin .8s linear infinite}.ugc-generation-skeleton{width:100%;display:flex;gap:12px;flex-direction:column;padding-top:12px}.ugc-generation-skeleton i{display:block;height:18px;border-radius:6px;background:linear-gradient(90deg,#202127,#34303d,#202127);background-size:200% 100%;animation:ugc-shimmer 1.8s linear infinite}.ugc-generation-skeleton i:nth-child(2){width:90%}.ugc-generation-skeleton i:nth-child(3){width:70%}.ugc-wizard-success{padding:80px 24px;text-align:center}.ugc-wizard-success>svg{color:#b08aff}.ugc-wizard-success p{line-height:1.7;color:#aaa}.ugc-wizard-success button{margin-top:25px;padding:14px 24px;border:0;border-radius:12px}@keyframes ugc-shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.ugc-generation-skeleton i,.ugc-generation-spinner{animation:none}.ugc-wizard-fields{transition:none}}@media(min-width:1024px){.ugc-wizard{margin-top:16px;border-radius:16px}.ugc-wizard-footer{position:-webkit-sticky;position:sticky;transform:none;left:auto;margin:0 auto}.ugc-wizard{padding-bottom:0}.ugc-create-fab{bottom:35px;inset-inline-end:36px}}@media(max-width:380px){.ugc-wizard-header{padding:12px 10px;gap:5px}.ugc-wizard-header ol{gap:4px}.ugc-wizard-header li[aria-current]{padding:0 7px;font-size:12px}.ugc-wizard-header .ugc-save-exit{font-size:12px}.ugc-wizard-content{padding:6px 16px 20px}.ugc-opening-segment>div button{min-width:30px}}.ugc-sheet-content>.ugc-sheet-cancel{display:block;width:100%;min-height:44px;margin-top:14px;padding:10px;border:0;border-radius:10px;background:transparent;color:#bbb7ca;font:inherit;cursor:pointer}.ugc-wizard-success .ugc-primary{background:linear-gradient(110deg,#3b5af6,#8d53ed);color:white}.ugc-create-center .ugc-create-fab{width:76px;height:76px;min-height:76px;padding:7px 4px 10px;border:0;background:var(--accent,#a48afc);color:var(--text-on-accent,#21172f);display:flex;justify-content:center;gap:0;box-shadow:0 7px 22px #0003}.ugc-create-fab>span:first-child{font-size:39px;line-height:34px;font-weight:400}.ugc-create-fab>span:last-child{font-size:13px;font-weight:600;max-width:68px;overflow-wrap:anywhere;text-align:center}.ugc-mode-options>button.ugc-mode-ai{background:var(--accent,#a48afc);color:#21172f}.ugc-mode-options>button.ugc-mode-ai small{color:#382650}.ugc-wizard-header li.done{background:#259967;border-color:#259967;color:#fff}.ugc-wizard .ugc-wizard-fields textarea.ugc-character-description,.ugc-wizard .ugc-wizard-fields textarea.ugc-story-description{height:auto;max-height:none;min-height:360px}.ugc-wizard .ugc-role-actions{justify-content:flex-end;gap:24px;margin-top:0}.ugc-role-actions button:first-child:not(:last-child){-webkit-margin-end:auto;margin-inline-end:auto}.ugc-wizard .ugc-wizard-fields .ugc-role-delete{color:#f87171;border-color:transparent;background:transparent;margin-top:20px}.ugc-idea-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;color:var(--text-secondary);font-size:13px}.ugc-wizard-fields .ugc-idea-meta button{background:none;border:0;color:var(--accent);padding-inline:0}.ugc-wizard-fields .ugc-primary,.ugc-wizard-footer .ugc-primary{background:var(--accent,#a48afc);color:var(--text-on-accent,#21172f)}.ugc-create-center .ugc-center-empty img,.ugc-wizard .ugc-coach img{border-radius:0;object-fit:contain}.ugc-living-logo{animation:ugc-logo-float 4.2s ease-in-out infinite;transform-origin:50% 60%}.ugc-wizard[aria-busy=true] .ugc-living-logo{animation-duration:1.8s}@keyframes ugc-logo-float{0%,to{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}@media(prefers-reduced-motion:reduce){.ugc-living-logo{animation:none}}.ugc-shell.ugc-create.ugc-wizard{width:100%;max-width:650px;padding:0 0 110px;margin:0 auto}.ugc-wizard .ugc-wizard-header>button{background:none;border:0;border-radius:0;color:var(--text-primary);box-shadow:none;padding:4px}.ugc-wizard .ugc-wizard-fields .ugc-primary,.ugc-wizard .ugc-wizard-footer .ugc-primary{background:var(--accent,#a48afc);color:var(--text-on-accent,#21172f);border:0}.ugc-wizard .ugc-genre-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.ugc-wizard .ugc-genre-list label{padding:12px;gap:10px;min-height:54px;font-size:15px}.ugc-wizard .ugc-genre-list span{overflow-wrap:anywhere}.ugc-wizard .ugc-idea-meta>button,.ugc-wizard .ugc-wizard-section-title>button{background:none;border:0;color:var(--accent)}@media(min-width:1024px){.ugc-shell.ugc-create.ugc-wizard{margin-top:16px;padding-bottom:0}.ugc-wizard .ugc-genre-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.ugc-shell.ugc-create-center,.ugc-shell.ugc-wizard{--button-primary:var(--accent,#a48afc)}.ugc-wizard .ugc-image-picker input[hidden]{display:none}.ugc-wizard .ugc-style-options button{display:flex;flex-direction:column;gap:6px;min-width:0;width:100%;padding:5px;font-size:12px}.ugc-wizard .ugc-style-options .ugc-style-swatch{display:block;width:100%;aspect-ratio:1}.ugc-wizard .ugc-style-swatch img{display:block;width:100%;height:100%;object-fit:cover}.ugc-wizard .ugc-style-options button>span:last-child{width:100%;white-space:normal;text-align:center;line-height:1.4}.ugc-mascot{display:inline-block;flex-shrink:0;line-height:0;vertical-align:middle}.ugc-mascot>svg{display:block;width:100%;height:100%;overflow:visible}.ugc-mascot.ugc-living-logo,.ugc-wizard[aria-busy=true] .ugc-mascot.ugc-living-logo{animation:ugc-a4-float 5.8s ease-in-out infinite;transform-origin:50% 60%}.ugc-mascot-blink{opacity:0;animation:ugc-a4-blink 6.4s linear 1.2s infinite}@keyframes ugc-a4-float{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}@keyframes ugc-a4-blink{0%,87%,92%,to{opacity:0}88%,91%{opacity:1}}@media(prefers-reduced-motion:reduce){.ugc-mascot-blink,.ugc-mascot.ugc-living-logo,.ugc-wizard[aria-busy=true] .ugc-mascot.ugc-living-logo{animation:none}.ugc-mascot-blink{opacity:0}}.ugc-create-center .ugc-create-fab{width:auto;height:auto;min-height:48px;padding:14px 20px;border-radius:26px;background:linear-gradient(110deg,#3b5af6,#a16bfa);color:#fff;flex-direction:row;gap:8px}.ugc-create-fab>span:first-child{font-size:22px;line-height:22px}.ugc-create-fab>span:last-child{font-size:14px;line-height:22px;font-weight:500;max-width:none;overflow-wrap:normal}.ugc-mode-options>button.ugc-mode-ai{background:linear-gradient(110deg,#3b5af6,#9256ec);color:#f5f5f7}.ugc-mode-options>button.ugc-mode-ai small{color:#d5d1e5}.ugc-shell.ugc-create-center,.ugc-wizard{--button-primary:linear-gradient(105deg,#3b5af6,#693fde)}.ugc-wizard .ugc-wizard-fields .ugc-primary,.ugc-wizard .ugc-wizard-footer .ugc-primary{background:linear-gradient(110deg,#3b5af6,#8d53ed);color:#fff}.ugc-wizard .ugc-wizard-fields .ugc-role-delete{color:#b4b0c0}.ugc-wizard-image-picker.ugc-shell{width:100%;max-width:none;padding:0;margin:0;min-height:0}.ugc-wizard .ugc-role-actions>button:first-child:not(:last-child){border:1px solid #44444f;background:#1c1d24;border-radius:10px;padding:9px 12px}.ugc-mascot.ugc-living-logo>svg{width:100%;height:100%}.ugc-wizard .ugc-wizard-fields textarea.ugc-story-description{min-height:288px;height:calc(18 * 1.6em * .8 + 28px)}.ugc-wizard .ugc-wizard-fields textarea.ugc-character-description{min-height:288px;height:calc(16 * 1.6em * .8 + 28px)}.ugc-wizard-tags{display:flex;flex-direction:column;gap:12px;margin-top:22px}.ugc-wizard .ugc-tag-options{display:flex;flex-wrap:wrap;gap:8px}.ugc-wizard .ugc-tag-options>button{border:1px solid #383641;border-radius:20px;padding:7px 13px;background:transparent;color:#b8b4c2;font-size:13px}.ugc-wizard .ugc-tag-options>button[aria-pressed=true]{border-color:#a48afc;color:#d6c9ff;background:#a48afc1a}.ugc-wizard .ugc-tags-expand{align-self:flex-start;background:none;border:0;color:#bda4ff;padding-inline:0}.ugc-wizard-toast{position:fixed;z-index:2000;left:50%;bottom:96px;transform:translateX(-50%);display:flex;align-items:center;gap:16px;width:max-content;max-width:calc(100vw - 40px);padding:14px 20px;border:1px solid #4b4658;border-radius:14px;background:#292631;box-shadow:0 8px 28px #0005;color:#fff;font-size:14px;line-height:1.5}.ugc-wizard-toast>button{color:#cfbaff;background:none;border:0;white-space:nowrap}.ugc-wizard .ugc-image-inline .ugc-generation-grid{display:flex;flex-direction:column;gap:24px;padding:0;overflow:visible}.ugc-wizard .ugc-image-inline .ugc-generation-controls{order:0;display:flex;flex-direction:column;gap:16px;min-height:0;padding:0;border:0}.ugc-wizard .ugc-image-inline .ugc-generation-controls-body{overflow:visible;padding:0}.ugc-wizard .ugc-image-inline .ugc-face-reference{order:1;padding:0;border:0}.ugc-wizard .ugc-image-inline .ugc-generation-preview{order:2;padding:0;border:0}.ugc-wizard .ugc-image-inline .ugc-reference-upload{max-width:160px;min-height:130px;padding:14px}.ugc-wizard .ugc-image-inline .ugc-generated-image{height:auto;min-height:260px;max-width:320px;aspect-ratio:3/4}.ugc-wizard .ugc-image-inline .ugc-generated-image>img{width:100%;height:100%;object-fit:cover}.ugc-wizard .ugc-image-inline .ugc-style-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.ugc-wizard .ugc-image-inline .ugc-style-options button{border:1px solid transparent;border-radius:12px;padding:5px;background:transparent;color:#c7c4d0}.ugc-wizard .ugc-image-inline .ugc-style-options button[aria-pressed=true]{border-color:#a48afc;background:#a48afc15;color:#d6c9ff}.ugc-wizard .ugc-image-inline .ugc-generate-button{align-self:stretch;min-height:48px;width:100%;padding:12px}.ugc-wizard .ugc-image-inline .ugc-face-note{color:#9995a5;font-size:12px;line-height:1.6;margin-top:10px}.ugc-create-center .ugc-create-fab{width:72px;height:72px;min-height:72px;padding:8px;border-radius:50%;background:#9868f5;color:white;flex-direction:column;gap:1px;box-shadow:0 6px 24px #0005}.ugc-create-center .ugc-create-fab>span:first-child{font-size:31px;line-height:30px;font-weight:400}.ugc-create-center .ugc-create-fab>span:last-child{font-size:13px;line-height:19px;font-weight:600}@media(min-width:1024px){.ugc-wizard-toast{left:calc(50% + 100px)}}.ugc-wizard .ugc-image-inline .ugc-face-reference{background:transparent;overflow:visible;order:2}.ugc-wizard .ugc-image-inline .ugc-generation-preview{order:1;overflow:visible;align-items:flex-start}.ugc-wizard .ugc-image-inline .ugc-generation-controls{height:auto}.ugc-wizard .ugc-image-inline .ugc-generated-image{flex:none;width:min(100%,320px)}.ugc-wizard .ugc-image-inline .ugc-reference-upload{gap:10px}.ugc-wizard .ugc-image-inline .ugc-generation-progress{align-self:stretch;width:100%}.ugc-wizard .ugc-image-inline .ugc-generation-progress progress{width:100%}.ugc-shell.ugc-center-list{max-width:840px;padding:32px 24px 140px}.ugc-center-list .ugc-header{display:block;margin:0 0 26px}.ugc-center-list .ugc-header h1{font-size:26px;line-height:1.3;margin:0;font-weight:700}.ugc-center-list .ugc-work-tabs{display:flex;gap:34px;border-bottom:1px solid #303039;margin-bottom:4px}.ugc-center-list .ugc-work-tabs>button{position:relative;flex:0 1 auto;min-width:60px;padding:12px 0 16px;border:0;border-radius:0;background:transparent;color:#8f8e9c;font:inherit;font-size:16px;font-weight:500;box-shadow:none;white-space:nowrap}.ugc-center-list .ugc-work-tabs>button[aria-selected=true]{color:#f5f5f7}.ugc-center-list .ugc-work-tabs>button[aria-selected=true]:after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:3px;border-radius:2px;background:#a48afc}.ugc-center-list .ugc-creator-row{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;grid-gap:24px;gap:24px;position:relative;padding:24px 0;border-bottom:1px solid #303039}.ugc-center-list .ugc-creator-cover{display:block;width:96px;height:128px;border-radius:10px;overflow:hidden;background:#1b1c23}.ugc-center-list .ugc-creator-cover img{display:block;width:100%;height:100%;object-fit:cover}.ugc-center-list .ugc-creator-no-cover{display:grid;place-items:center;width:100%;height:100%;color:#777282;background:linear-gradient(145deg,#25232e,#19191f)}.ugc-center-list .ugc-creator-info{min-width:0}.ugc-center-list .ugc-creator-info h2{margin:0 0 12px;font-size:19px;line-height:1.5;font-weight:650}.ugc-center-list .ugc-creator-info h2>a{color:#f4f4f7;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.ugc-center-list .ugc-creator-state{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:5px;margin:0;font-size:14px;color:#93929f;line-height:1.5}.ugc-center-list .ugc-creator-private{display:inline-flex;align-items:center;gap:5px}.ugc-center-list .ugc-creator-actions{display:flex;align-items:center;gap:10px}.ugc-center-list .ugc-creator-primary{display:inline-flex;align-items:center;gap:8px;color:#b494ff;background:transparent;text-decoration:none;font-size:15px;font-weight:600;line-height:1.5;min-height:44px;max-width:150px}.ugc-center-list .ugc-creator-primary span{overflow-wrap:anywhere}.ugc-center-list .ugc-creator-primary svg{flex-shrink:0}.ugc-center-list .ugc-creator-more{display:grid;place-items:center;width:28px;min-height:36px;padding:2px;background:none;border:0;border-radius:8px;color:#7e7a8d;box-shadow:none}.ugc-center-list .ugc-creator-more:hover{color:#d3c6ed;background:#25232d}.ugc-center-list .ugc-center-list-empty{min-height:45dvh;gap:14px}.ugc-center-list .ugc-center-list-empty h2{font-size:17px;color:#aaa6b7;font-weight:500}.ugc-center-list .ugc-list-notice{color:#c6bdcf;font-size:14px;line-height:1.6;padding:12px 0}.ugc-center-list :is(a,button):focus-visible{outline:2px solid #b494ff;outline-offset:4px}@media(max-width:700px){.ugc-shell.ugc-center-list{padding:24px 20px 130px}.ugc-center-list .ugc-header{margin-bottom:20px}.ugc-center-list .ugc-header h1{font-size:23px}.ugc-center-list .ugc-work-tabs{gap:30px}.ugc-center-list .ugc-work-tabs>button{font-size:15px;min-width:54px}.ugc-center-list .ugc-creator-row{grid-template-columns:76px minmax(0,1fr) auto;gap:14px;padding:22px 0}.ugc-center-list .ugc-creator-cover{width:76px;height:102px;border-radius:8px}.ugc-center-list .ugc-creator-info h2{font-size:16px;line-height:1.5;margin-bottom:10px}.ugc-center-list .ugc-creator-state{font-size:12px;column-gap:5px}.ugc-center-list .ugc-creator-primary{font-size:13px;gap:2px;max-width:92px}.ugc-center-list .ugc-creator-actions{padding-bottom:12px}.ugc-center-list .ugc-creator-more{position:absolute;bottom:13px;inset-inline-end:0;min-height:28px;height:28px;color:#777282}}@media(max-width:360px){.ugc-center-list .ugc-creator-row{grid-template-columns:62px minmax(0,1fr) auto;gap:11px}.ugc-center-list .ugc-creator-cover{width:62px;height:84px}.ugc-center-list .ugc-creator-info h2{font-size:14px}.ugc-center-list .ugc-creator-primary{max-width:78px;font-size:12px}}@media(max-width:700px){.ugc-center-list .ugc-creator-primary{font-size:14px;max-width:100px}.ugc-center-list .ugc-creator-state{font-size:13px}.ugc-center-list .ugc-creator-more{width:44px;min-height:44px;height:44px;bottom:0;inset-inline-end:-8px}}.ugc-center-list .ugc-work-tabs>button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}@media(max-width:700px){.ugc-shell.ugc-my-works.ugc-create-center.ugc-center-list{padding-inline:24px}}.ugc-shell.ugc-center-list .ugc-work-tabs>button[role=tab]{background:transparent;box-shadow:none}@media(min-width:361px) and (max-width:700px){.ugc-center-list .ugc-creator-row{grid-template-columns:clamp(76px,19.5vw,88px) minmax(0,1fr) auto;padding:18px 0}.ugc-center-list .ugc-creator-cover{width:clamp(76px,19.5vw,88px);height:auto;aspect-ratio:3/4}}.ugc-shell.ugc-center-list .ugc-creator-primary{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;font-family:inherit;text-align:start}.ugc-center-list .ugc-creator-actions{padding-bottom:0}.ugc-wizard .ugc-image-flow .ugc-inline-settings{display:flex;flex-direction:column;gap:24px}.ugc-wizard .ugc-image-flow .ugc-field{margin:0;display:flex;flex-direction:column;gap:10px}.ugc-wizard .ugc-image-flow .ugc-field textarea{width:100%;box-sizing:border-box;margin:0;min-height:150px}.ugc-wizard .ugc-image-flow .ugc-field small{color:#96909f;font-size:12px;text-align:end}.ugc-wizard .ugc-image-flow h3{margin:0 0 14px;font-size:15px;line-height:1.5}.ugc-wizard .ugc-image-flow h3 small{font-size:12px;font-weight:400;color:#aaa3b4}.ugc-wizard .ugc-image-flow .ugc-reference-selected{max-width:160px}.ugc-wizard .ugc-image-flow .ugc-reference-selected img{width:100%;max-height:160px;object-fit:contain;border-radius:10px}.ugc-image-review{display:flex;flex-direction:column;align-items:center;gap:16px}.ugc-image-review-card{position:relative;width:min(100%,360px);aspect-ratio:3/4;border-radius:20px;overflow:hidden;background:#202127;border:1px solid #36343f}.ugc-image-review-card>img{display:block;width:100%;height:100%;object-fit:cover}.ugc-image-review-caption{position:absolute;inset:auto 0 0;padding:60px 18px 18px;background:linear-gradient(transparent,#09090fe6);color:#fff;pointer-events:none}.ugc-image-review-caption strong{font-size:20px}.ugc-image-review-caption p{font-size:13px;line-height:1.5;margin:6px 0 0;color:#d4d0dc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ugc-image-review-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;color:#d8d4e3}.ugc-image-review-loading .ugc-generation-spinner{width:42px;height:42px}.ugc-image-review-loading strong{font-size:14px}.ugc-image-review-loading small{font-size:12px;color:#a59db5}.ugc-wizard .ugc-image-review-actions{display:flex;gap:12px;width:min(100%,360px)}.ugc-wizard .ugc-image-review-actions>button{flex:1 1;min-height:46px;justify-content:center;margin:0;padding:10px 12px;background:#272630;border:1px solid #413b50;color:#d8d2e4;border-radius:12px;font-size:14px}.ugc-bottom-sheet:has(.ugc-image-edit-body){max-height:80dvh;max-width:650px;left:50%;right:auto;transform:translateX(-50%);overflow:hidden}.ugc-bottom-sheet:has(.ugc-image-edit-body)>.ugc-sheet-content{display:flex;flex-direction:column;max-height:80dvh;box-sizing:border-box;padding-bottom:0}.ugc-image-edit-body{overflow:auto;min-height:0;padding:0 2px 20px}.ugc-image-edit-actions{flex-shrink:0;display:flex;gap:12px;padding:16px 0 max(20px,env(safe-area-inset-bottom));border-top:1px solid #38343f;background:var(--bg-panel,#202127)}.ugc-wizard .ugc-image-edit-actions>button{flex:1 1;min-height:46px;border:1px solid #45404f;background:#2b2733;color:#e5dfed;border-radius:12px;justify-content:center}.ugc-wizard .ugc-image-edit-actions>.ugc-primary{background:linear-gradient(110deg,#3b5af6,#8d53ed);color:white;border:0}.ugc-wizard .ugc-image-edit-body .ugc-inline-settings{gap:20px}.ugc-wizard .ugc-image-edit-body .ugc-field textarea{min-height:120px}@media(max-width:700px){.ugc-wizard .ugc-image-flow .ugc-style-options{grid-template-columns:repeat(4,minmax(0,1fr))}.ugc-image-review-card{width:min(100%,340px)}}@media(max-width:700px){.ugc-wizard:has(.ugc-image-flow:not([data-phase=form])) .ugc-coach{margin-bottom:14px}.ugc-wizard:has(.ugc-image-flow:not([data-phase=form])) .ugc-character-tabs{margin-bottom:12px}.ugc-wizard .ugc-image-flow:not([data-phase=form]){margin-top:0}}.ugc-bottom-sheet:has(.ugc-image-edit-body)>.ugc-sheet-content{position:relative}.ugc-image-edit-toast{position:absolute;z-index:5;bottom:84px;left:20px;right:20px;width:max-content;max-width:calc(100% - 40px);margin:0 auto;padding:12px 16px;background:#34303e;border:1px solid #575062;border-radius:12px;color:#fff;font-size:14px;line-height:1.5;box-shadow:0 6px 24px #0005}.ugc-wizard-fields .ugc-inline-terms{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;margin:0;font-size:12px;line-height:1.4;color:var(--text-secondary,#a9a9b5)}.ugc-wizard-fields .ugc-inline-terms input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:var(--accent,#6c3fff)}.ugc-inline-terms>span{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.ugc-inline-terms a{color:var(--accent-text,#9678ff);text-decoration:underline}.auth-overlay{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.auth-modal{position:relative;width:min(440px,100%);overflow:hidden;border-radius:16px;padding:24px 24px 22px;background:rgba(18,18,24,.82);border:1px solid rgba(255,255,255,.1);box-shadow:0 25px 60px -15px rgba(0,0,0,.7);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}@media (min-width:640px){.auth-modal{padding:40px 40px 32px}}.auth-modal-blob{position:absolute;width:256px;height:256px;border-radius:50%;pointer-events:none;filter:blur(64px);mix-blend-mode:screen;animation:auth-blob 8s ease-in-out infinite}.auth-modal-blob-a{top:-80px;right:-80px;background:rgba(124,58,237,.3)}.auth-modal-blob-b{bottom:-80px;left:-80px;background:rgba(79,70,229,.3);animation-delay:2s}.auth-modal-blob-c{top:50%;left:50%;background:rgba(219,39,119,.2);opacity:.5;animation-name:auth-blob-center;animation-delay:4s}@keyframes auth-blob{0%,to{transform:translate(0) scale(1)}33%{transform:translate(18px,-12px) scale(1.06)}66%{transform:translate(-14px,10px) scale(.94)}}@keyframes auth-blob-center{0%,to{transform:translate(-50%,-50%) scale(1)}33%{transform:translate(calc(-50% + 14px),calc(-50% - 10px)) scale(1.06)}66%{transform:translate(calc(-50% - 12px),calc(-50% + 8px)) scale(.94)}}.auth-modal-close{position:absolute;top:16px;right:16px;z-index:2;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#e2e8f0;cursor:pointer}.auth-modal-close:hover{color:#fff;background:rgba(255,255,255,.1)}.auth-modal-close-icon{width:20px;height:20px}.auth-modal-body{position:relative;z-index:1}.auth-modal-title{margin:0 8px 24px;text-align:center;font-size:22px;line-height:1.25;font-weight:800;color:#fff}@media (min-width:640px){.auth-modal-title{font-size:28px}}.auth-modal-highlight{display:inline-block;background:linear-gradient(90deg,#c4b5fd,#818cf8,#f0abfc);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-modal-social{display:flex;flex-direction:column;gap:10px}.auth-modal-google{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:#fff;color:#0f172a;font-size:15px;font-weight:650;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.18);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.auth-modal-google:hover{background:#f3f4f6;transform:translateY(-1px);box-shadow:0 16px 32px rgba(0,0,0,.22)}.auth-modal-google:disabled{opacity:.6;cursor:wait;transform:none}.auth-modal-google-icon{width:22px;height:22px;flex:0 0 22px}.auth-modal-dev{width:100%;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}.auth-modal-terms-note{margin:12px 0 0;color:#9ca3af;font-size:12px;line-height:1.5;text-align:start}.auth-modal-terms-note a{color:#c4b5fd;text-decoration:underline;text-underline-offset:2px}.auth-modal-social+.auth-modal-consent{margin-top:12px}.auth-modal-consent+.auth-modal-form{margin-top:16px}.auth-modal-consent label{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03);color:#e5e7eb;font-size:13px;line-height:1.5;text-align:start;cursor:pointer}.auth-modal-consent input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:#8b5cf6;cursor:pointer}.auth-modal-consent a{color:#c4b5fd;text-decoration:underline;text-underline-offset:2px}.auth-modal-consent.is-missing label{border-color:rgba(252,165,165,.7);background:rgba(252,165,165,.08)}.auth-modal-consent .auth-modal-error{margin:6px 0 0}.auth-modal-divider{display:flex;align-items:center;gap:12px;margin:18px 0 16px;color:#94a3b8;font-size:11px;font-weight:700;letter-spacing:.12em}.auth-modal-divider:after,.auth-modal-divider:before{content:"";flex:1 1;height:1px;background:rgba(255,255,255,.12)}.auth-modal-steps{display:flex;justify-content:center;gap:8px;margin-bottom:16px}.auth-modal-steps span{width:10px;height:10px;border-radius:50%;background:#4b5563}.auth-modal-steps span.is-active{background:#6366f1}.auth-modal-form{display:flex;flex-direction:column;gap:12px}.auth-modal-field label{display:block;margin-bottom:6px;font-size:13px;font-weight:650;color:#e5e7eb}.auth-modal-field input{width:100%;height:46px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#fff;padding:0 14px;outline:none}.auth-modal-field input:focus{border-color:rgba(129,140,248,.7);box-shadow:0 0 0 3px rgba(99,102,241,.18)}.auth-modal-hint{margin:6px 0 0;font-size:12px;color:#9ca3af;text-align:left}.auth-modal-hint.is-dev{color:#c4b5fd}.auth-modal-error{font-size:12px;color:#fca5a5}.auth-modal-actions{display:flex;gap:12px;margin-top:4px}.auth-modal-submit{flex:2 1;height:46px;border:0;border-radius:12px;background:linear-gradient(90deg,#6366f1,#8b5cf6);color:#fff;font-weight:700;cursor:pointer}.auth-modal-submit:disabled{opacity:.55;cursor:wait}.auth-modal-back{flex:1 1;height:46px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#e5e7eb;cursor:pointer}.auth-modal-resend{border:0;background:transparent;color:#a5b4fc;font-size:12px;cursor:pointer;padding:0;align-self:flex-start}.auth-modal-resend:disabled{color:#6b7280;cursor:default}.auth-modal-switch{margin-top:16px;text-align:center;font-size:13px;color:#94a3b8}.auth-modal-switch button{border:0;background:transparent;color:#c4b5fd;font-weight:700;cursor:pointer;padding:0}.header-signin{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:8px 14px;font-size:12px;cursor:pointer;white-space:nowrap}:root{--reverie-accent:#b995fc;--reverie-accent-soft:rgba(185,149,252,.14);--reverie-accent-line:rgba(185,149,252,.38)}.ugc-shell{--ugc-accent:var(--reverie-accent);--ugc-muted:#aba6b8;--ugc-line:rgba(185,149,252,.18)}.sidebar-search,.ugc-home-search{border-color:var(--reverie-accent-line)}.sidebar-search:focus-within,.ugc-home-search:focus-within{border-color:var(--reverie-accent);box-shadow:0 0 0 2px var(--reverie-accent-soft)}.account-switch,.account-switch.is-admin,.ugc-account-links a,.ugc-header-links a,.ugc-home-create a{color:var(--reverie-accent);border-color:var(--reverie-accent-line);background:var(--reverie-accent-soft)}.account-switch:hover,.ugc-header-links a:hover,.ugc-home-create a:hover{background:rgba(185,149,252,.23);color:#e5d6ff}.ugc-shell input:focus,.ugc-shell select:focus,.ugc-shell textarea:focus{outline-color:var(--reverie-accent);border-color:var(--reverie-accent)}@media(min-width:1024px){:root{--sidebar-width:232px}.desktop-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:30;display:flex!important;flex-direction:column;padding:0 14px 20px;background:#1c1c26;border-right:1px solid #2b2938}.sidebar-brand{display:flex;align-items:center;gap:10px;min-height:86px;padding:0 10px;text-decoration:none;color:#f5f2fa;font:30px Georgia,serif;flex-shrink:0}.sidebar-brand img{width:39px;height:39px;object-fit:contain}.sidebar-functions{display:flex;flex-direction:column;gap:6px;margin:12px 0 24px;flex-shrink:0}.sidebar-functions a{display:flex;align-items:center;gap:13px;min-height:48px;padding:11px 14px;border-radius:10px;color:#c4c2ce;font-size:15px;text-decoration:none}.sidebar-functions a svg{flex-shrink:0}.sidebar-functions a:hover,.sidebar-history a:hover{background:#2a2837;color:#eee7fc}.sidebar-functions a[aria-current=page]{background:#373044;color:#e7d7ff}.sidebar-search{display:flex;align-items:center;gap:6px;padding:8px;margin:0 0 6px;border:1px solid var(--reverie-accent-line);border-radius:9px;background:#14141d;color:var(--reverie-accent)}.sidebar-search input{width:0;min-width:0;flex:1 1;background:none;color:#eee;border:0;outline:0;font-size:13px}.sidebar-search button{display:flex;border:0;padding:3px;background:none;color:var(--reverie-accent);cursor:pointer}.sidebar-history-heading{border-top:1px solid #34313f;padding:23px 12px 15px;display:flex;align-items:center;gap:12px;font-size:14px;color:#b6b2c3;flex-shrink:0}.sidebar-history{border-top:1px solid #34313f;padding-top:16px;display:flex;flex-direction:column;gap:6px;min-height:0;overflow:auto;scrollbar-width:none;scrollbar-color:#514b5c transparent}.sidebar-history.is-scrolling{scrollbar-width:thin}.sidebar-history::-webkit-scrollbar{width:8px}.sidebar-history::-webkit-scrollbar-thumb{background:transparent;border-radius:99px}.sidebar-history.is-scrolling::-webkit-scrollbar-thumb{background:#514b5c}.sidebar-history a{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:9px;color:#cecad8;text-decoration:none;min-height:64px;flex-shrink:0}.sidebar-history a[aria-current=page]{background:var(--reverie-accent-soft);color:#e5d6ff}.sidebar-history img{width:43px;height:50px;object-fit:cover;border-radius:8px;flex-shrink:0}.sidebar-history span:not(.proactive-unread){font-size:14px;line-height:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.reverie-header,.reverie-header.is-chat,body:has(.conversation-mode) .reverie-header{margin-left:var(--sidebar-width);padding:0 28px;height:70px;justify-content:flex-end;gap:16px;width:auto}.reverie-header .header-tools,.reverie-header .ugc-header-links{margin-left:0}.reverie-home,.reverie-home.has-recents{margin-left:var(--sidebar-width);padding:26px 30px 70px;min-height:calc(100dvh - 70px)}.reverie-home .reverie-filters{margin:0 0 24px}.reverie-home .ugc-home-search{display:none}.reverie-home .reverie-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}.reverie-chat.conversation-mode,.reverie-chat.opening-mode{margin:20px 28px 24px calc(var(--sidebar-width) + 28px);height:calc(100dvh - 114px);width:auto;max-width:none;padding:0;grid-template-columns:minmax(230px,30%) minmax(0,1fr);gap:20px}.ugc-shell{margin-left:var(--sidebar-width);margin-right:0;max-width:none;padding:28px 36px 100px}.ugc-nav{display:none}@media(max-width:1280px){:root{--sidebar-width:212px}.reverie-home .reverie-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.reverie-chat.conversation-mode,.reverie-chat.opening-mode{grid-template-columns:minmax(190px,28%) minmax(0,1fr);margin-left:calc(var(--sidebar-width) + 20px);margin-right:20px;gap:16px}.reverie-header .header-tools{gap:8px}}@media(min-width:1800px){.reverie-home .reverie-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}}@media(max-width:600px){.m-header{height:auto;min-height:50px;flex-wrap:wrap;padding-top:calc(10px + env(safe-area-inset-top,0px));padding-bottom:10px;gap:10px}.m-header-tools{max-width:100%;flex-wrap:wrap;gap:6px;margin-left:0}}@media(min-width:1024px){:root:has(.desktop-sidebar[data-collapsed=true]){--sidebar-width:80px}.sidebar-brand-row{display:flex;align-items:center;gap:4px;min-height:86px;flex-shrink:0}.sidebar-brand-row .sidebar-brand{min-height:0;min-width:0;padding:0 2px;gap:7px;flex:1 1;font-size:26px}.sidebar-brand-row .sidebar-brand img{width:32px;height:32px}.sidebar-toggle{display:grid;place-items:center;width:32px;height:36px;flex:0 0 32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text-secondary);cursor:pointer}.sidebar-toggle:hover{background:var(--bg-panel);color:var(--text-primary)}.sidebar-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.desktop-sidebar[data-collapsed=true]{padding-left:10px;padding-right:10px}.desktop-sidebar[data-collapsed=true] .sidebar-brand-row{justify-content:center}.desktop-sidebar[data-collapsed=true] .sidebar-brand,.desktop-sidebar[data-collapsed=true] .sidebar-functions a span,.desktop-sidebar[data-collapsed=true] .sidebar-history a span:not(.proactive-unread),.desktop-sidebar[data-collapsed=true] .sidebar-search{display:none}.desktop-sidebar[data-collapsed=true] .sidebar-functions a{justify-content:center;padding:11px 0}.desktop-sidebar[data-collapsed=true] .sidebar-history a{justify-content:center;padding:8px 0}.desktop-sidebar[data-collapsed=true] .sidebar-history img{width:40px;height:48px}}:root{--account-row-icon:#eee;--bg-page:#101115;--bg-sidebar:#101115;--bg-panel:#1C1D24;--bg-input:#111217;--border-default:#34343F;--accent:#A48AFC;--accent-hover:#B9A7E8;--accent-soft:#292435;--text-primary:#F5F5F7;--text-secondary:#A3A2AD;--text-on-accent:#21172F;--reverie-accent:var(--accent);--reverie-accent-soft:var(--accent-soft);--reverie-accent-line:var(--border-default);--reverie-accent-ink:var(--text-on-accent);--bg:var(--bg-page);--panel:var(--bg-panel);--text:var(--text-primary);--muted:var(--text-secondary);--line:var(--border-default);--purple:var(--accent)}.app,.m-header,.reverie-chat.conversation-mode,.reverie-chat.opening-mode,.reverie-header,.reverie-header.is-chat,body,body:has(.conversation-mode) .reverie-header,body:has(.reverie-chat),body:has(.reverie-chat) .app,html{background:var(--bg-page);color:var(--text-primary)}.desktop-sidebar,.m-nav.mobile-nav{background:var(--bg-sidebar);border-color:var(--border-default)}.sidebar-brand{color:var(--text-primary)}.sidebar-functions a,.sidebar-history a{color:var(--text-secondary)}.sidebar-functions a:hover,.sidebar-history a:hover{background:var(--bg-panel);color:var(--text-primary)}.sidebar-functions a[aria-current=page],.sidebar-history a[aria-current=page]{background:var(--accent-soft);color:var(--text-primary)}.sidebar-functions a[aria-current=page] svg{color:var(--accent)}.sidebar-history,.sidebar-history-heading,.sidebar-search,.ugc-home-search{border-color:var(--border-default)}.sidebar-search,.ugc-home-search{background:var(--bg-input);color:var(--text-secondary)}.sidebar-search:focus-within,.ugc-home-search:focus-within{border-color:var(--accent);box-shadow:none}.account-switch,.account-switch.is-admin,.ugc-account-links a,.ugc-header-links a,.ugc-home-create a{background:var(--bg-panel);border-color:var(--border-default);color:var(--text-secondary)}.account-switch:hover,.ugc-header-links a:hover,.ugc-home-create a:hover{background:#1b1d24;color:var(--text-primary)}.ugc-shell{--ugc-line:var(--border-default);--ugc-muted:var(--text-secondary);--ugc-accent:var(--accent);color:var(--text-primary)}.ugc-shell a.ugc-primary,.ugc-shell button{background:var(--bg-panel);border-color:var(--border-default);color:var(--text-primary)}.ugc-shell button:hover:not(:disabled){background:#1b1d24}.ugc-editor input,.ugc-editor select,.ugc-editor textarea,.ugc-shell input,.ugc-shell select,.ugc-shell textarea{background:var(--bg-input);border-color:var(--border-default);color:var(--text-primary);accent-color:var(--accent)}.ugc-shell input:focus,.ugc-shell select:focus,.ugc-shell textarea:focus{border-color:var(--accent);outline-color:var(--accent);box-shadow:none}.ugc-confirm,.ugc-drawer,.ugc-panel,.ugc-preview,.ugc-shell .ugc-stat-filter,.ugc-stat-grid>div,.ugc-steps,.ugc-work-card{background:var(--bg-panel);border-color:var(--border-default)}.ugc-shell .ugc-steps button{background:transparent;color:var(--text-secondary)}.ugc-shell .ugc-steps button[aria-current]{background:var(--accent-soft);color:var(--text-primary)}.ugc-steps button>span{border-color:var(--border-default)}.ugc-steps button[aria-current]>span{background:var(--accent);color:var(--text-on-accent);border-color:var(--accent)}.ugc-avatar-placeholder,.ugc-cover-preview,.ugc-image-placeholder{background:var(--bg-panel);color:var(--text-secondary)}.ugc-cover-preview>div:last-child{background:linear-gradient(transparent,rgba(8,9,12,.94))}.reverie-chat .send,.ugc-editor .ugc-editor-footer .ugc-primary,.ugc-shell .ugc-primary,.ugc-shell a.ugc-primary{color:#fff;background:var(--accent)}.reverie-chat .send:hover:not(:disabled),.ugc-shell .ugc-primary:hover:not(:disabled){background:var(--accent-hover)}.ugc-shell .ugc-stat-filter[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);box-shadow:none}.ugc-shell .ugc-score-value{padding:2px 0;border:0;background:transparent;border-radius:0;font-weight:600;cursor:text}.ugc-shell .ugc-score-value:hover{background:transparent;color:var(--accent)}.ugc-inline-score{width:90px;padding:3px 6px!important}.ugc-ranking-options{display:flex;flex-direction:column;gap:16px;margin:24px 0}.ugc-ranking-options label{display:flex;align-items:center;gap:10px}.ugc-ranking-options input[type=number]{width:100%}.ugc-required{color:var(--accent)}.m-gender-trigger,.m-tags button,.reverie-filters button{color:var(--text-primary)}.m-tags button[aria-pressed=true]{color:var(--text-on-accent)}@media(min-width:1024px){.reverie-chat .chat-window,.reverie-chat .reverie-portrait{background:var(--bg-panel);border-color:var(--border-default)}}.ugc-shell .ugc-field input,.ugc-shell .ugc-field select,.ugc-shell .ugc-field textarea,.ugc-shell .ugc-filters input,.ugc-shell .ugc-filters select,.ugc-shell .ugc-ranking-options input[type=number]{background:var(--bg-input);border:1px solid var(--border-default);color:var(--text-primary)}.ugc-shell .ugc-field input:focus,.ugc-shell .ugc-field select:focus,.ugc-shell .ugc-field textarea:focus{border-color:var(--accent);outline-color:var(--accent)}.ugc-shell [aria-checked=true] .ugc-switch-track{background:var(--accent)}.ugc-shell .ugc-switch-track{background:#343640}.ugc-editor .ugc-panel{background:var(--bg-panel);border-color:var(--border-default)}.ugc-editor .ugc-header-actions button{color:var(--text-secondary)}:root{color-scheme:dark}.reverie-filter-row button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--text-on-accent)}.ugc-shell .ugc-face-reference,.ugc-shell .ugc-generated-image,.ugc-shell .ugc-generation-dialog,.ugc-shell .ugc-reference-upload{border-color:var(--border-default);background:var(--bg-panel)}.ugc-shell .ugc-style-options button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--text-primary)}.ugc-generation-progress progress::-webkit-progress-value{background:var(--accent)}.ugc-generation-progress progress::-moz-progress-bar{background:var(--accent)}.ugc-generation-progress progress,.ugc-generation-progress progress::-webkit-progress-bar{background:var(--border-default)}.ugc-shell .ugc-generation-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center}.ugc-shell .ugc-generation-actions button{width:100%;max-width:320px;text-align:center}.ugc-shell .ugc-generation-actions .ugc-generation-secondary{background:var(--bg-input);color:var(--text-secondary);border:1px solid var(--border-default);box-shadow:none}.ugc-shell .ugc-generation-actions .ugc-generation-secondary:hover:not(:disabled){background:#1b1d24;color:var(--text-primary)}.ugc-generation-waiting{flex:1 1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px 28px;text-align:center}.ugc-generation-waiting>strong{font-size:18px;font-weight:600}.ugc-generation-waiting .ugc-generation-progress{width:min(100%,420px);margin-top:12px}.ugc-generation-spinner{width:54px;height:54px;border:3px solid var(--border-default);border-top-color:var(--accent);border-radius:50%;animation:ugc-spin .9s linear infinite}@keyframes ugc-spin{to{transform:rotate(1turn)}}@media(min-width:1024px){.ugc-shell .ugc-generation-main-actions{display:none}}.ugc-bottom-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:80dvh;padding:0;border:1px solid var(--border-default);border-radius:24px 24px 0 0;background:var(--bg-panel);color:var(--text-primary);overflow:auto}.ugc-bottom-sheet::-webkit-backdrop{background:#000a}.ugc-bottom-sheet::backdrop{background:#000a}.ugc-sheet-content{padding:10px 20px max(24px,env(safe-area-inset-bottom))}.ugc-sheet-handle{width:40px;height:4px;border-radius:8px;background:#555761;margin:0 auto 24px}.ugc-sheet-content h2{font-size:20px;margin:0 0 20px}.ugc-sheet-options{display:flex;flex-direction:column;gap:10px}.ugc-sheet-options a,.ugc-shell .ugc-sheet-options button{display:flex;align-items:center;gap:12px;padding:16px;min-height:52px;background:#202127;color:var(--text-primary);border:1px solid var(--border-default);border-radius:12px;text-decoration:none;font-size:15px}.ugc-shell .ugc-sheet-cancel{width:100%;margin-top:18px;min-height:44px}.ugc-toast{position:fixed;top:80px;left:50%;transform:translateX(-50%);z-index:200;width:max-content;max-width:calc(100vw - 32px);padding:12px 20px;border:1px solid var(--border-default);border-radius:10px;background:#292b35;color:var(--text-primary);box-shadow:0 8px 24px #0006}.ugc-speaker-field{display:flex;align-items:center;gap:12px}.ugc-speaker-select{position:relative;min-width:0}.ugc-speaker-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:150px}.ugc-speaker-menu{position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:max-content;min-width:100%;max-width:min(280px,calc(100vw - 40px));padding:6px;border:1px solid var(--border-default);border-radius:12px;background:#17181d;box-shadow:0 12px 30px #0009}.ugc-shell .ugc-speaker-menu button{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--text-primary);text-align:left;white-space:nowrap}.ugc-shell .ugc-speaker-menu button:hover,.ugc-shell .ugc-speaker-menu button[aria-selected=true]{background:var(--accent-soft)}.ugc-shell .ugc-speaker-menu button[aria-selected=true]{color:var(--accent)}.ugc-shell .ugc-sheet-options .ugc-sheet-danger{justify-content:center;color:#ffb8c0;border-color:#623943;background:#26171b}@media(max-width:1023px){.ugc-editor .ugc-header-actions>span{display:none}.ugc-editor .ugc-header{min-height:44px;margin-bottom:20px;padding-bottom:0}.ugc-editor .ugc-header-actions{min-height:0}.ugc-opening-intro{display:none}.ugc-editor .ugc-opening-editor,.ugc-editor .ugc-opening-editor button,.ugc-editor .ugc-opening-editor label,.ugc-editor .ugc-opening-editor select,.ugc-editor .ugc-opening-editor textarea{font-size:14px;line-height:1.6}.ugc-editor .ugc-speaker-field{display:flex;align-items:center;gap:12px;min-width:0}.ugc-editor .ugc-speaker-field>span:first-child{flex:0 0 auto;font-weight:600}.ugc-editor .ugc-speaker-select{width:min(190px,52vw)}.ugc-editor .ugc-speaker-trigger{min-width:0;width:min(190px,52vw);min-height:48px;padding:10px 14px;text-align:left}.ugc-editor .ugc-speaker-menu{width:100%;min-width:100%}.reverie-chat .opening-divider{display:none}body:has(.ugc-my-works) .m-header,body:has(.ugc-my-works) .reverie-header,body:has(.ugc-my-works) .ugc-nav{display:none!important}.ugc-my-works .ugc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.ugc-my-works .m-my-works-back{flex:0 0 44px;width:44px;height:44px;margin:0}.ugc-my-works{padding:20px 16px 100px}.ugc-my-works .ugc-header h1{font-size:22px;margin:0;letter-spacing:0}.ugc-my-works .ugc-header .ugc-eyebrow,.ugc-my-works .ugc-header p{display:none}.ugc-my-works .ugc-header>a{font-size:13px;padding:8px 10px;white-space:nowrap}.ugc-my-works .ugc-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.ugc-my-works .ugc-work-card{display:flex;flex-direction:column;min-width:0;overflow:hidden}.ugc-my-works .ugc-work-card>img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:var(--bg-input)}.ugc-my-works .ugc-work-card>div{padding:10px;min-width:0;display:flex;flex-direction:column;flex:1 1}.ugc-my-works .ugc-work-card h2{font-size:15px;line-height:1.4;margin:8px 0;overflow-wrap:anywhere}.ugc-my-works .ugc-work-description{font-size:13px;color:var(--text-secondary);line-height:1.5;overflow-wrap:anywhere;margin:0 0 12px}.ugc-my-works .ugc-work-meta{display:none}.ugc-my-works .ugc-review-feedback{margin:0 0 10px;font-size:11px;line-height:1.45;color:#f4a3a8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ugc-my-works .ugc-statuses{display:flex;flex-wrap:wrap;gap:4px}.ugc-my-works .ugc-statuses span{font-size:10px;padding:2px 5px}.ugc-my-works .ugc-work-menu-button{margin-top:auto;width:100%;min-height:40px}.ugc-success-only .ugc-submission-success{margin:20dvh auto 0;text-align:center;background:var(--bg-panel);padding:32px 20px;border-radius:16px}.ugc-success-actions{display:flex;flex-direction:column;gap:14px;margin-top:30px}.ugc-success-actions a{display:block;padding:12px;border:1px solid var(--border-default);border-radius:10px;text-decoration:none;color:var(--text-primary)}body:has(.ugc-success-only) .m-header,body:has(.ugc-success-only) .mobile-nav{display:none!important}.ugc-shell .ugc-generation-dialog[open]{height:100dvh;max-height:100dvh;width:100vw;max-width:100vw;margin:0;border-radius:0}.ugc-generation-dialog[data-screen=edit] .ugc-generation-preview{display:none}.ugc-generation-dialog[data-screen=edit] .ugc-generation-grid{display:flex;flex-direction:column;overflow:auto}.ugc-generation-dialog[data-screen=edit] .ugc-generation-controls,.ugc-generation-dialog[data-screen=edit] .ugc-generation-controls-body{display:contents}.ugc-generation-controls-body>.ugc-field,.ugc-generation-controls>.ugc-field{order:0}.ugc-generation-controls-body>.ugc-style-section,.ugc-generation-controls>.ugc-style-section{order:1}.ugc-generation-dialog .ugc-face-reference{order:2}.ugc-generation-controls-body>.ugc-error,.ugc-generation-controls>.ugc-error{order:4}.ugc-generation-dialog[data-screen=edit] .ugc-generation-actions button:nth-child(2){display:none}.ugc-shell .ugc-generation-dialog[data-screen=edit] .ugc-generation-actions,.ugc-shell .ugc-wait-actions{grid-template-columns:1fr}.ugc-generation-dialog[data-screen=result] .ugc-face-reference,.ugc-generation-dialog[data-screen=result] .ugc-generation-controls,.ugc-generation-dialog[data-screen=waiting] .ugc-face-reference,.ugc-generation-dialog[data-screen=waiting] .ugc-generation-controls,.ugc-generation-dialog[data-screen=waiting] .ugc-generation-main-actions{display:none}.ugc-generation-dialog[data-screen=result] .ugc-generation-grid,.ugc-generation-dialog[data-screen=waiting] .ugc-generation-grid{display:flex;flex-direction:column}.ugc-generation-dialog[data-screen=result] .ugc-generation-preview,.ugc-generation-dialog[data-screen=waiting] .ugc-generation-preview{flex:1 1;display:flex;flex-direction:column;min-height:0}.ugc-generation-dialog[data-screen=result] .ugc-generation-preview h3,.ugc-generation-dialog[data-screen=result] .ugc-generation-progress{display:none}.ugc-generation-dialog[data-screen=result] .ugc-generated-image{height:auto;flex:1 1}.ugc-generation-dialog[data-screen=waiting] .ugc-generation-header,.ugc-generation-dialog[data-screen=waiting] .ugc-wait-actions{border-color:transparent}.ugc-generation-dialog[data-screen=waiting] .ugc-wait-actions{background:transparent}.ugc-my-works .ugc-header{flex-direction:row;text-align:left}.ugc-my-works .ugc-header>div{text-align:left}.ugc-my-works .ugc-work-card>.ugc-image-placeholder{flex:none;width:100%;aspect-ratio:3/4;min-height:0}}.app:has(.reverie-home,.m-home,.reverie-chat){isolation:isolate}.app:has(.reverie-home,.m-home,.reverie-chat):before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url(/images/backgrounds/moonlit-library.webp) 50%/cover no-repeat}.app .reverie-chat.conversation-mode,.app .reverie-chat.opening-mode,.app:has(.reverie-home,.m-home,.reverie-chat) .m-header,.app:has(.reverie-home,.m-home,.reverie-chat) .reverie-header{background:transparent}.app:has(.reverie-home,.m-home,.reverie-chat) .desktop-sidebar{background:rgba(12,13,17,.9)}@media(min-width:1024px){.app .reverie-chat .chat-window,.app .reverie-chat .reverie-portrait{background:rgba(18,19,24,.91)}}@media(max-width:1023px){.app:has(.reverie-home,.m-home,.reverie-chat):before{content:none;display:none;background-image:none}}.ugc-editor .m-editor-back,.ugc-editor .m-editor-back:active,.ugc-editor .m-editor-back:focus,.ugc-editor .m-editor-back:hover{text-decoration:none}@media(max-width:1023px){.m-nav .mobile-nav-item{font-weight:600}}.reverie-chat .send,.ugc-editor .ugc-editor-footer .ugc-primary,.ugc-shell .ugc-primary,.ugc-shell a.ugc-primary{background:#ae95f2;color:#211a33;border:1px solid transparent;border-radius:12px;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;transition:background-color .16s,transform .1s}.reverie-chat .send:active:not(:disabled),.ugc-shell .ugc-primary:active:not(:disabled){background:#a18add;transform:scale(.98)}.reverie-chat .send:focus-visible,.ugc-shell .ugc-primary:focus-visible{outline:2px solid #d4c5ff;outline-offset:3px}.ugc-shell .ugc-editor-footer .ugc-next-step{height:46px;min-height:46px;padding:0 24px;font-size:15px;font-weight:500}.ugc-shell .ugc-editor-footer .ugc-prev-step{min-height:46px;background:transparent;border-color:transparent;box-shadow:none;color:var(--text-secondary);font-size:15px;font-weight:400}.ugc-shell .ugc-editor-footer .ugc-prev-step:hover:not(:disabled){background:transparent;color:var(--text-primary)}.app .reverie-chat .composer .send{width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px;padding:0;align-self:center;border-radius:12px}.app .reverie-chat .composer .send svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.app .reverie-chat .composer{padding-right:8px;align-items:center}@property --sidebar-width{syntax:"<length>";inherits:true;initial-value:232px}@media(min-width:1024px){:root{transition:--sidebar-width .24s cubic-bezier(.22,.61,.36,1);scrollbar-gutter:stable}.desktop-sidebar{transition:none;overflow-x:clip;padding-left:10px;padding-right:10px}.reverie-chat.conversation-mode,.reverie-chat.opening-mode,.reverie-header,.reverie-home,.ugc-shell{transition:none;overflow-anchor:none}.sidebar-brand-row{position:relative;display:block;height:86px;min-height:86px}.sidebar-brand-row .sidebar-brand{position:absolute;left:0;top:25px;display:flex;width:166px;max-width:none;white-space:nowrap;opacity:1;transition:opacity .12s}.sidebar-toggle{position:absolute;right:14px;top:25px}.desktop-sidebar[data-collapsed=true] .sidebar-brand-row .sidebar-brand{display:flex;width:166px;max-width:none;opacity:0;visibility:hidden;pointer-events:none}.desktop-sidebar[data-collapsed=true] .sidebar-toggle{right:14px}.sidebar-functions a,.sidebar-history a{position:relative;display:flex;justify-content:flex-start;padding:11px 17px;gap:0;overflow:hidden;transition:none}.sidebar-functions a span,.sidebar-history a span:not(.proactive-unread){position:absolute;left:58px;right:auto;width:140px;max-width:none;white-space:nowrap;opacity:1;transition:opacity .12s}.desktop-sidebar[data-collapsed=true] .sidebar-functions a,.desktop-sidebar[data-collapsed=true] .sidebar-history a{justify-content:flex-start;padding:11px 17px;gap:0}.desktop-sidebar[data-collapsed=true] .sidebar-functions a span,.desktop-sidebar[data-collapsed=true] .sidebar-history a span:not(.proactive-unread){display:block;max-width:none;opacity:0;visibility:hidden}.desktop-sidebar[data-collapsed=true] .sidebar-history a,.sidebar-history a{padding:8px 10px;min-height:64px}.desktop-sidebar[data-collapsed=true] .sidebar-history img,.sidebar-history img{width:40px;height:48px;transition:none}.sidebar-history a .proactive-unread{position:absolute;left:auto;right:10px;top:8px;width:auto;white-space:nowrap}.desktop-sidebar[data-collapsed=true] .sidebar-history a .proactive-unread{right:4px;top:4px;opacity:1;visibility:visible;border:1px solid #101115}}@media(prefers-reduced-motion:reduce){.sidebar-brand-row .sidebar-brand,.sidebar-functions a span,.sidebar-history a span:not(.proactive-unread),:root{transition:none}}@media (min-width:1024px){:root{--account-row-icon:#aaa6b7}}.chat-photo-row{display:flex;justify-content:flex-start;margin:12px 0 18px;width:100%;text-align:left}.chat-photo-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:320px;padding:18px 20px;border:1px solid var(--border-default,#34343f);border-radius:6px 18px 18px 18px;background:var(--surface-secondary,#202028);color:var(--text-secondary,#b5b5c4);font-size:14px}.chat-photo-status.is-failed{align-items:flex-start;flex-direction:column;gap:6px}.chat-photo-status small{opacity:.75}.chat-photo-spinner{display:inline-block;width:17px;height:17px;border:2px solid #696477;border-top-color:#b8a6ff;border-radius:50%;animation:chat-photo-spin 1s linear infinite}@keyframes chat-photo-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.chat-photo-spinner{animation:none}}.chat-photo-image{display:block;flex-shrink:0;width:min(80%,256px,calc(100% - 54px));margin:0;padding:0;overflow:hidden;border:0;border-radius:6px 18px 18px 18px;background:var(--surface-secondary,#202028);cursor:zoom-in}.chat-photo-image img{display:block;width:100%;height:auto}.chat-photo-lightbox{position:fixed;inset:0;z-index:10000;display:flex;justify-content:center;align-items:center;padding:64px 16px 88px;background:#000e}.chat-photo-lightbox>img{max-width:100%;max-height:100%;object-fit:contain}.chat-photo-lightbox>.chat-photo-close{position:absolute;top:15px;right:18px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#333b;color:white;cursor:pointer}.app .reverie-chat .bubble.user-bubble{background:#6c3fff;color:var(--text-primary,#f5f5f7)}.app .reverie-chat .user-bubble .chat-rich em{color:#c0b8d3;font-style:italic;padding:0;line-height:inherit}.reverie-chat .delete-head{display:grid;grid-template-columns:72px minmax(0,1fr) 72px;align-items:center}.reverie-chat .delete-cancel{border:0;background:transparent;color:#f5f5f7;font:inherit;font-size:16px;text-align:start;padding:8px 4px;cursor:pointer}.reverie-chat .delete-cancel:disabled{opacity:.45;cursor:default}.reverie-chat .delete-head .chat-title{text-align:center}.reverie-chat .delete-composer{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px}.reverie-chat .select-to-here{align-self:flex-start;border:0;background:transparent;color:#a48afc;font:inherit;font-size:14px;font-weight:650;padding:4px 2px;cursor:pointer}.reverie-chat .select-to-here:disabled{color:#5c5c68;cursor:default}.reverie-chat .delete-confirm{width:100%;height:48px;border:0;border-radius:14px;background:#e25b66;color:#fff;font:inherit;font-size:16px;font-weight:650;cursor:pointer}.reverie-chat .delete-confirm:disabled{background:#2a2b33;color:#6d6d78;cursor:default}.reverie-chat .msg-check,.reverie-chat .msg-check-gap{width:22px;height:22px;margin-top:18px;flex:0 0 22px}.reverie-chat .msg-check{border-radius:50%;border:1.5px solid #6a6a78;background:transparent;color:transparent;display:grid;place-items:center;padding:0;cursor:pointer}.reverie-chat .msg-check.on{background:#6c3fff;border-color:#6c3fff;color:#fff}.reverie-chat .delete-message-body{display:contents}.reverie-chat .messages.delete-selecting .chat-message-group,.reverie-chat .messages.delete-selecting .user-turn{display:flex;align-items:flex-start;gap:10px}.reverie-chat .messages.delete-selecting .delete-message-body,.reverie-chat .messages.delete-selecting .user-turn>:last-child{display:block;flex:1 1;min-width:0}.reverie-chat .messages.delete-selecting .msg-tools{pointer-events:none}.app .reverie-chat .composer.chat-composer{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;transition:grid-template-columns .22s cubic-bezier(.2,.7,.2,1),padding .22s cubic-bezier(.2,.7,.2,1)}.chat-composer-inspiration{width:44px;overflow:hidden;opacity:1;-webkit-border-end:1px solid var(--border-default,#34343f);border-inline-end:1px solid var(--border-default,#34343f);transition:width .22s cubic-bezier(.2,.7,.2,1),opacity .14s ease,transform .22s ease}.chat-composer-inspiration .chat-editor-tool{width:36px}.app .reverie-chat .chat-composer .input-shell{display:block;position:relative;width:100%;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:transparent}.chat-composer-placeholder{position:absolute;inset-inline-start:10px;top:50%;transform:translateY(-50%);color:#8390a4;font-size:16px;line-height:22px;pointer-events:none}.chat-composer .input-shell:has(textarea:not(:placeholder-shown)) .chat-composer-placeholder{display:none}.app .reverie-chat .chat-composer:not(.is-editing) textarea::placeholder{color:transparent}.app .reverie-chat .chat-composer textarea{display:block;min-width:0;width:100%;padding:9px 50px 9px 10px;min-height:40px;max-height:110px;margin-bottom:0;text-align:start;transition:margin-bottom .22s cubic-bezier(.2,.7,.2,1),min-height .22s ease,padding .22s ease}.chat-composer-actions,.chat-rewrite-tools{display:flex;align-items:center;gap:6px}.chat-composer .chat-composer-actions{position:absolute;inset-inline-end:0;bottom:0;gap:0}.chat-composer .chat-composer-star{width:0;min-width:0;flex-basis:0;overflow:hidden;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .14s ease,visibility 0s .22s}.app .reverie-chat .composer.chat-composer.is-editing{grid-template-columns:0 minmax(0,1fr);padding:10px 10px 8px}.chat-composer.is-editing .chat-composer-inspiration{width:0;opacity:0;transform:translateX(-6px);pointer-events:none;border-color:transparent}.app .reverie-chat .chat-composer.is-editing textarea{min-height:42px;margin-bottom:46px;padding:5px 4px}.chat-composer.is-editing .chat-composer-star{width:40px;flex-basis:40px;opacity:1;pointer-events:auto;visibility:visible;transition-delay:0s}.chat-composer.is-editing .chat-composer-actions{gap:12px}.app .reverie-chat .chat-composer .chat-composer-star,.app .reverie-chat .chat-composer .chat-composer-star:is(:hover,:active,:focus){background:transparent;box-shadow:none}.chat-editor-tool{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--text-secondary,#a9a9b5);cursor:pointer}.chat-editor-tool:hover:not(:disabled){background:var(--bg-panel,#1c1d24);color:var(--text-primary,#f5f5f7)}.chat-editor-tool:focus-visible{outline:2px solid var(--accent,#a48afc);outline-offset:2px}.chat-editor-tool:disabled{opacity:.4;cursor:default}.app .reverie-chat .chat-composer .send{background:var(--accent,#a48afc);color:var(--text-on-accent,#21172f)}.app .reverie-chat .composer.chat-composer .send svg{fill:currentColor;stroke:none}.app .reverie-chat .chat-composer .send:disabled{opacity:.4;cursor:default}.app .reverie-chat .chat-rewrite-editor{height:100%;max-height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;background:var(--bg-input,#15161c);border-color:var(--border-default,#34343f)}.chat-rewrite-header{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:4px 12px 4px 20px;color:var(--text-primary,#f5f5f7);font-size:16px;font-weight:600}.app .reverie-chat .chat-rewrite-editor textarea{width:calc(100% - 32px);height:100%;max-height:none;min-height:0;margin:0 16px;padding:12px;border:1px solid var(--border-default,#34343f);border-radius:0;background:transparent;resize:none;font:inherit;font-size:16px;line-height:1.55}.app .reverie-chat .chat-rewrite-editor .rewrite-sheet-bar{padding:8px 16px 10px;gap:8px}.app .reverie-chat .chat-rewrite-editor .rewrite-sheet-save{flex:0 0 40px;background:#6c3fff;color:#fff;border-radius:10px}.chat-role-suggestions{position:fixed;z-index:2100;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;box-sizing:border-box;padding:4px;border:1px solid var(--border-default,#34343f);border-radius:10px;background:#17181d;color:var(--text-primary,#f5f5f7);box-shadow:0 8px 24px #0006;scrollbar-width:thin}.chat-role-suggestions button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;text-align:start}.chat-role-suggestions button:hover,.chat-role-suggestions button[aria-selected=true]{background:#292a34}.chat-role-suggestions button>:is(img,.cast-avatar-tile,svg){width:28px;height:28px;flex:0 0 28px;border-radius:50%;object-fit:cover}.chat-role-suggestions button span{overflow-wrap:anywhere;min-width:0;font-size:14px;line-height:1.4}@media (max-height:440px){.chat-rewrite-header{min-height:42px}.app .reverie-chat .chat-rewrite-editor .rewrite-sheet-bar{padding-top:4px;padding-bottom:4px}}@media (prefers-reduced-motion:reduce){.app .reverie-chat .chat-composer textarea,.app .reverie-chat .composer.chat-composer,.chat-composer .chat-composer-inspiration,.chat-composer .chat-composer-star{transition:none}}.chat-video-preview{position:relative;aspect-ratio:9/16;cursor:pointer;color:#fff}.chat-video-preview img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.chat-video-play{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(transparent,#0003)}.chat-video-play svg{box-sizing:content-box;padding:16px;border-radius:50%;background:#0007;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.chat-video-lightbox{position:fixed;inset:0;z-index:10000;background:#07060af5;display:flex;align-items:center;justify-content:center;padding:64px 20px 88px}.chat-video-lightbox>video{max-width:100%;max-height:100%;width:auto;height:100%;object-fit:contain}.chat-video-close{position:absolute;right:20px;top:max(20px,env(safe-area-inset-top));border:0;background:#ffffff20;border-radius:50%;padding:10px;color:white;cursor:pointer}.chat-video-download{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;background:#fff;color:#241d30;border:0;border-radius:999px;padding:13px 20px;font-weight:600;cursor:pointer}.chat-video-download:disabled{opacity:.6}.chat-video-error{position:absolute;bottom:70px;color:white}.chat-video-membership{position:absolute;inset:0;background:#0009;display:grid;place-items:center;padding:24px}.chat-video-membership>div{max-width:360px;padding:28px;border-radius:24px;background:var(--surface,#fff);color:var(--text,#241d30);box-shadow:0 16px 80px #0005}.chat-video-membership h2{margin:0 0 12px}.chat-video-membership p{line-height:1.6;margin:0 0 24px}.chat-video-membership button{border:0;border-radius:999px;background:#a88aec;padding:10px 24px;color:white;cursor:pointer}.chat-photo-card{display:flex;align-items:flex-end;width:100%}.chat-photo-percent{min-width:3ch;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--text-primary,#f5f5f7)}.chat-photo-download{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--border-default,#34343f);border-radius:50%;background:var(--surface-secondary,#202028);color:var(--text-primary,#f5f5f7);cursor:pointer}.chat-photo-download:hover{background:var(--surface-hover,#34303f)}.chat-photo-download:disabled{opacity:.55;cursor:wait}.chat-photo-download.is-fullscreen{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:auto;height:auto;gap:8px;padding:13px 20px;border:0;border-radius:999px;background:#fff;color:#241d30;font-weight:600}.chat-photo-download-error{color:var(--text-secondary,#b5b5c4);font-size:13px}.chat-photo-download-error.is-fullscreen{position:absolute;bottom:72px;color:#fff}.chat-photo-membership{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:24px;background:#0009}.chat-photo-membership [role=alertdialog]{width:min(100%,360px);padding:28px;border:1px solid var(--border-default,#34343f);border-radius:22px;background:var(--surface-primary,#202028);color:var(--text-primary,#f5f5f7);box-shadow:0 16px 80px #0006}.chat-photo-membership h2{margin:0 0 12px;font-size:21px;line-height:1.4}.chat-photo-membership p{margin:0 0 24px;color:var(--text-secondary,#b5b5c4);line-height:1.65}.chat-photo-membership-actions{display:flex;flex-direction:column;gap:10px}.chat-photo-membership-actions button{padding:12px 18px;border:1px solid var(--border-default,#34343f);border-radius:999px;background:transparent;color:inherit;cursor:pointer;font-weight:600}.chat-photo-membership-actions .is-primary{border-color:transparent;background:var(--button-primary);background-origin:border-box;color:#fff}.chat-photo-card .chat-photo-image{width:min(256px,calc(100% - 116px))}.chat-photo-card{gap:10px}.chat-photo-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;max-width:132px;flex:0 1 auto;padding-block:5px}.chat-photo-actions button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.35em;width:-moz-fit-content;width:fit-content;max-width:100%;height:2em;min-height:0;padding:0 .75em 0 .65em;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(20,20,24,.78);color:#f0f0f4;line-height:1;cursor:pointer}.chat-photo-actions button:before{content:"";position:absolute;inset:-5px -2px}.chat-photo-actions button svg{width:1em;height:1em;flex:0 0 1em;opacity:1}.chat-photo-actions button span{overflow-wrap:anywhere}.chat-photo-actions button:hover:not(:disabled){border-color:rgba(255,255,255,.46);background:rgba(38,38,44,.92)}.chat-photo-actions button:focus-visible{outline:2px solid var(--text-secondary,#c3c0cd);outline-offset:4px}.chat-photo-actions button:disabled{opacity:.45;cursor:wait}.chat-photo-actions.is-fullscreen{position:absolute;z-index:2;right:max(20px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;max-width:calc(100vw - 40px);width:auto;padding:0}.chat-photo-actions.is-fullscreen button{position:relative;inset:auto;width:-moz-fit-content;width:fit-content;height:2em;min-height:0;gap:.35em;padding:0 .75em 0 .65em;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(20,20,24,.78);color:#f0f0f4;font-weight:400;line-height:1}.chat-photo-actions.is-fullscreen button:hover:not(:disabled){border-color:rgba(255,255,255,.46);background:rgba(38,38,44,.92)}.chat-photo-lightbox{overflow:hidden}.chat-photo-success-toast{position:fixed;z-index:12000;top:50%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100vw - 40px);box-sizing:border-box;padding:12px 18px;border-radius:12px;background:rgba(34,32,39,.96);color:#fff;box-shadow:0 8px 28px #0006;font-size:14px;line-height:1.5;text-align:center;pointer-events:none}.chat-photo-lightbox>.chat-photo-close{z-index:3;background:rgba(34,32,39,.5)}.chat-photo-zoom{position:absolute;inset:0;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;overscroll-behavior:contain}.chat-photo-zoom-viewport{position:absolute;inset:64px 16px 88px;display:flex;align-items:center;justify-content:center;pointer-events:none}.chat-photo-zoom-viewport img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center;will-change:transform;-webkit-user-drag:none}.chat-photo-zoom[data-scale="1.00"]{cursor:zoom-in}.chat-photo-zoom:not([data-scale="1.00"]){cursor:-webkit-grab;cursor:grab}.chat-photo-zoom:not([data-scale="1.00"]):active{cursor:-webkit-grabbing;cursor:grabbing}.diamond-insufficient-dialog{border:1px solid rgba(255,255,255,.09);border-radius:24px;width:min(380px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;padding:34px 26px 24px;background:var(--bg-panel,#242129);color:var(--text-primary,#f5f2f8);text-align:center;box-shadow:0 24px 80px #0007}.diamond-insufficient-dialog::-webkit-backdrop{background:rgba(0,0,0,.62)}.diamond-insufficient-dialog::backdrop{background:rgba(0,0,0,.62)}.media-modal-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;border:0;border-radius:50%;width:32px;height:32px;background:transparent;color:inherit;cursor:pointer}.diamond-insufficient-gem{display:grid;place-items:center;margin:0 auto 18px;width:72px;height:72px;border-radius:50%;background:rgba(159,110,255,.14);color:#c4a6ff}.diamond-insufficient-gem img{width:66px;height:66px;object-fit:contain}.diamond-insufficient-dialog h2{margin:12px 0;font-size:18px;line-height:1.5;font-weight:600}.diamond-insufficient-dialog p{margin:0 0 24px;font-size:13px;line-height:1.7;color:var(--text-secondary,#bbb5c6)}.media-modal-actions{display:flex;flex-direction:column;gap:10px}.media-modal-actions>button{border:0;border-radius:999px;min-height:44px;padding:10px 18px;background:rgba(255,255,255,.06);color:inherit;cursor:pointer;font:inherit;font-size:15px}.media-modal-actions>button.is-primary{background:var(--accent,#7042fa);color:#fff;font-weight:600}.media-modal-actions>button.is-link{background:transparent;text-decoration:underline;text-underline-offset:4px;color:var(--text-secondary,#bbb5c6)}.media-modal-actions>button:disabled{opacity:.5;cursor:wait}.chat-more-menu .auto-media-option{display:flex;align-items:center;justify-content:space-between;gap:16px}.auto-media-switch{flex-shrink:0;width:32px;height:18px;border-radius:12px;background:#5c5865;position:relative}.auto-media-switch:after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .15s}[aria-checked=true]>.auto-media-switch{background:var(--accent,#7042fa)}[aria-checked=true]>.auto-media-switch:after{transform:translateX(14px)}.auto-media-hint{top:calc(100% + 12px);right:0;z-index:10020;width:max-content;max-width:min(280px,75vw);box-sizing:border-box;padding:12px 16px;border:1px solid var(--border-default);border-radius:var(--radius-control);color:var(--text-primary);box-shadow:0 16px 48px #0004;font-size:13px;line-height:1.5;pointer-events:none;transform-origin:top right;animation:auto-media-hint 2s ease both}.auto-media-hint,.auto-media-hint:before{position:absolute;background:var(--bg-panel)}.auto-media-hint:before{content:"";right:14px;top:-5px;width:8px;height:8px;border-left:1px solid var(--border-default);border-top:1px solid var(--border-default);transform:rotate(45deg)}.media-offer-dialog{text-align:left}.media-offer-preview{display:block;width:90px;height:160px;object-fit:cover;border-radius:12px;margin:8px auto 20px}.media-offer-actions{flex-direction:column;gap:12px}.media-offer-actions>button{width:min(280px,100%);min-height:48px;padding:12px 24px;border-radius:var(--radius-control);background:var(--button-secondary);color:var(--text-primary);font-size:16px}.media-offer-dialog.is-closing::-webkit-backdrop{animation:auto-media-backdrop-out .24s ease forwards}.media-offer-dialog.is-closing::backdrop{animation:auto-media-backdrop-out .24s ease forwards}@keyframes auto-media-backdrop-out{to{opacity:0}}@keyframes auto-media-hint{0%{opacity:0;transform:translateY(-4px) scale(.96)}10%,85%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-2px) scale(.98)}}@media (prefers-reduced-motion:reduce){.media-offer-dialog.is-closing::-webkit-backdrop{animation:none}.auto-media-hint,.media-offer-dialog.is-closing::backdrop{animation:none}}.diamond-insufficient-dialog{background:radial-gradient(ellipse at top,#413044 0,var(--bg-panel,#242129) 70%)}.chat-photo-actions .media-debug-button{height:auto;min-height:2em;line-height:1.3;padding-block:5px}body:has(.media-debug-dialog[open]){overflow:hidden}.yomi-confirm-dialog.media-debug-dialog{width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px}.media-debug-dialog .chat-confirm-title{-webkit-padding-end:40px;padding-inline-end:40px}.media-debug-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--text-secondary);cursor:pointer}.media-debug-meta{overflow-wrap:anywhere;font-size:12px!important}.media-debug-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.media-debug-tabs button{padding:8px 12px;border:1px solid var(--border-default);border-radius:var(--radius-control);background:var(--button-secondary);color:var(--text-primary);cursor:pointer}.media-debug-tabs button[aria-pressed=true]{border-color:var(--accent);background:var(--button-primary);color:#fff}.media-debug-content{min-width:0}.media-debug-content pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:60dvh;overflow:auto;margin:0;padding:16px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-input);font:13px/1.65 ui-monospace,monospace;-webkit-user-select:text;-moz-user-select:text;user-select:text}.media-debug-references{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:16px;gap:16px}.media-debug-references figure{min-width:0;margin:0;padding:12px;border:1px solid var(--border-default);border-radius:12px}.media-debug-references img{width:100%;height:240px;object-fit:contain;display:block;margin:12px 0}.media-debug-references a{color:var(--accent)}.media-debug-references code{display:block;margin-top:8px;overflow-wrap:anywhere;white-space:normal;font-size:11px;-webkit-user-select:text;-moz-user-select:text;user-select:text}.chat-photo-status.media-failure{box-sizing:border-box;width:min(100%,340px);max-width:100%;gap:10px;padding:16px 18px}.media-failure-heading{display:flex;align-items:center;gap:8px;color:var(--text-primary,#f2f2f6);font-weight:600;line-height:1.45}.media-failure-heading svg{flex-shrink:0;color:var(--text-secondary,#b5b5c4)}.chat-photo-status .media-failure-body{margin:0;line-height:1.65;font-size:13px;overflow-wrap:anywhere}.media-failure-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;width:100%}.media-failure-footer .msg-tool{flex-shrink:0;white-space:nowrap}.diamond-insufficient-dialog.is-subscription-gate .diamond-insufficient-gem{width:124px;height:88px;background:none;border-radius:0}.diamond-insufficient-dialog.is-subscription-gate .diamond-insufficient-gem img{width:124px;height:88px;object-fit:contain}.diamond-insufficient-dialog.is-subscription-gate .media-modal-actions>button.is-primary,.diamond-insufficient-dialog.is-subscription-gate .media-modal-actions>button.is-primary:hover{background:var(--button-primary,linear-gradient(105deg,#3B5AF6 0,#693FDE 100%));background-origin:border-box}.chat-photo-card .chat-photo-image{width:auto;min-width:0;max-width:256px;flex:1 1}.chat-photo-actions{flex:0 0 auto;max-width:none}.chat-photo-actions>.msg-tool{max-width:none;font-size:13px}.chat-photo-actions button span,.chat-photo-actions>.msg-tool{white-space:nowrap;word-break:normal;overflow-wrap:normal}.chat-photo-actions .media-debug-button{height:2em;min-height:0;line-height:1;padding-block:0}.chat-photo-actions.is-fullscreen{flex-wrap:nowrap;max-width:calc(100vw - 32px);gap:8px}.chat-photo-actions.is-fullscreen>.msg-tool{max-width:none;font-size:14px}@media(max-width:480px){.reverie-chat .msg-tools{flex:1 1;flex-wrap:nowrap;gap:4px;max-width:100%}.reverie-chat .msg-tools>.msg-tool{font-size:13px;gap:4px;padding-inline:6px;white-space:nowrap;height:30px}.chat-photo-actions{gap:10px}.chat-photo-actions.is-fullscreen>.msg-tool{font-size:13px}}.diamond-insufficient-dialog .media-modal-actions>button{font-size:14px}.chat-media-preview{position:relative;display:grid;place-items:center;width:min(70%,256px);aspect-ratio:9/16;margin:8px 0;overflow:hidden;isolation:isolate;border-radius:6px 18px 18px 18px;background:#191819}.chat-media-preview-portrait{position:absolute;inset:0;filter:blur(26px);z-index:-2}.chat-media-preview-portrait>:is(img,.cast-avatar-tile){display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.chat-media-preview:before{content:"";position:absolute;inset:0;background:#000000c7;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff38;z-index:-1}.chat-media-preview-error button,.chat-media-preview>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:calc(100% - 20px);min-height:44px;padding:0 12px;border:1px solid #fff6;border-radius:999px;background:#242129e6;color:white;font:inherit;font-size:14px;cursor:pointer}.chat-media-preview>button{padding-block:8px}.chat-media-preview>button span{min-width:0;white-space:normal;text-align:center;line-height:1.4;overflow-wrap:anywhere}.chat-media-preview>button img{flex:0 0 auto;width:18px;height:18px}.chat-media-preview-error button:disabled,.chat-media-preview>button:disabled{opacity:.55;cursor:default}.chat-media-preview-error .chat-photo-status,.chat-media-preview>.chat-photo-status{max-width:calc(100% - 24px);padding:12px;border:0;background:transparent;box-shadow:none}.chat-media-preview>.chat-photo-status{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.chat-media-preview .chat-photo-percent{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chat-media-preview-error{width:100%;padding:16px;box-sizing:border-box;text-align:center;overflow-wrap:anywhere}.chat-media-preview-error .media-failure{width:100%;margin-inline:auto;display:flex;flex-direction:column;align-items:center;text-align:center}.chat-media-preview-error .media-failure-footer,.chat-media-preview-error .media-failure-heading{justify-content:center}.chat-media-preview-error .media-failure-footer{flex-direction:column}.chat-media-preview-error .media-failure-footer .msg-tool{height:44px;min-height:44px;padding:0 12px;border:1px solid #fff6;border-radius:999px;background:#242129e6;color:white;font-size:14px;font-weight:400}.chat-media-preview-result{position:absolute;inset:0}.chat-media-preview-result .chat-photo-row{margin:0;height:100%}.chat-media-preview-result .chat-photo-card{position:relative;height:100%;width:100%}.chat-media-preview-result .chat-photo-image{width:100%;max-width:none;height:100%;flex:none}.chat-media-preview-result .chat-photo-image img{width:100%;height:100%;object-fit:contain}.chat-media-preview-result .chat-photo-actions{position:absolute;bottom:8px;right:8px}.chat-media-preview.has-result{overflow:visible}.chat-media-price-dialog{width:min(420px,calc(100vw - 48px));max-height:88dvh;padding:0;border:0;border-radius:20px;background:#242129;color:white;overflow:auto}.chat-media-price-dialog::-webkit-backdrop{background:#0009}.chat-media-price-dialog::backdrop{background:#0009}.chat-media-price-panel{position:relative;padding:44px 16px 16px;text-align:center}.chat-media-price-panel>:is(img,video){display:block;width:auto;max-width:100%;height:180px;margin:0 auto;object-fit:contain;border-radius:12px}.chat-media-price-panel>h2{margin:16px 0 12px;font-size:20px}.chat-media-price-panel>p{margin:0 0 24px;color:#bbb5c6;line-height:1.6}.chat-media-price-panel>:is(.chat-media-price-confirm,.chat-media-price-cancel){display:block;width:100%;min-height:48px;border:0;border-radius:999px;color:inherit;background:transparent;cursor:pointer;font:inherit}.chat-media-price-panel>.chat-media-price-confirm{background:#6c3fff}