*{box-sizing:border-box}
body{margin:0;background:linear-gradient(180deg,#f7f4ee 0%,#edf1f5 100%);color:#17202a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC","Microsoft YaHei",sans-serif}
.page{max-width:1180px;margin:0 auto;padding:34px 28px 150px}
.panel{background:#fff;border:1px solid #e2d9cc;border-radius:16px;padding:26px;margin-bottom:22px;box-shadow:0 18px 52px rgba(39,48,62,.08)}
#create .panel:first-child,#plansSec .panel:first-child,.mine-hero,.history-hero,.pay-hero{background:radial-gradient(circle at 78% 18%,rgba(19,184,166,.26),transparent 30%),radial-gradient(circle at 18% 82%,rgba(229,83,61,.18),transparent 30%),linear-gradient(135deg,#10151b 0%,#121820 58%,#182028 100%);color:#fff;border-color:#10151b;position:relative;overflow:hidden}
#create .panel:first-child:before,#plansSec .panel:first-child:before,.mine-hero:before,.history-hero:before,.pay-hero:before{content:"";position:absolute;inset:-45px;z-index:0;background:linear-gradient(rgba(255,255,255,.052) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.042) 1px,transparent 1px),radial-gradient(circle at 18% 28%,rgba(255,181,71,.34) 0 2px,transparent 4px),radial-gradient(circle at 68% 72%,rgba(19,184,166,.32) 0 2px,transparent 4px),radial-gradient(circle at 82% 30%,rgba(229,83,61,.28) 0 2px,transparent 4px);background-size:40px 40px,40px 40px,180px 130px,210px 150px,240px 160px;opacity:.5;animation:aiGridFlow 18s linear infinite;pointer-events:none}
#create .panel:first-child:after,#plansSec .panel:first-child:after,.mine-hero:after,.history-hero:after,.pay-hero:after{content:"";position:absolute;right:-74px;top:-82px;z-index:0;width:230px;height:230px;border-radius:50%;background:conic-gradient(from 120deg,rgba(19,184,166,0),rgba(19,184,166,.46),rgba(255,181,71,.42),rgba(229,83,61,.36),rgba(19,184,166,0));mask:radial-gradient(circle,transparent 48%,#000 50%,#000 66%,transparent 68%);-webkit-mask:radial-gradient(circle,transparent 48%,#000 50%,#000 66%,transparent 68%);filter:drop-shadow(0 0 26px rgba(19,184,166,.24));opacity:.88;animation:aiRingSpin 11s linear infinite;pointer-events:none}
#create .panel:first-child>* ,#plansSec .panel:first-child>* ,.mine-hero>* ,.history-hero>* ,.pay-hero>*{position:relative;z-index:1}
@keyframes aiGridFlow{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(40px,40px,0)}}
@keyframes aiRingSpin{0%{transform:rotate(0deg) scale(1)}50%{transform:rotate(180deg) scale(1.06)}100%{transform:rotate(360deg) scale(1)}}
h1{display:flex;align-items:center;gap:12px;font-size:36px;line-height:1.18;margin:0 0 16px;font-weight:800;letter-spacing:0}
h1:before{content:"";width:56px;height:56px;flex:0 0 56px;border-radius:16px;background:url('/uploads/system/logo.png?v=2026062833') center/cover no-repeat;box-shadow:0 8px 18px rgba(17,24,39,.18)}
h2{font-size:22px;margin:0;font-weight:700}
h3{font-size:16px;margin:24px 0 12px;color:#17202a;font-weight:700}
p{line-height:1.75}
a{color:#0f766e;text-decoration:none;font-weight:600}
.lead{max-width:850px;margin:-4px 0 18px;color:#4b5563;font-size:16px;font-weight:500;line-height:1.72}
#create .panel:first-child .lead,#plansSec .panel:first-child .lead{color:#d6dde6;position:relative;z-index:1}
.value-row{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;position:relative;z-index:1}
.value-row span{border:1px solid #ffd4a3;background:#fff4e8;color:#a34412;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600}
textarea,input{width:100%;border:1px solid #ded4c7;border-radius:14px;padding:14px 15px;font-size:16px;background:#fffdf9;outline:none;color:#17202a}
textarea{height:158px;resize:none;line-height:1.6}
input{height:46px;margin:10px 0}
textarea:focus,input:focus,select:focus{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.12)}
select,button{height:48px;border-radius:13px;font-size:15px}
select{width:100%;border:1px solid #ded4c7;background:#fffdf9;padding:0 12px;color:#17202a;font-weight:600}
button{border:0;background:#10151b;color:#fff;padding:0 18px;cursor:pointer;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;text-align:center;box-sizing:border-box}
button:hover{filter:brightness(.96)}
button:active{transform:translateY(1px)}
button:disabled{opacity:.55}
.tpls{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 20px}
.template-panel{padding-left:18px;padding-right:18px}
.tpl{position:relative;overflow:hidden;height:190px;border:1px solid #d8d1c6;border-radius:16px;background:#28312f center/cover no-repeat;color:#fff;padding:0;text-align:left;font-size:28px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 10px 24px rgba(17,24,39,.08);transform:translateZ(0);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,filter .22s ease,background-size .35s ease}
.tpl:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.64))}
.tpl:after{content:"";position:absolute;inset:-40% -70%;z-index:1;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.34) 50%,transparent 65%);transform:translateX(-60%) rotate(8deg);opacity:0;pointer-events:none}
.tpl span{position:absolute;left:16px;right:16px;bottom:16px;z-index:2;font-weight:700;text-shadow:0 3px 14px rgba(0,0,0,.75);letter-spacing:0;transition:transform .22s ease}
.tpl.active{outline:4px solid #e5533d;border-color:#e5533d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 14px 34px rgba(229,83,61,.18)}
@media(hover:hover){.tpl:hover{transform:translateY(-4px) scale(1.015);border-color:#e5533d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 18px 38px rgba(17,24,39,.16);filter:saturate(1.08) contrast(1.03);background-size:112%}.tpl:hover:after{opacity:1;animation:tplShine .75s ease forwards}.tpl:hover span{transform:translateY(-3px)}}
@keyframes tplShine{to{transform:translateX(60%) rotate(8deg)}}
@media(prefers-reduced-motion:reduce){.tpl,.tpl span{transition:none!important}.tpl:hover:after{animation:none!important}}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}
label{font-size:13px;color:#64748b;display:grid;gap:7px;font-weight:600}
.compose-panel{padding:0;background:transparent;border:0;box-shadow:none}
.compose-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.compose-title span{height:30px;display:inline-flex;align-items:center;padding:0 10px;border-radius:10px;background:#ecfdf5;color:#0f766e;font-size:12px;font-weight:800}
.prompt-card{padding:18px 16px 16px;border:1.5px solid transparent;border-radius:18px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(100deg,#a78bfa,#22c5ff) border-box;box-shadow:0 18px 34px rgba(37,99,235,.08)}
.compose-panel textarea{height:72px;border:0;background:transparent;padding:0;font-size:15px;line-height:1.55;box-shadow:none}
.compose-panel textarea:focus{border-color:transparent;box-shadow:none}
.prompt-actions{display:grid;grid-template-columns:1fr;align-items:center;gap:10px;margin-top:12px}
.prompt-options{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;overflow-x:hidden;padding-bottom:1px;scrollbar-width:none}
.prompt-options::-webkit-scrollbar{display:none}
.control-select{flex:0 0 58px;width:58px;height:34px;border:1px solid #dbe2ee;border-radius:8px;background:#fff;color:#17202a;padding:0 8px 0 6px;font-size:12px;font-weight:700;box-shadow:none}
.ratio-select{position:relative;flex:0 0 auto}
.ratio-trigger{display:inline-flex;align-items:center;gap:3px;justify-content:space-between;width:72px;min-width:72px;padding:0 6px;color:#17202a!important}
.ratio-trigger span{white-space:nowrap}
.ratio-trigger i{font-style:normal;color:#64748b;font-size:12px}
.ratio-menu{position:fixed;left:0;top:0;z-index:9999;width:150px;padding:6px;background:#fff;border:1px solid #dbe2ee;border-radius:10px;box-shadow:0 16px 38px rgba(15,23,42,.16)}
.ratio-menu button{width:100%;height:38px;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:0 8px;border-radius:8px;background:#fff;color:#17202a;font-size:13px;font-weight:700}
.ratio-menu button:hover,.ratio-menu button.active{background:#eff6ff;color:#111827}
.ratio-menu strong{margin-left:auto;color:#3b82f6;font-size:15px}
.ratio-icon{display:inline-block;border:1.5px solid #374151;border-radius:2px;box-sizing:border-box;flex:0 0 auto}
.ratio-icon.vertical{width:12px;height:19px}
.ratio-icon.vertical.small{width:12px;height:16px}
.ratio-icon.horizontal{width:20px;height:12px}
.ratio-icon.horizontal.small{width:19px;height:13px}
#generate{width:100%;height:44px;background:linear-gradient(135deg,#a78bfa,#22a7ff);margin:0;font-size:14px;border-radius:9px;box-shadow:0 10px 18px rgba(37,99,235,.2);white-space:nowrap;line-height:1.2}
.native-hidden{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.chip-block{margin-top:12px}.chip-block b{display:block;margin-bottom:7px;color:#17202a;font-size:14px;font-weight:800}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip-row button{height:32px;padding:0 12px;border:1px solid #e8dfd3;border-radius:999px;background:#fff;color:#64748b;font-size:13px;font-weight:800;box-shadow:none}.chip-row button.active{background:#10151b;color:#fff;border-color:#10151b}
.chip-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.create-quota{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:14px 0 10px;padding:12px;border:1px solid #e8dfd3;border-radius:14px;background:#fbfaf7}.create-quota b{display:block;color:#17202a;font-size:20px;line-height:1.1}.create-quota span{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.create-quota em{font-style:normal;color:#0f766e;font-size:13px;font-weight:900}.create-quota i{grid-column:1/-1;height:6px;border-radius:99px;background:#e8dfd3;overflow:hidden}.create-quota strong{display:block;height:100%;border-radius:99px;background:#e5533d}
.expect-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.expect-row span{height:28px;display:inline-flex;align-items:center;padding:0 10px;border-radius:9px;background:#fff7ed;color:#a34412;font-size:12px;font-weight:800}
.result-empty{text-align:center;color:#64748b;padding:24px}.result-empty b{display:block;color:#17202a;font-size:18px}.result-empty p{margin:8px 0 0;font-size:14px;line-height:1.7}
.bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bar button{height:36px;padding:0 12px;margin-left:6px;background:#10151b;border-radius:11px;font-size:13px;font-weight:600}
.detail-back{display:none;width:max-content;height:34px;margin:0 0 10px;padding:0 14px;background:#10151b;border-radius:8px;font-size:13px}
.result-head{position:relative;overflow:hidden;display:grid;gap:12px;margin-bottom:14px;padding:18px;border-radius:8px;background:radial-gradient(circle at 82% 5%,rgba(19,184,166,.35),transparent 34%),linear-gradient(135deg,#10151b,#111820);color:#fff;border:1px solid #10151b;box-shadow:0 12px 28px rgba(17,24,39,.16)}
.result-head:before{content:"";position:absolute;inset:-40px;z-index:0;background:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:40px 40px;opacity:.55}
.result-head:after{content:"";position:absolute;right:-58px;top:-68px;width:178px;height:178px;border-radius:50%;background:conic-gradient(from 120deg,rgba(19,184,166,0),rgba(19,184,166,.52),rgba(255,181,71,.38),rgba(19,184,166,0));mask:radial-gradient(circle,transparent 48%,#000 50%,#000 66%,transparent 68%);-webkit-mask:radial-gradient(circle,transparent 48%,#000 50%,#000 66%,transparent 68%);opacity:.85}
.result-head>*{position:relative;z-index:1}
.result-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.result-title-row h2{display:flex;align-items:center;gap:10px;color:#fff;font-size:22px;line-height:1.25}
.result-title-row h2:before{content:"";width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:url('/uploads/system/logo.png?v=2026062833') center/cover no-repeat;box-shadow:0 8px 18px rgba(0,0,0,.24)}
.result-title-row span{height:28px;display:inline-flex;align-items:center;padding:0 10px;border-radius:8px;background:#d1fae5;color:#047857;font-size:13px;font-weight:800}
.result-meta{color:#d6dde6;font-size:13px;font-weight:700}
.result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.result-actions button{height:38px;border-radius:6px;padding:0 10px;font-size:13px;background:#10151b;white-space:nowrap}
.result-actions button.light-btn{background:#f1f5f9;color:#17202a}
body.project-detail-mode #backHistory{display:inline-flex}
body.project-detail-mode #create .template-panel,
body.project-detail-mode #create .compose-panel,
body.project-detail-mode #create #resultEmpty,
body.project-detail-mode #create .site-footer{display:none}
button.is-done{background:#0f766e!important;color:#fff!important}
.hidden{display:none!important}
#submitFeedback{width:100%;height:56px;background:#e5533d;margin-top:2px;font-size:16px;border-radius:14px;box-shadow:0 10px 18px rgba(229,83,61,.18)}
.toast{position:fixed;left:50%;top:14px;z-index:30;min-height:0;max-width:min(520px,calc(100% - 28px));padding:0 14px;transform:translateX(-50%);border-radius:12px;background:#10151b;color:#fff;font-size:14px;line-height:38px;box-shadow:0 12px 30px rgba(17,24,39,.2);opacity:0;pointer-events:none}
.toast:not(:empty){opacity:.96}
.detail-body{padding:14px;border:1px solid #e2d9cc;border-radius:8px;background:#fff;box-shadow:0 10px 24px rgba(39,48,62,.08)}
.detail-wide{width:100%;height:38px;border-radius:6px;background:#10151b;font-size:13px}
.detail-export{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.detail-export button{height:34px;border-radius:6px;background:#f1f5f9;color:#17202a;font-size:13px}
.hook{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:12px 14px;font-weight:700;line-height:1.65}
.audio-box{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;margin:12px 0;padding:12px;border:1px solid #d8eadf;border-radius:8px;background:#ecfdf5}
.audio-box b{display:block;color:#17202a}.audio-box audio{width:100%;height:36px}.audio-box button{height:36px;border-radius:8px;padding:0 14px;background:#10151b;font-size:13px}.audio-box button.light-btn{background:#f1f5f9;color:#17202a}
.audio-box audio{display:none}
.bgm-box{margin:12px 0;padding:12px;border:1px solid #e8dfd3;border-radius:8px;background:#fff}
.bgm-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:0}.bgm-box.expanded .bgm-head{margin-bottom:10px}.bgm-head b{display:block;color:#17202a}.bgm-head button{height:34px;border-radius:10px;font-size:13px;padding:0 12px;background:#0f766e}
.bgm-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;max-height:230px;overflow:auto;padding-right:2px}.bgm-item{height:auto;min-height:68px;display:block;text-align:left;background:#f8fafc;color:#17202a;border:1px solid #e8dfd3;border-radius:10px;padding:9px 10px}.bgm-item span{display:block;color:#0f766e;font-size:11px;font-weight:800}.bgm-item b{display:block;margin:3px 0;color:#17202a;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bgm-item em{font-style:normal;color:#64748b;font-size:11px}.bgm-item.active{background:#ecfdf5;border-color:#0f766e;box-shadow:0 8px 18px rgba(15,118,110,.12)}
.bgm-player{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:10px}.bgm-player audio{width:100%;height:36px}.bgm-player a{height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;background:#10151b;color:#fff;font-size:13px;font-weight:700}
.block,.card,.shot,.stat{background:#fbfaf7;border:1px solid #e8dfd3;border-radius:14px;padding:16px;white-space:pre-wrap;line-height:1.7}
.doc{max-width:840px;margin-left:auto;margin-right:auto}
.doc p{margin:8px 0;color:#374151}
.doc-back{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;margin:0 0 14px;border-radius:12px;background:#10151b;color:#fff;font-weight:700}
.editbox{width:100%;height:420px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;margin-top:12px;background:#10151b;color:#f9fafb;border-color:#10151b}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.card b,.shot b{display:block;margin-bottom:7px;color:#17202a}
.shot{margin-bottom:12px;border-left:4px solid #e5533d}
.muted{color:#64748b;font-size:13px;line-height:1.6}
.img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:14px;margin:10px 0;border:1px solid #e8dfd3;background:#f8fafc}
.mini-btn{height:34px;padding:0 12px;background:#10151b;margin-top:10px;border-radius:11px}
.history-hero{padding:18px!important;margin-bottom:12px!important;border-radius:8px!important}
.history-hero-row,.history-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:1}
.history-brand{justify-content:flex-start}.history-brand img{width:42px;height:42px;border-radius:12px;box-shadow:0 8px 18px rgba(17,24,39,.2)}.history-brand h2{color:#fff;font-size:22px}.history-brand p{margin:4px 0 0;color:#d6dde6;font-size:13px;line-height:1.4}
.icon-refresh{height:34px;padding:0 12px;background:#eef2ff;color:#4338ca;border-radius:10px;font-size:13px;white-space:nowrap}
.history-panel{background:transparent;border:0;box-shadow:none;padding:0!important}
.history-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 10px}.history-tabs button{height:34px;border-radius:10px;background:#fff;color:#64748b;border:1px solid #e8dfd3;font-size:13px}.history-tabs button.active{background:#10151b;color:#fff;border-color:#10151b}
.history-panel .history-item{display:grid;grid-template-columns:86px 1fr;gap:12px;align-items:stretch;background:#fff;border:1px solid #e8dfd3;border-radius:10px;padding:10px;margin-bottom:10px;box-shadow:0 8px 20px rgba(39,48,62,.055)}
.history-panel .history-cover{width:86px;height:86px;border-radius:8px;object-fit:cover;background:#f1f5f9;cursor:pointer}
.history-panel .history-main{min-width:0}.history-title{display:flex;align-items:center;gap:6px;color:#17202a;font-size:15px;line-height:1.28;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-title span{height:20px;line-height:20px;padding:0 6px;border-radius:6px;background:#fff7ed;color:#e5533d;font-size:11px;flex:0 0 auto}
.history-title{cursor:pointer}
.history-meta{margin-top:4px;color:#64748b;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-time{margin-top:2px;color:#94a3b8;font-size:11px;line-height:1.3}
.history-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px}.history-panel .history-item button{height:30px;padding:0 11px;border-radius:8px;font-size:12px}
.history-actions .open-detail{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.history-actions .pin{background:#f1f5f9;color:#334155;border:1px solid #dbe2ee}
.history-actions .danger{background:#b91c1c;color:#fff;border:1px solid #b91c1c}
.order-item{background:#fff;border:1px solid #e8dfd3;border-radius:10px;padding:12px;margin-bottom:10px;box-shadow:0 8px 20px rgba(39,48,62,.055);white-space:normal}.order-item b{display:block;margin-bottom:5px;color:#17202a}
.history-pager{display:grid;grid-template-columns:72px 1fr 72px;align-items:center;gap:8px;margin-top:10px}.history-pager button{height:32px;border-radius:9px;background:#10151b;font-size:12px;padding:0}.history-pager .muted{text-align:center;font-size:12px}
.history-empty{padding:30px 16px;text-align:center;color:#64748b}.history-empty b{display:block;color:#17202a;font-size:16px}.history-empty p{margin:7px 0 12px;font-size:13px}.history-empty button{height:36px;border-radius:10px;background:#e5533d;font-size:13px}
.sync-empty{margin-top:14px;padding:18px;border:1px solid #d8eadf;border-radius:14px;background:linear-gradient(135deg,#fff,#ecfdf5);color:#17202a}
.sync-empty b{display:block;font-size:16px;font-weight:700;line-height:1.35}
.sync-empty p{margin:8px 0 14px;color:#64748b;font-size:13px;line-height:1.7}
.sync-empty button{height:42px;background:#e5533d;border-radius:12px;font-size:14px;font-weight:700}
.danger{background:#b91c1c!important}
#msg{min-height:22px;margin-top:10px;color:#0f766e;font-size:14px}
.preview-edit{display:grid;gap:12px;margin:14px 0}
.preview-edit textarea{height:92px}
.preview-edit #scriptEdit{height:220px}
.preview-edit button{background:#e5533d;width:max-content;border-radius:13px}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}
.stat{padding:16px}
.stat b{display:block;font-size:22px;font-weight:700}
.stat span{color:#64748b;font-size:12px}
.mine-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px;position:relative;z-index:1}
.mine-brand:before{content:"";width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:url('/uploads/system/logo.png?v=2026062833') center/cover no-repeat;box-shadow:0 8px 18px rgba(17,24,39,.16)}
.mine-brand h2{color:#fff}
.mine-sub{position:relative;z-index:1;margin:0;color:#d6dde6;font-size:16px;font-weight:500;line-height:1.6}
.pill{display:inline-block;background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe;border-radius:10px;padding:7px 10px;font-size:13px;font-weight:600}
.pill.green{background:#ecfdf5;color:#047857;border-color:#a7f3d0}
.pay-hero{padding:18px!important;margin-bottom:12px!important;border-radius:8px!important}
.pay-brand{display:flex;align-items:center;gap:12px;position:relative;z-index:1;margin-bottom:12px}
.pay-brand img{width:38px;height:38px;border-radius:10px;box-shadow:0 8px 18px rgba(17,24,39,.2)}
.pay-brand h2{color:#fff;font-size:22px}
.pay-hero p{position:relative;z-index:1;margin:0;color:#d6dde6;font-size:14px;font-weight:500;line-height:1.7}
#inviteBox{word-break:break-all}
.invite-preview{margin-top:14px;padding:22px;border:1px solid #d8eadf;border-radius:14px;background:linear-gradient(135deg,#fff7ed,#e9fbf5)}
.invite-preview b{display:block;font-size:22px;color:#17202a;font-weight:700}
.invite-preview p{margin:8px 0 0;color:#0f766e;font-weight:600}
.invite-preview i{display:block;height:4px;background:#e5533d;margin:20px 0}
.invite-preview strong{display:block;font-size:16px;line-height:1.45;color:#17202a;font-weight:700}
.action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.poster-canvas{position:fixed;left:-9999px;top:-9999px;width:750px;height:1000px}
.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}
.quick-grid a,.quick-grid button{height:44px;border-radius:12px;background:#f1f5f9;color:#17202a;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;border:0;line-height:1.2;text-align:center}
.quick-grid .danger{color:#fff}
.mine-hero{padding-bottom:20px}
.mine-hero .mine-brand{margin-bottom:8px}
.mine-hero .mine-sub{font-size:15px}
.mine-hero h2{font-size:22px;font-weight:700}
.mine-hero .mine-sub{font-weight:600}
.account-card{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-top:12px;padding:0;border:0;border-radius:0;background:transparent}
.account-avatar{display:none}
.account-main{flex:1;min-width:0}
.account-title{color:#fff;font-size:15px;font-weight:700;line-height:1.35}
.account-card .muted{color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-actions{flex:0 0 auto}
.account-action{height:38px;padding:0 13px;background:#e5533d;border-radius:10px;font-size:13px;font-weight:700}
.wechat-action{background:#16a34a}
#mineSec .stat-grid{display:block;margin-top:12px;position:relative;z-index:1}
.quota-main{position:relative;overflow:hidden;padding:18px;border-radius:16px;background:linear-gradient(135deg,#fff7ed 0%,#ecfdf5 100%);border:1px solid rgba(255,255,255,.22);box-shadow:0 14px 30px rgba(0,0,0,.12)}
.quota-main:after{content:"";position:absolute;right:-34px;top:-40px;width:122px;height:122px;border-radius:50%;background:#13b8a6;opacity:.16}
.quota-main div{position:relative;z-index:1}.quota-main span{display:block;color:#64748b;font-size:13px;font-weight:700}.quota-main b{display:block;margin-top:4px;color:#17202a;font-size:36px;line-height:1;font-weight:900}.quota-main em{position:absolute;right:18px;top:20px;z-index:1;font-style:normal;color:#0f766e;font-size:14px;font-weight:900}.quota-main i{display:block;position:relative;z-index:1;height:8px;margin-top:18px;border-radius:99px;background:rgba(15,23,42,.1);overflow:hidden}.quota-main strong{display:block;height:100%;border-radius:99px;background:#e5533d}
.quota-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.quota-mini div{padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.1);text-align:center}
.quota-mini b{display:block;color:#fff;font-size:18px;line-height:1.2;font-weight:900}.quota-mini span{display:block;margin-top:5px;color:#cbd5e1;font-size:12px;font-weight:700}
.action-panel .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:720px}
.action-panel .quick-card{height:auto;min-height:66px;display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:center;justify-content:stretch!important;text-align:left!important;gap:12px;padding:12px 14px;border:1px solid #e8dfd3;background:#fbfaf7}
.mine-menu-panel{padding:20px}
.mine-entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.mine-entry-card{height:auto;min-height:82px;display:grid!important;grid-template-columns:38px minmax(0,1fr);align-items:center;justify-content:stretch!important;text-align:left!important;gap:12px;padding:14px;border:1px solid #e8dfd3;border-radius:14px;background:#fbfaf7!important;color:#17202a!important}
.mine-entry-card b{font-size:15px;color:#17202a;line-height:1.25}
.mine-entry-card em{display:block;margin-top:4px;font-style:normal;font-size:12px;color:#64748b;font-weight:600;line-height:1.3}
.mine-detail-head{margin-bottom:14px}.mine-detail-head h2{flex:1;text-align:left}
.quick-card span:last-child{display:grid;gap:3px;min-width:0;justify-items:start}
.quick-card b{font-size:14px;color:#17202a;line-height:1.25;font-weight:700}
.quick-card em{font-style:normal;font-size:12px;color:#64748b;font-weight:500;line-height:1.25}
.quick-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#eff6ff;color:#2563eb;font-size:13px}
.quick-icon img{width:21px;height:21px;display:block}
.quick-icon.pay{background:#fff7ed;color:#ea580c}
.quick-icon.work{background:#eef2ff;color:#4f46e5}
.quick-icon.doc{background:#ecfdf5;color:#059669}
.quick-icon.lock{background:#faf5ff;color:#7c3aed}
.quick-icon.cache{background:#f8fafc;color:#64748b}
.quick-icon.danger-icon{background:#fee2e2;color:#b91c1c}
.danger-card{border-color:#fecaca!important;background:#fff7f7!important}
.danger-card b{color:#b91c1c!important}
.account-links{display:flex;gap:18px;margin-top:14px;color:#64748b;font-size:13px;font-weight:600}
.delete-text{color:#b91c1c}
.feedback-panel textarea{margin-top:12px}
.plans-panel{background:transparent;border:0;box-shadow:none;padding:0!important;margin-bottom:0}
#plansSec{width:100%;max-width:430px;margin:0 auto}
#plans.cards{display:block}
#plans .card{padding:14px;margin-bottom:10px;background:#fff;border-radius:8px!important;box-shadow:0 7px 17px rgba(39,48,62,.08);white-space:normal!important;line-height:1.35!important}
#plans .plan-card{min-height:0}
#plans .plan-card:nth-child(2){border:2px solid #0f766e;box-shadow:0 14px 32px rgba(15,118,110,.12)}
#plans .plan-card:nth-child(2) .plan-buy{background:#0f766e}
#plans .plan-card:nth-child(3) .plan-buy{background:#10151b}
.plan-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;line-height:1.2}
.plan-title{font-size:16px;font-weight:800;color:#17202a;line-height:1.2}
.plan-desc{margin-top:2px;color:#64748b;font-size:13px;font-weight:600;line-height:1.2}
.plan-price{font-size:20px;font-weight:900;color:#e5533d;line-height:1.1;white-space:nowrap}
.plan-buy{width:100%;height:42px;margin-top:11px;background:#e5533d;border-radius:8px;font-size:16px}
#plans .business-card{border:1px solid #0f766e;background:linear-gradient(135deg,#fff,#ecfdf5);box-shadow:0 14px 32px rgba(15,118,110,.1)}
#plans .business-card p{margin:14px 0 0;color:#334155;font-size:14px;font-weight:500;line-height:1.65}
#plans .card b{margin:0!important}
.business-tag{height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;font-size:13px;font-weight:600;white-space:nowrap}
.pay-qrcode{display:flex;align-items:center;gap:14px;margin:2px 0 16px;padding:14px;border:1px solid #e8dfd3;border-radius:8px;background:#fff;box-shadow:0 7px 17px rgba(39,48,62,.06)}
.pay-qrcode img{width:86px;height:86px;border-radius:8px;object-fit:cover;flex:0 0 86px}
.pay-qrcode b{display:block;color:#17202a;font-size:15px;line-height:1.25}
.pay-qrcode span{display:block;margin-top:6px;color:#64748b;font-size:13px;line-height:1.45}
.poster{display:block;width:100%;max-width:430px;border:1px solid #d8eadf;border-radius:16px;margin-top:14px;background:linear-gradient(135deg,#fff7ed,#e9fbf5)}
.asset-thumb{width:120px;max-height:120px;object-fit:cover;border-radius:8px;border:1px solid #e8dfd3;background:#fff}
.asset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.tab-page{display:none}
.tab-page.active{display:block}
.modal{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center}
.modal.hidden{display:none}
.modal-mask{position:absolute;inset:0;background:rgba(17,24,39,.38)}
.login-sheet{position:relative;z-index:1;width:min(520px,100%);padding:22px 18px 24px;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -18px 48px rgba(17,24,39,.18)}
.sheet-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.ghost-btn{height:36px;background:#f1f5f9;color:#17202a;border-radius:10px}
.wechat-login{width:100%;height:48px;margin:12px 0 10px;background:#07c160;border-radius:13px;font-size:15px;font-weight:700}
.login-divider{display:flex;align-items:center;gap:10px;margin:4px 0 10px;color:#94a3b8;font-size:12px}
.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:#e5e7eb}
.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.login-tabs button{height:40px;border-radius:12px;background:#f1f5f9;color:#64748b;font-size:14px;font-weight:800}
.login-tabs button.active{background:#17202a;color:#fff}
.code-row{display:grid;grid-template-columns:1fr 118px;gap:10px;align-items:center}
.code-row button{height:46px;background:#10151b;border-radius:12px;padding:0}
.login-primary{width:100%;height:50px;margin-top:12px;background:#e5533d;border-radius:13px;font-size:16px}
.ghost-wide{width:100%;height:42px;margin-top:8px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:12px;font-size:14px;font-weight:800}
.login-tip{min-height:22px;margin-top:10px;color:#0f766e;font-size:13px;font-weight:500;line-height:1.5}
.pay-sheet{position:relative;z-index:1;width:min(420px,calc(100% - 28px));padding:22px 18px 24px;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -18px 48px rgba(17,24,39,.18);text-align:center}
.pay-order-title{margin:4px 0 14px;color:#17202a;font-size:15px;font-weight:800;line-height:1.45}
.pay-qr-img{display:block;width:220px;height:220px;margin:0 auto 12px;border:1px solid #e8dfd3;border-radius:14px;background:#fff;object-fit:contain}
.pay-status{min-height:22px;margin:4px 0 10px;color:#0f766e;font-size:13px;font-weight:700;line-height:1.5}
.bottom-nav{position:fixed;left:50%;bottom:16px;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:min(520px,calc(100% - 24px));height:76px;padding:8px 10px;transform:translateX(-50%);background:rgba(255,255,255,.94);border:1px solid #e2d9cc;border-radius:18px;box-shadow:0 18px 46px rgba(17,24,39,.18);backdrop-filter:blur(16px)}
.bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:14px;color:#64748b;font-size:13px;font-weight:600}
.bottom-nav-item img{width:26px;height:26px;object-fit:contain}
.bottom-nav-item.active{background:#fff7ed;color:#e5533d}
@media(max-width:720px){
  body{background:#f6f3ec}
  .page{padding:16px 14px 150px}
  .panel{border-radius:16px;padding:18px;margin-bottom:16px}
  h1{font-size:28px}h1:before{width:44px;height:44px;flex-basis:44px}
  h2{font-size:20px}.lead{font-size:15px}
  .template-panel{padding-left:8px;padding-right:8px}
  .tpls{grid-template-columns:repeat(2,1fr);gap:12px}
  .tpl{height:126px;border-radius:14px;font-size:22px}
  .grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .compose-panel{padding:0}
  .chip-grid{grid-template-columns:1fr;gap:0}
  .chip-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}
  .chip-row button{flex:0 0 auto;height:32px;font-size:12px;padding:0 12px}
  .bar{align-items:flex-start;flex-wrap:wrap}
  .bar button{margin-left:0;margin-right:6px}
  .result-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .result-actions button{height:36px;font-size:12px}
  .bgm-player{grid-template-columns:1fr}.audio-box audio,.bgm-player audio{height:40px}
  .history-panel .history-item{grid-template-columns:78px 1fr;padding:9px}.history-panel .history-cover{width:78px;height:78px}
  .account-card{align-items:flex-start}
  .account-actions{margin-left:auto}
  .account-action{height:40px;padding:0 12px}
  .mine-entry-grid{grid-template-columns:1fr;gap:10px}
  .mine-entry-card{min-height:70px;padding:12px}
  .mine-detail-head{align-items:center}
  .action-panel .quick-grid{gap:10px;max-width:none}
  .action-panel .quick-card{min-height:62px;padding:10px}
  .pay-hero{padding:18px!important}
  #plansSec{max-width:none;margin:0}
  #plans .card{border-radius:8px;padding:14px;margin-bottom:10px}
  #plans .plan-card{min-height:0}
  .plan-buy{height:42px;margin-top:11px}
  .bottom-nav{width:100%;height:72px;bottom:0;border-radius:0;border-left:0;border-right:0;border-bottom:0;box-shadow:0 -6px 24px rgba(17,24,39,.08)}
  .bottom-nav-item{font-size:12px}
  .toast{top:10px;line-height:34px;font-size:13px}
}
.site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:8px auto 10px;padding:18px 12px;color:#6b7280;font-size:12px!important;line-height:1.6;text-align:center}.site-footer a{color:#64748b;text-decoration:none}.site-footer a:hover{color:#0f766e}@media(max-width:720px){.site-footer{display:block;margin-top:2px;padding:14px 8px 4px}.site-footer span,.site-footer a{display:inline;margin:0 3px;font-size:11px!important}}
.seo-noscript{max-width:920px;margin:18px auto;padding:22px;border:1px solid #e8dfd3;border-radius:16px;background:#fff;color:#17202a;box-shadow:0 10px 24px rgba(39,48,62,.055)}
.seo-noscript h1{margin:0 0 10px;font-size:22px;line-height:1.35;font-weight:800;color:#17202a}
.seo-noscript p{margin:0 0 14px;color:#475569;font-size:14px;line-height:1.8;font-weight:500}
@media(max-width:720px){.seo-noscript{margin:12px 0;padding:16px;border-radius:14px}.seo-noscript h1{font-size:19px}.seo-noscript p{font-size:13px;line-height:1.75}}
