.message-variant-bar .regenerate-button.is-regenerating:disabled{opacity:1;border-color:#74d8e647;color:#caf6fbf5;background:#2a5b6947}.rewrite-spinner{animation:rewrite-spin .9s linear infinite}.rewrite-progress{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;overflow:hidden;padding:9px 11px 11px;border:1px solid rgba(104,202,220,.2);border-radius:8px;color:#e0f7faf0;background:#091924e6;box-shadow:inset 0 1px #ffffff09,0 8px 24px #00000029}.rewrite-progress-symbol{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border:1px solid rgba(113,216,231,.24);border-radius:50%;color:#9cebf5;background:#397e8f2e;animation:rewrite-breathe 1.8s ease-in-out infinite}.rewrite-progress-copy{display:grid;min-width:0;gap:3px}.rewrite-progress-copy strong{overflow:hidden;font-size:.68rem;font-weight:760;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.rewrite-progress-copy small{display:flex;min-width:0;flex-wrap:wrap;gap:3px 10px;color:#a9c7cfb8;font-size:.51rem;line-height:1.3}.rewrite-progress-copy small span{position:relative;white-space:nowrap}.rewrite-progress-copy small span+span:before{position:absolute;left:-6px;color:#75d9e68c;content:"·"}.rewrite-progress-pulse{display:inline-flex;align-items:center;gap:3px}.rewrite-progress-pulse i{width:4px;height:4px;border-radius:50%;background:#86dce8;animation:rewrite-dot 1.15s ease-in-out infinite}.rewrite-progress-pulse i:nth-child(2){animation-delay:.14s}.rewrite-progress-pulse i:nth-child(3){animation-delay:.28s}.rewrite-progress-track{position:absolute;right:0;bottom:0;left:0;height:2px;overflow:hidden;background:#75d3e114}.rewrite-progress-track:after{display:block;width:42%;height:100%;background:linear-gradient(90deg,transparent,#78d8e7 55%,rgba(237,166,196,.76));content:"";transform:translate(-110%);animation:rewrite-scan 1.45s ease-in-out infinite}.rewrite-preview{margin-top:7px;border:1px solid rgba(111,201,218,.2);border-radius:7px;background:#081925c7;padding:10px 11px;color:#def4f8e6;font-size:.66rem;line-height:1.72}.rewrite-preview:before{content:"新版本预览";display:block;margin-bottom:6px;color:#8eddeb;font-size:.5rem;font-weight:900}.rewrite-choice-stage{width:calc(100% - 42px);margin:0 0 10px 42px;overflow:hidden;border:1px solid rgba(111,205,222,.18);border-radius:8px;padding:9px;background:#091924db;box-shadow:inset 2px 0 #76d8e73d}.rewrite-choice-stage header{display:flex;min-height:22px;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.rewrite-choice-stage header span{display:inline-flex;align-items:center;gap:5px;color:#a8e9f3;font-size:.56rem;font-weight:900}.rewrite-choice-stage header small{color:#a4bec794;font-size:.49rem}.rewrite-choice-paths{display:grid;gap:5px}.rewrite-choice-paths>span{display:grid;grid-template-columns:27px minmax(0,1fr) 18px;min-height:42px;align-items:center;gap:8px;overflow:hidden;border:1px solid rgba(118,201,218,.1);border-radius:7px;padding:7px 9px 7px 7px;background:#1424338f;animation:rewrite-choice-path 1.5s ease-in-out infinite;animation-delay:calc(var(--choice-index) * .12s)}.rewrite-choice-paths i{display:grid;width:27px;height:27px;place-items:center;border:1px solid rgba(126,220,237,.14);border-radius:6px;color:#91dce97a;font-size:.49rem;font-style:normal;font-weight:900}.rewrite-choice-paths b,.rewrite-choice-paths em{display:block;height:7px;overflow:hidden;border-radius:4px;background:#90bfca1f}.rewrite-choice-paths b:after,.rewrite-choice-paths em:after{display:block;width:38%;height:100%;background:linear-gradient(90deg,transparent,rgba(141,225,237,.52),transparent);content:"";transform:translate(-130%);animation:rewrite-choice-scan 1.3s ease-in-out infinite;animation-delay:calc(var(--choice-index) * .12s)}.rewrite-choice-paths em{width:12px;justify-self:center}.choice-rewrite-reveal{animation:rewrite-choice-panel-reveal .65s ease-out both}.choice-rewrite-reveal button{animation:rewrite-choice-reveal .56s cubic-bezier(.2,.75,.24,1) both;animation-delay:calc(var(--choice-index) * 90ms)}@keyframes rewrite-spin{to{transform:rotate(360deg)}}@keyframes rewrite-scan{to{transform:translate(340%)}}@keyframes rewrite-breathe{0%,to{box-shadow:0 0 #75dae800}50%{box-shadow:0 0 0 4px #75dae814}}@keyframes rewrite-dot{0%,65%,to{opacity:.28;transform:translateY(0)}32%{opacity:1;transform:translateY(-2px)}}@keyframes rewrite-choice-path{0%,to{border-color:#76c9da1a;transform:translate(0)}50%{border-color:#76d8e73d;transform:translate(2px)}}@keyframes rewrite-choice-scan{to{transform:translate(360%)}}@keyframes rewrite-choice-panel-reveal{0%{opacity:.3}to{opacity:1}}@keyframes rewrite-choice-reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.rewrite-spinner,.rewrite-progress-symbol,.rewrite-progress-pulse i,.rewrite-progress-track:after,.rewrite-choice-paths>span,.rewrite-choice-paths b:after,.rewrite-choice-paths em:after,.choice-rewrite-reveal,.choice-rewrite-reveal button{animation:none}.rewrite-progress-track:after{width:100%;transform:none}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-9{height:2.25rem}.max-h-36{max-height:9rem}.max-h-64{max-height:16rem}.max-h-\[26rem\]{max-height:26rem}.w-11{width:2.75rem}.w-14{width:3.5rem}.w-9{width:2.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[1fr_7rem\]{grid-template-columns:1fr 7rem}.grid-cols-\[7rem_1fr\]{grid-template-columns:7rem 1fr}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-cyan-100\/15{border-color:#cffafe26}.border-rose-200\/10{border-color:#fecdd31a}.border-rose-200\/15{border-color:#fecdd326}.border-white\/10{border-color:#ffffff1a}.bg-black\/30{background-color:#0000004d}.bg-cyan-100\/10{background-color:#cffafe1a}.bg-cyan-100\/\[0\.06\]{background-color:#cffafe0f}.bg-cyan-200\/10{background-color:#a5f3fc1a}.bg-emerald-200\/10{background-color:#a7f3d01a}.bg-rose-200\/10{background-color:#fecdd31a}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\/\[0\.045\]{background-color:#ffffff0b}.bg-white\/\[0\.04\]{background-color:#ffffff0a}.bg-white\/\[0\.055\]{background-color:#ffffff0e}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-cyan-200{--tw-gradient-from: #a5f3fc var(--tw-gradient-from-position);--tw-gradient-to: rgb(165 243 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-300{--tw-gradient-from: #67e8f9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(103 232 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-rose-300{--tw-gradient-from: #fda4af var(--tw-gradient-from-position);--tw-gradient-to: rgb(253 164 175 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-sky-200{--tw-gradient-from: #bae6fd var(--tw-gradient-from-position);--tw-gradient-to: rgb(186 230 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-violet-200{--tw-gradient-from: #ddd6fe var(--tw-gradient-from-position);--tw-gradient-to: rgb(221 214 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-blue-700{--tw-gradient-to: rgb(29 78 216 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1d4ed8 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-emerald-500{--tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #10b981 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-blue-300{--tw-gradient-to: #93c5fd var(--tw-gradient-to-position)}.to-fuchsia-300{--tw-gradient-to: #f0abfc var(--tw-gradient-to-position)}.to-pink-200{--tw-gradient-to: #fbcfe8 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.to-slate-950{--tw-gradient-to: #020617 var(--tw-gradient-to-position)}.p-3{padding:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pr-0\.5{padding-right:.125rem}.pt-6{padding-top:1.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.68rem\]{font-size:.68rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.text-amber-100\/75{color:#fef3c7bf}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.text-cyan-100{--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity, 1))}.text-cyan-100\/65{color:#cffafea6}.text-cyan-100\/75{color:#cffafebf}.text-cyan-100\/80{color:#cffafecc}.text-cyan-50{--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity, 1))}.text-cyan-50\/75{color:#ecfeffbf}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity, 1))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity, 1))}.text-rose-100{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity, 1))}.text-rose-200{--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity, 1))}.text-slate-200\/75{color:#e2e8f0bf}.text-slate-300\/45{color:#cbd5e173}.text-slate-300\/50{color:#cbd5e180}.text-slate-300\/55{color:#cbd5e18c}.text-slate-300\/65{color:#cbd5e1a6}.text-slate-300\/70{color:#cbd5e1b3}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/35{color:#ffffff59}.text-white\/50{color:#ffffff80}.text-white\/70{color:#ffffffb3}.text-white\/85{color:#ffffffd9}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\[e\:smile\]{e:smile}:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;background:#090b12}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 18% 8%,rgba(20,184,166,.14),transparent 23rem),radial-gradient(circle at 82% 16%,rgba(244,114,182,.1),transparent 22rem),linear-gradient(145deg,#05060b,#11131f 52%,#07080e)}html,body,#root{width:100%;height:100%}body,button,input,textarea{overflow-wrap:anywhere}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}.app-stage{position:relative;display:grid;min-height:100dvh;place-items:center;padding:18px}.desktop-aura{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:42px 42px;-webkit-mask-image:radial-gradient(circle at center,black,transparent 72%);mask-image:radial-gradient(circle at center,black,transparent 72%)}.phone-shell{position:relative;z-index:1;display:flex;width:min(430px,100%);height:min(920px,calc(100dvh - 36px));min-height:680px;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:38px;background:radial-gradient(circle at 50% 0%,rgba(148,163,184,.08),transparent 18rem),#080a12;box-shadow:0 36px 110px #0000009e,inset 0 1px #ffffff0f}.phone-bezel{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;border:5px solid rgba(255,255,255,.035);border-radius:inherit}.app-statusbar{z-index:5;display:flex;height:40px;flex:0 0 auto;align-items:center;justify-content:space-between;padding:0 24px;color:#ffffffe6;font-size:.76rem;font-weight:700}.mengyu-native-android .app-statusbar{display:none}.mengyu-native-android .phone-shell{padding-top:env(safe-area-inset-top,0px)}.status-logo{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:999px;background:#ffffff13;padding:4px 9px;color:#fff}.status-icons{display:flex;align-items:flex-end;gap:4px}.status-icons span{display:block;width:5px;border-radius:999px;background:#ffffffd1}.status-icons span:nth-child(1){height:7px}.status-icons span:nth-child(2){height:10px}.status-icons span:nth-child(3){height:13px}.app-account-strip{z-index:5;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;padding:0 18px 10px}.app-account-strip div{display:flex;align-items:center;gap:8px;color:#fff;font-size:.9rem;font-weight:700}.app-account-strip small{border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#1e293bbd;padding:4px 8px;color:#baf7ff;font-size:.68rem}.app-viewport{position:relative;min-height:0;flex:1;overflow:hidden}.app-viewport-auth{overflow-y:auto}.app-viewport-chat{padding-bottom:env(safe-area-inset-bottom,0px)}.notice-toast{z-index:6;display:flex;flex:0 0 auto;align-items:center;gap:9px;min-height:40px;margin:0 18px 10px;border:1px solid rgba(125,211,252,.14);border-radius:14px;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#080d19b8;padding:8px 8px 8px 11px;color:#e0f7ffe6;box-shadow:0 10px 24px #00000029,inset 0 1px #ffffff0f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-size:.78rem;line-height:1.45}.notice-toast>svg{flex:0 0 auto;color:#baf7ff}.notice-toast>span{display:grid;min-width:0;flex:1;gap:1px}.notice-toast>span strong{color:#ecfbff;font-size:.58rem;font-weight:900}.notice-toast>span small{color:#c9dde4c7;font-size:.66rem;line-height:1.45}.notice-toast-success{border-color:#6fcfdf2e}.notice-toast-error{border-color:#f4a1b440;background:linear-gradient(180deg,#5323344d,#19111dd6)}.notice-toast-error>svg{color:#f2a7b9}.notice-toast-error>span strong{color:#ffd6df}.notice-close{display:grid;width:26px;height:26px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#ffffff0e;color:#e2e8f0c2}.notice-close:hover{background:#ffffff1a;color:#fff}.app-tabbar{z-index:5;display:grid;flex:0 0 auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;margin:0 12px 12px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#080b16c2;padding:4px;box-shadow:0 -10px 30px #0000002e,inset 0 1px #ffffff0f;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.app-tab{display:flex;min-width:0;min-height:44px;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;border-radius:12px;background:transparent;color:#e2e8f085;font-size:.62rem}.app-tab-active{background:radial-gradient(circle at 32% 0%,rgba(125,211,252,.18),transparent 4rem),#ffffff12;color:#fff;box-shadow:inset 0 1px #ffffff17}.welcome-gift-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;background:#03070fc7;padding:18px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.welcome-gift-modal{position:relative;width:min(360px,100%);overflow:hidden;border:1px solid rgba(152,218,232,.22);border-radius:12px;background:#0b1220;box-shadow:0 28px 80px #00000094,inset 0 1px #ffffff12}.welcome-gift-close{position:absolute;top:9px;right:9px;z-index:3;display:grid;width:31px;height:31px;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#070c169e;color:#ebf5f8c7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.welcome-gift-art{position:relative;height:205px;overflow:hidden}.welcome-gift-art img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:62% center;object-position:62% center}.welcome-gift-art>div{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent 48%,#0b1220 100%)}.welcome-gift-copy{position:relative;margin-top:-25px;padding:0 17px 17px}.welcome-gift-eyebrow{display:inline-flex;align-items:center;gap:5px;color:#9ae5f1;font-size:.58rem;font-weight:900}.welcome-gift-copy h2{margin-top:5px;color:#f5fbfc;font-size:1.28rem;font-weight:900;line-height:1.2}.welcome-gift-copy>p{margin-top:7px;color:#bfd0d9b8;font-size:.68rem;line-height:1.58}.welcome-gift-facts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.welcome-gift-facts>span{display:grid;min-width:0;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:1px 5px;border:1px solid rgba(116,197,214,.12);border-radius:8px;background:#345c6c21;padding:8px}.welcome-gift-facts svg{grid-row:1 / 3;color:#93dce8}.welcome-gift-facts b{color:#e8f7f9;font-size:.62rem}.welcome-gift-facts small{overflow:hidden;color:#9bb1bc94;font-size:.49rem;text-overflow:ellipsis;white-space:nowrap}.welcome-gift-action{display:flex;width:100%;min-height:43px;align-items:center;justify-content:center;gap:7px;margin-top:13px;border:1px solid rgba(202,240,246,.46);border-radius:8px;background:#d9eff3;color:#0a2028;font-size:.72rem;font-weight:900;box-shadow:0 9px 24px #3c99ac29}.primary-button,.secondary-button,.mini-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.12);transition:transform .16s ease,border-color .16s ease,background .16s ease}.primary-button{min-height:50px;border-color:#ffffff52;border-radius:16px;background:linear-gradient(180deg,#fffffffa,#dae6f2e6 56%,#b8cde0eb),#eef6ff;color:#090d18;font-weight:800;box-shadow:0 14px 32px #7dd3fc1f,0 2px #ffffff38 inset,0 -1px #0f172a2e inset;padding:0 16px}.secondary-button{min-height:50px;border-color:#ffffff1a;border-radius:16px;background:linear-gradient(180deg,#ffffff13,#ffffff06),#090d18c7;color:#ffffffe6;box-shadow:inset 0 1px #ffffff1a,0 12px 28px #0000002e;padding:0 16px}.mini-icon-button{width:40px;height:40px;flex:0 0 auto;border-radius:13px;background:#ffffff14;color:#e0f2fe}.primary-button:hover,.secondary-button:hover,.mini-icon-button:hover,.app-tab:hover{transform:translateY(-1px)}.eyebrow{color:#9eeaff;font-size:.72rem;font-weight:800;text-transform:uppercase}.onboarding-screen{position:relative;display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden}.onboarding-art{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.onboarding-art img,.home-hero-card img,.pass-visual-card img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:58% 50%;object-position:58% 50%}.onboarding-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#04060e14,#04060e0a 28%,#080a129e,#080a12 96%),linear-gradient(90deg,#04060e5c,#04060e0a 58%)}.brand-lockup{position:absolute;left:22px;top:24px;display:flex;align-items:center;gap:12px}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:linear-gradient(180deg,#ffffff38,#ffffff12),#0f172a47;color:#fff;font-size:1.34rem;font-weight:900;box-shadow:inset 0 1px #ffffff42;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand-lockup h1{font-size:1.42rem;font-weight:900;line-height:1.05}.brand-lockup p{margin-top:4px;color:#ffffffa3;font-size:.68rem}.price-ticket{position:absolute;left:22px;right:auto;top:54%;display:flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:linear-gradient(180deg,#ffffff1f,#ffffff0a),#0b12209e;padding:8px 11px;color:#fff;font-size:.78rem;font-weight:800;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.onboarding-copy{position:absolute;z-index:1;left:0;right:0;bottom:0;display:flex;flex-direction:column;padding:92px 22px 22px;background:linear-gradient(to bottom,transparent,rgba(8,10,18,.78) 24%,#080a12 64%),radial-gradient(circle at 18% 20%,rgba(103,232,249,.09),transparent 12rem)}.onboarding-copy h2{margin-top:8px;color:#f8fafc;font-size:1.5rem;font-weight:900;line-height:1.18;letter-spacing:0}.onboarding-lead{margin-top:12px;max-width:26em;color:#cbd5e1b8;font-size:.86rem;line-height:1.7}.feature-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.feature-pills span{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(180deg,#ffffff0f,#ffffff05),#0f172a80;padding:7px 9px;color:#e2e8f0c7;font-size:.73rem}.action-stack{display:grid;gap:11px;margin-top:22px}.action-stack .primary-button,.action-stack .secondary-button{min-height:54px;font-size:.94rem}.action-stack .primary-button{letter-spacing:0}.auth-screen{display:grid;min-height:100%;place-items:center;padding:22px}.auth-card,.pass-form-card{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:#ffffff14;padding:22px;box-shadow:0 18px 44px #00000047;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.form-label{display:block;color:#e2e8f0e0;font-size:.86rem;font-weight:700}.form-input-wrap,.app-search,.chat-input-wrap{display:flex;align-items:center;gap:10px;margin-top:8px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#ffffff13;padding:12px 14px;color:#bae6fd}.form-input-wrap input,.form-input-wrap textarea,.app-search input,.chat-input-wrap textarea{width:100%;border:0;outline:0;background:transparent;color:#fff}.form-input-wrap textarea{min-height:88px;resize:none;line-height:1.62}.app-page{height:100%;overflow-y:auto;padding:0 16px 18px;scrollbar-width:none}.app-page::-webkit-scrollbar,.chat-scroll::-webkit-scrollbar,.module-strip::-webkit-scrollbar,.conversation-rail::-webkit-scrollbar{display:none}.home-hero-card{position:relative;min-height:220px;overflow:hidden;border-radius:22px;background:#111827}.home-hero-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#080a140f,#080a149e),linear-gradient(90deg,#080a14c7,#080a1414)}.home-hero-content{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:space-between;padding:20px}.home-hero-content h1{margin-top:4px;max-width:8em;font-size:2.05rem;font-weight:900;line-height:1.05}.home-hero-content p:not(.eyebrow){margin-top:10px;max-width:17em;color:#ffffffc7;font-size:.88rem;line-height:1.6}.hero-pass-chip{display:inline-flex;width:-moz-max-content;width:max-content;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff24;padding:9px 12px;color:#fff;font-size:.8rem;font-weight:800;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.home-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.home-metrics button{display:flex;min-width:0;min-height:58px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#ffffff13;color:#f1f5f9eb;font-size:.76rem}.app-search{margin:0 0 18px}.section-block{margin-top:18px}.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.section-title-row h2{margin-top:1px;font-size:1.22rem;font-weight:900}.section-title-row>span{color:#cbd5e1b3;font-size:.78rem}.section-title-row button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;background:#67e8f929;padding:8px 12px;color:#cffafe;font-size:.8rem;font-weight:800}.featured-role{position:relative;display:flex;min-height:150px;align-items:flex-end;overflow:hidden;border-radius:20px;padding:16px}.featured-role:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 75% 10%,rgba(255,255,255,.32),transparent 7rem),linear-gradient(145deg,#0206171f,#0206178f)}.featured-role-mark{position:absolute;right:18px;top:10px;z-index:1;color:#ffffff38;font-size:5.8rem;font-weight:900;line-height:1}.featured-role-text{position:relative;z-index:1}.featured-role-text h3{font-size:2rem;font-weight:900}.featured-role-text p{margin-top:2px;color:#ffffffd1;font-size:.9rem}.featured-role-text div{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.featured-role-text span,.tag-chip{display:inline-flex;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#ffffff1c;padding:5px 8px;color:#f0f9ffeb;font-size:.72rem}.featured-role>button{position:absolute;right:16px;bottom:16px;z-index:2;display:grid;width:42px;height:42px;place-items:center;border:0;border-radius:14px;background:#fff;color:#0f172a}.role-card-list{display:grid;gap:10px}.app-role-row{display:flex;width:100%;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#ffffff12;padding:12px;color:#fff}.app-role-row-active{border-color:#67e8f96b;background:#67e8f921}.role-avatar,.role-avatar-large,.mini-avatar{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;box-shadow:inset 0 0 20px #ffffff2e}.role-avatar{width:56px;height:56px;flex:0 0 auto;border-radius:18px;font-size:1.2rem}.mini-avatar{width:34px;height:34px;flex:0 0 auto;overflow:hidden;border-radius:12px;font-size:.86rem}.mini-avatar img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.player-message-avatar{display:grid;width:30px;height:30px;flex:0 0 auto;overflow:hidden;place-items:center;border:1px solid rgba(186,230,253,.2);border-radius:8px;background:#5d919e2e;color:#dff7fb;font-size:.68rem;box-shadow:inset 0 1px #ffffff14}.player-message-avatar img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.row-action{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:12px;background:#ffffff14;color:#baf7ff}.chat-app-page{height:100%;min-height:0;padding:0 10px 8px}.chat-panel{position:relative;display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:#0206179e}.chat-hero-bg{position:absolute;top:0;right:0;bottom:0;left:0;background-position:center 24%;background-size:cover;opacity:.22}.chat-hero-bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#02061733,#020617d1),radial-gradient(circle at 76% 18%,rgba(255,255,255,.34),transparent 10rem)}.chat-app-header{position:relative;z-index:1;display:flex;flex:0 0 auto;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.09);background:#0a0d188a;padding:12px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.chat-header-mark{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border:1px solid rgba(125,211,252,.12);border-radius:8px;background:#477c8c17;color:#a6e7f1b8}.chat-app-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.03rem;font-weight:900}.chat-app-header p{overflow:hidden;color:#bae6fdc2;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.conversation-rail,.module-strip{position:relative;z-index:1;display:flex;flex:0 0 auto;gap:8px;overflow-x:auto;padding:10px 12px}.conversation-pill,.module-chip{display:inline-flex;min-width:-moz-max-content;min-width:max-content;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff13;color:#e2e8f0db;font-size:.78rem}.conversation-pill{padding:5px 10px 5px 5px}.conversation-pill-active,.module-chip:hover{border-color:#67e8f95c;background:#67e8f929;color:#fff}.chat-module-bar{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);background:#0f172a57}.module-strip{padding-top:9px;padding-bottom:9px}.module-chip{padding:8px 11px}.chat-scroll{position:relative;z-index:1;min-height:0;flex:1;overflow-y:auto;padding:14px 12px}.chat-scroll *{overflow-anchor:none}.message-row{display:flex;align-items:flex-start;gap:8px;margin-bottom:14px}.message-row-user{justify-content:flex-end}.message-content-column{display:grid;min-width:0;max-width:82%;gap:5px}.message-row-user .message-content-column{justify-items:end}.user-turn-actions{display:flex;flex:0 0 auto;flex-direction:column;align-self:center;gap:3px;opacity:.72}.user-turn-actions button{display:grid;width:27px;height:27px;place-items:center;border:1px solid rgba(174,218,228,.13);border-radius:7px;background:#111d2ac7;color:#c8e5ebc7}.user-turn-actions button.danger{border-color:#f096aa24;color:#f1a5b6c7}.message-edit-card{width:min(310px,100%);overflow:hidden;border:1px solid rgba(116,210,228,.32);border-radius:8px;background:#091726f7;box-shadow:0 16px 38px #00000057}.message-edit-card header,.message-edit-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px}.message-edit-card header{border-bottom:1px solid rgba(255,255,255,.07);color:#bcecf4;font-size:.59rem;font-weight:850}.message-edit-card header span,.message-edit-card footer button{display:inline-flex;align-items:center;gap:5px}.message-edit-card header button{display:grid;width:25px;height:25px;place-items:center;border-radius:6px;background:#ffffff0d}.message-edit-card textarea{display:block;width:100%;min-height:94px;resize:vertical;border:0;background:#ffffff06;padding:10px;color:#edf9fb;font-size:.7rem;line-height:1.6;outline:none}.message-edit-card footer{border-top:1px solid rgba(255,255,255,.07)}.message-edit-card footer small{color:#9bb5bf8f;font-size:.52rem}.message-edit-card footer button{min-height:32px;border-radius:7px;background:#d8eef3;padding:0 9px;color:#0b1c25;font-size:.57rem;font-weight:900}.message-content-column .chat-bubble{max-width:100%}.message-variant-bar{display:flex;min-height:25px;align-items:center;gap:4px;padding:0 3px;color:#aec8d39e;font-size:.54rem}.message-variant-bar b{color:#cbe2e9c7;font-weight:750}.message-variant-bar button{display:inline-flex;width:23px;height:23px;align-items:center;justify-content:center;border-radius:6px;color:#cae5eccc}.message-variant-bar button:disabled{opacity:.28}.message-variant-bar .variant-separator{width:1px;height:11px;background:#ffffff1a}.message-variant-bar .regenerate-button{width:auto;margin-left:3px;gap:4px;padding:0 6px;border:1px solid rgba(111,201,218,.13);background:#2e536129}.message-variant-bar .regenerate-button span{font-size:.52rem}.chat-bubble{max-width:78%;border:1px solid rgba(255,255,255,.1);border-radius:17px;padding:10px 12px;line-height:1.72;white-space:pre-wrap}.chat-bubble-ai{background:#0f172ae0;color:#f8fafcf0}.chat-bubble-user{background:linear-gradient(135deg,#67e8f9e6,#fb7185c7);color:#08111f;font-weight:700}.typing-bubble{display:flex;align-items:center;gap:5px;border-radius:16px;background:#ffffff1a;padding:12px 14px}.typing-bubble span{width:7px;height:7px;border-radius:999px;background:#bae6fd;animation:typing-pulse 1s infinite ease-in-out}.typing-bubble span:nth-child(2){animation-delay:.15s}.typing-bubble span:nth-child(3){animation-delay:.3s}@keyframes typing-pulse{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}.chat-composer{position:relative;z-index:1;flex:0 0 auto;border-top:1px solid rgba(255,255,255,.1);background:#0a0d18b8;padding:10px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.composer-warning{margin-bottom:8px;border:1px solid rgba(251,191,36,.2);border-radius:14px;background:#fbbf241a;padding:9px 10px;color:#fde68a;font-size:.78rem}.composer-tools{display:flex;gap:8px;margin-bottom:8px}.composer-tools button{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff13;padding:7px 10px;color:#e2e8f0e0;font-size:.76rem}.chat-input-wrap{margin-top:0;align-items:flex-end;padding:7px}.chat-function-button{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border:1px solid rgba(134,196,210,.18);border-radius:8px;background:#4f7e8b1a;color:#d3eff4d1;transition:transform .16s ease,background .16s ease,border-color .16s ease}.chat-function-button.active{border-color:#7edced61;background:#376c7a57;color:#fff;transform:rotate(45deg)}.chat-function-dock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:7px;border:1px solid rgba(117,190,205,.13);border-radius:8px;background:#0c1825e6;padding:6px;box-shadow:0 12px 26px #0003}.chat-function-dock button{display:flex;min-width:0;min-height:40px;align-items:center;justify-content:center;gap:6px;border-right:1px solid rgba(255,255,255,.07);color:#d8ebf0d1;font-size:.61rem;font-weight:800}.chat-function-dock button:last-child{border-right:0}.chat-function-dock button svg{width:16px;height:16px;color:#9edce8}.chat-function-dock button.danger,.chat-function-dock button.danger svg{color:#f8a6b7d1}.chat-input-wrap textarea{min-height:40px;max-height:110px;resize:none;padding:8px 6px}.send-button{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border:0;border-radius:14px;background:linear-gradient(135deg,#67e8f9,#f9a8d4);color:#08111f}.settings-page{padding-top:2px}.settings-page-real{display:grid;min-width:0;align-content:start;gap:18px;overflow-x:hidden;padding-top:8px}.settings-page-real>*{min-width:0}.settings-real-head{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(255,255,255,.08);padding:4px 2px 13px}.settings-real-head span{color:#89d7e5;font-size:.55rem;font-weight:900}.settings-real-head h1{margin-top:2px;font-size:1.45rem;line-height:1}.settings-real-head p{margin-top:5px;color:#9eb1bda8;font-size:.6rem}.settings-real-head>button{display:inline-flex;min-height:34px;align-items:center;gap:5px;border:1px solid rgba(137,215,229,.22);border-radius:7px;background:#27525f33;padding:0 10px;color:#d9f8fd;font-size:.62rem;font-weight:850}.settings-real-head>div{min-width:0}.settings-account-section,.settings-command-section,.settings-version-section{display:grid;min-width:0;gap:8px}.settings-section-heading{display:flex;min-width:0;align-items:end;justify-content:space-between;gap:10px;padding:0 2px}.settings-section-heading>div{min-width:0}.settings-section-heading>div>span{display:block;color:#82d8e7;font-size:.48rem;font-weight:900;letter-spacing:0}.settings-section-heading h2{margin-top:2px;color:#eef9fb;font-size:.88rem;font-weight:900}.settings-section-heading>small{max-width:48%;overflow:hidden;color:#9bb1bd9e;font-size:.51rem;text-align:right;text-overflow:ellipsis;white-space:nowrap}.settings-account-band{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid rgba(124,205,220,.15);border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(90deg,#27536033,#0d141f2e);padding:12px 10px}.settings-account-identity{display:flex;min-width:0;align-items:center;gap:10px}.settings-account-identity>span:last-child{min-width:0}.settings-account-identity strong,.settings-account-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-account-identity strong{color:#f3fbfc;font-size:.76rem}.settings-account-identity small{margin-top:3px;color:#9db3bfa8;font-size:.52rem}.settings-account-band .persona-avatar{width:42px;height:42px;overflow:hidden;border-radius:10px}.settings-account-actions{display:flex;flex:0 0 auto;gap:5px}.settings-account-actions button{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(128,203,218,.18);border-radius:7px;background:#254c592e;padding:0 8px;color:#c6edf3;font-size:.55rem;font-weight:850}.settings-account-actions button.danger{border-color:#f196aa24;background:#5b2b391a;color:#f6aabad6;padding:0}.settings-profile-editor{display:grid;min-width:0;gap:12px;border-left:2px solid rgba(113,203,219,.45);background:#0f19268f;padding:13px 12px}.settings-profile-head{grid-template-columns:48px minmax(0,1fr);margin:0}.settings-profile-fields{display:grid;min-width:0;gap:10px}.settings-profile-fields label{display:grid;min-width:0;gap:6px;color:#bccfd7b8;font-size:.57rem;font-weight:800}.settings-profile-fields input,.settings-profile-fields textarea{width:100%;min-width:0;border:1px solid rgba(255,255,255,.09);border-radius:7px;outline:0;background:#070c168c;padding:10px 11px;color:#f3f8fa;font-size:.67rem;line-height:1.55}.settings-profile-fields textarea{min-height:92px;resize:vertical}.settings-tag-input{display:grid;min-width:0;grid-template-columns:19px minmax(0,1fr);align-items:center;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#070c168c;padding-left:10px;color:#8cdce9}.settings-tag-input input{border:0;background:transparent}.settings-save-profile{display:inline-flex;min-height:39px;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(188,231,238,.42);border-radius:7px;background:#d7eef2;color:#0a1b23;font-size:.63rem;font-weight:900}.settings-status-strip{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}.settings-status-strip>div{display:grid;min-width:0;gap:3px;border-right:1px solid rgba(255,255,255,.06);padding:10px 7px}.settings-status-strip>div:last-child{border-right:0}.settings-status-strip span,.settings-status-strip strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-status-strip span{color:#93a8b499;font-size:.48rem}.settings-status-strip strong{color:#e7f5f7;font-size:.62rem}.settings-command-section .settings-module-row{min-height:58px;border-top:1px solid rgba(255,255,255,.065);border-bottom:0;padding:9px 5px;text-align:left}.settings-command-section .settings-module-row:last-child{border-bottom:1px solid rgba(255,255,255,.065)}.settings-command-section .module-icon{width:34px;height:34px;border:1px solid rgba(111,199,216,.15);border-radius:7px;background:#2a54602e;color:#9de0ec}.settings-command-section .module-row-head{font-size:.66rem}.settings-command-section .module-row-desc{margin-top:2px;font-size:.53rem;-webkit-line-clamp:2}.settings-command-section .settings-module-row>svg{flex:0 0 auto;color:#9bb1bd80}.settings-version-band{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.065);border-bottom:1px solid rgba(255,255,255,.065);padding:11px 5px}.settings-version-band>span{min-width:0}.settings-version-band strong,.settings-version-band small{display:block}.settings-version-band strong{color:#eaf7f9;font-size:.64rem}.settings-version-band small{margin-top:3px;color:#97abb799;font-size:.51rem;line-height:1.45}.settings-version-band button{display:inline-flex;min-height:34px;flex:0 0 auto;align-items:center;gap:5px;border:1px solid rgba(119,203,218,.2);border-radius:7px;background:#274f5c2e;padding:0 9px;color:#c9edf3;font-size:.54rem;font-weight:850}.settings-hero,.pass-mini-card,.settings-list-card,.pass-fact-row,.pass-form-card{border:1px solid rgba(255,255,255,.1);background:#ffffff13;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.settings-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-radius:20px;padding:18px}.settings-hero h1{margin-top:3px;font-size:2rem;font-weight:900}.settings-hero p:not(.eyebrow){margin-top:8px;color:#e2e8f0c2;font-size:.84rem;line-height:1.55}.settings-hero button{display:inline-flex;min-width:-moz-max-content;min-width:max-content;align-items:center;gap:6px;border:0;border-radius:999px;background:#facc1529;padding:9px 11px;color:#fde68a;font-size:.8rem;font-weight:800}.pass-mini-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 18px;border-radius:18px;padding:14px}.pass-mini-card p{color:#e2e8f0b3;font-size:.78rem}.pass-mini-card h2{margin-top:2px;font-size:1.02rem;font-weight:900}.pass-mini-card .primary-button{min-height:38px;border-radius:13px}.settings-editor-card{border:1px solid rgba(255,255,255,.09);border-radius:20px;background:linear-gradient(180deg,#fff1,#ffffff06),#0a0e19a8;padding:15px;margin-bottom:14px;box-shadow:inset 0 1px #ffffff0f}.settings-account-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;margin:-4px 0 14px;border-bottom:1px solid rgba(255,255,255,.07);padding:0 2px 14px}.settings-account-row .persona-avatar{width:42px;height:42px;border-radius:10px}.settings-account-row strong,.settings-account-row small{display:block}.settings-account-row strong{color:#f2f8faf0;font-size:.78rem}.settings-account-row small{margin-top:2px;color:#97a9b5a3;font-size:.57rem}.settings-account-row button{display:inline-flex;min-height:34px;align-items:center;gap:5px;border:1px solid rgba(248,166,183,.14);border-radius:8px;background:#6e37461a;padding:0 9px;color:#f8b2c0d1;font-size:.62rem;font-weight:800}.custom-api-lock-note{display:grid;width:100%;min-height:48px;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:8px;margin:12px 0 9px;border:1px solid rgba(244,199,122,.15);border-radius:8px;background:#7453261a;padding:7px 9px;color:#ecd9b4;text-align:left}.custom-api-lock-note>svg:first-child{color:#dfbd7d}.custom-api-lock-note strong,.custom-api-lock-note small{display:block}.custom-api-lock-note strong{font-size:.65rem}.custom-api-lock-note small{margin-top:2px;color:#cfbfa09e;font-size:.54rem}.api-toggle.locked{opacity:.64}.persona-editor{overflow:visible;background:radial-gradient(circle at 18% 0%,rgba(125,211,252,.12),transparent 10rem),linear-gradient(180deg,#ffffff0f,#ffffff05),#080c17bd}.persona-editor.collapsed{padding-bottom:2px}.persona-editor.collapsed .persona-head{margin-bottom:0}.persona-expand{display:inline-flex;min-height:32px;flex:0 0 auto;align-items:center;gap:4px;border:1px solid rgba(132,205,220,.16);border-radius:7px;background:#2a4f5b29;padding:0 8px;color:#bfe8ef;font-size:.58rem;font-weight:850}.persona-expand svg{transition:transform .16s ease}.persona-editor.expanded .persona-expand svg{transform:rotate(180deg)}.persona-head{display:grid;min-width:0;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;margin-bottom:14px}@media(max-width:380px){.persona-head{grid-template-columns:44px minmax(0,1fr);align-items:flex-start}.persona-head>.min-w-0{padding-top:2px}.persona-head h2{font-size:1rem}.persona-head span:not(.persona-avatar){max-width:180px;font-size:.64rem}.settings-page-real{gap:15px;padding-right:12px;padding-left:12px}.settings-account-actions button span,.settings-version-band button span{display:none}.settings-account-actions button{width:34px;padding:0}.settings-status-strip{grid-template-columns:1fr 1fr}.settings-status-strip>div:nth-child(2){border-right:0}.settings-status-strip>div:last-child{grid-column:1 / -1;border-top:1px solid rgba(255,255,255,.06)}}.persona-avatar{display:grid;width:48px;height:48px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:linear-gradient(180deg,#ffffff29,#ffffff0a),#7dd3fc1c;color:#e0f7ff;font-size:1.18rem;font-weight:900;box-shadow:inset 0 1px #ffffff21}.persona-avatar img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.persona-avatar-edit{position:relative;overflow:visible;padding:0}.persona-avatar-edit>img{overflow:hidden;border-radius:inherit}.persona-avatar-edit>i{position:absolute;right:-4px;bottom:-3px;display:grid;width:20px;height:20px;place-items:center;border:2px solid #101522;border-radius:7px;background:#87d5e5;color:#0b2029}.persona-head h2{margin-top:1px;font-size:1.18rem;font-weight:900}.persona-head span:not(.persona-avatar){display:block;margin-top:3px;overflow:hidden;color:#cbd5e1ad;font-size:.74rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.persona-head small{min-width:-moz-max-content;min-width:max-content;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#ffffff0e;padding:5px 8px;color:#bae6fdc2;font-size:.66rem;font-weight:900}.persona-card{border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#03071261;padding:13px;box-shadow:inset 0 1px #ffffff0d}.persona-card label{display:block;color:#e2e8f09e;font-size:.74rem;font-weight:800}.persona-card input,.persona-card textarea{display:block;width:100%;border:0;outline:0;background:transparent;color:#f8fafcf0;font-weight:700}.persona-card input{margin-top:7px;font-size:1rem}.persona-card textarea{min-height:112px;margin-top:8px;resize:none;font-size:.9rem;font-weight:650;line-height:1.74}.persona-card input::-moz-placeholder,.persona-card textarea::-moz-placeholder{color:#94a3b87a}.persona-card input::placeholder,.persona-card textarea::placeholder{color:#94a3b87a}.persona-card textarea::-moz-selection,.persona-card input::-moz-selection{background:#7dd3fc3d;color:#fff}.persona-card textarea::selection,.persona-card input::selection{background:#7dd3fc3d;color:#fff}.persona-divider{height:1px;margin:13px 0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.09),transparent)}.persona-tags{display:flex;flex-wrap:wrap;gap:7px;min-height:28px;margin-top:10px}.persona-tags span{border:1px solid rgba(125,211,252,.16);border-radius:999px;background:#7dd3fc14;padding:5px 8px;color:#bae6fddb;font-size:.68rem;font-weight:800}.editor-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px}.editor-title>svg{color:#bae6fd;margin-top:2px}.editor-title h2{font-size:1.04rem;font-weight:900}.editor-title p{margin-top:3px;color:#cbd5e1ad;font-size:.76rem;line-height:1.5}.textarea-wrap{align-items:flex-start}.textarea-wrap textarea{min-height:84px;resize:vertical}.api-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:#ffffff0e;padding:10px 11px;color:#e2e8f0d1;font-size:.84rem;font-weight:800}.api-toggle i{position:relative;width:42px;height:24px;border-radius:999px;background:#94a3b847;transition:background .16s ease}.api-toggle i:after{content:"";position:absolute;top:4px;left:4px;width:16px;height:16px;border-radius:999px;background:#ffffffeb;transition:transform .16s ease}.api-toggle-on{border-color:#7dd3fc3d;color:#e0f7ff}.api-toggle-on i{background:#2dd4bf61}.api-toggle-on i:after{transform:translate(18px)}.gateway-card{margin-bottom:14px}.settings-groups{display:grid;gap:14px}.settings-list-card{overflow:hidden;border-radius:18px}.settings-list-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08);padding:14px;font-weight:900}.settings-list-title small{color:#cbd5e1ad;font-size:.75rem}.settings-module-row{display:flex;width:100%;align-items:center;gap:12px;border:0;border-bottom:1px solid rgba(255,255,255,.07);background:transparent;padding:13px 14px;color:#fff}.settings-module-row:last-child{border-bottom:0}.module-icon{display:grid;width:46px;height:46px;flex:0 0 auto;place-items:center;border-radius:16px;color:#07111f}.module-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:900}.module-row-desc{display:-webkit-box;margin-top:3px;overflow:hidden;color:#cbd5e1b8;font-size:.76rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:1}.status-badge{min-width:-moz-max-content;min-width:max-content;border-radius:999px;padding:4px 7px;font-size:.66rem;font-weight:900}.status-ready{background:#2dd4bf29;color:#99f6e4}.status-mock{background:#7dd3fc29;color:#bae6fd}.status-planned{background:#f472b624;color:#fbcfe8}.status-locked{background:#fbbf2424;color:#fde68a}.pass-page{display:grid;gap:10px;padding-bottom:22px}.pass-visual-card{position:relative;min-height:390px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:26px;background:radial-gradient(circle at 20% 0%,rgba(186,230,253,.18),transparent 12rem),#080d1a;padding:18px;box-shadow:0 20px 50px #00000047,inset 0 1px #ffffff14}.pass-visual-card img{-o-object-fit:cover;object-fit:cover;-o-object-position:53% 10%;object-position:53% 10%;filter:saturate(.96) contrast(1.02)}.pass-card-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#04070e0a,#04070e2e 42%,#04070ed1 74%,#080a12),linear-gradient(90deg,rgba(4,7,14,.34),transparent 64%)}.pass-ticket-top,.pass-ticket-copy{position:relative;z-index:1}.pass-ticket-top{display:flex;align-items:center;justify-content:space-between}.pass-ticket-top span{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:#080c1880;padding:7px 10px;color:#dff8ff;font-size:.76rem;font-weight:800;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.pass-ticket-top strong{color:#ffffffeb;font-size:1.5rem;font-weight:900;letter-spacing:0}.pass-ticket-copy{position:absolute;left:18px;right:18px;bottom:20px}.pass-ticket-copy svg{color:#bae6fd}.pass-ticket-copy h1{margin-top:9px;font-size:1.95rem;font-weight:900;line-height:1.05;letter-spacing:0}.pass-ticket-copy p{margin-top:9px;max-width:18em;color:#e2e8f0c2;font-size:.84rem;line-height:1.55}.checkin-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:20px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,#ffffff0d,#ffffff05)}.checkin-card-ready{border-color:#facc1559;background:linear-gradient(135deg,#facc1524,#f9731614);box-shadow:0 10px 28px #facc151f}.checkin-copy{display:flex;align-items:center;gap:12px;color:#fcd34d}.checkin-copy p{margin:0;font-size:.72rem;letter-spacing:.08em;opacity:.75}.checkin-copy strong{display:block;font-size:.95rem}.checkin-copy small{display:inline-flex;align-items:center;gap:4px;color:#ffffffa8;font-size:.74rem}.checkin-card .primary-button{flex-shrink:0}.checkin-card .primary-button:disabled{opacity:.55}.pass-facts{display:grid;grid-template-columns:1fr;gap:7px}.trial-gift-fact{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;overflow:hidden;border:1px solid rgba(126,218,232,.2);border-radius:15px;background:linear-gradient(120deg,#59b4c629,#8b6e9a1a),#0e1420c2;padding:12px;box-shadow:inset 0 1px #ffffff0f}.trial-gift-fact>svg{width:36px;height:36px;border:1px solid rgba(176,236,246,.18);border-radius:10px;background:#73cfe01a;padding:8px;color:#bceef6}.trial-gift-fact p,.trial-gift-fact strong,.trial-gift-fact small{display:block}.trial-gift-fact p{color:#bceef6;font-size:.7rem;font-weight:850}.trial-gift-fact strong{margin-top:2px;color:#f8fbfcf2;font-size:.88rem}.trial-gift-fact small{margin-top:4px;color:#bccad3ab;font-size:.62rem;line-height:1.5}.admin-entry-card{margin:14px 0}.admin-module-icon{background:#75cddd1f;color:#bceef6}.billing-section{border:1px solid rgba(255,255,255,.09);border-radius:21px;background:linear-gradient(180deg,#ffffff0f,#ffffff05),#0a0e199e;padding:14px}.billing-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.billing-section-head h2{margin-top:2px;font-size:1.14rem;font-weight:900}.billing-section-head small{max-width:10em;color:#cbd5e1a3;font-size:.68rem;line-height:1.35;text-align:right}.plan-list{display:grid;gap:8px}.plan-card{position:relative;display:grid;width:100%;grid-template-columns:96px 1fr;align-items:stretch;gap:11px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#ffffff09;padding:9px;color:#fff;text-align:left;box-shadow:inset 0 1px #ffffff0b}.plan-thumb{position:relative;display:block;width:96px;height:78px;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:#0f172a99}.plan-thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:.86}.plan-thumb:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,rgba(255,255,255,.06),transparent 42%),linear-gradient(90deg,rgba(4,7,14,.42),transparent)}.plan-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:1px 0}.plan-title-row{display:flex;align-items:center;gap:6px}.plan-title-row strong{min-width:0;flex:1;font-size:.92rem;font-weight:900;line-height:1.25}.plan-title-row em{min-width:-moz-max-content;min-width:max-content;border-radius:999px;background:#7dd3fc24;padding:3px 6px;color:#bae6fd;font-size:.62rem;font-style:normal;font-weight:900}.plan-title-row b{min-width:-moz-max-content;min-width:max-content;color:#fffffff5;font-size:.95rem;font-weight:900}.plan-copy>span:nth-child(2),.plan-perks{display:block;color:#cbd5e1ad;font-size:.7rem;line-height:1.42}.plan-copy>span:nth-child(2){display:-webkit-box;margin-top:4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.plan-perks{margin-top:4px;color:#bae6fdad}.plan-period{position:absolute;right:11px;bottom:8px;color:#cbd5e194;font-size:.62rem;font-weight:800}.plan-card-dust{padding-bottom:28px}.plan-card-dust .plan-perks{padding-right:76px}.pass-fact-row{display:flex;align-items:center;gap:11px;border-radius:15px;padding:11px 12px;box-shadow:inset 0 1px #ffffff0d}.pass-fact-row svg{color:#bae6fd}.pass-fact-row p{color:#cbd5e1b8;font-size:.74rem}.pass-fact-row strong{display:block;margin-top:2px;color:#fff;font-size:.9rem}.pass-form-card{border-radius:22px;background:linear-gradient(180deg,#ffffff12,#ffffff06),#0a0e19b8;box-shadow:inset 0 1px #ffffff14,0 16px 40px #0000003d}.pass-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pass-form-card h2{font-size:1.2rem;font-weight:900}.pass-form-card p,.pass-form-head p{margin-top:5px;color:#cbd5e1b8;font-size:.82rem}.pass-form-head svg{color:#bae6fd}.app-empty{display:grid;height:100%;place-items:center;padding:24px;text-align:center}.app-empty>div{width:100%;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:#ffffff13;padding:26px 18px}.glass-panel,.hero-card,.feature-hero,.pass-card,.role-detail,.settings-group{border:1px solid rgba(255,255,255,.1);border-radius:18px;background:#ffffff13}.icon-button{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#ffffff14;color:#e0f2fe}.role-library-page{padding-top:8px}.role-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:10px 2px 18px}.role-library-head h1{margin-top:4px;font-size:1.85rem;font-weight:900;line-height:1.1}.role-library-head>div>p:last-child{max-width:22em;margin-top:9px;color:#cbd5e1ad;font-size:.82rem;line-height:1.55}.library-count{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;border:1px solid rgba(125,211,252,.18);border-radius:999px;background:#7dd3fc1a;padding:7px 9px;color:#d8f6ff;font-size:.72rem;font-weight:800}.role-search{margin-bottom:14px}.role-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.character-card{position:relative;display:block;min-width:0;aspect-ratio:.69;overflow:hidden;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:#111827;color:#fff;text-align:left;box-shadow:0 16px 34px #0000003d;transition:transform .18s ease,border-color .18s ease}.character-card:hover{transform:translateY(-2px);border-color:#bae6fd6b}.character-card>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.character-card-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#03060e0a 35%,#03060ee6 91%)}.character-source{position:absolute;top:10px;left:10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:#070a1480;padding:5px 8px;color:#ffffffe0;font-size:.65rem;font-weight:800;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.character-card-copy{position:absolute;left:12px;right:12px;bottom:12px;display:flex;min-width:0;flex-direction:column}.character-owned-state{display:inline-flex;width:-moz-max-content;width:max-content;max-width:100%;align-items:center;gap:4px;margin-bottom:5px;border-left:2px solid #82d6e5;background:#091a26b8;padding:3px 6px;color:#bfeef5;font-size:.53rem;font-style:normal;font-weight:900}.character-update-state{display:inline-flex;width:-moz-max-content;width:max-content;max-width:100%;align-items:center;gap:4px;margin-bottom:5px;border-left:2px solid #f0c879;background:#271b0cd1;padding:3px 6px;color:#ffe2a3;font-size:.53rem;font-style:normal;font-weight:900}.character-card-copy small{overflow:hidden;color:#a5f3fc;font-size:.62rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.character-card-copy strong{margin-top:3px;font-size:1.28rem;font-weight:900;line-height:1.1}.character-card-copy>span{overflow:hidden;margin-top:4px;padding-right:28px;color:#e2e8f0c7;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}.character-open{position:absolute;right:11px;bottom:11px;display:grid;width:28px;height:28px;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:#ffffff1f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.role-empty{padding:48px 0;color:#cbd5e1b3;text-align:center}.role-library-note{display:flex;align-items:center;gap:12px;margin-top:14px;border-top:1px solid rgba(255,255,255,.08);padding:16px 4px 4px;color:#bae6fd}.role-library-note strong{color:#f1f5f9eb;font-size:.82rem}.role-library-note p{margin-top:2px;color:#94a3b8c2;font-size:.72rem}.role-detail-page{padding-top:0}.role-detail-hero{position:relative;min-height:430px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:0 0 26px 26px;background:#111827}.role-detail-hero>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.role-detail-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#0407100f 35%,#050812e6 93%)}.role-detail-back{position:absolute;top:14px;left:14px;display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:#080c1880;color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.role-detail-source{position:absolute;top:16px;right:14px;display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#080c1880;padding:7px 10px;color:#fff;font-size:.7rem;font-weight:800;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.role-detail-title{position:absolute;left:20px;right:20px;bottom:22px}.role-detail-title p{color:#a5f3fc;font-size:.7rem;font-weight:800}.role-detail-title h1{margin-top:4px;font-size:2.45rem;font-weight:900;line-height:1}.role-detail-title span{display:block;margin-top:8px;color:#e2e8f0d1;font-size:.88rem}.role-detail-content{padding:18px 4px 8px}.role-detail-tags{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.role-detail-tags span{flex:0 0 auto;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:#ffffff0f;padding:7px 10px;color:#e2e8f0cc;font-size:.72rem}.role-story-section{padding:22px 2px 18px}.role-story-section h2{margin-top:3px;font-size:1.25rem;font-weight:900}.role-story-section>p:last-child{margin-top:10px;color:#cbd5e1c2;font-size:.84rem;line-height:1.75}.role-opening-section{border-left:2px solid rgba(103,232,249,.48);background:linear-gradient(90deg,rgba(103,232,249,.08),transparent);padding:14px 14px 14px 16px}.role-opening-heading{display:flex;align-items:center;gap:7px;color:#bae6fd;font-size:.76rem;font-weight:800}.role-opening-section>p{margin-top:8px;color:#e2e8f0d1;font-size:.8rem;line-height:1.65}.greeting-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.greeting-picker button{border:1px solid rgba(103,232,249,.24);border-radius:12px;background:#67e8f90d;min-width:0;min-height:68px;padding:9px 10px;color:#bae6fdbf;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.greeting-picker button.active{border-color:#67e8f9a6;background:#67e8f929;color:#e0f2fe}.greeting-choice-number{width:30px;height:30px;border:1px solid rgba(125,211,252,.28);border-radius:8px;display:grid;place-items:center;flex:0 0 auto;font-size:.58rem;font-weight:900;color:#8ee8f5}.greeting-choice-copy{min-width:0;display:grid;gap:3px}.greeting-choice-copy strong{color:#e8f8fb;font-size:.68rem;line-height:1.25}.greeting-choice-copy small{min-width:0;display:flex;align-items:center;gap:3px;color:#aec2cca8;font-size:.54rem;line-height:1.25}.opening-profile-summary{margin-top:12px!important;color:#a7e9f3!important;font-weight:760}.opening-profile-facts{display:flex;min-width:0;flex-wrap:wrap;gap:6px;margin-top:9px}.opening-profile-facts span{min-width:0;max-width:100%;overflow:hidden;border:1px solid rgba(195,155,89,.24);border-radius:6px;background:#48331f38;padding:5px 8px;color:#e8dabcd6;font-size:.54rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.custom-opening-form{margin-top:14px;padding-top:14px;border-top:1px solid rgba(125,211,252,.16)}.custom-opening-intro{display:flex;align-items:flex-start;gap:9px;color:#a5f3fc}.custom-opening-intro>span{display:grid;gap:3px}.custom-opening-intro strong{color:#e6fbff;font-size:.72rem}.custom-opening-intro small{color:#becfdaad;font-size:.58rem;line-height:1.5}.custom-opening-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.custom-opening-grid label{min-width:0;display:grid;gap:5px;color:#cde0e8bd;font-size:.58rem;font-weight:750}.custom-opening-grid input,.custom-opening-grid textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid rgba(125,211,252,.2);border-radius:9px;background:#050d19ad;padding:9px 10px;color:#edfafe;font:inherit;font-size:.64rem;outline:none}.custom-opening-grid input:focus,.custom-opening-grid textarea:focus{border-color:#67e8f99e;box-shadow:0 0 0 2px #67e8f914}.custom-opening-grid textarea{min-height:78px;resize:vertical;line-height:1.55}.custom-opening-premise{grid-column:1 / -1}@media(max-width:420px){.greeting-picker,.custom-opening-grid{grid-template-columns:minmax(0,1fr)}.greeting-picker button{min-height:58px}.custom-opening-premise{grid-column:auto}}.greeting-hint{margin-top:8px;color:#cdd8e080;font-size:.62rem;text-align:center}.role-start-button{width:100%;min-height:54px;justify-content:center;margin-top:18px}@media(max-width:520px){.app-stage{padding:0}.phone-shell{width:100%;height:100dvh;min-height:100dvh;border:0;border-radius:0}.phone-bezel{display:none}}@media(max-height:740px){.phone-shell{min-height:100dvh}.onboarding-art{min-height:47%}.onboarding-copy h2{font-size:1.45rem}}.library-head-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}.library-manage-button,.manager-icon-button,.visibility-toggle,.rail-icon-button{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff12;color:#d9f7ff}.role-save-button{display:flex;width:100%;min-height:46px;align-items:center;justify-content:center;gap:8px;margin-top:18px;border:1px solid rgba(125,211,252,.24);border-radius:8px;background:#7dd3fc14;color:#d7f6ff;font-weight:800}.role-update-callout{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:16px 0 4px;border:1px solid rgba(240,200,121,.28);border-left:3px solid #f0c879;border-radius:8px;background:#291e0f6b;padding:11px;color:#ffe2a3}.role-update-callout>span{display:grid;min-width:0;gap:2px}.role-update-callout strong{color:#fff0c7;font-size:.72rem}.role-update-callout small{color:#e2e8f0b3;font-size:.56rem;line-height:1.5}.role-update-callout button{min-height:34px;border:1px solid rgba(240,200,121,.32);border-radius:7px;background:#f0c8791f;padding:0 10px;color:#fff0c7;font-size:.62rem;font-weight:850;white-space:nowrap}.role-update-callout button:disabled{opacity:.58}.spinning{animation:mengyu-spin .9s linear infinite}@keyframes mengyu-spin{to{transform:rotate(360deg)}}.chat-role-switcher{position:relative;z-index:1;flex:0 0 auto;border-bottom:1px solid rgba(255,255,255,.07);background:#090e1b80;padding:7px 0 8px}.chat-role-switcher .conversation-rail{padding:5px 12px}.rail-label{display:block;padding:0 12px;color:#94a3b8b8;font-size:.62rem;font-weight:800}.session-pill,.new-session-button{display:inline-flex;min-width:-moz-max-content;min-width:max-content;min-height:32px;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0e;padding:5px 9px;color:#e2e8f0c2;font-size:.72rem}.session-pill>span{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#ffffff17;font-size:.62rem}.session-pill.active{border-color:#7dd3fc61;background:#7dd3fc24;color:#fff}.new-session-button{border-color:#f472b633;color:#fbcfe8}.conversation-empty-state{display:flex;min-height:220px;align-items:center;justify-content:center;flex-direction:column;padding:28px;color:#bae6fd;text-align:center}.conversation-empty-state strong{margin-top:12px;color:#fff;font-size:1rem}.conversation-empty-state p{margin-top:5px;color:#cbd5e1ad;font-size:.76rem}.conversation-empty-state button{display:inline-flex;align-items:center;gap:5px;margin-top:16px;border:1px solid rgba(125,211,252,.24);border-radius:8px;background:#7dd3fc1a;padding:8px 12px;color:#fff}.roleplay-message{display:grid;min-width:0;gap:10px}.roleplay-message-body>*+*{margin-top:.72em}.roleplay-message em{color:#bfeaf4;font-style:italic;font-weight:500}.roleplay-message strong{color:#fff;font-weight:850}.roleplay-message blockquote{border-left:2px solid rgba(103,232,249,.52);padding-left:10px;color:#cffafed1}.roleplay-message ul,.roleplay-message ol{padding-left:1.2em}.roleplay-message code{border-radius:4px;background:#ffffff17;padding:.12em .32em;font-size:.88em}.jiashen-visual-block{overflow:hidden;border:1px solid rgba(190,150,91,.34);border-radius:7px;background:linear-gradient(135deg,#3b271bcc,#121c27d6);box-shadow:inset 3px 0 #b2332bc7,0 8px 22px #00000029}.jiashen-visual-block>header{display:flex;align-items:center;gap:6px;border-bottom:1px solid rgba(224,190,133,.16);padding:7px 10px;color:#f1d6a4;font-size:.6rem;font-weight:900}.jiashen-visual-block>div{padding:9px 11px 10px;color:#f9eed6e6;font-size:.65rem;line-height:1.65}.jiashen-visual-block>div>*+*{margin-top:.5em}.jiashen-visual-block.order{border-color:#d0b16f61;background:linear-gradient(135deg,#3c301ccc,#151e28d9);box-shadow:inset 3px 0 #cda85bcc,0 8px 22px #00000029}.jiashen-visual-block.event{border-color:#74bfcc57;background:linear-gradient(135deg,#10303ad1,#151c28db);box-shadow:inset 3px 0 #5bbeccd1,0 8px 22px #00000029}.message-status-card{overflow:hidden;border:1px solid rgba(112,205,222,.2);border-radius:7px;background:#16303e75;color:#e8f7fa;white-space:normal;box-shadow:inset 2px 0 #68d3e673}.message-status-card>header{display:flex;min-height:31px;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid rgba(125,211,252,.11);padding:6px 9px}.message-status-card>header span,.message-status-card>header small{display:inline-flex;align-items:center;gap:5px}.message-status-card>header span{color:#a9edf6;font-size:.58rem;font-weight:900}.message-status-card>header small{color:#aadae499;font-size:.48rem}.message-status-card.is-updating>header small svg{animation:status-pulse 1.2s ease-in-out infinite}.message-status-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.message-status-card dl>div{min-width:0;border-right:1px solid rgba(255,255,255,.055);border-bottom:1px solid rgba(255,255,255,.055);padding:7px 9px}.message-status-card dl>div:nth-child(2n){border-right:0}.message-status-card dl>div.wide{grid-column:1 / -1;border-right:0}.message-status-card dt{overflow:hidden;color:#97bdc9a8;font-size:.48rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.message-status-card dd{margin:2px 0 0;color:#ecf8faeb;font-size:.57rem;font-weight:720;line-height:1.45;overflow-wrap:anywhere}.history-status-card{--history-accent: #8fdbe5;--history-accent-strong: #d8f5f8;--history-warm: #c9a76d;--history-surface: rgba(13, 31, 40, .94);--history-line: rgba(143, 219, 229, .18);border-color:var(--history-line);background:var(--history-surface);box-shadow:inset 2px 0 var(--history-accent),0 12px 28px #0000002e}.history-status-card.is-jiashen{--history-accent: #b94f43;--history-accent-strong: #f0d39a;--history-warm: #c9a05d;--history-surface: rgba(34, 30, 27, .96);--history-line: rgba(218, 177, 105, .22)}.history-status-card.is-xuantong{--history-accent: #9d3437;--history-accent-strong: #efe4c7;--history-warm: #b79452;--history-surface: rgba(19, 29, 38, .97);--history-line: rgba(185, 157, 104, .22)}.history-status-card.is-archive{--history-accent: #78938c;--history-accent-strong: #e9e2cf;--history-warm: #ad8b5f;--history-surface: rgba(29, 33, 32, .97);--history-line: rgba(169, 155, 126, .2)}.history-status-card.is-fantasy{--history-accent: #5bbac3;--history-accent-strong: #d5f2f4;--history-warm: #d39cbe;--history-surface: rgba(18, 31, 48, .96);--history-line: rgba(112, 200, 212, .2)}.history-status-card>header span{color:var(--history-accent-strong)}.message-status-card>.history-status-featured{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));border-bottom:1px solid var(--history-line);background:#ffffff06}.message-status-card>.history-status-featured>div{border-right:1px solid var(--history-line);border-bottom:0;padding:8px 9px}.message-status-card>.history-status-featured>div:last-child{border-right:0}.history-status-featured dt{color:color-mix(in srgb,var(--history-accent-strong) 58%,transparent)}.history-status-featured dd{color:var(--history-accent-strong)}.history-status-meters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--history-line);padding:9px}.history-status-meter{min-width:0}.history-status-meter>span{display:flex;min-width:0;align-items:baseline;justify-content:space-between;gap:7px;color:#e9f0f0d1;font-size:.49rem}.history-status-meter b{overflow:hidden;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.history-status-meter strong{color:var(--history-accent-strong);font-size:.5rem}.history-status-meter>i{display:block;overflow:hidden;height:4px;margin-top:5px;border-radius:3px;background:#ffffff14}.history-status-meter>i>em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--history-accent),var(--history-warm));transition:width .28s ease}.history-status-groups{display:grid}.history-status-group{border-bottom:1px solid var(--history-line)}.history-status-group:last-child{border-bottom:0}.history-status-group>summary{display:flex;min-height:34px;cursor:pointer;list-style:none;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;color:var(--history-accent-strong);font-size:.53rem;font-weight:820}.history-status-group>summary::-webkit-details-marker{display:none}.history-status-group>summary>span{display:inline-flex;min-width:0;align-items:center;gap:6px}.history-status-group>summary>small{flex:0 0 auto;color:#c1cfd27a;font-size:.43rem;font-weight:650}.history-status-group[open]>summary{background:#ffffff06}.history-status-group>dl{border-top:1px solid rgba(255,255,255,.045)}.history-status-group--other{border-top:1px solid var(--history-line)}@media(max-width:420px){.history-status-meters{grid-template-columns:1fr}.message-status-card>.history-status-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.message-status-card>.history-status-featured>div:nth-child(2n){border-right:0}.history-status-group>dl{grid-template-columns:1fr}.history-status-group>dl>div{border-right:0}}.status-image-preview{display:block;overflow:hidden;width:min(100%,220px);aspect-ratio:16 / 10;border:1px solid rgba(168,230,241,.2);border-radius:7px;background:#030c167a}.status-image-preview img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.status-image-fallback{color:#a9edf6;text-decoration:underline;text-underline-offset:2px}@keyframes status-pulse{0%,to{opacity:.42}50%{opacity:1}}.content-library-page{padding-top:6px}.content-library-head{display:flex;align-items:center;gap:12px;padding:8px 0 16px}.content-library-head h1{margin-top:2px;font-size:1.45rem;font-weight:900}.content-library-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid rgba(255,255,255,.08)}.content-library-tabs button{display:flex;min-width:0;align-items:center;justify-content:center;gap:6px;border-bottom:2px solid transparent;padding:10px 4px;color:#cbd5e1a3;font-size:.75rem;font-weight:800}.content-library-tabs button.active{border-color:#67e8f9;color:#e6fbff}.manager-section{padding:14px 0 28px}.manager-upload-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid rgba(255,255,255,.09);padding:4px 2px 14px}.manager-upload-row>div:first-child{min-width:0;flex:1}.manager-upload-row strong,.manager-upload-row span{display:block}.manager-upload-row strong{font-size:.86rem}.manager-upload-row>div span{margin-top:2px;color:#94a3b8b8;font-size:.66rem}.publish-choice input{position:absolute;opacity:0;pointer-events:none}.publish-choice>span{display:inline-flex;align-items:center;gap:4px;color:#bae6fdd6;font-size:.65rem}.library-upload-button{display:inline-flex;min-height:34px;flex:0 0 auto;align-items:center;gap:5px;border:1px solid rgba(125,211,252,.22);border-radius:8px;background:#7dd3fc1a;padding:7px 9px;color:#d9f7ff;font-size:.68rem;font-weight:800}.manager-list{display:flex;flex-direction:column}.manager-item{position:relative;display:flex;min-width:0;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.08);padding:12px 2px}.manager-item>div:not(.manager-role-editor),.manager-role-copy{min-width:0;flex:1}.manager-item strong,.manager-item span{display:block}.manager-item strong{overflow:hidden;color:#f8fafcf0;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.manager-item div>span{overflow:hidden;margin-top:3px;color:#94a3b8bd;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}.manager-item-icon{display:grid!important;width:36px;height:36px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff0e;color:#bcecff}.manager-role-item>img{width:44px;height:54px;flex:0 0 auto;border-radius:7px;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.visibility-toggle.public{border-color:#67e8f940;background:#67e8f91a;color:#a5f3fc}.manager-icon-button.danger{color:#fda4afdb}.manager-role-editor{display:grid;grid-column:1 / -1;width:100%;gap:9px;padding:10px 0 2px}.manager-role-item.editing{flex-wrap:wrap}.manager-role-editor label{color:#cbd5e1b8;font-size:.68rem}.manager-role-editor input,.manager-role-editor textarea{width:100%;margin-top:5px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#ffffff0e;padding:9px 10px;color:#fff;outline:none}.manager-role-editor button{min-height:36px;border-radius:8px;background:#dff6ff;color:#091321;font-weight:900}.manager-empty{display:flex;align-items:center;gap:10px;padding:24px 4px;color:#94a3b8b8}.manager-empty>span{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px dashed rgba(255,255,255,.16);border-radius:8px}.manager-empty p{font-size:.72rem;line-height:1.55}@media(max-width:420px){.manager-upload-row{flex-wrap:wrap}.manager-upload-row>div:first-child{flex-basis:100%}.publish-choice{flex:1}.chat-module-bar{display:none}}.chat-role-switcher{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:2px 4px;padding:5px 8px}.chat-role-switcher .rail-label{padding:0;color:#94a3b8a3;font-size:.6rem;text-align:center}.chat-role-switcher .conversation-rail{min-height:38px;gap:6px;padding:3px 0}.role-rail .conversation-pill{min-height:34px;padding:3px 8px 3px 3px;border-radius:8px;font-size:.7rem}.role-rail .mini-avatar{width:27px;height:27px}.role-rail .rail-icon-button{width:34px;height:34px}.session-rail .session-pill,.session-rail .new-session-button{min-height:32px;padding-top:4px;padding-bottom:4px}.conversation-history-page{padding-top:8px}.conversation-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 2px 14px}.conversation-history-head h1{margin-top:3px;font-size:1.55rem;font-weight:900}.history-upload-button{display:inline-flex;min-height:36px;align-items:center;gap:6px;border:1px solid rgba(125,211,252,.2);border-radius:8px;background:#7dd3fc14;padding:7px 10px;color:#d9f7ff;font-size:.7rem;font-weight:800}.history-search{display:flex;min-height:46px;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0e;padding:0 12px;color:#bae6fdbf}.history-search input{min-width:0;flex:1;border:0;background:transparent;color:#fff;outline:none;font-size:.82rem}.history-search input::-moz-placeholder{color:#94a3b8a8}.history-search input::placeholder{color:#94a3b8a8}.history-search button{display:grid;width:28px;height:28px;place-items:center;color:#cbd5e1b8}.history-role-filter{display:flex;gap:7px;overflow-x:auto;padding:12px 1px 10px;scrollbar-width:none}.history-role-filter button{display:inline-flex;min-width:-moz-max-content;min-width:max-content;min-height:34px;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff0b;padding:4px 9px 4px 4px;color:#cbd5e1b3;font-size:.7rem}.history-role-filter button:first-child{padding-left:9px}.history-role-filter button.active{border-color:#67e8f952;background:#67e8f91f;color:#fff}.history-role-filter img{width:25px;height:25px;border-radius:6px;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.history-new-chat{display:inline-flex;align-items:center;gap:6px;margin:1px 0 10px;border:1px solid rgba(244,114,182,.18);border-radius:8px;background:#f472b612;padding:7px 10px;color:#fbcfe8;font-size:.7rem;font-weight:800}.history-list{display:flex;flex-direction:column;gap:9px;padding-bottom:20px}.history-item{position:relative;min-height:82px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0e}.history-open{display:grid;width:100%;min-height:82px;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 43px 9px 9px;color:#fff;text-align:left}.history-open>img{width:58px;height:64px;border-radius:7px;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.history-item-copy{display:block;min-width:0}.history-item-copy strong,.history-item-copy>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item-copy strong{font-size:.88rem;font-weight:900}.history-item-copy>span{margin-top:8px;color:#cbd5e1a8;font-size:.72rem}.history-open time{align-self:start;margin-top:6px;color:#94a3b8b3;font-size:.65rem;font-weight:800}.history-delete{position:absolute;top:39px;right:10px;display:grid;width:30px;height:30px;place-items:center;color:#fda4afc7}.history-empty{display:flex;min-height:280px;align-items:center;justify-content:center;flex-direction:column;color:#bae6fdb8;text-align:center}.history-empty strong{margin-top:12px;color:#f8fafceb;font-size:.94rem}.history-empty p{max-width:23em;margin-top:6px;color:#94a3b8ad;font-size:.72rem;line-height:1.55}.history-empty button{margin-top:15px;border:1px solid rgba(125,211,252,.2);border-radius:8px;padding:8px 12px;color:#d9f7ff}@media(max-width:380px){.history-upload-button span{display:none}.history-open{grid-template-columns:52px minmax(0,1fr) auto}.history-open>img{width:52px;height:58px}}.creator-home,.character-editor,.worldbook-editor,.regex-editor,.creator-help{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:4px 14px 92px;scrollbar-width:none}.creator-home::-webkit-scrollbar,.character-editor::-webkit-scrollbar,.worldbook-editor::-webkit-scrollbar,.regex-editor::-webkit-scrollbar,.creator-help::-webkit-scrollbar{display:none}.character-editor,.worldbook-editor,.regex-editor,.creator-help{padding-bottom:24px}.creator-page-head{display:grid;min-height:66px;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.075);padding:4px 0 11px}.creator-page-head>button{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(255,255,255,.11);border-radius:7px;background:#ffffff0b;color:#d8e7ec}.creator-page-head>button svg{width:18px;height:18px}.creator-page-head>div{min-width:0}.creator-page-head span{color:#8dd9e8;font-size:.53rem;font-weight:900}.creator-page-head h1{overflow:hidden;margin:2px 0 0;font-size:1.14rem;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.creator-page-head p{overflow:hidden;margin:3px 0 0;color:#a1b1bea8;font-size:.58rem;text-overflow:ellipsis;white-space:nowrap}.creator-tabs,.character-editor-tabs{position:sticky;top:0;z-index:3;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border-bottom:1px solid rgba(255,255,255,.08);background:#080a12f0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.creator-tabs button,.character-editor-tabs button{position:relative;display:flex;min-width:0;min-height:42px;align-items:center;justify-content:center;gap:5px;color:#a6b5c3b3;font-size:.65rem;font-weight:800}.creator-tabs svg{width:15px;height:15px}.creator-tabs button.active,.character-editor-tabs button.active{color:#eaf9fc}.creator-tabs button.active:after,.character-editor-tabs button.active:after{position:absolute;right:18px;bottom:-1px;left:18px;height:2px;background:#6bbdcd;content:""}.creator-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;border-bottom:1px solid rgba(255,255,255,.075);padding:12px 0}.creator-primary-actions>button{display:flex;min-width:0;min-height:58px;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.085);border-radius:7px;background:#ffffff08;padding:8px;color:#dbe9ed;text-align:left}.creator-primary-actions>button:first-child{border-color:#6cc2d34d;background:#28525e3d}.creator-primary-actions svg{width:17px;height:17px;flex:0 0 auto;color:#8bd6e5}.creator-primary-actions span{min-width:0}.creator-primary-actions strong,.creator-primary-actions small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator-primary-actions strong{font-size:.64rem}.creator-primary-actions small{margin-top:2px;color:#99a9b79e;font-size:.52rem}.creator-import-status{display:flex;min-height:48px;align-items:center;gap:10px;margin-top:10px;border:1px solid rgba(109,198,215,.22);border-radius:7px;background:linear-gradient(90deg,#22536047,#131e2c38);padding:8px 11px;color:#9ee6f1}.creator-import-status>svg{width:18px;animation:creator-spin 1s linear infinite}.creator-import-status span{display:grid;gap:2px;min-width:0}.creator-import-status strong{color:#e9fafd;font-size:.64rem}.creator-import-status small{overflow:hidden;color:#abcdd6b3;font-size:.54rem;text-overflow:ellipsis;white-space:nowrap}@keyframes creator-spin{to{transform:rotate(360deg)}}.creator-search{display:flex;min-height:42px;align-items:center;gap:8px;margin:11px 0;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#ffffff09;padding:0 11px;color:#8fc7d4}.creator-search svg{width:17px;flex:0 0 auto}.creator-search input{min-width:0;flex:1;border:0;background:transparent;color:#eef6f8;outline:0;font-size:.68rem}.creator-list{display:grid;gap:7px}.creator-list>button,.creator-list>article{display:grid;min-width:0;min-height:70px;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.085);border-radius:7px;background:#ffffff07;padding:8px;color:#e9f1f4;text-align:left}.creator-local-open{display:grid;min-width:0;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;color:inherit;text-align:left}.creator-local-open>span{min-width:0}.creator-role-row img,.creator-item-icon{width:48px;height:52px;border-radius:6px;-o-object-fit:cover;object-fit:cover;background:#17212c}.creator-item-icon{display:grid;place-items:center;color:#96d9e5}.creator-item-icon svg{width:21px}.creator-list>button>span:nth-child(2){min-width:0}.creator-list strong,.creator-list small,.creator-list em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator-list strong{font-size:.72rem}.creator-list small{margin-top:3px;color:#adbcc7ad;font-size:.58rem}.creator-list em{margin-top:5px;color:#8fc4d0;font-size:.51rem;font-style:normal}.creator-list>button>svg{width:17px;color:#b2c4cda6}.creator-empty{display:grid;min-height:190px;place-items:center;align-content:center;gap:7px;color:#92a4b1a3;text-align:center}.creator-empty>svg{width:28px;height:28px;color:#79c4d4}.creator-empty strong{color:#e5eef1d6;font-size:.72rem}.creator-empty span{font-size:.57rem}.creator-privacy{display:flex;align-items:center;gap:7px;margin-top:12px;color:#98abb89e;font-size:.55rem}.creator-privacy svg{width:14px}.character-editor-scroll{padding-top:12px}.character-editor-pane{display:grid;gap:12px}.cover-editor{position:relative;height:205px;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#111722}.cover-editor:after{position:absolute;top:42%;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(transparent,#05080fe6);content:""}.cover-editor img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center 25%;object-position:center 25%}.cover-editor label{position:absolute;right:10px;bottom:10px;z-index:1;display:flex;min-height:34px;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.16);border-radius:7px;background:#0b111cb8;padding:0 10px;color:#eaf6f8;font-size:.61rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer}.cover-editor label svg{width:16px}.editor-field{display:grid;min-width:0;gap:6px;color:#adbec9b8;font-size:.61rem}.editor-field>span{display:flex;align-items:center;gap:6px;font-weight:750}.editor-field>span button{display:grid;width:18px;height:18px;place-items:center;border:1px solid rgba(113,196,212,.3);border-radius:50%;color:#9adce8;font-size:.51rem}.editor-field input,.editor-field textarea,.worldbook-meta input,.worldbook-meta textarea,.worldbook-control-grid input,.worldbook-control-grid select,.editor-toggle-list select{width:100%;min-height:39px;resize:vertical;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#ffffff09;padding:9px 10px;color:#edf4f6;outline:none;color-scheme:dark;font-size:.67rem;line-height:1.55}.editor-field textarea{min-height:90px}.editor-field textarea.large{min-height:180px}.editor-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:9px}.publish-editor-toggle,.editor-select,.editor-bindings,.opening-preview,.compatibility-report,.version-button,.start-editor-chat,.delete-editor-item{border-top:1px solid rgba(255,255,255,.08);padding:12px 2px}.publish-editor-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}.publish-editor-toggle span{min-width:0}.publish-editor-toggle strong,.publish-editor-toggle small{display:block}.publish-editor-toggle strong{font-size:.69rem}.publish-editor-toggle small{margin-top:3px;color:#97a9b7a3;font-size:.55rem;line-height:1.45}.publish-editor-toggle input,.editor-toggle-list input{width:38px;height:21px;flex:0 0 auto;accent-color:#6fc5d6}.alternate-head,.entry-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.alternate-head strong{font-size:.69rem}.alternate-head button{display:flex;align-items:center;gap:4px;color:#9bdce8;font-size:.59rem}.alternate-head button svg{width:14px}.alternate-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:start;gap:7px}.alternate-row textarea{min-height:88px;resize:vertical;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#ffffff09;padding:9px;color:#eef4f6;font-size:.65rem;line-height:1.55}.alternate-row button{display:grid;width:32px;height:32px;place-items:center;border:1px solid rgba(239,135,160,.18);border-radius:7px;color:#e78fa5}.alternate-row button svg{width:15px}.opening-preview{color:#aec2ccc2}.opening-preview strong{color:#dff3f6;font-size:.68rem}.opening-preview p{margin:7px 0 0;font-size:.62rem;line-height:1.65;white-space:pre-wrap}.editor-select{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-select>span{display:flex;align-items:center;gap:6px;color:#dbe9ed;font-size:.65rem}.editor-select svg{width:16px}.editor-select select{max-width:55%;min-height:36px;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#111b27;padding:0 8px;color:#e9f3f5;font-size:.62rem;color-scheme:dark}.editor-bindings{display:grid;gap:7px}.editor-bindings>strong{font-size:.66rem}.editor-bindings label{display:flex;align-items:center;gap:8px;color:#d0dce2c7;font-size:.61rem}.editor-bindings input{accent-color:#72c6d7}.compatibility-report{display:flex;gap:10px;color:#8ed8e5}.compatibility-report svg{width:23px;flex:0 0 auto}.compatibility-report strong{color:#e5f4f7;font-size:.7rem}.compatibility-report p{margin:4px 0 0;color:#a2b5c1ab;font-size:.59rem;line-height:1.55}.export-commands{display:grid;grid-template-columns:1fr 1fr;gap:8px}.export-commands button{display:grid;min-height:98px;place-items:center;align-content:center;gap:5px;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#ffffff09;color:#9edbe6}.export-commands strong{color:#edf6f8;font-size:.68rem}.export-commands span{color:#9aabb89e;font-size:.52rem}.version-button,.start-editor-chat,.delete-editor-item{display:flex;min-height:45px;align-items:center;gap:8px;color:#d8e8ec;font-size:.66rem}.version-button span{margin-left:auto;color:#99abb899;font-size:.54rem}.start-editor-chat{justify-content:center;border:0;border-radius:7px;background:#dceef2;color:#0c1c24;font-weight:900}.delete-editor-item{justify-content:center;color:#ea96aa}.version-sheet{position:absolute;inset:auto 10px 10px;z-index:8;max-height:64%;overflow-y:auto;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#101622;padding:11px;box-shadow:0 18px 50px #0009}.version-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.version-sheet header button{color:#d4e1e6b3}.version-sheet>button{display:grid;width:100%;min-height:50px;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center;gap:8px;border-top:1px solid rgba(255,255,255,.07);text-align:left}.version-sheet strong,.version-sheet small{display:block}.version-sheet strong{font-size:.65rem}.version-sheet small{margin-top:2px;color:#99aab79e;font-size:.53rem}.worldbook-meta{display:grid;gap:9px;border-bottom:1px solid rgba(255,255,255,.075);padding:12px 0}.worldbook-meta label{display:grid;gap:5px;color:#a6b9c4b3;font-size:.59rem}.worldbook-meta textarea{min-height:64px}.worldbook-workspace{display:grid;min-height:430px;grid-template-columns:125px minmax(0,1fr);border-bottom:1px solid rgba(255,255,255,.075)}.worldbook-entry-list{min-width:0;border-right:1px solid rgba(255,255,255,.075);padding:11px 8px 11px 0}.worldbook-entry-list header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px}.worldbook-entry-list header strong{font-size:.65rem}.worldbook-entry-list header button{display:flex;align-items:center;gap:2px;color:#8ed5e2;font-size:.54rem}.worldbook-entry-list header svg{width:13px}.worldbook-entry-list>button{display:block;width:100%;min-height:49px;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.055);padding:7px 6px;color:#dbe7ebbf;text-align:left}.worldbook-entry-list>button.active{border-left:2px solid #69becf;background:#2e5c6938;color:#f0fafb}.worldbook-entry-list span,.worldbook-entry-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.worldbook-entry-list span{font-size:.61rem;font-weight:800}.worldbook-entry-list small{margin-top:3px;color:#92a6b394;font-size:.49rem}.worldbook-empty{display:grid;min-height:130px;place-items:center;align-content:center;gap:5px;color:#90a4b294;font-size:.54rem}.worldbook-empty svg{width:21px;color:#75c3d3}.worldbook-entry-editor{display:grid;min-width:0;align-content:start;gap:10px;padding:11px 0 14px 10px}.entry-editor-head strong{font-size:.68rem}.entry-editor-head>div{display:flex;gap:4px}.entry-editor-head button{display:grid;width:29px;height:29px;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:6px;color:#c9d8dfb8}.entry-editor-head button svg{width:14px}.entry-editor-head button.danger{color:#e88fa5}.worldbook-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.worldbook-control-grid label{display:grid;gap:4px;color:#a3b5c0ad;font-size:.55rem}.worldbook-control-grid input,.worldbook-control-grid select{min-width:0;min-height:35px;padding:6px 7px;font-size:.59rem}.editor-toggle-list{display:grid;gap:0;border-top:1px solid rgba(255,255,255,.075)}.editor-toggle-list>label{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(255,255,255,.06);color:#d5e1e5c7;font-size:.6rem}.editor-toggle-list select{width:auto;max-width:62%;min-height:32px;padding:4px 6px;font-size:.55rem}.worldbook-entry-placeholder{display:grid;min-height:350px;place-items:center;align-content:center;gap:8px;color:#97aab699;text-align:center}.worldbook-entry-placeholder svg{color:#78c7d5}.worldbook-entry-placeholder strong{font-size:.63rem}.creator-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0}.creator-editor-footer button{display:flex;min-height:36px;align-items:center;gap:6px;color:#9ad7e2;font-size:.59rem}.creator-editor-footer button svg{width:15px}.creator-editor-footer button.danger{color:#e68da3}.regex-editor-form{display:grid;gap:11px;border-bottom:1px solid rgba(255,255,255,.075);padding:13px 0}.editor-field textarea.code-input{min-height:76px;background:#10151f;color:#bdebf2;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.61rem}.regex-placement{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0;border:1px solid rgba(255,255,255,.085);border-radius:7px;padding:9px}.regex-placement legend{padding:0 5px;color:#abbdc7b3;font-size:.59rem}.regex-placement label{display:flex;align-items:center;gap:6px;color:#d0dce1c7;font-size:.57rem}.regex-placement input{accent-color:#6fc5d5}.regex-toggles{grid-template-columns:1fr 1fr;gap:0 14px;border-bottom:1px solid rgba(255,255,255,.075)}.regex-toggles>label{min-width:0}.regex-test-bench{padding:13px 0}.regex-test-bench>header{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:11px}.regex-test-bench>header>div{display:flex;align-items:center;gap:8px;color:#86d1df}.regex-test-bench header span,.regex-test-bench header strong,.regex-test-bench header small{display:block}.regex-test-bench header strong{color:#e8f4f6;font-size:.68rem}.regex-test-bench header small{margin-top:2px;color:#95a8b59c;font-size:.52rem}.regex-test-bench>header button{min-height:33px;border-radius:7px;background:#dbeef2;padding:0 11px;color:#0c1c24;font-size:.58rem;font-weight:900}.regex-test-result{display:grid;gap:8px;margin-top:10px;border-top:1px solid rgba(255,255,255,.075);padding-top:10px}.regex-test-result>div:first-child{display:flex;justify-content:space-between;color:#a7b9c4b3;font-size:.58rem}.regex-test-result>div:first-child strong{color:#a9e2eb}.regex-test-result label{display:grid;gap:5px;color:#a7b9c4b3;font-size:.58rem}.regex-test-result pre{max-height:180px;overflow:auto;margin:0;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#10151f;padding:9px;color:#e3eef1;font-family:inherit;font-size:.61rem;line-height:1.55;white-space:pre-wrap}.regex-warnings,.regex-safe{display:flex;align-items:center;gap:6px;font-size:.57rem}.regex-warnings{color:#f3bc8f}.regex-safe{color:#87d9ba}.regex-warnings svg,.regex-safe svg{width:15px}.creator-help-list{display:grid;gap:0}.creator-help-list button{display:grid;gap:4px;border-bottom:1px solid rgba(255,255,255,.075);padding:13px 2px;text-align:left}.creator-help-list strong{color:#e8f2f4;font-size:.69rem}.creator-help-list span{overflow:hidden;color:#9db0bcad;font-size:.58rem;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}.creator-help-article{display:grid;gap:12px;padding:22px 5px}.creator-help-article>svg{color:#82d0de}.creator-help-article p{margin:0;color:#dae6ead6;font-size:.7rem;line-height:1.85}.creator-help-article ul,.creator-help-article ol{margin:0;padding-left:18px;color:#dae6ead6;font-size:.7rem;line-height:1.85}.creator-help-article code{border:1px solid rgba(130,208,222,.18);border-radius:4px;background:#82d0de12;padding:1px 5px;color:#bfeef6;font-size:.62rem}.creator-help-article pre{overflow-x:auto;border:1px solid rgba(130,208,222,.14);border-radius:7px;background:#060e18b8;padding:10px 12px}.creator-help-article pre code{border:0;background:transparent;padding:0}.creator-help-article strong{color:#dcf4f9}.creator-help-article h1,.creator-help-article h2,.creator-help-article h3{margin:4px 0 0;color:#dcf4f9;font-size:.82rem}.creator-loading{display:grid;height:100%;place-items:center;color:#a9bcc6b3;font-size:.68rem}@media(max-width:390px){.creator-home,.character-editor,.worldbook-editor,.regex-editor,.creator-help{padding-right:11px;padding-left:11px}.creator-primary-actions{grid-template-columns:1fr 1fr}.creator-primary-actions>button{display:grid;place-items:center;align-content:center;text-align:center}.creator-primary-actions small{display:none}.editor-two-cols{grid-template-columns:1fr}.worldbook-workspace{grid-template-columns:108px minmax(0,1fr)}.worldbook-entry-editor{padding-left:8px}.worldbook-entry-editor .editor-two-cols,.worldbook-control-grid,.regex-toggles{grid-template-columns:1fr}}.native-update-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:end center;background:#03060cb8;padding:18px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.native-update-sheet{position:relative;width:min(100%,390px);border:1px solid rgba(125,211,252,.18);border-radius:8px;background:#101621;padding:22px 18px 16px;color:#eef7f9;box-shadow:0 28px 70px #000000a3;text-align:center}.native-update-close{position:absolute;top:10px;right:10px;display:grid;width:32px;height:32px;place-items:center;color:#d3e1e7ad}.native-update-close svg{width:18px}.native-update-icon{display:grid;width:44px;height:44px;margin:0 auto 10px;place-items:center;border:1px solid rgba(119,207,224,.3);border-radius:50%;background:#2d5f6c40;color:#9ee2ee}.native-update-sheet>small{color:#8bd9e7;font-size:.61rem;font-weight:900}.native-update-sheet h2{margin:4px 0 0;font-size:1.2rem}.native-update-sheet>p{margin:9px auto 13px;color:#c1d1d9b8;font-size:.68rem;line-height:1.65}.native-update-hash{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:13px;color:#94d8c1d1;font-size:.58rem}.native-update-hash svg{width:15px}.native-update-download{width:100%;min-height:44px;border-radius:7px;background:#dcedf1;color:#0b1b23;font-size:.69rem;font-weight:900}.native-update-later{margin-top:9px;color:#b7c7d0ad;font-size:.61rem}.character-card-main{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;color:#fff;text-align:left}.character-card-main>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.character-save{position:absolute;top:9px;right:9px;z-index:2;display:inline-flex;min-height:29px;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#070a1494;padding:5px 7px;color:#fff;font-size:.62rem;font-weight:800;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.character-save.saved{color:#b9f5ff;opacity:.86}.character-source{max-width:calc(100% - 90px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-save-button.saved{border-color:#67e8f92e;color:#bae6fdc7}.manager-text-button{display:inline-flex;min-height:34px;flex:0 0 auto;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0e;padding:6px 8px;color:#d9f7ff;font-size:.66rem;font-weight:800}.manager-text-button.danger{color:#fda4afe0}.local-role-page{padding-top:0}.local-role-hero{position:relative;min-height:300px;overflow:hidden;border-radius:0 0 8px 8px;background:#111827}.local-role-hero>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center 24%;object-position:center 24%}.local-role-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#03060e14 30%,#03060eeb)}.local-role-back{position:absolute;top:13px;left:13px;display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#070a148a;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.local-role-title{position:absolute;right:18px;bottom:20px;left:18px}.local-role-title small{color:#a5f3fc;font-size:.68rem;font-weight:900}.local-role-title h1{margin-top:4px;font-size:2rem;font-weight:900;line-height:1}.local-role-title p{overflow:hidden;margin-top:8px;color:#e2e8f0cc;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.local-role-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid rgba(255,255,255,.08)}.local-role-actions button{display:flex;min-width:0;min-height:68px;align-items:center;justify-content:center;flex-direction:column;gap:6px;border-right:1px solid rgba(255,255,255,.07);color:#cbd5e1c2;font-size:.65rem}.local-role-actions button:last-child{border-right:0}.local-role-actions button.active{color:#a5f3fc}.local-role-actions button.danger{color:#fda4afd1}.local-device-note{display:flex;align-items:flex-start;gap:9px;margin:12px 2px 2px;border-left:2px solid rgba(103,232,249,.5);background:#234b5833;padding:10px 11px;color:#a5e9f2}.local-device-note>svg{width:18px;flex:0 0 auto}.local-device-note span{display:grid;gap:3px}.local-device-note strong{color:#ebfbfd;font-size:.7rem}.local-device-note small{color:#b9d3dab3;font-size:.58rem;line-height:1.55}.local-role-form{padding:6px 2px 26px}.local-role-section{border-bottom:1px solid rgba(255,255,255,.08);padding:17px 2px}.local-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.local-section-title>span{display:inline-flex;align-items:center;gap:6px;color:#f8fafcf0;font-size:.88rem;font-weight:900}.local-section-title>small{color:#94a3b89e;font-size:.62rem;text-align:right}.local-role-section>label{display:block;margin-top:10px;color:#cbd5e1ad;font-size:.68rem}.local-role-section input:not([type=checkbox]),.local-role-section textarea,.local-role-section select{width:100%;margin-top:5px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0e;padding:9px 10px;color:#fff;outline:none}.local-role-section select{min-height:42px;color-scheme:dark}.opening-editor{line-height:1.65}.local-regex-list{display:flex;flex-direction:column}.local-regex-list>label{display:flex;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.06);padding:9px 1px}.local-regex-list>label:last-of-type{border-bottom:0}.local-regex-list input{width:17px;height:17px;accent-color:#67e8f9}.local-regex-list label>span{min-width:0;flex:1}.local-regex-list strong,.local-regex-list small{display:block}.local-regex-list strong{font-size:.75rem}.local-regex-list small{overflow:hidden;margin-top:2px;color:#94a3b8a8;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.inline-manage-link{border-bottom:1px solid rgba(125,211,252,.4);color:#bae6fd;font-size:.7rem}.local-role-save{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;gap:7px;margin-top:18px;border-radius:8px;background:#e1f5ff;color:#071321;font-weight:900}@media(max-width:420px){.manager-role-item{flex-wrap:wrap}.manager-role-copy{flex-basis:calc(100% - 64px)}.visibility-toggle{margin-left:54px}}.chat-app-header{padding:10px;background:#080e18d1}.chat-app-header .mini-icon-button{width:36px;height:36px;border-radius:8px}.chat-app-header .mini-icon-button.active{border-color:#7dd3fc52;background:#34748538;color:#d9f7ff}.chat-hero-bg{opacity:.16}.chat-scroll{padding:16px 12px 10px}.chat-bubble{border-radius:8px;padding:11px 13px;line-height:1.68;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chat-bubble-ai{border-color:#7dd3fc29;border-left:2px solid rgba(103,232,249,.54);background:#081423e0;color:#f1f5f9f5}.chat-bubble-user{border-color:#bae6fd61;background:#c9dde4;color:#10222c;font-weight:760;box-shadow:0 8px 24px #030a142e}.stream-status{display:flex;min-height:25px;align-items:center;gap:5px;color:#bae6fdcc;font-size:.72rem}.stream-status span{width:5px;height:5px;border-radius:50%;background:#9cdae8;animation:typing-pulse 1s infinite ease-in-out}.stream-status span:nth-child(2){animation-delay:.15s}.stream-status span:nth-child(3){margin-right:3px;animation-delay:.3s}.thought-summary-panel{width:100%;max-width:100%;min-width:0;overflow:hidden;border:1px solid rgba(103,232,249,.16);border-left:2px solid rgba(103,232,249,.58);border-radius:8px;background:#071424c2;color:#e2f0f5e6;box-shadow:0 8px 24px #02091429;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.thought-summary-toggle{display:flex;width:100%;min-width:0;align-items:center;gap:6px;padding:8px 10px;color:inherit;text-align:left}.thought-summary-toggle strong{min-width:0;overflow-wrap:anywhere;color:#e8f9fcf0;font-size:.66rem;font-weight:850}.thought-summary-toggle small{flex:0 0 auto;color:#a7c6d0ad;font-size:.55rem}.thought-summary-toggle em{flex:0 1 auto;margin-left:auto;color:#b3c5cda8;font-size:.53rem;font-style:normal;white-space:nowrap}.thought-summary-mark{display:grid;width:20px;height:20px;flex:0 0 auto;place-items:center;border-radius:6px;background:#67e8f917;color:#67e8f9}.thought-summary-chevron{flex:0 0 auto;margin-left:auto;color:#67e8f9b8;transition:transform .16s ease}.thought-summary-toggle[aria-expanded=true] .thought-summary-chevron{transform:rotate(180deg)}.thought-summary-toggle:focus-visible{border-radius:6px;outline:2px solid #67e8f9;outline-offset:-3px}.thought-summary-content{border-top:1px solid rgba(103,232,249,.1);padding:3px 10px 10px 36px}.thought-summary-content[hidden]{display:none}.thought-summary-disclosure{display:block;margin:5px 0 6px;color:#9bb5c099;font-size:.52rem;line-height:1.45}.thought-summary-content p{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;color:#d3e7edd1;font-size:.64rem;line-height:1.68}.thought-summary-status{color:#b9dee6c2!important}.thought-summary-panel.is-generating .thought-summary-mark{animation:thought-summary-pulse 1.8s ease-in-out infinite}.thought-summary-caret{display:inline-block;width:1px;height:.86em;margin-left:2px;background:#67e8f9;vertical-align:-.08em;animation:thought-summary-caret .7s steps(1,end) infinite}@keyframes thought-summary-pulse{50%{opacity:.55}}@keyframes thought-summary-caret{50%{opacity:0}}.chat-composer{background:#080e18eb;padding:8px 10px 10px}.composer-tools{gap:6px;margin-bottom:7px}.composer-tools button{border-radius:7px;background:#ffffff0b;padding:6px 9px}.chat-input-wrap{border-color:#7dd3fc2b;border-radius:8px;background:#ffffff0e}.send-button{width:40px;height:40px;border:1px solid rgba(165,243,252,.26);border-radius:8px;background:#356f7b;color:#f1fbff;box-shadow:0 7px 18px #07263047}.send-button:hover{background:#43838f}.send-button.is-generating{border-color:#fda4af47;background:#674755;color:#ffe9ee}.generation-sheet{position:absolute;top:64px;right:10px;left:10px;z-index:8;max-height:calc(100% - 78px);overflow-y:auto;border:1px solid rgba(148,210,225,.2);border-radius:8px;background:#0c1421fa;padding:13px;box-shadow:0 18px 44px #0000006b}.generation-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px}.generation-sheet>header div{display:grid;gap:2px}.generation-sheet>header strong{font-size:.88rem}.generation-sheet>header span{color:#94a3b8b8;font-size:.62rem}.generation-sheet>header button{display:grid;width:30px;height:30px;place-items:center;border-radius:7px;background:#ffffff0f;color:#e2e8f0d1}.preset-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.preset-segments button{position:relative;display:grid;min-width:0;min-height:54px;align-content:center;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#ffffff09;color:#cbd5e1b8}.preset-segments button.active{border-color:#67e8f952;background:#2d627145;color:#fff}.preset-segments svg{position:absolute;top:6px;right:6px;color:#a5f3fc}.preset-segments strong{font-size:.76rem}.preset-segments span{margin-top:2px;font-size:.58rem}.stream-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(255,255,255,.07);padding:13px 2px}.stream-toggle>span{display:grid;gap:2px}.stream-toggle strong{font-size:.74rem}.stream-toggle small{color:#94a3b8ad;font-size:.6rem}.stream-toggle input{width:36px;height:20px;accent-color:#4f9aaa}.generation-sliders{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px;padding:12px 2px 2px}.setting-range{display:grid;gap:7px}.setting-range>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.setting-range strong{color:#e2e8f0db;font-size:.66rem}.setting-range output{color:#a9deea;font-size:.6rem}.setting-range input{width:100%;height:3px;accent-color:#65b9ca}.history-edit-role,.history-delete{right:9px;display:grid;width:30px;height:30px;place-items:center}.history-edit-role{position:absolute;top:8px;color:#bae6fdc2}.history-delete{top:44px}@media(max-width:390px){.chat-app-header{gap:7px}.chat-app-header .mini-icon-button{width:33px;height:33px}.generation-sliders{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.thought-summary-panel,.thought-summary-panel *{animation:none!important;transition:none!important}.thought-summary-caret{display:none}}@media(max-width:375px){.thought-summary-panel{width:100%;max-width:100%}.thought-summary-toggle{flex-wrap:wrap;padding:8px}.thought-summary-toggle em{margin-left:26px}.thought-summary-content{padding:3px 8px 9px}}.narrative-sheet{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;min-height:0;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#080f1bfb;box-shadow:none;padding-top:env(safe-area-inset-top,0px)}.narrative-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 10px}.narrative-sheet-head>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 9px}.narrative-sheet-head .eyebrow{grid-column:1 / -1;color:#8bd8e8;font-size:.55rem;font-weight:900;letter-spacing:0}.narrative-sheet-head strong{font-size:1rem}.narrative-sheet-head small{color:#94a3b8ad;font-size:.6rem}.narrative-sheet-head>button,.style-workbench-head>button{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#ffffff0b;color:#d7e5eb}.narrative-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.08);padding:0 8px}.narrative-tabs button{position:relative;min-height:38px;color:#a6b5c5b3;font-size:.7rem;font-weight:800}.narrative-tabs button.active{color:#e9f9fd}.narrative-tabs button.active:after{position:absolute;right:16px;bottom:-1px;left:16px;height:2px;background:#75c7d8;content:""}.narrative-sheet-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:10px 12px 24px}.narrative-pane{display:grid;gap:11px}.narrative-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px}.narrative-section-title strong{color:#edf6f8;font-size:.76rem}.narrative-section-title small{color:#94a3b89e;font-size:.57rem;text-align:right}.narrative-segmented{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#ffffff06}.narrative-segmented button{min-height:38px;border-right:1px solid rgba(255,255,255,.07);color:#b1beccbd;font-size:.67rem;font-weight:800}.narrative-segmented button:last-child{border-right:0}.narrative-segmented button.active{background:#294b59;color:#f4fdff}.narrative-preset-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.narrative-preset-list>button{display:grid;min-width:0;min-height:62px;grid-template-columns:22px minmax(0,1fr) 15px;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#ffffff08;padding:8px;color:#ccd7e1c7;text-align:left}.narrative-preset-list>button.active{border-color:#7acfe16b;background:#2b5b694d;color:#f4fbfd}.narrative-preset-list>button>span{display:grid;width:22px;height:22px;place-items:center;color:#94ddec}.narrative-preset-list>button div{min-width:0}.narrative-preset-list strong,.narrative-preset-list small{display:block}.narrative-preset-list strong{font-size:.69rem}.narrative-preset-list small{overflow:hidden;margin-top:2px;color:#a0b1c0a3;font-size:.55rem;text-overflow:ellipsis;white-space:nowrap}.narrative-toggle,.narrative-select,.narrative-range{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(255,255,255,.065);padding:4px 2px 8px}.narrative-toggle>span{min-width:0}.narrative-toggle strong,.narrative-toggle small{display:block}.narrative-toggle strong,.narrative-select>span,.narrative-range strong{color:#e5edf1e6;font-size:.69rem}.narrative-toggle small{margin-top:2px;color:#92a3b3a3;font-size:.56rem}.narrative-toggle input{width:38px;height:21px;flex:0 0 auto;accent-color:#6fc8d9}.narrative-select select,.narrative-pane>select{min-width:130px;max-width:58%;min-height:36px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#121c2a;padding:0 28px 0 10px;color:#e5f1f5;font-size:.66rem;color-scheme:dark}.narrative-range{display:grid;gap:7px}.narrative-range>span{display:flex;justify-content:space-between;gap:12px}.narrative-range output{color:#8ed9e7;font-size:.62rem}.narrative-range input{width:100%;height:3px;accent-color:#69b9c9}.narrative-textarea{position:relative;display:grid;gap:6px;color:#e5edf1db;font-size:.68rem}.narrative-textarea textarea{min-height:90px;resize:vertical;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#ffffff0a;padding:10px;color:#f2f7f8;line-height:1.6;outline:none}.narrative-textarea small{position:absolute;right:8px;bottom:6px;color:#94a3b88f;font-size:.55rem}.style-editor-entry{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(111,201,218,.19);border-radius:7px;background:#284d5b36;padding:10px 12px;text-align:left}.style-editor-entry strong,.style-editor-entry small{display:block}.style-editor-entry strong{color:#eaf9fc;font-size:.72rem}.style-editor-entry small{margin-top:3px;color:#9ab5c0ab;font-size:.58rem}.quality-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.narrative-hint{margin:4px 0 6px;color:#cdd8e08c;font-size:.6rem;line-height:1.5}.quality-module-grid label{display:flex;min-height:34px;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.07);border-radius:6px;background:#ffffff06;padding:6px 8px;color:#cdd8e0cc;font-size:.61rem}.quality-module-grid input{accent-color:#6cc5d6}.adult-confirm{min-height:42px;border:1px solid rgba(255,188,204,.22);border-radius:7px;background:#703c4c2e;color:#ffdce4;font-size:.68rem;font-weight:800}.adult-revoke{justify-self:end;color:#f3aebeb8;font-size:.59rem}.prompt-summary{border-left:2px solid #5daabc;background:#2c4d5a2b;padding:9px 10px}.prompt-summary strong{color:#cceef4;font-size:.65rem}.prompt-summary p{margin-top:4px;color:#aec2ccb8;font-size:.58rem;line-height:1.55}.narrative-sheet-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.08);background:#0b1421;padding:9px 12px;padding-bottom:max(9px,env(safe-area-inset-bottom,0px))}.route-readout{display:flex;min-width:0;align-items:center;gap:6px;color:#b4cad3bf;font-size:.59rem}.route-readout small{color:#8bd8e8b8}.narrative-save{min-height:38px;border-radius:7px;background:#dceef3;padding:0 14px;color:#0b1c25;font-size:.67rem;font-weight:900}.chat-choice-panel{width:calc(100% - 42px);margin:0 0 10px 42px;border-top:1px solid rgba(111,201,218,.16);padding-top:9px}.chat-choice-panel header{display:flex;min-height:22px;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;padding:0 2px}.chat-choice-panel header span{display:inline-flex;align-items:center;gap:5px;color:#a8e9f3;font-size:.56rem;font-weight:900}.chat-choice-panel header small{color:#9ab2bd7a;font-size:.49rem}.chat-choice-panel>div{display:grid;gap:5px}.chat-choice-panel button{display:grid;grid-template-columns:27px minmax(0,1fr) 18px;min-height:42px;align-items:center;gap:8px;border:1px solid rgba(118,201,218,.14);border-radius:7px;background:#142433b8;padding:7px 9px 7px 7px;color:#d9eef2;text-align:left;box-shadow:inset 2px 0 #6fc9da3d}.chat-choice-panel button>span{display:grid;width:27px;height:27px;place-items:center;border:1px solid rgba(126,220,237,.18);border-radius:6px;background:#59a1b117;color:#91dce9;font-size:.49rem;font-weight:900}.chat-choice-panel button strong{overflow:hidden;font-size:.63rem;font-weight:720;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.chat-choice-panel button>svg{color:#a0ced980}.chat-choice-panel button:hover,.chat-choice-panel button:focus-visible{border-color:#7edced57;background:#223d4ed1;outline:none}.chat-choice-panel button:active{transform:translateY(1px)}.chat-bottom-anchor{width:1px;height:1px}.chat-jump-bottom{position:absolute;right:18px;bottom:118px;z-index:6;display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(126,220,237,.34);border-radius:999px;background:#0d1a27eb;box-shadow:0 8px 22px #0000006b;color:#a0e2f2f2;cursor:pointer;font-size:.72rem;font-weight:640;letter-spacing:.02em;padding:8px 13px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .16s ease,border-color .16s ease}.chat-jump-bottom:hover,.chat-jump-bottom:focus-visible{border-color:#7edced99;outline:none;transform:translateY(-1px)}.chat-jump-bottom:active{transform:translateY(0)}.assistant-status-strip{--assistant-accent: #9ee7f3;--assistant-accent-soft: rgba(101,196,215,.12);position:relative;z-index:2;display:flex;min-height:38px;flex:0 0 auto;align-items:center;gap:8px;overflow-x:auto;border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid var(--assistant-accent-soft);background:#07111dc7;padding:5px 10px;scrollbar-width:none}.assistant-status-strip::-webkit-scrollbar{display:none}.assistant-theme-gold{--assistant-accent: #f2d492;--assistant-accent-soft: rgba(216,178,92,.16)}.assistant-theme-rose{--assistant-accent: #f5a5b9;--assistant-accent-soft: rgba(224,122,150,.15)}.assistant-theme-emerald{--assistant-accent: #8fe3c0;--assistant-accent-soft: rgba(96,208,160,.14)}.assistant-theme-violet{--assistant-accent: #c9b3f5;--assistant-accent-soft: rgba(154,122,224,.16)}.assistant-status-title{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;color:var(--assistant-accent);font-size:.56rem;font-weight:850}.assistant-badges{display:inline-flex;flex:0 0 auto;gap:4px}.assistant-badges span{border:1px solid var(--assistant-accent-soft);border-radius:999px;background:#ffffff08;padding:2px 8px;color:var(--assistant-accent);font-size:.5rem;font-weight:800;white-space:nowrap}.assistant-group{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px}.assistant-group>small{color:var(--assistant-accent);font-size:.47rem;font-weight:800;opacity:.75}.assistant-group>div{display:flex;min-width:0;gap:5px}.assistant-group>div>span{display:inline-flex;min-height:25px;flex:0 0 auto;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.07);border-radius:6px;background:#ffffff06;padding:0 7px}.assistant-group>div>span small{color:#9db4bf9e;font-size:.49rem}.assistant-group>div>span b{max-width:90px;overflow:hidden;color:#e2f6f8;font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}.character-card-actions{position:absolute;top:9px;right:9px;z-index:3;display:flex;gap:4px}.character-card-actions .character-save{position:static}.character-card-actions .character-save.saved{width:29px;justify-content:center;padding:5px}.character-card-actions .character-save.has-update{border-color:#f0c87959;color:#ffe2a3}.character-favorite{display:inline-flex;min-height:29px;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#070a1494;padding:5px 7px;color:#e8f0f5d1;font-size:.62rem;font-weight:800;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.character-favorite.active{border-color:#f48fa859;color:#f5a5b9}.role-engagement-summary{display:flex;align-items:center;gap:8px;color:#a6becac7;font-size:.62rem}.role-engagement-summary span,.role-engagement-summary button{display:inline-flex;min-height:30px;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#ffffff06;padding:0 9px}.role-engagement-summary button.active{color:#f3a5b8}.creator-analytics{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px;border:1px solid rgba(111,201,218,.16);border-radius:7px;background:#21455324;padding:10px}.creator-analytics span{display:grid;color:#abc3cdb3;font-size:.58rem}.creator-analytics strong{color:#d8f5fa;font-size:1rem}.creator-analytics small{grid-column:1 / -1;color:#91a4b08c;font-size:.52rem}.assistant-editor-pane{padding-bottom:30px}.assistant-editor-intro{display:flex;align-items:flex-start;gap:9px;border-left:2px solid #63bfd2;background:#2c526024;padding:10px}.assistant-editor-intro svg{width:18px;color:#8ce5f4}.assistant-editor-intro strong,.assistant-editor-intro p{display:block}.assistant-editor-intro strong{color:#def8fc;font-size:.72rem}.assistant-editor-intro p{margin-top:3px;color:#a5bbc6b3;font-size:.57rem;line-height:1.55}.assistant-list-head{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.assistant-list-head strong{font-size:.72rem}.assistant-list-head button{display:inline-flex;min-height:29px;align-items:center;gap:4px;color:#a8eaf4;font-size:.58rem}.assistant-list-head svg{width:14px}.assistant-starter{display:flex;min-height:48px;align-items:center;justify-content:center;gap:7px;border:1px dashed rgba(111,201,218,.26);border-radius:7px;background:#315d6c1a;color:#bdebf2;font-size:.62rem}.assistant-variable-row{display:grid;grid-template-columns:1fr 1fr .85fr .85fr;gap:5px;border-bottom:1px solid rgba(255,255,255,.06);padding:8px 0}.assistant-variable-row input,.assistant-variable-row select,.assistant-trigger-row input,.assistant-trigger-row select,.assistant-trigger-row textarea{min-width:0;border:1px solid rgba(255,255,255,.09);border-radius:6px;background:#ffffff09;padding:7px 8px;color:#e7f1f4;font-size:.56rem;outline:none}.assistant-variable-row>input:nth-of-type(3){grid-column:1 / -2}.assistant-variable-row>button{display:grid;min-height:30px;place-items:center;color:#e79aaa}.assistant-variable-row svg{width:15px}.assistant-trigger-row{display:grid;gap:6px;border:1px solid rgba(255,255,255,.07);border-radius:7px;background:#ffffff05;padding:8px}.assistant-trigger-row>div{display:grid;grid-template-columns:1fr 1fr auto auto;align-items:center;gap:5px}.assistant-trigger-row label{display:inline-flex;align-items:center;gap:3px;color:#c0d0d8b8;font-size:.52rem}.assistant-trigger-row>div>button{color:#e79aaa}.assistant-trigger-row textarea{min-height:86px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.55}.assistant-command-help{border:1px solid rgba(255,255,255,.07);border-radius:7px;padding:9px;color:#b1c5cebf;font-size:.57rem}.assistant-command-help summary{color:#d3edf2;font-weight:750;cursor:pointer}.assistant-command-help p{margin-top:7px;line-height:1.65}.assistant-command-help code{color:#9fe8f4}.style-workbench{min-height:100%;padding:8px 10px 88px}.style-workbench-head{display:flex;align-items:center;gap:11px;padding:4px 0 12px}.style-workbench-head>div{min-width:0}.style-workbench-head span{color:#83d4e3;font-size:.55rem;font-weight:900}.style-workbench-head h1{overflow:hidden;margin-top:2px;font-size:1.25rem;text-overflow:ellipsis;white-space:nowrap}.style-workbench-head p{overflow:hidden;margin-top:2px;color:#97a9b8ad;font-size:.59rem;text-overflow:ellipsis;white-space:nowrap}.style-command-bar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#ffffff06}.style-command-bar button{display:grid;min-width:0;min-height:49px;place-items:center;align-content:center;gap:3px;border-right:1px solid rgba(255,255,255,.065);color:#c2d1dac2}.style-command-bar button:last-of-type{border-right:0}.style-command-bar svg{width:16px;height:16px}.style-command-bar span{font-size:.52rem}.style-basics{display:grid;grid-template-columns:1fr 1fr;gap:9px;border-bottom:1px solid rgba(255,255,255,.07);padding:14px 1px}.style-basics label:first-child{grid-column:1}.style-basics label:nth-child(2){grid-column:2}.style-basics label:last-child{grid-column:1 / -1}.style-basics label,.module-fields label,.module-prompt{display:grid;gap:5px;color:#aabcc8ad;font-size:.59rem}.style-basics input,.style-basics select,.module-fields input,.module-fields select,.module-prompt textarea{min-width:0;min-height:38px;border:1px solid rgba(255,255,255,.09);border-radius:6px;background:#ffffff0a;padding:8px 9px;color:#edf5f7;outline:none;color-scheme:dark}.style-editor-grid{display:grid;min-height:430px;grid-template-columns:190px minmax(0,1fr);border-bottom:1px solid rgba(255,255,255,.07)}.style-module-list{border-right:1px solid rgba(255,255,255,.08);padding:12px 9px 12px 0}.style-module-list>header{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:8px}.style-module-list>header strong,.style-module-list>header small{display:block}.style-module-list>header strong{font-size:.67rem}.style-module-list>header small{color:#94a3b899;font-size:.53rem}.style-module-list>header button{display:flex;align-items:center;gap:3px;border:1px solid rgba(111,201,218,.2);border-radius:6px;padding:6px;color:#bce9f1;font-size:.55rem}.style-module-list>button{display:grid;width:100%;min-height:48px;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px;border-bottom:1px solid rgba(255,255,255,.055);padding:6px 4px;text-align:left}.style-module-list>button.active{background:#2c5b6938}.style-module-list>button>span{display:grid;width:25px;height:25px;place-items:center;border-radius:5px;color:#06131a;font-size:.58rem;font-weight:900}.style-module-list>button div{min-width:0}.style-module-list>button strong,.style-module-list>button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module-list>button strong{font-size:.62rem}.style-module-list>button small{margin-top:2px;color:#94a3b894;font-size:.52rem}.style-module-editor{min-width:0;padding:12px 0 12px 12px}.style-module-editor>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.style-module-editor>header strong,.style-module-editor>header small{display:block}.style-module-editor>header strong{font-size:.72rem}.style-module-editor>header small{margin-top:2px;color:#94a3b899;font-size:.54rem}.style-module-editor>header>div:last-child{display:flex;gap:4px}.style-module-editor>header button{display:grid;width:30px;height:30px;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:6px;color:#c5d4dcb8}.style-module-editor>header button svg{width:15px}.module-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.module-enable{display:flex!important;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}.module-enable input{width:36px;min-height:20px;accent-color:#6dc6d7}.module-prompt{position:relative;margin-top:10px}.module-prompt textarea{min-height:220px;resize:vertical;line-height:1.65}.module-prompt small{position:absolute;right:8px;bottom:7px;color:#94a3b88a}.module-empty{display:grid;min-height:320px;place-items:center;align-content:center;gap:7px;color:#94a3b89e;text-align:center}.module-empty strong{color:#e2e8f0db;font-size:.74rem}.module-empty p{font-size:.58rem}.module-empty button{margin-top:5px;border:1px solid rgba(111,201,218,.25);border-radius:6px;padding:8px 12px;color:#bceaf2;font-size:.62rem}.style-preview-sheet{margin-top:12px;border:1px solid rgba(111,201,218,.18);border-radius:7px;background:#1d374433;padding:10px}.style-preview-sheet header{display:flex;justify-content:space-between}.style-preview-sheet header button{color:#cbd5e1b8}.style-preview-sheet pre{margin-top:8px;overflow-x:auto;color:#bee7ee;font-family:inherit;font-size:.61rem;line-height:1.7;white-space:pre-wrap}.style-delete{display:flex;align-items:center;gap:5px;margin:14px 0 0 auto;color:#f49aafb8;font-size:.59rem}.builtin-style-preview{display:grid;min-height:360px;place-items:center;align-content:center;gap:10px;border-top:1px solid rgba(255,255,255,.07);text-align:center}.builtin-style-preview>svg{color:#7ed1e1}.builtin-style-preview strong{font-size:1.2rem}.builtin-style-preview p{max-width:320px;color:#a4b4c1b3;font-size:.67rem;line-height:1.65}.builtin-style-preview button{display:flex;min-height:42px;align-items:center;gap:7px;border-radius:7px;background:#dcedf1;padding:0 16px;color:#0c1b23;font-size:.67rem;font-weight:900}@media(max-width:520px){.narrative-preset-list{grid-template-columns:1fr}.narrative-select{min-height:0;align-items:stretch;flex-direction:column;gap:6px}.narrative-select select,.narrative-pane>select{width:100%;max-width:none}.style-editor-grid{grid-template-columns:1fr}.style-module-list{overflow-x:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.08);padding-right:0;white-space:nowrap}.style-module-list>header{position:sticky;left:0}.style-module-list>button{display:inline-grid;width:148px;margin-right:5px;border:1px solid rgba(255,255,255,.06);border-radius:6px}.style-module-editor{padding-left:0}.module-fields{grid-template-columns:1fr}.module-prompt textarea{min-height:190px}}@media(max-width:380px){.narrative-sheet-scroll{padding-right:9px;padding-left:9px}.narrative-section-title{display:grid;gap:2px}.narrative-section-title small{text-align:left}.narrative-sheet-actions{align-items:stretch;flex-direction:column}.narrative-save{width:100%}.quality-module-grid{grid-template-columns:1fr}.style-command-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.style-command-bar button:nth-child(3){border-right:0}.style-basics{grid-template-columns:1fr}.style-basics label,.style-basics label:first-child,.style-basics label:nth-child(2),.style-basics label:last-child{grid-column:1}}@media(min-width:900px){body{overflow:hidden}.app-stage{display:block;min-height:100dvh;padding:0}.phone-shell{width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}.phone-bezel{display:none}.app-tabbar{position:absolute;z-index:12;top:0;bottom:0;left:0;display:flex;width:96px;flex-direction:column;gap:6px;margin:0;border:0;border-right:1px solid rgba(255,255,255,.08);border-radius:0;background:#060912e0;padding:68px 10px 16px;box-shadow:none}.app-tab{min-height:58px;border-radius:14px;font-size:.74rem}.app-tab:hover{color:#ffffffdb;background:#ffffff0d}.app-statusbar{height:52px;margin-left:96px;border-bottom:1px solid rgba(255,255,255,.07);padding:0 28px}.status-icons{display:none}.status-logo{font-size:.92rem;padding:6px 14px}.app-account-strip{margin-left:96px;padding:10px 28px}.app-viewport{margin-left:96px}.phone-shell-nonav .app-viewport,.phone-shell-nonav .app-statusbar,.phone-shell-nonav .app-account-strip{margin-left:0}.notice-toast{max-width:760px;margin:10px auto 10px 124px}.phone-shell-nonav .notice-toast{margin-left:auto}.app-page{padding:0 32px 32px}.app-page>*{max-width:1160px;margin-left:auto;margin-right:auto}.role-gallery{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.role-library-head,.role-search{max-width:1160px}.chat-app-page{padding:14px 28px}.chat-panel{border-radius:24px}.chat-scroll{padding:24px calc(50% - 430px) 18px}.chat-composer{padding:12px calc(50% - 430px) 14px}.message-content-column{max-width:76%}.role-detail-hero{min-height:340px}.role-detail-content{max-width:880px;margin:0 auto}.pass-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkin-card{max-width:1160px}.creator-home>*,.character-editor>*,.worldbook-editor>*,.regex-editor>*,.creator-help>*{max-width:1160px;margin-left:auto;margin-right:auto}.creator-home,.character-editor,.worldbook-editor,.regex-editor,.creator-help{padding:8px 32px 48px}.creator-help-article{max-width:860px}.welcome-gift-modal{width:min(420px,100%)}.thought-summary-panel{max-width:640px}.onboarding-screen{max-width:560px;margin:0 auto;border-radius:24px}.app-viewport-auth{padding:32px 0}}@media(min-width:1440px){.app-page>*{max-width:1320px}.role-gallery{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.chat-scroll{padding:28px calc(50% - 470px) 20px}.chat-composer{padding:12px calc(50% - 470px) 16px}}@media(min-width:900px){.app-page.settings-page-real{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start}.app-page.settings-page-real>*{max-width:none;margin:0;width:100%}.app-page.settings-page-real>.settings-account-section,.app-page.settings-page-real>.settings-profile-editor,.app-page.settings-page-real>.settings-status-strip,.app-page.settings-page-real>.settings-version-section{grid-column:1 / -1}.app-page.pass-page{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px 20px;align-items:start}.app-page.pass-page>*{max-width:none;margin:0;width:100%}.app-page.pass-page>.pass-visual-card{min-height:0;height:300px}.app-page.pass-page>.pass-visual-card img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.app-page.pass-page>.billing-section,.app-page.pass-page>.pass-form-card,.app-page.pass-page>.pass-facts{grid-column:1 / -1}.app-page.pass-page>.pass-form-card{max-width:640px;margin:0 auto}.assistant-status-strip{flex-wrap:wrap;overflow-x:visible;overflow-y:auto;max-height:132px;padding:7px calc(50% - 430px);row-gap:6px;scrollbar-width:thin;scrollbar-color:var(--assistant-accent, rgba(158,231,243,.5)) transparent}.assistant-status-strip::-webkit-scrollbar{display:block;width:6px;height:6px}.assistant-status-strip::-webkit-scrollbar-thumb{background:var(--assistant-accent, rgba(158,231,243,.4));border-radius:999px}.assistant-status-strip::-webkit-scrollbar-track{background:transparent}}@media(min-width:1440px){.assistant-status-strip{padding:7px calc(50% - 470px)}}.community-page{display:flex;flex-direction:column;gap:14px;padding-top:6px}.community-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#2e3456d9,#14182ceb);border:1px solid rgba(148,163,255,.16)}.community-header h1{font-size:19px;font-weight:700;margin:0}.community-header p{margin:2px 0 0;font-size:12px;color:#e2e8ff8c}.community-notify-button{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;border:1px solid rgba(148,163,255,.2);background:#94a3ff14;color:#cdd6ff}.community-notify-dot{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f43f5e;color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;font-style:normal}.app-tab-badge{position:absolute;top:2px;right:calc(50% - 24px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#f43f5e;color:#fff;font-size:9px;font-weight:700;display:grid;place-items:center;font-style:normal}.app-tab{position:relative}.community-subheader{display:flex;align-items:center;gap:10px}.community-subheader h2{flex:1;min-width:0;font-size:16px;font-weight:650;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-board-heading{flex:1;min-width:0}.community-board-heading h2{font-size:16px;margin:0}.community-board-heading p{margin:2px 0 0;font-size:12px;color:#e2e8ff80;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-primary-button{display:inline-flex;align-items:center;gap:5px;padding:7px 14px;border-radius:999px;border:none;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-size:13px;font-weight:600;white-space:nowrap}.community-primary-button:disabled{opacity:.5}.community-primary-button.ghost{background:#6366f11f;border:1px solid rgba(99,102,241,.35);color:#c7d2fe}.community-follow-button{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:999px;border:1px solid rgba(148,163,255,.3);background:transparent;color:#cdd6ff;font-size:12px;white-space:nowrap}.community-follow-button.following{background:#94a3ff24;color:#e2e8ff99}.community-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.community-section-title h3{margin:0;font-size:14px;color:#e2e8ffb3}.community-board-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:10px}.community-board-grid>li{position:relative}.community-board-card{width:100%;text-align:left;padding:14px 16px;border-radius:16px;border:1px solid rgba(148,163,255,.14);background:#181c34b8;color:inherit;display:block}.community-board-card h4{margin:0;font-size:15px;font-weight:650}.community-board-card p{margin:4px 0 10px;font-size:12px;color:#e2e8ff8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-board-card footer{display:flex;gap:14px;font-size:11px;color:#e2e8ff73}.community-board-card footer span{display:inline-flex;align-items:center;gap:4px}.community-board-archive{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;border:none;background:#f43f5e1f;color:#fda4af}.community-board-create{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:14px;border:1px dashed rgba(148,163,255,.3);background:#181c3480}.community-board-create input{padding:8px 12px;border-radius:10px;border:1px solid rgba(148,163,255,.2);background:#0a0c1a99;color:inherit;font-size:13px}.community-board-create>div{display:flex;gap:8px}.community-board-create>div button:last-child{padding:7px 14px;border-radius:999px;border:1px solid rgba(148,163,255,.25);background:transparent;color:#e2e8ffb3;font-size:13px}.community-board-toolbar{display:flex;align-items:center;justify-content:space-between}.community-sort-tabs{display:inline-flex;padding:3px;border-radius:999px;background:#181c34b3;border:1px solid rgba(148,163,255,.14)}.community-sort-tabs button{display:inline-flex;align-items:center;gap:4px;padding:5px 14px;border-radius:999px;border:none;background:transparent;color:#e2e8ff8c;font-size:12px}.community-sort-tabs button.active{background:#6366f159;color:#fff}.community-post-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.community-post-item{width:100%;display:flex;align-items:flex-end;gap:10px;text-align:left;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,255,.12);background:#181c3499;color:inherit}.community-post-item-main{flex:1;min-width:0}.community-post-item-main h3{margin:0 0 6px;font-size:14px;font-weight:600}.community-post-item-main h3 .community-badge{margin-right:5px}.community-post-item-main p{margin:0;display:flex;gap:8px;align-items:center;font-size:11px;color:#e2e8ff73}.community-post-item-stats{display:flex;gap:10px;font-size:11px;color:#e2e8ff73;white-space:nowrap}.community-post-item-stats span{display:inline-flex;align-items:center;gap:3px}.community-badge{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:600}.community-badge.pinned{background:#f59e0b29;color:#fcd34d}.community-badge.featured{background:#10b98129;color:#6ee7b7}.community-badge.nsfw{background:#f43f5e2e;color:#fda4af}.community-nsfw-title{color:#e2e8ff66;font-style:italic}.community-card-chip{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;background:#5eead41a;border:1px solid rgba(94,234,212,.25);color:#99f6e4;font-size:11px}.community-card-chip.large{padding:6px 12px;font-size:13px}.community-card-chip.large img{width:24px;height:24px;border-radius:8px;-o-object-fit:cover;object-fit:cover}.community-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 0;color:#e2e8ff66;font-size:13px}.community-loading{text-align:center;padding:24px 0;color:#e2e8ff73;font-size:13px}.community-form-error{margin:4px 0 0;font-size:12px;color:#fda4af}.community-post-body{padding:14px 16px;border-radius:16px;border:1px solid rgba(148,163,255,.14);background:#181c34b8;display:flex;flex-direction:column;gap:10px}.community-post-author{display:flex;align-items:baseline;gap:8px;font-size:13px}.community-post-author time{font-size:11px;color:#e2e8ff66}.community-post-content{font-size:14px;line-height:1.75;white-space:pre-wrap;word-break:break-word}.community-content-text .community-emoji{display:inline-block;vertical-align:-4px;margin:0 1px;color:#fcd34d}.community-image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.community-image-grid a{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid rgba(148,163,255,.12)}.community-image-grid img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.community-post-actions{display:flex;gap:8px;border-top:1px solid rgba(148,163,255,.1);padding-top:10px}.community-post-actions button{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:999px;border:1px solid rgba(148,163,255,.2);background:transparent;color:#e2e8ffa6;font-size:12px}.community-post-actions button.liked{color:#fda4af;border-color:#f43f5e66;background:#f43f5e1a}.community-post-actions button.danger{color:#fda4af}.community-detail-title{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.community-reply-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.community-reply-list>li{padding:10px 14px;border-radius:12px;border:1px solid rgba(148,163,255,.1);background:#12162a99}.community-reply-list>li.deleted{opacity:.55}.community-reply-list header{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:5px}.community-reply-list header time{font-size:11px;color:#e2e8ff66}.community-floor{padding:1px 7px;border-radius:999px;background:#94a3ff1f;color:#e2e8ff99;font-size:10px;font-weight:600}.community-reply-actions{margin-left:auto;display:inline-flex;gap:6px}.community-reply-actions button{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;border:none;background:#94a3ff1a;color:#e2e8ff99}.community-reply-content{font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.community-reply-ref{display:inline-block;margin-right:6px;padding:1px 8px;border-radius:999px;background:#6366f129;color:#c7d2fe;font-size:11px}.community-deleted-tip{margin:0;font-size:12px;color:#e2e8ff59}.community-reply-composer{position:sticky;bottom:0;display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:14px;border:1px solid rgba(148,163,255,.16);background:#0e1122f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.community-reply-target{display:flex;align-items:center;justify-content:space-between;padding:4px 10px;border-radius:8px;background:#6366f124;color:#c7d2fe;font-size:12px}.community-reply-target button{border:none;background:none;color:inherit;font-size:14px}.community-reply-input{display:flex;align-items:flex-end;gap:8px}.community-reply-input textarea{flex:1;resize:none;padding:8px 10px;border-radius:10px;border:1px solid rgba(148,163,255,.18);background:#0a0c1a99;color:inherit;font-size:13px;font-family:inherit}.community-reply-input>button:not(.community-primary-button){display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid rgba(148,163,255,.18);background:transparent;color:#e2e8ff99}.community-emoji-panel{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:10px;border-radius:12px;border:1px solid rgba(148,163,255,.16);background:#0e1122f2}.community-emoji-panel button{display:grid;place-items:center;aspect-ratio:1;border-radius:10px;border:none;background:transparent;color:#fcd34d}.community-emoji-panel button:hover{background:#94a3ff1f}.community-composer{display:flex;flex-direction:column;gap:12px}.community-composer-title{padding:10px 14px;border-radius:12px;border:1px solid rgba(148,163,255,.2);background:#0a0c1a99;color:inherit;font-size:15px;font-weight:600}.community-composer-body{display:flex;flex-direction:column;gap:6px}.community-composer-body textarea{resize:vertical;min-height:140px;padding:12px 14px;border-radius:12px;border:1px solid rgba(148,163,255,.2);background:#0a0c1a99;color:inherit;font-size:14px;line-height:1.7;font-family:inherit}.community-composer-toolbar{display:flex;align-items:center;gap:12px}.community-composer-toolbar>button{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid rgba(148,163,255,.2);background:transparent;color:#e2e8ffa6}.community-composer-toolbar>button.active{background:#6366f133;color:#fcd34d}.community-nsfw-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#e2e8ff99}.community-composer-images{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.community-composer-image{position:relative;margin:0;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid rgba(148,163,255,.14)}.community-composer-image img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.community-composer-image button{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:20px;height:20px;border-radius:999px;border:none;background:#080a14bf;color:#fff}.community-composer-image-add{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:10px;border:1px dashed rgba(148,163,255,.3);background:transparent;color:#e2e8ff73;font-size:11px}.community-card-picker{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#e2e8ff99}.community-card-picker select{padding:8px 12px;border-radius:10px;border:1px solid rgba(148,163,255,.2);background:#0a0c1a99;color:inherit;font-size:13px}.community-nsfw-gate{display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 20px;border-radius:16px;border:1px solid rgba(244,63,94,.25);background:#181c34b3;text-align:center;font-size:13px;color:#e2e8ffb3}.community-notifications{border-radius:14px;border:1px solid rgba(148,163,255,.16);background:#0e1122e6;padding:10px 12px}.community-notifications>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.community-notifications>header h3{margin:0;font-size:13px}.community-notifications>header button{border:none;background:none;color:#e2e8ff80;font-size:12px}.community-notifications ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.community-notifications li button{width:100%;text-align:left;border:none;background:none;color:#e2e8ffbf;font-size:12px;padding:6px 8px;border-radius:8px}.community-notifications li button:hover{background:#94a3ff14}.community-notifications time{display:block;font-size:10px;color:#e2e8ff59}@media(min-width:900px){.community-board-grid{grid-template-columns:repeat(2,1fr)}.community-image-grid{grid-template-columns:repeat(4,1fr)}.community-composer-images{grid-template-columns:repeat(6,1fr)}.community-emoji-panel{grid-template-columns:repeat(16,1fr)}}.community-admin-word{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:#94a3ff1a;border:1px solid rgba(148,163,255,.2);font-size:11px}.community-admin-word button{display:grid;place-items:center;border:none;background:none;color:#fda4afe6;padding:0}.community-page>*{width:100%}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.disabled\:opacity-50:disabled{opacity:.5}
