/* 彩库宝典：为既有功能统一卡片样式，不改变控件结构与事件。 */
body.ck-theme{background:#f5f6f8;color:#2c3e50;font-family:Arial,"Microsoft YaHei",sans-serif;box-shadow:none}
.ck-theme header{background:#fff;border-bottom:1px solid #edf0f4;min-height:56px;color:#1a2a3a}
.ck-theme header h1{font-size:20px;font-weight:700}
.ck-theme .fblue,.ck-theme .fblue-l20{color:#c83232}
.ck-theme .fred{color:#d42d2d}
.ck-theme .ck-ad-banner{background:#fff7f5;border-color:#f2e4e0}
.ck-theme .ck-ad-placeholder{background:linear-gradient(120deg,#fff0eb,#fff8f5);color:#a53434}
.ck-theme .ck-ad-placeholder span{color:#a77b76}
.ck-theme .ck-ad-label{border-color:#e5cfc9;color:#a77b76}
.ck-home > .wi-h5{box-sizing:border-box;width:calc(100% - 16px);margin:18px 8px;background:#fff;border:1px solid #edf0f4;border-radius:18px;box-shadow:0 2px 12px #0000000d;padding:20px 18px}
.ck-home .navbox,.ck-home .navbox .nav{background:transparent;border:0;margin:0;padding:0}
.ck-home .navbox .pl10{padding-left:0}
.ck-home .navbox #win{background:transparent;border:0;border-radius:0;padding:0;margin:4px 0 18px}
.ck-home #win > i{flex-basis:100%;font-size:13px;color:#6b7b8d}
.ck-theme .ball b.rb{background:linear-gradient(135deg,#e85d5d,#c52626);box-shadow:none;border:0;text-shadow:none;color:#fff}
.ck-home .split-line{border-color:#edf0f4;margin:18px 0 14px}
.ck-home .split-line i{background:#fff;color:#1a2a3a;font-size:15px;font-weight:700;padding:0 12px}
.ck-home .ax-select{border:1px solid #e0e4ea;border-radius:10px;background:#f8f9fb;color:#1a2a3a;box-shadow:none}
.ck-home .ax-select > ul{border-radius:10px}
.ck-home .ax-radio-group input:checked + span{background:#d42d2d;border-color:#d42d2d;color:#fff}
.ck-home .ax-radio-group span{border-radius:8px}
.ck-home .nav .linet{border-top:1px solid #edf0f4;margin-top:6px;padding-top:18px;padding-bottom:8px}
.ck-home .nav a.btn-d{box-sizing:border-box;width:100%;justify-content:center;border:0;border-radius:12px;background:linear-gradient(135deg,#d42d2d,#b71c1c);color:#fff;font-size:17px;font-weight:700;min-height:46px;box-shadow:0 4px 14px #d42d2d26}
.ck-home > .wi-h5 > .line24{margin:14px 0;background:#fff5ee;border-left:4px solid #d42d2d;border-radius:12px;padding:14px 12px;line-height:1.8}
.ck-home > .wi-h5 > .line24 p{white-space:normal;flex-wrap:wrap;align-items:center}
.ck-home > .wi-h5 > .line24 b{font-size:22px;margin:0 4px}
.ck-home .table{border:1px solid #edf0f4;border-radius:12px;margin-top:12px}
.ck-home .table table{border-collapse:collapse;width:100%}
.ck-home .table th{background:#f0f2f5;color:#1a2a3a;font-weight:700;padding:12px 8px;border:0;border-bottom:2px solid #e0e4ea;white-space:nowrap}
.ck-home .table td{padding:11px 8px;border:0;border-bottom:1px solid #edf0f4;color:#4a5a6a;background:#fff}
.ck-home .table tr:nth-child(even) td{background:#fafbfc}
.ck-home .table tr:last-child td{border-bottom:0}
.ck-home > .chartinfo{box-sizing:border-box;margin:0 8px 18px;padding:16px 18px;border:1px solid #edf0f4;border-radius:14px;background:#fff;box-shadow:0 2px 12px #0000000d;width:calc(100% - 16px)}
.ck-home .chartinfo .ax-other{line-height:1.8;color:#6b7b8d;padding-top:12px}
.ck-theme #recommendations{border:1px solid #edf0f4;border-radius:18px;background:#fff;box-shadow:0 2px 12px #0000000d;margin:0 8px 18px;font-family:inherit}
.ck-theme #recommendations .recommend-header{height:auto;min-height:54px;flex-wrap:wrap;border-color:#f0f2f5}
.ck-theme #recommendations h2{background:#fff;border:0;font-size:18px;color:#1a2a3a;padding:16px 18px;flex:1}
.ck-theme #recommendations .recommend-like{background:#d42d2d}
.ck-theme #recommend-tabs{order:3;flex:0 0 100%;padding:0 10px;background:#fafbfc;border-top:1px solid #f0f2f5}
.ck-theme #recommend-tabs button{padding:12px 10px;font-size:15px;color:#6b7b8d}
.ck-theme #recommend-tabs button[aria-selected=true]{color:#d42d2d}
.ck-theme #recommend-tabs button[aria-selected=true]:after{background:#d42d2d;height:3px;left:10px;right:10px}
.ck-theme #recommend-more{align-self:center;margin-right:16px;padding:8px 12px;border-radius:8px;background:#fcecec;color:#c83232;font-size:14px}
.ck-theme .recommend-chevron{background:#c83232}
.ck-theme #recommend-list{padding:0 18px}
.ck-theme .recommend-row{height:64px;border-color:#f0f2f5;gap:10px}
.ck-theme .recommend-name{font-size:16px;color:#1a2a3a}
.ck-theme .recommend-title{font-weight:400;color:#7a8694}
.ck-theme .recommend-stats em{color:#d42d2d;font-size:21px}
.ck-history #list{padding:0 8px;margin-top:18px}
.ck-history #list > .ax-filter{border:1px solid #edf0f4;border-radius:18px;background:#fff;box-shadow:0 2px 12px #0000000d;margin:0 0 16px;overflow:hidden}
.ck-history #list > .ax-filter > .p10{padding:18px 14px}
.ck-history #list b[data-name="issue"],.ck-history #newise{color:#1a2a3a;font-size:17px}
.ck-history #list .mlauto{color:#85909e}
.ck-history #list .ball{margin-top:12px;margin-bottom:10px}
.ck-history #list .ax-other{border-top-color:#edf0f4;background:#fafbfc}
.ck-history #list .sjh b{border-color:#eceff3;background:#f8f9fb;color:#c83232;border-radius:4px;box-shadow:none}
.ck-history #wloadmore{margin:0 8px 18px;border:1px solid #ecd7d7;border-radius:12px;background:#fff;color:#c83232;font-size:14px;min-height:26px}
.ck-theme a:focus-visible,.ck-theme button:focus-visible{outline:2px solid #c83232;outline-offset:3px}
@media(max-width:480px){.ck-theme header h1{font-size:18px}.ck-home > .wi-h5{padding:18px 12px}.ck-home .table th,.ck-home .table td{padding:10px 5px;font-size:12px}.ck-history #list > .ax-filter > .p10{padding:14px 10px}.ck-history #list b[data-name="issue"]{font-size:15px}.ck-theme #recommendations h2{padding:14px 12px;font-size:17px}.ck-theme #recommend-list{padding:0 12px}.ck-theme .recommend-name{font-size:15px}.ck-theme #recommend-more{margin-right:12px}.ck-theme .recommend-title{font-size:12px}}
.ck-theme .ball b.rb{border-radius:50%}
.ck-home .navbox .ax-select-inner{border:0;border-radius:10px;background:#f8f9fb;box-shadow:none}
.ck-home .ax-select-dropdown{border:1px solid #e0e4ea;border-radius:10px;overflow:hidden}
.ck-home .ax-select .ax-selected{background:#fcecec;color:#c83232}
.ck-home .chartinfo .ax-toggle{border-radius:7px;border-color:#f0d5d5;background:#fcecec;color:#c83232}
/* 旧版 navbox 的负外边距带 !important，会抵消卡片内边距。 */
.ck-home .navbox{margin:0 !important}
/* 历史开奖固定十列；随容器缩放时保持圆形，避免百分比宽度与固定高度冲突。 */
.ck-history #list .ball.kl8{display:grid;grid-template-columns:repeat(10,minmax(0,32px));gap:5px 3px;line-height:normal}
.ck-history #list .ball.kl8 > br{display:none}
.ck-history #list .ball.kl8 > b.rb{box-sizing:border-box;width:100%;min-width:0;height:auto;aspect-ratio:1;margin:0;padding:0;border-radius:50%;font-size:clamp(13px,3.8vw,16px);line-height:1}
/* 首页二十个开奖号码固定两行，标签单独占一行。 */
.ck-home .navbox #win{display:grid;grid-template-columns:repeat(10,minmax(0,32px));gap:5px 3px;line-height:normal}
.ck-home #win > i{grid-column:1 / -1;margin-bottom:5px}
.ck-home #win > b.rb{box-sizing:border-box;width:100%;min-width:0;height:auto;aspect-ratio:1;margin:0;padding:0;border-radius:50%;font-size:clamp(13px,3.8vw,16px);line-height:1}
/* 板块间距以 banner 到计算器的 18px 为准，避免容器外边距叠加。 */
.ck-theme{--ck-section-gap:18px}
.ck-home > .wi-h5{margin-top:var(--ck-section-gap);margin-bottom:0}
.ck-home > .ck-guides{display:flex;flex-direction:column;gap:var(--ck-section-gap);margin:var(--ck-section-gap) 8px 0}
.ck-home > .ck-guides > .ck-guide-card{margin:0}
.ck-home #recommendations{margin:var(--ck-section-gap) 8px 0}
.ck-home > .ck-guides:last-of-type{margin-bottom:var(--ck-section-gap)}
.ck-history #list{margin-top:var(--ck-section-gap)}
.ck-history #list > .ax-filter{margin-bottom:var(--ck-section-gap)}
