*{box-sizing:border-box}
:root{
  --bg:#070b12;--panel:#0d1420;--panel2:#0a121f;--line:#1b2a3f;--line2:#16334a;
  --red:#ff2d2d;--cyan:#00e5ff;--green:#27ff7a;--gold:#ffcf3a;--text:#cfe3ff;--dim:#6f849f;
}
html,body{min-height:100%;margin:0}
body{
  background:var(--bg);color:var(--text);
  font-family:Consolas,"Courier New","Microsoft YaHei",monospace;
  letter-spacing:0;overflow-x:hidden;
}
body:after{content:"";position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,rgba(0,0,0,.16) 2px 4px);mix-blend-mode:overlay;z-index:50}
button,input,textarea,select{font:inherit}
button{min-height:44px;border:0;border-radius:8px;cursor:pointer}
a{color:inherit}
button:disabled{opacity:.55;cursor:not-allowed}
.soldier-loader,button.is-busy:before{
  display:inline-block;flex:none;width:42px;height:42px;content:"";
  background-image:url("assets/soldier-breakout-loader.png");background-repeat:no-repeat;background-size:600% 100%;background-position:0 0;
  animation:soldier-breakout .84s steps(1,end) infinite;filter:drop-shadow(0 0 7px rgba(0,229,255,.35));
}
.loading-line{display:inline-flex;align-items:center;gap:9px;min-height:42px;color:var(--cyan);line-height:1.5}
button.is-busy{display:inline-flex;align-items:center;justify-content:center;gap:7px}
button.is-busy:before{width:28px;height:28px;margin-left:-2px}
@keyframes soldier-breakout{
  0%,15%{background-position:0 0}16%,31%{background-position:20% 0}32%,47%{background-position:40% 0}
  48%,63%{background-position:60% 0}64%,79%{background-position:80% 0}80%,100%{background-position:100% 0}
}
@media (prefers-reduced-motion:reduce){.soldier-loader,button.is-busy:before{animation-duration:1.8s}}
input,textarea,select{
  width:100%;border:1px solid var(--line);border-radius:8px;background:#08101b;color:#fff;
  padding:12px;outline:none;resize:vertical;
}
input:focus,textarea:focus,select:focus{border-color:var(--cyan);box-shadow:0 0 0 2px rgba(0,229,255,.12)}
label{display:flex;justify-content:space-between;color:var(--dim);font-size:13px;margin:12px 0 7px}
small{color:var(--dim)}
.shell{min-height:100dvh;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #16243a;background:linear-gradient(90deg,#0b1220,#0d1726)}
.top-actions{display:flex;gap:8px;align-items:center}.top-actions .ghost,.top-actions .primary{min-height:36px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.mark{width:40px;height:40px;border:2px solid var(--red);border-radius:8px;display:grid;place-items:center;color:var(--red);font-size:20px;font-weight:700;box-shadow:0 0 18px rgba(255,45,45,.48);flex:none}
h1,h2,p{margin:0}
h1{font-size:21px;color:#fff;letter-spacing:2px}
.brand p{font-size:12px;color:var(--dim);margin-top:2px}
.status-strip{display:flex;gap:12px;overflow-x:auto;padding:8px 20px;border-bottom:1px solid #16243a;background:#0a1018;color:var(--dim);font-size:12px}
.status-strip span{white-space:nowrap}.status-strip i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green);margin-right:6px}
.status-strip b{color:var(--cyan)}
.status-login{min-height:24px;padding:2px 9px;border:1px solid var(--line2);border-radius:999px;background:#0a1622;color:var(--cyan);font-size:12px;white-space:nowrap}
.layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;flex:1;min-height:0;padding:14px 18px}
.side,.workspace,.panel{border:1px solid #16243a;background:rgba(13,20,32,.96);border-radius:8px}
.side{padding:13px;overflow:auto}
.workspace{min-width:0;overflow:hidden}
.section-title{font-size:12px;color:var(--cyan);border-left:3px solid var(--cyan);padding-left:8px;margin:4px 0 10px;letter-spacing:1px}
.channels,.cards,.products,.history{display:grid;gap:9px}
.channel,.info-card,.product,.record{border:1px solid var(--line);background:var(--panel2);border-radius:8px;padding:11px}
.channel{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;text-align:left;color:var(--text);width:100%}
.channel.on{border-color:var(--red);background:#160d12;box-shadow:0 0 14px rgba(255,45,45,.2)}
.channel .ico{width:34px;height:34px;border:1px solid var(--line2);border-radius:8px;display:grid;place-items:center;color:var(--cyan)}
.channel b{color:#fff}.channel p,.info-card p,.record p{margin-top:4px;color:var(--dim);font-size:12px;line-height:1.5}
.tag{border:1px solid var(--line2);border-radius:999px;color:var(--green);font-size:11px;padding:3px 7px}
.tag{white-space:nowrap}
.auth-card,.user-card,.auth-recover{display:grid;gap:9px;margin-bottom:14px}
.user-actions{display:grid;grid-template-columns:1fr;gap:8px}
.member-badge{display:inline-flex;width:max-content;margin:5px 0 8px;padding:3px 8px;border:1px solid #755b1d;border-radius:999px;background:#1c1608;color:var(--gold);font-size:11px}
.recharge-link{min-height:40px;border:1px solid #6f5210;background:#211805;color:var(--gold);font-weight:700}
.text-link{min-height:30px;margin:-5px 0 12px;padding:0;background:transparent;color:var(--cyan);text-align:left;text-decoration:underline;text-underline-offset:3px}
.security-form{display:grid;gap:9px}
.compact-action{width:100%;min-height:38px}
.checkin-captcha{display:block;width:210px;height:64px;border:1px solid var(--line2);border-radius:8px;margin:4px 0 10px;background:#f5f8ff}
.row,.verify-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.verify-row{grid-template-columns:1fr 86px}
.adjust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px;margin-top:10px}
.primary{background:linear-gradient(90deg,#0091b3,#005f7a);color:#fff;font-weight:700}
.danger{width:100%;background:linear-gradient(90deg,#ff2d2d,#b30000);color:#fff;font-weight:700;letter-spacing:2px;margin-top:14px}
.ghost{background:#0a1622;border:1px solid var(--line2);color:var(--cyan);padding:0 13px}
a.ghost{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border-radius:8px;text-decoration:none;margin-top:8px}
.hidden{display:none!important}
.tabs{display:flex;gap:0;border-bottom:1px solid #16243a;background:#0a1018;overflow-x:auto}
.tab{flex:1;min-width:118px;border-radius:0;background:transparent;color:var(--dim);border-right:1px solid #16243a}
.tab.on{color:var(--cyan);box-shadow:inset 0 -2px 0 var(--cyan)}
.view{display:none;padding:14px}.view.on{display:block}
.grid.two{display:grid;grid-template-columns:minmax(280px,430px) minmax(0,1fr);gap:14px;align-items:start}
.grid.three{display:grid;grid-template-columns:minmax(240px,360px) minmax(0,1fr) minmax(240px,360px);gap:14px;align-items:start}
.profile-grid{display:grid;grid-template-columns:minmax(220px,300px) minmax(220px,300px) minmax(0,1fr) minmax(220px,300px);gap:14px;align-items:start}
.panel{padding:14px;min-width:0}.panel h2{font-size:15px;color:#fff;margin-bottom:8px}
.compute{border:1px dashed var(--line);border-radius:8px;padding:12px;margin-bottom:12px;display:grid;grid-template-columns:94px 1fr;gap:12px;align-items:center}
.radar{width:86px;height:86px;border-radius:50%;border:1px solid #1b3a4f;background:radial-gradient(circle,#08151f 58%,#0a1a26);position:relative;overflow:hidden}
.radar span{position:absolute;inset:0;background:conic-gradient(rgba(39,255,122,.38),rgba(39,255,122,0) 70deg);animation:spin 1.6s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.compute ol{margin:0;padding-left:18px;color:var(--dim);line-height:1.9;font-size:13px}
.compute.active{border-color:var(--cyan);box-shadow:0 0 18px rgba(0,229,255,.1)}
.debate-compute{grid-template-columns:154px minmax(0,1fr);padding:16px;background:#080f18;overflow:hidden}
.debate-radar{position:relative;width:140px;height:140px;margin:4px auto 14px;border:1px solid #1b3a4f;border-radius:50%;overflow:hidden;background:radial-gradient(circle,#08151f 60%,#0a1a26);box-shadow:inset 0 0 28px rgba(0,229,255,.06),0 0 22px rgba(0,0,0,.28)}
.debate-radar:before,.debate-radar:after{position:absolute;z-index:2;content:"";border:1px solid #14333f;border-radius:50%;pointer-events:none}
.debate-radar:before{inset:28px}.debate-radar:after{inset:56px}
.debate-radar .debate-radar-sweep{position:absolute;inset:0;z-index:1;display:none;border-radius:50%;background:conic-gradient(from 0deg,rgba(39,255,122,.35),rgba(39,255,122,0) 60deg);transform-origin:center}
.debate-radar .debate-radar-core{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:30px;color:#6f849f;font-size:12px;font-weight:500;text-align:center;letter-spacing:.5px;text-shadow:0 0 8px #07131c}
.debate-radar.on .debate-radar-sweep{display:block;animation:debate-radar-spin 1.6s linear infinite}
.debate-radar.on .debate-radar-core{color:var(--green);text-shadow:0 0 12px rgba(39,255,122,.52)}
.debate-compute.locked{border-color:#4b2b25;box-shadow:0 0 20px rgba(255,45,45,.11)}
.debate-compute.locked .debate-radar{border-color:#63312e;box-shadow:inset 0 0 30px rgba(255,45,45,.08),0 0 24px rgba(255,45,45,.08)}
.debate-radar.lock .debate-radar-sweep{background:conic-gradient(from 0deg,rgba(255,45,45,.42),rgba(255,45,45,0) 60deg)}
.debate-radar.lock .debate-radar-core{color:#ff2d2d;font-weight:800;text-shadow:0 0 12px rgba(255,45,45,.62)}
.debate-scan-steps li{transition:color .18s,text-shadow .18s}
.debate-scan-steps li.on{color:#e9f9ff;text-shadow:0 0 9px rgba(0,229,255,.22)}
.debate-scan-steps li.done{color:var(--green)}
.debate-scan-list,.debate-scan-log{grid-column:1/-1;min-width:0}
.debate-scan-list:empty,.debate-scan-log:empty{display:none}
.debate-scan-list{max-height:250px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#080f18;font-size:12px;line-height:2;overflow:hidden}
.debate-scan-item{min-width:0;color:#7890a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:debate-scan-in .16s ease both}
.debate-scan-item.preview{color:#8aa0b5}
.debate-scan-item.out{color:#334355;text-decoration:line-through}
.debate-scan-item.lock{color:var(--green);font-weight:900;text-decoration:none;text-shadow:0 0 10px rgba(39,255,122,.58);animation:debate-lock-flash .52s ease 3}
.debate-scan-log{max-height:130px;margin-top:10px;color:#60748c;font-size:11.5px;line-height:1.95;overflow:hidden}
.debate-scan-log-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:debate-scan-in .16s ease both}
.debate-scan-log-line.ok{color:var(--green)}
.debate-reveal{opacity:0;transform:translateY(5px);animation:debate-intel-in .3s ease forwards;animation-delay:calc(var(--reveal-order,0) * 115ms)}
@keyframes debate-radar-spin{to{transform:rotate(360deg)}}
@keyframes debate-scan-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes debate-lock-flash{50%{opacity:.28}}
@keyframes debate-intel-in{to{opacity:1;transform:none}}
.result-empty,.answer{color:var(--dim);line-height:1.8}
.agent-chat{display:grid;gap:12px;max-height:520px;overflow:auto;padding-right:4px}
.agent-profile{margin:10px 0 14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.03)}
.agent-profile p{margin:6px 0;line-height:1.55}.agent-profile small{display:block;margin-top:8px;color:var(--dim)}
.agent-profile .mini-chip{margin:0 6px 5px 0}
.agent-empty{color:var(--dim);line-height:1.8}
.chat-message{display:grid;gap:5px;max-width:min(88%,720px)}
.chat-message.user{justify-self:end}.chat-message.assistant{justify-self:start}
.chat-meta{color:var(--dim);font-size:11px}
.chat-message.user .chat-meta{text-align:right}
.chat-bubble{border:1px solid var(--line);border-radius:8px;background:#08101b;color:var(--text);padding:11px 12px;line-height:1.75;word-break:break-word}
.chat-message.user .chat-bubble{background:#0a1b27;border-color:var(--line2);color:#fff}
.chat-message.error .chat-bubble{border-color:#5b4710;background:#191406;color:var(--gold)}
.chat-message.pending .chat-bubble{color:var(--dim)}
.chat-bubble p,.rich-text p{margin:0 0 10px}.chat-bubble p:last-child,.rich-text p:last-child{margin-bottom:0}
.chat-bubble ul,.chat-bubble ol,.rich-text ul,.rich-text ol{margin:0 0 10px;padding-left:20px}.chat-bubble li,.rich-text li{margin:5px 0}
.chat-bubble h2,.chat-bubble h3,.chat-bubble h4,.rich-text h2,.rich-text h3,.rich-text h4{color:var(--cyan);margin:14px 0 8px;line-height:1.45}.chat-bubble h2,.rich-text h2{font-size:16px}.chat-bubble h3,.rich-text h3{font-size:14px}.chat-bubble h4,.rich-text h4{font-size:13px;color:#9cb8d9}.chat-bubble blockquote,.rich-text blockquote{margin:10px 0;padding:8px 11px;border-left:3px solid var(--cyan);background:#0a1b27;color:#b8cce4}.chat-bubble pre,.rich-text pre{overflow:auto;margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:7px;background:#060c15;color:#cfe3ff;white-space:pre-wrap}.chat-bubble code,.rich-text code{padding:1px 4px;border-radius:4px;background:#122234;color:var(--cyan);font-family:Consolas,"Courier New",monospace}.chat-bubble pre code,.rich-text pre code{padding:0;background:transparent}.chat-bubble hr,.rich-text hr{border:0;border-top:1px solid var(--line);margin:14px 0}.chat-bubble a,.rich-text a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.chip{border:1px solid var(--line2);border-radius:999px;padding:6px 10px;color:var(--cyan);background:#08101b;font-size:12px}
.danger-chip{color:#ff8a8a;border-color:#5a1a22;background:#160d12}
.result-section{border-top:1px solid #16243a;padding-top:11px;margin-top:11px}
.result-section h3{font-size:13px;color:var(--cyan);margin:0 0 8px}
.result-section ul{margin:0;padding-left:18px;line-height:1.75}
.score{display:grid;gap:7px}.score-row{display:grid;grid-template-columns:82px 1fr 44px;gap:8px;align-items:center;color:var(--dim);font-size:13px}
.bar{height:10px;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#060c15}.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--cyan),var(--green))}
.reply-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.reply{border:1px solid var(--line);background:#08101b;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px}
.reply.best{border-color:var(--red);box-shadow:0 0 18px rgba(255,45,45,.16)}
.reply b{color:#fff}.reply p{color:var(--text);line-height:1.65;margin:0;font-size:14px}
.copy{background:#1a0a0e;border:1px solid #5a1a22;color:#ff8a8a}
.warning{border:1px solid #5b4710;background:#191406;color:var(--gold);border-radius:8px;padding:10px;margin-top:12px}
.recharge-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px}
.recharge-prompt .goto-recharge{flex:none;padding:0 14px}
.inline-recharge{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.inline-recharge .inline-buy-energy{flex:none;min-height:38px;padding:0 12px;white-space:nowrap}
.result-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:12px}
.product{display:flex;justify-content:space-between;gap:12px;align-items:center}
.record details,.record summary{color:var(--text)}.record summary{cursor:pointer}.record pre{white-space:pre-wrap;word-break:break-word;color:var(--dim);font-size:12px;line-height:1.6;margin:8px 0 0}
.product b,.record b{color:#fff}.product span{color:var(--gold)}
.add-item{margin-bottom:10px}.remove-item{float:right;min-height:34px;padding:0 10px;color:#ff8a8a;border-color:#5a1a22}
.history-detail{margin-top:8px;color:var(--dim);font-size:12px;line-height:1.7;white-space:normal;word-break:break-word}
.history-detail ul{margin:6px 0 0;padding-left:18px}.history-detail p{margin:4px 0}
.history-detail li{margin:6px 0}.mini-action{min-height:28px;border:1px solid var(--line2);border-radius:6px;background:#0a1622;color:var(--cyan);font-size:11px;padding:0 8px;margin-left:6px}.history-reuse,.history-unfavorite{margin-top:8px}.history-unfavorite{color:#ff8a8a;border-color:#5a1a22}
.mini-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.mini-chip{border:1px solid var(--line2);border-radius:999px;padding:4px 7px;color:var(--cyan);font-size:11px;background:#08101b}
.problem-diagnosis{border-color:#1e6170}.problem-recommendation-intro{margin:12px 0;padding:10px 11px;border-left:3px solid var(--cyan);background:#08131d;color:var(--dim);font-size:13px;line-height:1.65}.problem-persona-card{display:grid;gap:3px;margin-top:10px}.problem-persona-card p{margin:3px 0}.problem-persona-card p strong{color:#dceeff}.problem-persona-card small{color:var(--dim);line-height:1.5}.problem-persona-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.problem-persona-heading>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.problem-rank{font-size:10px;letter-spacing:.7px;color:var(--dim);border:1px solid var(--line);border-radius:999px;padding:3px 6px}.problem-recommended{font-size:11px;color:#251300;background:#ff9c36;border-radius:999px;padding:3px 7px;font-weight:700}.problem-stars{font-size:16px;letter-spacing:1px;white-space:nowrap}.problem-stars em{font-size:11px;font-style:normal;letter-spacing:0;margin-left:3px}.stars-6{border-color:#b56116;background:linear-gradient(110deg,#1a1106,#0c1118)}.stars-6 .problem-stars{color:#ff9c36}.stars-5 .problem-stars{color:#ffd05f}.stars-4 .problem-stars{color:#62d4df}.stars-3 .problem-stars{color:#83bcff}.stars-2 .problem-stars,.stars-1 .problem-stars{color:#8896a8}.problem-persona-card .primary{margin-top:8px}.problem-top3-solve{width:100%;margin-top:12px;border-color:#c98942;color:#ffbf72}
.problem-intake-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:9px 0}.problem-intake-actions .ghost{min-height:38px;border-color:#79502a;color:#ffb069}.problem-intake-actions .text-link{width:auto;margin:0;color:#9eb5c9}.problem-advanced{margin:11px 0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#090f18}.problem-advanced>summary{cursor:pointer;color:#9eb0c2;font-size:12px}.problem-clarify{margin:12px 0;padding:12px;border:1px solid #7d4b22;border-radius:9px;background:#15100b}.problem-clarify>p{color:#d7a879;font-size:12px;line-height:1.6}.clarify-question{margin:11px 0 0;padding:10px;border:1px solid #403024;border-radius:7px}.clarify-question legend{padding:0 5px;color:#f0e5da;font-size:12px}.clarify-question label{display:flex;justify-content:flex-start;gap:8px;margin:7px 0;padding:7px;border-radius:6px;background:#0e0d0c;color:#aaa29a}.clarify-question label input{width:auto;margin:2px 0 0}.clarify-question input[data-clarify-key]:not([type=radio]){background:#0b0b0b}.problem-clarify-ready{margin-top:9px;color:#b7c7b3;font-size:12px}.problem-plan-hero{margin-bottom:12px;padding:20px;border:1px solid #8a4c1d;border-radius:8px;background:radial-gradient(circle at 90% 15%,rgba(234,117,26,.18),transparent 34%),#13100d}.problem-plan-hero small{color:#df7a29;letter-spacing:1px}.problem-plan-hero h2{margin:9px 0!important;font-size:25px!important}.problem-plan-hero p{color:#a9a097;font-size:13px;line-height:1.7}.problem-plan-section{position:relative;margin-top:10px;padding:16px;border:1px solid #263547;border-radius:8px;background:#09111b}.problem-plan-section>h3{margin:0 0 10px;padding-left:35px;color:#eff7ff;font-size:14px}.problem-plan-section>p{color:#aebdca;font-size:13px;line-height:1.75}.problem-section-no{position:absolute;top:13px;left:14px;color:#e17b2b;font-size:11px;font-weight:800}.problem-plan-section details>summary{cursor:pointer;color:#db8c4d;font-size:12px}.problem-plan-section details .rich-text{margin-top:12px}.hard-truth{border-color:#754321;background:#15100b}.quote-card blockquote{margin:0;padding:14px;border-left:3px solid #e17b2b;background:#13100d;color:#f1d6bf;font-size:17px;line-height:1.7}.problem-steps{display:grid;gap:8px}.problem-task{display:flex;justify-content:flex-start;gap:10px;margin:0;padding:10px;border:1px solid #24394d;border-radius:7px;background:#0a1521;color:#c7d6e4;line-height:1.55}.problem-task input{width:auto;flex:none;margin-top:3px}.problem-task span{display:flex;gap:9px}.problem-task i{width:22px;height:22px;display:grid;place-items:center;border:1px solid #5f452c;border-radius:50%;color:#e78a3f;font-size:10px;font-style:normal;flex:none}.problem-task.done{opacity:.58;border-color:#245d43}.problem-task.done span{text-decoration:line-through}.problem-timeline-outline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.problem-month-btn{display:grid;gap:3px;min-height:62px;padding:8px;border:1px solid #283b4e;background:#0a1420;color:#9cafc1;text-align:left}.problem-month-btn b{color:#e9934b}.problem-month-btn span{font-size:10px;line-height:1.4}.problem-month-btn.generated{border-color:#477050;background:#0b1812}.problem-month{margin-top:10px;border:1px solid #2b4053;border-radius:8px;background:#08111a}.problem-month>summary{display:flex;justify-content:space-between;padding:11px}.problem-month>summary span{color:#609b77;font-size:10px}.problem-month>p{padding:0 11px 10px;color:#8fa3b5;font-size:12px}.problem-month section{padding:10px;border-top:1px solid #203244}.problem-month h4{margin:0 0 8px;color:#d8e6f2;font-size:12px}.roundtable-section{border-color:#8b5426;background:linear-gradient(140deg,#17100b,#09111b)}.roundtable-section article{margin:8px 0;padding:9px;border-left:2px solid #d77529;background:rgba(0,0,0,.2)}.roundtable-section article p,.roundtable-section>p{margin-top:4px;color:#b9afa5;font-size:12px;line-height:1.6}.roundtable-section blockquote{margin:10px 0;padding:10px;border-left:3px solid #e17b2b;color:#f1d6bf;background:#100d0a}.problem-archives>h3{color:#e6893e}.problem-archives .record{margin-top:9px}.problem-archives .record small{display:block;margin:7px 0;color:#70869b}
.problem-output-panel{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 180px));min-height:540px;overflow:hidden}.problem-output-panel>h2{flex:none}.problem-scroll-region{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:7px;scrollbar-color:var(--line2) #07101c;scrollbar-width:thin}.problem-followup-form{flex:none;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.problem-followup-form label{margin-top:0}.problem-followup-form textarea{max-height:120px}.problem-followup-status{min-height:0;margin-top:7px}.problem-followup-status:empty{display:none}.problem-followup-status .loading-line{font-size:12px}.problem-followup-status .soldier-loader{width:32px;height:32px}
.period-group{border:1px solid var(--line);background:#07101c;border-radius:8px;padding:0;overflow:hidden}
.period-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;cursor:pointer;color:var(--text);list-style:none}
.period-group>summary::-webkit-details-marker{display:none}
.period-group>summary span{color:var(--dim);font-size:12px}
.period-items{display:grid;gap:9px;padding:0 9px 9px}
.period-items .record{background:#08101b}
.sliders{display:grid;gap:10px}.slider-row{display:grid;grid-template-columns:76px 1fr 36px;gap:10px;align-items:center;color:var(--dim);font-size:13px}
.question{border:1px solid var(--line);border-radius:8px;padding:12px;margin:0;background:#08101b}
.question legend{color:#fff;font-size:13px;line-height:1.5;padding:0 4px}.option-row{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:start;margin:10px 0 0;color:var(--text);font-size:13px;line-height:1.5}.option-row input{width:auto;margin-top:2px}
input[type=range]{padding:0;height:34px}
#hexCanvas{width:100%;max-width:640px;border:1px solid var(--line);border-radius:8px;background:#08101b}
.question-progress{position:sticky;top:8px;z-index:3;padding:10px 12px;border:1px solid var(--cyan);border-radius:8px;background:rgba(8,16,27,.94);color:var(--cyan);font-weight:700}
.hex-test-panel,.hex-report-panel{height:min(760px,calc(100dvh - 180px));min-height:540px;overflow-y:auto;overscroll-behavior:contain;padding-right:9px;scrollbar-color:var(--line2) #07101c;scrollbar-width:thin}.hex-test-panel::-webkit-scrollbar,.hex-report-panel::-webkit-scrollbar{width:8px}.hex-test-panel::-webkit-scrollbar-track,.hex-report-panel::-webkit-scrollbar-track{background:#07101c;border-radius:999px}.hex-test-panel::-webkit-scrollbar-thumb,.hex-report-panel::-webkit-scrollbar-thumb{background:var(--line2);border-radius:999px}.hex-report-panel{align-self:start;position:sticky;top:10px}.hex-report-actions{margin:10px 0}.question{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:8px}.question legend{padding:0 6px;line-height:1.6}.option-row{display:flex;gap:9px;align-items:flex-start;padding:8px;margin:4px 0;border-radius:6px;background:rgba(255,255,255,.025)}
.question.unanswered{border-color:#ffbd3c;box-shadow:0 0 0 2px rgba(255,189,60,.15),0 0 22px rgba(255,149,47,.12);animation:pending-question 1.25s ease-in-out 2}.question.unanswered legend{color:#ffcf6b}.question.unanswered .option-row{background:rgba(255,179,49,.055)}
@keyframes pending-question{50%{transform:translateX(3px);box-shadow:0 0 0 3px rgba(255,189,60,.25),0 0 28px rgba(255,149,47,.2)}}
.hex-report-hero{position:relative;overflow:hidden;border:1px solid rgba(89,225,255,.42);border-radius:12px;padding:18px;background:radial-gradient(circle at 84% 18%,rgba(255,118,57,.24),transparent 35%),linear-gradient(135deg,#071c30,#0c0a1e 62%,#250b17);box-shadow:inset 0 1px rgba(255,255,255,.12),0 12px 30px rgba(0,0,0,.22)}.hex-report-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 36%,rgba(255,255,255,.09) 45%,transparent 54%);transform:translateX(-90%);animation:report-sweep 4.5s ease-in-out infinite}.hex-report-hero>span{position:relative;z-index:1;color:#ffbf62;font-size:11px;letter-spacing:1.1px;font-weight:800}.hex-report-hero h3{position:relative;z-index:1;margin:8px 0 9px;color:#fff;font-size:22px;line-height:1.35}.hex-report-hero p{position:relative;z-index:1;margin:10px 0 0;color:#b7d2e8;font-size:13px}.hex-power{position:relative;z-index:1;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.hex-power b{font:800 42px/1 system-ui;color:#54efff;text-shadow:0 0 18px rgba(0,229,255,.62)}.hex-power small{color:#d7efff}.hex-power strong{margin-left:auto;border:1px solid rgba(255,190,86,.6);border-radius:999px;padding:5px 9px;color:#ffcf7c;background:rgba(37,17,8,.56);font-size:12px}@keyframes report-sweep{25%,100%{transform:translateX(110%)}}
.hex-axis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.hex-axis-card{min-width:0;border:1px solid #1f536c;border-radius:9px;padding:10px;background:linear-gradient(150deg,#081b2b,#090f1a)}.hex-axis-card span{display:block;overflow:hidden;color:#a8c6dc;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.hex-axis-card b{display:block;margin:6px 0;color:#f4fbff;font-size:21px}.hex-axis-card b small{color:#6989a2;font-size:10px;font-weight:500}.hex-axis-card i{display:block;overflow:hidden;height:4px;border-radius:999px;background:#152b3d}.hex-axis-card i em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00d9ff,#80f6e2);box-shadow:0 0 8px rgba(0,229,255,.65)}
.hex-report-section{margin-top:12px;border:1px solid #19334b;border-radius:10px;padding:15px;background:linear-gradient(135deg,rgba(8,24,39,.9),rgba(8,12,24,.9))}.hex-report-section h3,.hex-report-section h4{margin:0 0 9px;color:#eafdff}.hex-report-section h3{font-size:15px}.hex-report-section h4{font-size:13px;color:#ffca6d}.hex-report-section .rich-text{color:#c5dae9;line-height:1.8}.hex-report-section .rich-text h3{margin:13px 0 7px;padding-left:9px;border-left:2px solid var(--cyan);color:#8feeff;font-size:13px}.hex-report-section .rich-text ul{display:grid;gap:5px;margin-top:6px}.hex-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hex-two-column>div+div{border-left:1px solid #27455b;padding-left:12px}.hex-training{border-color:#80582b;background:linear-gradient(135deg,#16180d,#111323)}.hex-plan-unlock{display:flex;align-items:center;justify-content:space-between;gap:12px}.hex-plan-unlock .ghost{flex:none;min-height:38px;color:var(--gold);border-color:#80582b}#hexCustomGenerateBtn{width:100%;margin:9px 0 6px}
.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stat{border:1px solid var(--line);background:#08101b;border-radius:8px;padding:12px}
.stat span{display:block;color:var(--dim);font-size:12px;margin-bottom:6px}.stat b{color:#fff;font-size:18px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(8px);background:#160d12;border:1px solid #5a1a22;color:#ff8a8a;border-radius:8px;padding:11px 16px;opacity:0;transition:.2s;z-index:80;max-width:min(92vw,520px)}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.payment-overlay{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px;background:rgba(2,6,12,.82);backdrop-filter:blur(5px)}
.payment-dialog{position:relative;width:min(92vw,420px);border:1px solid var(--line2);border-radius:12px;background:#0d1420;padding:22px;text-align:center;box-shadow:0 18px 70px rgba(0,0,0,.55)}
.payment-dialog h2{margin:0 0 8px;color:#fff}.payment-dialog>p{color:var(--gold);line-height:1.6}
.payment-close{position:absolute;right:10px;top:8px;min-width:36px;background:transparent;color:var(--dim);font-size:25px}
.auth-overlay{position:fixed;inset:0;z-index:72;display:grid;place-items:center;padding:18px;background:rgba(2,6,12,.82);backdrop-filter:blur(5px)}
.auth-dialog{position:relative;width:min(92vw,420px);border:1px solid var(--line2);border-radius:12px;background:#0d1420;padding:22px;box-shadow:0 18px 70px rgba(0,0,0,.55)}
.auth-dialog h2{margin:0 0 8px;color:#fff}.auth-dialog>p{color:var(--dim);font-size:13px;line-height:1.6;margin-bottom:12px}.auth-dialog>.primary{width:100%;margin-top:14px}
.auth-dialog>.auth-switch{margin:14px 0 0;text-align:center}.auth-switch .text-link{display:inline;min-height:0;margin:0;padding:0;text-align:inherit}
.payment-qr-wrap{width:252px;height:252px;max-width:100%;margin:18px auto 12px;padding:10px;border-radius:10px;background:#fff;display:grid;place-items:center}
.payment-qr-wrap img{display:block;width:100%;height:100%;object-fit:contain}
.payment-status{min-height:24px;color:var(--dim);font-size:13px;line-height:1.6}
.payment-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.hex-plan-panel{grid-column:span 2}
.plan-summary{border-color:var(--cyan)}.plan-summary button,.plan-day button,.buy-plan{margin-top:10px}
.plan-day.done{border-color:#1f6b43;background:#081711}
.plan-check{display:grid;grid-template-columns:22px 1fr;justify-content:start;gap:8px;align-items:center;margin:0;color:#fff;font-size:14px}
.plan-check input{width:auto}.plan-day textarea{margin-top:10px}
.admin-root{width:min(1440px,100%);margin:0 auto;padding:14px 18px}
.admin-login{width:min(440px,100%);margin:32px auto}
.admin-header-actions{display:flex;gap:8px}
.admin-nav{position:sticky;top:0;z-index:40;display:flex;gap:7px;overflow-x:auto;padding:10px;border:1px solid #16243a;border-radius:9px;background:rgba(7,11,18,.96);margin-bottom:14px}
.admin-nav button{flex:0 0 auto;min-height:38px;padding:0 13px;border:1px solid var(--line);background:#08101b;color:var(--dim)}
.admin-nav button.on{border-color:var(--cyan);color:var(--cyan);background:#0a1b27;box-shadow:0 0 14px rgba(0,229,255,.12)}
.admin-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.admin-config-form{display:contents}
.admin-module{display:none}.admin-module.on{display:block}
.admin-module[data-admin-view="overview"],.admin-module[data-admin-view="orders"],.admin-module[data-admin-view="users"],.admin-module[data-admin-view="products"],.admin-module[data-admin-view="system"],.admin-module[data-admin-view="ai"],.admin-module[data-admin-view="payment"],.admin-module[data-admin-view="agents"],.admin-module[data-admin-view="hex-tests"],.admin-module[data-admin-view="audit"]{grid-column:1/-1}
.admin-module h3{color:var(--cyan);font-size:13px;border-top:1px solid var(--line);padding-top:14px;margin:18px 0 4px}
.admin-module>.danger{max-width:320px}
.module-save{margin-top:14px}
.admin-module .record button{margin:8px 8px 0 0}
.user-list{margin:12px 0}.user-pagination{grid-template-columns:120px 1fr 120px;align-items:center;text-align:center;margin:12px 0}.data-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px}.data-table{width:100%;min-width:680px;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.data-table th{position:sticky;top:0;background:#0a1622;color:var(--cyan);z-index:1}.data-table tr:last-child td{border-bottom:0}.data-table td .ghost{min-height:30px;padding:0 9px}.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;margin-top:10px}.detail-grid span{display:grid;gap:4px;padding:9px;border:1px solid var(--line);border-radius:7px;color:var(--dim);font-size:12px}.detail-grid b{color:#fff;font-size:13px}
.referral-policy-grid,.homepage-module-grid{margin-bottom:10px}.referral-policy-grid label,.homepage-module-grid label{display:grid;gap:6px;padding:9px;border:1px solid var(--line);border-radius:7px;color:var(--dim);font-size:12px}.invite-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.invite-link-row input{min-width:0}
.module-note{color:var(--dim);font-size:13px;line-height:1.6;margin-bottom:12px}
.debate-dossier{margin:0 0 14px;padding:16px;border:1px solid #775023;border-radius:9px;background:linear-gradient(135deg,#17130d,#0b1118)}.debate-dossier.risk-high{border-color:#a32b31;background:linear-gradient(135deg,#210b0e,#0b1118)}.debate-dossier.risk-elevated{border-color:#a36f26}.debate-dossier-heading{display:flex;align-items:center;justify-content:space-between;color:#9a8877;font-size:11px;letter-spacing:.8px}.debate-dossier-heading b{padding:4px 8px;border:1px solid currentColor;border-radius:99px;color:#f39a45}.debate-dossier.risk-high .debate-dossier-heading b{color:#ff6f75}.debate-dossier h3{margin:13px 0 6px;color:#fff;font-size:18px}.debate-dossier h3 small{margin-left:5px;font-size:10px;font-weight:500}.debate-dossier>p,.debate-dossier details p{color:#aab8c8;font-size:13px;line-height:1.65}.debate-dossier details{margin-top:10px;color:#8fb9d4;font-size:12px}.debate-dossier summary{cursor:pointer}.dossier-evidence{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:11px;color:#71869d;font-size:11px}.dossier-evidence i{padding:3px 7px;border:1px solid #394b5e;border-radius:99px;color:#a9d3e9;font-style:normal}.dossier-safety{margin-top:13px;padding:11px;border-left:3px solid #e17c28;background:rgba(225,124,40,.08)}.risk-high .dossier-safety{border-color:#e54b52;background:rgba(229,75,82,.08)}.dossier-safety b{color:#f6d5b8;font-size:12px}.dossier-safety p{margin-top:5px;color:#b7aaa0;font-size:12px;line-height:1.65}
.debate-conversation{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.debate-conversation>h3{color:#f0a35f;font-size:13px}.debate-turn{margin-top:11px;padding:13px;border:1px solid #27394d;border-radius:8px;background:#080f18}.debate-turn-index{margin-bottom:9px;color:#7f96ac;font-size:11px}.debate-opponent{padding:9px 11px;border-left:3px solid #b94f4f;background:#160d12}.debate-opponent b{color:#ff9c9c;font-size:11px}.debate-opponent p,.debate-turn-summary{margin-top:5px;color:#c4d2df;font-size:13px;line-height:1.65}.debate-turn-summary{color:#8fa4b8}.debate-turn-replies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.debate-turn-replies>div{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid var(--line);border-radius:7px;background:#0b1420}.debate-turn-replies b{color:#e9f4ff;font-size:12px}.debate-turn-replies p{flex:1;color:#aebfd0;font-size:12px;line-height:1.6}.debate-turn-replies .copy{min-height:34px}.debate-turn>small{display:block;margin-top:9px;line-height:1.55}.debate-turn-form{margin-top:16px;padding:14px;border:1px solid #6d4825;border-radius:8px;background:#12100d}.debate-turn-form label{margin-top:0;color:#e4c19e}.debate-turn-form>.primary{width:100%;margin-top:10px;background:linear-gradient(90deg,#d86819,#9e4010)}
.config-example{margin-top:10px}.config-example pre{max-height:320px;overflow:auto;margin:10px 0;padding:11px;border:1px solid var(--line);border-radius:7px;background:#060c15;color:#bcd5eb;line-height:1.55}.config-example .ghost{min-height:36px}
.hex-domain-record{margin-bottom:10px}.hex-domain-record details{margin-top:10px}.hex-domain-record details>summary{cursor:pointer;color:var(--cyan)}.hex-domain-record .danger{max-width:280px}
.security-box{border:1px solid #5b4710;border-radius:8px;background:#121006;padding:13px;margin-top:20px}
.security-box h3{border:0;margin:0 0 8px;padding:0;color:var(--gold)}
.security-box>p{color:var(--dim);font-size:12px;line-height:1.6}
.refund-dialog{text-align:left}.refund-dialog>p{color:var(--gold);padding-right:30px}
.refund-dialog .danger{margin:0}
@media (max-width:900px){
  .layout{grid-template-columns:1fr;padding:10px}.side{order:2}.workspace{order:1}.grid.two,.grid.three,.profile-grid,.adjust-grid{grid-template-columns:1fr}.reply-grid{grid-template-columns:1fr}.compute{grid-template-columns:1fr}.topbar{padding:12px}.brand p{font-size:11px}
  .admin-root{padding:10px}.admin-workspace{grid-template-columns:1fr}.admin-module{grid-column:1!important}.admin-header-actions{gap:4px}.admin-header-actions button{padding:0 8px}.admin-nav{top:0}.hex-plan-panel{grid-column:auto}.recharge-prompt,.inline-recharge,.hex-plan-unlock{align-items:stretch;flex-direction:column}.hex-test-panel,.hex-report-panel{height:calc(100dvh - 145px);min-height:500px}.hex-report-panel{position:static}.detail-grid{grid-template-columns:1fr 1fr}.user-pagination{grid-template-columns:1fr 1fr 1fr}.hex-axis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hex-two-column{grid-template-columns:1fr}.hex-two-column>div+div{border-left:0;border-top:1px solid #27455b;padding:12px 0 0}.hex-power strong{margin-left:0}.problem-output-panel{height:calc(100dvh - 145px);min-height:500px}
}

/* v3 portal: the public entry uses a restrained black/orange editorial system.
   Existing module components keep their mature high-density presentation. */
.v3-boot{position:fixed;inset:0;z-index:100;display:grid;place-content:center;justify-items:center;gap:10px;background:#090909;color:#fff;animation:v3-boot-out .45s ease 2.55s forwards}.v3-boot-mark{width:72px;height:72px;display:grid;place-items:center;border:2px solid #f07818;border-radius:18px;color:#ff8a2a;font-size:34px;font-weight:900;box-shadow:0 0 36px rgba(240,120,24,.24)}.v3-boot b{font-size:22px;letter-spacing:5px}.v3-boot span{color:#817d77;font-size:12px}@keyframes v3-boot-out{to{opacity:0;visibility:hidden}}@media(prefers-reduced-motion:reduce){.v3-boot{animation-duration:.01ms;animation-delay:.8s}}
.portal-home{min-height:100dvh;background:radial-gradient(circle at 85% 8%,rgba(240,120,24,.12),transparent 28%),#0b0b0b;color:#e9e5df;font-family:"Microsoft YaHei",system-ui,sans-serif}.portal-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:12px max(20px,calc((100vw - 1100px)/2));border-bottom:1px solid #292622;background:rgba(11,11,11,.9);backdrop-filter:blur(12px)}.portal-brand{display:flex;align-items:center;gap:10px;text-decoration:none}.portal-logo{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e5751b;border-radius:10px;background:#17110c;color:#ff8a2a;font-size:20px;font-weight:900}.portal-brand>span:last-child{display:grid;gap:2px}.portal-brand b{color:#fff;font-size:17px;letter-spacing:2px}.portal-brand small{color:#6e6861;font-size:8px;letter-spacing:1.2px}.portal-account-actions,.module-navbar>div{display:flex;align-items:center;gap:8px}.portal-energy{display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:0 10px;border:1px solid #34302b;border-radius:999px;background:#141311;color:#c8c2ba}.portal-energy span{color:#ff922f}.portal-energy b{font-size:13px}.portal-avatar{width:40px;height:40px;min-height:40px;padding:3px;border:1px solid #403831;border-radius:50%;background:#1b1713;overflow:hidden}.portal-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.portal-hero{width:min(1100px,100%);margin:0 auto;padding:clamp(58px,10vw,120px) 20px 48px}.portal-kicker{margin:0 0 16px;color:#e67922;font-size:12px;font-weight:800;letter-spacing:2px}.portal-hero h1{max-width:820px;margin:0;color:#f6f3ee;font:900 clamp(38px,7vw,76px)/1.1 "Microsoft YaHei",system-ui,sans-serif;letter-spacing:-3px}.portal-hero h1 em{color:#ee781d;font-style:normal}.portal-hero>p:last-child{max-width:670px;margin-top:24px;color:#969089;font-size:clamp(15px,2vw,19px);line-height:1.9}.portal-modules{width:min(1100px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 auto;padding:0 20px 56px}.portal-module{position:relative;display:grid;grid-template-columns:auto 1fr;gap:17px;min-height:230px;padding:26px;border:1px solid #2c2925;border-radius:4px;background:linear-gradient(145deg,#151412,#0e0e0e);color:#ded9d2;text-align:left;transition:transform .2s,border-color .2s}.portal-module:hover{transform:translateY(-3px);border-color:#8d4b18}.portal-module-primary{border-color:#7d441a;background:linear-gradient(145deg,#21170f,#11100f)}.portal-module-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #74421d;border-radius:50%;color:#f18835;font-size:18px;font-weight:900}.portal-module>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.portal-module small{color:#8d4b1e;font-size:10px;letter-spacing:1.3px}.portal-module b{margin:9px 0 12px;color:#fff;font-size:21px}.portal-module em{color:#88827b;font-size:13px;font-style:normal;line-height:1.75}.portal-module i{position:absolute;right:24px;bottom:22px;color:#dd721f;font-size:12px;font-style:normal}.portal-value{width:min(1060px,calc(100% - 40px));display:grid;grid-template-columns:repeat(3,1fr);margin:0 auto;padding:28px 0;border-top:1px solid #292622;border-bottom:1px solid #292622}.portal-value div{display:grid;justify-items:center;gap:6px;border-right:1px solid #292622}.portal-value div:last-child{border:0}.portal-value b{color:#f18129;font-size:22px}.portal-value span{color:#716c66;font-size:11px}.portal-footer{padding:30px 20px 48px;color:#55514d;font-size:10px;text-align:center;line-height:1.7}
.portal-login-sheet{position:fixed;inset:0;z-index:75;display:grid;align-items:end}.portal-sheet-mask{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background:rgba(0,0,0,.72);backdrop-filter:blur(4px)}.portal-sheet-card{position:relative;z-index:1;width:min(100%,520px);margin:0 auto;padding:14px 24px calc(28px + env(safe-area-inset-bottom));border:1px solid #3b3027;border-bottom:0;border-radius:22px 22px 0 0;background:#12110f;box-shadow:0 -20px 60px rgba(0,0,0,.45)}.portal-sheet-handle{width:42px;height:4px;margin:0 auto 20px;border-radius:99px;background:#4b4640}.portal-sheet-card h2{margin:0 0 18px;color:#fff}.portal-sheet-card label{color:#8d867e}.portal-sheet-card input{border-color:#35302b;background:#0b0b0b}.portal-sheet-card input:focus{border-color:#e57a26;box-shadow:0 0 0 2px rgba(229,122,38,.12)}.portal-submit{width:100%;margin-top:18px;background:#e67922;color:#120a04;font-weight:900}.portal-sheet-links{display:flex;justify-content:space-between;margin-top:10px}.portal-sheet-links button{min-height:34px;padding:0;background:transparent;color:#a59d94;font-size:12px}
.module-navbar{position:sticky;top:0;z-index:45;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:12px;min-height:58px;padding:8px 16px;border-bottom:1px solid #332a22;background:rgba(10,10,10,.96);font-family:"Microsoft YaHei",system-ui,sans-serif}.module-back,.module-profile{width:38px;min-height:38px;border:1px solid #39332e;background:#171513;color:#e57a26}.module-brand{display:flex;align-items:center;gap:7px;text-decoration:none}.module-brand span{width:29px;height:29px;display:grid;place-items:center;border:1px solid #d46c1d;border-radius:7px;color:#ed7c27;font-weight:900}.module-brand b{color:#f3eee8;font-size:13px;letter-spacing:1px}.module-navbar>strong{overflow:hidden;color:#877f77;font-size:12px;font-weight:500;text-align:center;white-space:nowrap;text-overflow:ellipsis}.module-profile{border-radius:50%;color:#e8ddd2}.shell:not(.hidden){background:#070b12}
@media (max-width:900px){.portal-header{min-height:64px;padding:10px 16px}.portal-brand small{display:none}.portal-hero{padding:56px 20px 36px}.portal-hero h1{letter-spacing:-2px}.portal-modules{grid-template-columns:1fr;padding:0 14px 42px}.portal-module{min-height:174px;padding:22px}.portal-value{width:calc(100% - 28px)}.module-navbar{grid-template-columns:auto 1fr auto}.module-brand{display:none}.module-navbar>strong{text-align:left}.module-navbar .portal-energy{min-height:34px}.topbar,.status-strip,.side,.tabs{display:none}.layout{display:block;padding:0}.workspace{border:0;border-radius:0}.view{padding:10px}.panel{border-radius:5px}.problem-output-panel,.hex-test-panel,.hex-report-panel{height:auto;min-height:0;overflow:visible}.grid.two{gap:10px}.debate-turn-replies{grid-template-columns:1fr}.shell .view.on{padding-bottom:calc(20px + env(safe-area-inset-bottom))}}
@media (max-width:430px){.portal-account-actions{gap:5px}.portal-brand b{font-size:15px}.portal-logo{width:36px;height:36px}.portal-hero h1{font-size:39px}.portal-value b{font-size:18px}.portal-value span{font-size:9px}.module-navbar{padding:8px 10px;gap:8px}.problem-timeline-outline{grid-template-columns:repeat(2,minmax(0,1fr))}.problem-intake-actions{align-items:stretch;flex-direction:column}.problem-intake-actions .text-link{text-align:center}}

/* v3 门户在桌面也保持手机产品宽度，避免回退成三栏控制台首页。 */
body:not(.module-open){background:#050608}.portal-home{width:min(100%,480px);margin:0 auto;box-shadow:0 0 70px rgba(0,0,0,.5)}.portal-header{padding:10px 16px}.portal-hero{width:100%;padding:56px 20px 36px}.portal-hero h1{font-size:clamp(39px,11vw,54px);letter-spacing:-2px}.portal-modules{width:100%;grid-template-columns:1fr;padding:0 14px 42px}.portal-module{min-height:174px;padding:22px}.portal-value{width:calc(100% - 28px)}.quote-card .ghost{width:100%;margin-top:12px;border-color:#75421e;color:#e99a59}

/* v3 模块壳：旧桌面侧栏和频道标签保留在 DOM 供兼容，但不再作为用户入口。 */
body.module-open{background:#030405;font-family:"Microsoft YaHei",system-ui,sans-serif}.shell:not(.hidden){width:min(100%,480px);margin:0 auto;background:#080a0d;box-shadow:0 0 70px rgba(0,0,0,.55)}.shell .topbar,.shell .status-strip,.shell .side,.shell .tabs{display:none}.shell .layout{display:block;min-height:calc(100dvh - 58px);padding:0}.shell .workspace{border:0;border-radius:0;background:#080a0d}.shell .view{padding:12px}.shell .grid.two,.shell .grid.three,.shell .profile-grid{grid-template-columns:1fr}.shell .panel{border-color:#27231f;border-radius:14px;background:#0e1014}.v3-module-flow{display:grid;gap:12px}.v3-flow-card{padding:20px 16px!important;background:radial-gradient(circle at 100% 0,rgba(232,112,25,.09),transparent 36%),#0e1014!important}.v3-eyebrow{margin:0 0 9px;color:#e57a26;font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}.v3-flow-card h2{margin:0 0 9px!important;color:#f8f4ef!important;font-size:24px!important;line-height:1.3}.v3-lead{margin:0 0 22px;color:#817b74;font-size:13px;line-height:1.75}.v3-hero-input{min-height:168px;border-color:#39322c!important;border-radius:12px!important;background:#08090b!important;font-size:16px;line-height:1.7}.v3-hint{margin:9px 0;color:#6f6962;font-size:11px;line-height:1.6}.v3-action-row{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px}.v3-action-row .danger{margin-top:10px}.v3-action-row .ghost{margin-top:10px}.v3-back-link{min-height:32px;margin:0 0 16px;padding:0;background:transparent;color:#a69c91}.v3-choice-grid,.v3-chip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 18px}.v3-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-choice-grid label,.v3-chip-grid label{margin:0}.v3-choice-grid input,.v3-chip-grid input{position:absolute;opacity:0;pointer-events:none}.v3-choice-grid span,.v3-chip-grid span{display:grid;min-height:45px;place-items:center;padding:7px;border:1px solid #35302b;border-radius:10px;background:#111214;color:#9e958c;font-size:12px;text-align:center}.v3-choice-grid input:checked+span,.v3-chip-grid input:checked+span{border-color:#dc7427;background:#24150c;color:#ffb273;box-shadow:inset 0 0 0 1px rgba(229,122,38,.15)}.v3-chip-grid .wide{grid-column:1/-1}.v3-primary,.v3-flow-card .danger{width:100%;margin-top:15px;background:linear-gradient(90deg,#e97822,#bd4e12);color:#140904;font-weight:900;letter-spacing:.5px}.v3-scan-lock{display:grid;gap:12px;justify-items:center;padding:28px 12px;color:#817b74;text-align:center}.v3-scan-lock b{color:#ef8b3f;font-size:17px}.v3-intel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.v3-intel-grid>div,.v3-intel-line{padding:10px;border:1px solid #302a25;border-radius:9px;background:rgba(255,255,255,.025)}.v3-intel-grid small,.v3-intel-line small{display:block;margin-bottom:5px;color:#8e7b69;font-size:10px}.v3-intel-grid b{display:block;color:#eee4da;font-size:12px;line-height:1.5}.v3-intel-line{margin-top:7px}.v3-intel-line p{color:#b7ada3!important}.v3-intel-list{display:grid;margin-top:14px;border-top:1px dashed #302a25}.v3-intel-row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;padding:9px 2px;border-bottom:1px dashed #302a25}.v3-intel-row small{color:#806f60;font-size:10px}.v3-intel-row p{color:#d9d0c7;font-size:12px;line-height:1.6;text-align:right;word-break:break-word}.v3-intel-row p.hot{color:#ff756d}.v3-intel-row p.cy{color:#83dbe7}.v3-intel-row p.wn{color:#efbe64}.v3-intel-row p.gr{color:#6edc94}.reply-grid>h3{grid-column:1/-1}.v3-case-list{display:grid;gap:9px}.v3-case-list>h3{margin:0;color:#f5eee8}.v3-case-list article{display:grid;gap:6px;padding:12px;border:1px solid #302a25;border-radius:10px;background:#0a0b0d}.v3-case-list article b{color:#f2e7dd}.v3-case-list article p{color:#8d857d;font-size:12px;line-height:1.6}.v3-case-list article .ghost{margin-top:5px}.problem-input-panel,.problem-output-panel{height:auto!important;min-height:0!important;overflow:visible!important}.problem-output-panel{padding:16px!important}.problem-scroll-region{max-height:none!important;overflow:visible!important}.problem-clarify{margin:16px 0;padding:13px;border:1px solid #51341e;border-radius:12px;background:#130f0c}.clarify-question{border-color:#332b25!important}.clarify-question label span{min-height:42px}.problem-persona-card{border-color:#3b3027!important;background:#0c0d0f!important}.problem-plan-section{border-color:#332b25!important;background:#0c0d10!important}.problem-plan-hero{background:linear-gradient(145deg,#28170c,#111)!important}.roundtable-section article:nth-of-type(2n){margin-left:18px;background:#161310}.roundtable-section article:nth-of-type(2n+1){margin-right:18px}.debate-turn-replies{grid-template-columns:1fr}.profile-grid{gap:10px!important}
.roundtable-bubble{width:88%;margin:9px auto 9px 0;padding:10px 12px;border:1px solid #38424d;border-radius:12px 12px 12px 3px;background:#111820}.roundtable-bubble.right{margin-left:auto;margin-right:0;border-color:#604025;border-radius:12px 12px 3px 12px;background:#1a120c}.roundtable-bubble b{color:#e2a66d;font-size:11px}.roundtable-bubble p{margin-top:4px!important;color:#b7c1cb!important}.roundtable-plan{margin-top:10px;border:1px solid #3d3027;border-radius:10px;padding:11px;background:#090a0c}.roundtable-plan>summary{cursor:pointer;color:#ef9a55;font-weight:700}.roundtable-plan .problem-plan-section{margin-top:10px}.problem-task-group{margin:8px 0!important;border-style:dashed!important;background:#12100d!important}.problem-task-group span{color:#d99b63!important;font-weight:700}
@media (max-width:360px){.v3-choice-grid{grid-template-columns:1fr}.v3-intel-grid{grid-template-columns:1fr}.v3-action-row{grid-template-columns:1fr}.v3-action-row .ghost{margin-top:0}}

/* v3.0 移动端交付稿头部：返回首页在上，公共品牌图与模块操作在下。 */
.v3-boot-mark{overflow:hidden;padding:0;border-color:#ff6a00}.v3-boot-mark img,.portal-logo img{display:block;width:100%;height:100%;object-fit:cover}.portal-logo{overflow:hidden;padding:0}.portal-logo img{border-radius:9px}.portal-admin{min-height:36px;padding:0 10px;border:1px solid #74421d;border-radius:8px;background:#17110c;color:#ff9b4b;font-size:11px}
body.module-open{background:#070b12;color:#cfe3ff}.module-navbar{position:relative;top:auto;z-index:45;display:block;min-height:0;padding:0 13px 14px;border-bottom:1px solid #16243a;background:#070b12;font-family:Consolas,"Courier New","Microsoft YaHei",monospace}.module-home-row{position:sticky;top:10px;z-index:48;height:48px;padding-top:12px;pointer-events:none}.module-back{width:auto;min-height:26px;padding:4px 12px;border:1px solid #232830;border-radius:999px;background:rgba(10,13,18,.78);color:#7d8490;font-size:12px;letter-spacing:2px;backdrop-filter:blur(6px);pointer-events:auto}.module-demo-header{display:flex;align-items:center;gap:11px;min-width:0}.module-logo{width:42px;height:42px;flex:none;overflow:hidden;border:1px solid #1b2a3f;border-radius:11px;box-shadow:0 0 0 1px rgba(255,45,45,.15)}.module-logo img{display:block;width:100%;height:100%;object-fit:cover}.module-heading{flex:1;display:grid;gap:4px;min-width:0}.module-heading strong{overflow:hidden;color:#fff;font-size:17px;font-weight:800;letter-spacing:3px;white-space:nowrap;text-overflow:ellipsis}.module-heading small{overflow:hidden;color:#5a708f;font-size:9px;letter-spacing:1.6px;white-space:nowrap;text-overflow:ellipsis}.module-header-actions{display:flex;justify-content:flex-end;gap:5px;flex:none;max-width:205px;flex-wrap:wrap}.module-action{width:auto;min-height:30px;padding:5px 7px;border:1px solid #1b2a3f;border-radius:8px;background:#0d1420;color:#7e91a8;font-size:10px;white-space:nowrap}.module-action:hover,.module-action:focus-visible{border-color:#00e5ff;color:#00e5ff}.module-action.module-energy{display:inline-flex;align-items:center;gap:2px;color:#f5c542}.module-action.module-profile{width:31px;border-radius:50%;color:#cfe3ff}.module-action.module-admin{border-color:#6d4526;color:#ff9b4b}.module-slogan{padding:12px 0 0;color:#ff2d2d;font-size:11px;font-weight:700;letter-spacing:3px;text-align:center}.shell .layout{min-height:calc(100dvh - 106px)}.api-failure{display:grid;justify-items:start;gap:8px;padding:14px;border:1px solid #74353a;border-radius:10px;background:#180d11;color:#cfe3ff}.api-failure b{color:#ff6f75}.api-failure p{color:#95a8bd;font-size:12px;line-height:1.65}.api-failure .ghost{min-height:36px;border-color:#93434a;color:#ff9a9e}

/* 辩论系统 demo：深蓝情报面板、红色主操作与青色反馈。 */
body.module-view-debate .shell:not(.hidden),body.module-view-debate .shell .workspace{background:#070b12}body.module-view-debate .shell .panel{border-color:#16243a;border-radius:0;background:#0d1420}body.module-view-debate .shell .view{padding:0 13px 14px}body.module-view-debate .v3-flow-card{padding:18px 15px!important;background:#0d1420!important}body.module-view-debate .v3-eyebrow{color:#00e5ff}body.module-view-debate .v3-flow-card h2{font-size:16px!important;letter-spacing:1px}body.module-view-debate .v3-lead{margin-bottom:14px;color:#5a708f}body.module-view-debate .v3-hero-input{min-height:148px;border-color:#1b2a3f!important;border-radius:8px!important;background:#080f18!important;color:#cfe3ff}body.module-view-debate input,body.module-view-debate textarea{border-color:#1b2a3f;background:#080f18}body.module-view-debate input:focus,body.module-view-debate textarea:focus{border-color:#00e5ff;box-shadow:0 0 0 2px rgba(0,229,255,.1)}body.module-view-debate .v3-flow-card .danger,body.module-view-debate .v3-primary{background:linear-gradient(90deg,#c91924,#ff2d2d);color:#fff}body.module-view-debate .v3-action-row .ghost,body.module-view-debate .ghost{border-color:#1b2a3f;background:#08101b;color:#6f849f}body.module-view-debate .v3-choice-grid span,body.module-view-debate .v3-chip-grid span{border-color:#1b2a3f;background:#08101b;color:#8da3bc}body.module-view-debate .v3-choice-grid input:checked+span,body.module-view-debate .v3-chip-grid input:checked+span{border-color:#00e5ff;background:rgba(0,229,255,.08);color:#00e5ff}body.module-view-debate .result-panel{margin-top:12px;padding:15px}
body.module-view-debate #debateAnalysisPanel{transition:border-color .25s,box-shadow .25s}body.module-view-debate #debateAnalysisPanel.analysis-focus{min-height:calc(100dvh - 126px);margin-top:0;border-color:#1b3a4f;box-shadow:0 0 28px rgba(0,229,255,.06)}body.module-view-debate #debateAnalysisPanel.scanning>h2{color:#00e5ff;text-align:center;letter-spacing:3px}body.module-view-debate #debateAnalysisPanel.scanning .debate-compute{padding-top:24px;border-color:transparent;background:radial-gradient(circle at 50% 22%,rgba(0,229,255,.05),transparent 35%),#080f18}

/* 解决问题 demo：中性深灰卡片、橙红行动按钮。 */
body.module-view-problems{background:#0d0f12;color:#e8e8e8;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}body.module-view-problems .module-navbar{border-color:#2a2f37;background:#0d0f12;font-family:inherit}body.module-view-problems .module-logo{border-color:#2a2f37;box-shadow:0 0 0 1px rgba(255,122,26,.18)}body.module-view-problems .module-heading small{color:#8b929c}body.module-view-problems .module-action{border-color:#2a2f37;background:#0d0f12;color:#8b929c;font-family:inherit}body.module-view-problems .shell:not(.hidden),body.module-view-problems .shell .workspace{background:#0d0f12}body.module-view-problems .shell .view{padding:0 13px 14px}body.module-view-problems .shell .panel{border-color:#2a2f37;border-radius:14px;background:#15181d}body.module-view-problems .problem-input-panel{padding:20px!important}body.module-view-problems .v3-eyebrow{color:#ff6a00}body.module-view-problems .problem-input-panel h2{font-size:16px!important}body.module-view-problems .v3-lead{margin-bottom:12px;color:#8b929c;font-size:12px}body.module-view-problems .v3-hero-input{min-height:110px;border-color:#2a2f37!important;border-radius:10px!important;background:#0d0f12!important;color:#e8e8e8;font-size:15px}body.module-view-problems input,body.module-view-problems textarea{border-color:#2a2f37;background:#0d0f12}body.module-view-problems input:focus,body.module-view-problems textarea:focus{border-color:#ff6a00;box-shadow:none}body.module-view-problems .v3-primary,body.module-view-problems .primary{background:linear-gradient(90deg,#e8491d,#ff6a00);color:#fff}body.module-view-problems .ghost{border-color:#2a2f37;background:#0d0f12;color:#8b929c}body.module-view-problems .problem-output-panel{margin-top:12px;background:#15181d!important}body.module-view-problems .problem-clarify{border-color:#2a2f37;background:#0d0f12}body.module-view-problems .clarify-question{border-color:#2a2f37!important}body.module-view-problems .clarify-question label{background:#15181d}body.module-view-problems .problem-persona-card{border-color:#2a2f37!important;background:#0d0f12!important}

@media(max-width:400px){.module-navbar{padding-inline:10px}.module-demo-header{gap:8px}.module-heading strong{font-size:15px;letter-spacing:2px}.module-heading small{max-width:115px;letter-spacing:.7px}.module-header-actions{gap:4px;max-width:178px}.module-action{padding-inline:6px;font-size:9px}.module-action.module-energy{max-width:45px;overflow:hidden}.shell .view{padding-inline:10px!important}}
@media(max-width:360px){.debate-compute{grid-template-columns:1fr}.debate-radar{grid-row:1}.debate-scan-steps{grid-row:2}.debate-scan-list,.debate-scan-log{grid-column:1}}
@media(max-width:350px){.module-heading small{display:none}.module-header-actions{max-width:155px}.module-action.module-energy{display:none}}

/* 运营后台独立响应式布局。覆盖前台 v3 壳的 480px 限宽，避免后台被误判成手机页。 */
.admin-page{min-width:0;background:#070b12}.admin-page .shell{width:100%!important;max-width:none!important;margin:0!important;background:#070b12!important;box-shadow:none!important}.admin-page .topbar{display:flex!important;position:sticky;top:0;z-index:60}.admin-page .panel{border:1px solid #16243a!important;border-radius:8px!important;background:rgba(13,20,32,.96)!important}.admin-page .admin-root{width:min(1440px,100%)}.admin-page .admin-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .admin-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap}.admin-page .admin-nav{scrollbar-width:thin}
@media(min-width:901px){.admin-page .topbar{min-height:70px;padding:14px max(20px,calc((100vw - 1440px)/2))}.admin-page .admin-root{padding:18px 20px 32px}.admin-page .admin-nav{top:70px}.admin-page .admin-login{margin-top:64px}}
@media(max-width:900px){.admin-page .topbar{align-items:flex-start;gap:10px;padding:10px 12px}.admin-page .brand{flex:1;min-width:150px}.admin-page .brand h1{font-size:18px}.admin-page .brand p{display:none}.admin-page .mark{width:36px;height:36px}.admin-page .admin-header-actions{width:100%;justify-content:flex-start;gap:6px}.admin-page .admin-header-actions button{min-height:34px;padding:0 9px;font-size:11px}.admin-page .admin-root{padding:10px}.admin-page .admin-nav{top:102px;margin-bottom:10px;padding:7px}.admin-page .admin-nav button{min-height:35px;padding:0 10px;font-size:11px}.admin-page .admin-workspace{grid-template-columns:1fr}.admin-page .admin-module{grid-column:1!important}.admin-page .admin-module>.danger{width:100%;max-width:none}.admin-page .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .data-table{min-width:640px}}
@media(max-width:480px){.admin-page .topbar{position:relative}.admin-page .admin-nav{top:0}.admin-page .admin-login{margin:16px auto}.admin-page .detail-grid{grid-template-columns:1fr}.admin-page .user-pagination{grid-template-columns:86px 1fr 86px}.admin-page .invite-link-row{grid-template-columns:1fr}.admin-page .payment-actions{grid-template-columns:1fr}}

/* 个人中心：商品信息完整换行，价格与购买按钮不再挤压到左侧。 */
body.module-view-profile #moduleShell .view{padding:0 14px calc(26px + env(safe-area-inset-bottom))}body.module-view-profile .profile-grid{width:100%;gap:14px!important}body.module-view-profile .profile-grid>.panel{width:100%;padding:18px!important}body.module-view-profile .profile-products-panel>h2{margin-bottom:14px}body.module-view-profile .products{gap:12px}body.module-view-profile .product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:start;padding:14px;border-color:#332b25;background:#0b0d10}body.module-view-profile .product-copy{min-width:0}body.module-view-profile .product-copy b{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}body.module-view-profile .product-copy p{margin-top:5px;color:#8793a0;font-size:12px;line-height:1.65;white-space:normal;overflow-wrap:anywhere}body.module-view-profile .product-price{align-self:start;color:#ffb35f;font-size:18px;font-weight:800;white-space:nowrap}body.module-view-profile .product .buy{grid-column:1/-1;width:100%;min-height:42px;margin:0;background:linear-gradient(90deg,#e97822,#bd4e12);color:#fff}.compatibility-note{margin:8px 0 12px;padding:9px 10px;border-left:3px solid #5a7892;background:#0a121a;color:#8fa4b8;font-size:12px;line-height:1.6}
@media(max-width:360px){body.module-view-profile #moduleShell .view{padding-inline:10px}body.module-view-profile .profile-grid>.panel{padding:14px!important}body.module-view-profile .product{padding:12px}}

/* 六边形战士 v3：逐屏原型流程，不再展示旧版长问卷。 */
body.module-view-hex{background:#090909;color:#ece9e5}body.module-view-hex .module-navbar{border-color:#302822;background:#090909;font-family:"Microsoft YaHei",system-ui,sans-serif}body.module-view-hex .shell:not(.hidden),body.module-view-hex .shell .workspace{background:#090909}body.module-view-hex .shell .view{padding:0 12px 24px}body.module-view-hex .shell .panel{border-color:#332d28;border-radius:14px;background:#121212}.hex-v3-shell{display:grid;gap:12px}.hex-v3-stage{min-height:calc(100dvh - 130px);padding:22px 17px!important;background:radial-gradient(circle at 100% 0,rgba(255,103,24,.1),transparent 34%),#121212!important}.hex-v3-kicker{margin-bottom:10px;color:#ff762e;font-size:10px;font-weight:900;letter-spacing:2px}.hex-v3-stage h2{margin:0 0 9px;color:#fff;font-size:24px;line-height:1.35}.hex-mode-cards,.hex-direction-grid,.hex-domain-grid{display:grid;gap:10px;margin-top:24px}.hex-mode-card,.hex-direction-card,.hex-domain-card{width:100%;min-height:132px;display:grid;grid-template-columns:52px 1fr;align-items:center;gap:14px;padding:16px;border:1px solid #3a332e;border-radius:13px;background:linear-gradient(145deg,#191714,#101010);color:#fff;text-align:left}.hex-mode-card:hover,.hex-direction-card:hover,.hex-domain-card:hover{border-color:#bc6026;background:#21150e}.hex-mode-card>span,.hex-direction-card>span,.hex-domain-card>span{width:48px;height:48px;display:grid;place-items:center;border:1px solid #77411f;border-radius:50%;color:#ff8a45;font-size:19px;font-weight:900}.hex-mode-card>b{font-size:20px}.hex-mode-card>small{grid-column:2;color:#8e8882;line-height:1.6}.hex-direction-card>div{display:grid;gap:5px}.hex-direction-card b,.hex-domain-card b{font-size:17px}.hex-direction-card small,.hex-domain-card small{color:#8b8580;line-height:1.5}.hex-direction-card em,.hex-domain-card em{color:#d87232;font-size:10px;font-style:normal}.hex-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hex-domain-card{min-height:168px;grid-template-columns:1fr;align-content:start}.hex-domain-card>span{width:42px;height:42px}.hex-domain-card small{min-height:58px;font-size:11px}.hex-celebrity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.hex-celebrity-card{min-height:78px;padding:8px;border:1px solid #37312c;border-radius:10px;background:#0c0c0c;color:#e7e3df}.hex-celebrity-card b{display:block;color:#fff;font-size:13px}.hex-celebrity-card small{display:block;overflow:hidden;margin-top:5px;color:#756f69;font-size:9px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hex-celebrity-card.on{border-color:#e36d26;background:#25150c;box-shadow:inset 0 0 0 1px rgba(255,112,35,.18)}body.module-view-hex input,body.module-view-hex textarea{border-color:#3b342f;background:#090909;color:#fff}body.module-view-hex input:focus,body.module-view-hex textarea:focus{border-color:#ff762e;box-shadow:0 0 0 2px rgba(255,118,46,.1)}body.module-view-hex .primary{background:linear-gradient(90deg,#e95d16,#ff812f);color:#160a04}.hex-quiz-head{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.hex-quiz-head .v3-back-link{grid-column:1/-1;margin-bottom:3px;text-align:left}.hex-quiz-head span{color:#ff7e37;font-size:11px;font-weight:800;letter-spacing:1px}.hex-quiz-head b{color:#77716c;font-size:12px}.hex-progress-track{height:4px;overflow:hidden;margin:10px 0 20px;border-radius:999px;background:#2a2724}.hex-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:#ff6f22;box-shadow:0 0 10px rgba(255,102,24,.5);transition:width .18s}.hex-v3-question{min-height:470px;display:flex;flex-direction:column;justify-content:center;margin:0!important;padding:0!important;border:0!important}.hex-v3-question legend{display:grid;gap:10px;margin-bottom:24px;padding:0!important;color:#f7f3ef;font-size:22px;font-weight:800;line-height:1.5}.hex-v3-question legend small{color:#776f68;font-size:10px;font-weight:600;letter-spacing:1px}.hex-v3-option{width:100%;min-height:60px;margin:5px 0;padding:12px 14px;border:1px solid #38322d;border-radius:11px;background:#0c0c0c;color:#c7c1bb;font-size:14px;line-height:1.55;text-align:left}.hex-v3-option:hover,.hex-v3-option:focus-visible{border-color:#e9712a;background:#25150c;color:#fff}.hex-gender-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.hex-gender-switch button{border:1px solid #3a332d;background:#0b0b0b;color:#8d857e}.hex-gender-switch button.on{border-color:#f1742c;background:#28150b;color:#ff9b5b}.hex-metrics-grid{display:grid;gap:8px;margin-top:16px}.hex-metric-input,.hex-metric-bool{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:10px;margin:0;padding:10px;border:1px solid #312c28;border-radius:10px;background:#0d0d0d}.hex-metric-input>span{color:#e7e2dd;font-size:13px}.hex-metric-input>span small{display:block;margin-top:3px;color:#6f6963;font-size:9px}.hex-metric-input>div{position:relative}.hex-metric-input input{height:42px;padding-right:42px}.hex-metric-input em{position:absolute;right:10px;top:14px;color:#766e67;font-size:10px;font-style:normal}.hex-metric-bool{grid-template-columns:22px 1fr}.hex-metric-bool input{width:auto}.hex-report-panel{position:static!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:16px!important;background:#101010!important}#hexCanvas{display:block;width:100%;max-width:750px;aspect-ratio:750/1480;border:1px solid #3b3028;border-radius:10px;background:#090909}.hex-report-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.hex-report-actions.hidden{display:none!important}.hex-report-hero{border-color:#6e3c20;background:radial-gradient(circle at 84% 18%,rgba(255,103,31,.24),transparent 35%),linear-gradient(135deg,#19120d,#101010 62%,#201008)}.hex-power b{color:#ff8136;text-shadow:0 0 18px rgba(255,103,31,.45)}.hex-axis-card{border-color:#443126;background:linear-gradient(150deg,#18110d,#0d0d0d)}.hex-axis-card i{background:#30251f}.hex-axis-card i em{background:linear-gradient(90deg,#d95013,#ff984f);box-shadow:0 0 8px rgba(255,103,31,.55)}.hex-report-section{border-color:#342c27;background:#0d0d0d}.hex-report-section .rich-text h3{border-color:#ff762e;color:#ff9b61}.hex-metric-results{display:flex;flex-wrap:wrap;gap:6px}.hex-metric-results span{padding:5px 7px;border:1px solid #4b392c;border-radius:999px;color:#cead96;font-size:10px}.hex-result-next{margin-top:14px}
@media(max-width:360px){.hex-domain-grid{grid-template-columns:1fr}.hex-celebrity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hex-metric-input{grid-template-columns:1fr 125px}.hex-v3-stage{padding-inline:14px!important}}

.debate-reply-actions{display:grid;grid-template-columns:78px 1fr;gap:7px;margin-top:9px}.debate-reply-actions button{margin:0!important;min-height:38px}.debate-pick-reply.selected{outline:2px solid #00e5ff;outline-offset:1px}.debate-selected-reply{margin:14px 0;padding:12px;border:1px solid #255c69;border-radius:10px 10px 3px 10px;background:#07191e}.debate-selected-reply small{color:#00e5ff;font-size:10px}.debate-selected-reply p{margin-top:7px;color:#d8f6ff;font-size:13px;line-height:1.7}
.roundtable-first-step{margin:10px 0;padding:12px;border-left:3px solid #ff6a00;background:#1c120c}.roundtable-first-step b{color:#ff9a58;font-size:11px}.roundtable-first-step p{margin-top:5px!important;color:#eee3da!important;font-weight:700}
.hex-compare-analysis{display:grid;gap:7px;margin-top:14px}.hex-compare-analysis article{display:grid;grid-template-columns:30px 1fr;gap:9px;padding:10px;border:1px solid #352b25;border-radius:8px;background:#101010}.hex-compare-analysis article>span{color:#ff762e;font-size:11px;font-weight:900}.hex-compare-analysis b{color:#f3ece6;font-size:12px}.hex-compare-analysis p{margin-top:4px;color:#928a83;font-size:11px;line-height:1.65}
.hex-report-hero:has(.hex-character){display:grid;grid-template-columns:minmax(0,1fr) 112px;column-gap:12px;padding-right:18px}.hex-report-hero:has(.hex-character)>span,.hex-report-hero:has(.hex-character)>h3,.hex-report-hero:has(.hex-character)>.hex-power,.hex-report-hero:has(.hex-character)>p{grid-column:1}.hex-character{position:static;grid-column:2;grid-row:1/5;align-self:end;z-index:1;width:112px;height:140px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 12px rgba(0,0,0,.45));pointer-events:none}.hex-report-hero:has(.hex-character) .hex-power{max-width:none}.hex-report-hero:has(.hex-character) .hex-power strong{margin-left:0}

.problem-solve{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
.problem-match-progress{display:grid;gap:7px;margin-bottom:12px;padding:13px;border:1px solid #6d4825;border-radius:10px;background:#12100d}.problem-match-progress small{color:#9c826a;font-size:11px}

/* 解决问题结果页：与 v3.0/解决问题_demo.html 的方案卡保持同一布局语言。 */
body.module-view-problems .problem-output-panel:has(.problem-stage){padding:0!important;border:0!important;background:transparent!important}
body.module-view-problems .problem-output-panel:has(.problem-stage)>h2{display:none}
body.module-view-problems .problem-output-panel:has(.problem-stage) .problem-scroll-region{padding-right:0}
body.module-view-problems .problem-diagnosis{margin-bottom:14px;padding:12px 14px;border:1px dashed #2a2f37;border-radius:10px;background:#0d0f12;color:#8b929c;font-size:13px;line-height:1.8}
body.module-view-problems .problem-diagnosis>b{color:#ff6a00}
body.module-view-problems .problem-diagnosis p{margin:2px 0}
body.module-view-problems .problem-recommendation-intro{margin:0 0 14px;padding:0;border:0;background:transparent;color:#8b929c;font-size:12px;line-height:1.7}
body.module-view-problems .problem-recommendation-intro b{color:#e8e8e8}
body.module-view-problems .problem-persona-card{display:block;margin:0 0 12px;padding:16px!important;border:1px solid #2a2f37!important;border-radius:12px!important;background:#0d0f12!important}
body.module-view-problems .problem-persona-card.recommended{border-color:rgba(255,106,0,.5)!important}
body.module-view-problems .problem-persona-heading{align-items:flex-start;margin-bottom:8px}
body.module-view-problems .problem-persona-heading>div{gap:0}
body.module-view-problems .problem-rank{padding:0;border:0;border-radius:0;color:#ff6a00;font-size:11px;font-weight:700;letter-spacing:1px}
body.module-view-problems .problem-persona-heading b{margin-left:6px;color:#e8e8e8;font-size:18px}
body.module-view-problems .problem-recommended{margin-left:8px;padding:2px 8px;border-radius:10px;background:linear-gradient(90deg,#e8491d,#ff6a00);color:#fff;font-size:11px;vertical-align:2px}
body.module-view-problems .problem-stars,body.module-view-problems .stars-6 .problem-stars,body.module-view-problems .stars-5 .problem-stars,body.module-view-problems .stars-4 .problem-stars{color:#ffcc00;font-size:13px;letter-spacing:0}
body.module-view-problems .problem-stars em{color:#8b929c}
body.module-view-problems .problem-persona-row{margin:6px 0 0;color:#8b929c;font-size:12.5px;line-height:1.7}
body.module-view-problems .problem-persona-row strong{color:#e8e8e8}
body.module-view-problems .problem-hit{display:inline-block;margin:0 2px;padding:0 6px;border-radius:8px;background:rgba(255,106,0,.12);color:#ff6a00;font-size:11px}
body.module-view-problems .problem-persona-card .problem-solve{width:100%;min-height:40px;margin-top:10px;border:0;border-radius:8px;background:linear-gradient(90deg,#e8491d,#ff6a00);color:#fff;font-size:14px;font-weight:700}
body.module-view-problems .problem-top3-solve{width:100%;min-height:42px;margin-top:2px;border-color:#2a2f37;color:#8b929c}

.problem-stage{overflow:hidden;margin-bottom:14px;border:1px solid #2a2f37;border-radius:14px;background:#15181d}
.problem-stage-hero{display:flex;align-items:center;gap:14px;padding:20px;background:linear-gradient(135deg,#1d1408,#15181d 70%)}
.problem-stage-avatar{display:flex;flex:0 0 64px;width:64px;height:64px;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#e8491d,#ff6a00);color:#fff;font-size:26px;font-weight:900}
.problem-stage-hero>div:last-child{min-width:0}
.problem-stage-hero b{display:block;color:#e8e8e8;font-size:20px}
.problem-stage-category{display:block;margin-top:2px;color:#ff6a00;font-size:12px}
.problem-stage-position{display:block;margin-top:6px;color:#8b929c;font-size:12px;line-height:1.6}
.problem-stage-block{padding:16px 20px;border-top:1px solid #2a2f37}
.problem-stage-block>h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:0;color:#e8e8e8;font-size:13px;font-weight:900;letter-spacing:1px}
.problem-stage-block>h3::before{width:8px;height:8px;flex:0 0 8px;border-radius:2px;background:linear-gradient(135deg,#e8491d,#ff6a00);content:""}
.problem-stage-block>p,.problem-stage-block>.rich-text,.problem-stage-block>.rich-text p{margin:0;color:#c8cdd4;font-size:14px;line-height:1.8}
.problem-stage-block>.rich-text h3{margin:12px 0 5px;padding:0;border:0;color:#ff8a55;font-size:14px}
.problem-stage-cold>h3{color:#ff7a59}
.problem-stage-cold>p{color:#e8e8e8;font-weight:700}
.problem-stage-warn{background:rgba(255,204,0,.06)}
.problem-stage-warn>h3{color:#ffcc00}
.problem-stage-golden{padding:24px 20px;background:linear-gradient(135deg,#1d1408,#15181d);text-align:center}
.problem-stage-golden blockquote{margin:0;padding:0;border:0;background:linear-gradient(90deg,#ffe9a3,#f5c542,#b8860b);background-clip:text;-webkit-background-clip:text;color:transparent;font-size:18px;font-weight:900;line-height:1.8}
.problem-planhead{margin-bottom:10px;color:#8b929c;font-size:11px;line-height:1.7}
.problem-stage .problem-timeline-outline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:10px}
.problem-stage .problem-month-btn{min-height:58px;padding:8px;border:1px solid #2a2f37;border-radius:8px;background:#0d0f12;color:#8b929c}
.problem-stage .problem-month-btn b{color:#ff6a00}
.problem-stage .problem-month-btn.generated{border-color:rgba(255,106,0,.35);background:rgba(255,106,0,.05)}
.problem-stage .problem-month{overflow:hidden;margin-top:9px;border:1px solid #2a2f37;border-radius:10px;background:#15181d}
.problem-stage .problem-month>summary{padding:11px;background:#171a20;color:#e8e8e8;font-size:13px}
.problem-stage .problem-month>summary span{color:#8b929c}
.problem-stage .problem-month>p{padding:10px 12px 3px;color:#8b929c;font-size:12px;line-height:1.7}
.problem-stage .problem-month section{padding:10px 12px;border-top:1px dashed #2a2f37;background:#0d0f12}
.problem-stage .problem-month h4{color:#e8e8e8}
.problem-stage .problem-task{align-items:flex-start;padding:10px 0;border-width:0 0 1px;border-style:dashed;border-color:#2a2f37;border-radius:0;background:transparent;color:#e8e8e8;font-size:14px}
.problem-stage .problem-task:last-child{border-bottom:0}
.problem-stage .problem-task input{width:20px;height:20px;margin:2px 0 0;accent-color:#ff6a00}
.problem-stage .problem-task i{border-color:rgba(255,106,0,.4);color:#ff6a00}
.problem-stage .problem-task-group{margin:2px 0!important;padding:8px 0!important;background:transparent!important;color:#ff8d48}
.problem-plan-actions{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px;padding:16px 20px;border:1px solid #2a2f37;border-radius:14px;background:#15181d}
.problem-plan-actions button{width:100%;min-height:42px;margin:0}
body.module-view-problems .problem-followup-form{margin:14px 0 0;padding:16px 20px;border:1px solid #2a2f37;border-radius:14px;background:#15181d}
body.module-view-problems .problem-followup-form>label{color:#e8e8e8;font-size:13px;font-weight:900;letter-spacing:.4px}
body.module-view-problems .problem-followup-form>label small{display:inline-block;margin-left:5px;padding:1px 6px;border:1px solid rgba(255,204,0,.4);border-radius:8px;color:#ffcc00;font-size:11px;font-weight:400}
body.module-view-problems .problem-followup-form select,body.module-view-problems .problem-followup-form textarea{border-color:#2a2f37;background:#0d0f12;color:#e8e8e8}
body.module-view-problems .problem-followup-form button{width:100%;border:0;background:linear-gradient(90deg,#e8491d,#ff6a00);color:#fff;font-weight:700}

.problem-roundtable-title{padding:18px 20px;background:linear-gradient(135deg,#1d1408,#15181d 70%);color:#e8e8e8;font-size:17px;font-weight:900}
.problem-roundtable-seats{display:flex;flex-wrap:wrap;gap:10px}
.problem-roundtable-seats article{min-width:140px;flex:1;padding:14px;border:1px solid #2a2f37;border-radius:12px;background:#0d0f12}
.problem-roundtable-seats article>span{display:flex;width:44px;height:44px;align-items:center;justify-content:center;margin-bottom:8px;border-radius:50%;background:linear-gradient(135deg,#e8491d,#ff6a00);color:#fff;font-weight:900}
.problem-roundtable-seats article>b{font-size:14px}
.problem-roundtable-seats article>p{margin-top:6px;color:#8b929c;font-size:12px;line-height:1.7}
.problem-roundtable-clash .roundtable-bubble{background:#0d0f12}
.problem-roundtable-clash .roundtable-bubble.right{background:#1d140e}
.problem-roundtable-plans{padding:0 12px 12px}
.problem-roundtable-plans>.roundtable-plan{padding:0;border-color:#2a2f37;background:#0d0f12}
.problem-roundtable-plans>.roundtable-plan>summary{padding:13px;color:#ff8d48}
.problem-stage.nested{margin:0;border-width:1px 0 0;border-radius:0}

@media(max-width:430px){.problem-stage .problem-timeline-outline{grid-template-columns:repeat(2,minmax(0,1fr))}.problem-stage-block{padding:15px 16px}.problem-stage-hero{padding:17px 16px}.problem-stage-avatar{width:56px;height:56px;flex-basis:56px}.problem-roundtable-seats{display:grid;grid-template-columns:1fr}.problem-plan-actions{padding:14px 16px}}

/* v3.0 定稿：六边形能力测评入口。 */
body.module-view-hex .shell:not(.hidden){width:min(100%,640px)}
body.module-view-hex .module-header-actions{display:none}
body.module-view-hex .module-navbar{padding-inline:0;border-bottom:0}
body.module-view-hex .module-home-row,body.module-view-hex .module-demo-header{padding-inline:0}
body.module-view-hex .shell .view{padding:0 0 28px}
body.module-view-hex .hex-v3-stage{min-height:0;padding:20px!important;border-radius:15px;background:#15181d!important}
.hex-section-label{margin:1px 0 8px;color:#8190a7;font-size:12px;letter-spacing:.3px}
body.module-view-hex #hexLanding .hex-direction-grid{gap:12px;margin-top:8px}
body.module-view-hex #hexLanding .hex-direction-card{min-height:130px;grid-template-columns:32px minmax(0,1fr);gap:0 10px;padding:17px;border-color:#303640;border-radius:13px;background:#0b0e11}
body.module-view-hex #hexLanding .hex-direction-card:hover,body.module-view-hex #hexLanding .hex-direction-card:focus-visible{border-color:#ff6a00;background:#101010}
body.module-view-hex #hexLanding .hex-direction-card>span{width:30px;height:30px;align-self:start;border:0;border-radius:0;color:#ff6a00;font-size:20px}
body.module-view-hex #hexLanding .hex-direction-card>div{gap:7px}
body.module-view-hex #hexLanding .hex-direction-card b{color:#fff;font-size:17px}
body.module-view-hex #hexLanding .hex-direction-card small{min-height:0;color:#a9bdd6;font-size:12px;line-height:1.65}
body.module-view-hex #hexLanding .hex-direction-card em{color:#ff6a00;font-size:11px;font-weight:800}
.hex-compare-entry,.hex-screen-back{width:100%;min-height:45px;margin-top:12px;border:1px solid #303640;border-radius:11px;background:#0b0e11;color:#9bacbf;font-size:12px}
.hex-compare-entry{border-style:dashed;color:#d48145}.hex-screen-back{color:#a7b5c9}

/* v3.0 定稿：个人中心首页与独立功能页。 */
body.module-view-profile{background:#030609;color:#d7e6fa}
body.module-view-profile .shell:not(.hidden){width:min(100%,440px);background:#030609;box-shadow:none}
body.module-view-profile .workspace{background:#030609}
body.module-view-profile .module-navbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #18202b;background:#030609}
body.module-view-profile .module-home-row{position:static;height:auto;padding:0;pointer-events:auto}
body.module-view-profile .module-demo-header{display:contents}
body.module-view-profile .module-logo,body.module-view-profile .module-heading small,body.module-view-profile .module-slogan{display:none}
body.module-view-profile .module-heading{display:block}
body.module-view-profile .module-heading strong{color:#fff;font-size:15px;letter-spacing:1px}
body.module-view-profile .module-header-actions{display:flex;justify-content:flex-end;max-width:none}
body.module-view-profile .module-header-actions>*{display:none!important}
body.module-view-profile .module-header-actions .module-energy{display:inline-flex!important;min-height:28px;padding:3px 12px;border-color:#6e3b16;border-radius:999px;background:#120b06;color:#ff7a20;font-size:11px}
body.module-view-profile .module-back{position:static;min-height:27px;padding:3px 11px;border-color:#1c2735;background:#060b12;color:#8292a9;letter-spacing:1px}
body.module-view-profile #moduleShell .view{padding:0 0 calc(30px + env(safe-area-inset-bottom))}
.profile-v3-home{padding-top:26px}
.profile-identity{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:14px;padding:0 0 19px;border-bottom:1px solid #1b2430}
.profile-identity>img{width:58px;height:58px;object-fit:cover;object-position:center top;border:1px solid #e45d10;border-radius:50%;background:#160b06;box-shadow:0 0 0 2px rgba(255,106,0,.12)}
.profile-identity>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 9px;min-width:0}
.profile-identity b{color:#fff;font-size:15px}.profile-identity .member-badge{justify-self:start;padding:2px 8px;border:1px solid #a64d13;border-radius:3px;background:transparent;color:#ff7a20;font-size:10px}.profile-identity small{grid-column:1/-1;overflow:hidden;color:#6c809e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.profile-menu-group{margin-top:20px}.profile-menu-group>p{margin:0;padding:0 4px 9px;color:#4e627f;font-size:10px;letter-spacing:8px}
.profile-menu-group>button{width:100%;min-height:44px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:9px;padding:0 4px;border:0;border-bottom:1px solid #1b2430;border-radius:0;background:transparent;color:#d9e8fb;text-align:left}
.profile-menu-group>button:hover,.profile-menu-group>button:focus-visible{background:#08101a}.profile-menu-group>button i{width:5px;height:5px;border-radius:50%;background:#ff771f}.profile-menu-group>button b{font-size:13px}.profile-menu-group>button span{color:#485b75;font-size:10px}.profile-menu-group>button.profile-logout i{background:#d85e58}.profile-menu-group>button.profile-logout b{color:#dc665e}
.profile-v3-page{padding-top:18px}.profile-page-back{min-height:32px;padding:0;border:0;background:transparent;color:#71849e;font-size:11px}.profile-v3-page>h2{margin:12px 0 16px;color:#fff;font-size:22px}.profile-page-panel{padding:15px;border:1px solid #1d2a3a;border-radius:12px;background:#090f17}
.profile-account-form>label{margin-top:10px}.profile-avatar-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.profile-avatar-picker label{position:relative;display:block;margin:0}.profile-avatar-picker input{position:absolute;opacity:0}.profile-avatar-picker img{display:block;width:100%;aspect-ratio:1;object-fit:cover;object-position:center top;border:1px solid #26364a;border-radius:10px;background:#100b09}.profile-avatar-picker input:checked+img{border-color:#ff701c;box-shadow:0 0 0 2px rgba(255,112,28,.18)}
.profile-account-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.profile-account-meta span{display:grid;gap:4px;padding:10px;border:1px solid #1b2939;border-radius:8px;color:#667c98;font-size:10px}.profile-account-meta b{color:#d8e7fa;font-size:12px}.profile-account-form>.primary{width:100%;background:linear-gradient(90deg,#d84e11,#ff7c21);color:#fff}.profile-inline-section{margin-top:18px;padding-top:15px;border-top:1px solid #1c2938}.profile-inline-section h3{color:#fff;font-size:14px}
body.module-view-profile .profile-products-panel{padding:15px!important}body.module-view-profile .profile-page-panel .product{border-color:#243246;background:#070c12}
.profile-security-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #1b2938}.profile-security-row:last-child{border:0}.profile-security-row>div{display:grid;gap:5px}.profile-security-row b{color:#eef5ff;font-size:13px}.profile-security-row small{color:#6f829b;font-size:10px}.profile-security-row button{min-height:34px}.profile-safe-state{color:#4cc882;font-size:11px}
@media(max-width:680px){body.module-view-hex .module-navbar,body.module-view-hex .shell .view{padding-inline:12px}body.module-view-profile .module-navbar,body.module-view-profile #moduleShell .view{padding-inline:14px}}

/* Keep the account balance readable at three digits and beyond on phones. */
.module-action.module-energy{display:inline-flex;min-width:max-content;max-width:none;gap:3px;overflow:visible}.module-action.module-energy b{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:400px){.module-heading small{max-width:105px}.module-header-actions{max-width:190px}.module-action.module-energy{max-width:none;overflow:visible}}
@media(max-width:350px){.module-header-actions{max-width:180px}.module-action{padding-inline:5px}.module-action.module-energy{display:inline-flex}}
@media(prefers-reduced-motion:reduce){.debate-compute.active .debate-radar-sweep{animation-duration:3s}.debate-scan-item,.debate-scan-log-line,.debate-reveal{animation:none;opacity:1;transform:none}}

/* 2026-08 首页开场：沿用“首页mock_手机版”的六边形描边与逐字入场。 */
.v3-boot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;background:#07090d;animation:none;transition:opacity .6s,transform .6s;cursor:pointer}
.v3-boot.bye{opacity:0;transform:scale(1.05);pointer-events:none}
.v3-boot svg{width:150px;height:150px;overflow:visible}
.v3-boot-edge{stroke:#ff7a1a;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-dasharray:120;stroke-dashoffset:120;filter:drop-shadow(0 0 5px rgba(255,122,26,.65));animation:v3-boot-draw .34s ease-out forwards}
.v3-boot-fill{fill:rgba(255,122,26,0);animation:v3-boot-fill-in .6s ease 1.7s forwards}
.v3-boot-word{display:flex;gap:0}
.v3-boot-word span{color:#e8e8e8;font-size:24px;font-weight:800;opacity:0;animation:v3-boot-char-in .5s cubic-bezier(.2,.7,.3,1) forwards}
.v3-boot-word span:nth-child(1){margin-right:10px;animation-delay:1.05s}.v3-boot-word span:nth-child(2){margin-right:10px;animation-delay:1.2s}.v3-boot-word span:nth-child(3){margin-right:10px;animation-delay:1.35s}.v3-boot-word span:nth-child(4){animation-delay:1.5s}
.v3-boot-en{color:#4a515d;font-size:9px;letter-spacing:5px;opacity:0;animation:v3-boot-fade-up .6s ease 1.85s forwards}
.v3-boot-skip{position:absolute;bottom:44px;min-height:0;padding:0;border:0;background:none;color:#3d434e;font-size:11px;letter-spacing:3px;opacity:0;animation:v3-boot-fade-up .5s ease 1.4s forwards}
@keyframes v3-boot-draw{to{stroke-dashoffset:0}}@keyframes v3-boot-fill-in{to{fill:rgba(255,122,26,.08)}}@keyframes v3-boot-char-in{from{opacity:0;letter-spacing:2px;transform:translateY(6px)}to{opacity:1;letter-spacing:10px;transform:none}}@keyframes v3-boot-fade-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
body:not(.portal-ready) .portal-header,body:not(.portal-ready) .portal-hero,body:not(.portal-ready) .portal-module{opacity:0}
body.portal-ready .portal-header{animation:v3-boot-fade-up .5s ease .05s both}body.portal-ready .portal-hero{animation:v3-boot-fade-up .5s ease .15s both}body.portal-ready .portal-module{animation:v3-portal-card-in .5s cubic-bezier(.2,.7,.3,1) both}body.portal-ready .portal-module:nth-child(1){animation-delay:.28s}body.portal-ready .portal-module:nth-child(2){animation-delay:.4s}body.portal-ready .portal-module:nth-child(3){animation-delay:.52s}@keyframes v3-portal-card-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* 解决问题：首屏只收问题，第二屏独立完成选择题。 */
body.module-view-problems .problem-clarify-stage{padding:20px!important;background:radial-gradient(circle at 100% 0,rgba(255,106,0,.09),transparent 38%),#15181d!important}
.problem-clarify-stage h2{margin:0 0 12px;color:#f4f6f8;font-size:22px}.problem-clarify-intro{margin-bottom:16px;padding:13px;border-left:3px solid #ff6a00;border-radius:0 9px 9px 0;background:#0d0f12}.problem-clarify-intro b{display:block;overflow:hidden;color:#e3e7ec;font-size:12px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}.problem-clarify-intro p{margin:6px 0 0;color:#8b929c;font-size:12px;line-height:1.65}
.problem-clarify-stage .clarify-question{margin:10px 0;padding:13px;border:1px solid #2a2f37!important;border-radius:11px;background:#0d0f12}.problem-clarify-stage .clarify-question legend{padding:0 6px;color:#e8e8e8;font-size:13px;font-weight:700}.problem-clarify-stage .clarify-question label{position:relative;margin:8px 0 0;padding:0;background:none!important}.problem-clarify-stage .clarify-question label input[type=radio]{position:absolute;opacity:0;pointer-events:none}.problem-clarify-stage .clarify-question label span{display:flex;align-items:center;min-height:44px;width:100%;padding:9px 12px;border:1px solid #2a2f37;border-radius:9px;background:#15181d;color:#9ba2ac;font-size:12px;line-height:1.5}.problem-clarify-stage .clarify-question label input:checked+span{border-color:#ff6a00;background:rgba(255,106,0,.12);color:#ffae76;box-shadow:inset 0 0 0 1px rgba(255,106,0,.1)}.problem-clarify-actions{display:grid;gap:8px;margin-top:16px}.problem-clarify-actions .primary,.problem-clarify-actions .ghost{width:100%;margin:0}.problem-clarify-ready{padding:14px;border:1px solid #2a2f37;border-radius:10px;color:#aab3bd;background:#0d0f12}

/* 个人中心兑换卡。 */
.energy-redeem-form{display:grid;gap:10px;padding:20px!important}.energy-redeem-form h3{margin:0;color:#f4f7fb;font-size:21px}.energy-redeem-form>p:not(.v3-eyebrow){margin:0 0 4px;color:#7e8da1;font-size:12px;line-height:1.7}.energy-redeem-form input{text-transform:uppercase;letter-spacing:1px}.energy-redeem-form .primary{width:100%;margin-top:4px;background:linear-gradient(90deg,#e8491d,#ff7a1a);color:#fff}.energy-redeem-success{margin-top:4px;padding:12px;border:1px solid #246344;border-radius:9px;background:#0a1912;color:#75dda4;font-size:12px;line-height:1.6}.energy-redeem-error{margin-top:4px;padding:12px;border:1px solid #713337;border-radius:9px;background:#1b0c0e;color:#ff9a9f;font-size:12px;line-height:1.6}

.admin-module[data-admin-view="energy-cards"]{grid-column:1/-1}.energy-card-editor{display:grid;gap:10px}.energy-card-row{display:grid;grid-template-columns:1.15fr 1.15fr repeat(5,.65fr) auto;gap:8px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:9px;background:#080f18}.energy-card-row label{margin:0;color:var(--dim);font-size:11px}.energy-card-row input,.energy-card-row select{margin-top:5px}.energy-card-row .save-energy-card{min-height:40px;white-space:nowrap}.energy-card-row>small{grid-column:1/-1;color:var(--dim)}.energy-card-records{margin-top:16px}@media(max-width:760px){.energy-card-row{grid-template-columns:1fr 1fr}.energy-card-row .save-energy-card{grid-column:1/-1}.v3-boot-skip{bottom:calc(32px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.v3-boot-edge,.v3-boot-fill,.v3-boot-word span,.v3-boot-en,.v3-boot-skip,body.portal-ready .portal-header,body.portal-ready .portal-hero,body.portal-ready .portal-module{animation-duration:.01ms!important;animation-delay:.01ms!important}}

/* 六边形战士传播版：先选模式，再进入测自己或对标名人。 */
body.module-view-hex{background:#0d0f12;color:#e8e8e8;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
body.module-view-hex .shell:not(.hidden),body.module-view-hex .shell .workspace{background:#0d0f12}
body.module-view-hex .module-navbar{border-color:#2a2f37;background:#0d0f12}
body.module-view-hex .shell .panel{border-color:#2a2f37;border-radius:14px;background:#15181d}
body.module-view-hex .hex-v3-stage{padding:20px!important;background:#15181d!important}
.hex-mode-heading{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;margin-bottom:16px}
.hex-mode-heading::before{display:grid;width:42px;height:42px;place-items:center;border:1px solid #2a2f37;border-radius:11px;background:#0d0f12;color:#ff6a00;font-size:23px;box-shadow:0 0 0 1px rgba(255,122,26,.18);content:"⬡"}
.hex-mode-heading>b{color:#fff;font-size:17px;letter-spacing:4px}
.hex-mode-heading>small{grid-column:2;margin-top:-18px;color:#8b929c;font-size:9px;letter-spacing:2.5px}
body.module-view-hex .hex-mode-cards{display:grid;gap:12px;margin:0}
body.module-view-hex .hex-mode-card{display:block;width:100%;min-height:0;padding:18px;border:1px solid #2a2f37;border-radius:12px;background:#0d0f12;color:#e8e8e8;text-align:left}
body.module-view-hex .hex-mode-card:hover,body.module-view-hex .hex-mode-card:focus-visible{border-color:#ff6a00;background:#171a20}
body.module-view-hex .hex-mode-card>span{display:inline;margin:0;border:0;background:none;color:inherit;font-size:16px}
body.module-view-hex .hex-mode-card>div{display:inline}
body.module-view-hex .hex-mode-card b{color:#e8e8e8;font-size:16px;font-weight:800;letter-spacing:1px}
body.module-view-hex .hex-mode-card small{display:block;margin:6px 0 0;padding-left:0;color:#8b929c;font-size:12px;font-weight:400;letter-spacing:0;line-height:1.6}
body.module-view-hex .hex-mode-card.compare:hover,body.module-view-hex .hex-mode-card.compare:focus-visible{border-color:#ff5a5a}
body.module-view-hex .hex-screen-back{min-height:40px;margin-top:14px;border-color:#2a2f37;background:#0d0f12;color:#8b929c}
body.module-view-hex .hex-section-label{margin:0 0 12px;color:#8b929c;font-size:12px}
body.module-view-hex #hexDirection .hex-direction-grid{display:grid;gap:12px;margin:0}
body.module-view-hex #hexDirection .hex-direction-card{display:block;min-height:0;padding:18px;border:1px solid #2a2f37;border-radius:12px;background:#0d0f12;color:#e8e8e8}
body.module-view-hex #hexDirection .hex-direction-card:hover,body.module-view-hex #hexDirection .hex-direction-card:focus-visible{border-color:#ff6a00;background:#171a20}
body.module-view-hex #hexDirection .hex-direction-card>span{display:inline;width:auto;height:auto;border:0;background:none;color:inherit;font-size:16px}
body.module-view-hex #hexDirection .hex-direction-card>div{display:inline}
body.module-view-hex #hexDirection .hex-direction-card b{font-size:16px}
body.module-view-hex #hexDirection .hex-direction-card small{display:block;margin-top:6px;color:#8b929c;font-size:12px;line-height:1.6}
body.module-view-hex #hexDirection .hex-direction-card em{display:block;margin-top:8px;color:#ff6a00;font-size:11.5px;font-weight:700}
body.module-view-hex .v3-back-link{color:#8b929c}
.hex-compare-step{display:flex;align-items:center;gap:8px;margin:3px 0 10px;color:#e8e8e8;font-size:14px;font-weight:800}
.hex-compare-step:not(:first-of-type){margin-top:20px}
.hex-compare-step>span{padding:2px 7px;border-radius:999px;background:rgba(255,106,0,.14);color:#ff6a00;font-size:10px;font-weight:700}
.hex-compare-mine-note{margin:0;color:#8b929c;font-size:12px;line-height:1.7}
.hex-score-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
body.module-view-hex .hex-score-editor label{margin:0;color:#8b929c;font-size:10px;line-height:1.35}
body.module-view-hex .hex-score-editor input{width:100%;height:38px;margin-top:4px;padding:6px;border:1px solid #2a2f37;border-radius:8px;background:#0d0f12;color:#e8e8e8;font-size:14px;text-align:center}
body.module-view-hex .hex-celebrity-grid{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
body.module-view-hex .hex-celebrity-card{width:auto;min-height:0;padding:7px 14px;border:1px solid #2a2f37;border-radius:20px;background:#0d0f12;color:#e8e8e8}
body.module-view-hex .hex-celebrity-card b{font-size:13px;font-weight:500}
body.module-view-hex .hex-celebrity-card small{display:none}
body.module-view-hex .hex-celebrity-card:hover,body.module-view-hex .hex-celebrity-card.on{border-color:#ff5a5a;background:rgba(255,60,60,.12);color:#ff5a5a}
body.module-view-hex .hex-celebrity-card.on b{color:#ff5a5a}
body.module-view-hex #hexCompareSetup>label{margin-top:11px;color:#8b929c;font-size:11px}
body.module-view-hex #hexCompareSetup input,body.module-view-hex #hexCompareSetup textarea{border-color:#2a2f37;border-radius:9px;background:#0d0f12}
body.module-view-hex #hexCompareStartBtn{width:100%;margin-top:14px;background:linear-gradient(90deg,#e8491d,#ff6a00);color:#fff}
body.module-view-hex .hex-progress-track{height:5px;margin-bottom:16px;background:#0d0f12}
body.module-view-hex .hex-v3-question{min-height:0;justify-content:flex-start}
body.module-view-hex .hex-v3-question legend{display:block;margin-bottom:16px;color:#e8e8e8;font-size:17px;line-height:1.6}
body.module-view-hex .hex-v3-question legend small{display:block;margin-bottom:8px;color:#8b929c;font-size:11px}
body.module-view-hex .hex-v3-option{min-height:0;margin:0 0 10px;padding:13px 14px;border-color:#2a2f37;border-radius:10px;background:#0d0f12;color:#e8e8e8;font-size:14px;line-height:1.55}
body.module-view-hex .hex-v3-option:hover,body.module-view-hex .hex-v3-option:focus-visible{border-color:#ff6a00;background:#171a20}
body.module-view-hex .hex-report-panel{background:#15181d!important}
body.module-view-hex #hexCanvas{border-color:#2a2f37;background:#0d0f12}
@media(max-width:380px){.hex-score-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 参考“六边形测评_v3_传播版”的手机首页：深灰外卡包住紧凑入口卡。 */
body:not(.module-open){background:#0d0f12}
.portal-home{min-height:100dvh;padding-bottom:28px;background:#0d0f12;box-shadow:none}
.portal-header{position:relative;min-height:68px;padding:14px 20px;border:0;background:#0d0f12;backdrop-filter:none}
.portal-brand{gap:11px}.portal-logo{width:42px;height:42px;border-color:#2a2f37;border-radius:11px;background:#15181d;box-shadow:0 0 0 1px rgba(255,122,26,.18)}
.portal-brand b{font-size:17px;letter-spacing:4px}.portal-brand small{color:#6c737d;font-size:8px;letter-spacing:1.5px}
.portal-hero{width:auto;margin:2px 14px 12px;padding:20px;border:1px solid #2a2f37;border-radius:14px;background:#15181d}
.portal-kicker{margin-bottom:12px;color:#ff6a00;font-size:10px;letter-spacing:1.8px}
.portal-hero h1{margin:0;color:#e8e8e8;font-size:32px;line-height:1.24;letter-spacing:-1px}
.portal-hero h1 span,.portal-hero h1 em{display:block}.portal-hero h1 em{color:#ff6a00}
.portal-hero>p:last-child{margin:15px 0 0;color:#8b929c;font-size:12px;line-height:1.65;letter-spacing:.4px}
.portal-modules{display:grid;width:auto;grid-template-columns:1fr;gap:12px;margin:0 14px;padding:20px;border:1px solid #2a2f37;border-radius:14px;background:#15181d}
.portal-module,.portal-module-primary{display:grid;grid-template-columns:25px minmax(0,1fr);gap:7px;min-height:0;padding:18px;border:1px solid #2a2f37;border-radius:12px;background:#0d0f12;color:#e8e8e8;box-shadow:none;transition:border-color .18s,background .18s,transform .14s}
.portal-module:hover,.portal-module:focus-visible{border-color:#ff6a00;background:#171a20;transform:none}.portal-module:active{transform:scale(.985)}
.portal-module-icon{display:inline;width:auto;height:auto;border:0;border-radius:0;background:none;color:#e8e8e8;font-size:16px}
.portal-module small{color:#ff6a00;font-size:9px;letter-spacing:1.2px}.portal-module b{margin:5px 0 4px;color:#e8e8e8;font-size:16px;letter-spacing:1px}
.portal-module em{padding-right:28px;color:#8b929c;font-size:12px;line-height:1.6}.portal-module i{right:16px;bottom:16px;color:#ff6a00;font-size:10px}
@media(max-width:370px){.portal-header{padding-inline:14px}.portal-brand small{display:none}.portal-account-actions{gap:4px}.portal-energy{padding-inline:7px}.portal-hero,.portal-modules{margin-inline:10px}.portal-hero{padding:18px}.portal-modules{padding:16px}.portal-hero h1{font-size:29px}}

/* 参考“辩论系统_demo”的单轮逐句扫描与锁定情报页。 */
body.module-view-debate #debateAnalysisPanel{padding:14px 15px;background:#0d1420}
body.module-view-debate #debateAnalysisPanel>h2{display:none}
body.module-view-debate #debateAnalysisPanel.analysis-focus{min-height:calc(100dvh - 126px);border-color:#16243a;box-shadow:none}
body.module-view-debate #debateAnalysisPanel .debate-compute,body.module-view-debate #debateAnalysisPanel.scanning .debate-compute{display:block;margin:0;padding:4px 0 0;border:0;background:transparent;box-shadow:none}
.debate-scan-steps{display:none}
.debate-scan-list,.debate-scan-list:empty{display:block;width:100%;max-height:250px;min-height:22px;padding:10px 12px;border-color:#16243a;border-radius:10px;background:#080f18;color:#5a708f;font-size:12px;line-height:2}
.debate-scan-log{width:100%;max-height:130px;margin-top:10px;color:#5a708f;font-size:11.5px;line-height:1.95}
.debate-scan-item{color:#5a708f;opacity:0;animation:debate-reference-in .15s forwards}.debate-scan-item.out{color:#31405a}.debate-scan-item.lock{color:#27ff7a;font-weight:700;text-shadow:0 0 10px rgba(39,255,122,.7);animation:debate-lock-flash .5s 3}
.debate-scan-log-line{animation:debate-reference-in .2s forwards}.debate-scan-log-line.ok{color:#27ff7a}
@keyframes debate-reference-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.debate-compute.result-ready .debate-scan-list,.debate-compute.result-ready .debate-scan-log{display:none}
.debate-compute.result-ready .debate-radar{margin-bottom:14px}
body.module-view-debate .debate-dossier{margin:0;padding:0;border:0;border-radius:0;background:transparent}
body.module-view-debate .debate-dossier-heading{display:none}
.debate-typebig{margin:4px 0 12px;text-align:center}.debate-typebig .t1{color:#ff2d2d;font-size:20px;font-weight:700;letter-spacing:1px;text-shadow:0 0 14px rgba(255,45,45,.6)}.debate-typebig .t2{margin-top:6px;color:#5a708f;font-size:12px;line-height:1.6}
body.module-view-debate .debate-dossier .dossier-evidence{justify-content:center;margin:0 0 8px;color:#5a708f}body.module-view-debate .debate-dossier .dossier-evidence i{border-color:#1b2a3f;color:#8da3bc}
body.module-view-debate .debate-dossier .v3-intel-list{margin-top:8px;border-color:#1b2a3f}body.module-view-debate .debate-dossier .v3-intel-row{border-color:#1b2a3f}body.module-view-debate .debate-dossier .v3-intel-row small{color:#5a708f}
body:not(.portal-ready) .portal-modules{opacity:0}body.portal-ready .portal-modules{animation:v3-boot-fade-up .5s ease .22s both}

/* r7：首页 mock 原样开机。动画只在 playing 后启动，确保 display:none 切换不会吞掉首帧。 */
.v3-boot-edge,.v3-boot-fill,.v3-boot-word span,.v3-boot-en,.v3-boot-skip{animation:none}
.v3-boot.playing .v3-boot-edge{animation:v3-boot-draw .34s ease-out forwards}
.v3-boot.playing .v3-boot-fill{animation:v3-boot-fill-in .6s ease 1.7s forwards}
.v3-boot.playing .v3-boot-word span{animation:v3-boot-char-in .5s cubic-bezier(.2,.7,.3,1) forwards}
.v3-boot.playing .v3-boot-word span:nth-child(1){animation-delay:1.05s}.v3-boot.playing .v3-boot-word span:nth-child(2){animation-delay:1.2s}.v3-boot.playing .v3-boot-word span:nth-child(3){animation-delay:1.35s}.v3-boot.playing .v3-boot-word span:nth-child(4){animation-delay:1.5s}
.v3-boot.playing .v3-boot-en{animation:v3-boot-fade-up .6s ease 1.85s forwards}.v3-boot.playing .v3-boot-skip{animation:v3-boot-fade-up .5s ease 1.4s forwards}

/* r7：首页.png / 首页mock_手机版：无外层大卡，三张独立模块卡与原 SVG 图标。 */
.portal-home{width:min(100%,480px);padding:0 2px 28px;background:#07090d;color:#e8eaee}
.portal-header{min-height:0;padding:6px 0;gap:11px;background:#07090d}
.portal-brand{gap:9px}.portal-logo{width:38px;height:38px;border-color:#1c212b;border-radius:10px;background:#0d1016}.portal-brand b{font-size:18px;letter-spacing:4px}.portal-brand small{display:block;color:#6d7582;font-size:8px;letter-spacing:2.2px}
.portal-account-actions{gap:8px}.portal-energy{min-height:30px;padding:4px 12px;border-color:rgba(255,122,26,.45);background:rgba(255,122,26,.04);color:#ff7a1a}.portal-avatar{width:32px;height:32px;min-height:32px;padding:0;border-color:#1c212b;background:#0d1016;filter:grayscale(1) brightness(.55)}
.portal-hero{width:auto;margin:24px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.portal-kicker{display:none}.portal-hero h1{font-size:26px;line-height:1.3;letter-spacing:2px}.portal-hero h1 span{display:block}.portal-hero h1 em{display:inline;color:#ff7a1a}.portal-hero h1 em::first-letter{color:#e8eaee}
.portal-hero>p:last-child{margin:9px 0 0;color:#6d7582;font-size:12px;line-height:1.6;letter-spacing:1.5px}
.portal-modules{display:flex;width:auto;flex-direction:column;gap:12px;margin:26px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.portal-module,.portal-module-primary{display:flex;align-items:center;gap:18px;min-height:0;padding:18px 18px;border:1px solid #1c212b;border-radius:16px;background:#0d1016;color:#e8eaee}
.portal-module:hover,.portal-module:focus-visible{border-color:rgba(255,122,26,.45);background:#0d1016;box-shadow:0 4px 24px rgba(255,122,26,.07)}
.portal-module-icon{display:flex;width:64px;height:64px;flex:none;align-items:center;justify-content:center;color:inherit}.portal-module-icon svg{display:block;width:100%;height:100%}.portal-module-icon-hex{width:82px;height:82px;margin:-9px -9px -9px -4px}
.portal-module>span:nth-child(2){display:block;flex:1;min-width:0}.portal-module-title-row{display:flex;align-items:center;gap:8px}.portal-module b{margin:0;color:#e8eaee;font-size:17px;letter-spacing:2px}.portal-module small{display:inline-block;padding:2px 5px;border:1px solid rgba(255,122,26,.35);border-radius:4px;color:#ff7a1a;font-size:10px;font-weight:600;line-height:1.2;letter-spacing:2px}.portal-module em{display:block;margin-top:6px;padding:0;color:#6d7582;font-size:12px;line-height:1.7;letter-spacing:.5px}.portal-module i{position:static;flex:none;color:#3d434e;font-size:20px;font-weight:300}
@media(max-width:370px){.portal-home{padding-inline:2px}.portal-header{padding-inline:0}.portal-brand small{display:none}.portal-hero,.portal-modules{margin-inline:0}.portal-hero{padding:0}.portal-modules{padding:0}.portal-hero h1{font-size:25px}.portal-module{gap:12px;padding:17px 14px}.portal-module-icon{width:58px;height:58px}.portal-module-icon-hex{width:74px;height:74px}.portal-module em{font-size:11px}}

/* r7：辩论 demo 的完整分屏节奏——扫描、锁定、画像逐行点亮、再进入三风格。 */
.debate-scan-log-line.target{color:#cfe3ff;font-weight:700}.debate-scan-log-line.compare{color:#9eb4cc}
body.module-view-debate .debate-reveal{animation-duration:.3s;animation-delay:calc(var(--reveal-order,0) * 190ms)}
body.module-view-debate .debate-typebig{margin:4px 0 12px}
body.module-view-debate .debate-typebig .t1{font-size:20px;font-weight:700}
body.module-view-debate .debate-typebig .t2{max-width:430px;margin:6px auto 0;color:#5a708f;font-size:12px;line-height:1.6}
body.module-view-debate .debate-dossier .v3-intel-list{margin-top:0;border-top:0}
body.module-view-debate .debate-dossier .v3-intel-row{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:9px 3px;border-bottom:1px dashed #16243a}
body.module-view-debate .debate-dossier .v3-intel-row small{color:#5a708f;font-size:13px;white-space:nowrap}
body.module-view-debate .debate-dossier .v3-intel-row p{color:#fff;font-size:13px;line-height:1.6;text-align:right}
body.module-view-debate .debate-dossier .v3-intel-row p.hot{color:#ff2d2d}body.module-view-debate .debate-dossier .v3-intel-row p.cy{color:#00e5ff}body.module-view-debate .debate-dossier .v3-intel-row p.gr{color:#27ff7a}body.module-view-debate .debate-dossier .v3-intel-row p.wn{color:#ffcf3a}
.wtag{display:inline-block;margin:2px 0 0 4px;padding:1px 7px;border:1px solid #16334a;border-radius:5px;color:#00e5ff;font-size:10.5px}
.debate-mode-tag{margin-top:10px;color:#5a708f;font-size:10px;letter-spacing:1px;text-align:center}.debate-mode-tag b{color:#27ff7a}
.debate-panel-actions{display:flex;gap:9px;margin-top:14px}.debate-panel-actions button{flex:1;min-height:44px;margin:0}.debate-panel-actions .danger{background:linear-gradient(90deg,#e31522,#ff2d2d);color:#fff;font-weight:800}.debate-panel-actions .ghost{border-color:#16334a;background:#0a1622;color:#8ba5c0}
.debate-panel-reset{width:100%;margin-top:10px;border-color:#16334a!important;background:#0a1622!important;color:#6d86a3!important}
.debate-reply-stage{padding-top:2px}.debate-reply-stage .reply{opacity:0;animation:debate-reference-in .35s forwards}
body.module-view-debate #debateAnalysisPanel.reply-open{padding-top:8px}
body.module-view-debate #debateAnalysisPanel.reply-open #compute,body.module-view-debate #debateAnalysisPanel.reply-open .debate-dossier,body.module-view-debate #debateAnalysisPanel.reply-open .debate-mode-tag,body.module-view-debate #debateAnalysisPanel.reply-open .debate-panel-actions,body.module-view-debate #debateAnalysisPanel.reply-open .debate-panel-reset{display:none}
@media(max-width:360px){.debate-panel-actions{flex-direction:column}.debate-panel-actions button{width:100%}}
body.module-view-debate #debateAnalysisPanel.analysis-focus{min-height:0;padding:20px 0 14px;border:0;background:#070b12}
body.module-view-debate #debateAnalysisPanel.analysis-focus:not(.result-ready) #debateResult{display:none}
body.module-view-debate .debate-field-in{opacity:0;animation:debate-reference-in .3s forwards}

/* r8：首页六条边直接承载首屏加载进度；数据先回来时加速补齐，不会首帧整圈闪现。 */
.v3-boot.playing .v3-boot-edge,.v3-boot.playing .v3-boot-fill,.v3-boot.playing .v3-boot-word span,.v3-boot.playing .v3-boot-en,.v3-boot.playing .v3-boot-skip{animation:none}
.v3-boot-edge.connected{animation:v3-boot-draw .18s cubic-bezier(.2,.75,.3,1) forwards!important}
.v3-boot.complete .v3-boot-fill{animation:v3-boot-fill-in .28s ease forwards!important}
.v3-boot.complete .v3-boot-word span{animation:v3-boot-char-in .28s cubic-bezier(.2,.7,.3,1) forwards!important}
.v3-boot.complete .v3-boot-word span:nth-child(1){animation-delay:0s!important}.v3-boot.complete .v3-boot-word span:nth-child(2){animation-delay:.05s!important}.v3-boot.complete .v3-boot-word span:nth-child(3){animation-delay:.1s!important}.v3-boot.complete .v3-boot-word span:nth-child(4){animation-delay:.15s!important}
.v3-boot.complete .v3-boot-en{animation:v3-boot-fade-up .28s ease .08s forwards!important}
.v3-boot.playing .v3-boot-skip{animation:v3-boot-fade-up .3s ease .28s forwards!important}
.v3-boot-status{min-height:16px;margin-top:-17px;color:#59616e;font-size:10px;letter-spacing:1.2px;transition:color .18s,text-shadow .18s}
.v3-boot.complete .v3-boot-status{color:#ff8733;text-shadow:0 0 12px rgba(255,122,26,.32)}

/* r8：分析流水保留更多处理节点，并以不同颜色区分数据、算法、风险与完成状态。 */
body.module-view-debate .debate-scan-list{max-height:210px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#1b3a4f #080f18}
body.module-view-debate .debate-scan-log{max-height:245px;padding:9px 11px;border:1px solid #16243a;border-radius:10px;background:#060c14;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#1b3a4f #060c14}
.debate-scan-log-line{position:relative;padding-left:9px;border-left:2px solid transparent;line-height:1.85}
.debate-scan-log-line.target{border-color:#00e5ff;color:#cfefff}.debate-scan-log-line.corpus{border-color:#a978ff;color:#c4a7ff}.debate-scan-log-line.metric{border-color:#4b9dff;color:#82bbff}.debate-scan-log-line.token{border-color:#ffcf3a;color:#f4d66d}.debate-scan-log-line.engine{border-color:#d064ff;color:#df92ff}.debate-scan-log-line.risk{border-color:#ff4d5e;color:#ff7a86}.debate-scan-log-line.safety{border-color:#27ff7a;color:#74f3aa}.debate-scan-log-line.compare{border-color:#49627d;color:#8fa9c4}.debate-scan-log-line.ok{border-color:#27ff7a;color:#27ff7a;font-weight:700;text-shadow:0 0 9px rgba(39,255,122,.26)}
.debate-scan-item::before{display:inline-block;width:9px;margin-right:5px;color:#415b76;content:"›"}.debate-scan-item.lock::before{color:#27ff7a;content:"◆"}
@media(prefers-reduced-motion:reduce){.v3-boot-edge.connected,.v3-boot.complete .v3-boot-fill,.v3-boot.complete .v3-boot-word span,.v3-boot.complete .v3-boot-en{animation-duration:.01ms!important}}

/* r9：修复移动端表单缩放、反制流程复位，以及金句卡的手机保存路径。 */
.toast{pointer-events:none}
body.portal-sheet-open,body.quote-card-open{overflow:hidden}
body.module-view-debate{overflow-x:clip}
body.module-view-debate #moduleShell,body.module-view-debate #view-debate,body.module-view-debate .v3-module-flow,body.module-view-debate #debateForm,body.module-view-debate #debateInputStep,body.module-view-debate #debateContextStep{width:100%;max-width:100%;min-width:0}
body.module-view-debate #debateForm>*{max-width:100%;min-width:0}

.quote-card-overlay{position:fixed;inset:0;z-index:78;display:grid;align-items:end;padding:12px 12px max(12px,env(safe-area-inset-bottom))}
.quote-card-mask{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(0,0,0,.82);backdrop-filter:blur(5px)}
.quote-card-dialog{position:relative;z-index:1;width:min(100%,440px);max-height:calc(100dvh - 24px);margin:0 auto;padding:20px;border:1px solid #3b3027;border-radius:18px;background:#12110f;box-shadow:0 -16px 60px rgba(0,0,0,.52);overflow-y:auto;overscroll-behavior:contain}
.quote-card-dialog h2{margin:0 38px 14px 0;color:#fff;font-size:21px}
.quote-card-dialog .v3-eyebrow{margin-bottom:6px}
.quote-card-preview-wrap{display:grid;max-width:278px;margin:0 auto;place-items:center;overflow:hidden;border:1px solid #3b3027;border-radius:10px;background:#090a0c}
.quote-card-preview-wrap img{display:block;width:100%;height:auto;touch-action:auto;-webkit-touch-callout:default;user-select:auto}
.quote-card-save-tip{margin:13px 0;color:#9d958c;font-size:12px;line-height:1.7}
.quote-card-actions{display:grid;grid-template-columns:72px 72px minmax(0,1fr);gap:8px}
.quote-card-actions button{min-height:44px;padding:0 10px}
.quote-card-actions .primary{background:#e67922;color:#160b03;font-weight:900}

@media(max-width:680px){
  .portal-sheet-card input,#debateForm input,#debateForm textarea,#debateForm select{font-size:16px!important}
  .portal-login-sheet{height:100dvh;overflow:hidden}
  .portal-sheet-card{max-height:calc(100dvh - 12px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:360px){.quote-card-actions{grid-template-columns:1fr 1fr}.quote-card-actions .primary{grid-column:1/-1;grid-row:1}.quote-card-preview-wrap{max-width:235px}}
