/* ============ 头部皮肤：每个角色是一套完全不同的视觉语言（字体 / 背景 / 搜索框 / 版式 / 装饰），不只是换色 ============ */
.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero[data-skin] .blob, .hero[data-skin] .hero-grid, .hero[data-skin] .hero-glow { display: none; }
.hero[data-skin] { --accent: var(--h-acc, #0066ff); }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes blink { to { opacity: 0; } }
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes tape-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 优化师 · 广告投放数据驾驶舱（暖白底 + 珊瑚橙：KPI 卡片、消耗进度 vs 日预算、时段热力、计划状态） ---------- */
.hero[data-skin="ads"] { --ink: #2a1f1a; --muted: #8a6f60; --hint: #c0a79a; --line-2: #f0d4c4; --h-acc: #ff6a2b;
  background: radial-gradient(720px 320px at 50% -8%, rgba(255,140,90,.28), transparent 68%), radial-gradient(420px 260px at 92% 30%, rgba(255,196,120,.3), transparent 70%), linear-gradient(180deg, #ffeadd 0%, #fff4ec 70%, var(--paper) 100%); }
.hero[data-skin="ads"] h1 { font-weight: 800; letter-spacing: .03em; color: #2a1f1a; }
.hero[data-skin="ads"] .sub { color: #c2562a; font-size: 14px; }
.hero[data-skin="ads"] .sub::before { content: '📣 '; }
.hero[data-skin="ads"] .search { background: #fff; border: 1px solid #ffd2bb; border-radius: 12px; box-shadow: 0 14px 36px -16px rgba(255,106,43,.45); }
.hero[data-skin="ads"] .search:focus-within { border-color: #ff6a2b; box-shadow: 0 0 0 3px rgba(255,106,43,.18), 0 14px 36px -16px rgba(255,106,43,.5); }
.ads-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,106,43,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,106,43,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(80% 100% at 50% 0, #000, transparent 88%); mask-image: radial-gradient(80% 100% at 50% 0, #000, transparent 88%); }
.ads-live { display: none; }
.ads-kpi { position: absolute; width: 164px; padding: 11px 14px 9px; border-radius: 14px; background: rgba(255,255,255,.92); border: 1px solid #ffe3d4; box-shadow: 0 14px 30px -16px rgba(255,106,43,.45); display: grid; grid-template-columns: 1fr auto; row-gap: 1px; }
.ads-kpi > span { font-size: 11.5px; color: #9a7b6a; } .ads-kpi > b { grid-column: 1 / 2; font-size: 21px; font-weight: 700; color: #2a1f1a; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ads-kpi > em { font: 600 11px sans-serif; font-style: normal; align-self: end; } .ads-kpi > em.up { color: #e5342d; } .ads-kpi > em.dn { color: #12a370; } .ads-kpi .sp { grid-column: 2; grid-row: 1 / 3; width: 56px; height: 22px; align-self: center; } .ads-kpi svg { width: 100%; height: 100%; overflow: visible; } .ads-kpi polyline { fill: none; stroke: #ff6a2b; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ads-kpi.l1 { left: max(32px, calc(50% - 706px)); top: 96px; } .ads-kpi.l2 { left: max(32px, calc(50% - 706px)); top: 178px; }
.ads-kpi.r1 { right: max(32px, calc(50% - 706px)); top: 96px; } .ads-kpi.r2 { right: max(32px, calc(50% - 706px)); top: 178px; }
.ads-tape { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: rgba(255,255,255,.7); border-top: 1px solid #ffd9c4; overflow: hidden; display: flex; align-items: center; backdrop-filter: blur(6px); }
.ads-track { display: flex; flex: none; gap: 40px; white-space: nowrap; animation: tape 56s linear infinite; font-size: 12px; color: #8a6f60; padding-left: 40px; }
.ads-track span { display: inline-flex; align-items: center; gap: 7px; } .ads-track b { color: #2a1f1a; font-weight: 600; } .ads-track i { width: 6px; height: 6px; border-radius: 50%; background: #12a370; } .ads-track .wait i { background: #f5a524; } .ads-track .warn i { background: #ef4444; } .ads-track .warn { color: #d9534f; }
.hero[data-skin="ads"] .hero-body { padding-bottom: 150px; }

/* ---------- 运营 · 直播间 / 社群（极光渐变、渐变大字、胶囊搜索、通知卡片、飘心） ---------- */

/* ---------- 开发 · 浅色代码编辑器（GitHub Light 配色：等宽字、闪烁光标、行号 + 终端 + 蓝色状态栏） ---------- */
.hero[data-skin="dev"] { --ink: #e6edf3; --muted: #9da7b3; --hint: #6e7681; --line-2: #30363d; --h-acc: #58a6ff;
  background: radial-gradient(620px 280px at 50% -10%, rgba(56,139,253,.22), transparent 70%), linear-gradient(180deg, #0d1117 0%, #111826 100%); }
.hero[data-skin="dev"] h1 { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", monospace; font-weight: 700; letter-spacing: 0; font-size: 50px; color: #e6edf3; }
.hero[data-skin="dev"] h1::before { content: '> '; color: #3fb950; }
.hero[data-skin="dev"] h1::after { content: '▍'; color: #3fb950; margin-left: 6px; font-weight: 400; animation: blink 1.05s steps(2, start) infinite; }
.hero[data-skin="dev"] .sub { color: #9da7b3; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero[data-skin="dev"] .sub::before { content: '// '; color: #3fb950; }
.hero[data-skin="dev"] .search { background: #161b22; border-color: #30363d; border-radius: 8px; box-shadow: 0 12px 28px -16px rgba(0,0,0,.6); }
.hero[data-skin="dev"] .search:focus-within { border-color: #58a6ff; box-shadow: 0 0 0 3px rgba(88,166,255,.25); }
.hero[data-skin="dev"] .hero-body { padding-bottom: 104px; }
.dev-code { position: absolute; left: max(32px, calc(50% - 706px)); top: 84px; margin: 0; font: 12px/20px ui-monospace, SFMono-Regular, Menlo, monospace; color: #adbac7; counter-reset: ln; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent); mask-image: linear-gradient(90deg, #000 45%, transparent); }
.dev-code div { counter-increment: ln; white-space: pre; } .dev-code div::before { content: counter(ln); display: inline-block; width: 24px; margin-right: 16px; text-align: right; color: #545d68; }
.dev-code .k { color: #ff7b72; } .dev-code .s { color: #a5d6ff; } .dev-code .f { color: #d2a8ff; } .dev-code .c { color: #8b949e; } .dev-code .n { color: #79c0ff; }
.dev-term { position: absolute; right: max(32px, calc(50% - 706px)); top: 96px; width: 290px; background: #161b22; border: 1px solid #30363d; border-radius: 10px; box-shadow: 0 16px 36px -20px rgba(0,0,0,.5); color: #c9d1d9; overflow: hidden; }
.dev-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #21262d; border-bottom: 1px solid #30363d; font: 11px sans-serif; color: #8b949e; } .dev-bar i { width: 9px; height: 9px; border-radius: 50%; } .dev-bar i:nth-child(1) { background: #ff5f57; } .dev-bar i:nth-child(2) { background: #febc2e; } .dev-bar i:nth-child(3) { background: #28c840; } .dev-bar span { margin-left: 8px; }
.dev-term pre { margin: 0; padding: 10px 14px; height: 116px; font: 12px/18px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; } .dev-term .g { color: #3fb950; } .dev-term .b { color: #79c0ff; } .dev-term .caret { display: inline-block; width: 7px; height: 13px; background: #3fb950; vertical-align: -2px; animation: blink 1s steps(2, start) infinite; }
.dev-status { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: #1f6feb; display: flex; align-items: center; gap: 18px; padding: 0 14px; font: 11px ui-monospace, Menlo, monospace; color: #fff; white-space: nowrap; } .dev-status em { flex: 1; }

/* ---------- 商务 · 经典商务刊物（象牙纸、宋体大字、金线边框、朱红印章、喜报） ---------- */
.hero[data-skin="biz"] { --ink: #1f2a44; --muted: #7a6a4f; --hint: #b3a58a; --line-2: #d9c79d; --h-acc: #b8893b;
  background: radial-gradient(700px 300px at 50% 0, rgba(255,255,255,.7), transparent 70%), linear-gradient(180deg, #f1e7d1 0%, #f7f0e2 62%, var(--paper) 100%); }
.hero[data-skin="biz"] h1 { font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif; font-weight: 900; letter-spacing: .16em; text-indent: .16em; font-size: 54px; color: #1f2a44; }
.hero[data-skin="biz"] .sub { font-family: "Songti SC", "STSong", "Noto Serif SC", serif; letter-spacing: .16em; color: #7a6a4f; font-size: 14px; }
.hero[data-skin="biz"] .sub::before { content: '◆  '; color: #b8893b; font-size: 9px; vertical-align: 2px; } .hero[data-skin="biz"] .sub::after { content: '  ◆'; color: #b8893b; font-size: 9px; vertical-align: 2px; }
.hero[data-skin="biz"] .search { background: #fffdf8; border: 1px solid #cdb27a; border-radius: 2px; box-shadow: 0 14px 30px -20px rgba(120,90,30,.55); }
.hero[data-skin="biz"] .search:focus-within { border-color: #b8893b; box-shadow: 0 0 0 3px rgba(184,137,59,.2); }
.bz-c { position: absolute; width: 36px; height: 36px; border: 1.5px solid #b8893b; opacity: .75; }
.bz-c.tl { left: 22px; top: 22px; border-right: 0; border-bottom: 0; } .bz-c.tr { right: 22px; top: 22px; border-left: 0; border-bottom: 0; } .bz-c.bl { left: 22px; bottom: 22px; border-right: 0; border-top: 0; } .bz-c.br { right: 22px; bottom: 22px; border-left: 0; border-top: 0; }
.bz-seal { position: absolute; left: calc(50% + 310px); top: 108px; width: 72px; height: 72px; border: 3px solid #c0392b; border-radius: 6px; color: #c0392b; font: 900 22px/1.15 "Songti SC", "STSong", serif; display: flex; flex-direction: column; align-items: center; justify-content: center; mix-blend-mode: multiply; transform: rotate(-9deg); animation: stamp 9s infinite; }
@keyframes stamp { 0%, 6% { opacity: 0; transform: rotate(-9deg) scale(2.1); } 10% { opacity: .92; transform: rotate(-9deg) scale(.92); } 12%, 90% { opacity: .92; transform: rotate(-9deg) scale(1); } 100% { opacity: 0; transform: rotate(-9deg) scale(1); } }
.bz-news { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; padding: 4px 14px 4px 4px; border-radius: 2px; background: rgba(250,246,236,.92); border: 1px solid #e3d3ab; text-align: center; font: 13px "Songti SC", "STSong", serif; color: #7a6a4f; letter-spacing: .06em; transition: opacity .4s; }
.bz-news b { background: #c0392b; color: #fff; padding: 1px 9px; margin-right: 10px; letter-spacing: .3em; font-weight: 600; }

/* ---------- 设计师 · 设计软件画布（点阵画布、标尺、选中框 + 尺寸标注、参考线、多人光标） ---------- */
.hero[data-skin="design"] { --ink: #111; --muted: #6b7280; --hint: #a1a1aa; --line-2: #d4d4d8; --h-acc: #0d99ff;
  background-color: #f4f4f5; background-image: linear-gradient(180deg, transparent 68%, var(--paper) 100%), radial-gradient(#cfcfd6 1px, transparent 1.3px); background-size: 100% 100%, 22px 22px; }
.hero[data-skin="design"] h1 { font-weight: 800; letter-spacing: -.01em; text-indent: 0; color: #111; }
.hero[data-skin="design"] h1 em { color: #9747ff; }
.hero[data-skin="design"] .sub { color: #6b7280; }
.hero[data-skin="design"] .search { border-radius: 8px; border: 1px solid #d4d4d8; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 24px -16px rgba(0,0,0,.25); }
.hero[data-skin="design"] .search:focus-within { border-color: #0d99ff; box-shadow: 0 0 0 2px rgba(13,153,255,.25); }
.fg-rt { position: absolute; left: 20px; right: 0; top: 0; height: 20px; background: #fafafa; border-bottom: 1px solid #e4e4e7; background-image: repeating-linear-gradient(90deg, #a1a1aa 0 1px, transparent 1px 10px); background-size: 100% 6px; background-repeat: repeat-x; background-position: left bottom; }
.fg-rl { position: absolute; left: 0; top: 20px; bottom: 0; width: 20px; background: #fafafa; border-right: 1px solid #e4e4e7; background-image: repeating-linear-gradient(180deg, #a1a1aa 0 1px, transparent 1px 10px); background-size: 6px 100%; background-repeat: repeat-y; background-position: right top; }
.fg-corner { position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: #f0f0f2; border-right: 1px solid #e4e4e7; border-bottom: 1px solid #e4e4e7; }
.fg-rt span { position: absolute; top: 2px; font: 9px sans-serif; color: #a1a1aa; }
.fg-name { position: absolute; left: 34px; bottom: 14px; font: 11px sans-serif; color: #9ca3af; }
.fg-g { position: absolute; background: #f24e1e; opacity: .5; } .fg-g.h { left: 20px; right: 0; height: 1px; } .fg-g.v { top: 20px; bottom: 0; width: 1px; }
.fg-sel { position: absolute; border: 1.5px solid #0d99ff; border-radius: 1px; transition: all .3s; }
.fg-sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid #0d99ff; border-radius: 1px; }
.fg-sel .a { left: -5px; top: -5px; } .fg-sel .b { right: -5px; top: -5px; } .fg-sel .c { left: -5px; bottom: -5px; } .fg-sel .d { right: -5px; bottom: -5px; }
.fg-tag { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 9px); background: #0d99ff; color: #fff; font: 600 11px sans-serif; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }

/* ---------- 素材设计 · 新粗野波普海报（亮黄、黑粗边、硬阴影、贴纸、斜贴跑马带） ---------- */
.hero[data-skin="creative"] { --ink: #111; --muted: #111; --hint: #6b6b6b; --line-2: #111; --h-acc: #ff3d81; border-bottom: 2px solid #111;
  background-color: #ffe27a; background-image: radial-gradient(rgba(0,0,0,.08) 1.2px, transparent 1.6px); background-size: 18px 18px; }
.hero[data-skin="creative"] .brand, .hero[data-skin="creative"] .admin-link { font-weight: 700; }
.hero[data-skin="creative"] h1 { font-weight: 900; color: #111; letter-spacing: .02em; }
.hero[data-skin="creative"] h1 em { color: #ff3d81; }
.hero[data-skin="creative"] .sub { display: inline-block; background: #111; color: #ffd84d; font-weight: 800; padding: 6px 16px; border-radius: 999px; font-size: 14px; }
.hero[data-skin="creative"] .search { background: #fff; border: 2px solid #111; border-radius: 12px; box-shadow: 3px 3px 0 #111; transition: transform .12s, box-shadow .12s; }
.hero[data-skin="creative"] .search:focus-within { border-color: #111; transform: translate(2px, 2px); box-shadow: 1px 1px 0 #111; }
.hero[data-skin="creative"] .hero-body { padding-bottom: 86px; }
.hero[data-skin="creative"] :is(.cr-clap, .cr-pill, .cr-frame, .cr-tape) { display: none; }
.cr-card { position: absolute; top: 92px; width: 190px; padding: 10px 12px; border: 2px solid #111; border-radius: 12px; background: #fffdf5; box-shadow: 3px 3px 0 #111; font-size: 12px; color: #111; }
.cr-flow { left: max(32px, calc(50% - 706px)); } .cr-prev { right: max(32px, calc(50% - 706px)); width: 170px; }
.cr-h { display: flex; justify-content: space-between; font-weight: 800; font-size: 12.5px; margin-bottom: 6px; } .cr-h em { font-style: normal; font-weight: 600; color: #ff3d81; }
.cr-st { display: flex; align-items: center; gap: 8px; padding: 2px 0; color: #8a8a8a; transition: color .3s; } .cr-st i { width: 12px; height: 12px; border: 2px solid #111; border-radius: 50%; background: #fff; flex: none; transition: background .3s; }
.cr-st.done { color: #111; } .cr-st.done i { background: #7cf0d4; } .cr-st.on { color: #111; font-weight: 800; } .cr-st.on i { background: #ff3d81; }
.cr-scr { height: 92px; border: 2px solid #111; border-radius: 8px; background: linear-gradient(135deg, #a5b4ff, #ffb3d1); display: grid; place-items: center; } .cr-scr b { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #111; display: grid; place-items: center; font-size: 11px; padding-left: 2px; }
.cr-wave { display: flex; align-items: center; gap: 2px; height: 24px; margin: 8px 0 4px; } .cr-wave s { flex: 1; height: 40%; background: #111; border-radius: 2px; transition: height .4s; text-decoration: none; }
.cr-meta { display: flex; justify-content: space-between; font-size: 11px; color: #555; } .cr-meta .tc { font-family: ui-monospace, Menlo, monospace; }
.cr-clap { position: absolute; left: max(40px, calc(50% - 600px)); top: 112px; width: 150px; transform: rotate(-7deg); filter: drop-shadow(5px 5px 0 #111); }
.cr-clap-top { height: 26px; background: repeating-linear-gradient(-45deg, #111 0 14px, #fff 14px 28px); border: 3px solid #111; border-radius: 6px 6px 0 0; transform-origin: 0 100%; animation: clap 4.5s ease-in-out infinite; }
.cr-clap-body { background: #fff; border: 3px solid #111; border-top: 0; border-radius: 0 0 8px 8px; padding: 9px 12px 10px; display: flex; flex-direction: column; line-height: 1.25; }
.cr-clap-body b { font: 900 15px sans-serif; letter-spacing: .04em; } .cr-clap-body small { font-size: 11px; font-weight: 700; color: #ff3d81; }
@keyframes clap { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-24deg); } 86% { transform: rotate(0); } }
.cr-pill { position: absolute; right: max(40px, calc(50% - 540px)); top: 124px; background: #fff; border: 3px solid #111; box-shadow: 4px 4px 0 #111; padding: 6px 16px; font: 900 16px sans-serif; border-radius: 999px; transform: rotate(7deg); }
.cr-frame { position: absolute; background: #fff; border: 3px solid #111; box-shadow: 5px 5px 0 #111; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; animation: bob 4s ease-in-out infinite; }
.cr-frame b { font-size: 16px; } .cr-frame small { font-size: 10px; }
.cr-frame.f1 { --r: -6deg; left: max(210px, calc(50% - 440px)); top: 214px; width: 52px; height: 92px; transform: rotate(-6deg); background: #7cf0d4; }
.cr-frame.f2 { --r: 6deg; right: max(32px, calc(50% - 706px)); top: 214px; width: 74px; height: 74px; transform: rotate(6deg); background: #a5b4ff; animation-delay: -1.4s; }
.cr-frame.f3 { --r: -4deg; right: max(110px, calc(50% - 560px)); top: 300px; width: 120px; height: 68px; transform: rotate(-4deg); background: #fff; animation-delay: -2.6s; }
.cr-timeline { position: absolute; left: 50%; bottom: 40px; width: min(520px, 46%); height: 20px; transform: translateX(-50%); border: 2px solid #111; border-radius: 6px; background: #fff; overflow: hidden; }
.cr-clips { display: flex; height: 100%; gap: 2px; padding: 2px; } .cr-clips b { border: 1.5px solid #111; border-radius: 3px; }
.cr-timeline u { position: absolute; top: 0; bottom: 0; width: 3px; background: #111; animation: playhead 6s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: 100%; } }
.cr-tape { position: absolute; left: -3%; width: 106%; height: 30px; display: flex; align-items: center; overflow: hidden; font: 800 14px sans-serif; letter-spacing: .08em; white-space: nowrap; }
.cr-tape .tr { display: flex; flex: none; gap: 22px; padding-left: 22px; align-items: center; } .cr-tape .tr i { font-style: normal; font-size: 10px; opacity: .7; }
.cr-tape.t1 { bottom: 38px; background: #111; color: #ffd84d; transform: rotate(-.9deg); } .cr-tape.t1 .tr { animation: tape 36s linear infinite; }
.cr-tape.t2 { bottom: 6px; background: #ff3d81; color: #fff; transform: rotate(.9deg); border-top: 3px solid #111; border-bottom: 3px solid #111; } .cr-tape.t2 .tr { gap: 28px; animation: tape-r 44s linear infinite; }

/* ---------- 财务 · 轻量「财务桌面」：Excel 对账小表 / 发票小票 + 红章 / 审批流 + 盖章 / 账户资金预警（靛蓝白底，半透明轻卡片；状态色：绿 通过 · 琥珀 待核预警 · 红 章） ---------- */
.hero[data-skin="fin"] { --ink: #0c3b2e; --muted: #4b7566; --hint: #a5bfb3; --line-2: rgba(14,143,106,.2); --h-acc: #0e8f6a;
  background: linear-gradient(180deg, rgba(244,250,246,0) 62%, var(--paper) 100%), radial-gradient(rgba(14,143,106,.12) 1px, transparent 1.5px) 0 0 / 22px 22px, radial-gradient(520px 260px at 90% 8%, rgba(245,190,60,.26), transparent 70%), radial-gradient(560px 280px at 6% 30%, rgba(16,185,129,.2), transparent 70%), linear-gradient(180deg, #e0f5ea 0%, #f1faf5 58%, var(--paper) 100%); }
.hero[data-skin="fin"] h1 { font-weight: 800; color: #0c3b2e; letter-spacing: .02em; }
.hero[data-skin="fin"] h1 em { color: #0e8f6a; background: linear-gradient(transparent 70%, rgba(245,190,60,.5) 70%); }
.hero[data-skin="fin"] .sub { color: #1c7a5c; font-size: 14px; }
.hero[data-skin="fin"] .search { background: #fff; border: 1px solid #bfe0cf; border-radius: 12px; box-shadow: 0 16px 32px -22px rgba(10,90,60,.55); }
.hero[data-skin="fin"] .search:focus-within { border-color: #0e8f6a; box-shadow: 0 0 0 3px rgba(14,143,106,.16); }
.hero[data-skin="fin"] .hero-body { padding-bottom: 92px; }
.fn-seal { display: block; color: #d92d20; }
/* 账户资金预警标签 */
.fn-chip { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 4px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; border: 1px solid; }
.fn-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: fn-pulse 1.8s ease-in-out infinite; }
.fn-chip.ok { color: #0b8a63; background: rgba(231,248,240,.9); border-color: #b9ead4; } .fn-chip.warn { color: #b26a00; background: rgba(255,244,222,.95); border-color: #ffd98a; }
@keyframes fn-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.fn-xl, .fn-inv { position: absolute; background: rgba(255,255,255,.72); backdrop-filter: blur(6px); border-radius: 12px; box-shadow: 0 12px 30px -20px rgba(10,90,60,.5); font-size: 11.5px; color: #0c3b2e; }
/* Excel 小表 */
.fn-xl { left: max(28px, calc(50% - 690px)); top: 108px; width: 224px; padding: 8px 8px 6px; transform: rotate(-1.5deg); }
.fn-cap { font-size: 10.5px; color: #1d6f42; font-weight: 700; margin: 0 2px 5px; display: flex; align-items: center; gap: 5px; } .fn-cap::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: #1d6f42; }
.xl-grid { display: grid; grid-template-columns: 62px 1fr 52px; border-top: 1px solid #e3ebe5; border-left: 1px solid #e3ebe5; border-radius: 3px; overflow: hidden; }
.xl-c { height: 21px; line-height: 20px; padding: 0 6px; border-right: 1px solid #e3ebe5; border-bottom: 1px solid #e3ebe5; font-size: 10.5px; white-space: nowrap; position: relative; background: rgba(255,255,255,.6); }
.xl-th { background: #e8f3ec; color: #1d6f42; font-weight: 700; } .xl-t { color: #3f6a5a; }
.xl-n { text-align: right; font: 10.5px/20px ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; } .xl-n.bad { background: #ffe8cc; color: #c2410c; font-weight: 700; }
.xl-c.sel { outline: 2px solid #1d6f42; outline-offset: -2px; z-index: 1; } .xl-c.sel::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 5px; height: 5px; background: #1d6f42; border: 1px solid #fff; }
/* 发票小票 */
.fn-inv { left: max(60px, calc(50% - 652px)); top: 232px; width: 232px; padding: 9px 12px 9px 12px; transform: rotate(2deg); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fn-inv::before { content: ''; position: absolute; left: 12px; right: 12px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #d92d20; opacity: .85; }
.iv-l span { display: block; white-space: nowrap; font-size: 10px; color: #8a90ad; } .iv-l b { white-space: nowrap; font: 800 13px ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; color: #0c3b2e; }
.iv-ok { font-size: 10.5px; font-weight: 700; color: #0b8a63; background: #def7ec; padding: 1px 7px; border-radius: 999px; white-space: nowrap; margin-right: 34px; animation: fn-ok 9s infinite; }
@keyframes fn-ok { 0%, 22% { opacity: 0; } 30%, 92% { opacity: 1; } 100% { opacity: 0; } }
.fn-inv .fn-seal { position: absolute; right: -6px; bottom: -12px; width: 62px; height: 62px; transform: rotate(-16deg); mix-blend-mode: multiply; animation: fn-stamp 9s infinite; }
@keyframes fn-stamp { 0%, 10% { opacity: 0; transform: rotate(-16deg) scale(2.2); } 17% { opacity: .9; transform: rotate(-16deg) scale(.94); } 20%, 92% { opacity: .9; transform: rotate(-16deg) scale(1); } 100% { opacity: 0; transform: rotate(-16deg) scale(1); } }
/* 右侧：审批卡 + 收益卡（错落摆放、轻微倾斜，和左侧呼应） */
.fn-ap, .fn-pf { position: absolute; box-sizing: border-box; background: rgba(255,255,255,.78); backdrop-filter: blur(6px); border-radius: 14px; box-shadow: 0 14px 34px -22px rgba(10,90,60,.55), 0 1px 3px rgba(10,90,60,.06); color: #0c3b2e; font-size: 12px; }
.fn-ap::before, .fn-pf::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #0e8f6a, #e0a82e); }
.fn-ap { right: max(30px, calc(50% - 694px)); top: 106px; width: 228px; padding: 11px 14px 11px; transform: rotate(1.4deg); }
.fn-pf { right: max(64px, calc(50% - 660px)); top: 244px; width: 214px; padding: 11px 14px 10px; transform: rotate(-1.8deg); }
.ap-hd, .pf-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 12.5px; }
.ap-st { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 9px; border-radius: 999px; color: #0e8f6a; background: #e2f5ec; transition: .3s; } .ap-st.ok { color: #0b8a63; background: #def7ec; }
.ap-amt { margin: 5px 0 8px; font: 800 18px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #b7791f; font-variant-numeric: tabular-nums; } .ap-amt span { font-size: 14px; margin-right: 2px; } .ap-amt small { margin-left: 8px; font: 600 11px sans-serif; color: #6e9183; }
.ap-flow { display: flex; align-items: flex-start; }
.ap-s { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 44px; flex: none; } .ap-s span { font-size: 10px; color: #9fbcae; white-space: nowrap; transition: color .3s; }
.ap-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 11px sans-serif; font-style: normal; color: #9fbcae; background: #ecf7f1; border: 2px solid #d3e8dc; transition: .3s; }
.ap-n.done { color: #fff; background: #0e8f6a; border-color: #0e8f6a; } .ap-n.done + span { color: #3f6a5a; } .ap-n.on { color: #0e8f6a; background: #fff; border-color: #0e8f6a; animation: fn-ring 1.4s ease-in-out infinite; } .ap-n.on + span { color: #0c3b2e; font-weight: 700; }
@keyframes fn-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(14,143,106,.35); } 50% { box-shadow: 0 0 0 5px rgba(14,143,106,0); } }
.ap-l { flex: 1; height: 2px; margin-top: 12px; background: #d3e8dc; text-decoration: none; overflow: hidden; position: relative; } .ap-l s { position: absolute; inset: 0; background: #0e8f6a; transform: scaleX(0); transform-origin: left; transition: transform .5s; } .ap-l.on s { transform: scaleX(1); }
.ap-stamp { position: absolute; right: 14px; top: 38px; padding: 2px 10px; border: 2.5px solid #0e8f6a; border-radius: 6px; color: #0b8a63; font: 900 15px/1.2 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .1em; transform: rotate(-10deg) scale(2); opacity: 0; mix-blend-mode: multiply; pointer-events: none; }
.fn-ap.pass .ap-stamp { opacity: .9; transform: rotate(-10deg) scale(1); transition: transform .35s cubic-bezier(.2,1.6,.4,1), opacity .15s; }
.pf-h { color: #4b7566; } .pf-h em { font: normal 700 10.5px sans-serif; color: #0b8a63; background: #def7ec; padding: 1px 8px; border-radius: 999px; }
.pf-big { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; } .pf-big span { font-size: 11px; color: #6e9183; } .pf-big b { font: 800 18px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; color: #0c3b2e; }
.pf-sp { display: block; width: 100%; height: 46px; margin: 4px 0 3px; overflow: visible; }
.pf-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: #6e9183; } .pf-sub b { font: 800 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; color: #b7791f; }
@media (max-width: 1180px) { .fn-xl, .fn-inv, .fn-ap, .fn-pf { display: none; } }
@media (max-width: 640px) { .fn-chip { top: 14px; font-size: 11.5px; } }

/* 深色皮肤下的右上角小组件 */



.hero[data-skin="ops"] { --ink: #0b3b3a; --muted: #4f7473; --hint: #9bbab8; --line-2: rgba(14,165,164,.22); --h-acc: #0ea5a4;
  background: radial-gradient(560px 320px at 10% 10%, rgba(94,234,212,.35), transparent 70%), radial-gradient(520px 300px at 92% 0%, rgba(125,211,252,.35), transparent 70%), linear-gradient(180deg, #effcf9, #f6fdfb 75%, var(--paper)); }
.hero[data-skin="ops"] .hero-body { padding-bottom: 156px; }
.hero[data-skin="ops"] h1 { font-weight: 800; color: #0b3b3a; } .hero[data-skin="ops"] h1 em { color: #0ea5a4; }
.hero[data-skin="ops"] .sub { color: #3f6a68; font-size: 14px; }
.hero[data-skin="ops"] .search { border-radius: 12px; background: #fff; border-color: #c9ece8; box-shadow: 0 10px 28px -14px rgba(14,165,164,.45); }
.hero[data-skin="ops"] .search:focus-within { border-color: #0ea5a4; box-shadow: 0 0 0 4px rgba(14,165,164,.14); }
.op-card { position: absolute; top: 96px; width: 236px; padding: 10px 12px 8px; border-radius: 12px; background: rgba(255,255,255,.88); border: 1px solid #cfeeea; box-shadow: 0 12px 30px -16px rgba(14,165,164,.5); backdrop-filter: blur(8px); font-size: 12px; color: #1f4d4b; }
.op-chan { left: max(32px, calc(50% - 706px)); } .op-todo { right: max(32px, calc(50% - 706px)); }
.op-h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 12.5px; margin-bottom: 6px; color: #0b3b3a; } .op-h em { font-style: normal; font-weight: 500; font-size: 11px; color: #4f7473; }
.op-row { display: grid; grid-template-columns: 8px 64px 1fr; grid-template-rows: auto 4px; column-gap: 7px; align-items: center; padding: 3px 0; }
.op-row i { width: 8px; height: 8px; border-radius: 50%; } .op-row span { white-space: nowrap; } .op-row b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; transition: color .3s; }
.op-row u { grid-column: 2 / 4; height: 4px; border-radius: 2px; background: #e3f4f2; overflow: hidden; text-decoration: none; } .op-row u s { display: block; height: 100%; background: #0ea5a4; border-radius: 2px; transition: width .6s, background .3s; }
.op-row.warn b { color: #e5484d; } .op-row.warn u s { background: #e5484d; } .op-row.flash b { color: #0ea5a4; } .op-row.flash u s { background: #34d399; }
.op-t { display: flex; align-items: center; gap: 8px; padding: 3px 0; } .op-t i { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid #8ccfca; flex: none; position: relative; transition: background .3s; }
.op-t span { transition: color .3s; } .op-t.on span { color: #9bbab8; text-decoration: line-through; } .op-t.on i { background: #0ea5a4; border-color: #0ea5a4; } .op-t.on i::after { content: ''; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }


/* ---------- AI Coding · Codex 风格（白底、等宽字、细线框，终端式对话：Explored / Edited / Ran） ---------- */
.hero[data-skin="ai"] { --ink: #0d0d0f; --muted: #6b6b73; --hint: #a1a1aa; --line-2: #e4e4e7; --h-acc: #4f6ef7;
  background: radial-gradient(640px 260px at 50% -12%, rgba(79,110,247,.09), transparent 70%), linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%); }
.hero[data-skin="ai"] .hero-body { padding-bottom: 92px; }
.hero[data-skin="ai"] h1 { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", monospace; font-weight: 700; letter-spacing: 0; font-size: 46px; background: linear-gradient(90deg, #0d0d0f, #3b4fd6 70%, #7c5cf0); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero[data-skin="ai"] h1 em { color: transparent; }
.hero[data-skin="ai"] h1::before { content: '>_ '; -webkit-text-fill-color: #4f6ef7; font-weight: 400; }
.hero[data-skin="ai"] .sub { color: #6b6b73; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; } .hero[data-skin="ai"] .sub::before { content: '› '; color: #4f6ef7; } .hero[data-skin="ai"] .sub::after { content: ' ▌'; color: #4f6ef7; animation: blink 1.05s steps(2, start) infinite; }
.hero[data-skin="ai"] .search { background: #fff; border-color: #e4e4e7; border-radius: 10px; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 14px 32px -20px rgba(13,13,15,.35); }
.hero[data-skin="ai"] .search:focus-within { border-color: #4f6ef7; box-shadow: 0 0 0 3px rgba(79,110,247,.15); }
.ai-chat, .ai-side { position: absolute; top: 84px; border-radius: 10px; background: #fff; border: 1px solid #e4e4e7; box-shadow: 0 14px 30px -22px rgba(13,13,15,.35); color: #27272a; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, "PingFang SC", monospace; }
.ai-chat { left: max(32px, calc(50% - 706px)); width: 316px; overflow: hidden; } .ai-side { right: max(32px, calc(50% - 706px)); width: 218px; padding: 12px 14px; }
.ai-h { padding: 8px 12px 7px; border-bottom: 1px solid #ececef; color: #71717a; font-size: 11px; line-height: 1.6; } .ai-h b { color: #0d0d0f; font-weight: 700; } .ai-h span { display: block; }
.ai-body { padding: 8px 12px 10px; height: 134px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.ai-l { white-space: pre; overflow: hidden; text-overflow: ellipsis; } .ai-l.u { color: #0d0d0f; font-weight: 600; } .ai-l.a { color: #27272a; } .ai-l.t { color: #71717a; } .ai-l.p { color: #16803c; } .ai-l.m { color: #c4321f; } .ai-l.ok { color: #16803c; font-weight: 700; } .ai-l.w { color: #a1a1aa; }
.ai-think { display: flex; align-items: center; gap: 8px; color: #0d0d0f; font-weight: 600; margin-bottom: 8px; } .ai-think u { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #e4e4e7; border-top-color: #0d0d0f; animation: spin .9s linear infinite; }
.ai-m { display: flex; justify-content: space-between; color: #71717a; margin-top: 3px; } .ai-m b { color: #0d0d0f; font-variant-numeric: tabular-nums; }
.ai-ctx { height: 3px; border-radius: 2px; background: #ececef; margin-top: 6px; overflow: hidden; } .ai-ctx s { display: block; height: 100%; width: 42%; background: linear-gradient(90deg, #4f6ef7, #7c5cf0); transition: width .6s; text-decoration: none; }
.ai-btn { display: flex; gap: 6px; margin-top: 10px; } .ai-btn button { flex: 1; font: 600 11px ui-monospace, Menlo, monospace; padding: 5px 0; border-radius: 6px; border: 1px solid #0d0d0f; background: #0d0d0f; color: #fff; cursor: default; } .ai-btn button.r { background: #fff; color: #27272a; border-color: #d4d4d8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 老板 · 黑金经营驾驶舱（营收一路飘红、待审批盖章） ---------- */
.hero[data-skin="boss"] { --ink: #fdf3d6; --muted: #c9b57a; --hint: #7a6c43; --line-2: rgba(226,169,40,.3); --h-acc: #e2a928;
  background: radial-gradient(640px 280px at 50% -10%, rgba(226,169,40,.2), transparent 70%), linear-gradient(180deg, #14110a 0%, #0c0c10 100%); }
.hero[data-skin="boss"] .hero-body { padding-bottom: 124px; }
.hero[data-skin="boss"] h1 { font-family: "Songti SC", "STSong", "Noto Serif SC", serif; font-weight: 900; letter-spacing: .06em; background: linear-gradient(180deg, #fff1c1, #e2a928 70%, #b9831a); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero[data-skin="boss"] h1 em { color: transparent; }
.hero[data-skin="boss"] .sub { color: #c9b57a; font-family: "Songti SC", "STSong", serif; letter-spacing: .08em; } .hero[data-skin="boss"] .sub::before { content: '— '; } .hero[data-skin="boss"] .sub::after { content: ' —'; }
.hero[data-skin="boss"] .search { background: rgba(255,255,255,.05); border-color: rgba(226,169,40,.45); border-radius: 6px; box-shadow: 0 16px 36px -18px rgba(226,169,40,.5); }
.hero[data-skin="boss"] .search:focus-within { border-color: #f5c451; box-shadow: 0 0 0 3px rgba(226,169,40,.2); }
.hero[data-skin="boss"] .qk { background: rgba(255,255,255,.05); border-color: rgba(226,169,40,.38); color: #f1dfa6; box-shadow: none; }
.hero[data-skin="boss"] .qk:hover { background: rgba(226,169,40,.14); border-color: #f5c451; color: #fff1c1; box-shadow: 0 8px 18px -10px rgba(226,169,40,.6); }
.hero[data-skin="boss"] .qk .icon { background: rgba(255,255,255,.1); }
.bs-card { position: absolute; top: 90px; padding: 12px 16px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(226,169,40,.32); backdrop-filter: blur(8px); box-shadow: 0 16px 36px -22px rgba(0,0,0,.8); color: #e6dcc0; font-size: 12px; }
.bs-rev { left: max(32px, calc(50% - 706px)); width: 230px; } .bs-ap { right: max(32px, calc(50% - 706px)); width: 250px; }
.bs-h { display: flex; justify-content: space-between; font-size: 12px; color: #c9b57a; margin-bottom: 4px; letter-spacing: .08em; } .bs-h em { font-style: normal; color: #f5c451; }
.bs-v { font: 700 25px "Songti SC", serif, ui-monospace; color: #fff1c1; font-variant-numeric: tabular-nums; } .bs-d { display: flex; gap: 8px; align-items: baseline; margin-top: 2px; } .bs-d em { font-style: normal; color: #ff5a4d; font-weight: 700; } .bs-d span { color: #8e8057; font-size: 11px; }
.bs-g { display: flex; justify-content: space-between; margin-top: 8px; color: #9a8c63; } .bs-g b { color: #f5c451; }
.bs-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed rgba(226,169,40,.2); } .bs-r:last-child { border-bottom: 0; } .bs-r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-r u { text-decoration: none; font-size: 11px; font-weight: 700; color: #ff5a4d; border: 1.5px solid #ff5a4d; border-radius: 4px; padding: 0 6px; transform: rotate(-8deg) scale(1.6); opacity: 0; transition: opacity .25s, transform .25s; flex: none; } .bs-r.on u { opacity: 1; transform: rotate(-8deg) scale(1); } .bs-r.on span { color: #8e8057; }
@media (max-width: 1100px) {
  .op-card, .cr-card, .ai-chat, .ai-side, .bs-card, .dev-code, .dev-term, .bz-seal, .cr-clap, .cr-pill, .cr-frame, .fg-name, .ads-kpi, .fn-card { display: none; }
}
@media (max-width: 640px) { .hero[data-skin="dev"] h1 { font-size: 32px; } .hero[data-skin="biz"] h1 { font-size: 34px; } .bz-c { display: none; } }

/* ============ 内容区跟随皮肤：目录 / 分组标题 / 卡片 / 页脚 一起换风格 ============ */
html[data-skin] body { transition: background .4s, color .4s; }
html[data-skin] #pagebg { display: none; }
html[data-skin] .menu::before { background: linear-gradient(to bottom, transparent, var(--line-2) calc(64px * var(--f, 0)), var(--line-2) calc(100% - 64px * var(--f, 0)), transparent); }
html[data-skin] .menu button.lens-hot, html[data-skin] .menu button:hover { background: var(--hov); }
html[data-skin] .card:hover { border-color: var(--accent); }
html[data-skin] .icon { background: var(--icon-bg, var(--paper)); }
html[data-skin] .env { background: var(--card); }
html[data-skin] .footer { background: var(--foot, var(--card)); }
html[data-skin] .side { background: var(--side, rgba(255,255,255,.92)); }

/* 优化师：暖白底，珊瑚橙强调，指标感 */
html[data-skin="ads"] { --paper: #fff8f3; --card: #fff; --ink: #2a1f1a; --text: #3d2e26; --text-2: #7a6254; --muted: #9a8274; --hint: #c8b3a6; --line: #f5e3d8; --line-2: #ecd2c2; --accent: #ff6a2b; --hov: rgba(255,106,43,.08); --icon-bg: #fff3ea; --foot: #fff; --side: rgba(255,248,243,.92); }
html[data-skin="ads"] .card { border-radius: 12px; box-shadow: 0 8px 24px -20px rgba(255,106,43,.6); } html[data-skin="ads"] .card:hover { box-shadow: 0 14px 30px -14px rgba(255,106,43,.5); }
html[data-skin="ads"] .group-head .no { background: rgba(255,106,43,.12); padding: 1px 8px; border-radius: 6px; }
html[data-skin="ads"] .tags span::before { color: #ff6a2b; }

/* 开发：GitHub Light，等宽字，Markdown 式标题 */
html[data-skin="dev"] { --paper: #0d1117; --card: #161b22; --ink: #e6edf3; --text: #c9d1d9; --text-2: #9da7b3; --muted: #8b949e; --hint: #6e7681; --line: #21262d; --line-2: #30363d; --accent: #58a6ff; --hov: rgba(88,166,255,.1); --icon-bg: #eef2f6; --foot: #0d1117; --side: rgba(13,17,23,.92); }
html[data-skin="dev"] .card { border-radius: 6px; border-color: #30363d; } html[data-skin="dev"] .card:hover { border-color: #58a6ff; box-shadow: 0 8px 24px -12px rgba(88,166,255,.35); } html[data-skin="dev"] .icon { border-radius: 8px; }
html[data-skin="dev"] .group-head h2, html[data-skin="dev"] .body h3 { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "PingFang SC", monospace; }
html[data-skin="dev"] .group-head h2::before { content: '## '; color: #3fb950; font-weight: 400; }
html[data-skin="dev"] .group-head .no::before { content: '// '; color: #93a1a1; }
html[data-skin="dev"] .tags span { font-family: ui-monospace, Menlo, monospace; } html[data-skin="dev"] .tags span::before { color: #3fb950; }

/* 运营：粉紫柔和、大圆角、标签胶囊 */
html[data-skin="ops"] { --paper: #f3fbf9; --card: #fff; --ink: #0b3b3a; --text: #1f4d4b; --text-2: #4f7473; --muted: #6f918f; --hint: #a8c4c2; --line: #dcefec; --line-2: #c9e3e0; --accent: #0ea5a4; --hov: rgba(14,165,164,.08); --icon-bg: #eaf8f6; --foot: #fff; --side: rgba(243,251,249,.92); }
html[data-skin="ops"] .card { border-radius: 12px; box-shadow: 0 8px 24px -20px rgba(14,165,164,.6); } html[data-skin="ops"] .card:hover { box-shadow: 0 14px 30px -16px rgba(14,165,164,.5); }
html[data-skin="ops"] .icon { border-radius: 10px; }

/* 商务：象牙纸、宋体标题、金色细线 */
html[data-skin="biz"] { --paper: #faf6ec; --card: #fffdf8; --ink: #1f2a44; --text: #2b3550; --text-2: #6b5f48; --muted: #8a7b5c; --hint: #b9ab8d; --line: #e8dcc0; --line-2: #d9c79d; --accent: #b8893b; --hov: rgba(184,137,59,.1); --icon-bg: #f6efdc; --foot: #f3ead7; --side: rgba(250,246,236,.94); }
html[data-skin="biz"] .card { border-radius: 2px; } html[data-skin="biz"] .card:hover { box-shadow: 0 12px 28px -16px rgba(150,110,40,.55); } html[data-skin="biz"] .icon { border-radius: 4px; }
html[data-skin="biz"] .group-head { border-bottom: 3px double #d9c79d; }
html[data-skin="biz"] .group-head h2, html[data-skin="biz"] .body h3 { font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif; letter-spacing: .08em; font-weight: 800; }

/* 财务：薄荷白底、钞票绿 + 金色点缀、等宽数字 */
html[data-skin="fin"] { --paper: #f4faf6; --card: #fff; --ink: #0c3b2e; --text: #1f4a3c; --text-2: #4b7566; --muted: #6e9183; --hint: #a5bfb3; --line: #dcece3; --line-2: #c4dccf; --accent: #0e8f6a; --hov: rgba(14,143,106,.08); --icon-bg: #eaf6ef; --foot: #e9f5ee; --side: rgba(244,250,246,.94); }
html[data-skin="fin"] .card { border-radius: 12px; } html[data-skin="fin"] .card:hover { box-shadow: 0 12px 26px -16px rgba(10,90,60,.5); } html[data-skin="fin"] .icon { border-radius: 10px; }
html[data-skin="fin"] .group-head { border-bottom: 2px solid #cfe5d9; }

/* 设计师：浅灰画布、细线框、选中态蓝框 */
html[data-skin="design"] { --paper: #f4f4f5; --card: #fff; --ink: #111; --text: #27272a; --text-2: #52525b; --muted: #71717a; --hint: #a1a1aa; --line: #e4e4e7; --line-2: #d4d4d8; --accent: #0d99ff; --hov: rgba(13,153,255,.08); --icon-bg: #f4f4f5; --foot: #fff; --side: rgba(244,244,245,.92); }
html[data-skin="design"] .card { border-radius: 4px; } html[data-skin="design"] .card:hover { box-shadow: 0 0 0 1.5px #0d99ff; transform: none; }
html[data-skin="design"] .group-head .no::before { content: 'Frame '; font-weight: 500; color: #9ca3af; } html[data-skin="design"] .group-head h2 { font-weight: 800; }

/* 素材设计：新粗野——黑粗边、硬阴影、亮黄点缀 */
html[data-skin="creative"] { --paper: #fffbe6; --card: #fff; --ink: #111; --text: #222; --text-2: #3d3d3d; --muted: #555; --hint: #8a8a8a; --line: #111; --line-2: #111; --accent: #ff3d81; --hov: rgba(255,216,77,.55); --icon-bg: #fff3b0; --foot: #ffd84d; --side: rgba(255,251,230,.94); }
html[data-skin="creative"] body { background-image: none; }
html[data-skin="creative"] .card { border: 2px solid #111; border-radius: 12px; box-shadow: 3px 3px 0 #ffd84d; } html[data-skin="creative"] .card:hover { border-color: #111; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #111; }
html[data-skin="creative"] .icon { border: 2px solid #111; border-radius: 10px; } html[data-skin="creative"] .group-head { border-bottom: 2px solid #111; }
html[data-skin="creative"] .group-head h2 { font-weight: 900; background: linear-gradient(transparent 58%, #ffd84d 58%); padding: 0 4px; }
html[data-skin="creative"] .tags span { border: 1.5px solid #111; border-radius: 999px; padding: 0 8px; color: #111; font-weight: 600; } html[data-skin="creative"] .tags span::before { display: none; }
html[data-skin="creative"] .footer { border-top: 3px solid #111; color: #111; font-weight: 600; } html[data-skin="creative"] .env { border: 2px solid #111; }
html[data-skin="creative"] .env:hover { background: #111; color: #ffd84d; }


/* ============ 浮层 / 交互控件跟随皮肤：悬停介绍、编辑条、弹窗、输入框、换肤面板（之前固定白底，深色皮肤下字看不清） ============ */
html[data-skin="ads"]      { --pop: #fff;    --pop-in: #fff8f3; }
html[data-skin="dev"]      { --pop: #1c2128;    --pop-in: #0d1117; }
html[data-skin="ops"]      { --pop: #fff;    --pop-in: #f3fbf9; }
html[data-skin="biz"]      { --pop: #fffdf8; --pop-in: #faf6ec; }
html[data-skin="design"]   { --pop: #fff;    --pop-in: #f4f4f5; }
html[data-skin="creative"] { --pop: #fff;    --pop-in: #fffbe6; }
html[data-skin="fin"]      { --pop: #fff;    --pop-in: #f1faf5; }

html[data-skin] .tip { background: var(--pop, var(--card, #fff)); border-color: var(--line-2); }
html[data-skin] .tip::before { background: var(--pop, var(--card, #fff)); }

html[data-skin="ops"] .tip { border-radius: 10px; }
html[data-skin="biz"] .tip { border-radius: 2px; border-color: #d9c79d; }
html[data-skin="fin"] .tip { border-radius: 12px; }
html[data-skin="creative"] .tip { border: 2.5px solid #111; border-radius: 12px; box-shadow: 5px 5px 0 #111; }
html[data-skin="creative"] .tip::before { border-color: #111; }
html[data-skin="creative"] .tip[data-side="right"]::before { border-width: 0 0 2.5px 2.5px; } html[data-skin="creative"] .tip[data-side="left"]::before { border-width: 2.5px 2.5px 0 0; }

html[data-skin] #edBar { background: color-mix(in srgb, var(--pop, var(--card, #fff)) 94%, transparent); border-color: var(--line-2); }
html[data-skin] #edBar select, html[data-skin] .ed-btn, html[data-skin] .editing .card .ed button, html[data-skin] .editing .ed-add, html[data-skin] .editing .gh-ops button, html[data-skin] .ed-f input, html[data-skin] .ed-f textarea, html[data-skin] .ed-search { background-color: var(--pop-in, var(--paper, #fff)); color: var(--text); border-color: var(--line-2); }
html[data-skin] .ed-btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-skin] .ed-btn.danger { background: #f56c6c; color: #fff; border-color: #f56c6c; }
html[data-skin] .ed-dlg { background: var(--pop, var(--card, #fff)); color: var(--text); } html[data-skin] .ed-dlg-h, html[data-skin] .ed-row-t b { color: var(--ink); }
html[data-skin] .ed-row:hover { background: var(--hov); } html[data-skin] .ed-list { border-color: var(--line-2); } html[data-skin] .ed-row { border-color: var(--line); }
html[data-skin] .ed-mask { background: rgba(5, 10, 24, .6); }
html[data-skin="creative"] .ed-dlg, html[data-skin="creative"] #edBar { border: 2.5px solid #111; box-shadow: 6px 6px 0 #111; }

html[data-skin] .skin-pop { background: color-mix(in srgb, var(--pop, var(--card, #fff)) 96%, transparent); border-color: var(--line-2); }
html[data-skin] .skin-pop button { color: var(--ink); } html[data-skin] .skin-pop button:hover { background: var(--hov, rgba(0,0,0,.05)); }
html[data-skin] .skin-pop hr { border-top-color: var(--line-2); }
html[data-skin="creative"] .skin-pop { border: 2.5px solid #111; border-radius: 12px; box-shadow: 5px 5px 0 #111; }


.hero[data-skin="dev"] .brand img { filter: brightness(0) invert(1); }

html[data-skin="ai"] { --paper: #f6f6f8; --card: #fff; --ink: #0d0d0f; --text: #27272a; --text-2: #52525b; --muted: #71717a; --hint: #a1a1aa; --line: #ececef; --line-2: #e4e4e7; --accent: #4f6ef7; --hov: rgba(79,110,247,.07); --icon-bg: #f4f4f5; --foot: #fff; --side: rgba(246,246,248,.92); --pop: #fff; --pop-in: #f6f6f8; }
html[data-skin="ai"] .card { border-radius: 10px; } html[data-skin="ai"] .card:hover { border-color: #4f6ef7; box-shadow: 0 10px 28px -16px rgba(79,110,247,.4); } html[data-skin="ai"] .icon { border-radius: 8px; }
html[data-skin="ai"] .group-head h2::before { content: '› '; color: #4f6ef7; font-family: ui-monospace, Menlo, monospace; } html[data-skin="ai"] .tags span { background: #eef1ff; color: #3b4fd6; padding: 0 9px; border-radius: 4px; font-family: ui-monospace, Menlo, monospace; } html[data-skin="ai"] .tags span::before { display: none; }
html[data-skin="boss"] { --paper: #0c0c10; --card: #16161c; --ink: #fdf3d6; --text: #e6dcc0; --text-2: #b8a878; --muted: #9a8c63; --hint: #6f6546; --line: #26241c; --line-2: #3a3526; --accent: #e2a928; --hov: rgba(226,169,40,.1); --icon-bg: #f7f1e1; --foot: #0c0c10; --side: rgba(12,12,16,.92); --pop: #1b1a14; --pop-in: #0c0c10; }
html[data-skin="boss"] .card { border-radius: 6px; border-color: #3a3526; } html[data-skin="boss"] .card:hover { border-color: #e2a928; box-shadow: 0 10px 30px -14px rgba(226,169,40,.45); }
html[data-skin="boss"] .group-head h2 { font-family: "Songti SC", "STSong", serif; } html[data-skin="boss"] .group-head h2::before { content: '◆ '; color: #e2a928; font-size: .7em; } html[data-skin="boss"] .tags span { border: 1px solid #3a3526; border-radius: 3px; padding: 0 7px; color: #c9b57a; } html[data-skin="boss"] .tags span::before { display: none; }
.hero[data-skin="boss"] .brand img { filter: brightness(0) invert(1); }
.bs-pie { margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(226,169,40,.25); } .bs-pt { display: flex; justify-content: space-between; color: #c9b57a; font-size: 11.5px; } .bs-pt b { color: #f5c451; font-variant-numeric: tabular-nums; }
.bs-pb { position: relative; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 7px; } .bs-pb s { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #8a6212, #f5c451); transition: width .5s; text-decoration: none; } .bs-pb i { position: absolute; top: -8px; left: 0; font-style: normal; font-size: 13px; transform: translateX(-50%); transition: left .5s; }
html[data-skin="dev"] .footer-logo, html[data-skin="boss"] .footer-logo { filter: brightness(0) invert(1); opacity: .85; }

/* ---------- 白驹（品牌通用皮肤）：晨光星空 + 小驹宇航员 + X 标志水印，蓝 / 白 / 深蓝黑取自公司 Logo 与吉祥物 ---------- */
.hero[data-skin="brand"] { --ink: #14213d; --muted: #5b6b8c; --hint: #9aa9c7; --line-2: rgba(0,102,255,.16); --h-acc: #0066ff; --h-a: 0, 102, 255;
  background: radial-gradient(640px 320px at 12% -5%, rgba(120,190,255,.55), transparent 70%), radial-gradient(560px 300px at 92% 8%, rgba(255,226,170,.45), transparent 70%), linear-gradient(180deg, #eaf4ff 0%, #f4f9ff 70%, var(--paper)); }
.hero[data-skin="brand"] .hero-body { padding-bottom: 96px; }
.hero[data-skin="brand"] h1 { font-weight: 800; color: var(--ink); letter-spacing: .01em; } .hero[data-skin="brand"] h1 em { background: linear-gradient(90deg, #0057ff, #2aa0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero[data-skin="brand"] .sub { display: inline-block; padding: 5px 16px; border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid rgba(0,102,255,.12); color: #4a5f86; font-size: 14px; }
.hero[data-skin="brand"] .sub::before { content: '✦ '; color: #0066ff; }
.hero[data-skin="brand"] .search { border-radius: 999px; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #0057ff, #3aa8ff 55%, #1f2430) border-box; box-shadow: 0 14px 34px -16px rgba(0,87,255,.55); }
.hero[data-skin="brand"] .search:focus-within { box-shadow: 0 0 0 4px rgba(0,102,255,.14), 0 14px 34px -16px rgba(0,87,255,.55); }
.bd-x { position: absolute; left: 50%; top: 50%; width: min(560px, 56%); transform: translate(-50%, -52%) rotate(-4deg); opacity: .055; user-select: none; }
.bd-card { position: absolute; top: 96px; left: max(32px, calc(50% - 706px)); width: 188px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(0,102,255,.14); box-shadow: 0 14px 34px -18px rgba(0,87,255,.5); backdrop-filter: blur(8px); color: #3b4f78; font-size: 12px; }
.bd-h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink, #14213d); font-size: 12.5px; }
.bd-h em { font-style: normal; font-weight: 600; font-size: 11px; color: #0066ff; padding-left: 12px; position: relative; } .bd-h em::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pulse 2s infinite; }
.bd-t { font: 800 34px/1.1 ui-monospace, Menlo, monospace; letter-spacing: .02em; margin-top: 6px; background: linear-gradient(90deg, #0057ff, #1f2430); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bd-d { margin-top: 2px; color: #6b7ba0; } .bd-g { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0,102,255,.22); font-weight: 600; color: #14213d; }
.bd-m { position: absolute; right: max(32px, calc(50% - 706px)); top: 78px; width: 188px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; animation: bd-float 4.2s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.bd-m img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0,60,160,.16)); user-select: none; }
.bd-m .bd-sh { position: absolute; left: 22%; right: 22%; bottom: -10px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,87,255,.28), transparent); animation: bd-shadow 4.2s ease-in-out infinite; }
.bd-m.pop img { animation: bd-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.bd-sp { position: absolute; inset: 0; pointer-events: none; } .bd-sp i { position: absolute; width: 9px; height: 9px; background: #ffb703; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: bd-spark .9s ease-out forwards; }
@keyframes bd-float { 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes bd-shadow { 50% { transform: scale(.82); opacity: .6; } }
@keyframes bd-pop { 0% { transform: scale(.88) rotate(-4deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes bd-spark { from { opacity: 1; transform: translate(0, 0) scale(.6); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.4) rotate(90deg); } }
@media (max-width: 1100px) { .bd-card { display: none; } .bd-m { width: 190px; top: 80px; right: 12px; } }
@media (max-width: 760px) { .bd-m { display: none; } }
@media (prefers-reduced-motion: reduce) { .bd-m, .bd-m .bd-sh { animation: none; } }
.bd-m.sq img { border-radius: 26px; border: 4px solid #fff; box-shadow: 0 16px 30px -12px rgba(0,60,160,.4); filter: none; transform: rotate(3deg); }
.bd-m.sq .bd-sh { display: none; }

/* 其他皮肤里的小驹：大数据（右侧空白处）/ 内容制作（右下） */
.bd-m.mk-data { right: max(32px, calc(50% - 706px)); top: 78px; width: 190px; }
.bd-m.mk-creative { right: max(32px, calc(50% - 706px)); top: 262px; width: 138px; }
.bd-m.mk-creative img { filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .85)); }
@media (max-width: 1100px) { .bd-m.mk-data, .bd-m.mk-creative { display: none; } }

