html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:SF Pro Display,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#e4e7f5}.app-layout{min-height:100vh;background:var(--shell-bg);transition:background-color .3s ease,color .3s ease;display:flex;align-items:stretch}.app-layout.light{--shell-bg: #e4e7f5;--surface-bg: #f4f5fb;--chrome-bg: #e4e7f5;--card-bg: #ffffff;--border-color: rgba(28, 31, 53, .06);--text-color: #202124;--subtext-color: rgba(32, 33, 36, .58);--menu-hover: linear-gradient(135deg, rgba(129, 140, 248, .16), rgba(196, 181, 253, .2));--menu-active: linear-gradient(135deg, rgba(99, 102, 241, .22), rgba(168, 85, 247, .26));--header-icon-color: #94a3b8;--header-icon-hover-color: #6366f1;--header-icon-hover-bg: rgba(99, 102, 241, .12);--header-icon-active-bg: rgba(99, 102, 241, .16);--header-icon-active-color: #4f46e5}.app-layout.dark{--shell-bg: #111827;--surface-bg: #111b2d;--chrome-bg: #111827;--card-bg: #1e293b;--border-color: rgba(255, 255, 255, .08);--text-color: rgba(255, 255, 255, .94);--subtext-color: rgba(255, 255, 255, .58);--menu-hover: linear-gradient(135deg, rgba(129, 140, 248, .24), rgba(168, 85, 247, .28));--menu-active: linear-gradient(135deg, rgba(99, 102, 241, .32), rgba(168, 85, 247, .36));--header-icon-color: rgba(203, 213, 225, .86);--header-icon-hover-color: #c7d2fe;--header-icon-hover-bg: rgba(99, 102, 241, .28);--header-icon-active-bg: rgba(124, 58, 237, .32);--header-icon-active-color: #e0e7ff}.app-layout.light,.app-layout.dark{color:var(--text-color)}.app-sider{width:220px;flex-shrink:0;padding:36px 28px;background:var(--chrome-bg);border-right:none;display:flex;flex-direction:column;gap:24px;min-height:100vh}.logo-area{padding:0 12px 24px}.logo-text{margin:0!important;color:var(--text-color)!important;font-size:24px!important}.app-sider .ant-typography-secondary{color:var(--subtext-color)!important;font-size:14px}.app-sider .ant-menu{background:transparent;border-inline-end:none!important;width:100%;font-size:16px}.app-sider .ant-menu-item{border-radius:12px;margin:4px 0;font-weight:500;color:var(--text-color);padding:10px 18px!important;font-size:16px}.app-sider .ant-menu-item.nav-item{position:relative;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.app-sider .ant-menu-item.nav-item:hover{transform:translate(4px);box-shadow:0 12px 22px -18px #4f46e580}.app-sider .ant-menu-item.nav-item.ant-menu-item-selected{transform:translate(6px);box-shadow:0 16px 28px -18px #4f46e58c}.app-sider .ant-menu-item.nav-item.ant-menu-item-selected .ant-menu-title-content{font-weight:600}.app-sider .ant-menu-item-icon{font-size:22px}.app-sider .ant-menu-title-content{font-size:16px}.app-sider .ant-menu-item:not(.ant-menu-item-selected):hover{background:var(--menu-hover);color:#4338ca!important}.app-layout.light .ant-menu-item-selected,.app-layout.dark .ant-menu-item-selected{background:var(--menu-active);color:#4338ca!important}.app-layout.dark .ant-menu-item{color:#ffffffc7}.app-layout.dark .ant-menu-item-selected{color:#f5f3ff!important}.app-main{flex:1;min-height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:16px 32px;background:var(--chrome-bg)}.app-header{display:flex;align-items:center;justify-content:flex-end;padding:0 16px;background:var(--chrome-bg);color:var(--text-color);min-height:64px}.app-title{margin:0!important;color:var(--text-color)!important}.header-actions{display:flex;align-items:center;gap:20px}.header-tutorial-link{font-weight:600;font-size:13px;letter-spacing:.16em;color:#4f46e5;text-decoration:none;padding:4px 12px;border-radius:999px;background:#4f46e51f;display:inline-flex;align-items:center;justify-content:center}.app-layout.dark .header-tutorial-link{color:#c7d2fe;background:#6366f13d}.header-icon-btn{height:40px;min-width:40px;padding:0 12px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:var(--header-icon-color)!important;font-weight:500;font-size:14px;gap:6px;background:transparent;border:none;transition:color .18s ease,background-color .18s ease,transform .18s ease;box-shadow:none!important}.header-icon-btn.icon-only{width:40px;padding:0}.header-icon-btn span{display:flex;align-items:center;justify-content:center}.header-icon-btn .ant-btn-icon{font-size:18px}.header-icon-btn.icon-only .ant-btn-icon{font-size:20px}.header-icon-btn .ant-btn-icon svg{stroke-width:1.5}.header-recharge-btn{letter-spacing:.06em;color:var(--header-icon-color)!important}.app-layout.dark .header-recharge-btn{color:#c7d2fe!important}.header-recharge-btn .recharge-text{background:linear-gradient(135deg,#6366f1,#8b5cf6);-webkit-background-clip:text;background-clip:text;color:transparent!important}.header-icon-btn:hover,.header-icon-btn:focus-visible{background:var(--header-icon-hover-bg)!important;color:var(--header-icon-hover-color)!important}.header-icon-btn.theme-toggle{width:44px}.header-icon-btn:active,.header-icon-btn.is-active{background:var(--header-icon-active-bg)!important;color:var(--header-icon-active-color)!important}.header-icon-btn:focus-visible{outline:2px solid rgba(99,102,241,.45);outline-offset:2px}.header-avatar{background:linear-gradient(135deg,#6366f1d9,#a855f7bf)}.app-footer{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0 4px;font-size:13px;color:var(--subtext-color)}.app-footer a{color:inherit;text-decoration:none}.app-footer a:hover,.app-footer a:focus-visible{color:var(--header-icon-hover-color);text-decoration:underline;outline:none}.app-content{position:relative;z-index:0;padding:28px clamp(24px,4vw,40px) 32px;background:var(--card-bg);border-radius:24px;min-height:0;border:none;box-shadow:none;overflow-x:hidden;overflow-y:auto}.recharge-modal .ant-modal-body{padding:0}.recharge-modal-content{margin:12px 0;padding:36px 28px 32px 32px;display:flex;flex-direction:column;gap:18px;max-height:min(75vh,730px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.65) rgba(99,102,241,.12)}.recharge-modal-content::-webkit-scrollbar{width:8px}.recharge-modal-content::-webkit-scrollbar-track{background:#6366f114;border-radius:999px;margin:12px 0}.recharge-modal-content::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f1d9,#a855f7bf);border-radius:999px;margin:12px 0}.recharge-modal-content::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#4f46e5f2,#818cf8d9)}.recharge-modal-header{display:flex;flex-direction:column;gap:8px}.recharge-modal-section{display:flex;flex-direction:column;gap:12px}.recharge-plan-info{padding:16px 18px;background:linear-gradient(135deg,#6366f114,#a855f71f);border-radius:16px;display:flex;flex-direction:column;gap:10px}.recharge-plan-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.recharge-plan-name{margin:0!important}.recharge-plan-meta{display:flex;gap:12px;font-size:14px;color:var(--subtext-color)}.recharge-plan-recommend{background:linear-gradient(135deg,#fff3,#6366f129);color:#4338ca;font-weight:600;border-radius:999px;padding:4px 12px}.recharge-plan-tip{font-size:13px}.recharge-toggle{display:flex;flex-direction:column;gap:12px;padding:16px 18px;border-radius:14px;background:#6366f114}.recharge-mode-tabs{display:flex;gap:12px}.recharge-mode-tab{flex:1;height:42px;border-radius:12px!important;border:1px solid rgba(99,102,241,.24)!important;background:#fff9!important;color:var(--text-color)!important;font-weight:600;display:flex;align-items:center;justify-content:center;box-shadow:none;transition:all .2s ease}.recharge-mode-tab:hover{border-color:#6366f17a!important}.recharge-mode-tab.active{background:linear-gradient(135deg,#6366f138,#a855f747)!important;border-color:transparent!important;color:#4338ca!important}.recharge-toggle-label{font-weight:600;color:var(--text-color)}.history-modal .ant-modal-body{padding:0}.history-modal-content{padding:24px 24px 16px;display:flex;flex-direction:column;gap:16px;max-height:min(70vh,640px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.45) transparent}.history-modal-content::-webkit-scrollbar{width:8px}.history-modal-content::-webkit-scrollbar-track{background:transparent;border-radius:999px}.history-modal-content::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f17a,#a855f773);border-radius:999px}.history-modal-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:48px 0;color:var(--subtext-color)}.history-modal-summary{display:flex;justify-content:space-between;align-items:center;padding-bottom:4px;border-bottom:1px dashed rgba(99,102,241,.24)}.history-refresh-btn{padding:0!important;height:auto;font-weight:600;color:#4f46e5!important}.app-layout.dark .history-refresh-btn{color:#c7d2fe!important}.history-refresh-btn:hover{color:#4338ca!important}.history-record-list{display:flex;flex-direction:column;gap:16px}.history-record{border-radius:18px;padding:18px 20px;background:linear-gradient(135deg,#6366f114,#c4b5fd1f);border:1px solid rgba(99,102,241,.16);box-shadow:0 16px 30px -22px #4f46e573;display:flex;flex-direction:column;gap:12px}.app-layout.dark .history-record{background:linear-gradient(135deg,#6366f129,#c4b5fd2e);border-color:#818cf842;box-shadow:0 18px 32px -20px #1e40af73}.history-record-meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.history-record-output{margin-bottom:0!important;white-space:pre-wrap;color:var(--text-color)!important}.history-modal-pagination{padding-top:8px;border-top:1px dashed rgba(99,102,241,.24);display:flex;justify-content:flex-end}.recharge-membership-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.recharge-cycle-selector{display:flex;flex-direction:column;gap:12px;margin-bottom:4px}.recharge-cycle-label{font-weight:600;color:var(--text-color)}.recharge-cycle-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.recharge-cycle-option{height:auto;padding:12px 14px!important;border-radius:14px!important;border:1px solid rgba(99,102,241,.16)!important;background:#ffffffc7!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;transition:all .2s ease}.recharge-cycle-option:hover{border-color:#6366f152!important}.recharge-cycle-option.active{background:linear-gradient(135deg,#6366f133,#a855f742)!important;color:#312e81!important;border-color:transparent!important;box-shadow:0 10px 20px #6366f12e}.recharge-cycle-option-label{font-weight:600;font-size:15px}.recharge-cycle-option-desc{font-size:12px;color:var(--subtext-color)}.recharge-membership-card{padding:20px 18px;border-radius:18px;background:linear-gradient(145deg,#f1edff2e,#dbe1ff3d);border:1px solid rgba(99,102,241,.12);display:flex;flex-direction:column;gap:12px;transition:transform .2s ease,box-shadow .2s ease}.recharge-membership-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #6366f12e}.recharge-membership-title{margin:0!important}.recharge-membership-price{font-size:18px;font-weight:600;color:#4f46e5}.recharge-membership-pricing{display:flex;flex-direction:column;gap:4px}.recharge-membership-discount{font-size:13px;font-weight:600;color:#dc2626}.recharge-membership-highlight{align-self:flex-start;background:#4f46e51f;color:#4338ca;font-weight:600;border-radius:999px;padding:4px 10px;margin-bottom:2px}.recharge-membership-benefits{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;color:var(--subtext-color)}.recharge-membership-benefits li{list-style:disc}.recharge-quota-section{display:flex;flex-direction:column;gap:16px}.recharge-quota-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.recharge-quota-card{padding:20px 18px;border-radius:18px;border:1px solid rgba(148,163,184,.22);background:linear-gradient(135deg,#e2e8f042,#ffffff85);display:flex;flex-direction:column;gap:10px;transition:transform .2s ease,box-shadow .2s ease}.recharge-quota-card:hover{transform:translateY(-3px);box-shadow:0 12px 20px #94a3b847}.recharge-quota-name{margin:0!important}.recharge-quota-price{font-size:20px;font-weight:700;color:#1d4ed8}.recharge-quota-pricing{display:flex;flex-direction:column;gap:4px}.recharge-quota-discount{font-size:13px;font-weight:600;color:#dc2626}.recharge-quota-meta{display:flex;gap:12px;font-size:13px;color:var(--text-color)}.recharge-quota-desc{font-size:13px}.recharge-supreme-card{margin-top:8px;padding:24px 26px;border-radius:20px;background:linear-gradient(135deg,#0ea5e924,#6366f13d);display:flex;flex-direction:column;gap:14px}.recharge-supreme-header{display:flex;align-items:center;justify-content:space-between}.recharge-supreme-title{margin:0!important}.recharge-supreme-price{font-size:20px;font-weight:700;color:#0f172a}.recharge-supreme-pricing{display:flex;align-items:baseline;gap:12px}.recharge-supreme-discount{font-size:15px;font-weight:600;color:#b91c1c}.recharge-supreme-price-note{font-size:16px;font-weight:600;color:#0f172a}.recharge-supreme-subtitle{font-size:13px}.recharge-supreme-benefits{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;color:var(--text-color)}.recharge-supreme-benefits li{list-style:disc}.recharge-supreme-action{align-self:flex-start;padding:0 32px}.recharge-empty-state{padding:32px 0;display:flex;align-items:center;justify-content:center;color:var(--subtext-color)}.recharge-info-panel{padding:16px 18px;border-radius:14px;background:#6366f114}.content-wrapper{width:min(100%,clamp(960px,90vw,1600px));margin:0 auto;padding:0 clamp(16px,5vw,40px);display:flex;flex-direction:column;gap:14px;box-sizing:border-box}.creative-tools-page{display:flex;flex-direction:column;gap:20px;min-height:calc(100vh - 220px)}.creative-tools-section{width:100%;max-width:1440px;margin:24px auto 0;padding:0 clamp(12px,3vw,24px);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;flex:1;min-height:0}.content-header{display:flex;flex-direction:column;gap:8px}.content-heading{display:flex;flex-direction:column;gap:4px}.create-work-card:hover .create-card-button,.work-card:hover .work-card-button{background:#ffffff2e;border-color:transparent;color:#1f1f1f}.create-work-card:hover .create-card-button.ghost{background:#ffffff42;color:#312e81}.prompt-card{background:var(--card-bg);border-radius:20px;border:1px solid transparent;box-shadow:0 18px 40px -24px #0f172a59;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;color:var(--text-color)}.prompt-card:hover{transform:translateY(-4px);border-color:#6366f166;box-shadow:0 18px 32px -16px #4f46e54d}.work-manage-dropdown{border-radius:14px;overflow:hidden;box-shadow:0 18px 32px -16px #0f172a59}.placeholder-panel{background:var(--card-bg);border-radius:20px;padding:48px;text-align:center;border:1px solid rgba(99,102,241,.12)}.creative-tools-grid{display:grid;gap:clamp(18px,2.8vw,30px);grid-template-columns:repeat(auto-fit,minmax(280px,1fr));justify-content:center;justify-items:stretch;width:100%;max-width:1320px;margin:0 auto;box-sizing:border-box;padding:0 clamp(10px,2.8vw,20px)}.creative-tools-grid-wrapper{width:100%;margin:0 auto;box-sizing:border-box;padding:clamp(10px,2.5vw,22px);display:flex;flex-direction:column;flex:1;min-height:0}.creative-tools-scroll-area{flex:1;min-height:0;overflow-y:auto;padding:clamp(8px,2vw,16px);border-radius:28px;max-height:max(320px,calc(100vh - 260px));scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.65) rgba(99,102,241,.1)}.creative-tools-scroll-area::-webkit-scrollbar{width:10px}.creative-tools-scroll-area::-webkit-scrollbar-track{background:#6366f114;border-radius:999px}.creative-tools-scroll-area::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f1d9,#a855f7d9);border-radius:999px}.creative-tools-scroll-area::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#4f46e5f2,#818cf8f2)}.creative-card{background:var(--card-bg);border-radius:22px;padding:clamp(26px,3.2vw,36px) clamp(30px,4.8vw,48px);border:1px solid rgba(129,140,248,.16);box-shadow:0 24px 48px -24px #0f172a59;display:flex;flex-direction:column;gap:18px;min-height:268px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background .25s ease;color:var(--text-color)}.creative-card:hover{transform:translateY(-8px);border-color:#a5b4fcb3;box-shadow:0 28px 56px -22px #4f46e573;background:linear-gradient(145deg,#f1edff52,#dbe1ff66)}.creative-card.is-clickable{cursor:pointer}.creative-card.is-clickable:focus-visible{outline:3px solid rgba(99,102,241,.45);outline-offset:6px}.creative-card-header{display:flex;align-items:center;gap:12px}.creative-card-icon{font-size:34px}.creative-card .ant-typography{margin:0}.creative-card-header .ant-typography{font-size:24px;font-weight:600}.creative-card .ant-typography.ant-typography-secondary,.creative-card .ant-typography.ant-typography-text{color:var(--subtext-color)}.creative-card-action{align-self:flex-start;padding:0;font-weight:600;color:#6366f1!important}.creative-card-action:hover,.creative-card-action:focus-visible{color:#4f46e5!important}@media (max-width: 1280px){.creative-tools-page{min-height:calc(100vh - 200px)}.creative-tools-section{margin:20px auto 0;padding:0 clamp(12px,4vw,22px)}.creative-tools-grid{max-width:1080px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:clamp(18px,4vw,26px)}.creative-tools-grid-wrapper{padding:clamp(8px,3.5vw,20px)}.creative-tools-scroll-area{max-height:max(280px,calc(100vh - 240px))}.creative-card{min-height:252px}}@media (max-width: 1024px){.creative-tools-page{min-height:calc(100vh - 180px)}.creative-tools-section{margin:18px auto 0;padding:0 clamp(12px,6vw,20px)}.creative-tools-grid{max-width:820px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:clamp(16px,4vw,24px)}.creative-tools-grid-wrapper{padding:clamp(8px,6vw,18px)}.creative-tools-scroll-area{max-height:max(240px,calc(100vh - 220px))}.creative-card{gap:16px;padding:clamp(22px,5vw,28px) clamp(24px,6vw,34px);min-height:0}.creative-card-header .ant-typography{font-size:22px}.creative-card-icon{font-size:30px}}@media (max-width: 768px){.creative-tools-page{min-height:calc(100vh - 140px)}.creative-tools-section{margin:16px auto 0;padding:0 clamp(10px,7vw,18px)}.creative-tools-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-width:560px;gap:clamp(14px,6vw,22px);justify-content:center}.creative-tools-grid-wrapper{padding:clamp(8px,8vw,16px)}.creative-tools-scroll-area{max-height:max(220px,calc(100vh - 180px))}.creative-card{padding:clamp(20px,8vw,26px)}}@media (max-width: 480px){.creative-card{border-radius:18px;padding:clamp(18px,8vw,24px)}.creative-card-header .ant-typography{font-size:20px}.creative-card-icon{font-size:28px}.creative-card-action{font-size:14px}}@media (min-width: 1400px){.creative-tools-grid{max-width:1360px;gap:clamp(24px,2vw,36px)}.creative-card{min-height:260px;padding:32px 44px}}.prompt-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.prompt-card .ant-card-head{border-bottom:none}.prompt-card .ant-typography{color:var(--subtext-color)}@media (max-width: 1080px){.app-content{padding:24px}}@media (max-width: 768px){.content-header{flex-direction:column}}.recycle-modal-body{min-height:220px}.recycle-modal-body .ant-spin-nested-loading,.recycle-modal-body .ant-spin-container{width:100%}.recycle-empty{display:flex;justify-content:center;align-items:center;padding:36px 0}.recycle-empty .ant-empty-description{color:var(--subtext-color)}.recycle-item{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 16px;border:1px solid rgba(214,218,230,.7);border-radius:12px;background:#fbfcfe}.recycle-item+.recycle-item{margin-top:10px}.recycle-item-info{max-width:360px;display:flex;flex-direction:column;gap:6px}.work-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:32px;width:100%;padding:0;align-content:flex-start;justify-items:center}.work-tile{display:flex;flex-direction:column;align-items:flex-start;gap:6px;cursor:pointer;outline:none;padding:2px 0 0;background:transparent;width:100%;max-width:145px;transition:transform .18s ease}.work-tile:focus-visible{box-shadow:0 0 0 2px #818cf847;border-radius:12px}.work-tile-cover{display:flex;align-items:center;justify-content:flex-start;width:100%;max-width:145px}.work-tile-cover{position:relative}.work-tile-cover img,.work-tile-cover-img{width:100%;height:auto;display:block;border-radius:18px}.work-tile-pin-badge{position:absolute;top:12px;left:14px;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#ffffffad;color:#475569;box-shadow:0 6px 16px #0f172a2e;z-index:1;border:1px solid rgba(226,232,240,.9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .2s ease,box-shadow .2s ease,color .2s ease,border-color .2s ease}.work-tile-pin-badge svg{width:18px;height:18px}.work-tile:hover .work-tile-pin-badge,.work-tile-pin-badge:focus-visible{background:#ffffffe6;color:#374151;box-shadow:0 10px 22px #0f172a3d;border-color:#d1d5dbe6}.work-tile-info{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;max-width:145px;padding:6px 12px 0;margin:0;box-sizing:border-box;flex-shrink:0}.work-tile-title-row{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}.work-tile-title-group{display:flex;align-items:flex-start;gap:6px;min-width:0;flex:1}.work-tile-title{font-size:15px;font-weight:600;color:#1f2937;max-width:100%;text-align:left;width:100%;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all;line-height:1.2}.work-tile-title.ant-typography{margin:0}.work-tile-word-count{font-size:12px;color:#6b7280!important;text-align:left;width:100%}.work-tile-actions{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:auto}.work-tile-menu-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0!important;line-height:1!important;border-radius:50%!important;color:#6b7280!important;background:#94a3b82e!important;border:1px solid transparent!important;box-shadow:none!important}.work-tile-menu-btn .ant-btn-icon{display:flex;align-items:center;justify-content:center}.work-tile-menu-btn .anticon{display:block}.work-tile-menu-btn:hover,.work-tile-menu-btn:focus{color:#4338ca!important;background:#6366f133!important;border-color:#6366f140!important}.work-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:6px 0 12px}.toolbar-button{border-radius:999px!important;padding:0 16px!important;height:34px;display:inline-flex;align-items:center;gap:6px;border:none!important;font-weight:600;transition:all .2s ease}.toolbar-button-primary{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:#fff!important;box-shadow:0 12px 24px -14px #4f46e5cc}.toolbar-button-primary:hover,.toolbar-button-primary:focus-visible{filter:brightness(1.06);box-shadow:0 16px 30px -14px #4f46e5e6}.toolbar-button-secondary{color:#4338ca!important;background:#6366f11f!important;border:1px solid rgba(129,140,248,.28)!important}.toolbar-button-secondary:hover,.toolbar-button-secondary:focus-visible{color:#4338ca!important;background:#6366f12e!important;border-color:#6366f16b!important}.top-info-banner{width:100%;align-self:stretch;position:relative;display:flex;justify-content:center;border-radius:14px;padding:10px clamp(14px,3vw,24px);background:linear-gradient(135deg,#e8eafd,#f3e9ff);box-shadow:0 18px 38px -24px #7c3aed47;color:#4b4b73;min-height:40px;overflow:hidden}.top-info-banner__content{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px}.top-info-banner__left{display:flex;align-items:center;gap:12px;flex:1 1 320px;min-width:220px;font-size:14px;font-weight:500;line-height:1.45;color:inherit}.top-info-banner__service{border:1px solid rgba(129,140,248,.24);background:#ffffffb8;color:#4b4b73;font-size:14px;font-weight:600;border-radius:999px;padding:5px 14px;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;box-shadow:0 10px 24px -18px #7c3aed59}.top-info-banner__service:hover,.top-info-banner__service:focus-visible{background:#ffffffeb;color:#585bb5;border-color:#818cf875;transform:translateY(-1px);outline:none}.top-info-banner__service:focus-visible{box-shadow:0 0 0 2px #818cf852}.top-info-banner__separator{width:1px;height:22px;background:#818cf85c}.top-info-banner__icon{width:24px;height:24px;border-radius:999px;background:#ffffffad;display:inline-flex;align-items:center;justify-content:center;color:currentColor;box-shadow:0 8px 18px -14px #7c3aed57}.top-info-banner__icon svg{width:14px;height:14px}.top-info-banner__text{color:inherit}.top-info-banner__actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.top-info-banner__close{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid transparent;background:#ffffff85;color:#5c5c90;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.top-info-banner__close:hover,.top-info-banner__close:focus-visible{background:#ffffffe6;color:#6366f1;border-color:#818cf85c;transform:translateY(-1px);outline:none;box-shadow:0 8px 16px -12px #7c3aed52}.top-info-banner__popover .ant-popover-inner{padding:16px;border-radius:14px;background:#fff;border:1px solid rgba(129,140,248,.18);box-shadow:0 22px 44px -24px #4f46e559}.top-info-banner__popover .ant-popover-inner-content{padding:0}.top-info-banner__popover .ant-popover-arrow:before{background:#fff;border:1px solid rgba(129,140,248,.2)}.top-info-banner__qr{width:160px;height:160px;display:flex;align-items:center;justify-content:center}.top-info-banner__qr img{width:100%;height:100%;object-fit:cover;border-radius:12px;border:1px solid rgba(129,140,248,.32);box-shadow:0 16px 32px -18px #4f46e552;display:block}@media (max-width: 640px){.top-info-banner__content{flex-direction:column;align-items:flex-start;gap:14px}.top-info-banner__actions{width:100%;justify-content:flex-start}}@media (max-width: 768px){.work-grid{grid-template-columns:repeat(auto-fill,minmax(133px,1fr));gap:24px}.work-tile{gap:5px;max-width:133px}.work-tile-cover{max-width:133px}.work-tile-cover img,.work-tile-cover-img{width:100%}.work-tile-info{width:100%;max-width:133px;padding:6px 10px 0;margin:0}.work-tile-menu-btn{width:30px;height:30px;padding:0!important}.work-tile-actions{margin-left:auto}}.writing-wrapper{display:flex;flex-direction:column;gap:24px;width:min(85%,1380px);margin:0 auto}.writing-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:12px;border-bottom:1px solid var(--border-color)}.writing-header .ant-typography-title{margin:0!important}.writing-body{display:grid;grid-template-columns:260px 1fr;gap:20px;align-items:start}.chapter-panel{background:var(--card-bg);border-radius:20px;padding:20px;border:1px solid transparent;box-shadow:0 18px 30px -20px #0f172a59;display:flex;flex-direction:column;gap:16px}.chapter-header{display:flex;flex-direction:column;gap:12px}.chapter-list{display:flex;flex-direction:column;gap:12px;max-height:560px;overflow-y:auto;padding-right:4px}.chapter-item{border:1px solid rgba(99,102,241,.16);border-radius:16px;padding:12px 14px;background:#6366f10d;cursor:pointer;transition:all .2s ease}.chapter-item:hover{border-color:#6366f173;transform:translate(4px)}.chapter-item.active{border-color:#6366f1;background:linear-gradient(135deg,#6366f12e,#818cf847)}.chapter-item-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:var(--text-color)}.chapter-item-actions{display:flex;justify-content:flex-end}.editor-section{display:flex;flex-direction:column;gap:16px}.editor-toolbar{background:var(--card-bg);border:1px solid rgba(99,102,241,.2);border-radius:16px;padding:12px 16px;display:flex;align-items:center;gap:8px;box-shadow:0 18px 30px -24px #4f46e559}.editor-toolbar .ant-divider-vertical{height:24px;margin-inline:6px}.editor-wrapper{border:1px solid rgba(99,102,241,.2);border-radius:20px;background:var(--card-bg);padding:16px 0;min-height:520px;box-shadow:inset 0 1px #ffffff14}.tiptap-editor{min-height:480px;padding:0 24px 24px;outline:none;font-size:16px;line-height:1.8;color:var(--text-color)}.tiptap-editor p{margin:0 0 16px}.tiptap-editor [data-indent-guard=true]{display:inline-block;min-width:2em;min-height:1em;white-space:pre}.tiptap-editor ul,.tiptap-editor ol{padding-left:24px;margin:0 0 16px}.tiptap-editor blockquote{border-left:4px solid rgba(99,102,241,.35);padding-left:16px;color:var(--subtext-color);font-style:italic}.tiptap-editor .chapter-find-match{background-color:#ffdf8073;color:inherit;border-radius:4px;transition:background-color .2s ease,box-shadow .2s ease}.tiptap-editor .chapter-find-match--active{background-color:#ffc4009e;box-shadow:0 0 0 1px #ffc40073}.search-replace-modal .ant-modal-content{border-radius:16px;padding:20px 20px 16px;box-shadow:0 24px 48px -24px #0f172a59;border:1px solid rgba(99,102,241,.12)}.search-replace-modal .ant-modal-header{padding:0;border-bottom:none;margin-bottom:16px}.search-replace-modal .ant-modal-body{padding:0}.search-replace-modal .ant-modal-close{top:16px;right:16px}.search-replace-modal__title{font-weight:600;font-size:16px;color:var(--text-color);cursor:move;-webkit-user-select:none;user-select:none}.search-replace-modal .ant-form-item{margin-bottom:12px}.search-replace-modal .ant-input{border-radius:10px;padding:8px 12px}.search-replace-modal__actions{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:12px}.search-replace-modal__summary{font-size:12px;color:var(--subtext-color);min-width:48px}.search-replace-modal__buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.search-replace-modal__button{border-radius:10px;box-shadow:inset 0 1px #ffffff26;border-color:#6366f133;font-weight:500}.search-replace-modal__button:hover{border-color:#6366f199}.search-replace-modal__button--primary{box-shadow:none}.search-replace-modal__button--primary.ant-btn-primary{background:linear-gradient(120deg,#6366f1,#8b5cf6);border:none}.search-replace-modal__button--primary.ant-btn-primary:hover{background:linear-gradient(120deg,#524cf0,#7b3cf6)}.editor-footer{text-align:right;display:block;color:var(--subtext-color)!important}.work-info-modal .ant-typography{color:var(--text-color)!important}.work-info-modal .ant-typography+.ant-typography{margin-top:4px}.writing-standalone{height:100vh;background:#e4e7f5;padding:24px clamp(8px,1vw,16px) 20px;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box}.workspace-shell{max-width:clamp(1280px,92vw,2200px);margin:0 auto;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;width:100%}@media (min-width: 2200px){.workspace-shell{max-width:clamp(1600px,88vw,2400px)}}.workspace-topbar{background:#fdfdf9;border-radius:24px;padding:16px 28px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;border:1px solid rgba(17,24,39,.05);box-shadow:0 18px 48px -32px #0f172a33;position:sticky;top:0;z-index:1000}.workspace-topbar-left{display:flex;align-items:center;gap:12px}.workspace-work-title{margin:0!important;color:#1f2937!important}.workspace-topbar-link{border-radius:12px!important;padding:6px 16px!important;border:1px solid rgba(99,102,241,.25)!important;background:#6366f114!important;color:#4338ca!important;font-weight:500;display:inline-flex;align-items:center;gap:6px}.workspace-topbar-link:hover,.workspace-topbar-link:focus-visible{background:#6366f129!important;border-color:#6366f159!important;color:#3730a3!important}.workspace-chip{border-radius:999px;padding:2px 14px;background:#6366f11f;color:#4338ca;font-weight:500;border:none}.workspace-chip:hover,.workspace-chip:focus-visible{background:#6366f133;color:#3730a3}.workspace-main{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:stretch;flex:1;min-height:0;height:100%}.workspace-main.sidebar-collapsed{grid-template-columns:1fr}.workspace-sidebar{background:#fdfdf9;border-radius:22px;padding:16px;box-shadow:0 18px 40px -32px #0f172a33;display:flex;flex-direction:column;gap:16px;height:100%;min-height:0;overflow:hidden;border:1px solid rgba(17,24,39,.06)}.workspace-sidebar.collapsed{display:none}.workspace-sidebar-header{display:flex;flex-direction:column;gap:10px}.workspace-sidebar-workname{font-size:clamp(12px,1.8vw,16px);color:#1f2937;font-weight:700;display:inline-block;line-height:1.3;word-break:break-word}.workspace-chapter-list{overflow-y:auto;margin-right:-8px;padding-right:4px;display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(232,235,255,.6)}.workspace-chapter-list::-webkit-scrollbar{width:6px}.workspace-chapter-list::-webkit-scrollbar-track{background:#e8ebff99;border-radius:8px}.workspace-chapter-list::-webkit-scrollbar-thumb{background:#6366f199;border-radius:8px}.workspace-chapter-list::-webkit-scrollbar-thumb:hover{background:#4f46e5b8}.workspace-chapter-card{border:1px solid rgba(17,24,39,.08);border-radius:18px;padding:14px 16px;background:#f7f7ff;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;gap:10px}.workspace-chapter-card:hover{border-color:#6366f166;background:#6366f126;transform:translate(4px)}.workspace-chapter-card.active{border-color:#6366f1;background:#6366f138;box-shadow:0 12px 24px -18px #6366f14d}.workspace-chapter-card-header{display:flex;align-items:center;justify-content:space-between}.workspace-chapter-title-group{align-items:center}.workspace-chapter-title-text{display:inline-block;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis}.workspace-chapter-rename-input{min-width:160px}.workspace-chapter-meta{font-size:12px}.workspace-chapter-footer{display:flex;align-items:center;justify-content:space-between}.workspace-editor{background:#fdfdf9;border-radius:26px;padding:16px 20px 20px;box-shadow:0 24px 48px -32px #0f172a38;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;height:100%;overflow:hidden;border:1px solid rgba(17,24,39,.06)}.workspace-toolbar{border:none;box-shadow:none;padding:0;background:transparent;justify-content:flex-start;gap:4px;flex:1;min-width:0}.workspace-toolbar .ant-btn{border-radius:10px}.workspace-toolbar-row{display:flex;align-items:center;gap:16px;justify-content:flex-start;flex-wrap:wrap}.workspace-wordcount{margin:0;white-space:nowrap;color:#1118278c}.workspace-toolbar-meta{display:flex;align-items:center;gap:12px;white-space:nowrap}.workspace-toolbar-meta .ant-space{gap:8px!important}.workspace-toolbar-meta .ant-btn{border-radius:12px}.workspace-sidebar-toggle{border-radius:999px!important;padding:2px 16px!important;color:#4338ca!important;border:1px solid rgba(99,102,241,.25)!important;background:#6366f114!important;flex-shrink:0}.workspace-sidebar-toggle:hover,.workspace-sidebar-toggle:focus-visible{color:#3730a3!important;border-color:#6366f159!important;background:#6366f129!important}.workspace-editor-surface{border:1px solid rgba(17,24,39,.08);border-radius:18px;padding:8px 0 0;background:#fff;display:flex;position:relative;flex-direction:column;flex:1;min-height:0;height:100%;overflow:hidden}.workspace-selection-actions{position:absolute;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:10px;min-width:120px;border-radius:14px;background:#fffffff5;border:1px solid rgba(99,102,241,.18);box-shadow:0 12px 30px -18px #4f46e573;z-index:3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.workspace-selection-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;cursor:pointer;font-size:13px;font-weight:500;color:#4338ca;transition:background .2s ease,color .2s ease,transform .2s ease;outline:none}.workspace-selection-item:hover,.workspace-selection-item:focus-visible{background:#6366f124;color:#3730a3;transform:translateY(-1px)}.workspace-selection-icon{font-size:16px}.workspace-selection-label{flex:1;display:inline-flex;align-items:center;white-space:nowrap}.workspace-editor-scroll{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;overflow-y:auto;padding:0 8px 16px 0;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(232,235,255,.6)}.workspace-editor-scroll::-webkit-scrollbar{width:8px}.workspace-editor-scroll::-webkit-scrollbar-track{background:#e8ebff99;border-radius:8px}.workspace-editor-scroll::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1b8,#818cf8bf);border-radius:8px}.workspace-editor-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5c7,#818cf8d1)}.workspace-editor-title{padding:16px 20px 6px}.workspace-editor-title-input{width:100%;border:none;background:transparent;font-size:20px;font-weight:600;line-height:1.4;color:#1f2937;padding:0;margin:0 0 6px;outline:none}.workspace-editor-title-input::placeholder{color:#11182773}.workspace-editor-title-input:focus-visible{outline:none;box-shadow:none}.workspace-editor-title-input:disabled{color:#11182759;cursor:not-allowed}.workspace-editor-scroll .tiptap-editor{flex:1;min-height:100%;display:flex;flex-direction:column;padding:8px 20px 24px;font-size:16px;line-height:1.8;color:#1f2937}.tiptap-editor .ProseMirror{flex:1;white-space:pre-wrap;word-break:break-word}.tiptap-editor [data-chapter-title=true]{display:none}.workspace-editor-empty-state{padding:32px 20px;color:#1118278c}.workspace-editor-empty-text{margin:0;font-size:20px!important;font-weight:500!important;color:#1118278c!important}.workspace-topbar-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.workspace-topbar-right{display:flex;align-items:center;gap:12px}.workspace-history-btn{width:36px;height:36px;border-radius:12px!important;border:1px solid rgba(99,102,241,.2)!important;background:#6366f114!important;color:#4f46e5!important;display:inline-flex;align-items:center;justify-content:center;transition:all .2s ease}.workspace-history-btn:hover,.workspace-history-btn:focus-visible{background:#6366f129!important;border-color:#6366f152!important;color:#3730a3!important}.workspace-history-btn.is-active,.workspace-history-btn:active{background:linear-gradient(135deg,#6366f133,#818cf83d)!important;border-color:#6366f161!important;color:#312e81!important}.library-modal .ant-modal-content{border-radius:24px;padding:22px 26px 30px;background:#fdfdf9;display:flex;flex-direction:column;max-height:70vh}.library-modal .ant-modal-body{flex:1 1 auto;max-height:60vh;padding:0;display:flex;flex-direction:column;overflow:hidden;min-height:0}.library-modal .ant-modal-header,.library-modal .ant-modal-footer{border:none;background:transparent;padding-inline:0}.library-modal .ant-modal-title{font-weight:600;color:#1f2937}.library-modal-content{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:stretch;height:100%;max-height:100%;min-height:0;overflow:hidden;flex:1 1 auto}.library-sidebar{background:#f7f7ff;border:1px solid rgba(17,24,39,.08);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:16px;min-height:0;max-height:100%}.library-sidebar-actions{width:100%;display:flex!important;align-items:center;gap:12px}.library-search-input{flex:1}.library-search-input .ant-input{border-radius:12px}.library-list{flex:1;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(232,235,255,.55);scrollbar-gutter:stable both-edges}.library-list::-webkit-scrollbar{width:6px}.library-list::-webkit-scrollbar-track{background:#c7d2fe99;border-radius:8px}.library-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1ad,#818cf8b8);border-radius:8px}.library-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5bd,#818cf8cc)}.library-list-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(17,24,39,.08);border-radius:14px;background:#fff;padding:10px 12px;cursor:pointer;transition:all .2s ease}.library-list-item:hover{border-color:#6366f14d;box-shadow:0 12px 24px -18px #4f46e573}.library-list-item.is-active{border-color:#4f46e573;background:#4f46e51a;box-shadow:0 14px 30px -20px #4f46e580}.library-list-item-body{flex:1;min-width:0}.library-list-item-title{color:#1f2937!important;font-size:14px;font-weight:500}.library-list-item-actions .ant-btn{color:#6b7280}.library-detail{background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:22px;padding:20px 22px;display:flex;flex-direction:column;min-height:0;max-height:100%;overflow:hidden}.library-detail-body{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(232,235,255,.55);scrollbar-gutter:stable both-edges}.library-detail-body::-webkit-scrollbar{width:6px}.library-detail-body::-webkit-scrollbar-track{background:#c7d2fe99;border-radius:8px}.library-detail-body::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1ad,#818cf8b8);border-radius:8px}.library-detail-body::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5bd,#818cf8cc)}.library-detail-title{margin:0!important;color:#111827!important}.library-detail-hint{margin:0;color:#11182799!important}.library-detail-input{border-radius:14px!important;border-color:#1118271f!important;background:#f9fafb!important;padding:12px 14px!important;font-size:14px;line-height:2;resize:none!important}.library-detail-input:focus,.library-detail-input:focus-visible,.library-detail-input:hover{border-color:#6366f173!important;box-shadow:0 0 0 3px #6366f126!important;background:#fff!important}.library-detail-placeholder{flex:1;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(99,102,241,.3);border-radius:18px;color:#11182773;background:#6366f10d;text-align:center}.library-detail-placeholder .ant-typography{margin:0}.library-list .ant-empty{padding:24px 0}.followup-modal .ant-modal-content{border-radius:22px;padding:20px 26px 28px;background:#fdfdfd;box-shadow:0 24px 64px -40px #0f172a73}.followup-modal .ant-modal-header,.followup-modal .ant-modal-footer{border:none;background:transparent;padding-inline:0}.followup-modal .ant-modal-title{width:100%}.followup-modal-header{display:flex;flex-direction:column;gap:4px}.followup-modal-title{margin:0!important;color:#111827!important}.followup-modal-subtitle{font-size:13px!important;color:#1118278c!important}.followup-body{display:flex;flex-direction:column;gap:18px}.followup-chat{border:1px solid rgba(17,24,39,.08);border-radius:18px;background:#f8f9ffe6;padding:18px;display:flex;flex-direction:column;gap:14px;max-height:360px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(232,235,255,.6)}.followup-chat::-webkit-scrollbar{width:6px}.followup-chat::-webkit-scrollbar-track{background:#e8ebff99;border-radius:6px}.followup-chat::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1ad,#818cf8b8);border-radius:6px}.followup-chat::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5bd,#818cf8c7)}.followup-message{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:18px;border:1px solid rgba(17,24,39,.08);background:#fff;max-width:80%}.followup-selection{background:#6366f114;border-color:#6366f133}.followup-user{margin-left:auto;background:linear-gradient(120deg,#6366f1,#8b5cf6);border:none;color:#fff}.followup-user .followup-message-content{color:#fff}.followup-user .followup-badge,.followup-user .followup-timestamp{color:#ffffffe6!important}.followup-assistant{background:#6366f10f;border-color:#6366f129}.followup-message-meta{display:flex;align-items:center;gap:10px}.followup-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:500;background:#6366f11f;color:#4338ca}.followup-user .followup-badge{background:#fff3}.followup-timestamp{font-size:12px!important;color:#11182773!important}.followup-message-content{white-space:pre-wrap;font-size:14px;line-height:1.7;color:#1f2937}.followup-empty{display:flex;align-items:center;justify-content:center;padding:40px 0}.followup-input-block{display:flex;flex-direction:column;gap:12px}.followup-input-block .ant-input-textarea{border-radius:16px;border:1px solid rgba(17,24,39,.12);background:#fff}.followup-input-block .ant-input-textarea:focus,.followup-input-block .ant-input-textarea:focus-visible,.followup-input-block .ant-input-textarea:hover{border-color:#6366f173;box-shadow:0 0 0 3px #6366f129}.followup-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.followup-toolbar-left{flex-wrap:wrap!important}.followup-toolbar-button{border-radius:14px!important;padding:6px 14px!important;background:#6366f11f!important;border:1px solid rgba(99,102,241,.18)!important;color:#4338ca!important;display:inline-flex!important;align-items:center;gap:6px}.followup-toolbar-button:hover,.followup-toolbar-button:focus-visible{background:#6366f12e!important;border-color:#6366f147!important}.followup-toolbar-label{font-weight:500;font-size:13px}.followup-toolbar-icon{font-size:10px;color:#4338cab3}.followup-send-button{border-radius:14px;padding:6px 20px;background:linear-gradient(120deg,#6366f1,#8b5cf6);border:none}.followup-send-button:hover,.followup-send-button:focus-visible{background:linear-gradient(120deg,#4f46e5,#7c3aed)}.followup-toolbar .ant-space-item{margin-bottom:0!important}.followup-toolbar .ant-btn-icon{display:inline-flex}@media (max-width: 1200px){.writing-standalone{height:auto;min-height:100vh;overflow:auto}.workspace-main{grid-template-columns:1fr;height:auto}.workspace-sidebar{height:auto;max-height:none}.workspace-editor{height:auto}}@media (max-width: 992px){.writing-standalone{padding:24px 12px 32px}.workspace-topbar{grid-template-columns:1fr;gap:16px}.workspace-topbar-right{justify-content:flex-start}.library-modal-content{grid-template-columns:1fr}.library-sidebar{order:1}.library-detail{order:2}}@media (max-width: 1080px){.writing-body{grid-template-columns:1fr}.chapter-panel{order:2}}.ai-writing-modal .ant-modal-content{border-radius:20px;padding:20px 24px 28px;background:#fdfdf9}.ai-writing-modal .ant-modal-body{max-height:70vh;overflow:auto;padding:24px 24px 16px;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(226,232,240,.65)}.ai-writing-modal .ant-modal-body::-webkit-scrollbar{width:6px}.ai-writing-modal .ant-modal-body::-webkit-scrollbar-track{background:#e2e8f0a6;border-radius:6px}.ai-writing-modal .ant-modal-body::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f199,#818cf8b3);border-radius:6px}.ai-writing-modal .ant-modal-body::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5b3,#818cf8cc)}.ai-writing-modal .ant-modal-header,.ai-writing-modal .ant-modal-footer{border:none;background:transparent;padding-inline:0}.ai-writing-modal .ant-modal-title{font-weight:600;color:#1f2937}.ai-modal-title-wrapper{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ai-modal-tutorial-link{font-size:13px;letter-spacing:.16em;color:#4f46e5;text-decoration:none;padding:4px 12px;border-radius:999px;background:#4f46e51f;transition:color .18s ease,background-color .18s ease}.ai-modal-tutorial-link:hover,.ai-modal-tutorial-link:focus-visible{color:#312e81;background:#6366f138}.ai-modal-title-text{font-size:20px;line-height:1.35;font-weight:600}.ai-modal-content,.ai-modal-content .ant-space-item{width:100%}.ai-config-section{display:flex;flex-direction:column;gap:12px}.ai-config-controls{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.ai-config-meta{color:#6b7280;font-size:13px}.ai-config-hint{color:#6b7280;font-size:13px;line-height:1.6}.ai-config-title{font-weight:600;color:#1f2937;font-size:16px}.ai-dropdown-trigger{border-radius:12px!important;padding:10px 16px!important;background:#6366f11f!important;border:1px solid rgba(99,102,241,.2)!important;color:#4338ca!important;font-weight:500;display:flex!important;align-items:center;justify-content:flex-start;text-align:left;width:100%}.ai-dropdown-trigger:hover,.ai-dropdown-trigger:focus-visible{background:#6366f12e!important;border-color:#6366f14d!important}.ai-dropdown-select{width:100%}.ai-dropdown-select .ant-select-selector{border-radius:12px!important;padding:10px 16px!important;background:#6366f11f!important;border:1px solid rgba(99,102,241,.2)!important;color:#4338ca!important;font-weight:500}.ai-dropdown-select .ant-select-arrow{color:#4338ca}.ai-dropdown-select.ant-select-disabled .ant-select-selector{background:#9ca3af1f!important;border-color:#9ca3af40!important;color:#9ca3af!important}.ai-dropdown-menu{border-radius:16px!important;padding:8px!important;box-shadow:0 18px 40px -32px #0f172a40}.ai-dropdown-menu .ant-select-item{border-radius:12px;padding:10px 12px;transition:background .2s ease,color .2s ease}.ai-dropdown-menu .ant-select-item-option-content{font-weight:500;color:#1f2937}.ai-dropdown-menu .ant-select-item-option-active,.ai-dropdown-menu .ant-select-item-option-selected{background:#6366f124}.ai-related-title{margin:0!important;color:#1f2937!important}.ai-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.ai-related-card{background:#f7f7ff;border:1px solid rgba(17,24,39,.08);border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}.ai-related-card-title{font-size:15px;color:#111827!important}.ai-related-card-desc{font-size:13px}.ai-related-count{display:inline-flex;align-items:center;gap:8px}.ai-related-count-input{width:96px}.ai-related-tags{display:flex;flex-wrap:wrap;gap:8px}.ai-related-tags-single{flex-wrap:nowrap;overflow-x:auto;align-items:center;gap:8px}.ai-related-tags-single .ant-tag{display:inline-flex;align-items:center;max-width:168px}.ai-related-tag-text{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-related-tag{background:#6366f12e!important;border:none!important;color:#4338ca!important}.ai-related-preview{margin-top:12px;background:#6366f114;border-radius:14px;padding:14px 16px;border:1px solid rgba(99,102,241,.16);max-height:220px;overflow-y:auto;gap:12px!important;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(240,244,255,.9)}.ai-related-preview::-webkit-scrollbar{width:6px}.ai-related-preview::-webkit-scrollbar-track{background:#f0f4ffe6;border-radius:999px}.ai-related-preview::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1bf,#818cf8e6);border-radius:999px}.ai-related-preview::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5cc,#818cf8)}.ai-related-preview-item{display:flex;flex-direction:column;gap:6px}.ai-related-preview-title{color:#312e81!important;font-weight:600;font-size:13px}.ai-related-preview-text{margin:0!important;color:#4338ca!important;font-size:12px;line-height:1.6}.ai-related-tag .anticon-close{color:inherit!important}.ai-related-tag-empty{white-space:nowrap}.ai-related-manage-button{align-self:flex-start}.ai-related-manage-button.ant-btn-block{align-self:stretch}.ai-related-works{gap:16px}.ai-waiting-content{display:flex;flex-direction:column;gap:20px;min-height:420px}.ai-waiting-header{display:flex;flex-direction:column;gap:6px}.ai-waiting-title{margin:0!important;color:#1f2937!important;font-size:24px!important}.ai-waiting-subtitle{font-size:14px;line-height:1.7}.ai-waiting-status{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#6366f1!important}.ai-waiting-status-icon{font-size:16px}.ai-waiting-carousel{background:#f7f7ff;border-radius:20px;padding:18px 16px}.ai-waiting-slide-wrapper{display:flex!important;align-items:stretch;min-height:170px}.ai-waiting-slide{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:14px 18px}.ai-waiting-slide-title{margin:0!important;color:#4338ca!important;font-size:20px!important}.ai-waiting-slide-desc{margin-bottom:0!important;line-height:1.7;font-size:14px}.ai-result-content{display:flex;flex-direction:column;gap:24px;min-height:480px}.ai-result-header{display:flex;flex-direction:column;gap:6px}.ai-result-heading{margin:0!important;color:#1f2937!important}.ai-result-model{font-size:13px;color:#6366f1!important}.ai-result-overview{background:#f7f7ff;border-radius:18px;padding:16px 20px;display:flex;flex-direction:column;gap:8px}.ai-result-overview .ant-typography{margin:0}.ai-result-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.ai-result-segment{border-radius:18px;padding:18px;background:#6366f114;border:1px solid rgba(99,102,241,.18);display:flex;flex-direction:column;gap:10px}.ai-result-segment-title{margin:0!important;color:#1f2937!important}.ai-result-segment-text{margin:0!important;line-height:1.8}.ai-result-suggestions{background:#fdf8ef;border-radius:18px;padding:18px 20px;display:flex;flex-direction:column;gap:12px}.ai-result-suggestions-title{margin:0!important}.ai-result-suggestions-list{margin:0;padding-left:0;display:flex;flex-wrap:wrap;gap:8px}.ai-result-suggestions-list li{color:#1f2937;list-style:none}.ai-result-extra{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-radius:16px;background:#6366f114;border:1px dashed rgba(99,102,241,.32)}.ai-result-extra-hint{margin:0!important;color:#4b5563!important}.ai-result-editor{margin-top:12px;border-radius:16px!important;padding:14px 16px!important;background:#fff!important;border:1px solid rgba(99,102,241,.18)!important;min-height:240px;white-space:pre-wrap!important;word-break:break-word!important}.ai-config-section .ant-input-textarea textarea{text-align:left}.ai-result-markdown-viewer{margin-top:12px;border-radius:16px;background:#fff;border:1px solid rgba(99,102,241,.18);padding:14px 16px;min-height:240px;overflow-y:auto}.ai-result-markdown-content{line-height:1.8;color:#1f2937}.ai-result-markdown-content h1,.ai-result-markdown-content h2,.ai-result-markdown-content h3,.ai-result-markdown-content h4,.ai-result-markdown-content h5,.ai-result-markdown-content h6{margin:14px 0 8px;font-weight:600}.ai-result-markdown-content p{margin:0 0 12px}.ai-result-markdown-content ul,.ai-result-markdown-content ol{margin:0 0 12px 20px;padding-left:16px}.ai-result-markdown-content code{background:#0f172a14;padding:2px 6px;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.ai-result-markdown-content pre{background:#0f172a14;padding:12px;border-radius:10px;overflow-x:auto}.ai-result-markdown-placeholder{font-size:13px;color:#9ca3af}.ai-result-info-bar{margin-top:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.ai-result-word-count{font-weight:500;color:#1f2937!important}.ai-result-note{font-size:12px}.ai-result-streaming-container{display:flex;flex-direction:column;gap:6px}.ai-result-streaming-indicator{font-size:12px;opacity:.7;text-align:right}.library-selection-modal .library-selection-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.library-selection-modal .library-selection-list{max-height:320px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px}.library-selection-modal .library-selection-item{border:1px solid rgba(99,102,241,.16);background:#6366f114;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}.library-selection-modal .library-selection-item:hover{border-color:#6366f152;background:#6366f11f}.library-selection-modal .library-selection-item-title{display:block;font-size:14px;color:#1f2937!important}.library-selection-modal .library-selection-preview{margin:0!important;font-size:12px;color:#4b5563!important}.library-selection-modal .library-selection-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px 0;color:#4b5563}.library-selection-modal .library-selection-loading .ant-typography{margin:0!important;color:inherit!important}.chapter-selection-modal .ant-modal-content{border-radius:24px;padding:22px 26px 28px;background:linear-gradient(135deg,#f5f6ff,#f0f4ff);border:1px solid rgba(99,102,241,.12);box-shadow:0 24px 48px -32px #4f46e547}.chapter-selection-modal .ant-modal-header,.chapter-selection-modal .ant-modal-footer{border:none;background:transparent;padding-inline:0}.chapter-selection-modal .ant-modal-title{font-weight:600;color:#312e81;letter-spacing:.02em}.chapter-selection-modal .ant-modal-body{padding:20px 6px 4px 0}.chapter-selection-modal .library-selection-toolbar{padding:0 4px 12px 0}.chapter-selection-modal .library-selection-toolbar .ant-checkbox-wrapper{color:#4338ca;font-weight:500}.chapter-selection-modal .library-selection-list{max-height:360px;padding-right:6px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(240,244,255,.9)}.chapter-selection-modal .library-selection-list::-webkit-scrollbar{width:6px}.chapter-selection-modal .library-selection-list::-webkit-scrollbar-track{background:#f0f4ffe6;border-radius:999px}.chapter-selection-modal .library-selection-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1bf,#818cf8e6);border-radius:999px}.chapter-selection-modal .library-selection-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5cc,#818cf8)}.chapter-selection-modal .library-selection-item{border:1px solid rgba(99,102,241,.24);background:linear-gradient(145deg,#6366f124,#818cf81a);border-radius:16px;padding:14px 16px;box-shadow:0 20px 44px -36px #4338ca8c;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.chapter-selection-modal .library-selection-item:hover{border-color:#4f46e56b;box-shadow:0 26px 50px -30px #4338ca8c;transform:translateY(-2px)}.chapter-selection-modal .library-selection-item-title{color:#1f1d53!important;font-weight:600;font-size:14px}.chapter-selection-modal .library-selection-preview{font-size:12px;color:#4338ca!important;margin:0!important}.chapter-selection-modal .library-selection-loading{padding:52px 0;color:#4338ca}.chapter-selection-modal .library-selection-loading .ant-typography{color:inherit!important}.chapter-selection-modal .ant-checkbox-inner{border-radius:6px;width:18px;height:18px;border:1px solid rgba(67,56,202,.4)}.chapter-selection-modal .ant-checkbox-checked .ant-checkbox-inner{background:linear-gradient(135deg,#6366f1,#4338ca);border-color:transparent}.chapter-selection-modal .ant-checkbox-checked:after{border:none}.chapter-selection-modal .library-selection-item .ant-checkbox-wrapper{display:flex;align-items:center;gap:8px}.chapter-selection-modal .library-selection-item .ant-checkbox+span{color:#312e81}.chapter-selection-modal .chapter-order-toggle{color:#4338ca!important;font-weight:500;padding:0 12px;height:32px;border-radius:16px;display:inline-flex;align-items:center;gap:4px;transition:background .2s ease,color .2s ease}.chapter-selection-modal .chapter-order-toggle:hover,.chapter-selection-modal .chapter-order-toggle:focus-visible{background:#6366f11f!important;color:#312e81!important}.chapter-selection-modal .chapter-order-toggle:disabled{color:#6366f166!important}.chapter-selection-modal .ant-modal-footer .ant-btn-primary{background:linear-gradient(135deg,#6366f1,#4338ca);border:none;box-shadow:0 12px 30px -20px #4338cabf}.chapter-selection-modal .ant-modal-footer .ant-btn-default{border-radius:12px;border:1px solid rgba(67,56,202,.24)}.ai-model-select-modal .ant-modal-content{border-radius:24px;padding:24px 28px 30px;background:#f6f7ff}.ai-model-select-modal .ant-modal-header,.ai-model-select-modal .ant-modal-footer{border:none;background:transparent;padding-inline:0}.ai-model-select-modal .ant-modal-title{font-weight:600;color:#1f2937}.ai-model-select-body{display:flex;gap:24px;align-items:stretch}.ai-model-list{width:260px;display:flex;flex-direction:column;gap:12px;max-height:420px;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(99,102,241,.08)}.ai-model-list::-webkit-scrollbar{width:6px}.ai-model-list::-webkit-scrollbar-track{background:#6366f114;border-radius:999px}.ai-model-list::-webkit-scrollbar-thumb{background:#6366f199;border-radius:999px}.ai-model-list::-webkit-scrollbar-thumb:hover{background:#4f46e5b8}.ai-model-list-item{border-radius:18px;padding:14px 16px;border:1px solid rgba(99,102,241,.18);background:#6366f114;text-align:left;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;gap:6px;color:#3730a3;font:inherit}.ai-model-list-item:hover,.ai-model-list-item:focus-visible{border-color:#6366f152;background:#6366f124;box-shadow:0 10px 28px -18px #4f46e573;outline:none}.ai-model-list-item.is-active{border-color:#4f46e599;background:#4f46e529;box-shadow:0 16px 36px -22px #4f46e599}.ai-model-list-title{font-weight:600;color:#312e81;font-size:15px}.ai-model-list-desc{margin-top:6px;color:#6366f1;font-size:13px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-model-detail{flex:1;background:#fff;border-radius:22px;border:1px solid rgba(17,24,39,.05);padding:20px 22px 24px;display:flex;flex-direction:column;gap:20px;min-height:320px}.ai-model-detail-title{margin:0!important;color:#1f2937!important}.ai-model-detail-summary{margin-bottom:0;color:#4b5563!important;line-height:1.7}.ai-model-strengths{display:flex;flex-direction:column;gap:12px}.ai-model-section-title{color:#111827!important;font-size:14px}.ai-model-strength-tag{background:#6366f11a;border:1px solid rgba(99,102,241,.22);border-radius:999px;padding:4px 10px;color:#4338ca}.ai-model-scores{display:flex;flex-direction:column;gap:12px}.ai-model-score-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px 16px}.ai-model-score-item{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;background:#f3f4ffd9;border:1px solid rgba(99,102,241,.12)}.ai-model-score-label{color:#1f2937;font-weight:500}.ai-model-score-rate,.ai-model-score-rate .ant-rate-star-full .ant-rate-star-second,.ai-model-score-rate .ant-rate-star-half .ant-rate-star-first{color:#6366f1}.ai-model-score-rate .ant-rate-star-zero .ant-rate-star-second{color:#6366f140}.ai-model-score-value{font-size:13px}.ai-model-detail-notes{margin-bottom:0;color:#6b7280!important;background:#11182708;border-radius:14px;padding:12px 14px}.ai-model-select-footer{margin-top:28px;display:flex;justify-content:flex-end;gap:12px}.ai-model-temperature-button{border-radius:999px!important;padding-inline:22px!important;background:#fff!important;border:1px solid rgba(99,102,241,.26)!important;color:#4338ca!important;font-weight:500}.ai-model-temperature-button:hover,.ai-model-temperature-button:focus-visible{background:#6366f11a!important}.ai-model-select-popover .ant-popover-inner{border-radius:16px;padding:16px 18px;background:#fff;box-shadow:0 16px 36px -30px #1e293b8c}.ai-model-temperature-hint p{margin-bottom:8px;color:#4b5563;line-height:1.6}.ai-model-empty{color:#9ca3af;display:flex;align-items:center;justify-content:center;min-height:160px}.ai-temperature-slider{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.ai-temperature-slider .ant-slider-track{background:linear-gradient(90deg,#4338ca,#6366f1)}.ai-temperature-slider .ant-slider-rail{background:#6366f133}.ai-temperature-slider .ant-slider-handle:after{box-shadow:0 0 0 2px #6366f14d}.ai-temperature-slider .ant-slider-mark-text{color:#4338ca;font-weight:500}.ai-temperature-stage-text{font-size:13px;color:#4b5563;padding:8px 10px;background:#6366f114;border-radius:10px;border:1px solid rgba(99,102,241,.15);display:flex;align-items:center;gap:6px}.ai-temperature-current{color:#4338ca}.ai-requirement-modal .ant-modal-content{border-radius:24px;padding:24px 28px 30px;background:#f6f7ff;display:flex;flex-direction:column;max-height:70vh}.ai-requirement-modal .ant-modal-body{flex:1 1 auto;max-height:60vh;padding:0;display:flex;flex-direction:column;overflow:hidden;min-height:0}.ai-requirement-modal .ant-modal-header,.ai-requirement-modal .ant-modal-footer{border:none;background:transparent;padding-inline:0}.ai-requirement-modal .ant-modal-title{font-weight:600;color:#1f2937}.ai-requirement-body{display:flex;gap:24px;align-items:stretch;height:100%;max-height:100%;min-height:0;overflow:hidden;flex:1 1 auto}.ai-requirement-column{flex:1;background:#fff;border-radius:22px;border:1px solid rgba(17,24,39,.06);padding:20px 22px 28px;display:flex;flex-direction:column;gap:18px;min-height:0;max-height:100%;overflow:hidden}.ai-requirement-column-favorites{background:#ece9ff73}.ai-requirement-column-header{display:flex;flex-direction:column;gap:6px}.ai-requirement-column-title{margin:0!important;color:#312e81!important}.ai-requirement-column-subtitle{font-size:13px}.ai-requirement-list{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow-y:auto;padding-right:6px;margin-right:-6px;scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.6) rgba(232,235,255,.45)}.ai-requirement-list::-webkit-scrollbar{width:6px}.ai-requirement-list::-webkit-scrollbar-track{background:#e8ebff73;border-radius:8px}.ai-requirement-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#6366f1ad,#818cf8b8);border-radius:8px}.ai-requirement-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4f46e5bd,#818cf8cc)}.ai-requirement-item{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:16px;border:1px solid rgba(99,102,241,.16);background:#6366f112;cursor:pointer;transition:all .2s ease}.ai-requirement-item:hover,.ai-requirement-item:focus-visible{border-color:#4f46e55c;background:#6366f129;box-shadow:0 12px 30px -24px #4f46e599;outline:none}.ai-requirement-item.is-selected{border-color:#4f46e599;background:#4f46e529}.ai-requirement-item-info{display:flex;flex-direction:column;gap:6px;max-width:75%}.ai-requirement-item-title{font-weight:600;color:#312e81}.ai-requirement-item-desc{color:#4b5563;font-size:13px;line-height:1.6;white-space:pre-wrap}.ai-requirement-item .ant-btn-text{color:#4338ca;display:flex;align-items:center;gap:4px}.ai-requirement-empty{margin:0;text-align:center;color:#9ca3af!important}.ai-naming-modal .ant-modal{max-width:min(880px,92vw)}.ai-naming-modal .ant-modal-content{border-radius:24px;background:linear-gradient(180deg,#fefcf5,#fdf8ee);box-shadow:0 28px 60px #1f29372e;padding:0;border:none}.ai-naming-modal .ant-modal-header,.ai-naming-modal .ant-modal-footer{background:transparent;border:none;padding-inline:28px}.ai-naming-modal .ant-modal-header{padding-block:24px 0}.ai-naming-modal .ant-modal-title{font-weight:600;color:#1f2937}.ai-naming-modal .ant-modal-body{padding:0 28px 28px}.ai-naming-modal .ant-modal-footer{padding-block:0 24px;text-align:right}.ai-naming-subtitle{margin:0!important;color:#6b7280!important;font-size:13px;line-height:1.6}.ai-naming-content,.ai-naming-content .ant-space-item{width:100%}.ai-naming-type-select .ant-select-selector{border-radius:14px!important;border:1px solid rgba(99,102,241,.22)!important;padding:10px 14px!important;background:#ffffffdb!important;box-shadow:inset 0 1px 3px #94a3b829}.ai-naming-type-select .ant-select-selection-item{font-weight:600;color:#312e81}.ai-naming-type-select-dropdown .ant-select-item{border-radius:12px;margin:4px 0;padding:10px 12px}.ai-naming-type-select-dropdown .ant-select-item-option-active,.ai-naming-type-select-dropdown .ant-select-item-option-selected{background:#6366f11f}.ai-naming-supplementary-input .ant-input-textarea{border-radius:16px;border:1px solid rgba(99,102,241,.22);background:#ffffffeb;padding:10px 14px;transition:border-color .2s ease,box-shadow .2s ease}.ai-naming-supplementary-input .ant-input-textarea textarea{background:transparent;border:none;box-shadow:none;padding:0;color:#1f2937}.ai-naming-supplementary-input .ant-input-textarea:focus-within{border-color:#4f46e58c;box-shadow:0 0 0 2px #818cf82e}.ai-naming-supplementary-input .ant-input-data-count{margin-top:8px;color:#6b7280;font-size:12px}.ai-naming-error{border-radius:12px}@media (max-width: 720px){.ai-naming-modal .ant-modal-content{border-radius:20px}.ai-naming-modal .ant-modal-header,.ai-naming-modal .ant-modal-footer{padding-inline:20px}.ai-naming-modal .ant-modal-body{padding:0 20px 20px}}.login-page{position:fixed;inset:0;height:100svh;width:100vw;overflow:hidden;color:#f8fafc;background:radial-gradient(120% 120% at 50% 50%,#0f172af2,#020617fa);display:flex;flex-direction:column}.login-page.light{color:#0f172a}.login-background{position:absolute;inset:0;overflow:hidden;z-index:1}.star-field,.nebula,.shooting-star,.aurora{position:absolute;inset:-10%;pointer-events:none}.star-field{background:transparent;background-image:radial-gradient(1px 1px at 20px 20px,#ffffff8c,#fff0),radial-gradient(1px 1px at 40px 50px,#ffffff59,#fff0),radial-gradient(1px 1px at 130px 120px,#fff6,#fff0);background-size:200px 200px;animation:starTwinkle 12s linear infinite;opacity:.7;filter:blur(.3px)}.nebula{background:radial-gradient(circle at 30% 30%,rgba(99,102,241,.4),transparent 60%),radial-gradient(circle at 70% 60%,rgba(14,165,233,.35),transparent 55%),radial-gradient(circle at 50% 80%,rgba(168,85,247,.4),transparent 60%);filter:blur(80px);transform:scale(1.1);animation:nebulaShift 26s ease-in-out infinite alternate}.aurora{background:linear-gradient(120deg,#3b82f640,#c7d2fe0d,#7c3aed33);mix-blend-mode:screen;animation:auroraFlow 30s ease-in-out infinite}.shooting-star:after{content:"";position:absolute;top:-20%;left:-10%;width:2px;height:120px;background:linear-gradient(180deg,#e0e7ffcc,#e0e7ff00);transform:rotate(35deg);animation:shooting 6s ease-in-out infinite;opacity:.6}.login-header{position:relative;z-index:2;padding:32px 48px}.login-logo{width:66px;height:66px;border-radius:12px;object-fit:cover}.login-brand{display:flex;flex-direction:column;gap:4px}.login-brand .ant-typography{margin:0}.login-brand-title{color:#fff!important;font-size:24px!important;font-weight:600!important;letter-spacing:.07em;text-shadow:0 10px 28px rgba(15,23,42,.42)}.login-page.light .login-brand-title{color:#fff!important;text-shadow:0 8px 26px rgba(148,163,184,.32)}.login-brand-subtitle{color:#f1f5f9!important;font-size:16px!important;font-weight:500!important;letter-spacing:.05em}.login-page.light .login-brand-subtitle{color:#f1f5f9!important}.login-content{position:relative;z-index:2;flex:1;display:flex;align-items:center;justify-content:center;padding:clamp(24px,6vh,48px);box-sizing:border-box;overflow:hidden}.login-card{width:min(420px,92vw);border-radius:24px;background:#f8fafc;color:#0f172a;box-shadow:0 28px 60px #0f172a57;padding:clamp(28px,5vh,40px) clamp(24px,6vw,36px);display:flex;justify-content:center;box-sizing:border-box}.login-page.light .login-card{background:#fff;box-shadow:0 24px 54px #3b82f638}.login-card-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:18px}.login-embed{width:100%;display:flex;justify-content:center}.login-embed-body{position:relative;width:min(320px,90%);min-height:clamp(360px,56vw,440px);display:flex;align-items:center;justify-content:center;border-radius:18px;background:#fff;overflow:hidden;box-shadow:inset 0 1px #94a3b82e;padding-top:clamp(20px,4vh,28px)}.login-embed-body:before{content:"";position:absolute;left:0;right:0;top:0;height:clamp(22px,4vh,28px);background:#fff;z-index:2;pointer-events:none}.login-embed.status-success .login-embed-body{box-shadow:inset 0 0 0 2px #22c55e59}.qr-loading{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.qr-loading.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;border-radius:20px;background:#0f172ab8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);color:#f8fafc;gap:8px}.login-page.light .qr-loading.overlay{background:#ffffffc7;color:#0f172a}.qr-image{width:220px;height:220px;border-radius:18px;object-fit:cover}.qr-success-overlay{position:absolute;inset:0;background:#22c55e29;display:flex;align-items:center;justify-content:center;border-radius:20px;pointer-events:none;animation:successFlash 1.2s ease forwards}.qr-success-overlay .anticon{font-size:64px;color:#4ade80}.wechat-login-container{position:relative;width:100%;min-height:clamp(360px,56vw,440px);display:flex;align-items:center;justify-content:center;padding-top:clamp(4px,1vh,8px);box-sizing:border-box}.wechat-login-container iframe{width:100%!important;height:clamp(360px,56vw,440px)!important;max-width:320px;border:none;border-radius:16px}.wechat-login-container iframe+iframe{display:none!important}.agreement-text{display:block;font-size:12px;color:#e0e7ffa6;letter-spacing:.03em}.login-page.light .agreement-text{color:#1e293b8c}.agreement-link{margin:0 4px;color:#60a5fa;cursor:pointer;text-decoration:underline}.agreement-link:hover{color:#93c5fd}.login-page.light .agreement-link{color:#2563eb}.login-page.light .agreement-link:hover{color:#3b82f6}.login-status{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:36px}.status-message{font-size:15px;letter-spacing:.02em}.login-footer-info{position:relative;z-index:2;padding:16px 24px 32px;margin-top:clamp(40px,8vh,72px);display:flex;flex-direction:column;align-items:center;gap:6px;color:#e2e8f0cc;font-size:13px;letter-spacing:.02em}.login-footer-info a{color:#94a3b8e6;text-decoration:none}.login-footer-info a:hover{color:#93c5fd}.login-page.light .login-footer-info{color:#1e293ba6}.login-page.light .login-footer-info a{color:#3b82f6e6}.login-page.light .login-footer-info a:hover{color:#2563eb}@media (max-width: 640px){.login-page{position:relative;min-height:100vh;width:100%;overflow-x:hidden;overflow-y:auto}.login-header{padding:16px 20px 8px}.login-card{width:100%;padding:24px 18px;border-radius:20px;box-shadow:0 24px 48px #0f172a47;margin:12px 0 0}.login-card-content{gap:14px}.login-content{padding:16px 14px 48px;align-items:flex-start;overflow:visible}.login-embed-body{width:100%;min-height:340px;padding-top:18px}.wechat-login-container{min-height:340px;padding-top:4px}.wechat-login-container iframe{min-height:340px!important;height:auto!important;max-width:88vw;border-radius:14px}.login-card-subtitle{font-size:13px;line-height:1.5;text-align:center;max-width:18em}.login-footer-info{margin-top:32px;padding-bottom:24px;gap:4px}}@keyframes starTwinkle{0%{opacity:.7;transform:translateY(0)}50%{opacity:1;transform:translateY(-10px)}to{opacity:.6;transform:translateY(0)}}@keyframes nebulaShift{0%{transform:scale(1.1) translate(-2%,-1%)}50%{transform:scale(1.16) translate(2%,1.5%)}to{transform:scale(1.1) translate(-1%,.5%)}}@keyframes auroraFlow{0%{transform:translate(-10%) skewY(2deg);opacity:.55}50%{transform:translate(8%) skewY(-3deg);opacity:.75}to{transform:translate(-6%) skewY(1deg);opacity:.5}}@keyframes shooting{0%{transform:translateZ(0) rotate(35deg);opacity:0}10%{opacity:.8}60%{transform:translate3d(160px,400px,0) rotate(35deg);opacity:.4}to{transform:translate3d(220px,620px,0) rotate(35deg);opacity:0}}@keyframes breathing{0%,to{opacity:.2}50%{opacity:.6}}@keyframes successFlash{0%{opacity:0;transform:scale(.9)}40%{opacity:.6;transform:scale(1.04)}to{opacity:.35;transform:scale(1)}}.user-center-card{width:320px;padding:24px 24px 20px;border-radius:20px;background:linear-gradient(180deg,#fffffff5,#f4f5fbfa);display:flex;flex-direction:column;gap:20px;box-shadow:0 20px 40px #6366f12e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.user-center-card-dark{background:linear-gradient(180deg,#1e293bf5,#111827f5);box-shadow:0 24px 48px #0f172a99;color:#f8fafff5}.user-center-card-dark .user-center-name{color:#f8fafff5!important}.user-center-card-dark .user-center-id{color:#cbd5e1b8!important}.user-center-card-dark .user-center-quota-number{color:#c7d2fe}.user-center-card-dark .user-center-quota-unit{color:#c7d2fedb}.user-center-card-dark .user-center-redeem-label{color:#cbd5e1b8}.user-center-card-dark .user-center-redeem-button{color:#c7d2fe!important}.user-center-card-dark .user-center-membership-loading{color:#cbd5e1b8}.user-center-card-dark .user-center-perk-label{color:#cbd5e1c7}.user-center-card-dark .user-center-perk-label .anticon{color:#c7d2fe}.user-center-card-dark .user-center-perk-value{color:#f8fafff5}.user-center-card-dark .user-center-membership-empty{color:#cbd5e1c7}.user-center-card-dark .user-center-summary-card{background:linear-gradient(135deg,#33415594,#1e293b6b);border-color:#94a3b852;box-shadow:0 18px 36px -24px #0f172a99}.user-center-card-dark .user-center-quota-card{background:linear-gradient(135deg,#1d4ed852,#0ea5e938);border-color:#3b82f661}.user-center-card-dark .user-center-summary-title{color:#e2e8f0f2}.user-center-card-dark .user-center-plan-name{color:#e2e8f0f5}.user-center-card-dark .user-center-success-alert{box-shadow:0 18px 36px -24px #22c55ead}.user-center-card-dark .user-center-success-alert .ant-alert-success{background:linear-gradient(135deg,#22c55e33,#10b9812e);border-color:#6ee7b76b;color:#f0fdf4f5}.user-center-card-dark .user-center-plan-badge{color:#f8fafff5;background:linear-gradient(135deg,#fbbf2447,#4f46e53d);border-color:#eab30866;box-shadow:0 12px 28px -18px #eab308a6}.user-center-card-dark .user-center-plan-badge .anticon{color:#facc15eb}.user-center-card-dark .user-center-plan-expire{color:#cbd5e1c7}.user-center-card-dark .user-center-quota-caption{color:#cbd5e1b8}.user-center-card-dark .user-center-perk-caption{color:#cbd5e199}.user-center-card-dark .user-center-perk-value{background:#94a3b833;border-color:#94a3b859;color:#f8fafff5;box-shadow:0 12px 24px -18px #3b82f673}.user-center-top{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.user-center-avatar-group{display:flex;flex-direction:column;align-items:center;gap:8px}.user-center-avatar{box-shadow:0 12px 24px #6366f12e;border:2px solid rgba(99,102,241,.24)}.user-center-name{font-size:20px;color:#1f2937!important}.user-center-id{font-size:13px;color:#6b7280e6}.user-center-section{display:flex;flex-direction:column;gap:16px}.user-center-success-alert{border-radius:14px;overflow:hidden;box-shadow:0 16px 32px -22px #16a34a7a}.user-center-success-alert .ant-alert{border-radius:14px}.user-center-success-alert .ant-alert-success{background:linear-gradient(135deg,#22c55e1f,#10b9811a);border:1px solid rgba(34,197,94,.28);color:#14532d}.user-center-summary{display:flex;flex-direction:column;gap:12px}.user-center-summary-card{padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#ffffffdb,#e0e7ffeb);border:1px solid rgba(99,102,241,.12);box-shadow:0 12px 24px -18px #6366f152;display:flex;flex-direction:column;gap:12px}.user-center-membership-card{background:linear-gradient(135deg,#6366f11f,#a855f714);border-color:#818cf838}.user-center-quota-card{background:linear-gradient(135deg,#0ea5e914,#6366f11a);border-color:#3b82f62e}.user-center-summary-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.user-center-summary-title{font-weight:600;color:#1f2937;font-size:14px}.user-center-quota-caption{font-size:13px;color:#475569b8}.user-center-summary-actions{display:flex;align-items:center;gap:8px}.user-center-upgrade-btn,.user-center-open-btn{border-radius:999px!important;font-weight:600;padding:0 16px;height:30px}.user-center-open-btn .anticon{margin-right:4px}.user-center-membership-body{display:flex;flex-direction:column;gap:12px}.user-center-plan-line{display:flex;flex-direction:column;gap:6px}.user-center-plan-headline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.user-center-plan-name{font-size:16px;font-weight:700;color:#312e81}.user-center-plan-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-weight:700;font-size:15px;color:#312e81;background:linear-gradient(135deg,#fde04733,#6366f129);border:1px solid rgba(250,204,21,.3);box-shadow:0 10px 24px -16px #facc15a6}.user-center-plan-badge .anticon{color:#f59e0b;font-size:16px}.user-center-plan-expire{font-size:12px;color:#475569c7}.user-center-quota-amount{display:flex;align-items:baseline;gap:6px}.user-center-quota-number{font-size:28px;font-weight:700;color:#4f46e5}.user-center-quota-unit{font-size:14px;color:#4f46e5cc}.user-center-quota-meta{font-size:12px;color:#475569b8}.user-center-membership-loading{display:flex;align-items:center;gap:8px;font-size:12px;color:#475569bf}.user-center-perk-list{display:flex;flex-direction:column;gap:10px}.user-center-perk-item{display:flex;align-items:center;justify-content:space-between}.user-center-perk-caption{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#475569ad}.user-center-perk-label{font-size:13px;color:#475569d9;display:flex;align-items:center;gap:6px}.user-center-perk-label .anticon{color:#4f46e5d9;font-size:14px}.user-center-perk-value{display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:6px 14px;border-radius:999px;font-weight:600;color:#312e81;background:linear-gradient(135deg,#4f46e51f,#3b82f629);border:1px solid rgba(99,102,241,.18);box-shadow:0 8px 16px -14px #3b82f666}.user-center-membership-empty{padding:12px 0;font-size:13px;color:#6b7280d9}.user-center-redeem-block{display:flex;align-items:center;gap:6px}.user-center-redeem-label{font-size:13px;color:#475569d9}.user-center-redeem-button{padding:0;height:auto;font-weight:600;letter-spacing:.02em;background:none!important;color:#4f46e5!important}.user-center-expire-tag{align-self:flex-start;border-radius:999px;background:#22c55e24;color:#15803d;font-weight:600;padding:4px 12px;font-size:13px}.user-center-footer{margin-top:auto}.user-center-logout-btn{border-radius:14px!important;height:44px;font-weight:600;letter-spacing:.06em}.user-center-popover .ant-popover-inner{padding:0;background:transparent;box-shadow:none}.user-center-popover .ant-popover-inner-content{padding:0}.user-center-popover .ant-popover-arrow{display:none}.user-center-redeem-modal .ant-modal-content{border-radius:18px;padding:24px}.user-center-redeem-modal .ant-modal-header{border-bottom:none;padding-bottom:0}.user-center-redeem-modal .ant-modal-title{font-weight:600}.user-center-redeem-modal .ant-modal-body{padding-top:12px}.user-center-redeem-modal .ant-modal-footer{border-top:none;padding-top:0}.user-center-redeem-description{display:block;margin-bottom:16px;font-size:13px;color:#475569d9}
