/* 首页 · 可交互知识卡 */
.knowledge-section{width:min(1080px,94vw);max-width:1080px;margin:22px auto 34px;box-sizing:border-box;}
.knowledge-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px;padding:0 5px;}
.knowledge-title{color:#263f37;font:900 22px/1.3 "Songti SC","STSong",serif;letter-spacing:.12em;}
.knowledge-sub{margin-top:5px;color:#87958f;font-size:11.5px;}
/* 知识卡分类索引 */
.knowledge-taxonomy{position:relative;display:grid;grid-template-columns:250px minmax(0,1fr);gap:12px 16px;margin:0 0 18px;padding:14px 15px;border:1px solid rgba(31,91,77,.10);border-radius:18px;background:radial-gradient(circle at 100% 0%,rgba(191,145,72,.11),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.92),rgba(242,248,244,.88));box-shadow:0 10px 26px rgba(34,65,58,.06);box-sizing:border-box;}
.knowledge-taxonomy-head{display:flex;align-items:center;gap:10px;min-width:0;}
.knowledge-taxonomy-seal{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid rgba(155,108,40,.34);border-radius:11px;background:linear-gradient(145deg,#fffaf0,#f6ead3);color:#9c6c27;font:900 20px/1 "STKaiti","KaiTi",serif;box-shadow:inset 0 0 0 3px rgba(255,255,255,.58);}
.knowledge-taxonomy-copy{display:block;min-width:0;}
.knowledge-taxonomy-copy b{display:block;color:#28483f;font:900 14px/1.25 "Songti SC","STSong",serif;letter-spacing:.08em;}
.knowledge-taxonomy-copy small{display:block;margin-top:3px;color:#697c74;font-size:9.5px;line-height:1.45;white-space:nowrap;}
.knowledge-taxonomy-total{display:grid;place-items:center;min-width:46px;margin-left:auto;padding:5px 8px;border:1px solid rgba(31,91,77,.10);border-radius:11px;background:rgba(255,255,255,.66);color:#28483f;}
.knowledge-taxonomy-total b{font:900 16px/1 "Songti SC","STSong",serif;}
.knowledge-taxonomy-total small{margin-top:3px;color:#71827b;font-size:8.5px;line-height:1;}
.knowledge-cats{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0;}
.knowledge-cat{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 10px;border:1px solid rgba(31,91,77,.12);border-radius:999px;background:rgba(255,255,255,.70);color:#52675f;font:800 11.5px/1 inherit;white-space:nowrap;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;}
.knowledge-cat:hover{transform:translateY(-1px);border-color:rgba(38,75,64,.28);background:#fff;color:#28483f;box-shadow:0 5px 12px rgba(34,65,58,.07);}
.knowledge-cat small{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:999px;background:rgba(38,75,64,.07);color:#667a72;font:800 9.5px/1 inherit;}
.knowledge-cat.on{border-color:#28483f;background:#28483f;color:#fff;box-shadow:0 7px 16px rgba(40,72,63,.18);}
.knowledge-cat.on small{background:rgba(255,255,255,.15);color:#f0d8a5;}
.knowledge-cat:focus-visible{outline:2px solid rgba(170,120,44,.78);outline-offset:2px;}
.knowledge-card.kc-cat-hidden{display:none!important;}
body.theme-dark .knowledge-taxonomy{border-color:rgba(255,255,255,.09);background:radial-gradient(circle at 100% 0%,rgba(191,145,72,.10),transparent 34%),linear-gradient(145deg,rgba(28,43,38,.94),rgba(18,31,26,.90));box-shadow:0 10px 26px rgba(0,0,0,.16);}
body.theme-dark .knowledge-taxonomy-copy b,body.theme-dark .knowledge-taxonomy-total b{color:#e8f4ef;}
body.theme-dark .knowledge-taxonomy-copy small,body.theme-dark .knowledge-taxonomy-total small{color:#9eb1a9;}
body.theme-dark .knowledge-taxonomy-total,body.theme-dark .knowledge-cat{border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.055);color:#c9d9d3;}
body.theme-dark .knowledge-cat small{background:rgba(255,255,255,.08);color:#b5c7c0;}
body.theme-dark .knowledge-cat:hover{border-color:rgba(255,255,255,.20);background:rgba(255,255,255,.09);color:#eef7f3;}
body.theme-dark .knowledge-cat.on{border-color:#e2bd78;background:#e2bd78;color:#17342c;}
body.theme-dark .knowledge-cat.on small{background:rgba(23,52,44,.12);color:#17342c;}
@media(max-width:900px){.knowledge-taxonomy{grid-template-columns:1fr;gap:11px;padding:14px;}.knowledge-cats{flex-wrap:nowrap;overflow-x:auto;margin:0 -2px;padding:2px 2px 7px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(38,75,64,.32) transparent;}.knowledge-cats::-webkit-scrollbar{height:5px;}.knowledge-cats::-webkit-scrollbar-track{background:transparent;}.knowledge-cats::-webkit-scrollbar-thumb{background:rgba(38,75,64,.28);border-radius:999px;}.knowledge-cat{flex:0 0 auto;scroll-snap-align:start;}}
@media(max-width:520px){.knowledge-taxonomy{padding:12px;border-radius:16px;}.knowledge-taxonomy-head{gap:8px;}.knowledge-taxonomy-seal{width:32px;height:32px;flex-basis:32px;border-radius:9px;font-size:17px;}.knowledge-taxonomy-copy b{font-size:13px;}.knowledge-taxonomy-copy small{font-size:8.5px;}.knowledge-taxonomy-total{min-width:42px;padding:5px 7px;}.knowledge-cat{min-height:34px;padding:0 9px;font-size:11px;}.knowledge-cat small{min-width:19px;height:19px;font-size:9px;}}
@media(prefers-reduced-motion:reduce){.knowledge-cat{transition:none;}}
.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;}
.knowledge-card{position:relative;height:100%;min-height:660px;padding:16px;box-sizing:border-box;border:1px solid rgba(31,91,77,.10);border-radius:24px;background:radial-gradient(circle at 100% 0%,rgba(211,162,81,.09),transparent 30%),linear-gradient(160deg,rgba(255,255,255,.98),rgba(244,249,246,.94));box-shadow:0 14px 32px rgba(34,65,58,.08);overflow:hidden;}
.knowledge-card::after{content:"";position:absolute;right:-28px;bottom:-34px;width:120px;height:120px;border-radius:50%;background:rgba(31,91,77,.04);pointer-events:none;}
.knowledge-badge{position:absolute;right:13px;top:13px;z-index:3;padding:5px 10px;border:1px solid rgba(191,145,72,.27);border-radius:9px;background:rgba(255,252,244,.75);color:#9c6c27;font-size:11px;font-weight:800;letter-spacing:.10em;}
.kc-title{position:relative;z-index:2;margin:16px 2px 0;color:#203f36;font:900 22px/1.35 "Songti SC","STSong",serif;letter-spacing:.06em;}
.kc-desc{position:relative;z-index:2;margin:8px 2px 0;color:#6e7e78;font-size:13px;line-height:1.75;}
.kc-result{position:relative;z-index:2;margin:16px 2px 0;padding-top:12px;border-top:1px solid rgba(31,91,77,.10);color:#a24f3f;font-size:13px;font-weight:800;line-height:1.65;}
.kc-seg{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:14px;padding:4px;border:1px solid rgba(31,91,77,.10);border-radius:999px;background:rgba(255,255,255,.72);}
.kc-ls-seg{grid-template-columns:repeat(3,1fr);}
.kc-seg button{min-height:38px;border:0;border-radius:999px;background:transparent;color:#71827c;font:700 12px inherit;}
.kc-seg button.on{background:#fffaf0;color:#a24f3f;box-shadow:0 2px 8px rgba(80,60,30,.12);}
.kc-wx-wheel{position:relative;height:248px;margin-top:8px;}
.kc-wx-wheel svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.kc-wx-wheel svg path{fill:none;stroke:rgba(190,154,96,.65);stroke-width:1.4;stroke-dasharray:4 3;marker-end:url(#kcArrowGold);}
.kc-wx-ke{display:none;}
.kc-wx-wheel[data-mode="ke"] .kc-wx-sheng{display:none;}
.kc-wx-wheel[data-mode="ke"] .kc-wx-ke{display:block;}
.kc-wx-node{position:absolute;z-index:2;width:46px;height:46px;display:grid;place-items:center;border:2px solid currentColor;border-radius:50%;background:#fff;font:900 20px/1 "Songti SC","STSong",serif;box-shadow:0 5px 14px rgba(34,65,58,.10);}
.kc-wx-node.wood{left:50%;top:0;margin-left:-23px;color:#4e8050;}.kc-wx-node.fire{right:5px;top:67px;color:#c95c4f;}.kc-wx-node.earth{right:34px;bottom:1px;color:#b88938;}.kc-wx-node.metal{left:34px;bottom:1px;color:#8f928d;}.kc-wx-node.water{left:5px;top:67px;color:#376a9b;}
.kc-wx-node.on{color:#fff!important;background:currentColor;transform:scale(1.08);box-shadow:0 8px 20px rgba(34,65,58,.2);}
.kc-wx-center{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);color:#776553;font:20px "Songti SC","STSong",serif;}
.kc-ls-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:38px 0 0;padding:10px;border:1px solid rgba(31,91,77,.11);border-radius:18px;background:rgba(255,255,255,.70);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);}
.kc-ls-cell{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(31,91,77,.10);border-radius:12px;background:linear-gradient(155deg,#fffefb,#f4f8f5);color:#36584f;box-shadow:0 4px 10px rgba(34,65,58,.04);}
.kc-ls-cell.on{border-color:rgba(189,77,58,.36);background:linear-gradient(155deg,#fff7ea,#ffe3d8);color:#a74a3b;box-shadow:0 7px 16px rgba(180,78,64,.15);}
.kc-ls-main{font:800 23px/1 "Songti SC","STSong",serif;}.kc-ls-sub{margin-top:4px;color:#9a8b75;font:10.5px/1 inherit;}.kc-ls-cell.on .kc-ls-sub{color:#b06856;}
.kc-ss-top{display:grid;grid-template-columns:62px minmax(0,1fr);gap:13px;margin-top:38px;align-items:center;}
.kc-master{display:flex;flex-direction:column;align-items:center;color:#80796c;font-size:10px;border-right:1px solid rgba(31,91,77,.10);padding-right:10px;}
.kc-master-glyph{width:48px;height:76px;display:grid;place-items:center;margin:6px 0;color:#4e8050;font:900 48px/1 "STKaiti","KaiTi",serif;}
.kc-master small{font-size:10px;color:#7d8b85;}
.kc-ss-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;}
.kc-ss-item{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;min-height:31px;padding:0 7px;border:1px solid rgba(31,91,77,.09);border-radius:7px;background:rgba(255,255,255,.72);color:#526a62;font-size:10.5px;text-align:left;}
.kc-ss-item b{padding-left:5px;border-left:1px solid rgba(31,91,77,.08);color:#8a6b45;font-size:12px;}.kc-ss-item.on{border-color:rgba(189,77,58,.30);background:#fff0e7;color:#a14738;}
.kc-stems{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:15px;padding:5px;border:1px solid rgba(31,91,77,.10);border-radius:999px;background:rgba(255,255,255,.70);}
.kc-stem{min-height:34px;border:0;border-radius:999px;background:transparent;color:#60736c;font:700 16px "Songti SC","STSong",serif;}.kc-stem.on{background:#fff7e7;color:#a24f3f;box-shadow:0 3px 9px rgba(80,60,30,.12);}
body.theme-dark .knowledge-card{background:radial-gradient(circle at 100% 0%,rgba(211,162,81,.08),transparent 30%),linear-gradient(160deg,rgba(28,42,37,.98),rgba(17,29,25,.96));border-color:rgba(255,255,255,.09);box-shadow:0 14px 32px rgba(0,0,0,.20);}body.theme-dark .knowledge-title,body.theme-dark .kc-title{color:#e8f4ef;}body.theme-dark .knowledge-sub,body.theme-dark .kc-desc{color:#a5b7b0;}body.theme-dark .kc-ls-grid,body.theme-dark .kc-ls-cell,body.theme-dark .kc-ss-item,body.theme-dark .kc-stems{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);color:#d4e3dd;}body.theme-dark .kc-seg{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-seg button.on,body.theme-dark .kc-stem.on{background:rgba(255,255,255,.10);color:#f0bea8;}body.theme-dark .kc-wx-node{background:#1a2924;}body.theme-dark .kc-wx-center{color:#b7c8c1;}
@media(max-width:900px){.knowledge-grid{grid-template-columns:1fr;}.knowledge-card{height:auto;min-height:660px;}.knowledge-section{width:100%;}}
@media(max-width:520px){.knowledge-title{font-size:20px;}.knowledge-card{padding:14px;border-radius:21px;}.kc-title{font-size:20px;}.kc-wx-wheel{height:238px;}.kc-ss-top{grid-template-columns:56px minmax(0,1fr);gap:10px;}.kc-master{padding-right:8px;}.kc-master-glyph{width:44px;height:70px;font-size:43px;}.kc-ss-item{font-size:10px;}.kc-stem{font-size:15px;}}

.kc-wx-node.wood.on{background:#4e8050!important;}.kc-wx-node.fire.on{background:#c95c4f!important;}.kc-wx-node.earth.on{background:#b88938!important;}.kc-wx-node.metal.on{background:#8f928d!important;}.kc-wx-node.water.on{background:#376a9b!important;}

.kc-wx-ke path.out{stroke:#4e8050!important;stroke-width:2.4!important;stroke-dasharray:none!important;marker-end:url(#kcArrowGreen)!important;}
.kc-wx-ke path.in{stroke:#c95c4f!important;stroke-width:2.4!important;stroke-dasharray:none!important;marker-end:url(#kcArrowRed)!important;}

/* 五行轮盘固定尺寸，不随卡片宽度变化 */
.knowledge-card .kc-wx-wheel{width:240px!important;max-width:100%!important;height:220px!important;margin:8px auto 0!important;}
.knowledge-card .kc-wx-wheel svg{width:240px!important;height:220px!important;left:50%!important;transform:translateX(-50%)!important;}
.knowledge-card .kc-wx-node{width:46px!important;height:46px!important;}
.knowledge-card .kc-wx-node.wood{left:97px!important;top:0!important;right:auto!important;bottom:auto!important;margin-left:0!important;}
.knowledge-card .kc-wx-node.fire{left:189px!important;top:67px!important;right:auto!important;bottom:auto!important;}
.knowledge-card .kc-wx-node.earth{left:160px!important;top:173px!important;right:auto!important;bottom:auto!important;}
.knowledge-card .kc-wx-node.metal{left:34px!important;top:173px!important;right:auto!important;bottom:auto!important;}
.knowledge-card .kc-wx-node.water{left:5px!important;top:67px!important;right:auto!important;bottom:auto!important;}
@media(max-width:520px){.knowledge-card .kc-wx-wheel{width:240px!important;height:220px!important;}.knowledge-card .kc-wx-wheel svg{width:240px!important;height:220px!important;}}

.kc-wx-sheng path.out{stroke:#4e8050!important;stroke-width:2.4!important;stroke-dasharray:none!important;marker-end:url(#kcArrowGreen)!important;}
.kc-wx-sheng path.in{stroke:#c95c4f!important;stroke-width:2.4!important;stroke-dasharray:none!important;marker-end:url(#kcArrowRed)!important;}

.kc-wx-sheng.filtered path,.kc-wx-ke.filtered path{display:none!important;}
.kc-wx-sheng.filtered path.active,.kc-wx-ke.filtered path.active{display:block!important;stroke:#4e8050!important;stroke-width:2.6!important;stroke-dasharray:none!important;marker-end:url(#kcArrowGreen)!important;}

/* 洛书九宫固定尺寸 */
.knowledge-card .kc-ls-grid{width:210px!important;height:210px!important;max-width:210px!important;margin:38px auto 0!important;padding:10px!important;box-sizing:border-box!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
.knowledge-card .kc-ls-cell{width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important;}
@media(max-width:520px){.knowledge-card .kc-ls-grid{width:210px!important;height:210px!important;max-width:210px!important;}}

/* 洛书九宫专属颜色 */
.knowledge-card .kc-ls-cell.on .kc-ls-main,.knowledge-card .kc-ls-cell.on .kc-ls-sub{color:inherit!important;}
.knowledge-card .kc-ls-cell.on .kc-ls-sub{opacity:.72;}
.knowledge-card .kc-ls-cell[data-num="1"].on{border-color:rgba(63,111,171,.42)!important;background:linear-gradient(155deg,#f8fbff,#e3eefb)!important;color:#3f6fab!important;box-shadow:0 7px 16px rgba(63,111,171,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="2"].on{border-color:rgba(184,137,56,.42)!important;background:linear-gradient(155deg,#fffdf7,#f5ead3)!important;color:#a97b2b!important;box-shadow:0 7px 16px rgba(184,137,56,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="3"].on{border-color:rgba(63,137,104,.42)!important;background:linear-gradient(155deg,#f8fffb,#e0f2e9)!important;color:#3f8968!important;box-shadow:0 7px 16px rgba(63,137,104,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="4"].on{border-color:rgba(78,128,80,.42)!important;background:linear-gradient(155deg,#fbfff9,#e4f1e4)!important;color:#4e8050!important;box-shadow:0 7px 16px rgba(78,128,80,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="5"].on{border-color:rgba(185,132,49,.46)!important;background:linear-gradient(155deg,#fffdf3,#f7e8c7)!important;color:#a8791e!important;box-shadow:0 7px 16px rgba(185,132,49,.18)!important;}
.knowledge-card .kc-ls-cell[data-num="6"].on{border-color:rgba(110,119,139,.42)!important;background:linear-gradient(155deg,#fafbfe,#e8ebf2)!important;color:#69748b!important;box-shadow:0 7px 16px rgba(110,119,139,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="7"].on{border-color:rgba(181,118,67,.42)!important;background:linear-gradient(155deg,#fffaf6,#f3e1d3)!important;color:#a6683c!important;box-shadow:0 7px 16px rgba(181,118,67,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="8"].on{border-color:rgba(137,111,68,.42)!important;background:linear-gradient(155deg,#fffdf8,#efe7d8)!important;color:#876d44!important;box-shadow:0 7px 16px rgba(137,111,68,.16)!important;}
.knowledge-card .kc-ls-cell[data-num="9"].on{border-color:rgba(201,92,79,.42)!important;background:linear-gradient(155deg,#fff8f6,#f9dfda)!important;color:#c95c4f!important;box-shadow:0 7px 16px rgba(201,92,79,.17)!important;}

/* 洛书九宫纯色选中 */
.knowledge-card .kc-ls-cell.on{color:#fff!important;border-color:transparent!important;}
.knowledge-card .kc-ls-cell.on .kc-ls-main,.knowledge-card .kc-ls-cell.on .kc-ls-sub{color:#fff!important;}.knowledge-card .kc-ls-cell.on .kc-ls-sub{opacity:.88;}
.knowledge-card .kc-ls-cell[data-num="1"].on{background:#3f6fab!important;box-shadow:0 7px 16px rgba(63,111,171,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="2"].on{background:#b88938!important;box-shadow:0 7px 16px rgba(184,137,56,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="3"].on{background:#3f8968!important;box-shadow:0 7px 16px rgba(63,137,104,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="4"].on{background:#4e8050!important;box-shadow:0 7px 16px rgba(78,128,80,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="5"].on{background:#b98431!important;box-shadow:0 7px 16px rgba(185,132,49,.30)!important;}
.knowledge-card .kc-ls-cell[data-num="6"].on{background:#69748b!important;box-shadow:0 7px 16px rgba(105,116,139,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="7"].on{background:#b57643!important;box-shadow:0 7px 16px rgba(181,118,67,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="8"].on{background:#876d44!important;box-shadow:0 7px 16px rgba(135,109,68,.28)!important;}
.knowledge-card .kc-ls-cell[data-num="9"].on{background:#c95c4f!important;box-shadow:0 7px 16px rgba(201,92,79,.30)!important;}

/* 洛书：选中实色，相连淡色，文字同色 */
.knowledge-card .kc-ls-cell.on:not(.selected){background:#fff!important;box-shadow:none!important;}
.knowledge-card .kc-ls-cell.on:not(.selected) .kc-ls-main,.knowledge-card .kc-ls-cell.on:not(.selected) .kc-ls-sub{color:inherit!important;}
.knowledge-card .kc-ls-cell.selected{color:#fff!important;}
.knowledge-card .kc-ls-cell.selected .kc-ls-main,.knowledge-card .kc-ls-cell.selected .kc-ls-sub{color:#fff!important;}
.knowledge-card .kc-ls-cell[data-num="1"].on:not(.selected){border-color:#bdd0e7!important;background:#f2f7fc!important;color:#3f6fab!important;}
.knowledge-card .kc-ls-cell[data-num="2"].on:not(.selected){border-color:#ead9b8!important;background:#fffaf0!important;color:#b88938!important;}
.knowledge-card .kc-ls-cell[data-num="3"].on:not(.selected){border-color:#bfe2d0!important;background:#f0fbf6!important;color:#3f8968!important;}
.knowledge-card .kc-ls-cell[data-num="4"].on:not(.selected){border-color:#c8dfc8!important;background:#f3faf3!important;color:#4e8050!important;}
.knowledge-card .kc-ls-cell[data-num="5"].on:not(.selected){border-color:#ead5a6!important;background:#fff9e9!important;color:#b98431!important;}
.knowledge-card .kc-ls-cell[data-num="6"].on:not(.selected){border-color:#ced4e0!important;background:#f6f7fa!important;color:#69748b!important;}
.knowledge-card .kc-ls-cell[data-num="7"].on:not(.selected){border-color:#e2c7b3!important;background:#fff7f2!important;color:#b57643!important;}
.knowledge-card .kc-ls-cell[data-num="8"].on:not(.selected){border-color:#d9caa9!important;background:#fdf9ef!important;color:#876d44!important;}
.knowledge-card .kc-ls-cell[data-num="9"].on:not(.selected){border-color:#efc4bd!important;background:#fff4f2!important;color:#c95c4f!important;}
.knowledge-card .kc-ls-cell[data-num="1"].selected{background:#3f6fab!important;border-color:#3f6fab!important;}.knowledge-card .kc-ls-cell[data-num="2"].selected{background:#b88938!important;border-color:#b88938!important;}.knowledge-card .kc-ls-cell[data-num="3"].selected{background:#3f8968!important;border-color:#3f8968!important;}.knowledge-card .kc-ls-cell[data-num="4"].selected{background:#4e8050!important;border-color:#4e8050!important;}.knowledge-card .kc-ls-cell[data-num="5"].selected{background:#b98431!important;border-color:#b98431!important;}.knowledge-card .kc-ls-cell[data-num="6"].selected{background:#69748b!important;border-color:#69748b!important;}.knowledge-card .kc-ls-cell[data-num="7"].selected{background:#b57643!important;border-color:#b57643!important;}.knowledge-card .kc-ls-cell[data-num="8"].selected{background:#876d44!important;border-color:#876d44!important;}.knowledge-card .kc-ls-cell[data-num="9"].selected{background:#c95c4f!important;border-color:#c95c4f!important;}

/* 十神卡片固定内部尺寸 */
.knowledge-card .kc-ss-top{width:270px!important;max-width:100%!important;grid-template-columns:62px 198px!important;gap:10px!important;margin:38px auto 0!important;}
.knowledge-card .kc-ss-grid{width:198px!important;grid-template-columns:repeat(2,96.5px)!important;gap:5px!important;}
.knowledge-card .kc-ss-item{height:31px!important;min-height:31px!important;padding:0 7px!important;font-size:10.5px!important;}
.knowledge-card .kc-ss-item b{font-size:12px!important;}
.knowledge-card .kc-master{width:62px!important;padding-right:10px!important;}
.knowledge-card .kc-master-glyph{width:48px!important;height:76px!important;font-size:48px!important;}
.knowledge-card .kc-stems{width:270px!important;max-width:100%!important;margin:15px auto 0!important;grid-template-columns:repeat(5,1fr)!important;}
.knowledge-card .kc-stem{min-height:34px!important;font-size:16px!important;}
@media(max-width:520px){.knowledge-card .kc-ss-top{width:270px!important;grid-template-columns:62px 198px!important;}.knowledge-card .kc-ss-grid{width:198px!important;grid-template-columns:repeat(2,96.5px)!important;}.knowledge-card .kc-stems{width:270px!important;}.knowledge-card .kc-master{width:62px!important;padding-right:10px!important;}.knowledge-card .kc-master-glyph{width:48px!important;height:76px!important;font-size:48px!important;}}

/* 十神滑块固定宽度 */
.knowledge-card .kc-stems{width:270px!important;min-width:270px!important;max-width:none!important;}
.knowledge-card .kc-stem{width:auto!important;min-width:0!important;}
@media(max-width:520px){.knowledge-card .kc-stems{width:270px!important;min-width:270px!important;max-width:none!important;}}

/* 十神滑块自适应与五行颜色 */
.knowledge-card .kc-stems{width:100%!important;min-width:0!important;max-width:270px!important;}
@media(max-width:520px){.knowledge-card .kc-stems{width:100%!important;min-width:0!important;max-width:100%!important;}}
.knowledge-card .kc-stem[data-el="木"].on{background:#4e8050!important;color:#fff!important;box-shadow:0 4px 12px rgba(78,128,80,.24)!important;}
.knowledge-card .kc-stem[data-el="火"].on{background:#c95c4f!important;color:#fff!important;box-shadow:0 4px 12px rgba(201,92,79,.24)!important;}
.knowledge-card .kc-stem[data-el="土"].on{background:#b88938!important;color:#fff!important;box-shadow:0 4px 12px rgba(184,137,56,.24)!important;}
.knowledge-card .kc-stem[data-el="金"].on{background:#69748b!important;color:#fff!important;box-shadow:0 4px 12px rgba(105,116,139,.24)!important;}
.knowledge-card .kc-stem[data-el="水"].on{background:#3f6fab!important;color:#fff!important;box-shadow:0 4px 12px rgba(63,111,171,.24)!important;}
.knowledge-card .kc-master-glyph[data-el="木"],.knowledge-card .kc-master small[data-el="木"]{color:#4e8050!important;}
.knowledge-card .kc-master-glyph[data-el="火"],.knowledge-card .kc-master small[data-el="火"]{color:#c95c4f!important;}
.knowledge-card .kc-master-glyph[data-el="土"],.knowledge-card .kc-master small[data-el="土"]{color:#b88938!important;}
.knowledge-card .kc-master-glyph[data-el="金"],.knowledge-card .kc-master small[data-el="金"]{color:#69748b!important;}
.knowledge-card .kc-master-glyph[data-el="水"],.knowledge-card .kc-master small[data-el="水"]{color:#3f6fab!important;}

/* 新增知识卡 · 统一视觉变量 */
.kc-wxstate-card,.kc-he-card,.kc-zhi-card,.kc-hidden-card{--kc-card-accent:#4e8050;--kc-card-soft:rgba(78,128,80,.10);}
.kc-wxstate-card::before,.kc-he-card::before,.kc-zhi-card::before,.kc-hidden-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-wxstate-card{--kc-card-accent:#4e8050;--kc-card-soft:rgba(78,128,80,.10);}
.kc-he-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.11);}
.kc-zhi-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-hidden-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-wxstate-card .kc-title,.kc-he-card .kc-title,.kc-zhi-card .kc-title,.kc-hidden-card .kc-title{margin-top:14px;}

/* 五行旺相休囚死 */
.kc-state-stage{position:relative;z-index:2;max-width:520px;margin:34px auto 0;}
.kc-state-season{height:40px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(31,91,77,.10);border-radius:14px;background:linear-gradient(135deg,rgba(78,128,80,.09),rgba(255,255,255,.74));color:#516e57;}
.kc-state-season small{font-size:10px;letter-spacing:.12em;color:#8b9a91;}
.kc-state-season b{font:900 23px/1 "Songti SC","STSong",serif;color:#3f6f47;}
.kc-state-season em{font-style:normal;font-size:10.5px;color:#7c8d82;}
.kc-state-cells{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:9px;}
.kc-state-cell{height:88px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(31,91,77,.10);border-radius:13px;background:linear-gradient(155deg,#fffefb,#f4f8f5);color:#60746c;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;cursor:pointer;}
.kc-state-cell span{font-size:11px;font-weight:800;letter-spacing:.08em;}
.kc-state-cell b{font:900 23px/1.1 "Songti SC","STSong",serif;color:var(--cell-color,currentColor);}
.kc-state-cell small{margin-top:4px;font-size:9.5px;color:#91a098;line-height:1.25;white-space:nowrap;}
.kc-state-cell[data-el="木"]{--cell-color:#4e8050;--cell-soft:rgba(78,128,80,.13);--cell-line:rgba(78,128,80,.34);}
.kc-state-cell[data-el="火"]{--cell-color:#c95c4f;--cell-soft:rgba(201,92,79,.13);--cell-line:rgba(201,92,79,.34);}
.kc-state-cell[data-el="土"]{--cell-color:#b88938;--cell-soft:rgba(184,137,56,.14);--cell-line:rgba(184,137,56,.36);}
.kc-state-cell[data-el="金"]{--cell-color:#69748b;--cell-soft:rgba(105,116,139,.13);--cell-line:rgba(105,116,139,.34);}
.kc-state-cell[data-el="水"]{--cell-color:#3f6fab;--cell-soft:rgba(63,111,171,.13);--cell-line:rgba(63,111,171,.34);}
.kc-state-cell.on{border-color:var(--cell-line);background:linear-gradient(155deg,#fff,rgba(255,255,255,.88)),var(--cell-soft);box-shadow:0 8px 17px rgba(35,65,57,.11);transform:translateY(-2px);}
.kc-state-cell.on span{color:var(--cell-color);}
.kc-state-seg{margin-top:10px;grid-template-columns:repeat(5,1fr);}

/* 天干五合 */
.kc-he-stage{position:relative;z-index:2;max-width:520px;margin:34px auto 0;padding:12px 12px 10px;display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);grid-template-rows:66px 27px;align-items:center;border:1px solid rgba(31,91,77,.10);border-radius:18px;background:radial-gradient(circle at 50% 36%,rgba(184,137,56,.12),transparent 50%),linear-gradient(160deg,rgba(255,255,255,.84),rgba(250,247,239,.84));}
.kc-he-side{justify-self:center;width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(184,137,56,.34);border-radius:50%;background:#fffaf0;color:#9a6b25;font:900 25px/1 "Songti SC","STSong",serif;box-shadow:0 7px 15px rgba(128,91,31,.11);}
.kc-he-bridge{position:relative;height:58px;display:grid;place-items:center;}
.kc-he-bridge i{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,rgba(184,137,56,.18),#c89f5b,rgba(184,137,56,.18));}
.kc-he-bridge span{position:relative;z-index:1;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fffaf0;color:#a5752d;font-size:12px;font-weight:900;box-shadow:0 4px 10px rgba(128,91,31,.12);}
.kc-he-transform{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:5px;color:#8d806d;font-size:10px;}
.kc-he-transform small{letter-spacing:.1em;}
.kc-he-transform b{font:900 18px/1 "Songti SC","STSong",serif;color:#b88938;}
.kc-he-transform b[data-el="木"]{color:#4e8050;}.kc-he-transform b[data-el="火"]{color:#c95c4f;}.kc-he-transform b[data-el="土"]{color:#b88938;}.kc-he-transform b[data-el="金"]{color:#69748b;}.kc-he-transform b[data-el="水"]{color:#3f6fab;}
.kc-he-pairs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;margin:10px auto 0;}
.kc-he-pair{min-height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(31,91,77,.10);border-radius:12px;background:rgba(255,255,255,.72);color:#68786f;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease;}
.kc-he-pair b{font:900 13px/1 "Songti SC","STSong",serif;color:#765d36;}
.kc-he-pair small{font-size:9.5px;color:#a18a66;}
.kc-he-pair.on{border-color:rgba(184,137,56,.40);background:linear-gradient(155deg,#fffaf0,#f7e9cb);box-shadow:0 7px 15px rgba(128,91,31,.12);transform:translateY(-2px);}
.kc-he-pair.on b{color:#a57427;}.kc-he-pair.on small{color:#9d6e28;}

/* 地支刑冲合害破 */
.kc-zhi-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-zhi-branches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}
.kc-zhi-branch{height:32px;min-width:0;border:1px solid rgba(122,95,168,.13);border-radius:10px;background:rgba(255,255,255,.72);color:#786f84;font:800 14px/1 "Songti SC","STSong",serif;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease;}
.kc-zhi-branch.on{border-color:rgba(122,95,168,.44);background:#7760a1;color:#fff;box-shadow:0 5px 12px rgba(104,79,145,.18);}
.kc-zhi-tabs{margin-top:10px;grid-template-columns:repeat(5,1fr);}
.kc-zhi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:520px;margin:10px auto 0;}
.kc-zhi-item{display:none;height:52px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(122,95,168,.13);border-radius:11px;background:rgba(255,255,255,.72);color:#6f6880;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-zhi-item.visible{display:flex;}
.kc-zhi-item b{font:900 11px/1 "Songti SC","STSong",serif;white-space:nowrap;}
.kc-zhi-item small{font-size:9px;color:#9c8eb0;white-space:nowrap;}
.kc-zhi-item.focus{border-color:rgba(122,95,168,.42);background:linear-gradient(155deg,#fbf9ff,#eee8f8);box-shadow:0 6px 14px rgba(105,78,146,.11);}
.kc-zhi-item.focus b{color:#6e519d;}.kc-zhi-item.focus small{color:#8c72b2;}

/* 地支藏干 */
.kc-hidden-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-hidden-branches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}
.kc-hidden-branch{height:32px;min-width:0;border:1px solid rgba(63,111,171,.13);border-radius:10px;background:rgba(255,255,255,.72);color:#68788e;font:800 14px/1 "Songti SC","STSong",serif;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease;}
.kc-hidden-branch.on{border-color:rgba(63,111,171,.43);background:#3f6fab;color:#fff;box-shadow:0 5px 12px rgba(63,111,171,.17);}
.kc-hidden-stage{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;max-width:520px;min-height:112px;margin:10px auto 0;padding:10px;border:1px solid rgba(31,91,77,.10);border-radius:17px;background:linear-gradient(155deg,rgba(255,255,255,.84),rgba(240,246,253,.78));box-sizing:border-box;}
.kc-hidden-focus{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid rgba(63,111,171,.12);}
.kc-hidden-focus span{font-size:10px;color:#98a6b5;letter-spacing:.12em;}.kc-hidden-focus b{margin:5px 0 3px;font:900 36px/1 "Songti SC","STSong",serif;color:#3f6fab;}.kc-hidden-focus small{font-size:11px;color:#72879d;}
.kc-hidden-stems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-content:center;}
.kc-hidden-stem{min-height:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(31,91,77,.10);border-radius:12px;background:rgba(255,255,255,.72);}
.kc-hidden-stem b{font:900 20px/1 "Songti SC","STSong",serif;color:var(--stem-color,currentColor);}.kc-hidden-stem small{font-size:9px;color:#9ba8b7;white-space:nowrap;}
.kc-hidden-stem[data-el="木"]{--stem-color:#4e8050;}.kc-hidden-stem[data-el="火"]{--stem-color:#c95c4f;}.kc-hidden-stem[data-el="土"]{--stem-color:#b88938;}.kc-hidden-stem[data-el="金"]{--stem-color:#69748b;}.kc-hidden-stem[data-el="水"]{--stem-color:#3f6fab;}

/* 新卡深色模式 */
body.theme-dark .kc-state-season,body.theme-dark .kc-state-cell,body.theme-dark .kc-he-stage,body.theme-dark .kc-he-pair,body.theme-dark .kc-zhi-branch,body.theme-dark .kc-zhi-item,body.theme-dark .kc-hidden-branch,body.theme-dark .kc-hidden-stage,body.theme-dark .kc-hidden-stem{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);color:#d4e3dd;}
body.theme-dark .kc-state-season b,body.theme-dark .kc-state-cell b,body.theme-dark .kc-he-side,body.theme-dark .kc-he-pair b,body.theme-dark .kc-zhi-item b,body.theme-dark .kc-hidden-focus b,body.theme-dark .kc-hidden-stem b{color:#e8f4ef;}
body.theme-dark .kc-state-season small,body.theme-dark .kc-state-season em,body.theme-dark .kc-state-cell small,body.theme-dark .kc-he-pair small,body.theme-dark .kc-he-transform,body.theme-dark .kc-zhi-item small,body.theme-dark .kc-hidden-focus span,body.theme-dark .kc-hidden-focus small,body.theme-dark .kc-hidden-stem small{color:#a5b7b0;}

@media(max-width:520px){
  .knowledge-card .kc-title{margin-top:13px;}
  .kc-state-stage,.kc-he-stage,.kc-he-pairs,.kc-zhi-branches,.kc-zhi-grid,.kc-hidden-branches,.kc-hidden-stage{margin-top:30px;}
  .kc-he-pairs,.kc-zhi-grid,.kc-hidden-branches{margin-top:9px;}
  .kc-state-cell{height:78px;}
  .kc-state-cell b{font-size:20px;}
  .kc-state-cell small{font-size:8.5px;}
  .kc-he-stage{padding:10px;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);grid-template-rows:60px 25px;}
  .kc-he-side{width:52px;height:52px;font-size:22px;}
  .kc-he-bridge{height:52px;}
  .kc-he-pair{min-height:50px;}
  .kc-zhi-grid{gap:5px;}
  .kc-zhi-item{height:48px;}
  .kc-zhi-item b{font-size:10px;}
  .kc-zhi-item small{font-size:8.5px;}
  .kc-hidden-stage{grid-template-columns:68px minmax(0,1fr);gap:8px;padding:8px;}
  .kc-hidden-stem{min-height:58px;}
  .kc-hidden-stem b{font-size:18px;}
}
/* 新增知识卡 · 五行属性配色 */
.kc-color-el[data-el="木"]{color:#4e8050!important;}
.kc-color-el[data-el="火"]{color:#c95c4f!important;}
.kc-color-el[data-el="土"]{color:#b88938!important;}
.kc-color-el[data-el="金"]{color:#69748b!important;}
.kc-color-el[data-el="水"]{color:#3f6fab!important;}
.kc-pair-dot{font-style:normal;color:inherit;opacity:.52;margin:0 1px;}

/* 天干五合：天干与化气各自对应五行 */
.kc-he-side[data-el="木"]{color:#4e8050!important;border-color:rgba(78,128,80,.42)!important;background:rgba(78,128,80,.08)!important;}
.kc-he-side[data-el="火"]{color:#c95c4f!important;border-color:rgba(201,92,79,.42)!important;background:rgba(201,92,79,.08)!important;}
.kc-he-side[data-el="土"]{color:#b88938!important;border-color:rgba(184,137,56,.42)!important;background:rgba(184,137,56,.08)!important;}
.kc-he-side[data-el="金"]{color:#69748b!important;border-color:rgba(105,116,139,.42)!important;background:rgba(105,116,139,.08)!important;}
.kc-he-side[data-el="水"]{color:#3f6fab!important;border-color:rgba(63,111,171,.42)!important;background:rgba(63,111,171,.08)!important;}
.kc-he-pair small[data-el="木"]{color:#4e8050!important;}.kc-he-pair small[data-el="火"]{color:#c95c4f!important;}.kc-he-pair small[data-el="土"]{color:#b88938!important;}.kc-he-pair small[data-el="金"]{color:#69748b!important;}.kc-he-pair small[data-el="水"]{color:#3f6fab!important;}
.kc-he-pair b .kc-color-el{font-weight:900;}

/* 地支关系：地支按五行着色，分类页签保留分类色 */
.kc-zhi-branch[data-el="木"]{--zhi-color:#4e8050;--zhi-soft:rgba(78,128,80,.12);}.kc-zhi-branch[data-el="火"]{--zhi-color:#c95c4f;--zhi-soft:rgba(201,92,79,.12);}.kc-zhi-branch[data-el="土"]{--zhi-color:#b88938;--zhi-soft:rgba(184,137,56,.13);}.kc-zhi-branch[data-el="金"]{--zhi-color:#69748b;--zhi-soft:rgba(105,116,139,.12);}.kc-zhi-branch[data-el="水"]{--zhi-color:#3f6fab;--zhi-soft:rgba(63,111,171,.12);}
.kc-zhi-branch{color:var(--zhi-color,currentColor)!important;border-color:var(--zhi-soft,rgba(31,91,77,.10))!important;}
.kc-zhi-branch.on{background:var(--zhi-color,#7760a1)!important;border-color:var(--zhi-color,#7760a1)!important;color:#fff!important;box-shadow:0 5px 12px rgba(34,65,58,.16)!important;}
.kc-zhi-tabs button[data-zhi-cat="he"].on{background:#4e8050!important;color:#fff!important;}.kc-zhi-tabs button[data-zhi-cat="chong"].on{background:#c95c4f!important;color:#fff!important;}.kc-zhi-tabs button[data-zhi-cat="xing"].on{background:#7a5fa8!important;color:#fff!important;}.kc-zhi-tabs button[data-zhi-cat="hai"].on{background:#b57643!important;color:#fff!important;}.kc-zhi-tabs button[data-zhi-cat="po"].on{background:#3f6fab!important;color:#fff!important;}
.kc-zhi-item[data-zhi-cat="he"].focus{border-color:rgba(78,128,80,.38)!important;background:rgba(78,128,80,.09)!important;}.kc-zhi-item[data-zhi-cat="chong"].focus{border-color:rgba(201,92,79,.38)!important;background:rgba(201,92,79,.09)!important;}.kc-zhi-item[data-zhi-cat="xing"].focus{border-color:rgba(122,95,168,.38)!important;background:rgba(122,95,168,.09)!important;}.kc-zhi-item[data-zhi-cat="hai"].focus{border-color:rgba(181,118,67,.38)!important;background:rgba(181,118,67,.09)!important;}.kc-zhi-item[data-zhi-cat="po"].focus{border-color:rgba(63,111,171,.38)!important;background:rgba(63,111,171,.09)!important;}

/* 地支藏干：地支与藏干均按所属五行着色 */
.kc-hidden-branch[data-el="木"]{--zhi-color:#4e8050;--zhi-soft:rgba(78,128,80,.12);}.kc-hidden-branch[data-el="火"]{--zhi-color:#c95c4f;--zhi-soft:rgba(201,92,79,.12);}.kc-hidden-branch[data-el="土"]{--zhi-color:#b88938;--zhi-soft:rgba(184,137,56,.13);}.kc-hidden-branch[data-el="金"]{--zhi-color:#69748b;--zhi-soft:rgba(105,116,139,.12);}.kc-hidden-branch[data-el="水"]{--zhi-color:#3f6fab;--zhi-soft:rgba(63,111,171,.12);}
.kc-hidden-branch{color:var(--zhi-color,currentColor)!important;border-color:var(--zhi-soft,rgba(63,111,171,.13))!important;}
.kc-hidden-branch.on{background:var(--zhi-color,#3f6fab)!important;border-color:var(--zhi-color,#3f6fab)!important;color:#fff!important;box-shadow:0 5px 12px rgba(63,111,171,.17)!important;}
.kc-hidden-focus b[data-el="木"],.kc-hidden-focus small[data-el="木"]{color:#4e8050!important;}.kc-hidden-focus b[data-el="火"],.kc-hidden-focus small[data-el="火"]{color:#c95c4f!important;}.kc-hidden-focus b[data-el="土"],.kc-hidden-focus small[data-el="土"]{color:#b88938!important;}.kc-hidden-focus b[data-el="金"],.kc-hidden-focus small[data-el="金"]{color:#69748b!important;}.kc-hidden-focus b[data-el="水"],.kc-hidden-focus small[data-el="水"]{color:#3f6fab!important;}
/* 新增五张知识卡 · 统一描边与色带 */
.kc-cs-card,.kc-jz-card,.kc-tg-card,.kc-yy-card,.kc-ht-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-jz-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.11);}
.kc-tg-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-yy-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-ht-card{--kc-card-accent:#b57643;--kc-card-soft:rgba(181,118,67,.10);}
.kc-cs-card::before,.kc-jz-card::before,.kc-tg-card::before,.kc-yy-card::before,.kc-ht-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}

/* 十二长生 */
.kc-cs-stems{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}
.kc-cs-stem{height:33px;min-width:0;border:1px solid rgba(31,91,77,.10);border-radius:10px;background:rgba(255,255,255,.72);color:var(--el-color,#60746c);font:900 14px/1 "Songti SC","STSong",serif;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease;}
.kc-cs-stem[data-el="木"],.kc-cs-state[data-el="木"]{--el-color:#4e8050;--el-soft:rgba(78,128,80,.12);--el-line:rgba(78,128,80,.36);}.kc-cs-stem[data-el="火"],.kc-cs-state[data-el="火"]{--el-color:#c95c4f;--el-soft:rgba(201,92,79,.12);--el-line:rgba(201,92,79,.36);}.kc-cs-stem[data-el="土"],.kc-cs-state[data-el="土"]{--el-color:#b88938;--el-soft:rgba(184,137,56,.13);--el-line:rgba(184,137,56,.38);}.kc-cs-stem[data-el="金"],.kc-cs-state[data-el="金"]{--el-color:#69748b;--el-soft:rgba(105,116,139,.12);--el-line:rgba(105,116,139,.36);}.kc-cs-stem[data-el="水"],.kc-cs-state[data-el="水"]{--el-color:#3f6fab;--el-soft:rgba(63,111,171,.12);--el-line:rgba(63,111,171,.36);}
.kc-cs-stem.on{background:var(--el-color)!important;border-color:var(--el-color)!important;color:#fff!important;box-shadow:0 5px 12px rgba(34,65,58,.15);}
.kc-cs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:520px;margin:10px auto 0;}
.kc-cs-state{height:50px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(31,91,77,.10);border-radius:11px;background:rgba(255,255,255,.72);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-cs-state span{font-size:10px;color:#8a9a92;}.kc-cs-state b{font:900 15px/1 "Songti SC","STSong",serif;color:var(--el-color,currentColor);}
.kc-cs-state.on{border-color:var(--el-line);background:var(--el-soft);box-shadow:0 5px 12px rgba(34,65,58,.10);}
/* 六十甲子与旬空 */
.kc-jz-xun{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:520px;margin:34px auto 0;}
.kc-jz-xun button{height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(31,91,77,.10);border-radius:12px;background:rgba(255,255,255,.72);color:#7f725f;cursor:pointer;}
.kc-jz-xun b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-jz-xun small{font-size:9px;color:#9e9076;}
.kc-jz-xun button[data-xun-index="0"].on{border-color:rgba(78,128,80,.38);background:rgba(78,128,80,.09);}.kc-jz-xun button[data-xun-index="1"].on{border-color:rgba(201,92,79,.38);background:rgba(201,92,79,.09);}.kc-jz-xun button[data-xun-index="2"].on{border-color:rgba(184,137,56,.42);background:rgba(184,137,56,.10);}.kc-jz-xun button[data-xun-index="3"].on{border-color:rgba(105,116,139,.38);background:rgba(105,116,139,.09);}.kc-jz-xun button[data-xun-index="4"].on{border-color:rgba(63,111,171,.38);background:rgba(63,111,171,.09);}.kc-jz-xun button[data-xun-index="5"].on{border-color:rgba(122,95,168,.38);background:rgba(122,95,168,.09);}
.kc-jz-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;margin:10px auto 0;}
.kc-jz-item{display:none;height:43px;min-width:0;align-items:center;justify-content:center;border:1px solid rgba(31,91,77,.10);border-radius:10px;background:rgba(255,255,255,.72);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-jz-item.visible{display:flex;}.kc-jz-item b{font:900 11px/1 "Songti SC","STSong",serif;letter-spacing:-.04em;}
.kc-jz-item.focus{border-color:rgba(184,137,56,.42);background:rgba(184,137,56,.09);box-shadow:0 5px 12px rgba(128,91,31,.11);}

/* 十神关系 */
.kc-tg-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}
.kc-tg-item{height:46px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(122,95,168,.12);border-radius:11px;background:rgba(255,255,255,.72);color:#6f6880;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-tg-item b{font:900 13px/1 "Songti SC","STSong",serif;}.kc-tg-item small{font-size:9px;color:#9c8eb0;}
.kc-tg-item[data-group="same"],.kc-tg-focus[data-group="same"]{--tg-color:#3f8968;--tg-soft:rgba(63,137,104,.10);}.kc-tg-item[data-group="output"],.kc-tg-focus[data-group="output"]{--tg-color:#c95c4f;--tg-soft:rgba(201,92,79,.10);}.kc-tg-item[data-group="wealth"],.kc-tg-focus[data-group="wealth"]{--tg-color:#b88938;--tg-soft:rgba(184,137,56,.11);}.kc-tg-item[data-group="officer"],.kc-tg-focus[data-group="officer"]{--tg-color:#69748b;--tg-soft:rgba(105,116,139,.10);}.kc-tg-item[data-group="resource"],.kc-tg-focus[data-group="resource"]{--tg-color:#3f6fab;--tg-soft:rgba(63,111,171,.10);}
.kc-tg-item.on{background:var(--tg-color);border-color:var(--tg-color);color:#fff;box-shadow:0 5px 12px rgba(34,65,58,.15);}.kc-tg-item.on small{color:rgba(255,255,255,.82);}
.kc-tg-focus{max-width:520px;margin:10px auto 0;padding:11px 13px;border:1px solid var(--tg-color,#3f8968);border-radius:15px;background:var(--tg-soft,rgba(63,137,104,.10));box-sizing:border-box;}.kc-tg-focus b{display:block;color:var(--tg-color,#3f8968);font:900 20px/1.1 "Songti SC","STSong",serif;}.kc-tg-focus span{display:block;margin-top:5px;color:#7d8d84;font-size:10px;}.kc-tg-focus em{display:block;margin-top:6px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}
/* 天干地支阴阳 */
.kc-yy-tabs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:34px;}
.kc-yy-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:520px;margin:10px auto 0;}
.kc-yy-item{height:47px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(31,91,77,.10);border-radius:10px;background:rgba(255,255,255,.72);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-yy-item b{font:900 15px/1 "Songti SC","STSong",serif;color:var(--el-color,currentColor);}.kc-yy-item small{font-size:9px;color:#9a9a90;}
.kc-yy-item[data-el="木"]{--el-color:#4e8050;--el-soft:rgba(78,128,80,.10);}.kc-yy-item[data-el="火"]{--el-color:#c95c4f;--el-soft:rgba(201,92,79,.10);}.kc-yy-item[data-el="土"]{--el-color:#b88938;--el-soft:rgba(184,137,56,.11);}.kc-yy-item[data-el="金"]{--el-color:#69748b;--el-soft:rgba(105,116,139,.10);}.kc-yy-item[data-el="水"]{--el-color:#3f6fab;--el-soft:rgba(63,111,171,.10);}
.kc-yy-item[data-yy="阳"]{border-color:rgba(184,137,56,.22);background:linear-gradient(150deg,#fffdf7,#f8efd9);}.kc-yy-item[data-yy="阴"]{border-color:rgba(63,111,171,.22);background:linear-gradient(150deg,#fbfdff,#e9f1fb);}
.kc-yy-item.on{background:var(--el-soft)!important;border-color:var(--el-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.10);}
.kc-yy-focus{max-width:520px;margin:10px auto 0;padding:11px 13px;border:1px solid var(--el-color,#4e8050);border-radius:15px;background:rgba(255,255,255,.62);box-sizing:border-box;}.kc-yy-focus b{display:block;color:var(--el-color,#4e8050);font:900 24px/1 "Songti SC","STSong",serif;}.kc-yy-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-yy-focus em{display:block;margin-top:6px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}

/* 河图理数 */
.kc-ht-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:". north ." "east center west" ". south .";gap:7px;max-width:520px;margin:34px auto 0;}
.kc-ht-node{height:70px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ht-line,rgba(31,91,77,.10));border-radius:14px;background:rgba(255,255,255,.72);color:var(--ht-color,#60746c);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-ht-node small{font-size:10px;color:#929e98;}.kc-ht-node b{display:flex;align-items:center;gap:5px;font:900 17px/1 "Songti SC","STSong",serif;}.kc-ht-node b i{font-style:normal;color:var(--ht-color,currentColor);}.kc-ht-node b em{font-style:normal;color:var(--ht-color,currentColor);opacity:.72;}.kc-ht-node span{font-size:11px;font-weight:800;color:var(--ht-color,currentColor);}
.kc-ht-node.north{grid-area:north;}.kc-ht-node.east{grid-area:east;}.kc-ht-node.center{grid-area:center;}.kc-ht-node.west{grid-area:west;}.kc-ht-node.south{grid-area:south;}
.kc-ht-node[data-el="木"]{--ht-color:#4e8050;--ht-soft:rgba(78,128,80,.11);--ht-line:rgba(78,128,80,.36);}.kc-ht-node[data-el="火"]{--ht-color:#c95c4f;--ht-soft:rgba(201,92,79,.11);--ht-line:rgba(201,92,79,.36);}.kc-ht-node[data-el="土"]{--ht-color:#b88938;--ht-soft:rgba(184,137,56,.12);--ht-line:rgba(184,137,56,.38);}.kc-ht-node[data-el="金"]{--ht-color:#69748b;--ht-soft:rgba(105,116,139,.11);--ht-line:rgba(105,116,139,.36);}.kc-ht-node[data-el="水"]{--ht-color:#3f6fab;--ht-soft:rgba(63,111,171,.11);--ht-line:rgba(63,111,171,.36);}
.kc-ht-node.on{background:var(--ht-soft)!important;border-color:var(--ht-line)!important;box-shadow:0 6px 14px rgba(34,65,58,.10);}

/* 新卡深色与手机适配 */
body.theme-dark .kc-cs-stem,body.theme-dark .kc-cs-state,body.theme-dark .kc-jz-xun button,body.theme-dark .kc-jz-item,body.theme-dark .kc-tg-item,body.theme-dark .kc-tg-focus,body.theme-dark .kc-yy-item,body.theme-dark .kc-yy-focus,body.theme-dark .kc-ht-node{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}
body.theme-dark .kc-cs-state span,body.theme-dark .kc-jz-xun b,body.theme-dark .kc-jz-xun small,body.theme-dark .kc-tg-item small,body.theme-dark .kc-tg-focus span,body.theme-dark .kc-tg-focus em,body.theme-dark .kc-yy-item small,body.theme-dark .kc-yy-focus span,body.theme-dark .kc-yy-focus em,body.theme-dark .kc-ht-node small,body.theme-dark .kc-ht-node span{color:#a5b7b0;}
@media(max-width:520px){.kc-cs-stems,.kc-jz-xun,.kc-cs-grid,.kc-jz-grid,.kc-tg-grid,.kc-yy-grid,.kc-ht-grid{margin-top:30px;}.kc-cs-grid,.kc-jz-grid,.kc-tg-grid,.kc-yy-grid{margin-top:9px;}.kc-cs-state,.kc-jz-item,.kc-tg-item,.kc-yy-item{height:44px;}.kc-jz-item b{font-size:10px;}.kc-ht-grid{gap:5px;}.kc-ht-node{height:64px;}.kc-tg-focus,.kc-yy-focus{padding:9px 11px;}}
/* 阴阳焦点面板的属性颜色同步 */
.kc-yy-focus{background:var(--el-soft,rgba(255,255,255,.62))!important;}
.kc-yy-focus[data-el="木"]{--el-color:#4e8050;--el-soft:rgba(78,128,80,.09);}.kc-yy-focus[data-el="火"]{--el-color:#c95c4f;--el-soft:rgba(201,92,79,.09);}.kc-yy-focus[data-el="土"]{--el-color:#b88938;--el-soft:rgba(184,137,56,.10);}.kc-yy-focus[data-el="金"]{--el-color:#69748b;--el-soft:rgba(105,116,139,.09);}.kc-yy-focus[data-el="水"]{--el-color:#3f6fab;--el-soft:rgba(63,111,171,.09);}
/* 天干地支阴阳：取消柔化，改为实色高对比 */
.kc-yy-item{background:#fff!important;border-width:2px!important;border-color:var(--el-color)!important;box-shadow:inset 0 3px 0 #b88938!important;}
.kc-yy-item[data-yy="阴"]{box-shadow:inset 0 3px 0 #3f6fab!important;}
.kc-yy-item b{color:var(--el-color)!important;}
.kc-yy-item small{color:#5f6f67!important;}
.kc-yy-item.on{background:var(--el-color)!important;border-color:var(--el-color)!important;box-shadow:0 0 0 2px #fff,0 5px 12px rgba(0,0,0,.16)!important;}
.kc-yy-item.on b,.kc-yy-item.on small{color:#fff!important;}
.kc-yy-focus{background:#fff!important;border:2px solid var(--el-color)!important;box-shadow:inset 0 4px 0 var(--el-color)!important;}
.kc-yy-focus b{color:var(--el-color)!important;}
body.theme-dark .kc-yy-item{background:#1c2924!important;}
body.theme-dark .kc-yy-item small{color:#c4d2cc!important;}
body.theme-dark .kc-yy-focus{background:#16211d!important;}
/* 河图理数 · 河图盘重设计 */
.kc-ht-board{position:relative;width:222px;height:222px;margin:30px auto 0;border:1px solid rgba(181,118,67,.25);border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(181,118,67,.13),rgba(255,255,255,.94) 38%,rgba(250,245,235,.96));box-shadow:inset 0 0 0 8px rgba(181,118,67,.025),0 10px 24px rgba(120,89,44,.08);box-sizing:border-box;isolation:isolate;}
.kc-ht-board::before{content:"";position:absolute;z-index:0;inset:24px;border:1px dashed rgba(181,118,67,.38);border-radius:50%;animation:kcHtSpin 26s linear infinite;pointer-events:none;}
.kc-ht-orbit{position:absolute;z-index:0;inset:9px;border:1px solid rgba(181,118,67,.16);border-radius:50%;box-shadow:0 0 0 5px rgba(181,118,67,.025);pointer-events:none;}
.kc-ht-axis{position:absolute;z-index:0;background:linear-gradient(90deg,transparent,#c99b58 22%,#c99b58 78%,transparent);opacity:.45;pointer-events:none;}
.kc-ht-axis-x{left:23px;right:23px;top:50%;height:1px;}.kc-ht-axis-y{top:23px;bottom:23px;left:50%;width:1px;background:linear-gradient(180deg,transparent,#c99b58 22%,#c99b58 78%,transparent);}
.kc-ht-node{position:absolute!important;z-index:2;width:70px!important;height:70px!important;min-width:70px!important;padding:4px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;border:2px solid var(--ht-color,currentColor)!important;border-radius:50%!important;background:#fff!important;color:var(--ht-color,currentColor)!important;box-shadow:0 7px 15px rgba(80,61,31,.13)!important;box-sizing:border-box!important;}
.kc-ht-node.north{left:50%!important;top:0!important;transform:translateX(-50%)!important;}.kc-ht-node.south{left:50%!important;bottom:0!important;transform:translateX(-50%)!important;}.kc-ht-node.east{right:0!important;top:50%!important;transform:translateY(-50%)!important;}.kc-ht-node.west{left:0!important;top:50%!important;transform:translateY(-50%)!important;}.kc-ht-node.center{left:50%!important;top:50%!important;width:82px!important;height:82px!important;transform:translate(-50%,-50%)!important;}
.kc-ht-dir{font-size:10px!important;font-weight:900!important;color:currentColor!important;}.kc-ht-el{font-size:11px!important;font-weight:900!important;color:currentColor!important;}
.kc-ht-read{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;height:12px!important;}.kc-ht-read b{display:flex!important;align-items:center!important;gap:1px!important;font:900 10px/1 "Songti SC","STSong",serif!important;color:currentColor!important;}.kc-ht-read b small{font-size:7px!important;font-weight:800!important;opacity:.72!important;}
.kc-ht-dots{display:grid!important;grid-template-columns:repeat(5,2px)!important;grid-auto-rows:2px!important;gap:1px!important;width:14px!important;font-size:0!important;}.kc-ht-dots i{display:block!important;width:2px!important;height:2px!important;border-radius:50%!important;background:currentColor!important;}
.kc-ht-node.on{background:var(--ht-color)!important;border-color:var(--ht-color)!important;color:#fff!important;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--ht-color),0 8px 18px rgba(80,61,31,.18)!important;}
.kc-ht-node.on .kc-ht-dir,.kc-ht-node.on .kc-ht-el,.kc-ht-node.on .kc-ht-read b,.kc-ht-node.on .kc-ht-read b small{color:#fff!important;}
.kc-ht-legend{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;max-width:520px!important;margin:10px auto 0!important;}
.kc-ht-legend span{padding:4px 7px;border:1px solid rgba(181,118,67,.20);border-radius:999px;background:#fff;color:#7c705d;font-size:9.5px;font-weight:800;white-space:nowrap;}
@keyframes kcHtSpin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
body.theme-dark .kc-ht-board{border-color:rgba(255,255,255,.10);background:radial-gradient(circle at 50% 50%,rgba(181,118,67,.12),rgba(28,41,36,.98) 42%,rgba(17,28,24,.98));box-shadow:inset 0 0 0 8px rgba(255,255,255,.025),0 10px 24px rgba(0,0,0,.2);}
body.theme-dark .kc-ht-node{background:#1c2924!important;}body.theme-dark .kc-ht-legend span{background:#1c2924;border-color:rgba(255,255,255,.10);color:#b8c6c0;}
@media(prefers-reduced-motion:reduce){.kc-ht-board::before{animation:none;}}
@media(max-width:520px){.kc-ht-board{width:210px;height:210px;margin-top:27px;}.kc-ht-node{width:66px!important;height:66px!important;min-width:66px!important;}.kc-ht-node.center{width:78px!important;height:78px!important;}.kc-ht-legend{gap:4px;}.kc-ht-legend span{font-size:9px;padding:3px 6px;}}
/* 河图滑块与模式内容 */
.kc-ht-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(181,118,67,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-ht-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#c99b58;transition:transform .24s ease;}
.kc-ht-slider[data-mode="el"] .kc-ht-thumb{transform:translateX(100%);}.kc-ht-slider[data-mode="dir"] .kc-ht-thumb{transform:translateX(200%);}.kc-ht-slider[data-mode="season"] .kc-ht-thumb{transform:translateX(300%);}
.kc-ht-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#86765f;font:800 11px/1 inherit;cursor:pointer;transition:color .18s ease;}.kc-ht-slider button.on{color:#fff;}
.kc-ht-board{margin-top:10px!important;}
.kc-ht-main{display:block!important;font:900 20px/1 "Songti SC","STSong",serif!important;color:currentColor!important;}.kc-ht-sub{display:block!important;margin-top:2px!important;font-size:8.5px!important;line-height:1.15!important;color:#8e816e!important;white-space:nowrap!important;}
.kc-ht-read{display:none!important;}.kc-ht-board[data-mode="num"] .kc-ht-read{display:flex!important;}
.kc-ht-node.on .kc-ht-main,.kc-ht-node.on .kc-ht-sub{color:#fff!important;}
body.theme-dark .kc-ht-slider{background:#1c2924!important;border-color:rgba(255,255,255,.10)!important;}body.theme-dark .kc-ht-slider button{color:#b8c6c0;}body.theme-dark .kc-ht-slider button.on{color:#fff;}
@media(max-width:520px){.kc-ht-slider{margin-top:30px!important;}.kc-ht-slider button{font-size:10px;}.kc-ht-main{font-size:18px!important;}.kc-ht-sub{font-size:8px!important;}}
/* 河图盘防重叠：扩大盘面，缩小节点并留出间距 */
.kc-ht-board{width:242px!important;height:242px!important;}
.kc-ht-node{width:66px!important;height:66px!important;min-width:66px!important;}
.kc-ht-node.center{width:78px!important;height:78px!important;}
@media(max-width:520px){.kc-ht-board{width:226px!important;height:226px!important;}.kc-ht-node{width:62px!important;height:62px!important;min-width:62px!important;}.kc-ht-node.center{width:72px!important;height:72px!important;}}
/* 手机端十神关系避让右上角徽标 */
@media(max-width:520px){.kc-tg-card .kc-tg-grid{margin-top:54px!important;}}
/* 手机端十神关系二次避让 */
@media(max-width:520px){.kc-tg-card .kc-tg-grid{margin-top:76px!important;}}
/* 手机端地支关系与地支藏干避让徽标 */
@media(max-width:520px){.kc-zhi-card .kc-zhi-branches,.kc-hidden-card .kc-hidden-branches{margin-top:60px!important;}}
/* 四张进阶知识卡 · 统一顶部色带 */
.kc-zr-card,.kc-fk-card,.kc-sc-card,.kc-qm-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-fk-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.11);}
.kc-sc-card{--kc-card-accent:#c95c4f;--kc-card-soft:rgba(201,92,79,.10);}
.kc-qm-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-zr-card::before,.kc-fk-card::before,.kc-sc-card::before,.kc-qm-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}

/* 十二地支关系 */
.kc-zr-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:34px!important;}
.kc-zr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:520px;margin:10px auto 0;}
.kc-zr-item{display:none;height:58px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(31,91,77,.10);border-radius:11px;background:#fff;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-zr-item.visible{display:flex;}.kc-zr-item b{font:900 13px/1 "Songti SC","STSong",serif;letter-spacing:.03em;}.kc-zr-item small{font-size:9px;color:#8b9a91;white-space:nowrap;}
.kc-zr-item[data-zr-cat="sanhe"]{--zr:#3f8968;--zr-soft:rgba(63,137,104,.10);}.kc-zr-item[data-zr-cat="liuhe"]{--zr:#4e8050;--zr-soft:rgba(78,128,80,.10);}.kc-zr-item[data-zr-cat="sanhui"]{--zr:#b88938;--zr-soft:rgba(184,137,56,.11);}.kc-zr-item[data-zr-cat="chong"]{--zr:#c95c4f;--zr-soft:rgba(201,92,79,.10);}.kc-zr-item[data-zr-cat="xing"]{--zr:#7a5fa8;--zr-soft:rgba(122,95,168,.10);}.kc-zr-item[data-zr-cat="hai"]{--zr:#b57643;--zr-soft:rgba(181,118,67,.10);}
.kc-zr-item.focus{border-color:var(--zr,#3f8968)!important;background:var(--zr-soft,rgba(63,137,104,.10))!important;box-shadow:0 5px 12px rgba(34,65,58,.10);}
.kc-zr-tabs button[data-zr-cat="sanhe"].on{background:#3f8968!important;color:#fff!important;}.kc-zr-tabs button[data-zr-cat="liuhe"].on{background:#4e8050!important;color:#fff!important;}.kc-zr-tabs button[data-zr-cat="sanhui"].on{background:#b88938!important;color:#fff!important;}.kc-zr-tabs button[data-zr-cat="chong"].on{background:#c95c4f!important;color:#fff!important;}.kc-zr-tabs button[data-zr-cat="xing"].on{background:#7a5fa8!important;color:#fff!important;}.kc-zr-tabs button[data-zr-cat="hai"].on{background:#b57643!important;color:#fff!important;}

/* 地支四墓库 */
.kc-fk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:520px;margin:34px auto 0;}
.kc-fk-tile{height:116px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid var(--fk,currentColor);border-radius:16px;background:#fff;cursor:pointer;transition:background .16s ease,box-shadow .16s ease;}
.kc-fk-tile b{font:900 26px/1 "Songti SC","STSong",serif;color:#9a6f2b;}.kc-fk-tile>span{font-size:13px;font-weight:900;color:var(--fk,currentColor);}.kc-fk-tile small{font-size:9px;color:#8d9b93;white-space:nowrap;}
.kc-fk-tile[data-el="水"]{--fk:#3f6fab;--fk-soft:rgba(63,111,171,.10);}.kc-fk-tile[data-el="火"]{--fk:#c95c4f;--fk-soft:rgba(201,92,79,.10);}.kc-fk-tile[data-el="金"]{--fk:#69748b;--fk-soft:rgba(105,116,139,.10);}.kc-fk-tile[data-el="木"]{--fk:#4e8050;--fk-soft:rgba(78,128,80,.10);}
.kc-fk-tile.on{background:var(--fk-soft)!important;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--fk)!important;}
/* 天干四冲 */
.kc-sc-stage{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);align-items:center;gap:8px;max-width:520px;margin:34px auto 0;padding:12px;border:1px solid rgba(201,92,79,.16);border-radius:18px;background:#fff;box-sizing:border-box;}
.kc-sc-side{justify-self:center;width:64px;height:64px;display:grid;place-items:center;border:2px solid var(--sc,currentColor);border-radius:50%;background:#fff;color:var(--sc,currentColor);font:900 25px/1 "Songti SC","STSong",serif;box-shadow:0 6px 14px rgba(120,70,60,.10);}
.kc-sc-side[data-el="木"]{--sc:#4e8050;}.kc-sc-side[data-el="火"]{--sc:#c95c4f;}.kc-sc-side[data-el="金"]{--sc:#69748b;}.kc-sc-side[data-el="水"]{--sc:#3f6fab;}
.kc-sc-bolt{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff0ec;color:#c95c4f;font:900 15px/1 "Songti SC","STSong",serif;box-shadow:inset 0 0 0 1px rgba(201,92,79,.25);}
.kc-sc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:520px;margin:10px auto 0;}
.kc-sc-pair{height:48px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(201,92,79,.16);border-radius:11px;background:#fff;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-sc-pair b{font:900 16px/1 "Songti SC","STSong",serif;}.kc-sc-pair i{font-style:normal;color:#c95c4f;font-size:11px;font-weight:900;}
.kc-sc-pair.on{border-color:#c95c4f!important;background:#fff0ec!important;box-shadow:0 5px 12px rgba(160,72,60,.10);}

/* 奇门九宫 */
.kc-qm-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,111,171,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-qm-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f6fab;transition:transform .24s ease;}
.kc-qm-slider[data-mode="door"] .kc-qm-thumb{transform:translateX(100%);}.kc-qm-slider[data-mode="star"] .kc-qm-thumb{transform:translateX(200%);}.kc-qm-slider[data-mode="el"] .kc-qm-thumb{transform:translateX(300%);}
.kc-qm-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#6d7c8d;font:800 11px/1 inherit;cursor:pointer;}.kc-qm-slider button.on{color:#fff;}
.kc-qm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:226px;margin:10px auto 0;}
.kc-qm-cell{aspect-ratio:1/1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qm-line,rgba(31,91,77,.12));border-radius:13px;background:#fff;color:var(--qm-color,#60746c);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-qm-cell[data-el="木"]{--qm-color:#4e8050;--qm-soft:rgba(78,128,80,.10);--qm-line:rgba(78,128,80,.34);}.kc-qm-cell[data-el="火"]{--qm-color:#c95c4f;--qm-soft:rgba(201,92,79,.10);--qm-line:rgba(201,92,79,.34);}.kc-qm-cell[data-el="土"]{--qm-color:#b88938;--qm-soft:rgba(184,137,56,.11);--qm-line:rgba(184,137,56,.36);}.kc-qm-cell[data-el="金"]{--qm-color:#69748b;--qm-soft:rgba(105,116,139,.10);--qm-line:rgba(105,116,139,.34);}.kc-qm-cell[data-el="水"]{--qm-color:#3f6fab;--qm-soft:rgba(63,111,171,.10);--qm-line:rgba(63,111,171,.34);}
.kc-qm-main{font:900 18px/1 "Songti SC","STSong",serif;color:currentColor;}.kc-qm-sub{margin-top:4px;font-size:8.5px;color:#8c9a93;white-space:nowrap;}
.kc-qm-cell.on{background:var(--qm-soft)!important;border-color:var(--qm-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.10);}.kc-qm-cell.on .kc-qm-main{color:var(--qm-color)!important;}

/* 进阶卡深色与手机 */
body.theme-dark .kc-zr-item,body.theme-dark .kc-fk-tile,body.theme-dark .kc-sc-stage,body.theme-dark .kc-sc-side,body.theme-dark .kc-sc-pair,body.theme-dark .kc-qm-slider,body.theme-dark .kc-qm-cell{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}
body.theme-dark .kc-zr-item small,body.theme-dark .kc-fk-tile small,body.theme-dark .kc-qm-sub{color:#a5b7b0;}body.theme-dark .kc-qm-slider button{color:#b8c6c0;}body.theme-dark .kc-qm-slider button.on{color:#fff;}
@media(max-width:520px){.kc-zr-tabs,.kc-fk-grid,.kc-sc-stage,.kc-qm-slider{margin-top:60px!important;}.kc-zr-item,.kc-sc-pair{height:50px;}.kc-fk-tile{height:102px;}.kc-qm-grid{width:216px;}.kc-qm-main{font-size:16px;}.kc-qm-sub{font-size:8px;}}
/* 八卦与六十四卦卡 */
.kc-bg-card,.kc-hx-card,.kc-nj-card,.kc-ln-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-hx-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-nj-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-ln-card{--kc-card-accent:#4e8050;--kc-card-soft:rgba(78,128,80,.10);}
.kc-bg-card::before,.kc-hx-card::before,.kc-nj-card::before,.kc-ln-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}

/* 先后天八卦 */
.kc-bg-slider{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-bg-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:999px;background:#7a5fa8;transition:transform .24s ease;}.kc-bg-slider[data-mode="hou"] .kc-bg-thumb{transform:translateX(100%);}
.kc-bg-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#786f84;font:800 11px/1 inherit;cursor:pointer;}.kc-bg-slider button.on{color:#fff;}
.kc-bg-board{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:212px;height:212px;margin:10px auto 0;gap:6px;padding:6px;border:1px solid rgba(122,95,168,.14);border-radius:20px;background:#fff;box-sizing:border-box;}
.kc-bg-node{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid var(--bg-line,rgba(31,91,77,.12));border-radius:12px;background:#fff;color:var(--bg-color,#60746c);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;}
.kc-bg-node[data-el="木"]{--bg-color:#4e8050;--bg-soft:rgba(78,128,80,.10);--bg-line:rgba(78,128,80,.34);}.kc-bg-node[data-el="火"]{--bg-color:#c95c4f;--bg-soft:rgba(201,92,79,.10);--bg-line:rgba(201,92,79,.34);}.kc-bg-node[data-el="土"]{--bg-color:#b88938;--bg-soft:rgba(184,137,56,.11);--bg-line:rgba(184,137,56,.36);}.kc-bg-node[data-el="金"]{--bg-color:#69748b;--bg-soft:rgba(105,116,139,.10);--bg-line:rgba(105,116,139,.34);}.kc-bg-node[data-el="水"]{--bg-color:#3f6fab;--bg-soft:rgba(63,111,171,.10);--bg-line:rgba(63,111,171,.34);}
.kc-bg-node b{font:900 13px/1 "Songti SC","STSong",serif;}.kc-bg-node span{font-size:19px;line-height:1;color:var(--bg-color,currentColor);}.kc-bg-node.on{background:var(--bg-soft)!important;border-color:var(--bg-color)!important;box-shadow:0 4px 10px rgba(34,65,58,.10);}
.kc-bg-focus,.kc-nj-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--bg-color,#69748b);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-bg-focus b,.kc-nj-focus b{display:block;color:var(--bg-color,#69748b);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-bg-focus span,.kc-nj-focus span{display:block;margin-top:4px;font-size:10px;color:#7d8d84;}.kc-bg-focus em,.kc-nj-focus em{display:block;margin-top:5px;font-size:10px;line-height:1.5;color:#697b72;font-style:normal;}.kc-bg-focus[data-el="木"],.kc-nj-focus[data-el="木"]{--bg-color:#4e8050;}.kc-bg-focus[data-el="火"],.kc-nj-focus[data-el="火"]{--bg-color:#c95c4f;}.kc-bg-focus[data-el="土"],.kc-nj-focus[data-el="土"]{--bg-color:#b88938;}.kc-bg-focus[data-el="金"],.kc-nj-focus[data-el="金"]{--bg-color:#69748b;}.kc-bg-focus[data-el="水"],.kc-nj-focus[data-el="水"]{--bg-color:#3f6fab;}

/* 六十四卦 */
.kc-hx-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-width:520px;max-height:102px;margin:34px auto 0;padding:4px;border:1px solid rgba(63,111,171,.12);border-radius:14px;background:#fff;overflow:auto;box-sizing:border-box;}
.kc-hx-item{min-height:31px;display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(63,111,171,.10);border-radius:8px;background:#fff;color:#63758a;cursor:pointer;}.kc-hx-item span{font-size:8px;color:#9aa7b5;}.kc-hx-item b{font-size:10px;font-weight:800;}.kc-hx-item.on{border-color:#3f6fab!important;background:#eaf2fc!important;color:#315f99!important;}
.kc-hx-stage{display:grid;place-items:center;max-width:520px;margin:10px auto 0;padding:8px 0;}.kc-hx-lines{display:flex;flex-direction:column;gap:5px;width:190px;}
.kc-hx-line{height:18px;border:0;background:transparent;cursor:pointer;color:#3f6fab;}.kc-hx-line span{font-size:19px;line-height:18px;letter-spacing:-1px;}.kc-hx-line.yang{color:#b88938;}.kc-hx-line.yin{color:#3f6fab;}.kc-hx-line.on span{text-shadow:0 0 7px currentColor;}.kc-hx-line:hover span{filter:brightness(.8);}
/* 八卦纳甲 */
.kc-nj-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:520px;margin:34px auto 0;}
.kc-nj-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--nj-line,rgba(31,91,77,.11));border-radius:12px;background:#fff;color:var(--nj-color,#60746c);cursor:pointer;}.kc-nj-item b{font-size:20px;line-height:1;}.kc-nj-item span{font-size:11px;font-weight:900;}
.kc-nj-item[data-el="木"]{--nj-color:#4e8050;--nj-soft:rgba(78,128,80,.10);--nj-line:rgba(78,128,80,.34);}.kc-nj-item[data-el="火"]{--nj-color:#c95c4f;--nj-soft:rgba(201,92,79,.10);--nj-line:rgba(201,92,79,.34);}.kc-nj-item[data-el="土"]{--nj-color:#b88938;--nj-soft:rgba(184,137,56,.11);--nj-line:rgba(184,137,56,.36);}.kc-nj-item[data-el="金"]{--nj-color:#69748b;--nj-soft:rgba(105,116,139,.10);--nj-line:rgba(105,116,139,.34);}.kc-nj-item[data-el="水"]{--nj-color:#3f6fab;--nj-soft:rgba(63,111,171,.10);--nj-line:rgba(63,111,171,.34);}
.kc-nj-item.on{background:var(--nj-soft)!important;border-color:var(--nj-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.10);}

/* 六爻纳音 */
.kc-ln-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}
.kc-ln-tabs button{min-height:34px;border:1px solid rgba(78,128,80,.16);border-radius:9px;background:#fff;color:#6f8276;font-size:10px;font-weight:800;cursor:pointer;}.kc-ln-tabs button.on{border-color:#4e8050;background:#eaf4ec;color:#3f6f47;}
.kc-ln-lines{display:flex;flex-direction:column;gap:5px;max-width:520px;margin:10px auto 0;}
.kc-ln-line{height:36px;min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) 64px;align-items:center;gap:6px;border:1px solid var(--ln-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--ln-color,#60746c);cursor:pointer;padding:0 8px;box-sizing:border-box;text-align:left;}.kc-ln-line>span{font-size:9px;color:#8b9a91;}.kc-ln-line>b{font:900 14px/1 "Songti SC","STSong",serif;}.kc-ln-line small{font-size:9px;color:var(--ln-color,currentColor);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.kc-ln-line[data-el="木"]{--ln-color:#4e8050;--ln-soft:rgba(78,128,80,.09);--ln-line:rgba(78,128,80,.28);}.kc-ln-line[data-el="火"]{--ln-color:#c95c4f;--ln-soft:rgba(201,92,79,.09);--ln-line:rgba(201,92,79,.28);}.kc-ln-line[data-el="土"]{--ln-color:#b88938;--ln-soft:rgba(184,137,56,.10);--ln-line:rgba(184,137,56,.30);}.kc-ln-line[data-el="金"]{--ln-color:#69748b;--ln-soft:rgba(105,116,139,.09);--ln-line:rgba(105,116,139,.28);}.kc-ln-line[data-el="水"]{--ln-color:#3f6fab;--ln-soft:rgba(63,111,171,.09);--ln-line:rgba(63,111,171,.28);}
.kc-ln-line.on{background:var(--ln-soft)!important;border-color:var(--ln-color)!important;box-shadow:0 4px 10px rgba(34,65,58,.09);}

/* 四张新卡深色与手机避让 */
body.theme-dark .kc-bg-slider,body.theme-dark .kc-bg-board,body.theme-dark .kc-bg-node,body.theme-dark .kc-bg-focus,body.theme-dark .kc-hx-list,body.theme-dark .kc-hx-item,body.theme-dark .kc-nj-grid,body.theme-dark .kc-nj-item,body.theme-dark .kc-nj-focus,body.theme-dark .kc-ln-tabs button,body.theme-dark .kc-ln-line{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}
body.theme-dark .kc-bg-focus em,body.theme-dark .kc-nj-focus em,body.theme-dark .kc-hx-item,body.theme-dark .kc-ln-tabs button,body.theme-dark .kc-ln-line>span{color:#a5b7b0;}body.theme-dark .kc-bg-slider button,body.theme-dark .kc-hx-item span{color:#b8c6c0;}
@media(max-width:520px){.kc-bg-slider,.kc-hx-list,.kc-nj-grid,.kc-ln-tabs{margin-top:60px!important;}.kc-bg-board{width:204px;height:204px;gap:5px;padding:5px;}.kc-bg-node b{font-size:12px;}.kc-bg-node span{font-size:17px;}.kc-hx-list{max-height:96px;grid-template-columns:repeat(4,minmax(0,1fr));}.kc-hx-lines{width:176px;}.kc-nj-item{height:54px;}.kc-ln-lines{gap:4px;}.kc-ln-line{height:34px;grid-template-columns:38px minmax(0,1fr) 60px;padding:0 6px;}.kc-ln-line>b{font-size:13px;}}
/* 奇门九宫六段滑块扩展 */
.kc-qm-slider{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
.kc-qm-thumb{width:calc((100% - 8px)/6);}
.kc-qm-slider[data-mode="god"] .kc-qm-thumb{transform:translateX(300%);}.kc-qm-slider[data-mode="dir"] .kc-qm-thumb{transform:translateX(400%);}.kc-qm-slider[data-mode="branch"] .kc-qm-thumb{transform:translateX(500%);}
.kc-qm-slider button{font-size:10px!important;min-height:35px!important;}
.kc-qm-main{font-size:17px!important;}.kc-qm-sub{font-size:8px!important;}
@media(max-width:520px){.kc-qm-slider button{font-size:9px!important;}.kc-qm-main{font-size:15px!important;}.kc-qm-sub{font-size:7.5px!important;}}
/* 卡片徽标与装饰不拦截点击 */
.knowledge-badge{pointer-events:none!important;}
.kc-bg-thumb,.kc-ht-thumb,.kc-qm-thumb{pointer-events:none!important;}
.knowledge-card button,.knowledge-card input,.knowledge-card select{pointer-events:auto!important;}
/* 六十四卦爻线：加粗、紧凑、阳红阴黑 */
.kc-hx-lines{gap:2px!important;width:180px!important;}
.kc-hx-line{height:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
.kc-hx-bar{display:flex!important;align-items:center!important;gap:11px!important;width:158px!important;height:9px!important;}
.kc-hx-bar i{display:block!important;flex:1!important;height:9px!important;border-radius:2px!important;background:currentColor!important;}
.kc-hx-line.yang{color:#d64b3e!important;}.kc-hx-line.yin{color:#111!important;}
.kc-hx-line.on .kc-hx-bar i{box-shadow:0 0 5px currentColor;}
body.theme-dark .kc-hx-stage{background:#fff!important;border-radius:12px!important;}body.theme-dark .kc-hx-line.yin{color:#111!important;}
@media(max-width:520px){.kc-hx-lines{width:170px!important;gap:2px!important;}.kc-hx-bar{width:150px!important;height:8px!important;gap:10px!important;}.kc-hx-bar i{height:8px!important;}.kc-hx-line{height:13px!important;}}
/* 六十四卦爻线最终紧凑间距 */
.kc-hx-lines{gap:0!important;}
.kc-hx-line{height:9px!important;min-height:9px!important;padding:0!important;}
.kc-hx-bar{height:8px!important;}
.kc-hx-bar i{height:8px!important;}
@media(max-width:520px){.kc-hx-line{height:8px!important;min-height:8px!important;}.kc-hx-bar{height:7px!important;}.kc-hx-bar i{height:7px!important;}}
/* 六十四卦爻线横向加宽，纵向保持紧凑 */
.kc-hx-lines{width:220px!important;justify-content:center!important;}
.kc-hx-line{width:220px!important;}
.kc-hx-bar{width:204px!important;}
@media(max-width:520px){.kc-hx-lines,.kc-hx-line{width:198px!important;}.kc-hx-bar{width:184px!important;gap:9px!important;}}
/* 六十四卦爻线：宽度、厚度和间距平衡 */
.kc-hx-lines{gap:1px!important;width:250px!important;justify-content:center!important;}
.kc-hx-line{width:250px!important;height:12px!important;min-height:12px!important;}
.kc-hx-bar{width:236px!important;height:9px!important;gap:12px!important;}
.kc-hx-bar i{height:9px!important;}
@media(max-width:520px){.kc-hx-lines,.kc-hx-line{width:226px!important;}.kc-hx-line{height:11px!important;min-height:11px!important;}.kc-hx-bar{width:214px!important;height:8px!important;gap:10px!important;}.kc-hx-bar i{height:8px!important;}}
/* 六十四卦爻线按参考图比例：短厚线、清晰间隙 */
.kc-hx-lines{gap:1px!important;width:200px!important;justify-content:center!important;}
.kc-hx-line{width:200px!important;height:27px!important;min-height:27px!important;}
.kc-hx-bar{width:186px!important;height:15px!important;gap:18px!important;}
.kc-hx-bar i{height:15px!important;border-radius:1px!important;}
@media(max-width:520px){.kc-hx-lines,.kc-hx-line{width:178px!important;}.kc-hx-line{height:24px!important;min-height:24px!important;}.kc-hx-bar{width:164px!important;height:13px!important;gap:16px!important;}.kc-hx-bar i{height:13px!important;}}
/* 六十四卦选择框再增高，六爻再下移 */
.kc-hx-list{max-height:132px!important;}
.kc-hx-stage{margin-top:36px!important;}
@media(max-width:520px){.kc-hx-list{max-height:118px!important;}.kc-hx-stage{margin-top:28px!important;}}
/* 八卦纳甲：显示每卦对应天干 */
.kc-nj-item{height:68px!important;}
.kc-nj-stems{display:block!important;margin-top:1px!important;font-size:9px!important;line-height:1!important;font-weight:900!important;letter-spacing:.04em!important;}
@media(max-width:520px){.kc-nj-item{height:64px!important;}.kc-nj-stems{font-size:8px!important;}}

/* 身体对应三张卡 */
.kc-bp-bagua,.kc-bp-stem,.kc-bp-branch,.kc-jt-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-bp-stem{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-bp-branch{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-jt-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-bp-bagua::before,.kc-bp-stem::before,.kc-bp-branch::before,.kc-jt-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-bp-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}
.kc-bp-bagua .kc-bp-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.kc-bp-branch .kc-bp-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
.kc-bp-item{height:52px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--bp-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--bp-color,#60746c);cursor:pointer;}.kc-bp-item b{font:900 16px/1 "Songti SC","STSong",serif;}.kc-bp-item small{font-size:8.5px;color:#8d9b93;white-space:nowrap;}
.kc-bp-item[data-el="木"]{--bp-color:#4e8050;--bp-soft:rgba(78,128,80,.10);--bp-line:rgba(78,128,80,.34);}.kc-bp-item[data-el="火"]{--bp-color:#c95c4f;--bp-soft:rgba(201,92,79,.10);--bp-line:rgba(201,92,79,.34);}.kc-bp-item[data-el="土"]{--bp-color:#b88938;--bp-soft:rgba(184,137,56,.11);--bp-line:rgba(184,137,56,.36);}.kc-bp-item[data-el="金"]{--bp-color:#69748b;--bp-soft:rgba(105,116,139,.10);--bp-line:rgba(105,116,139,.34);}.kc-bp-item[data-el="水"]{--bp-color:#3f6fab;--bp-soft:rgba(63,111,171,.10);--bp-line:rgba(63,111,171,.34);}
.kc-bp-item.on{background:var(--bp-soft)!important;border-color:var(--bp-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-bp-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--bp-color,#69748b);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-bp-focus b{display:block;color:var(--bp-color,#69748b);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-bp-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-bp-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}
.kc-bp-focus[data-el="木"]{--bp-color:#4e8050;}.kc-bp-focus[data-el="火"]{--bp-color:#c95c4f;}.kc-bp-focus[data-el="土"]{--bp-color:#b88938;}.kc-bp-focus[data-el="金"]{--bp-color:#69748b;}.kc-bp-focus[data-el="水"]{--bp-color:#3f6fab;}
/* 六十甲子年月日表 */
.kc-jt-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,137,104,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-jt-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#3f8968;transition:transform .24s ease;}
.kc-jt-slider[data-mode="month"] .kc-jt-thumb{transform:translateX(100%);}.kc-jt-slider[data-mode="day"] .kc-jt-thumb{transform:translateX(200%);}
.kc-jt-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font:800 11px/1 inherit;cursor:pointer;}.kc-jt-slider button.on{color:#fff;}
.kc-jt-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;max-height:220px;margin:10px auto 0;padding:4px;border:1px solid rgba(63,137,104,.12);border-radius:14px;background:#fff;overflow:auto;box-sizing:border-box;}
.kc-jt-item{height:36px;min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(63,137,104,.11);border-radius:9px;background:#fff;cursor:pointer;}.kc-jt-item span{font-size:8px;color:#9aa8a0;}.kc-jt-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-jt-item.on{border-color:#3f8968!important;background:#eaf4ec!important;}
.kc-jt-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--jt-color,#4e8050);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-jt-focus b{display:block;color:var(--jt-color,#4e8050);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-jt-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-jt-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}
.kc-jt-focus[data-el="木"]{--jt-color:#4e8050;}.kc-jt-focus[data-el="火"]{--jt-color:#c95c4f;}.kc-jt-focus[data-el="土"]{--jt-color:#b88938;}.kc-jt-focus[data-el="金"]{--jt-color:#69748b;}.kc-jt-focus[data-el="水"]{--jt-color:#3f6fab;}
body.theme-dark .kc-bp-item,body.theme-dark .kc-bp-focus,body.theme-dark .kc-jt-slider,body.theme-dark .kc-jt-list,body.theme-dark .kc-jt-item,body.theme-dark .kc-jt-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-bp-focus span,body.theme-dark .kc-bp-focus em,body.theme-dark .kc-jt-item span,body.theme-dark .kc-jt-focus span,body.theme-dark .kc-jt-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-bp-grid,.kc-jt-slider{margin-top:60px!important;}.kc-jt-list{margin-top:9px;max-height:200px;}.kc-bp-item{height:48px;}.kc-jt-item{height:34px;}.kc-jt-item b{font-size:11px;}.kc-jt-list{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-bp-focus,.kc-jt-focus{padding:9px 11px;}}
/* 地支进阶关系 */
.kc-az-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-az-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-az-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:34px!important;}
.kc-az-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:520px;margin:10px auto 0;}
.kc-az-item{display:none;height:58px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--az-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--az-color,#60746c);cursor:pointer;}.kc-az-item.visible{display:flex;}.kc-az-item b{font:900 15px/1 "Songti SC","STSong",serif;}.kc-az-item small{font-size:9px;color:#8d9b93;}
.kc-az-item[data-el="木"]{--az-color:#4e8050;--az-soft:rgba(78,128,80,.10);--az-line:rgba(78,128,80,.34);}.kc-az-item[data-el="火"]{--az-color:#c95c4f;--az-soft:rgba(201,92,79,.10);--az-line:rgba(201,92,79,.34);}.kc-az-item[data-el="土"]{--az-color:#b88938;--az-soft:rgba(184,137,56,.11);--az-line:rgba(184,137,56,.36);}.kc-az-item[data-el="金"]{--az-color:#69748b;--az-soft:rgba(105,116,139,.10);--az-line:rgba(105,116,139,.34);}.kc-az-item[data-el="水"]{--az-color:#3f6fab;--az-soft:rgba(63,111,171,.10);--az-line:rgba(63,111,171,.34);}
.kc-az-item.focus{background:var(--az-soft,rgba(122,95,168,.09))!important;border-color:var(--az-color,#7a5fa8)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-az-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--az-color,#7a5fa8);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-az-focus b{display:block;color:var(--az-color,#7a5fa8);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-az-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-az-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-az-focus[data-el="木"]{--az-color:#4e8050;}.kc-az-focus[data-el="火"]{--az-color:#c95c4f;}.kc-az-focus[data-el="土"]{--az-color:#b88938;}.kc-az-focus[data-el="金"]{--az-color:#69748b;}.kc-az-focus[data-el="水"]{--az-color:#3f6fab;}
body.theme-dark .kc-az-item,body.theme-dark .kc-az-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-az-focus span,body.theme-dark .kc-az-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-az-tabs{margin-top:60px!important;}.kc-az-grid{margin-top:9px;gap:6px;}.kc-az-item{height:52px;}.kc-az-focus{padding:9px 11px;}}
/* 十二时辰与二十四节气 */
.kc-cal-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-cal-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-cal-slider{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-cal-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:999px;background:#b88938;transition:transform .24s ease;}.kc-cal-slider[data-mode="term"] .kc-cal-thumb{transform:translateX(100%);}
.kc-cal-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font:800 11px/1 inherit;cursor:pointer;}.kc-cal-slider button.on{color:#fff;}
.kc-cal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:520px;max-height:248px;margin:10px auto 0;padding:4px;border:1px solid rgba(184,137,56,.12);border-radius:14px;background:#fff;overflow:auto;box-sizing:border-box;}
.kc-cal-item{display:none;height:42px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--cal-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--cal-color,#60746c);cursor:pointer;}.kc-cal-item.visible{display:flex;}.kc-cal-item b{font:900 13px/1 "Songti SC","STSong",serif;}.kc-cal-item small{font-size:8px;color:#8d9b93;white-space:nowrap;}
.kc-cal-item[data-el="木"]{--cal-color:#4e8050;--cal-soft:rgba(78,128,80,.10);--cal-line:rgba(78,128,80,.34);}.kc-cal-item[data-el="火"]{--cal-color:#c95c4f;--cal-soft:rgba(201,92,79,.10);--cal-line:rgba(201,92,79,.34);}.kc-cal-item[data-el="土"]{--cal-color:#b88938;--cal-soft:rgba(184,137,56,.11);--cal-line:rgba(184,137,56,.36);}.kc-cal-item[data-el="金"]{--cal-color:#69748b;--cal-soft:rgba(105,116,139,.10);--cal-line:rgba(105,116,139,.34);}.kc-cal-item[data-el="水"]{--cal-color:#3f6fab;--cal-soft:rgba(63,111,171,.10);--cal-line:rgba(63,111,171,.34);}
.kc-cal-item.on{background:var(--cal-soft)!important;border-color:var(--cal-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-cal-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--cal-color,#3f6fab);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-cal-focus b{display:block;color:var(--cal-color,#3f6fab);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-cal-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-cal-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-cal-focus[data-el="木"]{--cal-color:#4e8050;}.kc-cal-focus[data-el="火"]{--cal-color:#c95c4f;}.kc-cal-focus[data-el="土"]{--cal-color:#b88938;}.kc-cal-focus[data-el="金"]{--cal-color:#69748b;}.kc-cal-focus[data-el="水"]{--cal-color:#3f6fab;}
body.theme-dark .kc-cal-slider,body.theme-dark .kc-cal-grid,body.theme-dark .kc-cal-item,body.theme-dark .kc-cal-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-cal-slider button{color:#b8c6c0;}body.theme-dark .kc-cal-focus span,body.theme-dark .kc-cal-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-cal-slider{margin-top:60px!important;}.kc-cal-grid{max-height:232px;}.kc-cal-item{height:39px;}.kc-cal-focus{padding:9px 11px;}}
/* 四柱排盘基础 */
.kc-sp-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-sp-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-sp-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,111,171,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-sp-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#3f6fab;transition:transform .24s ease;}.kc-sp-slider[data-mode="tiger"] .kc-sp-thumb{transform:translateX(100%);}.kc-sp-slider[data-mode="rat"] .kc-sp-thumb{transform:translateX(200%);}
.kc-sp-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font:800 11px/1 inherit;cursor:pointer;}.kc-sp-slider button.on{color:#fff;}
.kc-sp-body{max-width:520px;margin:10px auto 0;}.kc-sp-pillars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}.kc-sp-pillar{height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid var(--sp-line,rgba(31,91,77,.11));border-radius:14px;background:#fff;color:var(--sp-color,#60746c);cursor:pointer;}.kc-sp-pillar b{font:900 18px/1 "Songti SC","STSong",serif;}.kc-sp-pillar small{font-size:9px;color:#8d9b93;}.kc-sp-pillar[data-el="木"]{--sp-color:#4e8050;--sp-soft:rgba(78,128,80,.10);--sp-line:rgba(78,128,80,.34);}.kc-sp-pillar[data-el="火"]{--sp-color:#c95c4f;--sp-soft:rgba(201,92,79,.10);--sp-line:rgba(201,92,79,.34);}.kc-sp-pillar[data-el="土"]{--sp-color:#b88938;--sp-soft:rgba(184,137,56,.11);--sp-line:rgba(184,137,56,.36);}.kc-sp-pillar[data-el="金"]{--sp-color:#69748b;--sp-soft:rgba(105,116,139,.10);--sp-line:rgba(105,116,139,.34);}.kc-sp-pillar[data-el="水"]{--sp-color:#3f6fab;--sp-soft:rgba(63,111,171,.10);--sp-line:rgba(63,111,171,.34);}.kc-sp-pillar.on{background:var(--sp-soft)!important;border-color:var(--sp-color)!important;}
.kc-sp-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:8px;}.kc-sp-group{height:34px;border:1px solid rgba(63,111,171,.16);border-radius:9px;background:#fff;color:#6d7c8d;font-size:10px;font-weight:900;cursor:pointer;}.kc-sp-group.on{border-color:#3f6fab;background:#eaf2fc;color:#315f99;}
.kc-sp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:230px;overflow:auto;}.kc-sp-cell{height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--spc-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--spc-color,#60746c);cursor:pointer;}.kc-sp-cell b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-sp-cell small{font-size:8px;color:#8d9b93;}.kc-sp-cell[data-el="木"]{--spc-color:#4e8050;--spc-soft:rgba(78,128,80,.10);--spc-line:rgba(78,128,80,.34);}.kc-sp-cell[data-el="火"]{--spc-color:#c95c4f;--spc-soft:rgba(201,92,79,.10);--spc-line:rgba(201,92,79,.34);}.kc-sp-cell[data-el="土"]{--spc-color:#b88938;--spc-soft:rgba(184,137,56,.11);--spc-line:rgba(184,137,56,.36);}.kc-sp-cell[data-el="金"]{--spc-color:#69748b;--spc-soft:rgba(105,116,139,.10);--spc-line:rgba(105,116,139,.34);}.kc-sp-cell[data-el="水"]{--spc-color:#3f6fab;--spc-soft:rgba(63,111,171,.10);--spc-line:rgba(63,111,171,.34);}.kc-sp-cell.on{background:var(--spc-soft)!important;border-color:var(--spc-color)!important;}
.kc-sp-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--sp-color,#3f6fab);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-sp-focus b{display:block;color:var(--sp-color,#3f6fab);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-sp-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-sp-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-sp-focus[data-el="木"]{--sp-color:#4e8050;}.kc-sp-focus[data-el="火"]{--sp-color:#c95c4f;}.kc-sp-focus[data-el="土"]{--sp-color:#b88938;}.kc-sp-focus[data-el="金"]{--sp-color:#69748b;}.kc-sp-focus[data-el="水"]{--sp-color:#3f6fab;}
body.theme-dark .kc-sp-slider,body.theme-dark .kc-sp-pillar,body.theme-dark .kc-sp-group,body.theme-dark .kc-sp-cell,body.theme-dark .kc-sp-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-sp-focus span,body.theme-dark .kc-sp-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-sp-slider{margin-top:60px!important;}.kc-sp-pillar{height:74px;}.kc-sp-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:218px;}.kc-sp-cell{height:38px;}.kc-sp-focus{padding:9px 11px;}}
/* 四柱横排：年月日时一行展示 */
.kc-sp-card .kc-sp-pillars{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;}
.kc-sp-card .kc-sp-pillar{height:74px!important;gap:4px!important;padding:0 2px!important;border-radius:12px!important;}
.kc-sp-card .kc-sp-pillar b{font-size:14px!important;}.kc-sp-card .kc-sp-pillar small{font-size:7.5px!important;white-space:nowrap!important;}
@media(max-width:520px){.kc-sp-card .kc-sp-pillar{height:68px!important;}.kc-sp-card .kc-sp-pillar b{font-size:13px!important;}.kc-sp-card .kc-sp-pillar small{font-size:7px!important;}}
/* 五虎遁/五鼠遁五组光标 */
.kc-sp-groups{position:relative!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding:4px!important;border:1px solid rgba(63,111,171,.16)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;isolation:isolate!important;}
.kc-sp-group-thumb{position:absolute!important;z-index:0!important;top:4px!important;bottom:4px!important;left:4px!important;width:calc((100% - 8px)/5)!important;border-radius:999px!important;background:#3f6fab!important;transition:transform .22s ease!important;}
.kc-sp-group{position:relative!important;z-index:1!important;height:32px!important;border:0!important;background:transparent!important;color:#6d7c8d!important;}.kc-sp-group.on{background:transparent!important;color:#fff!important;}

/* 五虎遁/五鼠遁恢复五个格子 */
.kc-sp-groups{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;}
.kc-sp-group-thumb{display:none!important;}
.kc-sp-group{position:relative!important;z-index:auto!important;height:34px!important;border:1px solid rgba(63,111,171,.16)!important;border-radius:9px!important;background:#fff!important;color:#6d7c8d!important;font-size:10px!important;font-weight:900!important;}
.kc-sp-group.on{border-color:#3f6fab!important;background:#eaf2fc!important;color:#315f99!important;}

/* 十神六亲关系 */
.kc-six-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-six-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-six-slider{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
.kc-six-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:999px;background:#7a5fa8;transition:transform .24s ease;}.kc-six-slider[data-mode="family"] .kc-six-thumb{transform:translateX(100%);}
.kc-six-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#786f84;font:800 11px/1 inherit;cursor:pointer;}.kc-six-slider button.on{color:#fff;}
.kc-six-body{max-width:520px;margin:10px auto 0;}
.kc-six-grid,.kc-six-family-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;}
.kc-six-item,.kc-six-family{height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--six-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--six-color,#60746c);cursor:pointer;}.kc-six-item b,.kc-six-family b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-six-item small,.kc-six-family small{font-size:8px;color:#8d9b93;white-space:nowrap;}
.kc-six-item[data-group="same"],.kc-six-family[data-group="same"]{--six-color:#3f8968;--six-soft:rgba(63,137,104,.10);--six-line:rgba(63,137,104,.34);}.kc-six-item[data-group="output"],.kc-six-family[data-group="output"]{--six-color:#c95c4f;--six-soft:rgba(201,92,79,.10);--six-line:rgba(201,92,79,.34);}.kc-six-item[data-group="wealth"],.kc-six-family[data-group="wealth"]{--six-color:#b88938;--six-soft:rgba(184,137,56,.11);--six-line:rgba(184,137,56,.36);}.kc-six-item[data-group="officer"],.kc-six-family[data-group="officer"]{--six-color:#69748b;--six-soft:rgba(105,116,139,.10);--six-line:rgba(105,116,139,.34);}.kc-six-item[data-group="resource"],.kc-six-family[data-group="resource"]{--six-color:#3f6fab;--six-soft:rgba(63,111,171,.10);--six-line:rgba(63,111,171,.34);}
.kc-six-item.on,.kc-six-family.on{background:var(--six-soft)!important;border-color:var(--six-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-six-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--six-color,#7a5fa8);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-six-focus b{display:block;color:var(--six-color,#7a5fa8);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-six-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-six-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-six-focus[data-group="same"]{--six-color:#3f8968;}.kc-six-focus[data-group="output"]{--six-color:#c95c4f;}.kc-six-focus[data-group="wealth"]{--six-color:#b88938;}.kc-six-focus[data-group="officer"]{--six-color:#69748b;}.kc-six-focus[data-group="resource"]{--six-color:#3f6fab;}
body.theme-dark .kc-six-slider,body.theme-dark .kc-six-item,body.theme-dark .kc-six-family,body.theme-dark .kc-six-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-six-focus span,body.theme-dark .kc-six-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-six-slider{margin-top:60px!important;}.kc-six-item,.kc-six-family{height:44px;}.kc-six-focus{padding:9px 11px;}}
/* 十神六亲：男女性别切换 */
.kc-six-gender{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;max-width:150px!important;margin:0 auto 9px!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-six-gender-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);border-radius:999px;background:#7a5fa8;transition:transform .22s ease;}
.kc-six-gender button{position:relative;z-index:1;min-height:30px;border:0;background:transparent;color:#786f84;font-size:11px;font-weight:900;cursor:pointer;}.kc-six-gender button.on{color:#fff;}
body.theme-dark .kc-six-gender{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-six-gender button{color:#b8c6c0;}body.theme-dark .kc-six-gender button.on{color:#fff;}
/* 六十甲子纳音全表 */
.kc-ny-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-ny-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ny-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:520px;margin:34px auto 0;}.kc-ny-filters button{height:34px;border:1px solid rgba(184,137,56,.17);border-radius:9px;background:#fff;color:#88785f;font-size:10px;font-weight:900;cursor:pointer;}.kc-ny-filters button.on{border-color:#b88938;background:#f8efd9;color:#9c6c27;}
.kc-ny-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:520px;max-height:292px;margin:10px auto 0;padding:4px;border:1px solid rgba(184,137,56,.13);border-radius:14px;background:#fff;overflow:auto;box-sizing:border-box;}
.kc-ny-item{height:40px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--ny-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--ny-color,#60746c);cursor:pointer;}.kc-ny-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-ny-item small{font-size:8px;color:#8d9b93;white-space:nowrap;}
.kc-ny-item[data-el="木"]{--ny-color:#4e8050;--ny-soft:rgba(78,128,80,.10);--ny-line:rgba(78,128,80,.34);}.kc-ny-item[data-el="火"]{--ny-color:#c95c4f;--ny-soft:rgba(201,92,79,.10);--ny-line:rgba(201,92,79,.34);}.kc-ny-item[data-el="土"]{--ny-color:#b88938;--ny-soft:rgba(184,137,56,.11);--ny-line:rgba(184,137,56,.36);}.kc-ny-item[data-el="金"]{--ny-color:#69748b;--ny-soft:rgba(105,116,139,.10);--ny-line:rgba(105,116,139,.34);}.kc-ny-item[data-el="水"]{--ny-color:#3f6fab;--ny-soft:rgba(63,111,171,.10);--ny-line:rgba(63,111,171,.34);}.kc-ny-item.on{background:var(--ny-soft)!important;border-color:var(--ny-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ny-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ny-color,#69748b);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ny-focus b{display:block;color:var(--ny-color,#69748b);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ny-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ny-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ny-focus[data-el="木"]{--ny-color:#4e8050;}.kc-ny-focus[data-el="火"]{--ny-color:#c95c4f;}.kc-ny-focus[data-el="土"]{--ny-color:#b88938;}.kc-ny-focus[data-el="金"]{--ny-color:#69748b;}.kc-ny-focus[data-el="水"]{--ny-color:#3f6fab;}
body.theme-dark .kc-ny-filters button,body.theme-dark .kc-ny-list,body.theme-dark .kc-ny-item,body.theme-dark .kc-ny-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ny-focus span,body.theme-dark .kc-ny-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-ny-filters{margin-top:60px!important;}.kc-ny-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:278px;}.kc-ny-item{height:38px;}.kc-ny-focus{padding:9px 11px;}}
/* 六爻装卦体系 */
.kc-lz-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-lz-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-lz-slider{position:relative;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,137,104,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-lz-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/5);border-radius:999px;background:#3f8968;transition:transform .22s ease;}.kc-lz-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-lz-slider button.on{color:#fff;}
.kc-lz-body{max-width:520px;margin:10px auto 0;}.kc-lz-grid{display:grid;gap:5px;}.kc-lz-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-lz-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-lz-grid.five{grid-template-columns:repeat(5,minmax(0,1fr));}
.kc-lz-item{height:52px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--lz-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--lz-color,#60746c);cursor:pointer;}.kc-lz-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-lz-item small{font-size:8px;color:#8d9b93;white-space:nowrap;}.kc-lz-item[data-el="木"]{--lz-color:#4e8050;--lz-soft:rgba(78,128,80,.10);--lz-line:rgba(78,128,80,.34);}.kc-lz-item[data-el="火"]{--lz-color:#c95c4f;--lz-soft:rgba(201,92,79,.10);--lz-line:rgba(201,92,79,.34);}.kc-lz-item[data-el="土"]{--lz-color:#b88938;--lz-soft:rgba(184,137,56,.11);--lz-line:rgba(184,137,56,.36);}.kc-lz-item[data-el="金"]{--lz-color:#69748b;--lz-soft:rgba(105,116,139,.10);--lz-line:rgba(105,116,139,.34);}.kc-lz-item[data-el="水"]{--lz-color:#3f6fab;--lz-soft:rgba(63,111,171,.10);--lz-line:rgba(63,111,171,.34);}.kc-lz-item.on{background:var(--lz-soft)!important;border-color:var(--lz-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-lz-subtitle{margin:8px 2px 5px;color:#60746c;font-size:10px;font-weight:900;letter-spacing:.08em;}
.kc-lz-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--lz-color,#3f8968);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-lz-focus b{display:block;color:var(--lz-color,#3f8968);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-lz-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-lz-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-lz-focus[data-el="木"]{--lz-color:#4e8050;}.kc-lz-focus[data-el="火"]{--lz-color:#c95c4f;}.kc-lz-focus[data-el="土"]{--lz-color:#b88938;}.kc-lz-focus[data-el="金"]{--lz-color:#69748b;}.kc-lz-focus[data-el="水"]{--lz-color:#3f6fab;}
body.theme-dark .kc-lz-slider,body.theme-dark .kc-lz-item,body.theme-dark .kc-lz-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-lz-focus span,body.theme-dark .kc-lz-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-lz-slider{margin-top:60px!important;}.kc-lz-slider button{font-size:8.5px;}.kc-lz-item{height:46px;}.kc-lz-grid.four,.kc-lz-grid.five{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-lz-focus{padding:9px 11px;}}
/* 六爻用神体系 */
.kc-ys-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-ys-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ys-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-ys-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#b88938;transition:transform .22s ease;}.kc-ys-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font-size:10px;font-weight:800;cursor:pointer;}.kc-ys-slider button.on{color:#fff;}
.kc-ys-body{max-width:520px;margin:10px auto 0;}.kc-ys-grid{display:grid;gap:6px;}.kc-ys-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-ys-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-ys-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}
.kc-ys-item{height:52px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ys-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ys-color,#60746c);cursor:pointer;}.kc-ys-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-ys-item small{font-size:8px;color:#8d9b93;}.kc-ys-item[data-el="木"]{--ys-color:#4e8050;--ys-soft:rgba(78,128,80,.10);--ys-line:rgba(78,128,80,.34);}.kc-ys-item[data-el="火"]{--ys-color:#c95c4f;--ys-soft:rgba(201,92,79,.10);--ys-line:rgba(201,92,79,.34);}.kc-ys-item[data-el="土"]{--ys-color:#b88938;--ys-soft:rgba(184,137,56,.11);--ys-line:rgba(184,137,56,.36);}.kc-ys-item[data-el="金"]{--ys-color:#69748b;--ys-soft:rgba(105,116,139,.10);--ys-line:rgba(105,116,139,.34);}.kc-ys-item[data-el="水"]{--ys-color:#3f6fab;--ys-soft:rgba(63,111,171,.10);--ys-line:rgba(63,111,171,.34);}.kc-ys-item.on{background:var(--ys-soft)!important;border-color:var(--ys-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ys-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ys-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ys-focus b{display:block;color:var(--ys-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ys-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ys-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ys-focus[data-el="木"]{--ys-color:#4e8050;}.kc-ys-focus[data-el="火"]{--ys-color:#c95c4f;}.kc-ys-focus[data-el="土"]{--ys-color:#b88938;}.kc-ys-focus[data-el="金"]{--ys-color:#69748b;}.kc-ys-focus[data-el="水"]{--ys-color:#3f6fab;}
body.theme-dark .kc-ys-slider,body.theme-dark .kc-ys-item,body.theme-dark .kc-ys-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ys-focus span,body.theme-dark .kc-ys-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-ys-slider{margin-top:60px!important;}.kc-ys-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ys-item{height:46px;}.kc-ys-focus{padding:9px 11px;}}
/* 神煞体系 */
.kc-ss2-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-ss2-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ss2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:520px;margin:34px auto 0;}
.kc-ss2-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ss2-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ss2-color,#60746c);cursor:pointer;}.kc-ss2-item b{font:900 13px/1 "Songti SC","STSong",serif;}.kc-ss2-item small{font-size:8px;color:#8d9b93;}.kc-ss2-item[data-el="木"]{--ss2-color:#4e8050;--ss2-soft:rgba(78,128,80,.10);--ss2-line:rgba(78,128,80,.34);}.kc-ss2-item[data-el="火"]{--ss2-color:#c95c4f;--ss2-soft:rgba(201,92,79,.10);--ss2-line:rgba(201,92,79,.34);}.kc-ss2-item[data-el="土"]{--ss2-color:#b88938;--ss2-soft:rgba(184,137,56,.11);--ss2-line:rgba(184,137,56,.36);}.kc-ss2-item[data-el="金"]{--ss2-color:#69748b;--ss2-soft:rgba(105,116,139,.10);--ss2-line:rgba(105,116,139,.34);}.kc-ss2-item[data-el="水"]{--ss2-color:#3f6fab;--ss2-soft:rgba(63,111,171,.10);--ss2-line:rgba(63,111,171,.34);}.kc-ss2-item.on{background:var(--ss2-soft)!important;border-color:var(--ss2-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ss2-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ss2-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ss2-focus b{display:block;color:var(--ss2-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ss2-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ss2-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ss2-focus[data-el="木"]{--ss2-color:#4e8050;}.kc-ss2-focus[data-el="火"]{--ss2-color:#c95c4f;}.kc-ss2-focus[data-el="土"]{--ss2-color:#b88938;}.kc-ss2-focus[data-el="金"]{--ss2-color:#69748b;}.kc-ss2-focus[data-el="水"]{--ss2-color:#3f6fab;}
body.theme-dark .kc-ss2-item,body.theme-dark .kc-ss2-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ss2-focus span,body.theme-dark .kc-ss2-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-ss2-grid{margin-top:60px!important;}.kc-ss2-item{height:50px;}.kc-ss2-focus{padding:9px 11px;}}
/* 大运流年体系 */
.kc-dy-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}
.kc-dy-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-dy-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,111,171,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-dy-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f6fab;transition:transform .22s ease;}.kc-dy-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#6d7c8d;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-dy-slider button.on{color:#fff;}
.kc-dy-body{max-width:520px;margin:10px auto 0;}.kc-dy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
.kc-dy-item{height:52px;min-width:0;display:flex;align-items:center;justify-content:center;border:1px solid rgba(63,111,171,.13);border-radius:11px;background:#fff;color:#60746c;cursor:pointer;}.kc-dy-item b{font:900 11px/1.2 "Songti SC","STSong",serif;text-align:center;}.kc-dy-item.on{border-color:#3f6fab!important;background:#eaf2fc!important;color:#315f99!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-dy-dual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;border:1px solid rgba(63,111,171,.13);border-radius:14px;background:#fff;}.kc-dy-label{display:block;margin-bottom:5px;color:#71827a;font-size:10px;font-weight:900;}.kc-dy-choice{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;}.kc-dy-choice button{height:32px;border:1px solid rgba(63,111,171,.15);border-radius:9px;background:#fff;color:#6d7c8d;font-size:10px;font-weight:900;cursor:pointer;}.kc-dy-choice button.on{border-color:#3f6fab;background:#eaf2fc;color:#315f99;}
.kc-dy-rulebox{margin-top:8px;padding:10px 12px;border:1px solid rgba(63,111,171,.15);border-radius:14px;background:#fff;}.kc-dy-rulebox b{display:block;color:#3f6fab;font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-dy-rulebox span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-dy-rulebox em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}
.kc-dy-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--dy-color,#3f6fab);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-dy-focus b{display:block;color:var(--dy-color,#3f6fab);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-dy-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-dy-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-dy-focus[data-el="木"]{--dy-color:#4e8050;}.kc-dy-focus[data-el="金"]{--dy-color:#69748b;}
body.theme-dark .kc-dy-slider,body.theme-dark .kc-dy-item,body.theme-dark .kc-dy-dual,body.theme-dark .kc-dy-rulebox,body.theme-dark .kc-dy-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-dy-focus span,body.theme-dark .kc-dy-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-dy-slider{margin-top:60px!important;}.kc-dy-slider button{font-size:8.5px;}.kc-dy-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-dy-item{height:46px;}.kc-dy-dual{gap:7px;padding:8px;}.kc-dy-focus{padding:9px 11px;}}

/* 梅花易数 */
.kc-mh-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-mh-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-mh-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,137,104,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-mh-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f8968;transition:transform .22s ease;}.kc-mh-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-mh-slider button.on{color:#fff;}
.kc-mh-body{max-width:520px;margin:10px auto 0;}.kc-mh-grid{display:grid;gap:6px;}.kc-mh-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-mh-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-mh-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}
.kc-mh-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--mh-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--mh-color,#60746c);cursor:pointer;}.kc-mh-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-mh-item small{font-size:8px;color:#8d9b93;}.kc-mh-item[data-el="木"]{--mh-color:#4e8050;--mh-soft:rgba(78,128,80,.10);--mh-line:rgba(78,128,80,.34);}.kc-mh-item[data-el="火"]{--mh-color:#c95c4f;--mh-soft:rgba(201,92,79,.10);--mh-line:rgba(201,92,79,.34);}.kc-mh-item[data-el="土"]{--mh-color:#b88938;--mh-soft:rgba(184,137,56,.11);--mh-line:rgba(184,137,56,.36);}.kc-mh-item[data-el="金"]{--mh-color:#69748b;--mh-soft:rgba(105,116,139,.10);--mh-line:rgba(105,116,139,.34);}.kc-mh-item[data-el="水"]{--mh-color:#3f6fab;--mh-soft:rgba(63,111,171,.10);--mh-line:rgba(63,111,171,.34);}.kc-mh-item.on{background:var(--mh-soft)!important;border-color:var(--mh-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-mh-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--mh-color,#3f8968);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-mh-focus b{display:block;color:var(--mh-color,#3f8968);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-mh-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-mh-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-mh-focus[data-el="木"]{--mh-color:#4e8050;}.kc-mh-focus[data-el="火"]{--mh-color:#c95c4f;}.kc-mh-focus[data-el="土"]{--mh-color:#b88938;}.kc-mh-focus[data-el="金"]{--mh-color:#69748b;}.kc-mh-focus[data-el="水"]{--mh-color:#3f6fab;}
body.theme-dark .kc-mh-slider,body.theme-dark .kc-mh-item,body.theme-dark .kc-mh-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-mh-focus span,body.theme-dark .kc-mh-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-mh-slider{margin-top:60px!important;}.kc-mh-slider button{font-size:8.5px;}.kc-mh-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-mh-item{height:48px;}.kc-mh-focus{padding:9px 11px;}}


/* 风水基础 */
.kc-fs-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-fs-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-fs-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,137,104,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-fs-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f8968;transition:transform .22s ease;}.kc-fs-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-fs-slider button.on{color:#fff;}
.kc-fs-body{max-width:520px;margin:10px auto 0;}.kc-fs-grid{display:grid;gap:5px;}.kc-fs-grid.six{grid-template-columns:repeat(6,minmax(0,1fr));}.kc-fs-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-fs-grid.nine{max-width:250px;margin:0 auto;}
.kc-fs-item{height:48px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--fs-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--fs-color,#60746c);cursor:pointer;}.kc-fs-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-fs-item small{font-size:8px;color:#8d9b93;white-space:nowrap;}.kc-fs-item[data-el="木"]{--fs-color:#4e8050;--fs-soft:rgba(78,128,80,.10);--fs-line:rgba(78,128,80,.34);}.kc-fs-item[data-el="火"]{--fs-color:#c95c4f;--fs-soft:rgba(201,92,79,.10);--fs-line:rgba(201,92,79,.34);}.kc-fs-item[data-el="土"]{--fs-color:#b88938;--fs-soft:rgba(184,137,56,.11);--fs-line:rgba(184,137,56,.36);}.kc-fs-item[data-el="金"]{--fs-color:#69748b;--fs-soft:rgba(105,116,139,.10);--fs-line:rgba(105,116,139,.34);}.kc-fs-item[data-el="水"]{--fs-color:#3f6fab;--fs-soft:rgba(63,111,171,.10);--fs-line:rgba(63,111,171,.34);}.kc-fs-item.on{background:var(--fs-soft)!important;border-color:var(--fs-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}.kc-fs-item.current{outline:2px solid #c95c4f;outline-offset:-2px;}
.kc-fs-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--fs-color,#3f8968);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-fs-focus b{display:block;color:var(--fs-color,#3f8968);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-fs-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-fs-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-fs-focus[data-el="木"]{--fs-color:#4e8050;}.kc-fs-focus[data-el="火"]{--fs-color:#c95c4f;}.kc-fs-focus[data-el="土"]{--fs-color:#b88938;}.kc-fs-focus[data-el="金"]{--fs-color:#69748b;}.kc-fs-focus[data-el="水"]{--fs-color:#3f6fab;}
body.theme-dark .kc-fs-slider,body.theme-dark .kc-fs-item,body.theme-dark .kc-fs-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-fs-focus span,body.theme-dark .kc-fs-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-fs-slider{margin-top:60px!important;}.kc-fs-slider button{font-size:8px;}.kc-fs-grid.six{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-fs-item{height:43px;}.kc-fs-focus{padding:9px 11px;}}


/* 紫微斗数基础 */
.kc-zw-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-zw-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-zw-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-zw-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#7a5fa8;transition:transform .22s ease;}.kc-zw-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#786f84;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-zw-slider button.on{color:#fff;}
.kc-zw-body{max-width:520px;margin:10px auto 0;}.kc-zw-grid{display:grid;gap:6px;}.kc-zw-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-zw-grid.five{grid-template-columns:repeat(5,minmax(0,1fr));}.kc-zw-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}
.kc-zw-item{height:50px;min-width:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--zw-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--zw-color,#60746c);cursor:pointer;}.kc-zw-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-zw-item[data-el="木"]{--zw-color:#4e8050;--zw-soft:rgba(78,128,80,.10);--zw-line:rgba(78,128,80,.34);}.kc-zw-item[data-el="火"]{--zw-color:#c95c4f;--zw-soft:rgba(201,92,79,.10);--zw-line:rgba(201,92,79,.34);}.kc-zw-item[data-el="土"]{--zw-color:#b88938;--zw-soft:rgba(184,137,56,.11);--zw-line:rgba(184,137,56,.36);}.kc-zw-item[data-el="金"]{--zw-color:#69748b;--zw-soft:rgba(105,116,139,.10);--zw-line:rgba(105,116,139,.34);}.kc-zw-item[data-el="水"]{--zw-color:#3f6fab;--zw-soft:rgba(63,111,171,.10);--zw-line:rgba(63,111,171,.34);}.kc-zw-item.on{background:var(--zw-soft)!important;border-color:var(--zw-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-zw-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--zw-color,#7a5fa8);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-zw-focus b{display:block;color:var(--zw-color,#7a5fa8);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-zw-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-zw-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-zw-focus[data-el="木"]{--zw-color:#4e8050;}.kc-zw-focus[data-el="火"]{--zw-color:#c95c4f;}.kc-zw-focus[data-el="土"]{--zw-color:#b88938;}.kc-zw-focus[data-el="金"]{--zw-color:#69748b;}.kc-zw-focus[data-el="水"]{--zw-color:#3f6fab;}
body.theme-dark .kc-zw-slider,body.theme-dark .kc-zw-item,body.theme-dark .kc-zw-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-zw-focus span,body.theme-dark .kc-zw-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-zw-slider{margin-top:60px!important;}.kc-zw-slider button{font-size:8.5px;}.kc-zw-grid.four,.kc-zw-grid.five{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-zw-item{height:46px;}.kc-zw-focus{padding:9px 11px;}}


/* 卦气与消息卦 */
.kc-zq-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}
.kc-zq-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-zq-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-zq-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#b88938;transition:transform .22s ease;}.kc-zq-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-zq-slider button.on{color:#fff;}
.kc-zq-body{max-width:520px;margin:10px auto 0;}.kc-zq-grid{display:grid;gap:6px;}.kc-zq-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-zq-grid.six{grid-template-columns:repeat(6,minmax(0,1fr));}
.kc-zq-item{height:72px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--zq-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--zq-color,#60746c);cursor:pointer;}.kc-zq-item b{font:900 11px/1 "Songti SC","STSong",serif;}.kc-zq-item small{font-size:8px;color:#8d9b93;white-space:nowrap;}.kc-zq-item[data-el="火"]{--zq-color:#c95c4f;--zq-soft:rgba(201,92,79,.10);--zq-line:rgba(201,92,79,.34);}.kc-zq-item[data-el="水"]{--zq-color:#3f6fab;--zq-soft:rgba(63,111,171,.10);--zq-line:rgba(63,111,171,.34);}.kc-zq-item.on{background:var(--zq-soft)!important;border-color:var(--zq-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-zq-hex{display:flex;flex-direction:column;gap:1px;width:28px;height:28px;justify-content:center;}.kc-zq-line{display:flex;align-items:center;gap:3px;height:3px;}.kc-zq-line i{display:block;height:3px;background:currentColor;flex:1;border-radius:1px;}.kc-zq-line.yang{color:#c95c4f;}.kc-zq-line.yin{color:#111;}
.kc-zq-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--zq-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-zq-focus b{display:block;color:var(--zq-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-zq-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-zq-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-zq-focus[data-el="火"]{--zq-color:#c95c4f;}.kc-zq-focus[data-el="水"]{--zq-color:#3f6fab;}
body.theme-dark .kc-zq-slider,body.theme-dark .kc-zq-item,body.theme-dark .kc-zq-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-zq-focus span,body.theme-dark .kc-zq-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-zq-slider{margin-top:60px!important;}.kc-zq-slider button{font-size:8px;}.kc-zq-grid.four,.kc-zq-grid.six{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-zq-item{height:66px;}.kc-zq-focus{padding:9px 11px;}}


/* 综合象义表 */
.kc-sy2-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}
.kc-sy2-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-sy2-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,137,104,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}
.kc-sy2-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f8968;transition:transform .22s ease;}.kc-sy2-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font-size:10px;font-weight:800;cursor:pointer;}.kc-sy2-slider button.on{color:#fff;}
.kc-sy2-body{max-width:520px;margin:10px auto 0;}.kc-sy2-grid{display:grid;gap:6px;}.kc-sy2-grid.five{grid-template-columns:repeat(5,minmax(0,1fr));}.kc-sy2-grid.six{grid-template-columns:repeat(6,minmax(0,1fr));}.kc-sy2-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}
.kc-sy2-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--sy2-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--sy2-color,#60746c);cursor:pointer;}.kc-sy2-item b{font:900 15px/1 "Songti SC","STSong",serif;}.kc-sy2-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-sy2-item[data-el="木"]{--sy2-color:#4e8050;--sy2-soft:rgba(78,128,80,.10);--sy2-line:rgba(78,128,80,.34);}.kc-sy2-item[data-el="火"]{--sy2-color:#c95c4f;--sy2-soft:rgba(201,92,79,.10);--sy2-line:rgba(201,92,79,.34);}.kc-sy2-item[data-el="土"]{--sy2-color:#b88938;--sy2-soft:rgba(184,137,56,.11);--sy2-line:rgba(184,137,56,.36);}.kc-sy2-item[data-el="金"]{--sy2-color:#69748b;--sy2-soft:rgba(105,116,139,.10);--sy2-line:rgba(105,116,139,.34);}.kc-sy2-item[data-el="水"]{--sy2-color:#3f6fab;--sy2-soft:rgba(63,111,171,.10);--sy2-line:rgba(63,111,171,.34);}.kc-sy2-item.on{background:var(--sy2-soft)!important;border-color:var(--sy2-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-sy2-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--sy2-color,#3f8968);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-sy2-focus b{display:block;color:var(--sy2-color,#3f8968);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-sy2-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-sy2-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-sy2-focus[data-el="木"]{--sy2-color:#4e8050;}.kc-sy2-focus[data-el="火"]{--sy2-color:#c95c4f;}.kc-sy2-focus[data-el="土"]{--sy2-color:#b88938;}.kc-sy2-focus[data-el="金"]{--sy2-color:#69748b;}.kc-sy2-focus[data-el="水"]{--sy2-color:#3f6fab;}
body.theme-dark .kc-sy2-slider,body.theme-dark .kc-sy2-item,body.theme-dark .kc-sy2-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-sy2-focus span,body.theme-dark .kc-sy2-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-sy2-slider{margin-top:60px!important;}.kc-sy2-slider button{font-size:8.5px;}.kc-sy2-grid.five,.kc-sy2-grid.six{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-sy2-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-sy2-item{height:48px;}.kc-sy2-focus{padding:9px 11px;}}


/* 紫微三张一览表 */
.kc-zpg-card,.kc-zsx-card,.kc-zgg2-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}
.kc-zpg-card::before,.kc-zsx-card::before,.kc-zgg2-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-zpg-grid,.kc-zgg2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:520px;margin:34px auto 0;}.kc-zgg2-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.kc-zpg-item,.kc-zgg2-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--zt-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--zt-color,#60746c);cursor:pointer;}.kc-zpg-item b,.kc-zgg2-item b{font:900 11px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-zgg2-item small{font-size:8px;color:#8d9b93;text-align:center;}
.kc-zpg-item[data-el="木"],.kc-zgg2-item[data-el="木"]{--zt-color:#4e8050;--zt-soft:rgba(78,128,80,.10);--zt-line:rgba(78,128,80,.34);}.kc-zpg-item[data-el="火"],.kc-zgg2-item[data-el="火"]{--zt-color:#c95c4f;--zt-soft:rgba(201,92,79,.10);--zt-line:rgba(201,92,79,.34);}.kc-zpg-item[data-el="土"],.kc-zgg2-item[data-el="土"]{--zt-color:#b88938;--zt-soft:rgba(184,137,56,.11);--zt-line:rgba(184,137,56,.36);}.kc-zpg-item[data-el="金"],.kc-zgg2-item[data-el="金"]{--zt-color:#69748b;--zt-soft:rgba(105,116,139,.10);--zt-line:rgba(105,116,139,.34);}.kc-zpg-item[data-el="水"],.kc-zgg2-item[data-el="水"]{--zt-color:#3f6fab;--zt-soft:rgba(63,111,171,.10);--zt-line:rgba(63,111,171,.34);}.kc-zpg-item.on,.kc-zgg2-item.on{background:var(--zt-soft)!important;border-color:var(--zt-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-zpg-focus,.kc-zgg2-focus,.kc-zsx-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--zt-color,#7a5fa8);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-zpg-focus b,.kc-zgg2-focus b,.kc-zsx-focus b{display:block;color:var(--zt-color,#7a5fa8);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-zpg-focus span,.kc-zgg2-focus span,.kc-zsx-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-zpg-focus em,.kc-zgg2-focus em,.kc-zsx-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-zpg-focus[data-el="木"],.kc-zgg2-focus[data-el="木"]{--zt-color:#4e8050;}.kc-zpg-focus[data-el="火"],.kc-zgg2-focus[data-el="火"]{--zt-color:#c95c4f;}.kc-zpg-focus[data-el="土"],.kc-zgg2-focus[data-el="土"]{--zt-color:#b88938;}.kc-zpg-focus[data-el="金"],.kc-zgg2-focus[data-el="金"]{--zt-color:#69748b;}.kc-zpg-focus[data-el="水"],.kc-zgg2-focus[data-el="水"]{--zt-color:#3f6fab;}
.kc-zsx-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-zsx-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#7a5fa8;transition:transform .22s ease;}.kc-zsx-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#786f84;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-zsx-slider button.on{color:#fff;}
.kc-zsx-body{max-width:520px;margin:10px auto 0;}.kc-zsx-grid{display:grid;gap:5px;}.kc-zsx-grid.five{grid-template-columns:repeat(5,minmax(0,1fr));}.kc-zsx-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-zsx-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-zsx-item{height:50px;min-width:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--zt-line,rgba(31,91,77,.11));border-radius:10px;background:#fff;color:var(--zt-color,#60746c);cursor:pointer;}.kc-zsx-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-zsx-item[data-el="木"]{--zt-color:#4e8050;--zt-soft:rgba(78,128,80,.10);--zt-line:rgba(78,128,80,.34);}.kc-zsx-item[data-el="火"]{--zt-color:#c95c4f;--zt-soft:rgba(201,92,79,.10);--zt-line:rgba(201,92,79,.34);}.kc-zsx-item[data-el="土"]{--zt-color:#b88938;--zt-soft:rgba(184,137,56,.11);--zt-line:rgba(184,137,56,.36);}.kc-zsx-item[data-el="金"]{--zt-color:#69748b;--zt-soft:rgba(105,116,139,.10);--zt-line:rgba(105,116,139,.34);}.kc-zsx-item[data-el="水"]{--zt-color:#3f6fab;--zt-soft:rgba(63,111,171,.10);--zt-line:rgba(63,111,171,.34);}.kc-zsx-item.on{background:var(--zt-soft)!important;border-color:var(--zt-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}.kc-zsx-focus[data-el="木"]{--zt-color:#4e8050;}.kc-zsx-focus[data-el="火"]{--zt-color:#c95c4f;}.kc-zsx-focus[data-el="土"]{--zt-color:#b88938;}.kc-zsx-focus[data-el="金"]{--zt-color:#69748b;}.kc-zsx-focus[data-el="水"]{--zt-color:#3f6fab;}
body.theme-dark .kc-zpg-item,body.theme-dark .kc-zgg2-item,body.theme-dark .kc-zsx-slider,body.theme-dark .kc-zsx-item,body.theme-dark .kc-zpg-focus,body.theme-dark .kc-zgg2-focus,body.theme-dark .kc-zsx-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-zpg-focus span,body.theme-dark .kc-zpg-focus em,body.theme-dark .kc-zgg2-focus span,body.theme-dark .kc-zgg2-focus em,body.theme-dark .kc-zsx-focus span,body.theme-dark .kc-zsx-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-zpg-grid,.kc-zgg2-grid,.kc-zsx-slider{margin-top:60px!important;}.kc-zpg-grid,.kc-zgg2-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-zgg2-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-zpg-item,.kc-zgg2-item{height:50px;}.kc-zsx-grid.five{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-zsx-item{height:44px;}.kc-zpg-focus,.kc-zgg2-focus,.kc-zsx-focus{padding:9px 11px;}}


/* 奇门阴阳遁与九局 */
.kc-qmd-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}.kc-qmd-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmd-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmd-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#b88938;transition:transform .22s ease;}.kc-qmd-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-qmd-slider button.on{color:#fff;}
.kc-qmd-body{max-width:520px;margin:10px auto 0;}.kc-qmd-grid{display:grid;gap:6px;}.kc-qmd-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmd-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-qmd-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-qmd-item{height:52px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--qmd-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmd-color,#60746c);cursor:pointer;}.kc-qmd-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-qmd-item small{font-size:8px;color:#8d9b93;}.kc-qmd-item[data-el="木"]{--qmd-color:#4e8050;--qmd-soft:rgba(78,128,80,.10);--qmd-line:rgba(78,128,80,.34);}.kc-qmd-item[data-el="火"]{--qmd-color:#c95c4f;--qmd-soft:rgba(201,92,79,.10);--qmd-line:rgba(201,92,79,.34);}.kc-qmd-item[data-el="土"]{--qmd-color:#b88938;--qmd-soft:rgba(184,137,56,.11);--qmd-line:rgba(184,137,56,.36);}.kc-qmd-item[data-el="金"]{--qmd-color:#69748b;--qmd-soft:rgba(105,116,139,.10);--qmd-line:rgba(105,116,139,.34);}.kc-qmd-item[data-el="水"]{--qmd-color:#3f6fab;--qmd-soft:rgba(63,111,171,.10);--qmd-line:rgba(63,111,171,.34);}.kc-qmd-item.on{background:var(--qmd-soft)!important;border-color:var(--qmd-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmd-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmd-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmd-focus b{display:block;color:var(--qmd-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmd-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmd-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmd-focus[data-el="木"]{--qmd-color:#4e8050;}.kc-qmd-focus[data-el="火"]{--qmd-color:#c95c4f;}.kc-qmd-focus[data-el="土"]{--qmd-color:#b88938;}.kc-qmd-focus[data-el="金"]{--qmd-color:#69748b;}.kc-qmd-focus[data-el="水"]{--qmd-color:#3f6fab;}
body.theme-dark .kc-qmd-slider,body.theme-dark .kc-qmd-item,body.theme-dark .kc-qmd-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmd-focus span,body.theme-dark .kc-qmd-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-qmd-slider{margin-top:60px!important;}.kc-qmd-grid.four{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-qmd-item{height:46px;}.kc-qmd-focus{padding:9px 11px;}}


/* 奇门三奇六仪 */
.kc-sqly-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}.kc-sqly-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-sqly-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-sqly-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#b88938;transition:transform .22s ease;}.kc-sqly-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font-size:9px;font-weight:800;cursor:pointer;}.kc-sqly-slider button.on{color:#fff;}
.kc-sqly-body{max-width:520px;margin:10px auto 0;}.kc-sqly-grid{display:grid;gap:6px;}.kc-sqly-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-sqly-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-sqly-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--sql-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--sql-color,#60746c);cursor:pointer;}.kc-sqly-item b{font:900 16px/1 "Songti SC","STSong",serif;}.kc-sqly-item small{font-size:8px;color:#8d9b93;}.kc-sqly-item[data-el="木"]{--sql-color:#4e8050;--sql-soft:rgba(78,128,80,.10);--sql-line:rgba(78,128,80,.34);}.kc-sqly-item[data-el="火"]{--sql-color:#c95c4f;--sql-soft:rgba(201,92,79,.10);--sql-line:rgba(201,92,79,.34);}.kc-sqly-item[data-el="土"]{--sql-color:#b88938;--sql-soft:rgba(184,137,56,.11);--sql-line:rgba(184,137,56,.36);}.kc-sqly-item[data-el="金"]{--sql-color:#69748b;--sql-soft:rgba(105,116,139,.10);--sql-line:rgba(105,116,139,.34);}.kc-sqly-item[data-el="水"]{--sql-color:#3f6fab;--sql-soft:rgba(63,111,171,.10);--sql-line:rgba(63,111,171,.34);}.kc-sqly-item.on{background:var(--sql-soft)!important;border-color:var(--sql-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-sqly-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--sql-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-sqly-focus b{display:block;color:var(--sql-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-sqly-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-sqly-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-sqly-focus[data-el="木"]{--sql-color:#4e8050;}.kc-sqly-focus[data-el="火"]{--sql-color:#c95c4f;}.kc-sqly-focus[data-el="土"]{--sql-color:#b88938;}.kc-sqly-focus[data-el="金"]{--sql-color:#69748b;}.kc-sqly-focus[data-el="水"]{--sql-color:#3f6fab;}
body.theme-dark .kc-sqly-slider,body.theme-dark .kc-sqly-item,body.theme-dark .kc-sqly-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-sqly-focus span,body.theme-dark .kc-sqly-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-sqly-slider{margin-top:60px!important;}.kc-sqly-slider button{font-size:8.5px;}.kc-sqly-item{height:48px;}.kc-sqly-focus{padding:9px 11px;}}


/* 奇门值符值使 */
.kc-zfs-card{--kc-card-accent:#3f8968;--kc-card-soft:rgba(63,137,104,.10);}.kc-zfs-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-zfs-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,137,104,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-zfs-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f8968;transition:transform .22s ease;}.kc-zfs-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#71827a;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-zfs-slider button.on{color:#fff;}
.kc-zfs-body{max-width:520px;margin:10px auto 0;}.kc-zfs-grid{display:grid;gap:6px;}.kc-zfs-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-zfs-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-zfs-item{height:52px;min-width:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--zfs-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--zfs-color,#60746c);cursor:pointer;}.kc-zfs-item b{font:900 11px/1.2 "Songti SC","STSong",serif;text-align:center;}.kc-zfs-item[data-el="木"]{--zfs-color:#4e8050;--zfs-soft:rgba(78,128,80,.10);--zfs-line:rgba(78,128,80,.34);}.kc-zfs-item[data-el="火"]{--zfs-color:#c95c4f;--zfs-soft:rgba(201,92,79,.10);--zfs-line:rgba(201,92,79,.34);}.kc-zfs-item[data-el="土"]{--zfs-color:#b88938;--zfs-soft:rgba(184,137,56,.11);--zfs-line:rgba(184,137,56,.36);}.kc-zfs-item[data-el="金"]{--zfs-color:#69748b;--zfs-soft:rgba(105,116,139,.10);--zfs-line:rgba(105,116,139,.34);}.kc-zfs-item[data-el="水"]{--zfs-color:#3f6fab;--zfs-soft:rgba(63,111,171,.10);--zfs-line:rgba(63,111,171,.34);}.kc-zfs-item.on{background:var(--zfs-soft)!important;border-color:var(--zfs-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-zfs-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--zfs-color,#3f8968);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-zfs-focus b{display:block;color:var(--zfs-color,#3f8968);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-zfs-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-zfs-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-zfs-focus[data-el="木"]{--zfs-color:#4e8050;}.kc-zfs-focus[data-el="火"]{--zfs-color:#c95c4f;}.kc-zfs-focus[data-el="土"]{--zfs-color:#b88938;}.kc-zfs-focus[data-el="金"]{--zfs-color:#69748b;}.kc-zfs-focus[data-el="水"]{--zfs-color:#3f6fab;}
body.theme-dark .kc-zfs-slider,body.theme-dark .kc-zfs-item,body.theme-dark .kc-zfs-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-zfs-focus span,body.theme-dark .kc-zfs-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-zfs-slider{margin-top:60px!important;}.kc-zfs-slider button{font-size:8.5px;}.kc-zfs-item{height:46px;}.kc-zfs-focus{padding:9px 11px;}}


/* 奇门十干克应 */
.kc-sgky-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}.kc-sgky-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-sgky-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-sgky-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#7a5fa8;transition:transform .22s ease;}.kc-sgky-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#786f84;font-size:9px;font-weight:800;cursor:pointer;}.kc-sgky-slider button.on{color:#fff;}
.kc-sgky-body{max-width:520px;margin:10px auto 0;}.kc-sgky-grid{display:grid;gap:6px;}.kc-sgky-grid.five{grid-template-columns:repeat(5,minmax(0,1fr));}.kc-sgky-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-sgky-item{height:52px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--sg-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--sg-color,#60746c);cursor:pointer;}.kc-sgky-item b{font:900 14px/1 "Songti SC","STSong",serif;}.kc-sgky-item small{font-size:8px;color:#8d9b93;}.kc-sgky-item[data-el="木"]{--sg-color:#4e8050;--sg-soft:rgba(78,128,80,.10);--sg-line:rgba(78,128,80,.34);}.kc-sgky-item[data-el="火"]{--sg-color:#c95c4f;--sg-soft:rgba(201,92,79,.10);--sg-line:rgba(201,92,79,.34);}.kc-sgky-item[data-el="土"]{--sg-color:#b88938;--sg-soft:rgba(184,137,56,.11);--sg-line:rgba(184,137,56,.36);}.kc-sgky-item[data-el="金"]{--sg-color:#69748b;--sg-soft:rgba(105,116,139,.10);--sg-line:rgba(105,116,139,.34);}.kc-sgky-item[data-el="水"]{--sg-color:#3f6fab;--sg-soft:rgba(63,111,171,.10);--sg-line:rgba(63,111,171,.34);}.kc-sgky-item.on{background:var(--sg-soft)!important;border-color:var(--sg-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-sgky-subtitle{margin:7px 2px 5px;color:#60746c;font-size:10px;font-weight:900;letter-spacing:.08em;}
.kc-sgky-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--sg-color,#7a5fa8);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-sgky-focus b{display:block;color:var(--sg-color,#7a5fa8);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-sgky-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-sgky-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-sgky-focus[data-el="木"]{--sg-color:#4e8050;}.kc-sgky-focus[data-el="火"]{--sg-color:#c95c4f;}.kc-sgky-focus[data-el="土"]{--sg-color:#b88938;}.kc-sgky-focus[data-el="金"]{--sg-color:#69748b;}.kc-sgky-focus[data-el="水"]{--sg-color:#3f6fab;}
body.theme-dark .kc-sgky-slider,body.theme-dark .kc-sgky-item,body.theme-dark .kc-sgky-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-sgky-focus span,body.theme-dark .kc-sgky-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-sgky-slider{margin-top:60px!important;}.kc-sgky-slider button{font-size:8px;}.kc-sgky-item{height:46px;}.kc-sgky-focus{padding:9px 11px;}}


/* 六壬月将加时 */
.kc-lj-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}.kc-lj-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-lj-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,111,171,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-lj-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#3f6fab;transition:transform .22s ease;}.kc-lj-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#6d7c8d;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-lj-slider button.on{color:#fff;}
.kc-lj-body{max-width:520px;margin:10px auto 0;}.kc-lj-grid{display:grid;gap:6px;}.kc-lj-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-lj-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-lj-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--lj-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--lj-color,#60746c);cursor:pointer;}.kc-lj-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-lj-item small{font-size:8px;color:#8d9b93;}.kc-lj-item[data-el="木"]{--lj-color:#4e8050;--lj-soft:rgba(78,128,80,.10);--lj-line:rgba(78,128,80,.34);}.kc-lj-item[data-el="火"]{--lj-color:#c95c4f;--lj-soft:rgba(201,92,79,.10);--lj-line:rgba(201,92,79,.34);}.kc-lj-item[data-el="土"]{--lj-color:#b88938;--lj-soft:rgba(184,137,56,.11);--lj-line:rgba(184,137,56,.36);}.kc-lj-item[data-el="金"]{--lj-color:#69748b;--lj-soft:rgba(105,116,139,.10);--lj-line:rgba(105,116,139,.34);}.kc-lj-item[data-el="水"]{--lj-color:#3f6fab;--lj-soft:rgba(63,111,171,.10);--lj-line:rgba(63,111,171,.34);}.kc-lj-item.on{background:var(--lj-soft)!important;border-color:var(--lj-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-lj-subtitle{margin:7px 2px 5px;color:#60746c;font-size:10px;font-weight:900;}.kc-lj-mini-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:3px;}.kc-lj-mini{height:28px;border:1px solid var(--lj-line,rgba(31,91,77,.11));border-radius:7px;background:#fff;color:var(--lj-color,#60746c);font-size:10px;font-weight:900;cursor:pointer;}.kc-lj-mini[data-el="木"]{--lj-color:#4e8050;--lj-line:rgba(78,128,80,.30);}.kc-lj-mini[data-el="火"]{--lj-color:#c95c4f;--lj-line:rgba(201,92,79,.30);}.kc-lj-mini[data-el="土"]{--lj-color:#b88938;--lj-line:rgba(184,137,56,.32);}.kc-lj-mini[data-el="金"]{--lj-color:#69748b;--lj-line:rgba(105,116,139,.30);}.kc-lj-mini[data-el="水"]{--lj-color:#3f6fab;--lj-line:rgba(63,111,171,.30);}.kc-lj-mini.on{background:var(--lj-color);color:#fff;}
.kc-lj-plate-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:8px;}.kc-lj-plate{height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--lj-line,rgba(31,91,77,.11));border-radius:9px;background:#fff;color:var(--lj-color,#60746c);}.kc-lj-plate small{font-size:7px;color:#9aa8a0;}.kc-lj-plate b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-lj-plate[data-el="木"]{--lj-color:#4e8050;--lj-line:rgba(78,128,80,.30);}.kc-lj-plate[data-el="火"]{--lj-color:#c95c4f;--lj-line:rgba(201,92,79,.30);}.kc-lj-plate[data-el="土"]{--lj-color:#b88938;--lj-line:rgba(184,137,56,.32);}.kc-lj-plate[data-el="金"]{--lj-color:#69748b;--lj-line:rgba(105,116,139,.30);}.kc-lj-plate[data-el="水"]{--lj-color:#3f6fab;--lj-line:rgba(63,111,171,.30);}
.kc-lj-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--lj-color,#3f6fab);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-lj-focus b{display:block;color:var(--lj-color,#3f6fab);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-lj-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-lj-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-lj-focus[data-el="木"]{--lj-color:#4e8050;}.kc-lj-focus[data-el="火"]{--lj-color:#c95c4f;}.kc-lj-focus[data-el="土"]{--lj-color:#b88938;}.kc-lj-focus[data-el="金"]{--lj-color:#69748b;}.kc-lj-focus[data-el="水"]{--lj-color:#3f6fab;}
body.theme-dark .kc-lj-slider,body.theme-dark .kc-lj-item,body.theme-dark .kc-lj-mini,body.theme-dark .kc-lj-plate,body.theme-dark .kc-lj-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-lj-focus span,body.theme-dark .kc-lj-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-lj-slider{margin-top:60px!important;}.kc-lj-slider button{font-size:8.5px;}.kc-lj-item{height:48px;}.kc-lj-mini-grid{grid-template-columns:repeat(6,minmax(0,1fr));}.kc-lj-plate-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-lj-focus{padding:9px 11px;}}


/* 六壬四课三传 */
.kc-ljsc-card{--kc-card-accent:#7a5fa8;--kc-card-soft:rgba(122,95,168,.10);}.kc-ljsc-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljsc-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(122,95,168,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljsc-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#7a5fa8;transition:transform .22s ease;}.kc-ljsc-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#786f84;font-size:9px;font-weight:800;cursor:pointer;}.kc-ljsc-slider button.on{color:#fff;}
.kc-ljsc-body{max-width:520px;margin:10px auto 0;}.kc-ljsc-grid{display:grid;gap:6px;}.kc-ljsc-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljsc-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-ljsc-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljsc-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljsc-color,#60746c);cursor:pointer;}.kc-ljsc-item b{font:900 11px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljsc-item small{font-size:8px;color:#8d9b93;}.kc-ljsc-item[data-el="木"]{--ljsc-color:#4e8050;--ljsc-soft:rgba(78,128,80,.10);--ljsc-line:rgba(78,128,80,.34);}.kc-ljsc-item[data-el="火"]{--ljsc-color:#c95c4f;--ljsc-soft:rgba(201,92,79,.10);--ljsc-line:rgba(201,92,79,.34);}.kc-ljsc-item[data-el="土"]{--ljsc-color:#b88938;--ljsc-soft:rgba(184,137,56,.11);--ljsc-line:rgba(184,137,56,.36);}.kc-ljsc-item[data-el="金"]{--ljsc-color:#69748b;--ljsc-soft:rgba(105,116,139,.10);--ljsc-line:rgba(105,116,139,.34);}.kc-ljsc-item[data-el="水"]{--ljsc-color:#3f6fab;--ljsc-soft:rgba(63,111,171,.10);--ljsc-line:rgba(63,111,171,.34);}.kc-ljsc-item.on{background:var(--ljsc-soft)!important;border-color:var(--ljsc-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljsc-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljsc-color,#7a5fa8);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljsc-focus b{display:block;color:var(--ljsc-color,#7a5fa8);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljsc-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljsc-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljsc-focus[data-el="木"]{--ljsc-color:#4e8050;}.kc-ljsc-focus[data-el="火"]{--ljsc-color:#c95c4f;}.kc-ljsc-focus[data-el="土"]{--ljsc-color:#b88938;}.kc-ljsc-focus[data-el="金"]{--ljsc-color:#69748b;}.kc-ljsc-focus[data-el="水"]{--ljsc-color:#3f6fab;}
body.theme-dark .kc-ljsc-slider,body.theme-dark .kc-ljsc-item,body.theme-dark .kc-ljsc-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljsc-focus span,body.theme-dark .kc-ljsc-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-ljsc-slider{margin-top:60px!important;}.kc-ljsc-slider button{font-size:8.5px;}.kc-ljsc-item{height:48px;}.kc-ljsc-focus{padding:9px 11px;}}


/* 六壬十二天将 */
.kc-ljtj-card{--kc-card-accent:#3f6fab;--kc-card-soft:rgba(63,111,171,.10);}.kc-ljtj-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljtj-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(63,111,171,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljtj-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#3f6fab;transition:transform .22s ease;}.kc-ljtj-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#6d7c8d;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-ljtj-slider button.on{color:#fff;}
.kc-ljtj-body{max-width:520px;margin:10px auto 0;}.kc-ljtj-grid{display:grid;gap:6px;}.kc-ljtj-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljtj-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-ljtj-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljt-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljt-color,#60746c);cursor:pointer;}.kc-ljtj-item b{font:900 12px/1.1 "Songti SC","STSong",serif;}.kc-ljtj-item small{font-size:8px;color:#8d9b93;}.kc-ljtj-item[data-el="木"]{--ljt-color:#4e8050;--ljt-soft:rgba(78,128,80,.10);--ljt-line:rgba(78,128,80,.34);}.kc-ljtj-item[data-el="火"]{--ljt-color:#c95c4f;--ljt-soft:rgba(201,92,79,.10);--ljt-line:rgba(201,92,79,.34);}.kc-ljtj-item[data-el="土"]{--ljt-color:#b88938;--ljt-soft:rgba(184,137,56,.11);--ljt-line:rgba(184,137,56,.36);}.kc-ljtj-item[data-el="金"]{--ljt-color:#69748b;--ljt-soft:rgba(105,116,139,.10);--ljt-line:rgba(105,116,139,.34);}.kc-ljtj-item[data-el="水"]{--ljt-color:#3f6fab;--ljt-soft:rgba(63,111,171,.10);--ljt-line:rgba(63,111,171,.34);}.kc-ljtj-item.on{background:var(--ljt-soft)!important;border-color:var(--ljt-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljtj-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljt-color,#3f6fab);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljtj-focus b{display:block;color:var(--ljt-color,#3f6fab);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljtj-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljtj-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljtj-focus[data-el="木"]{--ljt-color:#4e8050;}.kc-ljtj-focus[data-el="火"]{--ljt-color:#c95c4f;}.kc-ljtj-focus[data-el="土"]{--ljt-color:#b88938;}.kc-ljtj-focus[data-el="金"]{--ljt-color:#69748b;}.kc-ljtj-focus[data-el="水"]{--ljt-color:#3f6fab;}
body.theme-dark .kc-ljtj-slider,body.theme-dark .kc-ljtj-item,body.theme-dark .kc-ljtj-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljtj-focus span,body.theme-dark .kc-ljtj-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-ljtj-slider{margin-top:60px!important;}.kc-ljtj-slider button{font-size:8.5px;}.kc-ljtj-item{height:48px;}.kc-ljtj-focus{padding:9px 11px;}}


/* 太乙九宫 */
.kc-tyjg-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}.kc-tyjg-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tyjg-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tyjg-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#b88938;transition:transform .22s ease;}.kc-tyjg-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-tyjg-slider button.on{color:#fff;}
.kc-tyjg-body{max-width:520px;margin:10px auto 0;}.kc-tyjg-grid{display:grid;gap:6px;}.kc-tyjg-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-tyjg-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tyjg-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--ty-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ty-color,#60746c);cursor:pointer;}.kc-tyjg-item b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-tyjg-item small{font-size:8px;color:#8d9b93;}.kc-tyjg-item[data-el="木"]{--ty-color:#4e8050;--ty-soft:rgba(78,128,80,.10);--ty-line:rgba(78,128,80,.34);}.kc-tyjg-item[data-el="火"]{--ty-color:#c95c4f;--ty-soft:rgba(201,92,79,.10);--ty-line:rgba(201,92,79,.34);}.kc-tyjg-item[data-el="土"]{--ty-color:#b88938;--ty-soft:rgba(184,137,56,.11);--ty-line:rgba(184,137,56,.36);}.kc-tyjg-item[data-el="金"]{--ty-color:#69748b;--ty-soft:rgba(105,116,139,.10);--ty-line:rgba(105,116,139,.34);}.kc-tyjg-item[data-el="水"]{--ty-color:#3f6fab;--ty-soft:rgba(63,111,171,.10);--ty-line:rgba(63,111,171,.34);}.kc-tyjg-item.on{background:var(--ty-soft)!important;border-color:var(--ty-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tyjg-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ty-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tyjg-focus b{display:block;color:var(--ty-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tyjg-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tyjg-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tyjg-focus[data-el="木"]{--ty-color:#4e8050;}.kc-tyjg-focus[data-el="火"]{--ty-color:#c95c4f;}.kc-tyjg-focus[data-el="土"]{--ty-color:#b88938;}.kc-tyjg-focus[data-el="金"]{--ty-color:#69748b;}.kc-tyjg-focus[data-el="水"]{--ty-color:#3f6fab;}
body.theme-dark .kc-tyjg-slider,body.theme-dark .kc-tyjg-item,body.theme-dark .kc-tyjg-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tyjg-focus span,body.theme-dark .kc-tyjg-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-tyjg-slider{margin-top:60px!important;}.kc-tyjg-slider button{font-size:8.5px;}.kc-tyjg-item{height:48px;}.kc-tyjg-focus{padding:9px 11px;}}


/* 太乙三基五福 */
.kc-tysj-card{--kc-card-accent:#b88938;--kc-card-soft:rgba(184,137,56,.10);}.kc-tysj-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tysj-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(184,137,56,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tysj-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#b88938;transition:transform .22s ease;}.kc-tysj-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#88785f;font-size:9px;font-weight:800;cursor:pointer;}.kc-tysj-slider button.on{color:#fff;}
.kc-tysj-body{max-width:520px;margin:10px auto 0;}.kc-tysj-grid{display:grid;gap:6px;}.kc-tysj-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-tysj-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-tysj-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tysj-item{height:52px;min-width:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--tysj-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--tysj-color,#60746c);cursor:pointer;}.kc-tysj-item b{font:900 12px/1 "Songti SC","STSong",serif;text-align:center;}.kc-tysj-item[data-el="木"]{--tysj-color:#4e8050;--tysj-soft:rgba(78,128,80,.10);--tysj-line:rgba(78,128,80,.34);}.kc-tysj-item[data-el="火"]{--tysj-color:#c95c4f;--tysj-soft:rgba(201,92,79,.10);--tysj-line:rgba(201,92,79,.34);}.kc-tysj-item[data-el="土"]{--tysj-color:#b88938;--tysj-soft:rgba(184,137,56,.11);--tysj-line:rgba(184,137,56,.36);}.kc-tysj-item[data-el="金"]{--tysj-color:#69748b;--tysj-soft:rgba(105,116,139,.10);--tysj-line:rgba(105,116,139,.34);}.kc-tysj-item[data-el="水"]{--tysj-color:#3f6fab;--tysj-soft:rgba(63,111,171,.10);--tysj-line:rgba(63,111,171,.34);}.kc-tysj-item.on{background:var(--tysj-soft)!important;border-color:var(--tysj-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tysj-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--tysj-color,#b88938);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tysj-focus b{display:block;color:var(--tysj-color,#b88938);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tysj-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tysj-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tysj-focus[data-el="木"]{--tysj-color:#4e8050;}.kc-tysj-focus[data-el="火"]{--tysj-color:#c95c4f;}.kc-tysj-focus[data-el="土"]{--tysj-color:#b88938;}.kc-tysj-focus[data-el="金"]{--tysj-color:#69748b;}.kc-tysj-focus[data-el="水"]{--tysj-color:#3f6fab;}
body.theme-dark .kc-tysj-slider,body.theme-dark .kc-tysj-item,body.theme-dark .kc-tysj-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tysj-focus span,body.theme-dark .kc-tysj-focus em{color:#a5b7b0;}
@media(max-width:520px){.kc-tysj-slider{margin-top:60px!important;}.kc-tysj-slider button{font-size:8px;}.kc-tysj-grid.four{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-tysj-item{height:46px;}.kc-tysj-focus{padding:9px 11px;}}

/* 太乙主客大将与参将 */
.kc-tyzj-card{--kc-card-accent:#456f78;--kc-card-soft:rgba(69,111,120,.10);}.kc-tyzj-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tyzj-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(69,111,120,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tyzj-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#456f78;transition:transform .22s ease;}.kc-tyzj-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#718087;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-tyzj-slider button.on{color:#fff;}
.kc-tyzj-body{max-width:520px;margin:10px auto 0;}.kc-tyzj-grid{display:grid;gap:6px;}.kc-tyzj-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tyzj-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-tyzj-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--tyzj-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--tyzj-color,#60746c);cursor:pointer;}.kc-tyzj-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-tyzj-item small{font-size:8px;color:#8d9b93;}.kc-tyzj-item[data-el="主"]{--tyzj-color:#b45145;--tyzj-soft:rgba(180,81,69,.10);--tyzj-line:rgba(180,81,69,.34);}.kc-tyzj-item[data-el="辅"]{--tyzj-color:#b88938;--tyzj-soft:rgba(184,137,56,.11);--tyzj-line:rgba(184,137,56,.36);}.kc-tyzj-item[data-el="客"]{--tyzj-color:#3f6fab;--tyzj-soft:rgba(63,111,171,.10);--tyzj-line:rgba(63,111,171,.34);}.kc-tyzj-item[data-el="来"]{--tyzj-color:#4e8050;--tyzj-soft:rgba(78,128,80,.10);--tyzj-line:rgba(78,128,80,.34);}.kc-tyzj-item.on{background:var(--tyzj-soft)!important;border-color:var(--tyzj-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tyzj-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--tyzj-color,#456f78);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tyzj-focus b{display:block;color:var(--tyzj-color,#456f78);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tyzj-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tyzj-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tyzj-focus[data-el="主"]{--tyzj-color:#b45145;}.kc-tyzj-focus[data-el="辅"]{--tyzj-color:#b88938;}.kc-tyzj-focus[data-el="客"]{--tyzj-color:#3f6fab;}.kc-tyzj-focus[data-el="来"]{--tyzj-color:#4e8050;}.kc-tyzj-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #456f78;border-radius:0 10px 10px 0;background:rgba(69,111,120,.07);color:#58727a;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-tyzj-slider,body.theme-dark .kc-tyzj-item,body.theme-dark .kc-tyzj-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tyzj-focus span,body.theme-dark .kc-tyzj-focus em{color:#a5b7b0;}body.theme-dark .kc-tyzj-result{background:rgba(69,111,120,.12);color:#a8c0c5;}
@media(max-width:520px){.kc-tyzj-slider{margin-top:60px!important;}.kc-tyzj-slider button{font-size:8.5px;}.kc-tyzj-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tyzj-item{height:52px;}.kc-tyzj-focus{padding:9px 11px;}}
/* 太乙十六神 */
.kc-ty16-card{--kc-card-accent:#526b87;--kc-card-soft:rgba(82,107,135,.10);}.kc-ty16-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ty16-slider{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(82,107,135,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ty16-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:#526b87;transition:transform .22s ease;}.kc-ty16-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#74808d;font-size:9.5px;font-weight:800;cursor:pointer;}.kc-ty16-slider button.on{color:#fff;}
.kc-ty16-body{max-width:520px;margin:10px auto 0;}.kc-ty16-grid{display:grid;gap:6px;}.kc-ty16-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ty16-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-ty16-item{height:54px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ty16-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ty16-color,#60746c);cursor:pointer;}.kc-ty16-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ty16-item small{font-size:8px;color:#8d9b93;}.kc-ty16-item[data-el="木"]{--ty16-color:#4e8050;--ty16-soft:rgba(78,128,80,.10);--ty16-line:rgba(78,128,80,.34);}.kc-ty16-item[data-el="火"]{--ty16-color:#c95c4f;--ty16-soft:rgba(201,92,79,.10);--ty16-line:rgba(201,92,79,.34);}.kc-ty16-item[data-el="土"]{--ty16-color:#b88938;--ty16-soft:rgba(184,137,56,.11);--ty16-line:rgba(184,137,56,.36);}.kc-ty16-item[data-el="金"]{--ty16-color:#69748b;--ty16-soft:rgba(105,116,139,.10);--ty16-line:rgba(105,116,139,.34);}.kc-ty16-item[data-el="水"]{--ty16-color:#3f6fab;--ty16-soft:rgba(63,111,171,.10);--ty16-line:rgba(63,111,171,.34);}.kc-ty16-item.on{background:var(--ty16-soft)!important;border-color:var(--ty16-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ty16-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ty16-color,#526b87);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ty16-focus b{display:block;color:var(--ty16-color,#526b87);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ty16-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ty16-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ty16-focus[data-el="木"]{--ty16-color:#4e8050;}.kc-ty16-focus[data-el="火"]{--ty16-color:#c95c4f;}.kc-ty16-focus[data-el="土"]{--ty16-color:#b88938;}.kc-ty16-focus[data-el="金"]{--ty16-color:#69748b;}.kc-ty16-focus[data-el="水"]{--ty16-color:#3f6fab;}.kc-ty16-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #526b87;border-radius:0 10px 10px 0;background:rgba(82,107,135,.07);color:#5c7089;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ty16-slider,body.theme-dark .kc-ty16-item,body.theme-dark .kc-ty16-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ty16-focus span,body.theme-dark .kc-ty16-focus em{color:#a5b7b0;}body.theme-dark .kc-ty16-result{background:rgba(82,107,135,.12);color:#aebdce;}
@media(max-width:520px){.kc-ty16-slider{margin-top:60px!important;}.kc-ty16-slider button{font-size:8.5px;}.kc-ty16-item{height:49px;}.kc-ty16-item b{font-size:10.5px;}.kc-ty16-item small{font-size:7.5px;}.kc-ty16-focus{padding:9px 11px;}}
/* 太乙格局 */
.kc-tygp-card{--kc-card-accent:#8a5f4b;--kc-card-soft:rgba(138,95,75,.10);}.kc-tygp-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tygp-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(138,95,75,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tygp-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#8a5f4b;transition:transform .22s ease;}.kc-tygp-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#897970;font-size:9px;font-weight:800;cursor:pointer;}.kc-tygp-slider button.on{color:#fff;}
.kc-tygp-body{max-width:520px;margin:10px auto 0;}.kc-tygp-grid{display:grid;gap:6px;}.kc-tygp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tygp-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--tygp-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--tygp-color,#60746c);cursor:pointer;}.kc-tygp-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-tygp-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-tygp-item[data-el="木"]{--tygp-color:#4e8050;--tygp-soft:rgba(78,128,80,.10);--tygp-line:rgba(78,128,80,.34);}.kc-tygp-item[data-el="火"]{--tygp-color:#c95c4f;--tygp-soft:rgba(201,92,79,.10);--tygp-line:rgba(201,92,79,.34);}.kc-tygp-item[data-el="土"]{--tygp-color:#b88938;--tygp-soft:rgba(184,137,56,.11);--tygp-line:rgba(184,137,56,.36);}.kc-tygp-item[data-el="金"]{--tygp-color:#69748b;--tygp-soft:rgba(105,116,139,.10);--tygp-line:rgba(105,116,139,.34);}.kc-tygp-item[data-el="水"]{--tygp-color:#3f6fab;--tygp-soft:rgba(63,111,171,.10);--tygp-line:rgba(63,111,171,.34);}.kc-tygp-item.on{background:var(--tygp-soft)!important;border-color:var(--tygp-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tygp-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--tygp-color,#8a5f4b);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tygp-focus b{display:block;color:var(--tygp-color,#8a5f4b);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tygp-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tygp-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tygp-focus[data-el="木"]{--tygp-color:#4e8050;}.kc-tygp-focus[data-el="火"]{--tygp-color:#c95c4f;}.kc-tygp-focus[data-el="土"]{--tygp-color:#b88938;}.kc-tygp-focus[data-el="金"]{--tygp-color:#69748b;}.kc-tygp-focus[data-el="水"]{--tygp-color:#3f6fab;}.kc-tygp-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #8a5f4b;border-radius:0 10px 10px 0;background:rgba(138,95,75,.07);color:#806858;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-tygp-slider,body.theme-dark .kc-tygp-item,body.theme-dark .kc-tygp-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tygp-focus span,body.theme-dark .kc-tygp-focus em{color:#a5b7b0;}body.theme-dark .kc-tygp-result{background:rgba(138,95,75,.12);color:#c5afa3;}
@media(max-width:520px){.kc-tygp-slider{margin-top:60px!important;}.kc-tygp-slider button{font-size:8px;}.kc-tygp-item{height:50px;}.kc-tygp-focus{padding:9px 11px;}}
/* 太乙四计 */
.kc-ty4-card{--kc-card-accent:#4f7b7b;--kc-card-soft:rgba(79,123,123,.10);}.kc-ty4-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ty4-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(79,123,123,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ty4-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#4f7b7b;transition:transform .22s ease;}.kc-ty4-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#718384;font-size:9px;font-weight:800;cursor:pointer;}.kc-ty4-slider button.on{color:#fff;}
.kc-ty4-body{max-width:520px;margin:10px auto 0;}.kc-ty4-grid{display:grid;gap:6px;}.kc-ty4-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ty4-grid.four{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-ty4-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ty4-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ty4-color,#60746c);cursor:pointer;}.kc-ty4-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ty4-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-ty4-item[data-el="木"]{--ty4-color:#4e8050;--ty4-soft:rgba(78,128,80,.10);--ty4-line:rgba(78,128,80,.34);}.kc-ty4-item[data-el="火"]{--ty4-color:#c95c4f;--ty4-soft:rgba(201,92,79,.10);--ty4-line:rgba(201,92,79,.34);}.kc-ty4-item[data-el="土"]{--ty4-color:#b88938;--ty4-soft:rgba(184,137,56,.11);--ty4-line:rgba(184,137,56,.36);}.kc-ty4-item[data-el="金"]{--ty4-color:#69748b;--ty4-soft:rgba(105,116,139,.10);--ty4-line:rgba(105,116,139,.34);}.kc-ty4-item[data-el="水"]{--ty4-color:#3f6fab;--ty4-soft:rgba(63,111,171,.10);--ty4-line:rgba(63,111,171,.34);}.kc-ty4-item.on{background:var(--ty4-soft)!important;border-color:var(--ty4-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ty4-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ty4-color,#4f7b7b);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ty4-focus b{display:block;color:var(--ty4-color,#4f7b7b);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ty4-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ty4-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ty4-focus[data-el="木"]{--ty4-color:#4e8050;}.kc-ty4-focus[data-el="火"]{--ty4-color:#c95c4f;}.kc-ty4-focus[data-el="土"]{--ty4-color:#b88938;}.kc-ty4-focus[data-el="金"]{--ty4-color:#69748b;}.kc-ty4-focus[data-el="水"]{--ty4-color:#3f6fab;}.kc-ty4-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #4f7b7b;border-radius:0 10px 10px 0;background:rgba(79,123,123,.07);color:#577878;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ty4-slider,body.theme-dark .kc-ty4-item,body.theme-dark .kc-ty4-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ty4-focus span,body.theme-dark .kc-ty4-focus em{color:#a5b7b0;}body.theme-dark .kc-ty4-result{background:rgba(79,123,123,.12);color:#aec6c6;}
@media(max-width:520px){.kc-ty4-slider{margin-top:60px!important;}.kc-ty4-slider button{font-size:8px;}.kc-ty4-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ty4-item{height:50px;}.kc-ty4-focus{padding:9px 11px;}}
/* 三式总览 */
.kc-3s-card{--kc-card-accent:#765f4f;--kc-card-soft:rgba(118,95,79,.10);}.kc-3s-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#4e8050 0 33%,#b88938 33% 66%,#3f6fab 66%);pointer-events:none;}
.kc-3s-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(118,95,79,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-3s-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#765f4f;transition:transform .22s ease;}.kc-3s-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#887b72;font-size:9px;font-weight:800;cursor:pointer;}.kc-3s-slider button.on{color:#fff;}
.kc-3s-body{max-width:520px;margin:10px auto 0;}.kc-3s-grid{display:grid;gap:6px;}.kc-3s-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-3s-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--s3s-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--s3s-color,#60746c);cursor:pointer;}.kc-3s-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-3s-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-3s-item[data-el="木"]{--s3s-color:#4e8050;--s3s-soft:rgba(78,128,80,.10);--s3s-line:rgba(78,128,80,.34);}.kc-3s-item[data-el="火"]{--s3s-color:#c95c4f;--s3s-soft:rgba(201,92,79,.10);--s3s-line:rgba(201,92,79,.34);}.kc-3s-item[data-el="土"]{--s3s-color:#b88938;--s3s-soft:rgba(184,137,56,.11);--s3s-line:rgba(184,137,56,.36);}.kc-3s-item[data-el="金"]{--s3s-color:#69748b;--s3s-soft:rgba(105,116,139,.10);--s3s-line:rgba(105,116,139,.34);}.kc-3s-item[data-el="水"]{--s3s-color:#3f6fab;--s3s-soft:rgba(63,111,171,.10);--s3s-line:rgba(63,111,171,.34);}.kc-3s-item.on{background:var(--s3s-soft)!important;border-color:var(--s3s-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-3s-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--s3s-color,#765f4f);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-3s-focus b{display:block;color:var(--s3s-color,#765f4f);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-3s-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-3s-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-3s-focus[data-el="木"]{--s3s-color:#4e8050;}.kc-3s-focus[data-el="火"]{--s3s-color:#c95c4f;}.kc-3s-focus[data-el="土"]{--s3s-color:#b88938;}.kc-3s-focus[data-el="金"]{--s3s-color:#69748b;}.kc-3s-focus[data-el="水"]{--s3s-color:#3f6fab;}.kc-3s-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #765f4f;border-radius:0 10px 10px 0;background:rgba(118,95,79,.07);color:#7b6658;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-3s-slider,body.theme-dark .kc-3s-item,body.theme-dark .kc-3s-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-3s-focus span,body.theme-dark .kc-3s-focus em{color:#a5b7b0;}body.theme-dark .kc-3s-result{background:rgba(118,95,79,.12);color:#c6b4a8;}
@media(max-width:520px){.kc-3s-slider{margin-top:60px!important;}.kc-3s-slider button{font-size:8px;}.kc-3s-item{height:52px;}.kc-3s-focus{padding:9px 11px;}}
/* 奇门三元与定局 */
.kc-qmsy-card{--kc-card-accent:#6f7f4f;--kc-card-soft:rgba(111,127,79,.10);}.kc-qmsy-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmsy-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(111,127,79,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmsy-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6f7f4f;transition:transform .22s ease;}.kc-qmsy-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#7e8570;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmsy-slider button.on{color:#fff;}
.kc-qmsy-body{max-width:520px;margin:10px auto 0;}.kc-qmsy-grid{display:grid;gap:6px;}.kc-qmsy-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmsy-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-qmsy-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmsy-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmsy-color,#60746c);cursor:pointer;}.kc-qmsy-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmsy-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmsy-item[data-el="木"]{--qmsy-color:#4e8050;--qmsy-soft:rgba(78,128,80,.10);--qmsy-line:rgba(78,128,80,.34);}.kc-qmsy-item[data-el="火"]{--qmsy-color:#c95c4f;--qmsy-soft:rgba(201,92,79,.10);--qmsy-line:rgba(201,92,79,.34);}.kc-qmsy-item[data-el="土"]{--qmsy-color:#b88938;--qmsy-soft:rgba(184,137,56,.11);--qmsy-line:rgba(184,137,56,.36);}.kc-qmsy-item[data-el="金"]{--qmsy-color:#69748b;--qmsy-soft:rgba(105,116,139,.10);--qmsy-line:rgba(105,116,139,.34);}.kc-qmsy-item[data-el="水"]{--qmsy-color:#3f6fab;--qmsy-soft:rgba(63,111,171,.10);--qmsy-line:rgba(63,111,171,.34);}.kc-qmsy-item.on{background:var(--qmsy-soft)!important;border-color:var(--qmsy-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmsy-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmsy-color,#6f7f4f);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmsy-focus b{display:block;color:var(--qmsy-color,#6f7f4f);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmsy-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmsy-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmsy-focus[data-el="木"]{--qmsy-color:#4e8050;}.kc-qmsy-focus[data-el="火"]{--qmsy-color:#c95c4f;}.kc-qmsy-focus[data-el="土"]{--qmsy-color:#b88938;}.kc-qmsy-focus[data-el="金"]{--qmsy-color:#69748b;}.kc-qmsy-focus[data-el="水"]{--qmsy-color:#3f6fab;}.kc-qmsy-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6f7f4f;border-radius:0 10px 10px 0;background:rgba(111,127,79,.07);color:#6d7958;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmsy-slider,body.theme-dark .kc-qmsy-item,body.theme-dark .kc-qmsy-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmsy-focus span,body.theme-dark .kc-qmsy-focus em{color:#a5b7b0;}body.theme-dark .kc-qmsy-result{background:rgba(111,127,79,.12);color:#bdc8ac;}
@media(max-width:520px){.kc-qmsy-slider{margin-top:60px!important;}.kc-qmsy-slider button{font-size:8px;}.kc-qmsy-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmsy-item{height:50px;}.kc-qmsy-focus{padding:9px 11px;}}
/* 奇门天地人神四盘 */
.kc-qmsp-card{--kc-card-accent:#4f7089;--kc-card-soft:rgba(79,112,137,.10);}.kc-qmsp-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmsp-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(79,112,137,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmsp-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#4f7089;transition:transform .22s ease;}.kc-qmsp-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#73808a;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmsp-slider button.on{color:#fff;}
.kc-qmsp-body{max-width:520px;margin:10px auto 0;}.kc-qmsp-grid{display:grid;gap:6px;}.kc-qmsp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmsp-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmsp-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmsp-color,#60746c);cursor:pointer;}.kc-qmsp-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmsp-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmsp-item[data-el="木"]{--qmsp-color:#4e8050;--qmsp-soft:rgba(78,128,80,.10);--qmsp-line:rgba(78,128,80,.34);}.kc-qmsp-item[data-el="火"]{--qmsp-color:#c95c4f;--qmsp-soft:rgba(201,92,79,.10);--qmsp-line:rgba(201,92,79,.34);}.kc-qmsp-item[data-el="土"]{--qmsp-color:#b88938;--qmsp-soft:rgba(184,137,56,.11);--qmsp-line:rgba(184,137,56,.36);}.kc-qmsp-item[data-el="金"]{--qmsp-color:#69748b;--qmsp-soft:rgba(105,116,139,.10);--qmsp-line:rgba(105,116,139,.34);}.kc-qmsp-item[data-el="水"]{--qmsp-color:#3f6fab;--qmsp-soft:rgba(63,111,171,.10);--qmsp-line:rgba(63,111,171,.34);}.kc-qmsp-item.on{background:var(--qmsp-soft)!important;border-color:var(--qmsp-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmsp-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmsp-color,#4f7089);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmsp-focus b{display:block;color:var(--qmsp-color,#4f7089);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmsp-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmsp-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmsp-focus[data-el="木"]{--qmsp-color:#4e8050;}.kc-qmsp-focus[data-el="火"]{--qmsp-color:#c95c4f;}.kc-qmsp-focus[data-el="土"]{--qmsp-color:#b88938;}.kc-qmsp-focus[data-el="金"]{--qmsp-color:#69748b;}.kc-qmsp-focus[data-el="水"]{--qmsp-color:#3f6fab;}.kc-qmsp-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #4f7089;border-radius:0 10px 10px 0;background:rgba(79,112,137,.07);color:#5b7284;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmsp-slider,body.theme-dark .kc-qmsp-item,body.theme-dark .kc-qmsp-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmsp-focus span,body.theme-dark .kc-qmsp-focus em{color:#a5b7b0;}body.theme-dark .kc-qmsp-result{background:rgba(79,112,137,.12);color:#aebfcf;}
@media(max-width:520px){.kc-qmsp-slider{margin-top:60px!important;}.kc-qmsp-slider button{font-size:8px;}.kc-qmsp-item{height:52px;}.kc-qmsp-focus{padding:9px 11px;}}
/* 奇门八门旺衰与门迫 */
.kc-qmbm-card{--kc-card-accent:#7d6947;--kc-card-soft:rgba(125,105,71,.10);}.kc-qmbm-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmbm-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(125,105,71,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmbm-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#7d6947;transition:transform .22s ease;}.kc-qmbm-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#887c68;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmbm-slider button.on{color:#fff;}
.kc-qmbm-body{max-width:520px;margin:10px auto 0;}.kc-qmbm-grid{display:grid;gap:6px;}.kc-qmbm-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmbm-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmbm-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmbm-color,#60746c);cursor:pointer;}.kc-qmbm-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmbm-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmbm-item[data-el="木"]{--qmbm-color:#4e8050;--qmbm-soft:rgba(78,128,80,.10);--qmbm-line:rgba(78,128,80,.34);}.kc-qmbm-item[data-el="火"]{--qmbm-color:#c95c4f;--qmbm-soft:rgba(201,92,79,.10);--qmbm-line:rgba(201,92,79,.34);}.kc-qmbm-item[data-el="土"]{--qmbm-color:#b88938;--qmbm-soft:rgba(184,137,56,.11);--qmbm-line:rgba(184,137,56,.36);}.kc-qmbm-item[data-el="金"]{--qmbm-color:#69748b;--qmbm-soft:rgba(105,116,139,.10);--qmbm-line:rgba(105,116,139,.34);}.kc-qmbm-item[data-el="水"]{--qmbm-color:#3f6fab;--qmbm-soft:rgba(63,111,171,.10);--qmbm-line:rgba(63,111,171,.34);}.kc-qmbm-item.on{background:var(--qmbm-soft)!important;border-color:var(--qmbm-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmbm-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmbm-color,#7d6947);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmbm-focus b{display:block;color:var(--qmbm-color,#7d6947);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmbm-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmbm-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmbm-focus[data-el="木"]{--qmbm-color:#4e8050;}.kc-qmbm-focus[data-el="火"]{--qmbm-color:#c95c4f;}.kc-qmbm-focus[data-el="土"]{--qmbm-color:#b88938;}.kc-qmbm-focus[data-el="金"]{--qmbm-color:#69748b;}.kc-qmbm-focus[data-el="水"]{--qmbm-color:#3f6fab;}.kc-qmbm-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #7d6947;border-radius:0 10px 10px 0;background:rgba(125,105,71,.07);color:#7c6951;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmbm-slider,body.theme-dark .kc-qmbm-item,body.theme-dark .kc-qmbm-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmbm-focus span,body.theme-dark .kc-qmbm-focus em{color:#a5b7b0;}body.theme-dark .kc-qmbm-result{background:rgba(125,105,71,.12);color:#c9bba3;}
@media(max-width:520px){.kc-qmbm-slider{margin-top:60px!important;}.kc-qmbm-slider button{font-size:8px;}.kc-qmbm-item{height:52px;}.kc-qmbm-focus{padding:9px 11px;}}
/* 奇门九星旺衰与组合 */
.kc-qmjx-card{--kc-card-accent:#63718c;--kc-card-soft:rgba(99,113,140,.10);}.kc-qmjx-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmjx-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(99,113,140,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmjx-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#63718c;transition:transform .22s ease;}.kc-qmjx-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#788294;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmjx-slider button.on{color:#fff;}
.kc-qmjx-body{max-width:520px;margin:10px auto 0;}.kc-qmjx-grid{display:grid;gap:6px;}.kc-qmjx-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmjx-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-qmjx-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmjx-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmjx-color,#60746c);cursor:pointer;}.kc-qmjx-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmjx-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmjx-item[data-el="木"]{--qmjx-color:#4e8050;--qmjx-soft:rgba(78,128,80,.10);--qmjx-line:rgba(78,128,80,.34);}.kc-qmjx-item[data-el="火"]{--qmjx-color:#c95c4f;--qmjx-soft:rgba(201,92,79,.10);--qmjx-line:rgba(201,92,79,.34);}.kc-qmjx-item[data-el="土"]{--qmjx-color:#b88938;--qmjx-soft:rgba(184,137,56,.11);--qmjx-line:rgba(184,137,56,.36);}.kc-qmjx-item[data-el="金"]{--qmjx-color:#69748b;--qmjx-soft:rgba(105,116,139,.10);--qmjx-line:rgba(105,116,139,.34);}.kc-qmjx-item[data-el="水"]{--qmjx-color:#3f6fab;--qmjx-soft:rgba(63,111,171,.10);--qmjx-line:rgba(63,111,171,.34);}.kc-qmjx-item.on{background:var(--qmjx-soft)!important;border-color:var(--qmjx-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmjx-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmjx-color,#63718c);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmjx-focus b{display:block;color:var(--qmjx-color,#63718c);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmjx-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmjx-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmjx-focus[data-el="木"]{--qmjx-color:#4e8050;}.kc-qmjx-focus[data-el="火"]{--qmjx-color:#c95c4f;}.kc-qmjx-focus[data-el="土"]{--qmjx-color:#b88938;}.kc-qmjx-focus[data-el="金"]{--qmjx-color:#69748b;}.kc-qmjx-focus[data-el="水"]{--qmjx-color:#3f6fab;}.kc-qmjx-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #63718c;border-radius:0 10px 10px 0;background:rgba(99,113,140,.07);color:#647086;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmjx-slider,body.theme-dark .kc-qmjx-item,body.theme-dark .kc-qmjx-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmjx-focus span,body.theme-dark .kc-qmjx-focus em{color:#a5b7b0;}body.theme-dark .kc-qmjx-result{background:rgba(99,113,140,.12);color:#b4bfd0;}
@media(max-width:520px){.kc-qmjx-slider{margin-top:60px!important;}.kc-qmjx-slider button{font-size:8px;}.kc-qmjx-item{height:52px;}.kc-qmjx-item b{font-size:11px;}.kc-qmjx-item small{font-size:7.5px;}.kc-qmjx-focus{padding:9px 11px;}}
/* 奇门八神九神体系 */
.kc-qmshen-card{--kc-card-accent:#5f6f89;--kc-card-soft:rgba(95,111,137,.10);}.kc-qmshen-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmshen-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(95,111,137,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmshen-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#5f6f89;transition:transform .22s ease;}.kc-qmshen-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#778090;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmshen-slider button.on{color:#fff;}
.kc-qmshen-body{max-width:520px;margin:10px auto 0;}.kc-qmshen-grid{display:grid;gap:6px;}.kc-qmshen-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmshen-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-qmshen-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmshen-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmshen-color,#60746c);cursor:pointer;}.kc-qmshen-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmshen-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmshen-item[data-el="木"]{--qmshen-color:#4e8050;--qmshen-soft:rgba(78,128,80,.10);--qmshen-line:rgba(78,128,80,.34);}.kc-qmshen-item[data-el="火"]{--qmshen-color:#c95c4f;--qmshen-soft:rgba(201,92,79,.10);--qmshen-line:rgba(201,92,79,.34);}.kc-qmshen-item[data-el="土"]{--qmshen-color:#b88938;--qmshen-soft:rgba(184,137,56,.11);--qmshen-line:rgba(184,137,56,.36);}.kc-qmshen-item[data-el="金"]{--qmshen-color:#69748b;--qmshen-soft:rgba(105,116,139,.10);--qmshen-line:rgba(105,116,139,.34);}.kc-qmshen-item[data-el="水"]{--qmshen-color:#3f6fab;--qmshen-soft:rgba(63,111,171,.10);--qmshen-line:rgba(63,111,171,.34);}.kc-qmshen-item.on{background:var(--qmshen-soft)!important;border-color:var(--qmshen-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmshen-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmshen-color,#5f6f89);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmshen-focus b{display:block;color:var(--qmshen-color,#5f6f89);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmshen-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmshen-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmshen-focus[data-el="木"]{--qmshen-color:#4e8050;}.kc-qmshen-focus[data-el="火"]{--qmshen-color:#c95c4f;}.kc-qmshen-focus[data-el="土"]{--qmshen-color:#b88938;}.kc-qmshen-focus[data-el="金"]{--qmshen-color:#69748b;}.kc-qmshen-focus[data-el="水"]{--qmshen-color:#3f6fab;}.kc-qmshen-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #5f6f89;border-radius:0 10px 10px 0;background:rgba(95,111,137,.07);color:#627088;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmshen-slider,body.theme-dark .kc-qmshen-item,body.theme-dark .kc-qmshen-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmshen-focus span,body.theme-dark .kc-qmshen-focus em{color:#a5b7b0;}body.theme-dark .kc-qmshen-result{background:rgba(95,111,137,.12);color:#b2bece;}
@media(max-width:520px){.kc-qmshen-slider{margin-top:60px!important;}.kc-qmshen-slider button{font-size:8px;}.kc-qmshen-item{height:52px;}.kc-qmshen-item b{font-size:11px;}.kc-qmshen-item small{font-size:7.5px;}.kc-qmshen-focus{padding:9px 11px;}}
/* 奇门用神 */
.kc-qmys-card{--kc-card-accent:#536c7a;--kc-card-soft:rgba(83,108,122,.10);}.kc-qmys-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmys-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(83,108,122,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmys-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#536c7a;transition:transform .22s ease;}.kc-qmys-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#75838c;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmys-slider button.on{color:#fff;}
.kc-qmys-body{max-width:520px;margin:10px auto 0;}.kc-qmys-grid{display:grid;gap:6px;}.kc-qmys-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmys-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmys-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmys-color,#60746c);cursor:pointer;}.kc-qmys-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmys-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmys-item[data-el="木"]{--qmys-color:#4e8050;--qmys-soft:rgba(78,128,80,.10);--qmys-line:rgba(78,128,80,.34);}.kc-qmys-item[data-el="火"]{--qmys-color:#c95c4f;--qmys-soft:rgba(201,92,79,.10);--qmys-line:rgba(201,92,79,.34);}.kc-qmys-item[data-el="土"]{--qmys-color:#b88938;--qmys-soft:rgba(184,137,56,.11);--qmys-line:rgba(184,137,56,.36);}.kc-qmys-item[data-el="金"]{--qmys-color:#69748b;--qmys-soft:rgba(105,116,139,.10);--qmys-line:rgba(105,116,139,.34);}.kc-qmys-item[data-el="水"]{--qmys-color:#3f6fab;--qmys-soft:rgba(63,111,171,.10);--qmys-line:rgba(63,111,171,.34);}.kc-qmys-item.on{background:var(--qmys-soft)!important;border-color:var(--qmys-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmys-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmys-color,#536c7a);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmys-focus b{display:block;color:var(--qmys-color,#536c7a);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmys-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmys-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmys-focus[data-el="木"]{--qmys-color:#4e8050;}.kc-qmys-focus[data-el="火"]{--qmys-color:#c95c4f;}.kc-qmys-focus[data-el="土"]{--qmys-color:#b88938;}.kc-qmys-focus[data-el="金"]{--qmys-color:#69748b;}.kc-qmys-focus[data-el="水"]{--qmys-color:#3f6fab;}.kc-qmys-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #536c7a;border-radius:0 10px 10px 0;background:rgba(83,108,122,.07);color:#5d727e;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmys-slider,body.theme-dark .kc-qmys-item,body.theme-dark .kc-qmys-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmys-focus span,body.theme-dark .kc-qmys-focus em{color:#a5b7b0;}body.theme-dark .kc-qmys-result{background:rgba(83,108,122,.12);color:#afc0c8;}
@media(max-width:520px){.kc-qmys-slider{margin-top:60px!important;}.kc-qmys-slider button{font-size:8px;}.kc-qmys-item{height:52px;}.kc-qmys-focus{padding:9px 11px;}}
/* 奇门旺衰与应期 */
.kc-qmws-card{--kc-card-accent:#6e6755;--kc-card-soft:rgba(110,103,85,.10);}.kc-qmws-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmws-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(110,103,85,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmws-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6e6755;transition:transform .22s ease;}.kc-qmws-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#807b6e;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmws-slider button.on{color:#fff;}
.kc-qmws-body{max-width:520px;margin:10px auto 0;}.kc-qmws-grid{display:grid;gap:6px;}.kc-qmws-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmws-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmws-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmws-color,#60746c);cursor:pointer;}.kc-qmws-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmws-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-qmws-item[data-el="木"]{--qmws-color:#4e8050;--qmws-soft:rgba(78,128,80,.10);--qmws-line:rgba(78,128,80,.34);}.kc-qmws-item[data-el="火"]{--qmws-color:#c95c4f;--qmws-soft:rgba(201,92,79,.10);--qmws-line:rgba(201,92,79,.34);}.kc-qmws-item[data-el="土"]{--qmws-color:#b88938;--qmws-soft:rgba(184,137,56,.11);--qmws-line:rgba(184,137,56,.36);}.kc-qmws-item[data-el="金"]{--qmws-color:#69748b;--qmws-soft:rgba(105,116,139,.10);--qmws-line:rgba(105,116,139,.34);}.kc-qmws-item[data-el="水"]{--qmws-color:#3f6fab;--qmws-soft:rgba(63,111,171,.10);--qmws-line:rgba(63,111,171,.34);}.kc-qmws-item.on{background:var(--qmws-soft)!important;border-color:var(--qmws-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmws-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmws-color,#6e6755);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmws-focus b{display:block;color:var(--qmws-color,#6e6755);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmws-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmws-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmws-focus[data-el="木"]{--qmws-color:#4e8050;}.kc-qmws-focus[data-el="火"]{--qmws-color:#c95c4f;}.kc-qmws-focus[data-el="土"]{--qmws-color:#b88938;}.kc-qmws-focus[data-el="金"]{--qmws-color:#69748b;}.kc-qmws-focus[data-el="水"]{--qmws-color:#3f6fab;}.kc-qmws-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6e6755;border-radius:0 10px 10px 0;background:rgba(110,103,85,.07);color:#756d59;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmws-slider,body.theme-dark .kc-qmws-item,body.theme-dark .kc-qmws-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmws-focus span,body.theme-dark .kc-qmws-focus em{color:#a5b7b0;}body.theme-dark .kc-qmws-result{background:rgba(110,103,85,.12);color:#c5bfae;}
@media(max-width:520px){.kc-qmws-slider{margin-top:60px!important;}.kc-qmws-slider button{font-size:8px;}.kc-qmws-item{height:50px;}.kc-qmws-focus{padding:9px 11px;}}
/* 奇门排盘实战 */
.kc-qmps-card{--kc-card-accent:#596f6a;--kc-card-soft:rgba(89,111,106,.10);}.kc-qmps-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-qmps-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(89,111,106,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-qmps-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#596f6a;transition:transform .22s ease;}.kc-qmps-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#778682;font-size:9px;font-weight:800;cursor:pointer;}.kc-qmps-slider button.on{color:#fff;}
.kc-qmps-body{max-width:520px;margin:10px auto 0;}.kc-qmps-grid{display:grid;gap:6px;}.kc-qmps-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-qmps-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--qmps-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--qmps-color,#60746c);cursor:pointer;}.kc-qmps-item b{font:900 11px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-qmps-item small{font-size:7.8px;color:#8d9b93;text-align:center;}.kc-qmps-item[data-el="木"]{--qmps-color:#4e8050;--qmps-soft:rgba(78,128,80,.10);--qmps-line:rgba(78,128,80,.34);}.kc-qmps-item[data-el="火"]{--qmps-color:#c95c4f;--qmps-soft:rgba(201,92,79,.10);--qmps-line:rgba(201,92,79,.34);}.kc-qmps-item[data-el="土"]{--qmps-color:#b88938;--qmps-soft:rgba(184,137,56,.11);--qmps-line:rgba(184,137,56,.36);}.kc-qmps-item[data-el="金"]{--qmps-color:#69748b;--qmps-soft:rgba(105,116,139,.10);--qmps-line:rgba(105,116,139,.34);}.kc-qmps-item[data-el="水"]{--qmps-color:#3f6fab;--qmps-soft:rgba(63,111,171,.10);--qmps-line:rgba(63,111,171,.34);}.kc-qmps-item.on{background:var(--qmps-soft)!important;border-color:var(--qmps-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-qmps-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--qmps-color,#596f6a);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-qmps-focus b{display:block;color:var(--qmps-color,#596f6a);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-qmps-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-qmps-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-qmps-focus[data-el="木"]{--qmps-color:#4e8050;}.kc-qmps-focus[data-el="火"]{--qmps-color:#c95c4f;}.kc-qmps-focus[data-el="土"]{--qmps-color:#b88938;}.kc-qmps-focus[data-el="金"]{--qmps-color:#69748b;}.kc-qmps-focus[data-el="水"]{--qmps-color:#3f6fab;}.kc-qmps-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #596f6a;border-radius:0 10px 10px 0;background:rgba(89,111,106,.07);color:#627873;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-qmps-slider,body.theme-dark .kc-qmps-item,body.theme-dark .kc-qmps-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-qmps-focus span,body.theme-dark .kc-qmps-focus em{color:#a5b7b0;}body.theme-dark .kc-qmps-result{background:rgba(89,111,106,.12);color:#b5c6c2;}
@media(max-width:520px){.kc-qmps-slider{margin-top:60px!important;}.kc-qmps-slider button{font-size:8px;}.kc-qmps-item{height:50px;}.kc-qmps-item b{font-size:10.5px;}.kc-qmps-item small{font-size:7.4px;}.kc-qmps-focus{padding:9px 11px;}}
/* 太乙积年与纪元 */
.kc-tyjn-card{--kc-card-accent:#6b6b52;--kc-card-soft:rgba(107,107,82,.10);}.kc-tyjn-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tyjn-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(107,107,82,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tyjn-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6b6b52;transition:transform .22s ease;}.kc-tyjn-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#807f6e;font-size:9px;font-weight:800;cursor:pointer;}.kc-tyjn-slider button.on{color:#fff;}
.kc-tyjn-body{max-width:520px;margin:10px auto 0;}.kc-tyjn-grid{display:grid;gap:6px;}.kc-tyjn-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tyjn-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--tyjn-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--tyjn-color,#60746c);cursor:pointer;}.kc-tyjn-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-tyjn-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-tyjn-item[data-el="木"]{--tyjn-color:#4e8050;--tyjn-soft:rgba(78,128,80,.10);--tyjn-line:rgba(78,128,80,.34);}.kc-tyjn-item[data-el="火"]{--tyjn-color:#c95c4f;--tyjn-soft:rgba(201,92,79,.10);--tyjn-line:rgba(201,92,79,.34);}.kc-tyjn-item[data-el="土"]{--tyjn-color:#b88938;--tyjn-soft:rgba(184,137,56,.11);--tyjn-line:rgba(184,137,56,.36);}.kc-tyjn-item[data-el="金"]{--tyjn-color:#69748b;--tyjn-soft:rgba(105,116,139,.10);--tyjn-line:rgba(105,116,139,.34);}.kc-tyjn-item[data-el="水"]{--tyjn-color:#3f6fab;--tyjn-soft:rgba(63,111,171,.10);--tyjn-line:rgba(63,111,171,.34);}.kc-tyjn-item.on{background:var(--tyjn-soft)!important;border-color:var(--tyjn-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tyjn-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--tyjn-color,#6b6b52);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tyjn-focus b{display:block;color:var(--tyjn-color,#6b6b52);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tyjn-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tyjn-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tyjn-focus[data-el="木"]{--tyjn-color:#4e8050;}.kc-tyjn-focus[data-el="火"]{--tyjn-color:#c95c4f;}.kc-tyjn-focus[data-el="土"]{--tyjn-color:#b88938;}.kc-tyjn-focus[data-el="金"]{--tyjn-color:#69748b;}.kc-tyjn-focus[data-el="水"]{--tyjn-color:#3f6fab;}.kc-tyjn-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6b6b52;border-radius:0 10px 10px 0;background:rgba(107,107,82,.07);color:#72715b;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-tyjn-slider,body.theme-dark .kc-tyjn-item,body.theme-dark .kc-tyjn-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tyjn-focus span,body.theme-dark .kc-tyjn-focus em{color:#a5b7b0;}body.theme-dark .kc-tyjn-result{background:rgba(107,107,82,.12);color:#c0c0ab;}
@media(max-width:520px){.kc-tyjn-slider{margin-top:60px!important;}.kc-tyjn-slider button{font-size:7.6px;}.kc-tyjn-item{height:52px;}.kc-tyjn-focus{padding:9px 11px;}}
/* 太乙数理与应期 */
.kc-tysl-card{--kc-card-accent:#71664d;--kc-card-soft:rgba(113,102,77,.10);}.kc-tysl-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tysl-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(113,102,77,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tysl-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#71664d;transition:transform .22s ease;}.kc-tysl-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#837b69;font-size:9px;font-weight:800;cursor:pointer;}.kc-tysl-slider button.on{color:#fff;}
.kc-tysl-body{max-width:520px;margin:10px auto 0;}.kc-tysl-grid{display:grid;gap:6px;}.kc-tysl-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tysl-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--tysl-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--tysl-color,#60746c);cursor:pointer;}.kc-tysl-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-tysl-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-tysl-item[data-el="木"]{--tysl-color:#4e8050;--tysl-soft:rgba(78,128,80,.10);--tysl-line:rgba(78,128,80,.34);}.kc-tysl-item[data-el="火"]{--tysl-color:#c95c4f;--tysl-soft:rgba(201,92,79,.10);--tysl-line:rgba(201,92,79,.34);}.kc-tysl-item[data-el="土"]{--tysl-color:#b88938;--tysl-soft:rgba(184,137,56,.11);--tysl-line:rgba(184,137,56,.36);}.kc-tysl-item[data-el="金"]{--tysl-color:#69748b;--tysl-soft:rgba(105,116,139,.10);--tysl-line:rgba(105,116,139,.34);}.kc-tysl-item[data-el="水"]{--tysl-color:#3f6fab;--tysl-soft:rgba(63,111,171,.10);--tysl-line:rgba(63,111,171,.34);}.kc-tysl-item.on{background:var(--tysl-soft)!important;border-color:var(--tysl-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tysl-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--tysl-color,#71664d);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tysl-focus b{display:block;color:var(--tysl-color,#71664d);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tysl-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tysl-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tysl-focus[data-el="木"]{--tysl-color:#4e8050;}.kc-tysl-focus[data-el="火"]{--tysl-color:#c95c4f;}.kc-tysl-focus[data-el="土"]{--tysl-color:#b88938;}.kc-tysl-focus[data-el="金"]{--tysl-color:#69748b;}.kc-tysl-focus[data-el="水"]{--tysl-color:#3f6fab;}.kc-tysl-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #71664d;border-radius:0 10px 10px 0;background:rgba(113,102,77,.07);color:#786e58;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-tysl-slider,body.theme-dark .kc-tysl-item,body.theme-dark .kc-tysl-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tysl-focus span,body.theme-dark .kc-tysl-focus em{color:#a5b7b0;}body.theme-dark .kc-tysl-result{background:rgba(113,102,77,.12);color:#c7bea6;}
@media(max-width:520px){.kc-tysl-slider{margin-top:60px!important;}.kc-tysl-slider button{font-size:7.7px;}.kc-tysl-item{height:52px;}.kc-tysl-focus{padding:9px 11px;}}
/* 太乙排盘实战 */
.kc-typs-card{--kc-card-accent:#666f60;--kc-card-soft:rgba(102,111,96,.10);}.kc-typs-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-typs-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(102,111,96,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-typs-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#666f60;transition:transform .22s ease;}.kc-typs-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#7d8477;font-size:9px;font-weight:800;cursor:pointer;}.kc-typs-slider button.on{color:#fff;}
.kc-typs-body{max-width:520px;margin:10px auto 0;}.kc-typs-grid{display:grid;gap:6px;}.kc-typs-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-typs-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--typs-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--typs-color,#60746c);cursor:pointer;}.kc-typs-item b{font:900 11px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-typs-item small{font-size:7.8px;color:#8d9b93;text-align:center;}.kc-typs-item[data-el="木"]{--typs-color:#4e8050;--typs-soft:rgba(78,128,80,.10);--typs-line:rgba(78,128,80,.34);}.kc-typs-item[data-el="火"]{--typs-color:#c95c4f;--typs-soft:rgba(201,92,79,.10);--typs-line:rgba(201,92,79,.34);}.kc-typs-item[data-el="土"]{--typs-color:#b88938;--typs-soft:rgba(184,137,56,.11);--typs-line:rgba(184,137,56,.36);}.kc-typs-item[data-el="金"]{--typs-color:#69748b;--typs-soft:rgba(105,116,139,.10);--typs-line:rgba(105,116,139,.34);}.kc-typs-item[data-el="水"]{--typs-color:#3f6fab;--typs-soft:rgba(63,111,171,.10);--typs-line:rgba(63,111,171,.34);}.kc-typs-item.on{background:var(--typs-soft)!important;border-color:var(--typs-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-typs-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--typs-color,#666f60);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-typs-focus b{display:block;color:var(--typs-color,#666f60);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-typs-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-typs-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-typs-focus[data-el="木"]{--typs-color:#4e8050;}.kc-typs-focus[data-el="火"]{--typs-color:#c95c4f;}.kc-typs-focus[data-el="土"]{--typs-color:#b88938;}.kc-typs-focus[data-el="金"]{--typs-color:#69748b;}.kc-typs-focus[data-el="水"]{--typs-color:#3f6fab;}.kc-typs-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #666f60;border-radius:0 10px 10px 0;background:rgba(102,111,96,.07);color:#6d7668;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-typs-slider,body.theme-dark .kc-typs-item,body.theme-dark .kc-typs-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-typs-focus span,body.theme-dark .kc-typs-focus em{color:#a5b7b0;}body.theme-dark .kc-typs-result{background:rgba(102,111,96,.12);color:#bcc5b7;}
@media(max-width:520px){.kc-typs-slider{margin-top:60px!important;}.kc-typs-slider button{font-size:7.6px;}.kc-typs-item{height:50px;}.kc-typs-item b{font-size:10.5px;}.kc-typs-item small{font-size:7.3px;}.kc-typs-focus{padding:9px 11px;}}
/* 六壬十干寄宫 */
.kc-ljjg-card{--kc-card-accent:#64705e;--kc-card-soft:rgba(100,112,94,.10);}.kc-ljjg-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljjg-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(100,112,94,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljjg-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#64705e;transition:transform .22s ease;}.kc-ljjg-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#7e867c;font-size:9px;font-weight:800;cursor:pointer;}.kc-ljjg-slider button.on{color:#fff;}
.kc-ljjg-body{max-width:520px;margin:10px auto 0;}.kc-ljjg-grid{display:grid;gap:6px;}.kc-ljjg-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljjg-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljjg-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljjg-color,#60746c);cursor:pointer;}.kc-ljjg-item b{font:900 12px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljjg-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-ljjg-item[data-el="木"]{--ljjg-color:#4e8050;--ljjg-soft:rgba(78,128,80,.10);--ljjg-line:rgba(78,128,80,.34);}.kc-ljjg-item[data-el="火"]{--ljjg-color:#c95c4f;--ljjg-soft:rgba(201,92,79,.10);--ljjg-line:rgba(201,92,79,.34);}.kc-ljjg-item[data-el="土"]{--ljjg-color:#b88938;--ljjg-soft:rgba(184,137,56,.11);--ljjg-line:rgba(184,137,56,.36);}.kc-ljjg-item[data-el="金"]{--ljjg-color:#69748b;--ljjg-soft:rgba(105,116,139,.10);--ljjg-line:rgba(105,116,139,.34);}.kc-ljjg-item[data-el="水"]{--ljjg-color:#3f6fab;--ljjg-soft:rgba(63,111,171,.10);--ljjg-line:rgba(63,111,171,.34);}.kc-ljjg-item.on{background:var(--ljjg-soft)!important;border-color:var(--ljjg-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljjg-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljjg-color,#64705e);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljjg-focus b{display:block;color:var(--ljjg-color,#64705e);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljjg-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljjg-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljjg-focus[data-el="木"]{--ljjg-color:#4e8050;}.kc-ljjg-focus[data-el="火"]{--ljjg-color:#c95c4f;}.kc-ljjg-focus[data-el="土"]{--ljjg-color:#b88938;}.kc-ljjg-focus[data-el="金"]{--ljjg-color:#69748b;}.kc-ljjg-focus[data-el="水"]{--ljjg-color:#3f6fab;}.kc-ljjg-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #64705e;border-radius:0 10px 10px 0;background:rgba(100,112,94,.07);color:#6b7566;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ljjg-slider,body.theme-dark .kc-ljjg-item,body.theme-dark .kc-ljjg-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljjg-focus span,body.theme-dark .kc-ljjg-focus em{color:#a5b7b0;}body.theme-dark .kc-ljjg-result{background:rgba(100,112,94,.12);color:#bdc7b9;}
@media(max-width:520px){.kc-ljjg-slider{margin-top:60px!important;}.kc-ljjg-slider button{font-size:8px;}.kc-ljjg-item{height:50px;}.kc-ljjg-focus{padding:9px 11px;}}
/* 六壬六亲与类神 */
.kc-ljlq-card{--kc-card-accent:#705f73;--kc-card-soft:rgba(112,95,115,.10);}.kc-ljlq-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljlq-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(112,95,115,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljlq-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#705f73;transition:transform .22s ease;}.kc-ljlq-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#827884;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-ljlq-slider button.on{color:#fff;}
.kc-ljlq-body{max-width:520px;margin:10px auto 0;}.kc-ljlq-grid{display:grid;gap:6px;}.kc-ljlq-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljlq-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljlq-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljlq-color,#60746c);cursor:pointer;}.kc-ljlq-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljlq-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-ljlq-item[data-el="木"]{--ljlq-color:#4e8050;--ljlq-soft:rgba(78,128,80,.10);--ljlq-line:rgba(78,128,80,.34);}.kc-ljlq-item[data-el="火"]{--ljlq-color:#c95c4f;--ljlq-soft:rgba(201,92,79,.10);--ljlq-line:rgba(201,92,79,.34);}.kc-ljlq-item[data-el="土"]{--ljlq-color:#b88938;--ljlq-soft:rgba(184,137,56,.11);--ljlq-line:rgba(184,137,56,.36);}.kc-ljlq-item[data-el="金"]{--ljlq-color:#69748b;--ljlq-soft:rgba(105,116,139,.10);--ljlq-line:rgba(105,116,139,.34);}.kc-ljlq-item[data-el="水"]{--ljlq-color:#3f6fab;--ljlq-soft:rgba(63,111,171,.10);--ljlq-line:rgba(63,111,171,.34);}.kc-ljlq-item.on{background:var(--ljlq-soft)!important;border-color:var(--ljlq-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljlq-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljlq-color,#705f73);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljlq-focus b{display:block;color:var(--ljlq-color,#705f73);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljlq-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljlq-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljlq-focus[data-el="木"]{--ljlq-color:#4e8050;}.kc-ljlq-focus[data-el="火"]{--ljlq-color:#c95c4f;}.kc-ljlq-focus[data-el="土"]{--ljlq-color:#b88938;}.kc-ljlq-focus[data-el="金"]{--ljlq-color:#69748b;}.kc-ljlq-focus[data-el="水"]{--ljlq-color:#3f6fab;}.kc-ljlq-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #705f73;border-radius:0 10px 10px 0;background:rgba(112,95,115,.07);color:#786679;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ljlq-slider,body.theme-dark .kc-ljlq-item,body.theme-dark .kc-ljlq-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljlq-focus span,body.theme-dark .kc-ljlq-focus em{color:#a5b7b0;}body.theme-dark .kc-ljlq-result{background:rgba(112,95,115,.12);color:#c6b7c8;}
@media(max-width:520px){.kc-ljlq-slider{margin-top:60px!important;}.kc-ljlq-slider button{font-size:7.7px;}.kc-ljlq-item{height:52px;}.kc-ljlq-focus{padding:9px 11px;}}
/* 六壬旺衰与空破 */
.kc-ljws-card{--kc-card-accent:#58657a;--kc-card-soft:rgba(88,101,122,.10);}.kc-ljws-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljws-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(88,101,122,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljws-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#58657a;transition:transform .22s ease;}.kc-ljws-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#788393;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-ljws-slider button.on{color:#fff;}
.kc-ljws-body{max-width:520px;margin:10px auto 0;}.kc-ljws-grid{display:grid;gap:6px;}.kc-ljws-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljws-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljws-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljws-color,#60746c);cursor:pointer;}.kc-ljws-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljws-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-ljws-item[data-el="木"]{--ljws-color:#4e8050;--ljws-soft:rgba(78,128,80,.10);--ljws-line:rgba(78,128,80,.34);}.kc-ljws-item[data-el="火"]{--ljws-color:#c95c4f;--ljws-soft:rgba(201,92,79,.10);--ljws-line:rgba(201,92,79,.34);}.kc-ljws-item[data-el="土"]{--ljws-color:#b88938;--ljws-soft:rgba(184,137,56,.11);--ljws-line:rgba(184,137,56,.36);}.kc-ljws-item[data-el="金"]{--ljws-color:#69748b;--ljws-soft:rgba(105,116,139,.10);--ljws-line:rgba(105,116,139,.34);}.kc-ljws-item[data-el="水"]{--ljws-color:#3f6fab;--ljws-soft:rgba(63,111,171,.10);--ljws-line:rgba(63,111,171,.34);}.kc-ljws-item.on{background:var(--ljws-soft)!important;border-color:var(--ljws-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljws-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljws-color,#58657a);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljws-focus b{display:block;color:var(--ljws-color,#58657a);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljws-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljws-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljws-focus[data-el="木"]{--ljws-color:#4e8050;}.kc-ljws-focus[data-el="火"]{--ljws-color:#c95c4f;}.kc-ljws-focus[data-el="土"]{--ljws-color:#b88938;}.kc-ljws-focus[data-el="金"]{--ljws-color:#69748b;}.kc-ljws-focus[data-el="水"]{--ljws-color:#3f6fab;}.kc-ljws-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #58657a;border-radius:0 10px 10px 0;background:rgba(88,101,122,.07);color:#606f82;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ljws-slider,body.theme-dark .kc-ljws-item,body.theme-dark .kc-ljws-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljws-focus span,body.theme-dark .kc-ljws-focus em{color:#a5b7b0;}body.theme-dark .kc-ljws-result{background:rgba(88,101,122,.12);color:#b2bdcd;}
@media(max-width:520px){.kc-ljws-slider{margin-top:60px!important;}.kc-ljws-slider button{font-size:7.7px;}.kc-ljws-item{height:50px;}.kc-ljws-focus{padding:9px 11px;}}
/* 六壬课体格局 */
.kc-ljkt-card{--kc-card-accent:#6b5570;--kc-card-soft:rgba(107,85,112,.10);}.kc-ljkt-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljkt-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(107,85,112,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljkt-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6b5570;transition:transform .22s ease;}.kc-ljkt-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#817685;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-ljkt-slider button.on{color:#fff;}
.kc-ljkt-body{max-width:520px;margin:10px auto 0;}.kc-ljkt-grid{display:grid;gap:6px;}.kc-ljkt-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljkt-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-ljkt-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljkt-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljkt-color,#60746c);cursor:pointer;}.kc-ljkt-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljkt-item small{font-size:7.8px;color:#8d9b93;text-align:center;}.kc-ljkt-item[data-el="木"]{--ljkt-color:#4e8050;--ljkt-soft:rgba(78,128,80,.10);--ljkt-line:rgba(78,128,80,.34);}.kc-ljkt-item[data-el="火"]{--ljkt-color:#c95c4f;--ljkt-soft:rgba(201,92,79,.10);--ljkt-line:rgba(201,92,79,.34);}.kc-ljkt-item[data-el="土"]{--ljkt-color:#b88938;--ljkt-soft:rgba(184,137,56,.11);--ljkt-line:rgba(184,137,56,.36);}.kc-ljkt-item[data-el="金"]{--ljkt-color:#69748b;--ljkt-soft:rgba(105,116,139,.10);--ljkt-line:rgba(105,116,139,.34);}.kc-ljkt-item[data-el="水"]{--ljkt-color:#3f6fab;--ljkt-soft:rgba(63,111,171,.10);--ljkt-line:rgba(63,111,171,.34);}.kc-ljkt-item.on{background:var(--ljkt-soft)!important;border-color:var(--ljkt-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljkt-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljkt-color,#6b5570);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljkt-focus b{display:block;color:var(--ljkt-color,#6b5570);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljkt-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljkt-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljkt-focus[data-el="木"]{--ljkt-color:#4e8050;}.kc-ljkt-focus[data-el="火"]{--ljkt-color:#c95c4f;}.kc-ljkt-focus[data-el="土"]{--ljkt-color:#b88938;}.kc-ljkt-focus[data-el="金"]{--ljkt-color:#69748b;}.kc-ljkt-focus[data-el="水"]{--ljkt-color:#3f6fab;}.kc-ljkt-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6b5570;border-radius:0 10px 10px 0;background:rgba(107,85,112,.07);color:#756078;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ljkt-slider,body.theme-dark .kc-ljkt-item,body.theme-dark .kc-ljkt-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljkt-focus span,body.theme-dark .kc-ljkt-focus em{color:#a5b7b0;}body.theme-dark .kc-ljkt-result{background:rgba(107,85,112,.12);color:#c3b4c6;}
@media(max-width:520px){.kc-ljkt-slider{margin-top:60px!important;}.kc-ljkt-slider button{font-size:7.7px;}.kc-ljkt-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljkt-item{height:52px;}.kc-ljkt-focus{padding:9px 11px;}}
/* 六壬用神 */
.kc-ljys-card{--kc-card-accent:#566b78;--kc-card-soft:rgba(86,107,120,.10);}.kc-ljys-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljys-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(86,107,120,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljys-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#566b78;transition:transform .22s ease;}.kc-ljys-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#77858d;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-ljys-slider button.on{color:#fff;}
.kc-ljys-body{max-width:520px;margin:10px auto 0;}.kc-ljys-grid{display:grid;gap:6px;}.kc-ljys-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljys-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljys-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljys-color,#60746c);cursor:pointer;}.kc-ljys-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljys-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-ljys-item[data-el="木"]{--ljys-color:#4e8050;--ljys-soft:rgba(78,128,80,.10);--ljys-line:rgba(78,128,80,.34);}.kc-ljys-item[data-el="火"]{--ljys-color:#c95c4f;--ljys-soft:rgba(201,92,79,.10);--ljys-line:rgba(201,92,79,.34);}.kc-ljys-item[data-el="土"]{--ljys-color:#b88938;--ljys-soft:rgba(184,137,56,.11);--ljys-line:rgba(184,137,56,.36);}.kc-ljys-item[data-el="金"]{--ljys-color:#69748b;--ljys-soft:rgba(105,116,139,.10);--ljys-line:rgba(105,116,139,.34);}.kc-ljys-item[data-el="水"]{--ljys-color:#3f6fab;--ljys-soft:rgba(63,111,171,.10);--ljys-line:rgba(63,111,171,.34);}.kc-ljys-item.on{background:var(--ljys-soft)!important;border-color:var(--ljys-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljys-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljys-color,#566b78);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljys-focus b{display:block;color:var(--ljys-color,#566b78);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljys-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljys-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljys-focus[data-el="木"]{--ljys-color:#4e8050;}.kc-ljys-focus[data-el="火"]{--ljys-color:#c95c4f;}.kc-ljys-focus[data-el="土"]{--ljys-color:#b88938;}.kc-ljys-focus[data-el="金"]{--ljys-color:#69748b;}.kc-ljys-focus[data-el="水"]{--ljys-color:#3f6fab;}.kc-ljys-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #566b78;border-radius:0 10px 10px 0;background:rgba(86,107,120,.07);color:#60737e;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ljys-slider,body.theme-dark .kc-ljys-item,body.theme-dark .kc-ljys-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljys-focus span,body.theme-dark .kc-ljys-focus em{color:#a5b7b0;}body.theme-dark .kc-ljys-result{background:rgba(86,107,120,.12);color:#b1c0c7;}
@media(max-width:520px){.kc-ljys-slider{margin-top:60px!important;}.kc-ljys-slider button{font-size:7.7px;}.kc-ljys-item{height:50px;}.kc-ljys-focus{padding:9px 11px;}}
/* 六壬应期 */
.kc-ljyq-card{--kc-card-accent:#506b71;--kc-card-soft:rgba(80,107,113,.10);}.kc-ljyq-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-ljyq-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(80,107,113,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-ljyq-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#506b71;transition:transform .22s ease;}.kc-ljyq-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#74868a;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-ljyq-slider button.on{color:#fff;}
.kc-ljyq-body{max-width:520px;margin:10px auto 0;}.kc-ljyq-grid{display:grid;gap:6px;}.kc-ljyq-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-ljyq-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ljyq-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--ljyq-color,#60746c);cursor:pointer;}.kc-ljyq-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-ljyq-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-ljyq-item[data-el="木"]{--ljyq-color:#4e8050;--ljyq-soft:rgba(78,128,80,.10);--ljyq-line:rgba(78,128,80,.34);}.kc-ljyq-item[data-el="火"]{--ljyq-color:#c95c4f;--ljyq-soft:rgba(201,92,79,.10);--ljyq-line:rgba(201,92,79,.34);}.kc-ljyq-item[data-el="土"]{--ljyq-color:#b88938;--ljyq-soft:rgba(184,137,56,.11);--ljyq-line:rgba(184,137,56,.36);}.kc-ljyq-item[data-el="金"]{--ljyq-color:#69748b;--ljyq-soft:rgba(105,116,139,.10);--ljyq-line:rgba(105,116,139,.34);}.kc-ljyq-item[data-el="水"]{--ljyq-color:#3f6fab;--ljyq-soft:rgba(63,111,171,.10);--ljyq-line:rgba(63,111,171,.34);}.kc-ljyq-item.on{background:var(--ljyq-soft)!important;border-color:var(--ljyq-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-ljyq-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--ljyq-color,#506b71);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-ljyq-focus b{display:block;color:var(--ljyq-color,#506b71);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-ljyq-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-ljyq-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-ljyq-focus[data-el="木"]{--ljyq-color:#4e8050;}.kc-ljyq-focus[data-el="火"]{--ljyq-color:#c95c4f;}.kc-ljyq-focus[data-el="土"]{--ljyq-color:#b88938;}.kc-ljyq-focus[data-el="金"]{--ljyq-color:#69748b;}.kc-ljyq-focus[data-el="水"]{--ljyq-color:#3f6fab;}.kc-ljyq-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #506b71;border-radius:0 10px 10px 0;background:rgba(80,107,113,.07);color:#5d757b;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-ljyq-slider,body.theme-dark .kc-ljyq-item,body.theme-dark .kc-ljyq-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-ljyq-focus span,body.theme-dark .kc-ljyq-focus em{color:#a5b7b0;}body.theme-dark .kc-ljyq-result{background:rgba(80,107,113,.12);color:#afc3c7;}
@media(max-width:520px){.kc-ljyq-slider{margin-top:60px!important;}.kc-ljyq-slider button{font-size:7.7px;}.kc-ljyq-item{height:50px;}.kc-ljyq-focus{padding:9px 11px;}}
/* 三式起盘顺序对照 */
.kc-3sp-card{--kc-card-accent:#5f6b60;--kc-card-soft:rgba(95,107,96,.10);}.kc-3sp-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#4e8050 0 33%,#b88938 33% 66%,#3f6fab 66%);pointer-events:none;}
.kc-3sp-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(95,107,96,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-3sp-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#5f6b60;transition:transform .22s ease;}.kc-3sp-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#7e867d;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-3sp-slider button.on{color:#fff;}
.kc-3sp-body{max-width:520px;margin:10px auto 0;}.kc-3sp-grid{display:grid;gap:6px;}.kc-3sp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-3sp-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-3sp-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--s3sp-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--s3sp-color,#60746c);cursor:pointer;}.kc-3sp-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-3sp-item small{font-size:7.8px;color:#8d9b93;text-align:center;}.kc-3sp-item[data-el="木"]{--s3sp-color:#4e8050;--s3sp-soft:rgba(78,128,80,.10);--s3sp-line:rgba(78,128,80,.34);}.kc-3sp-item[data-el="火"]{--s3sp-color:#c95c4f;--s3sp-soft:rgba(201,92,79,.10);--s3sp-line:rgba(201,92,79,.34);}.kc-3sp-item[data-el="土"]{--s3sp-color:#b88938;--s3sp-soft:rgba(184,137,56,.11);--s3sp-line:rgba(184,137,56,.36);}.kc-3sp-item[data-el="金"]{--s3sp-color:#69748b;--s3sp-soft:rgba(105,116,139,.10);--s3sp-line:rgba(105,116,139,.34);}.kc-3sp-item[data-el="水"]{--s3sp-color:#3f6fab;--s3sp-soft:rgba(63,111,171,.10);--s3sp-line:rgba(63,111,171,.34);}.kc-3sp-item.on{background:var(--s3sp-soft)!important;border-color:var(--s3sp-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-3sp-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--s3sp-color,#5f6b60);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-3sp-focus b{display:block;color:var(--s3sp-color,#5f6b60);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-3sp-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-3sp-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-3sp-focus[data-el="木"]{--s3sp-color:#4e8050;}.kc-3sp-focus[data-el="火"]{--s3sp-color:#c95c4f;}.kc-3sp-focus[data-el="土"]{--s3sp-color:#b88938;}.kc-3sp-focus[data-el="金"]{--s3sp-color:#69748b;}.kc-3sp-focus[data-el="水"]{--s3sp-color:#3f6fab;}.kc-3sp-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #5f6b60;border-radius:0 10px 10px 0;background:rgba(95,107,96,.07);color:#68746a;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-3sp-slider,body.theme-dark .kc-3sp-item,body.theme-dark .kc-3sp-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-3sp-focus span,body.theme-dark .kc-3sp-focus em{color:#a5b7b0;}body.theme-dark .kc-3sp-result{background:rgba(95,107,96,.12);color:#bac6bb;}
@media(max-width:520px){.kc-3sp-slider{margin-top:60px!important;}.kc-3sp-slider button{font-size:7.7px;}.kc-3sp-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-3sp-item{height:52px;}.kc-3sp-focus{padding:9px 11px;}}
/* 三式流派差异说明 */
.kc-3lp-card{--kc-card-accent:#6d5f57;--kc-card-soft:rgba(109,95,87,.10);}.kc-3lp-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#4e8050 0 33%,#b88938 33% 66%,#3f6fab 66%);pointer-events:none;}
.kc-3lp-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(109,95,87,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-3lp-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6d5f57;transition:transform .22s ease;}.kc-3lp-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#847a74;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-3lp-slider button.on{color:#fff;}
.kc-3lp-body{max-width:520px;margin:10px auto 0;}.kc-3lp-grid{display:grid;gap:6px;}.kc-3lp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-3lp-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--s3lp-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--s3lp-color,#60746c);cursor:pointer;}.kc-3lp-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-3lp-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-3lp-item[data-el="木"]{--s3lp-color:#4e8050;--s3lp-soft:rgba(78,128,80,.10);--s3lp-line:rgba(78,128,80,.34);}.kc-3lp-item[data-el="火"]{--s3lp-color:#c95c4f;--s3lp-soft:rgba(201,92,79,.10);--s3lp-line:rgba(201,92,79,.34);}.kc-3lp-item[data-el="土"]{--s3lp-color:#b88938;--s3lp-soft:rgba(184,137,56,.11);--s3lp-line:rgba(184,137,56,.36);}.kc-3lp-item[data-el="金"]{--s3lp-color:#69748b;--s3lp-soft:rgba(105,116,139,.10);--s3lp-line:rgba(105,116,139,.34);}.kc-3lp-item[data-el="水"]{--s3lp-color:#3f6fab;--s3lp-soft:rgba(63,111,171,.10);--s3lp-line:rgba(63,111,171,.34);}.kc-3lp-item.on{background:var(--s3lp-soft)!important;border-color:var(--s3lp-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-3lp-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--s3lp-color,#6d5f57);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-3lp-focus b{display:block;color:var(--s3lp-color,#6d5f57);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-3lp-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-3lp-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-3lp-focus[data-el="木"]{--s3lp-color:#4e8050;}.kc-3lp-focus[data-el="火"]{--s3lp-color:#c95c4f;}.kc-3lp-focus[data-el="土"]{--s3lp-color:#b88938;}.kc-3lp-focus[data-el="金"]{--s3lp-color:#69748b;}.kc-3lp-focus[data-el="水"]{--s3lp-color:#3f6fab;}.kc-3lp-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6d5f57;border-radius:0 10px 10px 0;background:rgba(109,95,87,.07);color:#756960;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-3lp-slider,body.theme-dark .kc-3lp-item,body.theme-dark .kc-3lp-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-3lp-focus span,body.theme-dark .kc-3lp-focus em{color:#a5b7b0;}body.theme-dark .kc-3lp-result{background:rgba(109,95,87,.12);color:#c5bbb3;}
@media(max-width:520px){.kc-3lp-slider{margin-top:60px!important;}.kc-3lp-slider button{font-size:7.7px;}.kc-3lp-item{height:50px;}.kc-3lp-focus{padding:9px 11px;}}
/* 太乙计神详解 */
.kc-tyjs-card{--kc-card-accent:#6e684d;--kc-card-soft:rgba(110,104,77,.10);}.kc-tyjs-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--kc-card-accent),transparent 82%);pointer-events:none;}
.kc-tyjs-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(110,104,77,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-tyjs-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6e684d;transition:transform .22s ease;}.kc-tyjs-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#827d68;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-tyjs-slider button.on{color:#fff;}
.kc-tyjs-body{max-width:520px;margin:10px auto 0;}.kc-tyjs-grid{display:grid;gap:6px;}.kc-tyjs-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-tyjs-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--tyjs-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--tyjs-color,#60746c);cursor:pointer;}.kc-tyjs-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-tyjs-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-tyjs-item[data-el="木"]{--tyjs-color:#4e8050;--tyjs-soft:rgba(78,128,80,.10);--tyjs-line:rgba(78,128,80,.34);}.kc-tyjs-item[data-el="火"]{--tyjs-color:#c95c4f;--tyjs-soft:rgba(201,92,79,.10);--tyjs-line:rgba(201,92,79,.34);}.kc-tyjs-item[data-el="土"]{--tyjs-color:#b88938;--tyjs-soft:rgba(184,137,56,.11);--tyjs-line:rgba(184,137,56,.36);}.kc-tyjs-item[data-el="金"]{--tyjs-color:#69748b;--tyjs-soft:rgba(105,116,139,.10);--tyjs-line:rgba(105,116,139,.34);}.kc-tyjs-item[data-el="水"]{--tyjs-color:#3f6fab;--tyjs-soft:rgba(63,111,171,.10);--tyjs-line:rgba(63,111,171,.34);}.kc-tyjs-item.on{background:var(--tyjs-soft)!important;border-color:var(--tyjs-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-tyjs-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--tyjs-color,#6e684d);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-tyjs-focus b{display:block;color:var(--tyjs-color,#6e684d);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-tyjs-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-tyjs-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-tyjs-focus[data-el="木"]{--tyjs-color:#4e8050;}.kc-tyjs-focus[data-el="火"]{--tyjs-color:#c95c4f;}.kc-tyjs-focus[data-el="土"]{--tyjs-color:#b88938;}.kc-tyjs-focus[data-el="金"]{--tyjs-color:#69748b;}.kc-tyjs-focus[data-el="水"]{--tyjs-color:#3f6fab;}.kc-tyjs-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6e684d;border-radius:0 10px 10px 0;background:rgba(110,104,77,.07);color:#76705b;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-tyjs-slider,body.theme-dark .kc-tyjs-item,body.theme-dark .kc-tyjs-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-tyjs-focus span,body.theme-dark .kc-tyjs-focus em{color:#a5b7b0;}body.theme-dark .kc-tyjs-result{background:rgba(110,104,77,.12);color:#c5c0ad;}
@media(max-width:520px){.kc-tyjs-slider{margin-top:60px!important;}.kc-tyjs-slider button{font-size:7.7px;}.kc-tyjs-item{height:50px;}.kc-tyjs-focus{padding:9px 11px;}}
/* 皇极经世总览 */
.kc-hjzs-card{--kc-card-accent:#6e6548;--kc-card-soft:rgba(110,101,72,.10);}.kc-hjzs-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#4e8050 0 33%,#b88938 33% 66%,#3f6fab 66%);pointer-events:none;}
.kc-hjzs-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(110,101,72,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-hjzs-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#6e6548;transition:transform .22s ease;}.kc-hjzs-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#827b66;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-hjzs-slider button.on{color:#fff;}
.kc-hjzs-body{max-width:520px;margin:10px auto 0;}.kc-hjzs-grid{display:grid;gap:6px;}.kc-hjzs-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-hjzs-item{height:58px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--hjzs-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--hjzs-color,#60746c);cursor:pointer;}.kc-hjzs-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-hjzs-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-hjzs-item[data-el="木"]{--hjzs-color:#4e8050;--hjzs-soft:rgba(78,128,80,.10);--hjzs-line:rgba(78,128,80,.34);}.kc-hjzs-item[data-el="火"]{--hjzs-color:#c95c4f;--hjzs-soft:rgba(201,92,79,.10);--hjzs-line:rgba(201,92,79,.34);}.kc-hjzs-item[data-el="土"]{--hjzs-color:#b88938;--hjzs-soft:rgba(184,137,56,.11);--hjzs-line:rgba(184,137,56,.36);}.kc-hjzs-item[data-el="金"]{--hjzs-color:#69748b;--hjzs-soft:rgba(105,116,139,.10);--hjzs-line:rgba(105,116,139,.34);}.kc-hjzs-item[data-el="水"]{--hjzs-color:#3f6fab;--hjzs-soft:rgba(63,111,171,.10);--hjzs-line:rgba(63,111,171,.34);}.kc-hjzs-item.on{background:var(--hjzs-soft)!important;border-color:var(--hjzs-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-hjzs-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--hjzs-color,#6e6548);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-hjzs-focus b{display:block;color:var(--hjzs-color,#6e6548);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-hjzs-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-hjzs-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-hjzs-focus[data-el="木"]{--hjzs-color:#4e8050;}.kc-hjzs-focus[data-el="火"]{--hjzs-color:#c95c4f;}.kc-hjzs-focus[data-el="土"]{--hjzs-color:#b88938;}.kc-hjzs-focus[data-el="金"]{--hjzs-color:#69748b;}.kc-hjzs-focus[data-el="水"]{--hjzs-color:#3f6fab;}.kc-hjzs-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #6e6548;border-radius:0 10px 10px 0;background:rgba(110,101,72,.07);color:#766f5a;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-hjzs-slider,body.theme-dark .kc-hjzs-item,body.theme-dark .kc-hjzs-focus{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjzs-focus span,body.theme-dark .kc-hjzs-focus em{color:#a5b7b0;}body.theme-dark .kc-hjzs-result{background:rgba(110,101,72,.12);color:#c5bfaa;}
@media(max-width:520px){.kc-hjzs-slider{margin-top:60px!important;}.kc-hjzs-slider button{font-size:7.7px;}.kc-hjzs-item{height:52px;}.kc-hjzs-focus{padding:9px 11px;}}
/* 皇极经世元会运世时间钟 */
.kc-hjtc-card{--kc-card-accent:#5c6d70;--kc-card-soft:rgba(92,109,112,.10);}.kc-hjtc-card::before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#4e8050 0 25%,#c95c4f 25% 50%,#b88938 50% 75%,#3f6fab 75%);pointer-events:none;}
.kc-hjtc-slider{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:520px!important;margin:34px auto 0!important;padding:4px!important;border:1px solid rgba(92,109,112,.18)!important;border-radius:999px!important;background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;}.kc-hjtc-thumb{position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/4);border-radius:999px;background:#5c6d70;transition:transform .22s ease;}.kc-hjtc-slider button{position:relative;z-index:1;min-height:35px;border:0;background:transparent;color:#788589;font-size:8.8px;font-weight:800;cursor:pointer;}.kc-hjtc-slider button.on{color:#fff;}
.kc-hjtc-body{max-width:520px;margin:10px auto 0;}.kc-hjtc-grid{display:grid;gap:6px;}.kc-hjtc-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-hjtc-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-hjtc-item{height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--hjtc-line,rgba(31,91,77,.11));border-radius:11px;background:#fff;color:var(--hjtc-color,#60746c);cursor:pointer;}.kc-hjtc-item b{font:900 11.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-hjtc-item small{font-size:8px;color:#8d9b93;text-align:center;}.kc-hjtc-item[data-el="木"]{--hjtc-color:#4e8050;--hjtc-soft:rgba(78,128,80,.10);--hjtc-line:rgba(78,128,80,.34);}.kc-hjtc-item[data-el="火"]{--hjtc-color:#c95c4f;--hjtc-soft:rgba(201,92,79,.10);--hjtc-line:rgba(201,92,79,.34);}.kc-hjtc-item[data-el="土"]{--hjtc-color:#b88938;--hjtc-soft:rgba(184,137,56,.11);--hjtc-line:rgba(184,137,56,.36);}.kc-hjtc-item[data-el="金"]{--hjtc-color:#69748b;--hjtc-soft:rgba(105,116,139,.10);--hjtc-line:rgba(105,116,139,.34);}.kc-hjtc-item[data-el="水"]{--hjtc-color:#3f6fab;--hjtc-soft:rgba(63,111,171,.10);--hjtc-line:rgba(63,111,171,.34);}.kc-hjtc-item.on{background:var(--hjtc-soft)!important;border-color:var(--hjtc-color)!important;box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-hjtc-clock{position:relative;width:min(330px,84vw);aspect-ratio:1;margin:8px auto 0;border-radius:50%;background:radial-gradient(circle,rgba(63,111,171,.05) 0 18%,rgba(184,137,56,.04) 18% 38%,rgba(201,92,79,.04) 38% 62%,rgba(78,128,80,.04) 62% 100%);}.kc-hjtc-ring{position:absolute;left:50%;top:50%;border:1px solid rgba(80,105,100,.18);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;}.kc-hjtc-ring.r1{inset:0;}.kc-hjtc-ring.r2{inset:13%;}.kc-hjtc-ring.r3{inset:27%;}.kc-hjtc-ring.r4{inset:41%;}.kc-hjtc-core{position:absolute;left:50%;top:50%;width:26%;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(63,111,171,.28);border-radius:50%;background:#fff;color:#3f6fab;transform:translate(-50%,-50%);box-shadow:0 6px 18px rgba(44,67,63,.08);}.kc-hjtc-core b{font:900 clamp(12px,3vw,17px)/1 "Songti SC","STSong",serif;}.kc-hjtc-core small{margin-top:3px;color:#8d9b93;font-size:7px;}.kc-hjtc-node{position:absolute;width:62px;height:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjtc-node-line,rgba(63,111,171,.30));border-radius:10px;background:#fff;color:var(--hjtc-node-color,#3f6fab);cursor:pointer;}.kc-hjtc-node b{font:900 13px/1 "Songti SC","STSong",serif;}.kc-hjtc-node small{margin-top:2px;font-size:7px;color:#8d9b93;}.kc-hjtc-node.n1{top:-2px;left:50%;transform:translateX(-50%);}.kc-hjtc-node.n2{top:50%;right:-2px;transform:translateY(-50%);}.kc-hjtc-node.n3{bottom:-2px;left:50%;transform:translateX(-50%);}.kc-hjtc-node.n4{top:50%;left:-2px;transform:translateY(-50%);}.kc-hjtc-node[data-el="木"]{--hjtc-node-color:#4e8050;--hjtc-node-line:rgba(78,128,80,.34);}.kc-hjtc-node[data-el="火"]{--hjtc-node-color:#c95c4f;--hjtc-node-line:rgba(201,92,79,.34);}.kc-hjtc-node[data-el="金"]{--hjtc-node-color:#69748b;--hjtc-node-line:rgba(105,116,139,.34);}.kc-hjtc-node[data-el="水"]{--hjtc-node-color:#3f6fab;--hjtc-node-line:rgba(63,111,171,.34);}.kc-hjtc-node.on{background:rgba(63,111,171,.08);box-shadow:0 5px 12px rgba(34,65,58,.09);}
.kc-hjtc-focus{max-width:520px;margin:10px auto 0;padding:10px 12px;border:1px solid var(--hjtc-color,#5c6d70);border-radius:14px;background:#fff;box-sizing:border-box;}.kc-hjtc-focus b{display:block;color:var(--hjtc-color,#5c6d70);font:900 18px/1.1 "Songti SC","STSong",serif;}.kc-hjtc-focus span{display:block;margin-top:4px;color:#7d8d84;font-size:10px;}.kc-hjtc-focus em{display:block;margin-top:5px;color:#667b71;font-size:10.5px;line-height:1.5;font-style:normal;}.kc-hjtc-focus[data-el="木"]{--hjtc-color:#4e8050;}.kc-hjtc-focus[data-el="火"]{--hjtc-color:#c95c4f;}.kc-hjtc-focus[data-el="土"]{--hjtc-color:#b88938;}.kc-hjtc-focus[data-el="金"]{--hjtc-color:#69748b;}.kc-hjtc-focus[data-el="水"]{--hjtc-color:#3f6fab;}.kc-hjtc-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-left:3px solid #5c6d70;border-radius:0 10px 10px 0;background:rgba(92,109,112,.07);color:#647477;font-size:10.5px;line-height:1.5;}
body.theme-dark .kc-hjtc-slider,body.theme-dark .kc-hjtc-item,body.theme-dark .kc-hjtc-focus,body.theme-dark .kc-hjtc-core,body.theme-dark .kc-hjtc-node{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjtc-focus span,body.theme-dark .kc-hjtc-focus em{color:#a5b7b0;}body.theme-dark .kc-hjtc-result{background:rgba(92,109,112,.12);color:#b3c1c4;}
@media(max-width:520px){.kc-hjtc-slider{margin-top:60px!important;}.kc-hjtc-slider button{font-size:7.7px;}.kc-hjtc-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-hjtc-item{height:50px;}.kc-hjtc-clock{width:min(290px,78vw);}.kc-hjtc-node{width:56px;height:36px;}.kc-hjtc-focus{padding:9px 11px;}}
/* 皇极经世三层年表 */
.kc-hjyj-card{--kc-card-accent:#5f6d62;--kc-card-soft:rgba(95,109,98,.10);overflow:hidden;}
.kc-hjyj-equation{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;max-width:520px;margin:30px auto 0;padding:11px 12px;border:1px solid rgba(83,105,99,.16);border-radius:16px;background:linear-gradient(120deg,rgba(63,111,171,.06),rgba(255,255,255,.55),rgba(184,137,56,.07));overflow:hidden;box-sizing:border-box;}.kc-hjyj-equation::after{content:"";position:absolute;top:-35%;bottom:-35%;left:-25%;width:15%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.92),transparent);transform:skewX(-18deg);animation:kcHjyjSweep 5.4s ease-in-out infinite;pointer-events:none;}@keyframes kcHjyjSweep{0%,18%{transform:translateX(-120%) skewX(-18deg);opacity:0}32%{opacity:.75}58%{transform:translateX(920%) skewX(-18deg);opacity:0}100%{transform:translateX(920%) skewX(-18deg);opacity:0}}.kc-hjyj-unit{position:relative;z-index:1;min-width:43px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#576b66;}.kc-hjyj-unit b{font:900 16px/1 "Songti SC","STSong",serif;}.kc-hjyj-unit small{font-size:7px;color:#88958f;}.kc-hjyj-unit.u5{color:#9b6f31;}.kc-hjyj-equation i{position:relative;z-index:1;color:#9aa49f;font-size:8px;font-style:normal;}
.kc-hjyj-shell{display:grid;grid-template-columns:116px minmax(0,1fr);gap:8px;max-width:520px;margin:9px auto 0;}.kc-hjyj-layers{display:flex;flex-direction:column;gap:6px;}.kc-hjyj-layer{flex:1;min-height:61px;padding:8px 7px;border:1px solid rgba(83,105,99,.14);border-radius:12px;background:#fff;color:#6b7a75;text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease;}.kc-hjyj-layer b{display:block;font:900 11.5px/1.25 "Songti SC","STSong",serif;}.kc-hjyj-layer small{display:block;margin-top:5px;font-size:7.5px;color:#96a09b;}.kc-hjyj-layer.on{border-color:#5f8b7f;background:linear-gradient(135deg,rgba(95,139,127,.13),rgba(63,111,171,.08));color:#416f64;transform:translateX(2px);}.kc-hjyj-stage{min-width:0;padding:11px;border:1px solid rgba(31,91,77,.11);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,246,.88));box-sizing:border-box;}.kc-hjyj-stage-head{padding-bottom:8px;border-bottom:1px solid rgba(83,105,99,.10);}.kc-hjyj-step{display:block;color:#9a7b46;font-size:7.5px;font-weight:800;letter-spacing:.08em;}.kc-hjyj-stage-title{margin:3px 0 0;color:#4e655f;font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjyj-stage-meta{margin:3px 0 0;color:#87958f;font-size:8px;}.kc-hjyj-slots{display:grid;gap:5px;margin-top:9px;}.kc-hjyj-slots.c12{grid-template-columns:repeat(6,minmax(0,1fr));}.kc-hjyj-slots.c30{grid-template-columns:repeat(10,minmax(0,1fr));}.kc-hjyj-slot{height:36px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjyj-slot-line,rgba(63,111,171,.18));border-radius:9px;background:rgba(255,255,255,.82);color:var(--hjyj-slot-color,#4f6d87);cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;}.kc-hjyj-slot b{font:900 10px/1 "Songti SC","STSong",serif;}.kc-hjyj-slot small{margin-top:2px;font-size:6.8px;color:#8b9893;}.kc-hjyj-slot:hover,.kc-hjyj-slot:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.46);outline:none;}.kc-hjyj-slot.on{border-color:currentColor;background:rgba(63,111,171,.09);box-shadow:0 5px 12px rgba(34,65,58,.08);}.kc-hjyj-detail{margin-top:9px;padding:9px 10px;border:1px solid var(--hjyj-detail-color,#5f6d62);border-radius:12px;background:#fff;}.kc-hjyj-detail b{display:block;color:var(--hjyj-detail-color,#5f6d62);font:900 16px/1.1 "Songti SC","STSong",serif;}.kc-hjyj-detail span{display:block;margin-top:3px;color:#83918b;font-size:8.5px;}.kc-hjyj-detail em{display:block;margin-top:5px;color:#667b71;font-size:9.5px;line-height:1.5;font-style:normal;}.kc-hjyj-slot[data-el="木"]{--hjyj-slot-color:#4e8050;--hjyj-slot-line:rgba(78,128,80,.28);}.kc-hjyj-slot[data-el="火"]{--hjyj-slot-color:#c95c4f;--hjyj-slot-line:rgba(201,92,79,.28);}.kc-hjyj-slot[data-el="土"]{--hjyj-slot-color:#b88938;--hjyj-slot-line:rgba(184,137,56,.30);}.kc-hjyj-slot[data-el="金"]{--hjyj-slot-color:#69748b;--hjyj-slot-line:rgba(105,116,139,.28);}.kc-hjyj-slot[data-el="水"]{--hjyj-slot-color:#3f6fab;--hjyj-slot-line:rgba(63,111,171,.28);}.kc-hjyj-detail[data-el="木"]{--hjyj-detail-color:#4e8050;}.kc-hjyj-detail[data-el="火"]{--hjyj-detail-color:#c95c4f;}.kc-hjyj-detail[data-el="土"]{--hjyj-detail-color:#b88938;}.kc-hjyj-detail[data-el="金"]{--hjyj-detail-color:#69748b;}.kc-hjyj-detail[data-el="水"]{--hjyj-detail-color:#3f6fab;}.kc-hjyj-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(95,109,98,.07);color:#65736d;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjyj-equation,body.theme-dark .kc-hjyj-layer,body.theme-dark .kc-hjyj-stage,body.theme-dark .kc-hjyj-slot,body.theme-dark .kc-hjyj-detail{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjyj-detail span,body.theme-dark .kc-hjyj-detail em{color:#a5b7b0;}body.theme-dark .kc-hjyj-result{background:rgba(95,109,98,.12);color:#bac6bc;}
@media(max-width:520px){.kc-hjyj-equation{flex-wrap:wrap;margin-top:60px;gap:2px 4px;}.kc-hjyj-unit{min-width:35px;}.kc-hjyj-unit b{font-size:14px;}.kc-hjyj-shell{grid-template-columns:1fr;}.kc-hjyj-layers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}.kc-hjyj-layer{min-height:54px;padding:7px 6px;text-align:center;}.kc-hjyj-layer.on{transform:translateY(-1px);}.kc-hjyj-layer small{font-size:6.8px;}.kc-hjyj-slots.c12{grid-template-columns:repeat(6,minmax(0,1fr));}.kc-hjyj-slots.c30{grid-template-columns:repeat(6,minmax(0,1fr));}.kc-hjyj-slot{height:34px;}.kc-hjyj-detail{padding:8px 9px;}}
@media(prefers-reduced-motion:reduce){.kc-hjyj-equation::after{animation:none;}}
/* 皇极经世年表与历史对应 */
.kc-hjyl-card{--kc-card-accent:#6a6553;--kc-card-soft:rgba(106,101,83,.10);}.kc-hjyl-zoom{max-width:520px;margin:30px auto 0;padding:11px 13px 9px;border:1px solid rgba(106,101,83,.16);border-radius:15px;background:linear-gradient(135deg,rgba(63,111,171,.06),rgba(255,255,255,.84),rgba(184,137,56,.06));box-sizing:border-box;}.kc-hjyl-zoom-head{display:flex;align-items:baseline;gap:7px;}.kc-hjyl-zoom-head>span{color:#8a8575;font-size:8px;font-weight:800;letter-spacing:.08em;}.kc-hjyl-zoom-label{color:#4f6f87;font:900 18px/1 "Songti SC","STSong",serif;}.kc-hjyl-zoom-meta{color:#8c978f;font-size:8px;}.kc-hjyl-range{-webkit-appearance:none;appearance:none;width:100%;height:5px;margin:11px 0 5px;border-radius:999px;background:linear-gradient(90deg,#3f6fab 0 24%,#4e8050 24% 48%,#c95c4f 48% 72%,#b88938 72% 90%,#69748b 90%);outline:none;cursor:pointer;}.kc-hjyl-range::-webkit-slider-thumb{-webkit-appearance:none;width:19px;height:19px;border:3px solid #fff;border-radius:50%;background:#4f6f87;box-shadow:0 2px 8px rgba(47,66,63,.24);}.kc-hjyl-range::-moz-range-thumb{width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:#4f6f87;box-shadow:0 2px 8px rgba(47,66,63,.24);}.kc-hjyl-range:focus-visible{box-shadow:0 0 0 3px rgba(63,111,171,.18);}.kc-hjyl-ticks{display:flex;justify-content:space-between;color:#929a95;font-size:7.5px;}
.kc-hjyl-book{max-width:520px;margin:10px auto 0;}.kc-hjyl-eras{display:flex;gap:6px;overflow-x:auto;padding:1px 1px 7px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:rgba(95,109,98,.34) transparent;}.kc-hjyl-eras::-webkit-scrollbar{height:5px;}.kc-hjyl-eras::-webkit-scrollbar-track{background:transparent;}.kc-hjyl-eras::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(95,109,98,.28);}.kc-hjyl-drag-hint{display:flex;align-items:center;gap:6px;margin:-2px 0 7px;color:#87938e;font-size:7.5px;}.kc-hjyl-drag-hint i{flex:1;height:1px;background:linear-gradient(90deg,rgba(95,109,98,.26),rgba(95,109,98,.05));}.kc-hjyl-eras{cursor:grab;touch-action:pan-x;overscroll-behavior-x:contain;}.kc-hjyl-eras.is-dragging{cursor:grabbing;scroll-snap-type:none;}.kc-hjyl-era{user-select:none;}.kc-hjyl-era{flex:0 0 86px;min-height:49px;padding:7px 6px;border:1px solid rgba(95,109,98,.14);border-radius:11px;background:#fff;color:#66766f;text-align:left;scroll-snap-align:start;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease;}.kc-hjyl-era b{display:block;font:900 10.5px/1.2 "Songti SC","STSong",serif;}.kc-hjyl-era small{display:block;margin-top:4px;color:#929d97;font-size:7px;}.kc-hjyl-era.on{border-color:#6a857b;background:linear-gradient(145deg,rgba(95,139,127,.14),rgba(63,111,171,.07));color:#416f64;transform:translateY(-1px);}.kc-hjyl-page{position:relative;min-height:190px;padding:17px 18px 16px 42px;border:1px solid rgba(95,109,98,.16);border-radius:15px;background-color:#fffdf9;background-image:linear-gradient(to bottom,transparent 27px,rgba(94,111,104,.075) 28px);background-size:100% 28px;box-shadow:0 10px 26px rgba(55,68,62,.07);box-sizing:border-box;overflow:hidden;}.kc-hjyl-page::before{content:"";position:absolute;top:0;bottom:0;left:28px;width:1px;background:rgba(184,95,82,.18);}.kc-hjyl-page-head{display:flex;align-items:center;justify-content:space-between;gap:8px;}.kc-hjyl-page-tag{color:#9a7b46;font-size:8px;font-weight:800;letter-spacing:.04em;}.kc-hjyl-page-scale{padding:4px 7px;border:1px solid rgba(63,111,171,.18);border-radius:999px;background:rgba(63,111,171,.06);color:#56758d;font-size:7.5px;}.kc-hjyl-page-title{margin:8px 0 0;color:#4f625c;font:900 21px/1.12 "Songti SC","STSong",serif;}.kc-hjyl-page-meta{margin:4px 0 0;color:#87938e;font-size:9px;}.kc-hjyl-page-rule{width:42px;height:2px;margin:10px 0 9px;background:currentColor;color:var(--hjyl-page-color,#b88938);}.kc-hjyl-page-text{display:block;max-width:36em;color:#61716b;font-size:10.5px;line-height:1.62;font-style:normal;}.kc-hjyl-page[data-el="木"]{--hjyl-page-color:#4e8050;}.kc-hjyl-page[data-el="火"]{--hjyl-page-color:#c95c4f;}.kc-hjyl-page[data-el="土"]{--hjyl-page-color:#b88938;}.kc-hjyl-page[data-el="金"]{--hjyl-page-color:#69748b;}.kc-hjyl-page[data-el="水"]{--hjyl-page-color:#3f6fab;}
.kc-hjyl-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:520px;margin:9px auto 0;}.kc-hjyl-legend span{padding:8px;border:1px dashed rgba(95,109,98,.18);border-radius:10px;background:rgba(255,255,255,.72);}.kc-hjyl-legend b{display:block;color:#63726d;font:900 9.5px/1.2 "Songti SC","STSong",serif;}.kc-hjyl-legend small{display:block;margin-top:3px;color:#969f9b;font-size:7px;line-height:1.35;}.kc-hjyl-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(106,101,83,.07);color:#6f6b5d;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjyl-zoom,body.theme-dark .kc-hjyl-era,body.theme-dark .kc-hjyl-page,body.theme-dark .kc-hjyl-legend span{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjyl-page{background-image:linear-gradient(to bottom,transparent 27px,rgba(255,255,255,.055) 28px);}body.theme-dark .kc-hjyl-page-text,body.theme-dark .kc-hjyl-page-meta{color:#a5b7b0;}body.theme-dark .kc-hjyl-legend b{color:#bdc9c4;}body.theme-dark .kc-hjyl-legend small{color:#8fa09a;}body.theme-dark .kc-hjyl-result{background:rgba(106,101,83,.12);color:#c5bfad;}
@media(max-width:520px){.kc-hjyl-zoom{margin-top:60px;}.kc-hjyl-page{min-height:180px;padding:15px 14px 14px 36px;background-size:100% 27px;}.kc-hjyl-page::before{left:24px;}.kc-hjyl-page-title{font-size:19px;}.kc-hjyl-legend{grid-template-columns:1fr;}.kc-hjyl-era{flex-basis:78px;}.kc-hjyl-range{height:4px;}}
/* 皇极经世太极加一倍法 */
.kc-hjjb-card{--kc-card-accent:#536c68;--kc-card-soft:rgba(83,108,104,.10);}.kc-hjjb-console{max-width:520px;margin:30px auto 0;padding:12px;border:1px solid rgba(83,108,104,.15);border-radius:17px;background:linear-gradient(135deg,rgba(78,128,80,.055),rgba(255,255,255,.88),rgba(63,111,171,.055));box-sizing:border-box;}.kc-hjjb-progress{display:flex;align-items:center;justify-content:center;gap:4px;overflow:hidden;}.kc-hjjb-progress span{color:#98a29d;font-size:7.5px;white-space:nowrap;transition:color .18s ease,transform .18s ease;}.kc-hjjb-progress span.on{color:#3f7064;font-weight:900;transform:translateY(-1px);}.kc-hjjb-progress i{width:11px;height:1px;background:rgba(83,108,104,.18);}.kc-hjjb-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:10px;}.kc-hjjb-btn{min-height:34px;border:1px solid rgba(83,108,104,.16);border-radius:10px;background:#fff;color:#687a74;font-size:9px;font-weight:800;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;}.kc-hjjb-btn:hover,.kc-hjjb-btn:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.38);outline:none;}.kc-hjjb-btn.grow{background:linear-gradient(135deg,rgba(78,128,80,.12),rgba(63,111,171,.08));color:#416f64;}.kc-hjjb-btn:disabled{opacity:.38;cursor:default;transform:none;}
.kc-hjjb-stage{margin-top:9px;padding:10px;border:1px solid rgba(83,108,104,.13);border-radius:14px;background-color:#f9fbf8;background-image:radial-gradient(circle at 1px 1px,rgba(83,108,104,.11) 1px,transparent 0);background-size:14px 14px;box-sizing:border-box;}.kc-hjjb-stage-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}.kc-hjjb-level{color:#9a7b46;font-size:7.5px;font-weight:800;}.kc-hjjb-stage-title{margin:0;color:#4f655f;font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjjb-stage-meta{margin:0;color:#88948f;font-size:8px;}.kc-hjjb-nodes{display:grid;gap:5px;margin-top:10px;max-height:300px;overflow-y:auto;padding:2px 3px 2px 1px;scrollbar-width:thin;scrollbar-color:rgba(83,108,104,.30) transparent;}.kc-hjjb-nodes::-webkit-scrollbar{width:5px;}.kc-hjjb-nodes::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(83,108,104,.25);}.kc-hjjb-nodes.c1,.kc-hjjb-nodes.c2{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-hjjb-nodes.c4{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-hjjb-nodes.c8{grid-template-columns:repeat(8,minmax(0,1fr));}.kc-hjjb-node{min-width:0;min-height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(83,108,104,.14);border-radius:10px;background:rgba(255,255,255,.84);color:#667872;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease;animation:kcHjjbGrow .28s ease-out both;}.kc-hjjb-node:hover,.kc-hjjb-node:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.36);outline:none;}.kc-hjjb-node.on{border-color:#4e8050;background:linear-gradient(145deg,rgba(78,128,80,.10),rgba(63,111,171,.07));box-shadow:0 5px 12px rgba(34,65,58,.08);}.kc-hjjb-node>b{padding:8px 9px;border:1px solid rgba(83,108,104,.20);border-radius:50%;font:900 13px/1 "Songti SC","STSong",serif;}.kc-hjjb-node>small{max-width:100%;overflow:hidden;color:#8b9792;font-size:7px;text-overflow:ellipsis;white-space:nowrap;}.kc-hjjb-yao-stack{display:flex;flex-direction:column;gap:2px;width:20px;}.kc-hjjb-yao{display:block;height:2px;border-radius:1px;background:#4e8050;}.kc-hjjb-yao.yin{display:flex;justify-content:space-between;background:transparent;}.kc-hjjb-yao.yin i{width:41%;height:2px;border-radius:1px;background:#3f6fab;}.kc-hjjb-node.on .kc-hjjb-yao{background:#315f53;}.kc-hjjb-node.on .kc-hjjb-yao.yin i{background:#315f53;}@keyframes kcHjjbGrow{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
.kc-hjjb-detail{margin-top:9px;padding:10px 11px;border:1px solid var(--hjjb-detail,#536c68);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjjb-detail b{display:block;color:var(--hjjb-detail,#536c68);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjjb-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjjb-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjjb-detail[data-el="木"]{--hjjb-detail:#4e8050;}.kc-hjjb-detail[data-el="火"]{--hjjb-detail:#c95c4f;}.kc-hjjb-detail[data-el="土"]{--hjjb-detail:#b88938;}.kc-hjjb-detail[data-el="金"]{--hjjb-detail:#69748b;}.kc-hjjb-detail[data-el="水"]{--hjjb-detail:#3f6fab;}.kc-hjjb-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(83,108,104,.07);color:#657771;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjjb-console,body.theme-dark .kc-hjjb-stage,body.theme-dark .kc-hjjb-node,body.theme-dark .kc-hjjb-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjjb-stage{background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.07) 1px,transparent 0);}body.theme-dark .kc-hjjb-detail span,body.theme-dark .kc-hjjb-detail em{color:#a5b7b0;}body.theme-dark .kc-hjjb-result{background:rgba(83,108,104,.12);color:#b8c7c2;}
@media(max-width:520px){.kc-hjjb-console{margin-top:60px;padding:10px;}.kc-hjjb-progress span{font-size:6.6px;}.kc-hjjb-progress i{width:5px;}.kc-hjjb-controls{grid-template-columns:1fr 1fr;}.kc-hjjb-btn.reset{grid-column:span 2;}.kc-hjjb-nodes.c8{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-hjjb-node{min-height:49px;}.kc-hjjb-node>small{font-size:6.5px;}}
@media(prefers-reduced-motion:reduce){.kc-hjjb-node{animation:none;}}
/* 皇极经世四象衍易矩阵 */
.kc-hjsx-card{--kc-card-accent:#5d6a60;--kc-card-soft:rgba(93,106,96,.10);}.kc-hjsx-board-wrap{max-width:520px;margin:30px auto 0;padding:10px 10px 9px;border:1px solid rgba(93,106,96,.15);border-radius:17px;background:linear-gradient(135deg,rgba(63,111,171,.05),rgba(255,255,255,.88),rgba(184,137,56,.06));box-sizing:border-box;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(93,106,96,.28) transparent;}.kc-hjsx-board-wrap::-webkit-scrollbar{height:5px;}.kc-hjsx-board-wrap::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(93,106,96,.24);}.kc-hjsx-board{display:grid;grid-template-columns:58px repeat(5,minmax(49px,1fr));gap:5px;min-width:320px;}.kc-hjsx-corner,.kc-hjsx-head,.kc-hjsx-row,.kc-hjsx-cell{min-width:0;border:1px solid rgba(93,106,96,.13);border-radius:10px;background:rgba(255,255,255,.80);color:#65756f;}.kc-hjsx-corner{display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(93,106,96,.06);}.kc-hjsx-corner b{font:900 10px/1 "Songti SC","STSong",serif;color:#586861;}.kc-hjsx-corner small{margin-top:3px;color:#929c97;font-size:6.5px;}.kc-hjsx-head,.kc-hjsx-row,.kc-hjsx-cell{cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease;}.kc-hjsx-head{min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;}.kc-hjsx-head b{font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjsx-head small{margin-top:3px;color:#939d98;font-size:6.4px;}.kc-hjsx-row{min-height:47px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(93,106,96,.045);}.kc-hjsx-row b{font:900 10px/1 "Songti SC","STSong",serif;}.kc-hjsx-row small{margin-top:3px;color:#9aa49f;font-size:7px;}.kc-hjsx-cell{min-height:47px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--hjsx-cell,#4f6d87);}.kc-hjsx-cell b{font:900 15px/1 "Songti SC","STSong",serif;}.kc-hjsx-cell small{margin-top:3px;color:#9aa49f;font-size:6.5px;}.kc-hjsx-cell[data-el="火"]{--hjsx-cell:#c95c4f;}.kc-hjsx-cell[data-el="水"]{--hjsx-cell:#3f6fab;}.kc-hjsx-cell[data-el="土"]{--hjsx-cell:#b88938;}.kc-hjsx-cell[data-el="木"]{--hjsx-cell:#4e8050;}.kc-hjsx-cell[data-el="金"]{--hjsx-cell:#69748b;}.kc-hjsx-head:hover,.kc-hjsx-head:focus-visible,.kc-hjsx-row:hover,.kc-hjsx-row:focus-visible,.kc-hjsx-cell:hover,.kc-hjsx-cell:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.34);outline:none;}.kc-hjsx-head.axis,.kc-hjsx-row.axis{border-color:rgba(63,111,171,.34);background:rgba(63,111,171,.06);}.kc-hjsx-cell.axis{background:rgba(93,106,96,.045);}.kc-hjsx-cell.on{border-color:currentColor;background:rgba(93,106,96,.10);box-shadow:0 5px 12px rgba(34,65,58,.09);transform:translateY(-1px);}
.kc-hjsx-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjsx-detail,#5d6a60);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjsx-detail b{display:block;color:var(--hjsx-detail,#5d6a60);font:900 16px/1.1 "Songti SC","STSong",serif;}.kc-hjsx-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjsx-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjsx-detail[data-el="火"]{--hjsx-detail:#c95c4f;}.kc-hjsx-detail[data-el="水"]{--hjsx-detail:#3f6fab;}.kc-hjsx-detail[data-el="土"]{--hjsx-detail:#b88938;}.kc-hjsx-detail[data-el="木"]{--hjsx-detail:#4e8050;}.kc-hjsx-detail[data-el="金"]{--hjsx-detail:#69748b;}.kc-hjsx-note{display:flex;justify-content:space-between;gap:8px;max-width:520px;margin:7px auto 0;color:#8f9994;font-size:7.5px;}.kc-hjsx-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(93,106,96,.07);color:#66766f;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjsx-board-wrap,body.theme-dark .kc-hjsx-corner,body.theme-dark .kc-hjsx-head,body.theme-dark .kc-hjsx-row,body.theme-dark .kc-hjsx-cell,body.theme-dark .kc-hjsx-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjsx-detail span,body.theme-dark .kc-hjsx-detail em{color:#a5b7b0;}body.theme-dark .kc-hjsx-result{background:rgba(93,106,96,.12);color:#b9c6bd;}
@media(max-width:520px){.kc-hjsx-board-wrap{margin-top:60px;padding:8px;}.kc-hjsx-board{grid-template-columns:52px repeat(5,minmax(47px,1fr));gap:4px;min-width:310px;}.kc-hjsx-head,.kc-hjsx-row,.kc-hjsx-cell{min-height:43px;border-radius:8px;}.kc-hjsx-note{display:block;line-height:1.5;}.kc-hjsx-note span{display:block;}}
/* 皇极经世皇帝王伯四阶段 */
.kc-hjwb-card{--kc-card-accent:#71664e;--kc-card-soft:rgba(113,102,78,.10);}.kc-hjwb-axis{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto;align-items:center;gap:6px;max-width:520px;margin:30px auto 0;}.kc-hjwb-axis span{color:#98a09b;font:900 11px/1 "Songti SC","STSong",serif;transition:color .18s ease,transform .18s ease;}.kc-hjwb-axis span.on{color:#557a6f;transform:translateY(-1px);}.kc-hjwb-axis i{height:1px;background:linear-gradient(90deg,rgba(113,102,78,.16),rgba(113,102,78,.34),rgba(113,102,78,.16));}.kc-hjwb-ladder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:7px;max-width:520px;height:170px;margin:12px auto 0;padding:0 2px;box-sizing:border-box;}.kc-hjwb-stage{position:relative;height:var(--h);min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:7px 5px 8px;border:1px solid var(--hjwb-line,rgba(113,102,78,.16));border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(248,249,246,.82));color:var(--hjwb-color,#6f776f);cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}.kc-hjwb-stage[data-level="4"]{--h:158px;}.kc-hjwb-stage[data-level="3"]{--h:127px;}.kc-hjwb-stage[data-level="2"]{--h:97px;}.kc-hjwb-stage[data-level="1"]{--h:68px;}.kc-hjwb-bar{position:absolute;left:8px;right:8px;bottom:7px;height:3px;border-radius:999px;background:currentColor;opacity:.34;}.kc-hjwb-stage b{position:relative;z-index:1;font:900 23px/1 "Songti SC","STSong",serif;}.kc-hjwb-stage small{position:relative;z-index:1;margin-top:4px;font:900 9px/1 "Songti SC","STSong",serif;}.kc-hjwb-stage em{position:relative;z-index:1;margin-top:4px;max-width:100%;overflow:hidden;color:#8d9792;font-size:6.8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap;}.kc-hjwb-stage[data-el="土"]{--hjwb-color:#b88938;--hjwb-line:rgba(184,137,56,.34);}.kc-hjwb-stage[data-el="木"]{--hjwb-color:#4e8050;--hjwb-line:rgba(78,128,80,.32);}.kc-hjwb-stage[data-el="火"]{--hjwb-color:#c95c4f;--hjwb-line:rgba(201,92,79,.32);}.kc-hjwb-stage[data-el="金"]{--hjwb-color:#69748b;--hjwb-line:rgba(105,116,139,.32);}.kc-hjwb-stage:hover,.kc-hjwb-stage:focus-visible{transform:translateY(-2px);border-color:var(--hjwb-color);outline:none;}.kc-hjwb-stage.on{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.72));box-shadow:0 8px 18px rgba(42,61,56,.09);transform:translateY(-2px);}.kc-hjwb-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjwb-detail,#71664e);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjwb-detail b{display:block;color:var(--hjwb-detail,#71664e);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjwb-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjwb-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjwb-detail[data-el="土"]{--hjwb-detail:#b88938;}.kc-hjwb-detail[data-el="木"]{--hjwb-detail:#4e8050;}.kc-hjwb-detail[data-el="火"]{--hjwb-detail:#c95c4f;}.kc-hjwb-detail[data-el="金"]{--hjwb-detail:#69748b;}.kc-hjwb-direction{display:flex;justify-content:space-between;gap:8px;max-width:520px;margin:7px auto 0;color:#8f9994;font-size:7.2px;}.kc-hjwb-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(113,102,78,.07);color:#706957;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjwb-stage,body.theme-dark .kc-hjwb-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjwb-detail span,body.theme-dark .kc-hjwb-detail em{color:#a5b7b0;}body.theme-dark .kc-hjwb-result{background:rgba(113,102,78,.12);color:#c3bba8;}
@media(max-width:520px){.kc-hjwb-axis{margin-top:60px;}.kc-hjwb-ladder{height:156px;gap:5px;}.kc-hjwb-stage{padding:6px 4px 7px;border-radius:10px;}.kc-hjwb-stage[data-level="4"]{--h:145px;}.kc-hjwb-stage[data-level="3"]{--h:117px;}.kc-hjwb-stage[data-level="2"]{--h:89px;}.kc-hjwb-stage[data-level="1"]{--h:62px;}.kc-hjwb-stage b{font-size:20px;}.kc-hjwb-stage em{display:none;}.kc-hjwb-direction{display:block;line-height:1.5;}.kc-hjwb-direction span{display:block;}}
/* 皇极经世邵雍与先天学 */
.kc-hjsy-card{--kc-card-accent:#6e5e51;--kc-card-soft:rgba(110,94,81,.10);}.kc-hjsy-map{position:relative;width:100%;max-width:520px;aspect-ratio:5/3.35;margin:28px auto 0;border:1px solid rgba(110,94,81,.13);border-radius:18px;background:radial-gradient(circle at 50% 50%,rgba(184,137,56,.09),transparent 29%),radial-gradient(circle at 50% 50%,rgba(63,111,171,.06),transparent 60%),rgba(255,255,255,.50);overflow:hidden;}.kc-hjsy-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}.kc-hjsy-lines line{stroke:rgba(90,107,101,.18);stroke-width:1.3;transition:stroke .2s ease,stroke-width .2s ease,opacity .2s ease;stroke-linecap:round;}.kc-hjsy-lines line.active{stroke-width:3;stroke-dasharray:7 4;animation:kcHjsyDash .9s linear infinite;filter:drop-shadow(0 0 3px currentColor);}.kc-hjsy-lines line[data-hjsy-line="0"].active{stroke:#b88938;}.kc-hjsy-lines line[data-hjsy-line="1"].active{stroke:#4e8050;}.kc-hjsy-lines line[data-hjsy-line="2"].active{stroke:#3f6fab;}.kc-hjsy-lines line[data-hjsy-line="3"].active{stroke:#69748b;}.kc-hjsy-lines line[data-hjsy-line="4"].active{stroke:#c95c4f;}.kc-hjsy-lines line[data-hjsy-line="5"].active{stroke:#9a7b46;}@keyframes kcHjsyDash{to{stroke-dashoffset:-11}}.kc-hjsy-node{position:absolute;z-index:2;width:82px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjsy-line,rgba(90,107,101,.22));border-radius:12px;background:rgba(255,255,255,.90);color:var(--hjsy-color,#62736d);cursor:pointer;transform:translate(-50%,-50%);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}.kc-hjsy-node b{font:900 10.5px/1.1 "Songti SC","STSong",serif;text-align:center;}.kc-hjsy-node small{margin-top:3px;font-size:6.8px;color:#909b96;}.kc-hjsy-node:hover,.kc-hjsy-node:focus-visible{border-color:var(--hjsy-color);outline:none;box-shadow:0 6px 14px rgba(34,65,58,.10);}.kc-hjsy-node.on{border-color:var(--hjsy-color);background:linear-gradient(145deg,rgba(255,255,255,.97),var(--hjsy-soft,rgba(184,137,56,.09)));box-shadow:0 7px 16px rgba(34,65,58,.10);}.kc-hjsy-node.center{left:50%;top:50%;width:88px;min-height:58px;color:#9a7138;--hjsy-line:rgba(184,137,56,.42);--hjsy-soft:rgba(184,137,56,.12);}.kc-hjsy-node.center b{font-size:17px;}.kc-hjsy-node.n1{left:21%;top:19%;}.kc-hjsy-node.n2{left:79%;top:19%;}.kc-hjsy-node.n3{left:82%;top:50%;}.kc-hjsy-node.n4{left:75%;top:82%;}.kc-hjsy-node.n5{left:25%;top:82%;}.kc-hjsy-node.n6{left:10%;top:50%;}.kc-hjsy-node[data-el="木"]{--hjsy-color:#4e8050;--hjsy-soft:rgba(78,128,80,.10);}.kc-hjsy-node[data-el="火"]{--hjsy-color:#c95c4f;--hjsy-soft:rgba(201,92,79,.10);}.kc-hjsy-node[data-el="土"]{--hjsy-color:#b88938;--hjsy-soft:rgba(184,137,56,.11);}.kc-hjsy-node[data-el="金"]{--hjsy-color:#69748b;--hjsy-soft:rgba(105,116,139,.10);}.kc-hjsy-node[data-el="水"]{--hjsy-color:#3f6fab;--hjsy-soft:rgba(63,111,171,.10);}
.kc-hjsy-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjsy-detail,#6e5e51);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjsy-detail b{display:block;color:var(--hjsy-detail,#6e5e51);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjsy-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjsy-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjsy-detail[data-el="木"]{--hjsy-detail:#4e8050;}.kc-hjsy-detail[data-el="火"]{--hjsy-detail:#c95c4f;}.kc-hjsy-detail[data-el="土"]{--hjsy-detail:#b88938;}.kc-hjsy-detail[data-el="金"]{--hjsy-detail:#69748b;}.kc-hjsy-detail[data-el="水"]{--hjsy-detail:#3f6fab;}.kc-hjsy-foot{display:flex;justify-content:center;gap:5px;max-width:520px;margin:7px auto 0;flex-wrap:wrap;}.kc-hjsy-foot span{padding:4px 7px;border:1px dashed rgba(110,94,81,.19);border-radius:999px;color:#867d72;font-size:7px;}.kc-hjsy-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(110,94,81,.07);color:#70685d;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjsy-map,body.theme-dark .kc-hjsy-node,body.theme-dark .kc-hjsy-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjsy-detail span,body.theme-dark .kc-hjsy-detail em{color:#a5b7b0;}body.theme-dark .kc-hjsy-result{background:rgba(110,94,81,.12);color:#c2b8ad;}
@media(prefers-reduced-motion:reduce){.kc-hjsy-lines line.active{animation:none;}}@media(max-width:520px){.kc-hjsy-map{width:100%;max-width:100%;margin-top:60px;aspect-ratio:1/1.12;}.kc-hjsy-node{width:70px;min-height:44px;}.kc-hjsy-node.center{width:76px;min-height:52px;}.kc-hjsy-node.n1{left:22%;top:18%;}.kc-hjsy-node.n2{left:78%;top:18%;}.kc-hjsy-node.n3{left:82%;top:50%;}.kc-hjsy-node.n4{left:72%;top:82%;}.kc-hjsy-node.n5{left:28%;top:82%;}.kc-hjsy-node.n6{left:18%;top:50%;}.kc-hjsy-node b{font-size:9.5px;}.kc-hjsy-node small{font-size:6px;}}
/* 皇极经世观物内外篇 */
.kc-hjgw-card{--kc-card-accent:#626a66;--kc-card-soft:rgba(98,106,102,.10);}.kc-hjgw-quote{max-width:520px;margin:30px auto 0;padding:12px 14px;border:1px solid rgba(98,106,102,.15);border-radius:15px;background:linear-gradient(135deg,rgba(184,137,56,.06),rgba(255,255,255,.86),rgba(63,111,171,.05));box-sizing:border-box;}.kc-hjgw-quote b{display:block;color:#5a6863;font:900 13px/1.5 "Songti SC","STSong",serif;}.kc-hjgw-quote small{display:block;margin-top:5px;color:#8f9994;font-size:7.5px;}.kc-hjgw-compare{display:grid;grid-template-columns:1fr 38px 1fr;align-items:stretch;max-width:520px;margin:9px auto 0;}.kc-hjgw-pane{min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;border:1px solid rgba(98,106,102,.14);background:rgba(255,255,255,.82);cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;}.kc-hjgw-pane.self{border-radius:15px 0 0 15px;color:#b76456;}.kc-hjgw-pane.object{border-radius:0 15px 15px 0;color:#5b718b;}.kc-hjgw-pane span{display:grid;place-items:center;width:34px;height:34px;border:1px solid currentColor;border-radius:50%;font:900 17px/1 "Songti SC","STSong",serif;}.kc-hjgw-pane b{margin-top:7px;font:900 12px/1.1 "Songti SC","STSong",serif;}.kc-hjgw-pane small{margin-top:4px;color:#8e9994;font-size:7.5px;}.kc-hjgw-pane:hover,.kc-hjgw-pane:focus-visible{transform:translateY(-2px);border-color:currentColor;outline:none;}.kc-hjgw-pane.on{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(242,246,243,.88));border-color:currentColor;box-shadow:0 8px 18px rgba(40,59,54,.09);}.kc-hjgw-divider{display:grid;place-items:center;background:linear-gradient(180deg,rgba(98,106,102,.06),rgba(98,106,102,.14),rgba(98,106,102,.06));}.kc-hjgw-divider i{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(98,106,102,.28);border-radius:50%;background:#fff;color:#6f7d77;font:900 11px/1 "Songti SC","STSong",serif;font-style:normal;}.kc-hjgw-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:520px;margin:8px auto 0;}.kc-hjgw-methods button{min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(98,106,102,.13);border-radius:10px;background:#fff;color:#687873;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;}.kc-hjgw-methods button b{font:900 10.5px/1 "Songti SC","STSong",serif;}.kc-hjgw-methods button small{margin-top:3px;color:#929d98;font-size:6.8px;}.kc-hjgw-methods button:hover,.kc-hjgw-methods button:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.34);outline:none;}.kc-hjgw-methods button.on{border-color:#6f8c7f;background:linear-gradient(135deg,rgba(78,128,80,.10),rgba(63,111,171,.06));color:#4d746b;}.kc-hjgw-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjgw-detail,#626a66);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjgw-detail b{display:block;color:var(--hjgw-detail,#626a66);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjgw-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjgw-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjgw-detail[data-el="火"]{--hjgw-detail:#c95c4f;}.kc-hjgw-detail[data-el="金"]{--hjgw-detail:#69748b;}.kc-hjgw-detail[data-el="木"]{--hjgw-detail:#4e8050;}.kc-hjgw-detail[data-el="土"]{--hjgw-detail:#b88938;}.kc-hjgw-detail[data-el="水"]{--hjgw-detail:#3f6fab;}.kc-hjgw-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(98,106,102,.07);color:#66746f;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjgw-quote,body.theme-dark .kc-hjgw-pane,body.theme-dark .kc-hjgw-methods button,body.theme-dark .kc-hjgw-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjgw-detail span,body.theme-dark .kc-hjgw-detail em{color:#a5b7b0;}body.theme-dark .kc-hjgw-result{background:rgba(98,106,102,.12);color:#bbc6c1;}
@media(max-width:520px){.kc-hjgw-quote{margin-top:60px;}.kc-hjgw-compare{grid-template-columns:1fr 30px 1fr;}.kc-hjgw-pane{min-height:105px;padding:8px 5px;}.kc-hjgw-pane span{width:30px;height:30px;font-size:15px;}.kc-hjgw-pane b{font-size:10.5px;}.kc-hjgw-pane small{font-size:6.6px;}.kc-hjgw-methods{gap:4px;}.kc-hjgw-methods button{min-height:42px;padding:4px 2px;}.kc-hjgw-methods button b{font-size:9.5px;}.kc-hjgw-methods button small{font-size:6.2px;}}
/* 皇极经世积年换算 */
.kc-hjjn-card{--kc-card-accent:#5d6a68;--kc-card-soft:rgba(93,106,104,.10);}.kc-hjjn-console{max-width:520px;margin:30px auto 0;padding:12px;border:1px solid rgba(93,106,104,.15);border-radius:17px;background:linear-gradient(135deg,rgba(63,111,171,.055),rgba(255,255,255,.86),rgba(184,137,56,.055));box-sizing:border-box;}.kc-hjjn-input-wrap{display:grid;grid-template-columns:auto minmax(92px,140px) 1fr;align-items:center;gap:8px;}.kc-hjjn-input-wrap label{color:#65746f;font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjjn-input{width:100%;height:38px;padding:0 10px;border:1px solid rgba(63,111,171,.25);border-radius:10px;background:#fff;color:#3f6fab;font:900 17px/1 "Songti SC","STSong",serif;text-align:center;outline:none;box-sizing:border-box;}.kc-hjjn-input:focus{border-color:#3f6fab;box-shadow:0 0 0 3px rgba(63,111,171,.12);}.kc-hjjn-input-wrap>span{color:#929c97;font-size:7.5px;}.kc-hjjn-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px;}.kc-hjjn-steps button,.kc-hjjn-quick button{min-height:32px;border:1px solid rgba(93,106,104,.14);border-radius:9px;background:#fff;color:#687873;font-size:8.5px;font-weight:800;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;}.kc-hjjn-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:6px;}.kc-hjjn-steps button:hover,.kc-hjjn-quick button:hover,.kc-hjjn-steps button:focus-visible,.kc-hjjn-quick button:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.34);outline:none;}
.kc-hjjn-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:520px;margin:10px auto 0;}.kc-hjjn-cell{min-height:78px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjjn-line,rgba(93,106,104,.14));border-radius:11px;background:#fff;color:var(--hjjn-color,#60746c);cursor:pointer;transition:transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease;}.kc-hjjn-cell b{font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjjn-cell strong{margin-top:5px;font:900 12px/1 "Songti SC","STSong",serif;}.kc-hjjn-cell small{margin-top:5px;color:#929c97;font-size:6.4px;text-align:center;}.kc-hjjn-cell[data-el="土"]{--hjjn-color:#b88938;--hjjn-line:rgba(184,137,56,.34);}.kc-hjjn-cell[data-el="木"]{--hjjn-color:#4e8050;--hjjn-line:rgba(78,128,80,.32);}.kc-hjjn-cell[data-el="火"]{--hjjn-color:#c95c4f;--hjjn-line:rgba(201,92,79,.32);}.kc-hjjn-cell[data-el="金"]{--hjjn-color:#69748b;--hjjn-line:rgba(105,116,139,.32);}.kc-hjjn-cell[data-el="水"]{--hjjn-color:#3f6fab;--hjjn-line:rgba(63,111,171,.32);}.kc-hjjn-cell:hover,.kc-hjjn-cell:focus-visible{transform:translateY(-2px);border-color:var(--hjjn-color);outline:none;}.kc-hjjn-cell.on{border-color:var(--hjjn-color);background:linear-gradient(180deg,#fff,var(--hjjn-soft,rgba(63,111,171,.08)));box-shadow:0 7px 16px rgba(34,65,58,.09);transform:translateY(-2px);}.kc-hjjn-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjjn-detail,#5d6a68);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjjn-detail b{display:block;color:var(--hjjn-detail,#5d6a68);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjjn-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjjn-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjjn-detail[data-el="土"]{--hjjn-detail:#b88938;}.kc-hjjn-detail[data-el="木"]{--hjjn-detail:#4e8050;}.kc-hjjn-detail[data-el="火"]{--hjjn-detail:#c95c4f;}.kc-hjjn-detail[data-el="金"]{--hjjn-detail:#69748b;}.kc-hjjn-detail[data-el="水"]{--hjjn-detail:#3f6fab;}.kc-hjjn-formula{display:flex;align-items:center;gap:5px;max-width:520px;margin:7px auto 0;color:#8f9994;font-size:6.8px;overflow:hidden;}.kc-hjjn-formula i{flex:1;height:1px;background:rgba(93,106,104,.18);}.kc-hjjn-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(93,106,104,.07);color:#667671;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjjn-console,body.theme-dark .kc-hjjn-input,body.theme-dark .kc-hjjn-steps button,body.theme-dark .kc-hjjn-quick button,body.theme-dark .kc-hjjn-cell,body.theme-dark .kc-hjjn-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjjn-detail span,body.theme-dark .kc-hjjn-detail em{color:#a5b7b0;}body.theme-dark .kc-hjjn-result{background:rgba(93,106,104,.12);color:#b9c6c1;}
@media(max-width:520px){.kc-hjjn-console{margin-top:60px;padding:10px;}.kc-hjjn-input-wrap{grid-template-columns:auto 1fr;}.kc-hjjn-input-wrap>span{grid-column:2;}.kc-hjjn-steps{grid-template-columns:repeat(2,minmax(0,1fr));}.kc-hjjn-quick{grid-template-columns:repeat(3,minmax(0,1fr));}.kc-hjjn-levels{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;}.kc-hjjn-cell{min-height:68px;padding:5px 2px;}.kc-hjjn-cell strong{font-size:10px;}.kc-hjjn-cell small{display:none;}.kc-hjjn-formula{font-size:6px;}}
/* 皇极经世先天六十四卦方圆图 */
.kc-hjfy-card{--kc-card-accent:#66705e;--kc-card-soft:rgba(102,112,94,.10);}.kc-hjfy-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(170px,.8fr);gap:10px;align-items:center;max-width:520px;margin:30px auto 0;}.kc-hjfy-square-wrap{overflow-x:auto;padding-bottom:5px;scrollbar-width:thin;scrollbar-color:rgba(102,112,94,.26) transparent;}.kc-hjfy-square-wrap::-webkit-scrollbar{height:5px;}.kc-hjfy-square-wrap::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(102,112,94,.24);}.kc-hjfy-square{display:grid;grid-template-columns:29px repeat(8,minmax(33px,1fr));gap:3px;min-width:320px;}.kc-hjfy-corner,.kc-hjfy-head,.kc-hjfy-row,.kc-hjfy-cell{min-width:0;min-height:31px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(102,112,94,.12);border-radius:7px;background:rgba(255,255,255,.82);}.kc-hjfy-corner,.kc-hjfy-head,.kc-hjfy-row{color:#86918c;font:900 8px/1 "Songti SC","STSong",serif;}.kc-hjfy-corner{background:rgba(102,112,94,.06);font-size:6.5px;}.kc-hjfy-cell{flex-direction:column;color:#66756f;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;}.kc-hjfy-cell b{font:900 8.3px/1.05 "Songti SC","STSong",serif;text-align:center;}.kc-hjfy-cell small{margin-top:2px;color:#9aa39f;font-size:5.8px;}.kc-hjfy-cell:hover,.kc-hjfy-cell:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.32);outline:none;}.kc-hjfy-cell.on{border-color:#9a7b46;background:rgba(184,137,56,.12);box-shadow:0 5px 10px rgba(34,65,58,.08);}.kc-hjfy-circle{position:relative;width:100%;max-width:222px;aspect-ratio:1;margin:0 auto;border:1px solid rgba(102,112,94,.14);border-radius:50%;background:radial-gradient(circle,rgba(184,137,56,.07),rgba(255,255,255,.76) 70%);}.kc-hjfy-ring{position:absolute;inset:0;width:100%;height:100%;}.kc-hjfy-orbit{fill:none;stroke:rgba(102,112,94,.16);stroke-width:1;}.kc-hjfy-orbit.inner{stroke-dasharray:3 5;}.kc-hjfy-ring-point{cursor:pointer;}.kc-hjfy-ring-point line{stroke:rgba(102,112,94,.34);stroke-width:1;}.kc-hjfy-ring-point circle.dot{fill:#7f8f88;}.kc-hjfy-ring-point circle.hit{fill:transparent;pointer-events:all;}.kc-hjfy-ring-point.on line{stroke:#b88938;stroke-width:2.4;}.kc-hjfy-ring-point.on circle.dot{fill:#b88938;r:3.4;filter:drop-shadow(0 0 3px rgba(184,137,56,.55));}.kc-hjfy-center{position:absolute;left:50%;top:50%;width:74px;height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(184,137,56,.28);border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 6px 16px rgba(42,61,56,.08);}.kc-hjfy-center b{color:#9a7138;font:900 20px/1 "Songti SC","STSong",serif;}.kc-hjfy-center small{margin-top:4px;color:#929b97;font-size:7px;}.kc-hjfy-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjfy-detail,#66705e);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjfy-detail b{display:block;color:var(--hjfy-detail,#66705e);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjfy-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjfy-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjfy-detail[data-el="金"]{--hjfy-detail:#69748b;}.kc-hjfy-detail[data-el="木"]{--hjfy-detail:#4e8050;}.kc-hjfy-detail[data-el="火"]{--hjfy-detail:#c95c4f;}.kc-hjfy-detail[data-el="土"]{--hjfy-detail:#b88938;}.kc-hjfy-detail[data-el="水"]{--hjfy-detail:#3f6fab;}.kc-hjfy-note{display:flex;justify-content:space-between;gap:8px;max-width:520px;margin:7px auto 0;color:#8f9994;font-size:7.2px;}.kc-hjfy-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(102,112,94,.07);color:#66736b;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjfy-head,body.theme-dark .kc-hjfy-row,body.theme-dark .kc-hjfy-cell,body.theme-dark .kc-hjfy-center,body.theme-dark .kc-hjfy-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjfy-detail span,body.theme-dark .kc-hjfy-detail em{color:#a5b7b0;}body.theme-dark .kc-hjfy-result{background:rgba(102,112,94,.12);color:#bac6bc;}
@media(max-width:520px){.kc-hjfy-layout{grid-template-columns:1fr;margin-top:60px;}.kc-hjfy-square{min-width:100%;grid-template-columns:25px repeat(8,minmax(0,1fr));gap:2px;}.kc-hjfy-corner,.kc-hjfy-head,.kc-hjfy-row,.kc-hjfy-cell{min-height:29px;border-radius:6px;}.kc-hjfy-cell b{font-size:7px;}.kc-hjfy-cell small{font-size:5px;}.kc-hjfy-circle{max-width:210px;}.kc-hjfy-note{display:block;line-height:1.5;}.kc-hjfy-note span{display:block;}}
/* 皇极经世十二辟卦与节气 */
.kc-hjbj-card{--kc-card-accent:#596d67;--kc-card-soft:rgba(89,109,103,.10);}.kc-hjbj-dial{position:relative;width:min(360px,calc(100vw - 64px));height:min(360px,calc(100vw - 64px));box-sizing:border-box;margin:28px auto 0;border:1px solid rgba(89,109,103,.14);border-radius:50%;background:radial-gradient(circle,rgba(184,137,56,.06),transparent 32%),radial-gradient(circle,rgba(63,111,171,.04),transparent 68%),rgba(255,255,255,.48);}.kc-hjbj-orbit{position:absolute;left:50%;top:50%;width:82%;height:82%;border:1px solid rgba(89,109,103,.16);border-radius:50%;transform:translate(-50%,-50%);}.kc-hjbj-node{position:absolute;z-index:3;width:54px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjbj-line,rgba(89,109,103,.20));border-radius:10px;background:rgba(255,255,255,.92);color:var(--hjbj-color,#65756f);cursor:pointer;transform:translate(-50%,-50%);transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;}.kc-hjbj-node b{font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjbj-node small{margin-top:3px;color:#909a95;font-size:6.5px;}.kc-hjbj-node:hover,.kc-hjbj-node:focus-visible{border-color:var(--hjbj-color);outline:none;box-shadow:0 6px 12px rgba(34,65,58,.09);}.kc-hjbj-node.on{border-color:var(--hjbj-color);background:linear-gradient(145deg,#fff,var(--hjbj-soft,rgba(63,111,171,.09)));box-shadow:0 7px 15px rgba(34,65,58,.10);transform:translate(-50%,-50%) scale(1.06);}.kc-hjbj-node[data-el="水"]{--hjbj-color:#3f6fab;--hjbj-soft:rgba(63,111,171,.10);}.kc-hjbj-node[data-el="木"]{--hjbj-color:#4e8050;--hjbj-soft:rgba(78,128,80,.10);}.kc-hjbj-node[data-el="火"]{--hjbj-color:#c95c4f;--hjbj-soft:rgba(201,92,79,.10);}.kc-hjbj-node[data-el="金"]{--hjbj-color:#69748b;--hjbj-soft:rgba(105,116,139,.10);}.kc-hjbj-node[data-el="土"]{--hjbj-color:#b88938;--hjbj-soft:rgba(184,137,56,.11);}.kc-hjbj-node.n1{left:50%;top:7%;}.kc-hjbj-node.n2{left:63.7%;top:12.1%;}.kc-hjbj-node.n3{left:72.4%;top:25.9%;}.kc-hjbj-node.n4{left:74%;top:50%;}.kc-hjbj-node.n5{left:72.4%;top:74.1%;}.kc-hjbj-node.n6{left:63.7%;top:87.9%;}.kc-hjbj-node.n7{left:50%;top:93%;}.kc-hjbj-node.n8{left:36.3%;top:87.9%;}.kc-hjbj-node.n9{left:27.6%;top:74.1%;}.kc-hjbj-node.n10{left:26%;top:50%;}.kc-hjbj-node.n11{left:27.6%;top:25.9%;}.kc-hjbj-node.n12{left:36.3%;top:12.1%;}
.kc-hjbj-center{position:absolute;z-index:2;left:50%;top:50%;width:94px;height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(89,109,103,.18);border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 8px 20px rgba(38,57,52,.09);}.kc-hjbj-center-name{color:#5d746c;font:900 19px/1 "Songti SC","STSong",serif;}.kc-hjbj-yao{display:flex;flex-direction:column;gap:2px;width:28px;margin-top:5px;}.kc-hjbj-line{display:block;height:3px;border-radius:1px;background:#c34e45;}.kc-hjbj-line.yin{display:flex;justify-content:space-between;background:transparent;}.kc-hjbj-line.yin i{width:42%;height:3px;border-radius:1px;background:#2f373a;}.kc-hjbj-center-meta{margin-top:5px;color:#8a9691;font-size:6.5px;}.kc-hjbj-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;max-width:520px;margin:9px auto 0;}.kc-hjbj-nav button{min-height:34px;border:1px solid rgba(89,109,103,.14);border-radius:9px;background:#fff;color:#687873;font-size:9px;font-weight:800;cursor:pointer;}.kc-hjbj-nav button:hover,.kc-hjbj-nav button:focus-visible{border-color:rgba(63,111,171,.34);outline:none;}.kc-hjbj-nav span{color:#8b9691;font-size:7.5px;text-align:center;}.kc-hjbj-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjbj-detail,#596d67);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjbj-detail b{display:block;color:var(--hjbj-detail,#596d67);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjbj-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjbj-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjbj-detail[data-el="水"]{--hjbj-detail:#3f6fab;}.kc-hjbj-detail[data-el="木"]{--hjbj-detail:#4e8050;}.kc-hjbj-detail[data-el="火"]{--hjbj-detail:#c95c4f;}.kc-hjbj-detail[data-el="金"]{--hjbj-detail:#69748b;}.kc-hjbj-detail[data-el="土"]{--hjbj-detail:#b88938;}.kc-hjbj-legend{display:flex;align-items:center;justify-content:center;gap:8px;max-width:520px;margin:7px auto 0;color:#8e9994;font-size:7px;}.kc-hjbj-legend i{width:42px;height:1px;background:linear-gradient(90deg,#c34e45,#2f373a);}.kc-hjbj-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(89,109,103,.07);color:#66766f;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjbj-dial,body.theme-dark .kc-hjbj-node,body.theme-dark .kc-hjbj-center,body.theme-dark .kc-hjbj-nav button,body.theme-dark .kc-hjbj-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjbj-detail span,body.theme-dark .kc-hjbj-detail em{color:#a5b7b0;}body.theme-dark .kc-hjbj-result{background:rgba(89,109,103,.12);color:#b9c6c1;}
@media(max-width:520px){.kc-hjbj-dial{margin-top:60px;}.kc-hjbj-node{width:46px;min-height:34px;border-radius:8px;}.kc-hjbj-node b{font-size:10px;}.kc-hjbj-node small{font-size:6px;}.kc-hjbj-center{width:82px;height:82px;}.kc-hjbj-center-name{font-size:17px;}.kc-hjbj-yao{width:24px;}.kc-hjbj-center-meta{font-size:6px;}.kc-hjbj-nav span{font-size:6.8px;}.kc-hjbj-legend{font-size:6.5px;}}
/* 皇极经世先天卦序与二进制 */
.kc-hjbs-card{--kc-card-accent:#5b6874;--kc-card-soft:rgba(91,104,116,.10);}.kc-hjbs-direction{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:520px;margin:30px auto 0;}.kc-hjbs-direction button{min-height:36px;border:1px solid rgba(91,104,116,.16);border-radius:10px;background:#fff;color:#6c7a84;font-size:9px;font-weight:800;cursor:pointer;}.kc-hjbs-direction button.on{border-color:#5b718b;background:linear-gradient(135deg,rgba(91,113,139,.12),rgba(184,137,56,.07));color:#4c6580;}.kc-hjbs-work{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:9px;max-width:520px;margin:9px auto 0;}.kc-hjbs-lines{display:flex;flex-direction:column;gap:5px;}.kc-hjbs-line{min-height:42px;display:grid;grid-template-columns:1fr 44px;align-items:center;gap:7px;border:1px solid rgba(91,104,116,.13);border-radius:10px;background:#fff;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;}.kc-hjbs-line:hover,.kc-hjbs-line:focus-visible{transform:translateY(-1px);border-color:rgba(63,111,171,.34);outline:none;}.kc-hjbs-bar{display:flex;justify-content:center;gap:7px;padding:0 10px;}.kc-hjbs-bar i{display:block;width:100%;height:4px;border-radius:2px;background:#c34e45;}.kc-hjbs-line.yin .kc-hjbs-bar i{width:42%;}.kc-hjbs-line.yin .kc-hjbs-bar i:nth-child(2){background:#2f373a;}.kc-hjbs-line small{color:#8d9893;font-size:7.5px;}.kc-hjbs-line.yang small{color:#b35249;}.kc-hjbs-line.yin small{color:#3f4b4d;}.kc-hjbs-readout{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;border:1px solid rgba(91,104,116,.14);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(244,247,249,.88));box-sizing:border-box;}.kc-hjbs-readout>span{color:#8c9792;font-size:7.5px;}.kc-hjbs-sequence{margin-top:5px;color:#425d75;font:900 21px/1 ui-monospace,Consolas,monospace;letter-spacing:.08em;}.kc-hjbs-value{margin-top:5px;color:#86938d;font-size:7.5px;}.kc-hjbs-trigrams{display:flex;gap:8px;margin-top:9px;}.kc-hjbs-trigrams span{color:#8d9893;font-size:8px;}.kc-hjbs-trigrams b{color:#5d7485;font:900 12px/1 "Songti SC","STSong",serif;}.kc-hjbs-name{margin-top:9px;color:#9a7138;font:900 13px/1 "Songti SC","STSong",serif;}.kc-hjbs-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:520px;margin:8px auto 0;}.kc-hjbs-presets button{min-height:32px;border:1px solid rgba(91,104,116,.14);border-radius:9px;background:#fff;color:#687984;font-size:8.5px;font-weight:800;cursor:pointer;}.kc-hjbs-presets button:hover,.kc-hjbs-presets button:focus-visible{border-color:rgba(63,111,171,.34);outline:none;}.kc-hjbs-codes{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;max-width:520px;margin:8px auto 0;}.kc-hjbs-codes span{min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed rgba(91,104,116,.17);border-radius:9px;background:rgba(255,255,255,.70);}.kc-hjbs-codes b{color:#5d7485;font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjbs-codes small{margin-top:3px;color:#929d98;font-size:6px;}.kc-hjbs-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjbs-detail,#5b6874);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjbs-detail b{display:block;color:var(--hjbs-detail,#5b6874);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjbs-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjbs-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjbs-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(91,104,116,.07);color:#66747e;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjbs-direction button,body.theme-dark .kc-hjbs-line,body.theme-dark .kc-hjbs-readout,body.theme-dark .kc-hjbs-presets button,body.theme-dark .kc-hjbs-codes span,body.theme-dark .kc-hjbs-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjbs-detail span,body.theme-dark .kc-hjbs-detail em{color:#a5b7b0;}body.theme-dark .kc-hjbs-result{background:rgba(91,104,116,.12);color:#b8c2cc;}
@media(max-width:520px){.kc-hjbs-direction{margin-top:60px;}.kc-hjbs-work{grid-template-columns:1fr;}.kc-hjbs-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.kc-hjbs-line{min-height:38px;grid-template-columns:1fr 34px;}.kc-hjbs-codes{grid-template-columns:repeat(4,minmax(0,1fr));}.kc-hjbs-sequence{font-size:19px;}}
/* 皇极经世声音唱和图 */
.kc-hjsc-card{--kc-card-accent:#5f6c73;--kc-card-soft:rgba(95,108,115,.10);}.kc-hjsc-stage{max-width:520px;margin:30px auto 0;padding:11px;border:1px solid rgba(95,108,115,.15);border-radius:17px;background:linear-gradient(135deg,rgba(63,111,171,.05),rgba(255,255,255,.88),rgba(184,137,56,.055));box-sizing:border-box;}.kc-hjsc-grid{display:grid;grid-template-columns:60px repeat(4,minmax(0,1fr));gap:5px;}.kc-hjsc-corner,.kc-hjsc-col,.kc-hjsc-row,.kc-hjsc-cell{min-width:0;min-height:43px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(95,108,115,.13);border-radius:10px;background:rgba(255,255,255,.84);}.kc-hjsc-corner{color:#8a9691;font:900 8px/1.2 "Songti SC","STSong",serif;text-align:center;}.kc-hjsc-col,.kc-hjsc-row{color:#687a83;font:900 12px/1 "Songti SC","STSong",serif;background:rgba(95,108,115,.045);}.kc-hjsc-cell{flex-direction:column;color:var(--hjsc-color,#5e7485);cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease;}.kc-hjsc-cell b{font:900 13px/1 "Songti SC","STSong",serif;}.kc-hjsc-cell small{margin-top:3px;color:#929d98;font-size:6.6px;}.kc-hjsc-cell[data-el="火"]{--hjsc-color:#c95c4f;}.kc-hjsc-cell[data-el="水"]{--hjsc-color:#3f6fab;}.kc-hjsc-cell[data-el="土"]{--hjsc-color:#b88938;}.kc-hjsc-cell[data-el="金"]{--hjsc-color:#69748b;}.kc-hjsc-cell:hover,.kc-hjsc-cell:focus-visible{transform:translateY(-1px);border-color:var(--hjsc-color);outline:none;}.kc-hjsc-cell.axis{background:rgba(95,108,115,.045);}.kc-hjsc-cell.on{border-color:var(--hjsc-color);background:linear-gradient(145deg,#fff,rgba(95,108,115,.09));box-shadow:0 6px 14px rgba(34,65,58,.09);}.kc-hjsc-axes{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:#8d9893;font-size:7px;}.kc-hjsc-axes b{color:#5d7485;}.kc-hjsc-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjsc-detail,#5f6c73);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjsc-detail b{display:block;color:var(--hjsc-detail,#5f6c73);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjsc-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjsc-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjsc-detail[data-el="火"]{--hjsc-detail:#c95c4f;}.kc-hjsc-detail[data-el="水"]{--hjsc-detail:#3f6fab;}.kc-hjsc-detail[data-el="土"]{--hjsc-detail:#b88938;}.kc-hjsc-detail[data-el="金"]{--hjsc-detail:#69748b;}.kc-hjsc-flow{display:flex;align-items:center;gap:5px;max-width:520px;margin:8px auto 0;color:#7d8a85;font-size:7px;}.kc-hjsc-flow i{flex:1;height:1px;background:linear-gradient(90deg,rgba(95,108,115,.10),rgba(95,108,115,.34),rgba(95,108,115,.10));}.kc-hjsc-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(95,108,115,.07);color:#66747a;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjsc-stage,body.theme-dark .kc-hjsc-corner,body.theme-dark .kc-hjsc-col,body.theme-dark .kc-hjsc-row,body.theme-dark .kc-hjsc-cell,body.theme-dark .kc-hjsc-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjsc-detail span,body.theme-dark .kc-hjsc-detail em{color:#a5b7b0;}body.theme-dark .kc-hjsc-result{background:rgba(95,108,115,.12);color:#b8c3c8;}
@media(max-width:520px){.kc-hjsc-stage{margin-top:60px;padding:8px;}.kc-hjsc-grid{grid-template-columns:48px repeat(4,minmax(0,1fr));gap:4px;}.kc-hjsc-corner,.kc-hjsc-col,.kc-hjsc-row,.kc-hjsc-cell{min-height:39px;border-radius:8px;}.kc-hjsc-col,.kc-hjsc-row{font-size:11px;}.kc-hjsc-cell b{font-size:12px;}.kc-hjsc-cell small{font-size:6px;}.kc-hjsc-axes{display:block;line-height:1.5;}.kc-hjsc-axes span{display:block;}.kc-hjsc-flow{font-size:6.3px;}}
/* 皇极经世体系边界 */
.kc-hjbd-card{--kc-card-accent:#6d6156;--kc-card-soft:rgba(109,97,86,.10);}.kc-hjbd-map{position:relative;width:100%;max-width:520px;height:240px;margin:28px auto 0;border:1px solid rgba(109,97,86,.14);border-radius:18px;background:radial-gradient(circle at 50% 50%,rgba(184,137,56,.07),transparent 35%),linear-gradient(135deg,rgba(63,111,171,.035),rgba(255,255,255,.62));overflow:hidden;}.kc-hjbd-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}.kc-hjbd-lines path,.kc-hjbd-lines line{fill:none;stroke:rgba(109,97,86,.18);stroke-width:1.4;transition:stroke .2s ease,stroke-width .2s ease;}.kc-hjbd-lines line.active{stroke:#8a765e;stroke-width:2.6;}.kc-hjbd-node,.kc-hjbd-center{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjbd-line,rgba(109,97,86,.20));border-radius:13px;background:rgba(255,255,255,.92);color:var(--hjbd-color,#65766f);cursor:pointer;transform:translate(-50%,-50%);transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;}.kc-hjbd-node{width:126px;min-height:56px;}.kc-hjbd-node b{font:900 12px/1 "Songti SC","STSong",serif;}.kc-hjbd-node small{margin-top:4px;color:#909a95;font-size:6.8px;text-align:center;}.kc-hjbd-node.n1{left:50%;top:23%;}.kc-hjbd-node.n2{left:22%;top:77%;}.kc-hjbd-node.n3{left:78%;top:77%;}.kc-hjbd-center{width:88px;min-height:52px;border-color:rgba(154,123,70,.34);color:#9a7138;background:#fff;}.kc-hjbd-center{left:50%;top:54%;}.kc-hjbd-center b{font:900 15px/1 "Songti SC","STSong",serif;}.kc-hjbd-center small{margin-top:3px;color:#9a958c;font-size:6.5px;}.kc-hjbd-node[data-el="土"]{--hjbd-color:#b88938;--hjbd-line:rgba(184,137,56,.34);}.kc-hjbd-node[data-el="木"]{--hjbd-color:#4e8050;--hjbd-line:rgba(78,128,80,.32);}.kc-hjbd-node[data-el="水"]{--hjbd-color:#3f6fab;--hjbd-line:rgba(63,111,171,.32);}.kc-hjbd-node:hover,.kc-hjbd-node:focus-visible,.kc-hjbd-center:hover,.kc-hjbd-center:focus-visible{border-color:var(--hjbd-color,#9a7138);outline:none;box-shadow:0 7px 16px rgba(34,65,58,.10);transform:translate(-50%,-50%) scale(1.03);}.kc-hjbd-node.on,.kc-hjbd-center.on{background:linear-gradient(145deg,#fff,var(--hjbd-soft,rgba(109,97,86,.08)));border-color:var(--hjbd-color,#9a7138);box-shadow:0 7px 16px rgba(34,65,58,.10);}.kc-hjbd-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjbd-detail,#6d6156);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjbd-detail b{display:block;color:var(--hjbd-detail,#6d6156);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjbd-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjbd-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjbd-detail[data-el="土"]{--hjbd-detail:#b88938;}.kc-hjbd-detail[data-el="木"]{--hjbd-detail:#4e8050;}.kc-hjbd-detail[data-el="水"]{--hjbd-detail:#3f6fab;}.kc-hjbd-detail[data-el="金"]{--hjbd-detail:#69748b;}.kc-hjbd-boundaries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:520px;margin:8px auto 0;}.kc-hjbd-boundaries span{padding:8px 5px;border:1px dashed rgba(109,97,86,.18);border-radius:10px;background:rgba(255,255,255,.72);text-align:center;}.kc-hjbd-boundaries b{display:block;color:#687873;font:900 9px/1 "Songti SC","STSong",serif;}.kc-hjbd-boundaries small{display:block;margin-top:4px;color:#969e9a;font-size:6.4px;line-height:1.35;}.kc-hjbd-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(109,97,86,.07);color:#70675d;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjbd-map,body.theme-dark .kc-hjbd-node,body.theme-dark .kc-hjbd-center,body.theme-dark .kc-hjbd-detail,body.theme-dark .kc-hjbd-boundaries span{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjbd-detail span,body.theme-dark .kc-hjbd-detail em{color:#a5b7b0;}body.theme-dark .kc-hjbd-result{background:rgba(109,97,86,.12);color:#c1b7ae;}
@media(max-width:520px){.kc-hjbd-map{height:220px;margin-top:60px;}.kc-hjbd-node{width:112px;min-height:52px;}.kc-hjbd-node b{font-size:11px;}.kc-hjbd-node small{font-size:6px;}.kc-hjbd-node.n2{left:20%;}.kc-hjbd-node.n3{left:80%;}.kc-hjbd-center{width:78px;min-height:48px;}.kc-hjbd-boundaries{grid-template-columns:repeat(2,minmax(0,1fr));}}
/* 归藏九宫卦 */
.kc-hjgz-card{--kc-card-accent:#6a6650;--kc-card-soft:rgba(106,102,80,.10);}.kc-hjgz-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:520px;margin:30px auto 0;}.kc-hjgz-sources button{min-height:54px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(106,102,80,.14);border-radius:11px;background:#fff;text-align:center;}.kc-hjgz-sources b{color:#68746e;font:900 11.5px/1 "Songti SC","STSong",serif;}.kc-hjgz-sources small{margin-top:4px;color:#929b97;font-size:6.4px;line-height:1.35;}.kc-hjgz-sources button.on{border-color:#b88938;background:linear-gradient(145deg,rgba(184,137,56,.12),rgba(255,255,255,.94));}.kc-hjgz-sources button.on b{color:#9a7138;}.kc-hjgz-qi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:520px;margin:8px auto 0;}.kc-hjgz-qi button{min-height:40px;padding:3px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--hjgz-qi-line,rgba(106,102,80,.13));border-radius:9px;background:#fff;color:var(--hjgz-qi,#65756f);}.kc-hjgz-qi b{font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjgz-qi small{margin-top:3px;color:#929b97;font-size:6px;}.kc-hjgz-qi button[data-el="金"]{--hjgz-qi:#69748b;--hjgz-qi-line:rgba(105,116,139,.28);}.kc-hjgz-qi button[data-el="水"]{--hjgz-qi:#3f6fab;--hjgz-qi-line:rgba(63,111,171,.28);}.kc-hjgz-qi button[data-el="土"]{--hjgz-qi:#b88938;--hjgz-qi-line:rgba(184,137,56,.30);}.kc-hjgz-qi button[data-el="火"]{--hjgz-qi:#c95c4f;--hjgz-qi-line:rgba(201,92,79,.28);}.kc-hjgz-qi button[data-el="木"]{--hjgz-qi:#4e8050;--hjgz-qi-line:rgba(78,128,80,.28);}
.kc-hjgz-matrix-wrap{max-width:520px;margin:9px auto 0;overflow-x:auto;padding:1px 1px 6px;scrollbar-width:thin;scrollbar-color:rgba(106,102,80,.25) transparent;}.kc-hjgz-matrix-wrap::-webkit-scrollbar{height:5px;}.kc-hjgz-matrix-wrap::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(106,102,80,.23);}.kc-hjgz-matrix{display:grid;grid-template-columns:48px repeat(8,minmax(0,1fr));gap:3px;}.kc-hjgz-corner,.kc-hjgz-head,.kc-hjgz-row,.kc-hjgz-num{min-width:0;min-height:33px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(106,102,80,.12);border-radius:7px;background:rgba(255,255,255,.83);}.kc-hjgz-corner,.kc-hjgz-head{color:#89948f;font:900 6.8px/1 "Songti SC","STSong",serif;}.kc-hjgz-row,.kc-hjgz-num{cursor:pointer;touch-action:manipulation;transition:transform .14s ease,border-color .14s ease,background .14s ease;}.kc-hjgz-row{flex-direction:column;color:var(--hjgz-color,#65756f);}.kc-hjgz-row b{font:900 11px/1 "Songti SC","STSong",serif;}.kc-hjgz-row small{margin-top:2px;color:#9aa39f;font-size:5.5px;}.kc-hjgz-num{color:var(--hjgz-color,#65756f);}.kc-hjgz-num b{font:900 10px/1 ui-monospace,Consolas,monospace;}.kc-hjgz-row[data-el="金"],.kc-hjgz-num[data-el="金"]{--hjgz-color:#69748b;}.kc-hjgz-row[data-el="水"],.kc-hjgz-num[data-el="水"]{--hjgz-color:#3f6fab;}.kc-hjgz-row[data-el="土"],.kc-hjgz-num[data-el="土"]{--hjgz-color:#b88938;}.kc-hjgz-row[data-el="火"],.kc-hjgz-num[data-el="火"]{--hjgz-color:#c95c4f;}.kc-hjgz-row[data-el="木"],.kc-hjgz-num[data-el="木"]{--hjgz-color:#4e8050;}.kc-hjgz-row:hover,.kc-hjgz-row:focus-visible,.kc-hjgz-num:hover,.kc-hjgz-num:focus-visible{transform:translateY(-1px);border-color:var(--hjgz-color);outline:none;}.kc-hjgz-num.axis{background:rgba(106,102,80,.05);}.kc-hjgz-num.on{border-color:var(--hjgz-color);background:rgba(106,102,80,.09);box-shadow:0 4px 9px rgba(34,65,58,.08);}.kc-hjgz-row.on{border-color:var(--hjgz-color);background:rgba(106,102,80,.09);}
.kc-hjgz-detail{max-width:520px;margin:9px auto 0;padding:10px 11px;border:1px solid var(--hjgz-detail,#6a6650);border-radius:13px;background:rgba(255,255,255,.86);}.kc-hjgz-detail b{display:block;color:var(--hjgz-detail,#6a6650);font:900 17px/1.1 "Songti SC","STSong",serif;}.kc-hjgz-detail span{display:block;margin-top:3px;color:#87948f;font-size:8.5px;}.kc-hjgz-detail em{display:block;margin-top:5px;color:#64756f;font-size:9.8px;line-height:1.52;font-style:normal;}.kc-hjgz-detail[data-el="金"]{--hjgz-detail:#69748b;}.kc-hjgz-detail[data-el="水"]{--hjgz-detail:#3f6fab;}.kc-hjgz-detail[data-el="土"]{--hjgz-detail:#b88938;}.kc-hjgz-detail[data-el="火"]{--hjgz-detail:#c95c4f;}.kc-hjgz-detail[data-el="木"]{--hjgz-detail:#4e8050;}.kc-hjgz-note{display:flex;justify-content:space-between;gap:8px;max-width:520px;margin:7px auto 0;color:#8e9994;font-size:7px;}.kc-hjgz-result{margin:10px auto 0;max-width:520px;padding:9px 12px;border-radius:10px;background:rgba(106,102,80,.07);color:#6c6856;font-size:10px;line-height:1.5;}
body.theme-dark .kc-hjgz-sources button,body.theme-dark .kc-hjgz-qi button,body.theme-dark .kc-hjgz-corner,body.theme-dark .kc-hjgz-head,body.theme-dark .kc-hjgz-row,body.theme-dark .kc-hjgz-num,body.theme-dark .kc-hjgz-detail{background-color:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);}body.theme-dark .kc-hjgz-detail span,body.theme-dark .kc-hjgz-detail em{color:#a5b7b0;}body.theme-dark .kc-hjgz-result{background:rgba(106,102,80,.12);color:#c2bea9;}
@media(max-width:520px){.kc-hjgz-sources{margin-top:60px;gap:4px;}.kc-hjgz-sources button{min-height:50px;padding:4px 2px;}.kc-hjgz-sources small{font-size:5.8px;}.kc-hjgz-qi{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;}.kc-hjgz-matrix{grid-template-columns:36px repeat(8,minmax(0,1fr));gap:2px;}.kc-hjgz-corner,.kc-hjgz-head,.kc-hjgz-row,.kc-hjgz-num{min-height:31px;border-radius:6px;}.kc-hjgz-note{display:block;line-height:1.5;}.kc-hjgz-note span{display:block;}}