|
|
@@ -0,0 +1,435 @@
|
|
|
+/* ==========================================================================
|
|
|
+ v4 · 机会卡 / 工作台 —— Liquid Glass 第二层加强
|
|
|
+ 客户反馈:"知觉是升级了一点,但是还不够"。v4 在 v3 基础上做了五件事:
|
|
|
+
|
|
|
+ 1) 折射边(.glass-edge):不是均匀 1px 细线,而是
|
|
|
+ · 上缘亮、左缘次亮、下缘暗、右缘最暗的渐变边(上亮下暗——玻璃边折光的方向)
|
|
|
+ · 边框外侧再压一道极淡暗边,让玻璃片"有厚度"而不是贴纸
|
|
|
+ · 内阴影顶部高光 + 底部内阴影(向下折光落暗)
|
|
|
+ 2) 三层纵深(明确写进 computed style,验收要读):
|
|
|
+ L0 .ambient 背景光场 —— 亮、虚、慢
|
|
|
+ L1 .panel / .metric 中层玻璃 —— spectral 高光 0.0–0.06
|
|
|
+ L2 .ocard / .glass-3 浮起卡 —— spectral 高光 0.10–0.18 + 更深投影
|
|
|
+ L3 .drawer / .topbar 浮层 —— 最实 + 最强边光
|
|
|
+ 从后到前:背景越来越"发光",前景越来越"实"、边光越来越亮。
|
|
|
+ 3) 悬浮:hover 时卡片上浮 2px + 高光扫过(.ocard-sheen 随指针位置移动),
|
|
|
+ 是玻璃片被抬起,不是纸片加阴影。
|
|
|
+ 4) 数字:关键数字用 --num-glow 柔光(文字阴影,不是底色),可读性优先。
|
|
|
+ 5) 光场:v3 的四个光斑边缘可见,像贴上去的图案。v4 改成
|
|
|
+ 极低频漂移(110–170s)+ 更宽更淡(radial 渐变更长尾)+ 整体压暗对比,
|
|
|
+ 再加一层"环境光"叠加,让它像屋子里的光,不像装饰图。
|
|
|
+
|
|
|
+ 铁律:所有数据落在 --ink / --ink-2 上并配 --num-plate 衬底(卡片上最亮的
|
|
|
+ 角落叠白 0.46 时,--ink-3 仍 ≥ 4.6:1)。玻璃只做衬托,不糊数据。
|
|
|
+ ========================================================================== */
|
|
|
+
|
|
|
+/* ---------- 1. 折射边:一个可复用的"玻璃片" ---------- */
|
|
|
+.glass-edge{
|
|
|
+ position:relative;
|
|
|
+ border:1px solid transparent;
|
|
|
+ background:
|
|
|
+ linear-gradient(158deg, rgba(255,255,255,.60) 0%, rgba(255,255,255,.34) 46%, rgba(255,255,255,.42) 100%) padding-box,
|
|
|
+ linear-gradient(158deg,
|
|
|
+ rgba(255,255,255,1) 0%,
|
|
|
+ rgba(255,255,255,.82) 14%,
|
|
|
+ rgba(255,255,255,.30) 46%,
|
|
|
+ rgba(255,255,255,.10) 74%,
|
|
|
+ rgba(255,255,255,.55) 100%) border-box;
|
|
|
+ -webkit-backdrop-filter:var(--blur-2);backdrop-filter:var(--blur-2);
|
|
|
+ box-shadow:
|
|
|
+ inset 0 1px 0 rgba(255,255,255,.92), /* 顶部折光 */
|
|
|
+ inset 0 -1px 0 rgba(32,48,90,.075), /* 底部折光落暗 */
|
|
|
+ inset 1px 0 0 rgba(255,255,255,.42), /* 左缘 */
|
|
|
+ inset -1px 0 0 rgba(32,48,90,.035), /* 右缘偏暗 */
|
|
|
+ 0 1px 0 rgba(255,255,255,.55), /* 外缘亮线:厚度感 */
|
|
|
+ 0 18px 40px -26px rgba(32,48,90,.30);
|
|
|
+}
|
|
|
+
|
|
|
+/* ---------- 2. 机会卡片池 ---------- */
|
|
|
+.ogrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px;margin:14px 0 0;padding:0;list-style:none}
|
|
|
+.ogrid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
|
+
|
|
|
+.ocard{
|
|
|
+ position:relative;display:flex;flex-direction:column;gap:9px;
|
|
|
+ padding:15px 17px 13px;border-radius:var(--r-lg);overflow:hidden;
|
|
|
+ cursor:pointer;outline:none;
|
|
|
+ color:var(--ink);text-decoration:none;
|
|
|
+ transition:transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, background .28s ease;
|
|
|
+ transform:translateY(0);
|
|
|
+ /* 三层中的 L2:比面板实,比抽屉虚 */
|
|
|
+ background:
|
|
|
+ linear-gradient(158deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.38) 48%, rgba(255,255,255,.46) 100%) padding-box,
|
|
|
+ linear-gradient(158deg,
|
|
|
+ rgba(255,255,255,1) 0%,
|
|
|
+ rgba(255,255,255,.84) 13%,
|
|
|
+ rgba(255,255,255,.30) 47%,
|
|
|
+ rgba(255,255,255,.10) 75%,
|
|
|
+ rgba(255,255,255,.58) 100%) border-box;
|
|
|
+ border:1px solid transparent;
|
|
|
+ /* 浮起的卡(L2)比中层面板光更"聚":模糊值更大、饱和度更高——这是第二层纵深的标志 */
|
|
|
+ -webkit-backdrop-filter:blur(34px) saturate(190%);backdrop-filter:blur(34px) saturate(190%);
|
|
|
+ box-shadow:
|
|
|
+ inset 0 1px 0 rgba(255,255,255,.95),
|
|
|
+ inset 0 -1px 0 rgba(32,48,90,.08),
|
|
|
+ inset 1px 0 0 rgba(255,255,255,.45),
|
|
|
+ inset -1px 0 0 rgba(32,48,90,.035),
|
|
|
+ 0 1px 0 rgba(255,255,255,.6),
|
|
|
+ 0 16px 36px -24px rgba(32,48,90,.30);
|
|
|
+}
|
|
|
+/* 光谱高光:左上角一小片冷色光,示意"光穿过玻璃后被分开" */
|
|
|
+.ocard::before{
|
|
|
+ content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:0;
|
|
|
+ background:
|
|
|
+ radial-gradient(62% 46% at 0% 0%, rgba(255,255,255,.40), rgba(255,255,255,0) 62%),
|
|
|
+ radial-gradient(46% 36% at 8% 2%, rgba(170,200,255,.16), rgba(170,200,255,0) 70%),
|
|
|
+ radial-gradient(30% 26% at 0% 26%, rgba(255,214,214,.12), rgba(255,214,214,0) 70%);
|
|
|
+ opacity:.8;
|
|
|
+ transition:opacity .28s;
|
|
|
+}
|
|
|
+/* 扫光:跟随指针(--mx/--my 由 app.js 写入),静止时在左上 */
|
|
|
+.ocard-sheen{
|
|
|
+ position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;z-index:0;
|
|
|
+ background:radial-gradient(320px circle at var(--mx,16%) var(--my,0%), rgba(255,255,255,.42), rgba(255,255,255,0) 58%);
|
|
|
+ opacity:0;transition:opacity .3s ease;
|
|
|
+}
|
|
|
+.ocard > *:not(.ocard-sheen){position:relative;z-index:1}
|
|
|
+.ocard:hover,.ocard:focus-visible{
|
|
|
+ transform:translateY(-3px);
|
|
|
+ box-shadow:
|
|
|
+ inset 0 1px 0 #fff,
|
|
|
+ inset 0 -1px 0 rgba(32,48,90,.09),
|
|
|
+ inset 1px 0 0 rgba(255,255,255,.55),
|
|
|
+ inset -1px 0 0 rgba(32,48,90,.04),
|
|
|
+ 0 1px 0 rgba(255,255,255,.7),
|
|
|
+ 0 30px 54px -30px rgba(32,48,90,.42),
|
|
|
+ 0 2px 6px -2px rgba(32,48,90,.08);
|
|
|
+}
|
|
|
+.ocard:hover .ocard-sheen,.ocard:focus-visible .ocard-sheen{opacity:1}
|
|
|
+.ocard:hover::before{opacity:1}
|
|
|
+
|
|
|
+/* 否决卡:退后一档(更淡、更灰),但仍可读 */
|
|
|
+.ocard.st-rejected{background:
|
|
|
+ linear-gradient(158deg, rgba(248,249,252,.66) 0%, rgba(244,246,250,.50) 60%, rgba(244,246,250,.56) 100%) padding-box,
|
|
|
+ linear-gradient(158deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.14) 100%) border-box}
|
|
|
+.ocard.st-rejected .o-title{color:var(--ink-2)}
|
|
|
+.ocard.st-approved{border-color:transparent}
|
|
|
+
|
|
|
+/* 卡头 */
|
|
|
+.o-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11.5px}
|
|
|
+.o-top-r{margin-left:auto;display:flex;align-items:center;gap:6px}
|
|
|
+.o-prio{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.3px;
|
|
|
+ font-family:var(--font-num);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 1px 0 rgba(255,255,255,.6)}
|
|
|
+.o-prio.p-S{background:linear-gradient(150deg,rgba(29,92,240,.16),rgba(29,92,240,.07));color:var(--accent-ink)}
|
|
|
+.o-prio.p-A{background:linear-gradient(150deg,rgba(24,34,56,.10),rgba(24,34,56,.04));color:var(--ink)}
|
|
|
+.o-prio.p-B{background:linear-gradient(150deg,rgba(24,34,56,.06),rgba(24,34,56,.02));color:var(--ink-2)}
|
|
|
+.o-prio.none{background:rgba(24,34,56,.04);color:var(--ink-3);font-weight:500}
|
|
|
+.o-cat{color:var(--ink-2);padding:0 6px;height:20px;display:inline-flex;align-items:center;border-radius:6px;background:rgba(255,255,255,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);font-size:11.5px}
|
|
|
+.o-stage{color:var(--ink-3);font-size:11.5px;white-space:nowrap}
|
|
|
+.o-status{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap}
|
|
|
+.o-status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
|
|
|
+.o-status.s-candidate{color:var(--accent-ink);background:rgba(29,92,240,.10);box-shadow:inset 0 0 0 1px rgba(29,92,240,.16)}
|
|
|
+.o-status.s-approved{color:var(--ok);background:rgba(20,122,85,.10);box-shadow:inset 0 0 0 1px rgba(20,122,85,.18)}
|
|
|
+.o-status.s-rejected{color:var(--ink-3);background:rgba(24,34,56,.06);box-shadow:inset 0 0 0 1px rgba(24,34,56,.08)}
|
|
|
+
|
|
|
+/* 标题 + 一句话 */
|
|
|
+.o-title{font-size:16px;font-weight:650;line-height:1.38;letter-spacing:-.1px;color:var(--ink);margin:1px 0 0}
|
|
|
+.o-line{font-size:12.5px;line-height:1.6;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
|
+.o-line.none{color:var(--ink-3);font-style:italic}
|
|
|
+
|
|
|
+/* 概览:评分 + 三个数 */
|
|
|
+.o-overview{display:flex;align-items:stretch;gap:12px;margin-top:2px;padding:10px 12px;border-radius:12px;
|
|
|
+ background:linear-gradient(150deg,rgba(255,255,255,.56),rgba(255,255,255,.30));
|
|
|
+ box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.55)}
|
|
|
+.o-score{display:flex;flex-direction:column;justify-content:center;min-width:74px;padding-right:12px;border-right:1px solid rgba(24,34,56,.08)}
|
|
|
+.o-score-v{display:flex;align-items:baseline;gap:3px}
|
|
|
+.o-score-v b{font-family:var(--font-num);font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1;color:var(--accent-ink);text-shadow:var(--num-glow)}
|
|
|
+.o-score-l{font-size:11px;color:var(--ink-3)}
|
|
|
+.o-score.empty .o-score-v b{color:var(--ink-3);text-shadow:none}
|
|
|
+.o-score-m{font-size:11px;color:var(--ink-3);margin-top:4px;display:flex;flex-direction:column;gap:4px}
|
|
|
+.o-gauge{display:block;height:3px;border-radius:2px;background:rgba(24,34,56,.08);overflow:hidden}
|
|
|
+.o-gauge i{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,rgba(29,92,240,.55),rgba(29,92,240,.9))}
|
|
|
+.o-stats{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;flex:1;min-width:0}
|
|
|
+.o-stat{display:flex;flex-direction:column;gap:1px;font-size:10.5px;color:var(--ink-3);line-height:1.3}
|
|
|
+.o-stat b{font-size:13px;font-weight:600;color:var(--ink);letter-spacing:0}
|
|
|
+.o-stat.ev-high b{color:var(--ok)}
|
|
|
+.o-stat.ev-medium b{color:var(--ink)}
|
|
|
+.o-stat.ev-low b{color:var(--warn)}
|
|
|
+.o-stat.ev-none b{color:var(--ink-3)}
|
|
|
+
|
|
|
+/* 决策 + 来源 */
|
|
|
+.o-dec{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-2);line-height:1.5}
|
|
|
+.o-dec b{font-size:11px;font-weight:600;color:var(--ink-3);letter-spacing:.3px;padding:1px 6px;border-radius:5px;background:rgba(29,92,240,.07);color:var(--accent-ink)}
|
|
|
+.o-dec.none{color:var(--ink-3)}
|
|
|
+.o-dec.none b{background:rgba(24,34,56,.05);color:var(--ink-3)}
|
|
|
+.o-dec-l{font-weight:600;color:var(--ink)}
|
|
|
+.o-dec.d-reject .o-dec-l{color:var(--risk)}
|
|
|
+.o-dec.d-approve .o-dec-l{color:var(--ok)}
|
|
|
+.o-dec-by{margin-left:auto;font-size:11.5px;color:var(--ink-3);white-space:nowrap}
|
|
|
+.o-why{margin-top:-4px}
|
|
|
+.o-why summary{font-size:11.5px;color:var(--ink-3);cursor:pointer;width:max-content}
|
|
|
+.o-why p{font-size:12px;color:var(--ink-2);line-height:1.65;margin-top:6px;padding-left:10px;box-shadow:inset 2px 0 0 rgba(29,92,240,.18)}
|
|
|
+.o-source{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:9px;border-top:1px solid rgba(24,34,56,.07);font-size:11.5px;color:var(--ink-2)}
|
|
|
+.o-source .cell-person{font-size:12px}
|
|
|
+.cell-person{display:inline-flex}
|
|
|
+.cell-person .sub{display:inline;margin:0 0 0 6px;font-size:11.5px;color:var(--ink-3)}
|
|
|
+.o-source .avatar{width:20px;height:20px;font-size:10px}
|
|
|
+.o-arrow{width:12px;height:1px;background:rgba(24,34,56,.18);position:relative}
|
|
|
+.o-arrow::after{content:"";position:absolute;right:0;top:-2px;width:5px;height:5px;border-top:1px solid rgba(24,34,56,.28);border-right:1px solid rgba(24,34,56,.28);transform:rotate(45deg)}
|
|
|
+.o-agent{display:inline-flex;align-items:center;gap:5px;color:var(--ink);font-weight:500}
|
|
|
+.o-agent::before{content:"";width:14px;height:14px;border-radius:4px;background:conic-gradient(from 210deg,rgba(29,92,240,.5),rgba(159,240,212,.7),rgba(227,211,255,.7),rgba(29,92,240,.5));box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
|
|
|
+.o-method{font-size:11px;color:var(--ink-2);padding:1px 6px;border-radius:5px;background:rgba(255,255,255,.5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
|
|
|
+.o-method.none{color:var(--warn)}
|
|
|
+.o-when{margin-left:auto;font-size:11px;color:var(--ink-3);white-space:nowrap}
|
|
|
+.o-source.partial{box-shadow:inset 0 1px 0 rgba(24,34,56,.07)}
|
|
|
+
|
|
|
+.pool-foot{margin-top:14px}
|
|
|
+
|
|
|
+/* ---------- 3. 卡片抽屉里的控件 ---------- */
|
|
|
+.o-drawer-line{font-size:14px;line-height:1.7;color:var(--ink-2);margin-bottom:16px}
|
|
|
+.o-evidence-big{display:flex;gap:18px;align-items:center;padding:14px 16px;border-radius:14px;margin-bottom:22px;
|
|
|
+ background:linear-gradient(150deg,rgba(255,255,255,.62),rgba(255,255,255,.36));
|
|
|
+ box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(32,48,90,.06)}
|
|
|
+.o-evidence-big .o-score{border-right:1px solid rgba(24,34,56,.09)}
|
|
|
+.o-drawer-dec .o-dec{font-size:13px}
|
|
|
+.o-drawer-dec .o-dec.none{font-size:13px}
|
|
|
+.o-drawer-dec .o-dec b,.o-evidence-big .o-score-l{white-space:nowrap}
|
|
|
+.o-evidence-big .o-score{min-width:96px}
|
|
|
+.o-reason{font-size:13px;line-height:1.7;color:var(--ink-2);margin-top:8px;padding-left:10px;box-shadow:inset 2px 0 0 rgba(29,92,240,.2)}
|
|
|
+.o-drawer-actions{display:flex;align-items:center;gap:12px;margin-top:14px}
|
|
|
+.seg-btn-group{display:inline-flex;padding:3px;border-radius:10px;background:rgba(255,255,255,.4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)}
|
|
|
+.seg-btn{height:28px;padding:0 13px;border-radius:8px;font-size:12.5px;color:var(--ink-2);transition:background .15s,color .15s}
|
|
|
+.seg-btn:hover{background:rgba(255,255,255,.6);color:var(--ink)}
|
|
|
+.seg-btn.on{background:rgba(255,255,255,.98);color:var(--ink);box-shadow:var(--light-top),0 2px 6px -4px rgba(32,48,90,.35);font-weight:600}
|
|
|
+.o-input{width:100%;height:34px;margin-top:10px;padding:0 11px;border-radius:9px;border:1px solid rgba(255,255,255,.85);
|
|
|
+ background:rgba(255,255,255,.55);font-size:12.5px;outline:none;box-shadow:inset 0 1px 2px rgba(32,48,90,.05)}
|
|
|
+.o-input:focus{background:#fff;box-shadow:inset 0 0 0 1px rgba(29,92,240,.35)}
|
|
|
+.o-select{height:32px;margin-left:6px;padding:0 8px;border-radius:8px;border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.7);font-size:12.5px;outline:none}
|
|
|
+.o-dlog{list-style:none;padding:0;margin:14px 0 0;border-left:1px solid rgba(24,34,56,.1);padding-left:14px}
|
|
|
+.o-dlog li{padding:6px 0;font-size:12px}
|
|
|
+.o-dlog-t{font-weight:600;color:var(--ink)}
|
|
|
+.o-dlog-m{color:var(--ink-3);margin-left:8px;font-variant-numeric:tabular-nums}
|
|
|
+.o-dlog p{color:var(--ink-2);margin-top:3px;line-height:1.6}
|
|
|
+.o-dims{display:grid;gap:8px;margin-bottom:12px}
|
|
|
+.o-dim{display:grid;grid-template-columns:104px minmax(0,1fr) 38px;align-items:center;gap:10px}
|
|
|
+.o-dim-l{font-size:12px;color:var(--ink-2)}
|
|
|
+.o-dim-l em{font-style:normal;color:var(--ink-3);font-size:10.5px;margin-left:4px}
|
|
|
+.o-dim input[type=range]{width:100%;accent-color:var(--accent)}
|
|
|
+.o-dim output{font-family:var(--font-num);font-size:13px;color:var(--ink);text-align:right}
|
|
|
+.o-scoreform{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
|
|
|
+.o-scoreform .o-input{flex:1;min-width:160px;margin-top:0}
|
|
|
+.o-computed{font-size:12.5px;color:var(--ink-3)}
|
|
|
+.o-computed b{font-size:18px;color:var(--accent-ink);margin-left:4px;text-shadow:var(--num-glow)}
|
|
|
+.o-scorelist{margin-top:14px}
|
|
|
+.o-srow{display:grid;grid-template-columns:64px 40px minmax(0,1fr) auto;gap:8px;align-items:baseline;padding:7px 0;border-bottom:1px solid var(--rule);font-size:12.5px}
|
|
|
+.o-srow:last-child{border-bottom:0}
|
|
|
+.o-su{font-weight:500;color:var(--ink)}
|
|
|
+.o-sv{font-family:var(--font-num);font-weight:650;font-size:16px;color:var(--ink)}
|
|
|
+.o-st{white-space:nowrap}
|
|
|
+.o-sc{color:var(--ink-2);line-height:1.5}
|
|
|
+.o-st{color:var(--ink-3);font-size:11.5px}
|
|
|
+.o-source-grid .v{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
|
|
|
+
|
|
|
+/* ---------- 4. 工作台 ---------- */
|
|
|
+.wb-sec{margin-top:38px}
|
|
|
+.wb-sec:first-of-type{margin-top:0}
|
|
|
+.wb-sec .sec{margin-top:0}
|
|
|
+.sec-sub h3{font-size:13.5px;font-weight:600}
|
|
|
+.sec-sub{margin-top:24px !important}
|
|
|
+
|
|
|
+/* 给我的 */
|
|
|
+.wb-me{padding:16px 18px;border-radius:var(--r-lg);background:linear-gradient(155deg,rgba(255,255,255,.5),rgba(255,255,255,.26));
|
|
|
+ -webkit-backdrop-filter:var(--blur-1);backdrop-filter:var(--blur-1);
|
|
|
+ box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.55),0 14px 34px -26px rgba(32,48,90,.3)}
|
|
|
+.me-bar{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(24,34,56,.07)}
|
|
|
+.avatar.lg{width:38px;height:38px;font-size:13px}
|
|
|
+.tb-label{font-size:11px;color:var(--ink-3)}
|
|
|
+.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
|
|
|
+.me-pick select{height:32px;padding:0 28px 0 10px;border-radius:9px;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.72);
|
|
|
+ font-size:14px;font-weight:600;color:var(--ink);outline:none;box-shadow:var(--light-top),0 2px 8px -6px rgba(32,48,90,.35);appearance:none;
|
|
|
+ background-image:linear-gradient(45deg,transparent 50%,var(--ink-3) 50%),linear-gradient(135deg,var(--ink-3) 50%,transparent 50%);
|
|
|
+ background-position:calc(100% - 15px) 13px,calc(100% - 10px) 13px;background-size:5px 5px;background-repeat:no-repeat}
|
|
|
+.me-pick select:focus{box-shadow:0 0 0 3px var(--accent-wash),var(--light-top)}
|
|
|
+.wb-empty-me{margin:14px 0 10px;font-size:13px;color:var(--ink-2);line-height:1.7}
|
|
|
+.me-preview{display:flex;flex-wrap:wrap;gap:6px}
|
|
|
+.me-chip{font-size:12px;color:var(--ink-2);padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.55);box-shadow:inset 0 0 0 1px rgba(255,255,255,.85)}
|
|
|
+.wb-me-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
|
|
|
+.me-stat{padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.6)}
|
|
|
+.me-stat b{display:block;font-family:var(--font-num);font-size:26px;font-weight:650;letter-spacing:-.8px;line-height:1.1;color:var(--accent-ink);text-shadow:var(--num-glow)}
|
|
|
+.me-stat span{display:block;font-size:11.5px;color:var(--ink-3);margin-top:4px;line-height:1.45}
|
|
|
+.me-stat.warn b{color:var(--warn);text-shadow:none}
|
|
|
+.wb-me-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;align-items:start}
|
|
|
+.me-table .tbl thead th{background:rgba(255,255,255,.4)}
|
|
|
+.me-stage.state-todo .ttl{color:var(--ink-2)}
|
|
|
+.me-stage.state-cur .ttl{color:var(--ink)}
|
|
|
+.me-recent .panel-head a{font-size:12px;color:var(--accent-ink)}
|
|
|
+.me-art{display:block;width:100%;text-align:left;padding:11px 16px;border-bottom:1px solid var(--rule);transition:background .15s}
|
|
|
+.me-art:last-child{border-bottom:0}
|
|
|
+.me-art:hover{background:rgba(255,255,255,.5)}
|
|
|
+.me-art-t{display:block;font-size:13px;font-weight:500;color:var(--ink)}
|
|
|
+.me-art-m{display:block;font-size:11.5px;color:var(--ink-3);margin-top:2px}
|
|
|
+
|
|
|
+/* 池子 hero */
|
|
|
+.glass-3{position:relative;border-radius:var(--r-lg);border:1px solid transparent;
|
|
|
+ background:
|
|
|
+ linear-gradient(160deg, rgba(255,255,255,.70), rgba(255,255,255,.46)) padding-box,
|
|
|
+ linear-gradient(160deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.8) 20%, rgba(255,255,255,.25) 60%, rgba(255,255,255,.6) 100%) border-box;
|
|
|
+ -webkit-backdrop-filter:blur(40px) saturate(200%);backdrop-filter:blur(40px) saturate(200%);
|
|
|
+ box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(32,48,90,.08),0 24px 50px -32px rgba(32,48,90,.36)}
|
|
|
+.pool-hero{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,.7fr)) minmax(0,1.4fr);gap:0;align-items:stretch;padding:0}
|
|
|
+.pool-hero > *{padding:18px 20px;position:relative}
|
|
|
+.pool-hero > * + *{box-shadow:inset 1px 0 0 rgba(255,255,255,.55),inset 1px 0 0 rgba(24,34,56,.05)}
|
|
|
+.pool-num b{display:block;font-family:var(--font-num);font-size:46px;font-weight:650;letter-spacing:-2px;line-height:1;color:var(--accent-ink);text-shadow:var(--num-soft)}
|
|
|
+.pool-num span{display:block;font-size:12.5px;color:var(--ink-2);margin-top:4px}
|
|
|
+.pool-num em{display:block;font-style:normal;font-size:11.5px;color:var(--ink-3);margin-top:6px}
|
|
|
+.pool-stat b{display:block;font-family:var(--font-num);font-size:28px;font-weight:650;letter-spacing:-1px;line-height:1;color:var(--ink)}
|
|
|
+.pool-stat span{display:block;font-size:11.5px;color:var(--ink-3);margin-top:5px}
|
|
|
+.pool-best{display:flex;flex-direction:column;justify-content:center;gap:3px;background:linear-gradient(160deg,rgba(29,92,240,.06),rgba(255,255,255,0))}
|
|
|
+.pool-best span{font-size:11px;color:var(--ink-3)}
|
|
|
+.pool-best b{font-size:14px;color:var(--ink);line-height:1.4}
|
|
|
+.pool-best em{font-style:normal;font-size:12px;color:var(--accent-ink);font-weight:600}
|
|
|
+
|
|
|
+/* 现场看板 */
|
|
|
+.board-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
|
|
|
+.bs{padding:12px 16px;border-radius:14px;background:linear-gradient(155deg,rgba(255,255,255,.6),rgba(255,255,255,.34));
|
|
|
+ box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.6)}
|
|
|
+.bs b{font-family:var(--font-num);font-size:28px;font-weight:650;letter-spacing:-1px;line-height:1;color:var(--ink)}
|
|
|
+.bs span{font-size:12px;color:var(--ink-3);margin-left:8px}
|
|
|
+.bs.warn b{color:var(--warn)}
|
|
|
+.bs.risk b{color:var(--risk)}
|
|
|
+.wb-board{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px;align-items:start}
|
|
|
+table.matrix th,table.matrix td{text-align:right;padding:10px 12px}
|
|
|
+table.matrix th:first-child,table.matrix td:first-child{text-align:left;width:38%}
|
|
|
+.mcell{position:relative;font-family:var(--font-num);font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink);vertical-align:bottom}
|
|
|
+.mcell.cur{color:var(--accent-ink)}
|
|
|
+.mcell.off{color:var(--ink-4);font-weight:400}
|
|
|
+.mbar{position:absolute;left:34%;right:34%;bottom:4px;border-radius:2px;background:linear-gradient(180deg,rgba(29,92,240,.35),rgba(29,92,240,.12))}
|
|
|
+.matrix-l{white-space:nowrap}
|
|
|
+.mbar-h{display:inline-block;vertical-align:middle;width:70px;height:4px;border-radius:2px;background:rgba(24,34,56,.08);overflow:hidden;margin-right:8px}
|
|
|
+.mbar-h i{display:block;height:100%;background:rgba(24,34,56,.42);border-radius:2px}
|
|
|
+.stuck-box .panel-head h3{font-size:13.5px;font-weight:600}
|
|
|
+.stuck-list{display:grid;gap:8px}
|
|
|
+.stuck{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:2px 10px;padding:10px 12px;border-radius:12px;
|
|
|
+ background:linear-gradient(150deg,rgba(255,244,232,.62),rgba(255,255,255,.36));box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(138,90,0,.12);
|
|
|
+ color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}
|
|
|
+.stuck:hover{text-decoration:none;transform:translateY(-1px);box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(138,90,0,.2),0 10px 22px -16px rgba(32,48,90,.35)}
|
|
|
+.stuck .avatar{grid-row:span 2;border-color:rgba(255,255,255,.95);background:rgba(255,255,255,.8);color:var(--warn)}
|
|
|
+.stuck-n{font-size:13.5px;font-weight:600;color:var(--ink)}
|
|
|
+.stuck-s{font-size:11.5px;color:var(--warn);font-weight:600;justify-self:end;white-space:nowrap}
|
|
|
+.stuck-m{grid-column:2 / -1;font-size:11.5px;color:var(--ink-3)}
|
|
|
+.stuck-ok{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:var(--ink-2);line-height:1.65}
|
|
|
+.stuck-ok svg{width:15px;height:15px;flex:none;margin-top:1px;color:var(--ink-3)}
|
|
|
+
|
|
|
+/* 分板块产出 */
|
|
|
+.sb-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
|
|
|
+.stage-board{display:flex;flex-direction:column;gap:8px;padding:15px 16px 13px;border-radius:var(--r-lg);color:inherit;text-decoration:none;
|
|
|
+ background:
|
|
|
+ linear-gradient(158deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.34) 55%, rgba(255,255,255,.42) 100%) padding-box,
|
|
|
+ linear-gradient(160deg, rgba(255,255,255,1), rgba(255,255,255,.55) 30%, rgba(255,255,255,.14) 80%) border-box;
|
|
|
+ border:1px solid transparent;
|
|
|
+ box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(32,48,90,.06),0 14px 32px -26px rgba(32,48,90,.3);
|
|
|
+ transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
|
|
|
+.stage-board:hover{text-decoration:none;transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(32,48,90,.08),0 26px 44px -30px rgba(32,48,90,.4)}
|
|
|
+.sb-top{display:flex;align-items:baseline;gap:8px}
|
|
|
+.sb-no{font-family:var(--font-num);font-size:11px;font-weight:700;color:var(--accent-ink);padding:1px 6px;border-radius:5px;background:rgba(29,92,240,.08)}
|
|
|
+.sb-top h3{font-size:13px;font-weight:600;line-height:1.35;flex:1;color:var(--ink)}
|
|
|
+.sb-n{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}
|
|
|
+.sb-n b{font-family:var(--font-num);font-size:24px;font-weight:650;letter-spacing:-.8px;color:var(--ink)}
|
|
|
+.sb-n small{font-size:10.5px;color:var(--ink-3)}
|
|
|
+.sb-n em{font-style:normal;font-size:10.5px;color:var(--accent-ink);font-weight:600}
|
|
|
+.sb-produces{font-size:11px;color:var(--ink-3);padding-bottom:8px;border-bottom:1px solid rgba(24,34,56,.07)}
|
|
|
+.sb-list{display:grid;gap:7px;flex:1}
|
|
|
+.sb-list li{display:flex;flex-direction:column;gap:1px;min-width:0}
|
|
|
+.sb-list li.none{font-size:12px;color:var(--ink-3)}
|
|
|
+.sb-t{font-size:12.5px;color:var(--ink);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
+.sb-m{font-size:11px;color:var(--ink-3);display:flex;gap:5px;flex-wrap:wrap}
|
|
|
+.sb-m i{font-style:normal;color:var(--ink-4)}
|
|
|
+.sb-top h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
+.sb-foot{font-size:10.5px;color:var(--ink-3);padding-top:8px;border-top:1px solid rgba(24,34,56,.07)}
|
|
|
+
|
|
|
+/* 痛点 → 能力 */
|
|
|
+.pain-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}
|
|
|
+.pain-row a{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:13px 14px;border-radius:14px;color:inherit;text-decoration:none;
|
|
|
+ background:rgba(255,255,255,.36);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.6);transition:background .2s,transform .2s}
|
|
|
+.pain-row a:hover{background:rgba(255,255,255,.6);text-decoration:none;transform:translateY(-1px)}
|
|
|
+.pain-no{font-size:11px;font-weight:700;color:var(--ink-3);grid-row:1}
|
|
|
+.pain-p{font-size:12.5px;font-weight:600;color:var(--ink)}
|
|
|
+.pain-arrow{grid-column:1;color:var(--accent);font-size:13px;line-height:1.2}
|
|
|
+.pain-c{grid-column:2;font-size:11.5px;color:var(--ink-2);line-height:1.55}
|
|
|
+
|
|
|
+/* ---------- 5. 数字柔光(只用在"关键数字"上,文字本身仍是实色) ---------- */
|
|
|
+:root{
|
|
|
+ /* 柔光:低透明度、大半径,看起来是光晕不是描边;不改变字形对比 */
|
|
|
+ --num-glow:0 0 16px rgba(29,92,240,.16);
|
|
|
+ --num-soft:0 0 28px rgba(29,92,240,.22), 0 0 6px rgba(29,92,240,.08);
|
|
|
+ --num-plate:rgba(255,255,255,.46);
|
|
|
+}
|
|
|
+
|
|
|
+/* 浮层抽屉:三层里的第三层,最实、边光最强 */
|
|
|
+.drawer{
|
|
|
+ background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(255,255,255,.88)) !important;
|
|
|
+ -webkit-backdrop-filter:blur(44px) saturate(200%) !important;backdrop-filter:blur(44px) saturate(200%) !important;
|
|
|
+ box-shadow:
|
|
|
+ inset 0 1px 0 #fff,
|
|
|
+ inset 0 -1px 0 rgba(32,48,90,.08),
|
|
|
+ 0 1px 0 rgba(255,255,255,.7),
|
|
|
+ 0 50px 100px -40px rgba(32,48,90,.5),
|
|
|
+ 0 0 0 1px rgba(255,255,255,.4) !important;
|
|
|
+}
|
|
|
+
|
|
|
+/* toast */
|
|
|
+.toast{position:fixed;left:50%;bottom:26px;z-index:80;transform:translate(-50%,12px);opacity:0;pointer-events:none;
|
|
|
+ padding:10px 16px;border-radius:12px;font-size:13px;color:var(--ink);
|
|
|
+ background:rgba(255,255,255,.88);-webkit-backdrop-filter:var(--blur-3);backdrop-filter:var(--blur-3);
|
|
|
+ box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.9),0 20px 40px -20px rgba(32,48,90,.45);
|
|
|
+ transition:opacity .22s,transform .22s}
|
|
|
+.toast.on{opacity:1;transform:translate(-50%,0)}
|
|
|
+.toast[data-kind=err]{color:var(--risk);box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(166,58,44,.22),0 20px 40px -20px rgba(32,48,90,.45)}
|
|
|
+
|
|
|
+/* ---------- 6. 光场 v4:更柔、更慢、低对比 ---------- */
|
|
|
+.ambient .b1{filter:blur(120px);opacity:.55;animation-duration:130s}
|
|
|
+.ambient .b2{filter:blur(130px);opacity:.6;animation-duration:160s}
|
|
|
+.ambient .b3{filter:blur(120px);opacity:.5;animation-duration:145s}
|
|
|
+.ambient .b4{filter:blur(130px);opacity:.55;animation-duration:170s}
|
|
|
+.ambient::after{
|
|
|
+ /* 环境光:整页一层极淡的冷暖渐变,让光"铺满"而不是只停在四个角 */
|
|
|
+ content:"";position:absolute;inset:0;
|
|
|
+ background:
|
|
|
+ radial-gradient(90% 70% at 50% 110%, rgba(255,236,220,.35), rgba(255,236,220,0) 60%),
|
|
|
+ radial-gradient(80% 60% at 100% 40%, rgba(220,228,255,.28), rgba(220,228,255,0) 65%);
|
|
|
+}
|
|
|
+
|
|
|
+/* ---------- 7. 响应式 ---------- */
|
|
|
+@media (max-width:1280px){
|
|
|
+ .sb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
|
+ .pain-row{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
|
+ .ogrid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
+ .ogrid-3 .ocard:nth-child(3){grid-column:1 / -1}
|
|
|
+}
|
|
|
+@media (max-width:1180px){
|
|
|
+ .pool-hero{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
+ .wb-board{grid-template-columns:1fr}
|
|
|
+ .wb-me-body{grid-template-columns:1fr}
|
|
|
+ .wb-me-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
+ .sb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
+}
|
|
|
+@media (max-width:768px){
|
|
|
+ .ogrid,.ogrid-3{grid-template-columns:1fr}
|
|
|
+ .ogrid-3 .ocard:nth-child(3){grid-column:auto}
|
|
|
+ .pool-hero{grid-template-columns:1fr 1fr}
|
|
|
+ .pool-num,.pool-best{grid-column:1 / -1}
|
|
|
+ .board-strip{grid-template-columns:1fr 1fr}
|
|
|
+ .sb-grid,.pain-row{grid-template-columns:1fr}
|
|
|
+ .wb-me-stats{grid-template-columns:1fr 1fr}
|
|
|
+ .matrix-l{display:none}
|
|
|
+ table.matrix th.matrix-l,table.matrix td.matrix-l{display:none}
|
|
|
+ .o-why{display:none}
|
|
|
+ .o-srow{grid-template-columns:56px 34px minmax(0,1fr);}
|
|
|
+ .o-srow .o-st{display:none}
|
|
|
+}
|
|
|
+@media (prefers-reduced-motion:reduce){
|
|
|
+ .ocard:hover,.stage-board:hover,.stuck:hover{transform:none}
|
|
|
+}
|
|
|
+@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
|
|
|
+ .ocard,.glass-3,.wb-me,.stage-board,.bs,.pool-hero{background:rgba(255,255,255,.94)}
|
|
|
+ .ambient{opacity:.55}
|
|
|
+}
|