/* ============================================================================
 * 模板 K · 白小姐 —— 皮肤 CSS（**这个文件是生成的，别手改**）
 *
 *   生成脚本：`deploy/make-theme-layout_k.py`（改完重跑即可）
 *   来源：`hx123\docs\research\am99\hk49.css`（整页，am99.86649.top）
 *        `hx123\public\sites\49tk\css\xxc49.css`（开奖区 iframe 那份，两站同一套程序）
 *   ★ 改样式**改生成脚本或者回源站那份**，别直接改这儿 —— 下次重跑会冲掉 ✗
 * ========================================================================== */

/* ★ 源站 `:root` 里那串变量已经收进 `.theme-layout_k`（见生成脚本 do_scope）——
   所以主题之外的元素继承不到这些变量，不会再污染本站别的模板 ✓ */

.theme-layout_k .home-floating-actions{position:fixed;right:max(13px,calc((100vw - var(--page-max-width))/ 2 + 13px));bottom:calc(var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom,0px));z-index:101;width:44px;height:44px;pointer-events:none}
.theme-layout_k .home-floating-actions__scrim{position:fixed;inset:0;z-index:0;border:0;background:#0000008f;pointer-events:auto;cursor:pointer}
.theme-layout_k .home-floating-actions__scrim[hidden]{display:none!important}
.theme-layout_k .home-floating-actions__main, .theme-layout_k .home-floating-actions__tool{position:absolute;top:0;right:0;border:0;background:0 0;cursor:pointer;pointer-events:auto}
.theme-layout_k .home-floating-actions__main{z-index:5;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:50%;box-shadow:none;transition:filter .28s}
.theme-layout_k .home-floating-actions__main-icon{display:block;width:44px;height:44px}
.theme-layout_k .home-floating-actions__main-icon img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .42s cubic-bezier(.22, .61, .36, 1),filter .28s;transform-origin:center}
.theme-layout_k .home-floating-actions__main.is-open .home-floating-actions__main-icon img{transform:rotate(180deg)}
.theme-layout_k .home-floating-actions__main:focus-visible .home-floating-actions__main-icon img, .theme-layout_k .home-floating-actions__main:hover .home-floating-actions__main-icon img{filter:brightness(1.04)}
.theme-layout_k .home-floating-actions__main:active{filter:brightness(.96)}
.theme-layout_k .home-floating-actions__tool, .theme-layout_k .home-floating-actions__tool-wrap{z-index:4;width:56px;height:64px;opacity:0;transform:translate(0) scale(.72);transition:opacity .28s,transform .32s cubic-bezier(.22, .61, .36, 1);pointer-events:none}
.theme-layout_k .home-floating-actions__tool-wrap{position:absolute;top:0;right:0}
.theme-layout_k .home-floating-actions__tool-wrap.is-visible, .theme-layout_k .home-floating-actions__tool.is-visible{opacity:1;pointer-events:auto}
.theme-layout_k .home-floating-actions__tool--top.is-visible{transform:translate(-4px,-118px) scale(1)}
.theme-layout_k .home-floating-actions__tool-wrap--reference.is-visible{transform:translate(-124px,-10px) scale(1)}
.theme-layout_k .home-floating-actions__tool-wrap.is-visible .home-floating-actions__tool--reference{opacity:1;transform:translate(0) scale(1);pointer-events:auto}
.theme-layout_k .home-floating-actions__tool--notice.is-visible{transform:translate(-28px,82px) scale(1)}
.theme-layout_k .home-floating-actions__tool{display:block;padding:0}
.theme-layout_k .home-floating-actions__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;color:#fff;box-shadow:0 10px 22px #00000038;transition:transform .24s,box-shadow .24s,filter .24s}
.theme-layout_k .home-floating-actions__icon svg{width:28px;height:28px;fill:currentColor}
.theme-layout_k .home-floating-actions__icon--top{background:linear-gradient(135deg,#38e28f,#19c777)}
.theme-layout_k .home-floating-actions__icon--reference{background:linear-gradient(135deg,#ffb35a,#ff8b26)}
.theme-layout_k .home-floating-actions__icon--notice{background:linear-gradient(135deg,#58c4f4,#2ea8df)}
.theme-layout_k .home-floating-actions__tool.is-active .home-floating-actions__icon, .theme-layout_k .home-floating-actions__tool:focus-visible .home-floating-actions__icon, .theme-layout_k .home-floating-actions__tool:hover .home-floating-actions__icon{transform:scale(1.05);box-shadow:0 13px 28px #00000042;outline:0}
.theme-layout_k .home-floating-actions__label{position:absolute;top:50%;right:calc(100% + 8px);min-width:64px;color:#fff;font-size:18px;font-weight:700;line-height:1.2;text-align:right;text-shadow:0 2px 8px rgba(0,0,0,.45);transform:translateY(-50%);white-space:nowrap;pointer-events:auto}
.theme-layout_k .home-floating-actions__nav{position:fixed;left:max(10px,calc((100vw - var(--page-max-width))/ 2 + 10px));bottom:calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom,0px));z-index:102;width:min(176px,calc(100vw - 136px));max-height:min(30vh,calc(100vh - var(--bottom-nav-height) - 260px));padding:4px 0;overflow-y:auto;border:1px solid rgba(255,255,255,.52);border-radius:12px;background:linear-gradient(145deg,#edf9ffeb,#c6e6ffd1),#dbf0ffdb;box-shadow:0 16px 34px #0f172a38,inset 0 1px 10px #ffffffb8;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;visibility:hidden;transform:translateY(12px) scale(.96);transform-origin:left bottom;transition:opacity .24s,visibility .24s,transform .24s cubic-bezier(.22, .61, .36, 1);pointer-events:none}
.theme-layout_k .home-floating-actions__nav.is-open{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.theme-layout_k .home-floating-actions.is-nav-open .home-floating-actions__tool--notice, .theme-layout_k .home-floating-actions.is-nav-open .home-floating-actions__tool--top, .theme-layout_k .home-floating-actions.is-nav-open .home-floating-actions__tool-wrap--reference{opacity:0!important;visibility:hidden;transform:translate(0) scale(.72)!important;pointer-events:none!important}
.theme-layout_k .home-floating-actions.is-nav-open .home-floating-actions__main{z-index:6}
.theme-layout_k .home-floating-actions__nav-item{display:block;width:100%;min-height:30px;padding:7px 12px 6px;border:0;border-bottom:1px dashed #c5cbd3;border-radius:0;background:0 0;color:#172033;font-size:11px;font-weight:700;line-height:1.15;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.theme-layout_k .home-floating-actions__nav-item:last-child{border-bottom:0}
.theme-layout_k .home-floating-actions__nav-item:active, .theme-layout_k .home-floating-actions__nav-item:focus-visible, .theme-layout_k .home-floating-actions__nav-item:hover{background:#fff3d6;color:#f06900;outline:0}
.theme-layout_k .footer-attribute-compare[data-v-e42a1274]{display:grid;gap:10px;margin-top:10px}
.theme-layout_k .compare-table[data-v-e42a1274]{border:1px solid #d8ccb4;background:#fff}
.theme-layout_k .compare-table__header[data-v-e42a1274]{height:30px;line-height:30px;text-align:center;background:#f1f1f1;color:#000;font-size:18px;font-weight:700}
.theme-layout_k .compare-zodiac-grid[data-v-e42a1274]{display:flex;flex-wrap:wrap}
.theme-layout_k .compare-zodiac-card[data-v-e42a1274]{width:33.3333%;box-sizing:border-box;border:1px solid rgba(0,0,0,.08);padding:5px 0;text-align:center;color:#000}
.theme-layout_k .compare-zodiac-card__title[data-v-e42a1274]{min-height:40px;margin-bottom:5px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:16px;font-weight:700}
.theme-layout_k .compare-zodiac-card__icon[data-v-e42a1274]{width:40px;height:40px;object-fit:contain}
.theme-layout_k .compare-row-item__numbers[data-v-e42a1274], .theme-layout_k .compare-zodiac-card__numbers[data-v-e42a1274]{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:2px}
.theme-layout_k .compare-zodiac-card__numbers[data-v-e42a1274]{justify-content:center}
.theme-layout_k .compare-row-list[data-v-e42a1274]{background:#fff}
.theme-layout_k .compare-row-item[data-v-e42a1274]{display:grid;grid-template-columns:58px 1fr;align-items:center;border-top:1px solid #d8ccb4}
.theme-layout_k .compare-row-item[data-v-e42a1274]:first-child{border-top:0}
.theme-layout_k .compare-row-item__label[data-v-e42a1274]{min-height:42px;display:flex;align-items:center;justify-content:center;border-right:1px solid #d8ccb4;font-size:15px;font-weight:700}
.theme-layout_k .compare-row-item__numbers[data-v-e42a1274]{padding:6px 8px}
.theme-layout_k .number-chip[data-v-e42a1274]{display:inline-flex;min-width:21px;height:18px;padding:0 3px;align-items:center;justify-content:center;color:#fff;font-size:11px;line-height:18px;font-weight:700}
.theme-layout_k .number-chip--red[data-v-e42a1274]{background:red}
.theme-layout_k .number-chip--blue[data-v-e42a1274]{background:#1d4ed8}
.theme-layout_k .number-chip--green[data-v-e42a1274]{background:#16a34a}
.theme-layout_k .number-chip--neutral[data-v-e42a1274]{background:#475569}
.theme-layout_k .compare-attribute-list[data-v-e42a1274]{padding:10px 12px}
.theme-layout_k .compare-attribute-item[data-v-e42a1274]{margin:0;padding:3px 0;text-align:left;font-size:17px;line-height:1.9;color:#111827}
.theme-layout_k .compare-attribute-item__label[data-v-e42a1274]{font-weight:700}
.theme-layout_k .compare-attribute-item__content--full[data-v-e42a1274]{display:inline-block;width:100%}
@media (max-width:640px){.theme-layout_k .compare-table__header[data-v-e42a1274]{font-size:16px}}
@media (max-width:640px){.theme-layout_k .compare-zodiac-card[data-v-e42a1274]{width:50%}}
@media (max-width:640px){.theme-layout_k .compare-zodiac-card__title[data-v-e42a1274]{font-size:14px;gap:3px}}
@media (max-width:640px){.theme-layout_k .compare-zodiac-card__icon[data-v-e42a1274]{width:32px;height:32px}}
@media (max-width:640px){.theme-layout_k .compare-row-item[data-v-e42a1274]{grid-template-columns:52px 1fr}}
@media (max-width:640px){.theme-layout_k .compare-attribute-item[data-v-e42a1274], .theme-layout_k .compare-row-item__label[data-v-e42a1274]{font-size:16px}}
.theme-layout_k .footer-attribute-compare{display:grid;gap:10px;margin-top:10px}
.theme-layout_k .footer-attribute-compare .compare-table{border:1px solid #d8ccb4;background:#fff;border-radius:6px;overflow:hidden}
.theme-layout_k .footer-attribute-compare .compare-table__header{height:36px;line-height:36px;text-align:center;background:#f1f1f1;color:#000;font-size:18px;font-weight:700}
.theme-layout_k .footer-attribute-compare .compare-zodiac-grid{display:flex;flex-wrap:wrap}
.theme-layout_k .footer-attribute-compare .compare-zodiac-card{width:33.3333%;box-sizing:border-box;border:1px solid rgba(0,0,0,.08);padding:8px 4px 10px;text-align:center;color:#000;background:#fff}
.theme-layout_k .footer-attribute-compare .compare-zodiac-card__title{min-height:40px;margin-bottom:6px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:16px;font-weight:700}
.theme-layout_k .footer-attribute-compare .compare-zodiac-card__icon{width:36px;height:36px;object-fit:contain;flex-shrink:0}
.theme-layout_k .footer-attribute-compare .compare-zodiac-card__clash{color:#666;font-size:13px;font-weight:600}
.theme-layout_k .footer-attribute-compare .compare-row-item__numbers, .theme-layout_k .footer-attribute-compare .compare-zodiac-card__numbers{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:3px}
.theme-layout_k .footer-attribute-compare .compare-zodiac-card__numbers{justify-content:center;padding:0 4px}
.theme-layout_k .footer-attribute-compare .compare-row-list{background:#fff}
.theme-layout_k .footer-attribute-compare .compare-row-item{display:grid;grid-template-columns:58px 1fr;align-items:center;border-top:1px solid #d8ccb4}
.theme-layout_k .footer-attribute-compare .compare-row-item:first-child{border-top:0}
.theme-layout_k .footer-attribute-compare .compare-row-item__label{min-height:42px;display:flex;align-items:center;justify-content:center;border-right:1px solid #d8ccb4;font-size:15px;font-weight:700;background:#fafafa}
.theme-layout_k .footer-attribute-compare .compare-row-item__numbers{padding:8px 10px}
.theme-layout_k .footer-attribute-compare .number-chip{display:inline-flex;min-width:24px;height:20px;padding:0 4px;align-items:center;justify-content:center;color:#fff;font-size:11px;line-height:1;font-weight:700;border-radius:2px}
.theme-layout_k .footer-attribute-compare .number-chip--red{background:#e71607}
.theme-layout_k .footer-attribute-compare .number-chip--blue{background:#1d4ed8}
.theme-layout_k .footer-attribute-compare .number-chip--green{background:#16a34a}
.theme-layout_k .footer-attribute-compare .compare-attribute-list{padding:12px 14px;background:#fff}
.theme-layout_k .footer-attribute-compare .compare-attribute-item{margin:0;padding:4px 0;text-align:left;font-size:16px;line-height:1.8;color:#111827}
.theme-layout_k .footer-attribute-compare .compare-attribute-item__label{font-weight:700}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .compare-table__header{font-size:16px}}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .compare-zodiac-card{width:50%}}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .compare-zodiac-card__title{font-size:14px;gap:3px}}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .compare-zodiac-card__icon{width:30px;height:30px}}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .compare-row-item{grid-template-columns:52px 1fr}}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .compare-attribute-item, .theme-layout_k .footer-attribute-compare .compare-row-item__label{font-size:15px}}
@media (max-width:640px){.theme-layout_k .footer-attribute-compare .number-chip{min-width:22px;height:18px;font-size:10px}}
.theme-layout_k .home-floating-actions[data-v-e6dfd677]{position:fixed;right:max(13px,calc((100vw - var(--page-max-width))/ 2 + 13px));bottom:calc(var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom,0px));z-index:101;width:44px;height:44px;pointer-events:none}
.theme-layout_k .home-floating-actions__scrim[data-v-e6dfd677]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;border:0;background:#0000008f;pointer-events:auto}
.theme-layout_k .home-floating-actions__main[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool[data-v-e6dfd677]{position:absolute;top:0;right:0;border:0;background:0 0;cursor:pointer;pointer-events:auto}
.theme-layout_k .home-floating-actions__main[data-v-e6dfd677]{z-index:5;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:50%;box-shadow:none;transition:filter .28s}
.theme-layout_k .home-floating-actions__main-icon[data-v-e6dfd677]{display:block;width:44px;height:44px}
.theme-layout_k .home-floating-actions__main-icon img[data-v-e6dfd677]{display:block;width:100%;height:100%;object-fit:contain;transition:transform .42s cubic-bezier(.22, .61, .36, 1),filter .28s;transform-origin:center}
.theme-layout_k .home-floating-actions__main.is-open .home-floating-actions__main-icon img[data-v-e6dfd677]{transform:rotate(180deg)}
.theme-layout_k .home-floating-actions__main[data-v-e6dfd677]:focus-visible, .theme-layout_k .home-floating-actions__main[data-v-e6dfd677]:hover{outline:0}
.theme-layout_k .home-floating-actions__main:focus-visible .home-floating-actions__main-icon img[data-v-e6dfd677], .theme-layout_k .home-floating-actions__main:hover .home-floating-actions__main-icon img[data-v-e6dfd677]{filter:brightness(1.04)}
.theme-layout_k .home-floating-actions__main[data-v-e6dfd677]:active{filter:brightness(.96)}
.theme-layout_k .home-floating-actions__tool-wrap[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool[data-v-e6dfd677]{z-index:4;width:56px;height:64px;opacity:0;transform:translate(0) scale(.72);transition:opacity .28s,transform .32s cubic-bezier(.22, .61, .36, 1);pointer-events:none}
.theme-layout_k .home-floating-actions__tool-wrap[data-v-e6dfd677]{position:absolute;top:0;right:0}
.theme-layout_k .home-floating-actions__tool-wrap.is-visible[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool.is-visible[data-v-e6dfd677]{opacity:1;pointer-events:auto}
.theme-layout_k .home-floating-actions__tool--top.is-visible[data-v-e6dfd677]{transform:translate(-4px,-118px) scale(1)}
.theme-layout_k .home-floating-actions__tool-wrap--reference.is-visible[data-v-e6dfd677]{transform:translate(-124px,-10px) scale(1)}
.theme-layout_k .home-floating-actions__tool-wrap.is-visible .home-floating-actions__tool--reference[data-v-e6dfd677]{opacity:1;transform:translate(0) scale(1);pointer-events:auto}
.theme-layout_k .home-floating-actions__tool--notice.is-visible[data-v-e6dfd677]{transform:translate(-28px,82px) scale(1)}
.theme-layout_k .home-floating-actions__tool[data-v-e6dfd677]{display:block;padding:0}
.theme-layout_k .home-floating-actions__icon[data-v-e6dfd677]{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;color:#fff;box-shadow:0 10px 22px #00000038;transition:transform .24s,box-shadow .24s,filter .24s}
.theme-layout_k .home-floating-actions__icon svg[data-v-e6dfd677]{width:28px;height:28px;fill:currentColor}
.theme-layout_k .home-floating-actions__icon--top[data-v-e6dfd677]{background:linear-gradient(135deg,#38e28f,#19c777)}
.theme-layout_k .home-floating-actions__icon--reference[data-v-e6dfd677]{background:linear-gradient(135deg,#ffb35a,#ff8b26)}
.theme-layout_k .home-floating-actions__icon--notice[data-v-e6dfd677]{background:linear-gradient(135deg,#58c4f4,#2ea8df)}
.theme-layout_k .home-floating-actions__tool.is-active .home-floating-actions__icon[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool:focus-visible .home-floating-actions__icon[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool:hover .home-floating-actions__icon[data-v-e6dfd677]{transform:scale(1.05);box-shadow:0 13px 28px #00000042;outline:0}
.theme-layout_k .home-floating-actions__tool:active .home-floating-actions__icon[data-v-e6dfd677]{transform:scale(.96);filter:brightness(.96)}
.theme-layout_k .home-floating-actions__label[data-v-e6dfd677]{position:absolute;top:50%;right:calc(100% + 8px);min-width:64px;color:#fff;font-size:18px;font-weight:700;line-height:1.2;text-align:right;text-shadow:0 2px 8px rgba(0,0,0,.45);transform:translateY(-50%);white-space:nowrap;pointer-events:auto}
.theme-layout_k .home-floating-actions__nav[data-v-e6dfd677]{position:fixed;left:max(10px,calc((100vw - var(--page-max-width))/ 2 + 10px));bottom:calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom,0px));z-index:4;width:min(176px,calc(100vw - 136px));max-height:min(30vh,calc(100vh - var(--bottom-nav-height) - 260px));padding:4px 0;overflow-y:auto;border:1px solid rgba(255,255,255,.52);border-radius:12px;background:linear-gradient(145deg,#edf9ffeb,#c6e6ffd1),#dbf0ffdb;box-shadow:0 16px 34px #0f172a38,inset 0 1px 10px #ffffffb8;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;visibility:hidden;transform:translateY(12px) scale(.96);transform-origin:left bottom;transition:opacity .24s,visibility .24s,transform .24s cubic-bezier(.22, .61, .36, 1);pointer-events:none}
.theme-layout_k .home-floating-actions__nav.is-open[data-v-e6dfd677]{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.theme-layout_k .home-floating-actions__nav-item[data-v-e6dfd677]{display:block;width:100%;min-height:30px;padding:7px 12px 6px;border:0;border-bottom:1px dashed #c5cbd3;border-radius:0;background:0 0;color:#172033;font-size:11px;font-weight:700;line-height:1.15;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.theme-layout_k .home-floating-actions__nav-item[data-v-e6dfd677]:last-child{border-bottom:0}
.theme-layout_k .home-floating-actions__nav-item[data-v-e6dfd677]:active, .theme-layout_k .home-floating-actions__nav-item[data-v-e6dfd677]:focus-visible, .theme-layout_k .home-floating-actions__nav-item[data-v-e6dfd677]:hover{background:#fff3d6;color:#f06900;outline:0}
@media (max-width:480px){.theme-layout_k .home-floating-actions{right:13px;bottom:calc(var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom,0px))}}
@media (max-width:480px){.theme-layout_k .home-floating-actions__label{font-size:16px}}
@media (max-width:480px){.theme-layout_k .home-floating-actions[data-v-e6dfd677]{right:13px;bottom:calc(var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.theme-layout_k .home-floating-actions__main[data-v-e6dfd677], .theme-layout_k .home-floating-actions__nav[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool-wrap[data-v-e6dfd677], .theme-layout_k .home-floating-actions__tool[data-v-e6dfd677]{transition:none}}
.theme-layout_k .home-popup-notice-fade-enter-active[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-leave-active[data-v-46a32c86]{transition:opacity .46s}
.theme-layout_k .home-popup-notice-fade-enter-active .home-popup-notice__body[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-leave-active .home-popup-notice__body[data-v-46a32c86]{transition:opacity .46s,transform .46s cubic-bezier(.22, 1, .36, 1)}
.theme-layout_k .home-popup-notice-fade-enter-from[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-leave-to[data-v-46a32c86]{opacity:0}
.theme-layout_k .home-popup-notice-fade-enter-from .home-popup-notice__body[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-leave-to .home-popup-notice__body[data-v-46a32c86]{opacity:0;transform:translateY(14px) scale(.96)}
.theme-layout_k .home-popup-notice[data-v-46a32c86]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999999999;display:flex;align-items:center;justify-content:center;background:#000000b3;color:#333;font-family:Microsoft Yahei,PingFang SC,sans-serif}
.theme-layout_k .home-popup-notice__body[data-v-46a32c86]{position:relative;width:min(365px,calc(100vw - 50px));padding:0 5px;box-sizing:border-box;border-radius:15px;font-size:14px}
.theme-layout_k .home-popup-notice__close[data-v-46a32c86]{position:absolute;top:0;right:0;z-index:2;height:36px;padding:0 15px;border:0;background:0 0;color:#c8c9cc;font-size:25px;line-height:36px}
.theme-layout_k .home-popup-notice__panel[data-v-46a32c86]{position:relative;padding:39px 0 40px;border-radius:15px;background:#fff}
.theme-layout_k .home-popup-notice__badge[data-v-46a32c86]{position:absolute;top:-20px;left:0;right:0;display:flex;align-items:center;justify-content:center;width:224px;height:49px;margin:auto;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:20px;font-weight:500;line-height:1}
.theme-layout_k .home-popup-notice__brand[data-v-46a32c86]{padding-top:32px}
.theme-layout_k .home-popup-notice__brand-title[data-v-46a32c86]{display:flex;justify-content:center;padding-bottom:5px}
.theme-layout_k .home-popup-notice__brand-title span[data-v-46a32c86]{display:inline-block;width:26px;margin-left:-3px;border-radius:50%;background:#ec2712;color:#fff;font-size:16px;font-weight:700;line-height:26px;text-align:center}
.theme-layout_k .home-popup-notice__brand-title span[data-v-46a32c86]:first-child{margin-left:0}
.theme-layout_k .home-popup-notice__logo[data-v-46a32c86]{display:flex;justify-content:center;height:50px}
.theme-layout_k .home-popup-notice__logo span[data-v-46a32c86]{display:inline-block;height:22px;margin-top:2px;padding:0 8px;border-radius:5px;background:#e70000;color:#fff;font-weight:700;line-height:22px}
.theme-layout_k .home-popup-notice__table-wrap[data-v-46a32c86]{padding:0 10px}
.theme-layout_k .home-popup-notice__table[data-v-46a32c86]{width:100%;border-collapse:collapse;color:red;font-weight:700}
.theme-layout_k .home-popup-notice__table tr[data-v-46a32c86]{line-height:18px;text-align:center}
.theme-layout_k .home-popup-notice__table td[data-v-46a32c86]{min-height:26px;height:26px;border:1px solid #999;color:red;font-size:14px;text-align:left;word-break:break-all}
.theme-layout_k .home-popup-notice__table thead td[data-v-46a32c86]{height:40px;background:#ec2712;color:#fff;font-size:18px;line-height:40px;text-align:center}
.theme-layout_k .home-popup-notice__popup-title[data-v-46a32c86]{color:#fff;font-weight:700;white-space:nowrap}
.theme-layout_k .home-popup-notice__footer[data-v-46a32c86]{position:absolute;right:0;bottom:5px;left:0;text-align:center}
.theme-layout_k .home-popup-notice__footer button[data-v-46a32c86]{display:inline-block;min-width:72px;height:30px;padding:0 8px;border:1px solid #f70000;border-radius:6px;background:#fff;color:#f70000;font-size:14px;line-height:28px}
.theme-layout_k .home-popup-notice__table[data-v-46a32c86] p{margin:0}
.theme-layout_k .home-popup-notice__table[data-v-46a32c86] .ql-size-large{font-size:18px}
@media (prefers-reduced-motion:reduce){.theme-layout_k .home-popup-notice-fade-enter-active .home-popup-notice__body[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-enter-active[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-leave-active .home-popup-notice__body[data-v-46a32c86], .theme-layout_k .home-popup-notice-fade-leave-active[data-v-46a32c86]{transition:none}}
.theme-layout_k .home-popup-notice{position:fixed;inset:0;z-index:999999999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.7);color:#333;font-family:"Microsoft Yahei","PingFang SC",sans-serif}
.theme-layout_k .home-popup-notice.is-open, .theme-layout_k .home-popup-notice:not([hidden]).is-open{display:flex}
.theme-layout_k .home-popup-notice[hidden]{display:none!important}
.theme-layout_k .home-popup-notice__body{position:relative;width:min(365px,calc(100vw - 50px));padding:0 5px;box-sizing:border-box}
.theme-layout_k .home-popup-notice__close{position:absolute;top:0;right:0;z-index:2;height:36px;padding:0 15px;border:0;background:0 0;color:#c8c9cc;font-size:25px;line-height:36px;cursor:pointer}
.theme-layout_k .home-popup-notice__panel{position:relative;padding:39px 0 40px;border-radius:15px;background:#fff}
.theme-layout_k .home-popup-notice__badge{position:absolute;top:-20px;left:0;right:0;display:flex;align-items:center;justify-content:center;width:224px;height:49px;margin:auto;background:url("../img/am99/img/popup.png") center/100% 100% no-repeat;color:#fff;font-size:20px;font-weight:600;line-height:1;letter-spacing:.08em;text-shadow:0 1px 1px rgba(0,0,0,.15)}
.theme-layout_k .home-popup-notice__table-wrap{padding:0 10px}
.theme-layout_k .home-popup-notice__table{width:100%;border-collapse:collapse;color:#e70000;font-weight:700}
.theme-layout_k .home-popup-notice__table td{border:1px solid #999;color:#e70000;font-size:15px;text-align:center;word-break:keep-all;overflow-wrap:normal}
.theme-layout_k .home-popup-notice__table thead td{height:40px;background:#ec2712;color:#fff;font-size:18px;line-height:40px;text-align:center;border-color:#ec2712}
.theme-layout_k .home-popup-notice__popup-title{color:#fff;font-weight:700;white-space:nowrap}
.theme-layout_k .home-popup-notice__content-cell{padding:10px 8px 12px!important;vertical-align:top}
.theme-layout_k .home-popup-notice__item{padding:8px 4px 10px;border-bottom:1px solid #d0d0d0}
.theme-layout_k .home-popup-notice__item:last-child{border-bottom:0;padding-bottom:4px}
.theme-layout_k .home-popup-notice__item--empty{color:#666;font-weight:500;padding:16px 8px}
.theme-layout_k .home-popup-notice__line{margin:0;padding:2px 0;color:#e70000;font-size:16px;font-weight:700;line-height:1.55;text-align:center;white-space:nowrap}
.theme-layout_k .home-popup-notice__line--title{display:inline-block;margin:0 auto 2px;padding:2px 8px;background:#ffe566;white-space:nowrap}
.theme-layout_k .home-popup-notice__line--nums{letter-spacing:.02em;font-variant-numeric:tabular-nums}
.theme-layout_k .home-popup-notice__footer{position:absolute;right:0;bottom:5px;left:0;text-align:center}
.theme-layout_k .home-popup-notice__footer button, .theme-layout_k .home-popup-notice__footer-btn{display:inline-block;min-width:72px;height:30px;padding:0 8px;border:1px solid #f70000;border-radius:6px;background:#fff;color:#f70000;font-size:14px;line-height:28px;cursor:pointer}
.theme-layout_k .home-section-anchor[data-v-5ffa482b]{scroll-margin-top:calc(var(--top-sticky-height) + 12px)}
.theme-layout_k{color-scheme:light;font-family:Trebuchet MS,Segoe UI,PingFang SC,Hiragino Sans GB,sans-serif;line-height:1.5;font-weight:500;background:#f5f5f5;color:#302720;--app-shell-max-width:720px;--page-max-width:var(--app-shell-max-width);--history-max-width:var(--app-shell-max-width);--panel-bg:#ffffff;--panel-border:rgba(214, 164, 54, 0.22);--gold:#c69018;--gold-strong:#8a5d00;--text-muted:#756656;--accent:#d44a2f;--green:#2f9a5f;--blue:#3573d6;--red:#d85151;--top-sticky-height:120px;--warm-bg:linear-gradient(180deg, #fff7e1 0%, #fff1ca 100%);--cool-bg:linear-gradient(180deg, #eef8ff 0%, #dfefff 100%);--accent-bg:linear-gradient(180deg, #fff2ef 0%, #ffe0d8 100%);--history-ball-red:radial-gradient(circle at 30% 28%, #ffffffeb 0%, #ffffffeb 18%, #fff0 20%),linear-gradient(180deg, #ff5a4d, #e71607 58%, #b81200);--history-ball-blue:radial-gradient(circle at 30% 28%, #ffffffeb 0%, #ffffffeb 18%, #fff0 20%),linear-gradient(180deg, #4db3ff, #2389e9 58%, #1565c0);--history-ball-green:radial-gradient(circle at 30% 28%, #ffffffeb 0%, #ffffffeb 18%, #fff0 20%),linear-gradient(180deg, #57d957, #1fb61d 58%, #128f12);--app-shell-gutter:10px;--bottom-nav-height:51px;--history-ball-size:clamp(34px, 9vw, 46px);--hero-banner-ratio:30/9;--after-history-ad-ratio:9/1.15}
.theme-layout_k, .theme-layout_k *{box-sizing:border-box}
.theme-layout_k #app, .theme-layout_k{min-height:100%;margin:0;width:100%}
.theme-layout_k{min-width:320px;background:0 0;overflow-x:hidden}
.theme-layout_k .app-initial-loading{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;background:#f7f8fb}
.theme-layout_k .live-number-row-wrap{position:relative;flex:1;min-width:0}
.theme-layout_k .official-balls-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(255,255,255,.94)}
.theme-layout_k .official-balls-loading[hidden]{display:none!important}
.theme-layout_k .official-balls-loading--compact{gap:6px}
.theme-layout_k .official-balls-loading--compact .official-loading-spinner{width:26px;height:26px;border-width:3px}
.theme-layout_k .official-balls-loading--compact .official-loading-text{font-size:.76rem;letter-spacing:.08em}
.theme-layout_k .hero-balls-row.is-loading, .theme-layout_k .lottery-nums.is-loading{min-height:calc(var(--history-ball-size) + 22px)}
.theme-layout_k .hero-balls-row.is-loading .hero-balls-grid, .theme-layout_k .hero-balls-row.is-loading .hero-special-group, .theme-layout_k .lottery-nums.is-loading .lottery-nums__ul{opacity:0;pointer-events:none}
.theme-layout_k .live-number-row-wrap.is-loading{min-height:42px}
.theme-layout_k .top-mini-result.is-draw-loading{position:relative;min-height:48px}
.theme-layout_k .top-mini-result.is-draw-loading .live-issue-box, .theme-layout_k .top-mini-result.is-draw-loading .live-number-row-wrap{visibility:hidden}
.theme-layout_k .top-mini-result.is-draw-loading .mini-draw-loading, .theme-layout_k .top-mini-result.is-draw-loading .official-balls-loading--compact{position:absolute;inset:0;z-index:2}
.theme-layout_k .lottery-tai-wan.is-draw-loading .lottery-bottom, .theme-layout_k .lottery-tai-wan.is-draw-loading .lottery-top, .theme-layout_k .top-mini-result.is-draw-loading .live-issue-text, .theme-layout_k .top-mini-result.is-draw-loading .live-lottery-name, .theme-layout_k .top-mini-result.is-draw-loading .live-record-button, .theme-layout_k .top-mini-result.is-draw-loading .live-record-link{visibility:hidden}
.theme-layout_k .mini-draw-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,.94);border-radius:8px}
.theme-layout_k .mini-draw-loading[hidden]{display:none!important}
.theme-layout_k .mini-draw-loading__spinner{width:26px;height:26px;border:3px solid rgba(0,176,96,.18);border-top-color:#00b060;border-radius:50%;animation:.75s linear infinite official-loading-spin;box-sizing:border-box}
.theme-layout_k .mini-draw-loading__text{color:#00b060;font-size:.76rem;font-weight:700;letter-spacing:.08em}
.theme-layout_k .loading-overlay{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(255,255,255,.92);border-radius:8px}
.theme-layout_k .loading-overlay[hidden]{display:none!important}
.theme-layout_k .loading-spinner{width:45px;height:45px;border:4px solid rgba(0,176,96,.18);border-top-color:#00b060;border-radius:50%;animation:.75s linear infinite official-loading-spin;box-sizing:border-box}
.theme-layout_k .loading-text{color:#00b060;font-size:14px;font-weight:700;letter-spacing:2px}
.theme-layout_k .official-loading-spinner{width:38px;height:38px;border:3px solid rgba(231,22,7,.16);border-top-color:#e71607;border-radius:50%;animation:.75s linear infinite official-loading-spin}
.theme-layout_k .official-loading-spinner.is-macau{border-color:rgba(35,137,233,.16);border-top-color:#2389e9}
.theme-layout_k .official-loading-text{color:#666;font-size:.9rem;font-weight:700;letter-spacing:.12em}
@keyframes official-loading-spin{to{transform:rotate(360deg)}}
.theme-layout_k button{font:inherit}
.theme-layout_k img{display:block;max-width:100%}
.theme-layout_k a{color:inherit}
.theme-layout_k .app-shell{min-height:100vh;width:100%;max-width:100%;min-width:0;padding:0 0 calc(var(--bottom-nav-height) + 28px + env(safe-area-inset-bottom));overflow-x:hidden;box-sizing:border-box}
.theme-layout_k .app-main, .theme-layout_k .home-page, .theme-layout_k .loading-panel, .theme-layout_k .page-stack{display:grid;gap:12px;width:100%;max-width:100%;min-width:0;margin:0 auto;overflow-x:hidden;box-sizing:border-box}
.theme-layout_k .app-main{max-width:var(--app-shell-max-width)}
.theme-layout_k .home-page, .theme-layout_k .loading-panel, .theme-layout_k .page-stack{max-width:var(--page-max-width);padding-inline:var(--app-shell-gutter)}
.theme-layout_k .home-page{padding-top:var(--top-sticky-height);padding-inline:0}
.theme-layout_k .home-page>:not(.top-sticky-shell):not(.home-hero):not(.home-fixed-stack){margin-inline:var(--app-shell-gutter)}
.theme-layout_k .home-fixed-stack{display:grid;gap:0;margin-inline:0!important;margin-top:-12px}
.theme-layout_k .panel{border:1px solid var(--panel-border);border-radius:18px;background:var(--panel-bg);box-shadow:0 12px 28px #8a5d0014}
.theme-layout_k .eyebrow{margin:0 0 6px;color:var(--gold);font-size:.78rem;letter-spacing:.06em}
.theme-layout_k .loading-panel, .theme-layout_k .market-header, .theme-layout_k .market-module, .theme-layout_k .page-site-tabs, .theme-layout_k .placeholder-page, .theme-layout_k .reference-slot{padding:18px}
.theme-layout_k .home-load-state{display:grid;gap:8px;margin:16px var(--app-shell-gutter);padding:18px;color:var(--text-muted)}
.theme-layout_k .home-load-state strong{color:#302720;font-size:1rem}
.theme-layout_k .home-load-state__retry{width:fit-content;border:0;border-radius:8px;background:var(--accent);color:#fff;padding:7px 12px;font-weight:800;cursor:pointer}
.theme-layout_k .home-section-background-copy{min-height:28px;padding:6px 12px 10px;color:var(--text-muted);font-size:.78rem;line-height:18px;text-align:center}
.theme-layout_k .home-section-load-sentinel{height:1px}
.theme-layout_k .empty-copy, .theme-layout_k .loading-panel, .theme-layout_k .muted, .theme-layout_k .placeholder-page{color:var(--text-muted)}
.theme-layout_k .top-sticky-shell{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:30;width:min(var(--page-max-width),100vw);background:#fff;box-shadow:0 12px 22px #00000014}
.theme-layout_k .top-brand-strip{overflow:hidden;min-height:57px;height:57px}
.theme-layout_k .brand-slot{display:flex;align-items:center;justify-content:center}
.theme-layout_k .brand-slot.primary{width:100%;height:100%}
.theme-layout_k .brand-slot.secondary{flex:0 0 auto;gap:8px;justify-content:flex-end;padding:0 10px;background:linear-gradient(180deg,#fff9d6,#ffe795);border-radius:8px;min-height:48px}
.theme-layout_k .brand-site-logo{display:block;width:100%;height:100%;object-fit:fill}
.theme-layout_k .brand-site-logo.custom{object-fit:fill}
.theme-layout_k .brand-channel-icon{width:30px;height:30px;object-fit:cover;border-radius:50%;background:#fff}
.theme-layout_k .brand-copy strong, .theme-layout_k .brand-wordmark{color:#fff;font-size:1rem;font-weight:800}
.theme-layout_k .brand-copy{display:grid;gap:2px;min-width:0}
.theme-layout_k .brand-copy span{color:#302720a8;font-size:.68rem;font-weight:700}
.theme-layout_k .brand-slot.secondary .brand-copy strong{color:#1f4f17;font-size:.92rem;white-space:nowrap}
.theme-layout_k .top-site-tabs{overflow-x:auto;overflow-y:hidden;background:#fff;scrollbar-width:none}
.theme-layout_k .top-site-tabs::-webkit-scrollbar{display:none}
.theme-layout_k .top-site-tabs-track{display:flex;min-width:max-content}
.theme-layout_k .top-site-tabs--equal .top-site-tabs-track{min-width:100%}
.theme-layout_k .top-site-tab{flex:0 0 auto;min-width:112px;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:0;background:#ededed;color:#111;font-size:1rem;font-weight:800;line-height:1.2;white-space:nowrap;cursor:pointer}
.theme-layout_k .top-site-tabs--equal .top-site-tab{flex:1 1 0;min-width:0;padding-inline:clamp(2px,1vw,4px);font-size:clamp(.78rem, 2.9vw, .84rem)}
.theme-layout_k .top-site-tabs--equal .top-site-tab span{overflow:hidden;text-overflow:ellipsis}
.theme-layout_k .top-site-tabs--equal .top-site-tab .gallery-site-name, .theme-layout_k .top-site-tabs--equal .top-site-tab .history-site-name, .theme-layout_k .top-site-tabs--equal .top-site-tab .market-site-name{text-overflow:clip}
.theme-layout_k .top-site-tabs--with-date .top-site-tab{flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;padding-top:8px;padding-bottom:9px}
.theme-layout_k .top-site-tabs--with-date .top-site-tab__date, .theme-layout_k .top-site-tabs--with-date .top-site-tab__name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.theme-layout_k .top-site-tabs--with-date .top-site-tab__name{font-size:clamp(12px, 3.8vw, 15px);line-height:1.15}
.theme-layout_k .top-site-tabs--with-date .top-site-tab__date{min-height:.9rem;color:#222;font-size:clamp(10px, 3vw, 12px);font-weight:700;line-height:1.1}
.theme-layout_k .top-site-tab.active{background:#fff}
.theme-layout_k .home-page .top-site-tab{border-bottom:3px solid transparent;box-sizing:border-box}
.theme-layout_k .home-page .top-site-tab.active[data-site-code=private_1030]{border-bottom-color:#2196f3}
.theme-layout_k .home-page .top-site-tab.active[data-site-code=private_1130]{border-bottom-color:#9c27b0}
.theme-layout_k .home-page .top-site-tab.active[data-site-code=official_macau]{border-bottom-color:#3ea342}
.theme-layout_k .home-page .top-site-tab.active[data-site-code=official_hk]{border-bottom-color:#e53935}
.theme-layout_k .top-site-tab img{width:20px;height:20px;object-fit:cover;border-radius:50%}
.theme-layout_k .hk49-sticky-mini{background:#fff;padding:4px 8px 6px;border-bottom:1px solid rgba(0,176,96,.18);box-sizing:border-box;max-width:100%;overflow:hidden}
.theme-layout_k .hk49-sticky-draw{background:#f5f5f5;box-shadow:0 4px 10px rgba(0,0,0,.06);padding-bottom:4px;position:relative;z-index:1;margin-top:8px;max-width:100%;overflow:hidden}
.theme-layout_k .hk49-sticky-draw .current-draws{margin:0;padding:0 2px}
.theme-layout_k .current-draws--xxc49{padding:0 2px!important;border-radius:0;background:#f5f5f5;overflow:hidden;box-sizing:border-box;max-width:100%}
.theme-layout_k .current-draws--xxc49 .iframe-conten{position:relative;overflow:hidden;background:#f5f5f5;height:210px;max-width:100%}
.theme-layout_k .current-draws--xxc49 #lotterys-iframe, .theme-layout_k .current-draws--xxc49 .iframe-box, .theme-layout_k .xxc49-embed-frame{display:block;width:100%;max-width:100%;height:210px;margin:0 auto;border:0;background:#f5f5f5;position:relative;z-index:1}
@media (max-width:480px){.theme-layout_k .hk49-sticky-mini{padding:4px 6px 6px}}
@media (max-width:480px){.theme-layout_k .hk49-sticky-mini .live-issue-box{width:94px;flex-basis:94px;max-width:94px}}
@media (max-width:480px){.theme-layout_k .hk49-sticky-mini .live-refresh-cell{flex-basis:34px}}
@media (max-width:480px){.theme-layout_k .hk49-sticky-mini .live-record-button, .theme-layout_k .hk49-sticky-mini .live-refresh-button{font-size:.68rem}}
@media (max-width:480px){.theme-layout_k .current-draws--xxc49 #lotterys-iframe, .theme-layout_k .current-draws--xxc49 .iframe-box, .theme-layout_k .current-draws--xxc49 .iframe-conten, .theme-layout_k .xxc49-embed-frame{height:196px}}
.theme-layout_k .hk49-sticky-mini .top-mini-result{position:relative;display:flex;align-items:stretch;gap:0;margin:0;padding:4px 6px;width:100%;max-width:100%;min-width:0;background:#fff;border:1px solid #00b060;border-radius:8px;box-sizing:border-box;overflow:hidden}
.theme-layout_k .hk49-sticky-mini .top-mini-result.is-draw-loading{min-height:48px}
.theme-layout_k .hk49-sticky-mini .top-mini-result.is-draw-loading .live-issue-box, .theme-layout_k .hk49-sticky-mini .top-mini-result.is-draw-loading .live-number-row-wrap{visibility:hidden}
.theme-layout_k .hk49-sticky-mini .mini-draw-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,.94);border-radius:8px}
.theme-layout_k .hk49-sticky-mini .mini-draw-loading[hidden]{display:none!important}
.theme-layout_k .hk49-sticky-mini .mini-draw-loading__spinner{width:26px;height:26px;border:3px solid rgba(0,176,96,.18);border-top-color:#00b060;border-radius:50%;animation:.75s linear infinite sticky-mini-spin;box-sizing:border-box}
.theme-layout_k .hk49-sticky-mini .mini-draw-loading__text{color:#00b060;font-size:.76rem;font-weight:700;letter-spacing:.08em}
@keyframes sticky-mini-spin{to{transform:rotate(360deg)}}
.theme-layout_k .hk49-sticky-mini .live-issue-box{width:clamp(92px,12vw,108px);flex:0 0 clamp(92px,12vw,108px);min-width:0;max-width:clamp(92px,12vw,108px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#111;font-weight:700;overflow:hidden;box-sizing:border-box}
.theme-layout_k .hk49-sticky-mini .live-lottery-name{margin:0;width:100%;max-width:100%;text-align:center;font-size:clamp(.78rem, 1.5vw, .9rem);font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;position:relative}
.theme-layout_k .hk49-sticky-mini .live-lottery-name .tab-title-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.theme-layout_k .hk49-sticky-mini .live-lottery-name.is-marquee{overflow:hidden}
.theme-layout_k .hk49-sticky-mini .live-issue-text{margin:0;width:100%;max-width:100%;text-align:center;font-size:clamp(.78rem, 1.5vw, .9rem);font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#222}
.theme-layout_k .hk49-sticky-mini .live-number-row-wrap{position:relative;flex:1 1 0;min-width:0;overflow:hidden}
.theme-layout_k .hk49-sticky-mini .live-number-row{flex:1;display:flex;align-items:stretch;min-width:0;width:100%;max-width:100%;height:100%;box-sizing:border-box}
.theme-layout_k .hk49-sticky-mini .live-number-row.is-empty{display:flex;align-items:center;justify-content:center;color:#999;font-size:.88rem;border:1px solid #ddd}
.theme-layout_k .hk49-sticky-mini .live-number-cell{flex:1 1 0;display:flex;min-width:0;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-left:1px solid #ddd}
.theme-layout_k .hk49-sticky-mini .live-number-cell:last-child{border-right:1px solid #ddd}
.theme-layout_k .hk49-sticky-mini .live-ball-face{width:100%;display:grid}
.theme-layout_k .hk49-sticky-mini .live-ball-face.red .live-ball-number{background:#e71607}
.theme-layout_k .hk49-sticky-mini .live-ball-face.blue .live-ball-number{background:#2389e9}
.theme-layout_k .hk49-sticky-mini .live-ball-face.green .live-ball-number{background:#1fb61d}
.theme-layout_k .hk49-sticky-mini .live-ball-face.blank .live-ball-number{background:#ececec;color:#222}
.theme-layout_k .hk49-sticky-mini .live-ball-face.blank .live-ball-zodiac{background:#f8f8f8;color:#333;font-size:.78rem}
.theme-layout_k .hk49-sticky-mini .live-ball-face.blank.has-status-text .live-ball-number{background:#f3f3f3;color:#222;font-size:.82rem;font-weight:800}
.theme-layout_k .hk49-sticky-mini .live-ball-number, .theme-layout_k .hk49-sticky-mini .live-ball-zodiac{display:flex;align-items:center;justify-content:center;height:20px;font-size:.9rem;font-weight:800;line-height:1}
.theme-layout_k .hk49-sticky-mini .live-ball-number{color:#fff}
.theme-layout_k .hk49-sticky-mini .live-ball-zodiac{background:#fff;color:#333}
.theme-layout_k .hk49-sticky-mini .live-refresh-cell{flex:0 0 40px;min-width:0;border:0}
.theme-layout_k .hk49-sticky-mini .live-refresh-stack{width:100%;height:100%;display:flex;flex-direction:column;min-width:0}
.theme-layout_k .hk49-sticky-mini .live-record-button, .theme-layout_k .hk49-sticky-mini .live-refresh-button{flex:1 1 0;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:0;padding:0;border:0;background:#ffef3a;color:#f30;font-size:.72rem;font-weight:800;line-height:1;text-decoration:none;cursor:pointer;box-sizing:border-box}
.theme-layout_k .hk49-sticky-mini .live-record-button{background:#00b060;color:#fff;border-top:1px solid rgba(0,120,64,.25)}
.theme-layout_k .home-hero{display:grid;gap:0;width:100%}
.theme-layout_k .hero-banner{display:block;overflow:hidden;border-radius:0;aspect-ratio:var(--hero-banner-ratio);position:relative}
.theme-layout_k .hero-banner--carousel{aspect-ratio:auto;border:0;border-radius:8px;margin:8px 10px 0;overflow:hidden;background:0 0;box-shadow:none}
.theme-layout_k .hero-banner .banner-swipe{position:relative;overflow:hidden;border-radius:8px;width:100%}
.theme-layout_k .hero-banner .banner-swipe__track{display:flex;height:100%;transition-property:transform;will-change:transform}
.theme-layout_k .hero-banner .banner-swipe__item{position:relative;flex-shrink:0;width:100%}
.theme-layout_k .hero-banner .banner-slide--named{position:relative}
.theme-layout_k .hero-banner .banner-img{display:block;width:100%;height:auto;object-fit:unset}
.theme-layout_k .ad-strip-item img, .theme-layout_k .hero-banner img{width:100%;height:100%;object-fit:fill}
.theme-layout_k .hero-banner--carousel img.banner-img{height:auto;object-fit:unset}
.theme-layout_k .hero-banner .banner-swipe__indicators{position:absolute;bottom:8px;left:50%;display:flex;transform:translateX(-50%);z-index:3}
.theme-layout_k .hero-banner .banner-swipe__indicator{width:6px;height:6px;border-radius:100%;background-color:#fff;opacity:.4;transition:opacity .2s}
.theme-layout_k .hero-banner .banner-swipe__indicator:not(:last-child){margin-right:6px}
.theme-layout_k .hero-banner .banner-swipe__indicator.is-active{opacity:1}
.theme-layout_k .hero-banner__lottery-name{position:absolute;left:9%;bottom:20%;z-index:2;display:inline-block;width:max-content;max-width:58%;margin:0;padding:0;border:0;font-family:SimHei,"Heiti SC",STHeiti,"Arial Black",sans-serif;font-size:clamp(33px, 9.5vw, 66px);font-weight:900;line-height:1.05;letter-spacing:.04em;white-space:nowrap;pointer-events:none;color:transparent;-webkit-text-fill-color:transparent;background-color:transparent;background-repeat:no-repeat;background-size:100% 100%;-webkit-background-clip:text;background-clip:text;-webkit-font-smoothing:antialiased}
.theme-layout_k .hero-banner__lottery-name[data-site-code=private_1030]{background-image:linear-gradient(180deg,#1e6fd4 0,#3a95eb 32%,#6dbcf5 68%,#b5e4fc 100%);filter:drop-shadow(0 2px 3px rgba(30, 111, 212, .16))}
.theme-layout_k .hero-banner__lottery-name[data-site-code=private_1130]{background-image:linear-gradient(180deg,#6a1b9a 0,#9c27b0 32%,#ba68c8 68%,#e1bee7 100%);filter:drop-shadow(0 2px 3px rgba(106, 27, 154, .16))}
.theme-layout_k .hero-banner__lottery-name[data-site-code=official_macau]{background-image:linear-gradient(180deg,#1b8a3e 0,#2ecc71 32%,#58d68d 68%,#a9dfbf 100%);filter:drop-shadow(0 2px 3px rgba(27, 138, 62, .16))}
.theme-layout_k .hero-banner__lottery-name[data-site-code=official_hk]{background-image:linear-gradient(180deg,#b71c1c 0,#e53935 32%,#ef5350 68%,#ffcdd2 100%);filter:drop-shadow(0 2px 3px rgba(183, 28, 28, .16))}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.theme-layout_k .hero-banner__lottery-name{background-image:none;filter:none}}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.theme-layout_k .hero-banner__lottery-name[data-site-code=private_1030]{-webkit-text-fill-color:#3a95eb;color:#3a95eb;text-shadow:0 2px 3px rgba(30,111,212,.16)}}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.theme-layout_k .hero-banner__lottery-name[data-site-code=private_1130]{-webkit-text-fill-color:#9c27b0;color:#9c27b0;text-shadow:0 2px 3px rgba(106,27,154,.16)}}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.theme-layout_k .hero-banner__lottery-name[data-site-code=official_macau]{-webkit-text-fill-color:#2ecc71;color:#2ecc71;text-shadow:0 2px 3px rgba(27,138,62,.16)}}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.theme-layout_k .hero-banner__lottery-name[data-site-code=official_hk]{-webkit-text-fill-color:#e53935;color:#e53935;text-shadow:0 2px 3px rgba(183,28,28,.16)}}
.theme-layout_k .hero-banner__lottery-name:empty, .theme-layout_k .hero-banner__lottery-name[hidden]{display:none}
.theme-layout_k .lottery-tai-wan{--history-ball-size:clamp(40px, 11vw, 62px);padding:16px 12px 12px;margin:8px 10px 0;background:#fff;border:1px solid #00b060;border-radius:8px;box-sizing:border-box}
.theme-layout_k .lottery-top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin-bottom:14px;padding:0 4px}
.theme-layout_k .board-panel h3, .theme-layout_k .section-heading, .theme-layout_k .shortcut-card strong{display:block;margin:0}
.theme-layout_k .lottery-issue-title{margin:0;min-width:0;max-width:100%;justify-self:start;color:#111827;font-size:clamp(1.02rem, 3.2vw, 1.18rem);font-weight:900;line-height:1.2;overflow:hidden;position:relative}
.theme-layout_k .lottery-issue-title__inner{display:inline-block;position:relative;left:0;max-width:none;white-space:nowrap}
.theme-layout_k .lottery-countdown{margin:0;justify-self:center;color:#f33;font-size:clamp(.9rem, 2.8vw, 1.04rem);font-weight:900;line-height:1.2;white-space:nowrap;text-align:center}
.theme-layout_k .lottery-top-actions{justify-self:end;display:inline-flex;align-items:center;gap:8px;min-width:0}
.theme-layout_k .lottery-history-link{padding:0;background:0 0;color:#0a9b2d;border-radius:0;font-size:clamp(.9rem, 2.7vw, 1rem);font-weight:800;text-decoration:none;white-space:nowrap}
.theme-layout_k .board-panel-header span, .theme-layout_k .feature-card span, .theme-layout_k .feature-card-body p, .theme-layout_k .footer-note, .theme-layout_k .gallery-entry span, .theme-layout_k .shortcut-card p{color:var(--text-muted)}
.theme-layout_k .lottery-next-open{margin:12px 0 0;width:100%;text-align:center;font-size:clamp(.92rem, 2.8vw, 1rem);font-weight:900;line-height:1.5;color:#f33}
.theme-layout_k .lottery-nums{position:relative;min-height:100px;padding:15px 10px;margin-bottom:8px}
.theme-layout_k .lottery-nums__ul{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:8px;list-style:none;margin:0;padding:0 10px}
.theme-layout_k .lottery-nums__item{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;margin:0 4px}
.theme-layout_k .plus-sign{font-size:28px;line-height:var(--history-ball-size);align-self:center}
.theme-layout_k .lottery-num{width:var(--history-ball-size);height:var(--history-ball-size);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:clamp(18px, 5.4vw, 26px);font-weight:700;color:#33455f;box-shadow:0 2px 8px rgba(0,0,0,.15);background-size:100% 100%;background-position:center;background-repeat:no-repeat}
.theme-layout_k .lottery-num i{font-style:normal;position:relative;z-index:1;margin-top:-4px;margin-left:1px}
.theme-layout_k .lottery-num--red{background-image:url("../img/am99/img/ball-red.png")}
.theme-layout_k .lottery-num--blue{background-image:url("../img/am99/img/ball-blue.png")}
.theme-layout_k .lottery-num--green{background-image:url("../img/am99/img/ball-green.png")}
.theme-layout_k .lottery-num--loading, .theme-layout_k .lottery-num--none{background-image:none;background:radial-gradient(circle at 30% 28%,#ffffffeb 0,#ffffffeb 18%,#fff0 20%),linear-gradient(180deg,#ececec,#c8c8c8 58%,#a8a8a8);color:#33455f;font-size:clamp(14px, 4vw, 20px);box-shadow:0 2px 6px rgba(0,0,0,.18)}
.theme-layout_k .lottery-animal{font-size:clamp(12px, 3vw, 16px);color:#333;font-style:normal;font-weight:600;text-align:center;white-space:nowrap;line-height:1.3;min-height:18px}
.theme-layout_k .lottery-bottom{display:flex;justify-content:center;align-items:center;padding:0;margin:0}
.theme-layout_k .marquee-strip{overflow:hidden;padding:10px 14px;background:linear-gradient(90deg,#ffefbf,#fff7df)}
.theme-layout_k .marquee-track{display:flex;gap:24px;white-space:nowrap;color:var(--accent);font-weight:700;animation:18s linear infinite marquee-slide}
.theme-layout_k .shortcut-card{display:grid;gap:10px;padding:14px}
.theme-layout_k .shortcut-link{padding:12px 14px;border:0;border-radius:14px;background:linear-gradient(180deg,#e53d2f,#c62d21);color:#fff;text-align:left;font-weight:700;cursor:pointer}
.theme-layout_k .ad-strip, .theme-layout_k .boards-stack, .theme-layout_k .feature-grid{display:grid;gap:12px}
.theme-layout_k .boards-stack{gap:0}
.theme-layout_k .home-page>.boards-stack{margin-inline:0!important}
.theme-layout_k .boards-stack .footer-note{margin:10px 0 0;border-radius:6px;background:#fff}
.theme-layout_k .after-history-ad-stack{display:grid;gap:0;margin-inline:0}
.theme-layout_k .ad-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-layout_k .ad-strip-item{overflow:hidden;padding:8px}
.theme-layout_k .ad-slot{display:block;overflow:hidden;padding:0;border-radius:0;text-decoration:none}
.theme-layout_k .after-history-ad-stack .ad-slot+.ad-slot{margin-top:0}
.theme-layout_k .after-history-ad-stack .ad-slot{aspect-ratio:var(--after-history-ad-ratio)}
.theme-layout_k .home-reference-channel-bar{display:block;position:relative;min-width:0;max-width:100%;width:100%;box-sizing:border-box;min-height:52px;padding:11px 12px 20px;border-radius:6px 6px 0 0;background:url("../img/am99/img/6495ED.png") center top/100% 100% no-repeat #ececec;color:#fff;font-size:clamp(1.18rem, 4.5vw, 1.72rem);font-weight:800;white-space:nowrap;overflow:hidden;line-height:1.2;text-align:center;letter-spacing:.04em;text-shadow:0 1px 2px rgba(0,0,0,.12)}
.theme-layout_k .home-history-cta .home-chrome-marquee__inner, .theme-layout_k .home-reference-channel-bar .home-chrome-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.theme-layout_k .home-history-cta.is-marquee, .theme-layout_k .home-reference-channel-bar.is-marquee{overflow:hidden}
.theme-layout_k .home-reference-sections{width:100%;max-width:none;gap:0;margin-top:-12px;padding-inline:0}
.theme-layout_k .home-page>.home-reference-sections{margin-inline:0!important}
.theme-layout_k .home-reference-sections>.home-reference-channel-bar+#reference-sections-root>.reference-slot:first-child, .theme-layout_k .home-reference-sections>.home-reference-channel-bar+#reference-sections-root>.reference-slot:first-child>.panel-heading{border-top-left-radius:0;border-top-right-radius:0}
.theme-layout_k .home-fixed-stack>.home-fixed-network-ad{border-radius:0;box-shadow:none}
.theme-layout_k .home-reference-sections>.ad-slot, .theme-layout_k .home-reference-sections>.home-richtext-block, .theme-layout_k .reference-list .ad-slot, .theme-layout_k .reference-list .home-richtext-block, .theme-layout_k .reference-nml .ad-slot, .theme-layout_k .reference-nml .home-richtext-block, .theme-layout_k .reference-number-grid .ad-slot, .theme-layout_k .reference-number-grid .home-richtext-block{border:0;box-shadow:none}
.theme-layout_k .reference-slot{display:grid;gap:0}
.theme-layout_k .tk-maint-notice{box-sizing:border-box;color:#b45309;font-size:13px;line-height:1.45;margin:4px 10px 8px;padding:6px 8px;text-align:center;background:#fffbeb;border:1px dashed #fcd34d;border-radius:4px}
.theme-layout_k .reference-slot .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.theme-layout_k .reference-slot .panel-heading h3, .theme-layout_k .reference-slot .panel-heading p{margin:0}
.theme-layout_k .reference-slot .panel-note{color:var(--text-muted);font-size:.82rem;text-align:right}
.theme-layout_k .reference-arrange-note{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 10px;border-top:1px solid rgba(0,255,51,.45);background:#fff;color:#080808;font-size:clamp(.82rem, 3.4vw, 1rem);font-weight:700;line-height:1.3;text-align:center}
.theme-layout_k .reference-arrange-note__row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:14px;width:100%;max-width:100%}
.theme-layout_k .reference-arrange-note__item{display:inline-block;white-space:nowrap;flex:0 0 auto}
.theme-layout_k .reference-arrange-note *{color:inherit}
.theme-layout_k .reference-arrange-note .reference-arrange-note__label, .theme-layout_k .reference-arrange-note .reference-arrange-note__value{color:#080808}
.theme-layout_k .reference-slot--nml_black_green .reference-arrange-note{border-right:1px solid #0f3;border-left:1px solid #0f3}
.theme-layout_k .reference-slot--elite_banner_list, .theme-layout_k .reference-slot--number_grid, .theme-layout_k .reference-slot--plain_text_list, .theme-layout_k .reference-slot--result_line_table{padding:0;overflow:hidden;border:0;border-radius:6px;background:#fff;box-shadow:none}
.theme-layout_k .reference-slot--elite_banner_list .panel-heading, .theme-layout_k .reference-slot--number_grid .panel-heading, .theme-layout_k .reference-slot--plain_text_list .panel-heading, .theme-layout_k .reference-slot--result_line_table .panel-heading{justify-content:center;min-height:48px;padding:8px 10px;border-radius:6px 6px 0 0;background:#ffbf00;color:#f00808;text-align:center}
.theme-layout_k .reference-slot--elite_banner_list .eyebrow, .theme-layout_k .reference-slot--elite_banner_list .panel-note, .theme-layout_k .reference-slot--number_grid .eyebrow, .theme-layout_k .reference-slot--number_grid .panel-note, .theme-layout_k .reference-slot--plain_text_list .eyebrow, .theme-layout_k .reference-slot--plain_text_list .panel-note, .theme-layout_k .reference-slot--result_line_table .eyebrow, .theme-layout_k .reference-slot--result_line_table .panel-note{display:none}
.theme-layout_k .reference-slot--elite_banner_list .panel-heading h3, .theme-layout_k .reference-slot--number_grid .panel-heading h3, .theme-layout_k .reference-slot--plain_text_list .panel-heading h3, .theme-layout_k .reference-slot--result_line_table .panel-heading h3{font-size:clamp(1.14rem, 4vw, 1.45rem);font-weight:900;line-height:1.2}
.theme-layout_k .reference-slot--elite_banner_list .panel-heading, .theme-layout_k .reference-slot--result_line_table .panel-heading{min-height:46px;background:#f24a3d!important;color:#fff!important}
.theme-layout_k .reference-slot--number_grid .panel-heading{min-height:44px;background:linear-gradient(135deg,#06c,#0052a3)!important;color:#fff!important}
.theme-layout_k .reference-slot--number_grid .panel-heading h3{font-size:1.25rem}
.theme-layout_k .reference-list{display:grid;gap:10px}
.theme-layout_k .reference-card{display:grid;gap:8px;padding:12px;border:1px solid rgba(214,164,54,.18);border-radius:8px;background:#fff}
.theme-layout_k .reference-card h4, .theme-layout_k .reference-card p{margin:0}
.theme-layout_k .reference-card footer{display:flex;justify-content:space-between;gap:10px;color:var(--text-muted);font-size:.82rem}
.theme-layout_k .reference-elite-list, .theme-layout_k .reference-plain-list, .theme-layout_k .reference-result-table-list{display:grid;gap:0}
.theme-layout_k .reference-plain-card{display:flex;align-items:center;justify-content:center;gap:.35em;min-height:36px;padding:3px 8px;border:1px solid #d8eadb;border-top:0;background:#fff;color:#080808;font-size:clamp(1rem, 3.5vw, 1.28rem);font-weight:900;line-height:1.2;text-align:center;white-space:nowrap}
.theme-layout_k .reference-plain-card__issue, .theme-layout_k .reference-plain-card__result{flex:0 0 auto}
.theme-layout_k .reference-plain-card__content{flex:0 1 auto;min-width:0;color:#080808;overflow:hidden;text-overflow:ellipsis}
.theme-layout_k .reference-plain-card__result{color:#080808}
.theme-layout_k .reference-plain-card__result .gallery-token-text{color:#f00808}
.theme-layout_k .reference-plain-card__result .gallery-highlight-token, .theme-layout_k .reference-plain-card__result .gallery-highlight-token .reference-result-status{background:#fff200;color:#f00808}
.theme-layout_k .reference-plain-card__issue{color:#080808}
.theme-layout_k .gallery-token-text, .theme-layout_k .reference-plain-card__content .gallery-token-text{color:var(--reference-content-color,#f00808)}
.theme-layout_k .gallery-highlight-token{display:inline-block;padding:0 2px;border-radius:2px;background:#fff200;color:var(--reference-content-color,#f00808);font-weight:900;line-height:1.1}
.theme-layout_k .gallery-token-text .gallery-highlight-token{color:var(--reference-content-color,#f00808)}
.theme-layout_k .reference-result-table{display:grid;grid-template-columns:25% 47% 28%;min-height:58px;border-right:2px solid #9d9d9d;border-bottom:2px solid #9d9d9d;border-left:2px solid #9d9d9d;background:#fff;color:#080808;font-weight:900;line-height:1.15}
.theme-layout_k .reference-result-table:first-child{border-top:2px solid #9d9d9d}
.theme-layout_k .reference-result-table__data, .theme-layout_k .reference-result-table__issue, .theme-layout_k .reference-result-table__result{box-sizing:border-box;display:flex;min-width:0;align-items:center;justify-content:center;padding:4px 6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-layout_k .reference-result-table__data, .theme-layout_k .reference-result-table__issue{border-right:2px solid #9d9d9d}
.theme-layout_k .reference-result-table__issue{font-size:clamp(1.04rem, 3.35vw, 1.26rem);color:#080808}
.theme-layout_k .reference-result-table__data{color:#080808;font-size:clamp(1.05rem, 4.8vw, 1.45rem)}
.theme-layout_k .reference-result-table__result{font-size:clamp(1.04rem, 3.35vw, 1.26rem);color:#080808}
.theme-layout_k .reference-result-table__data .gallery-token-text{color:#080808}
.theme-layout_k .reference-result-table__data .reference-ds-body, .theme-layout_k .reference-result-table__data .reference-ds-body .reference-ds-mark{color:#f00808}
.theme-layout_k .reference-result-table__data .reference-ds-body .gallery-highlight-token{background:#fff200;color:#f00808}
.theme-layout_k .reference-result-table__data--red, .theme-layout_k .reference-result-table__data--red .gallery-token-text, .theme-layout_k .reference-result-table__data--red .reference-result-data-body{color:#f00808}
.theme-layout_k .reference-result-table__data--red .gallery-highlight-token, .theme-layout_k .reference-result-table__data--red .reference-result-data-body .gallery-highlight-token{background:#fff200;color:#f00808}
.theme-layout_k .reference-result-table__result .reference-result-prefix{color:#f00808}
.theme-layout_k .reference-result-table__result .reference-result-draw, .theme-layout_k .reference-result-table__result .reference-result-status{color:#080808}
.theme-layout_k .reference-result-table__result .gallery-highlight-token, .theme-layout_k .reference-result-table__result .gallery-highlight-token .reference-result-status{background:#fff200;color:#f00808}
.theme-layout_k .reference-slot--elite_banner_list .reference-arrange-note, .theme-layout_k .reference-slot--plain_text_list .reference-arrange-note, .theme-layout_k .reference-slot--result_line_table .reference-arrange-note{border-top:1px solid #d8eadb}
@media (max-width:420px){.theme-layout_k .reference-result-table__data, .theme-layout_k .reference-result-table__issue, .theme-layout_k .reference-result-table__result{padding:3px 4px}}
@media (max-width:420px){.theme-layout_k .reference-result-table__issue{font-size:.98rem}}
@media (max-width:420px){.theme-layout_k .reference-result-table__data{font-size:1.16rem}}
@media (max-width:420px){.theme-layout_k .reference-result-table__result{font-size:.94rem}}
@media (max-width:380px){.theme-layout_k .top-site-tabs--with-date .top-site-tab{min-height:50px;padding-top:7px;padding-bottom:7px}}
@media (max-width:380px){.theme-layout_k .reference-result-table__data, .theme-layout_k .reference-result-table__issue, .theme-layout_k .reference-result-table__result{padding:2px 3px}}
@media (max-width:380px){.theme-layout_k .reference-result-table__issue{font-size:.92rem}}
@media (max-width:380px){.theme-layout_k .reference-result-table__data{font-size:1.08rem}}
@media (max-width:380px){.theme-layout_k .reference-result-table__result{font-size:.88rem}}
.theme-layout_k .reference-elite-card{display:grid;gap:0;border-right:1px solid #ececec;border-bottom:1px solid #ececec;border-left:1px solid #ececec;background:#fff;overflow:hidden}
.theme-layout_k .reference-elite-card:first-child{border-top:1px solid #ececec}
.theme-layout_k .reference-elite-card__meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:10px 12px 8px;color:#080808;font-size:clamp(1.12rem, 3.9vw, 1.34rem);font-weight:900;line-height:1.25;text-align:center}
.theme-layout_k .reference-elite-card__issue{color:#080808}
.theme-layout_k .reference-elite-card__result{display:inline-flex;align-items:baseline;color:#080808;white-space:nowrap}
.theme-layout_k .reference-elite-card__result .gallery-token-text{color:#f00808}
.theme-layout_k .reference-elite-card__result .gallery-highlight-token, .theme-layout_k .reference-elite-card__result .gallery-highlight-token .reference-result-status, .theme-layout_k .reference-elite-card__result .reference-result-hit-token{background:#fff200!important;color:#f00808!important}
.theme-layout_k .reference-elite-card__result-main{color:#080808}
.theme-layout_k .reference-elite-card__body{display:block;padding:0 12px 12px;color:#080808;font-size:clamp(1.14rem, 4.2vw, 1.42rem);font-weight:900;line-height:1.18;text-align:center;word-break:break-all}
.theme-layout_k .reference-elite-card__body .gallery-token-text{color:var(--reference-content-color,#f00808)}
.theme-layout_k .reference-number-grid{display:grid;gap:0;padding:5px 0;background:#fff}
.theme-layout_k .reference-number-grid__item{display:grid;gap:0;border-right:1px solid #ddd;border-left:1px solid #ddd}
.theme-layout_k .reference-number-grid__slogan{padding:8px 10px;border-bottom:2px solid #06c;background:linear-gradient(135deg,#e6f2ff,#9cf);color:#06c;font-size:1rem;font-weight:700;line-height:1.5;text-align:center}
.theme-layout_k .reference-number-grid__row{display:grid;grid-template-columns:78px minmax(0,1fr) 92px;min-height:33px;border-bottom:1px solid #ddd;line-height:1}
.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result, .theme-layout_k .reference-number-grid__value{display:flex;min-width:0;align-items:center;padding:6px 3px;overflow:hidden;white-space:nowrap}
.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result{background:#9cf;color:#080808;font-size:.92rem;font-weight:700}
.theme-layout_k .reference-number-grid__period{border-right:1px solid #ddd;justify-content:flex-start;text-align:left;padding-left:4px}
.theme-layout_k .reference-number-grid__value{justify-content:center;border-right:1px solid #ddd;background:#fff;color:#080808;font-size:clamp(.82rem, 3.4vw, 1.05rem);font-weight:700;text-align:center;letter-spacing:-.02em;padding-inline:2px}
.theme-layout_k .reference-number-grid__value .gallery-highlight-token{background:#fff200;color:#f00808}
.theme-layout_k .reference-number-grid__result{justify-content:center;text-align:center;color:#080808;padding-inline:2px}
.theme-layout_k .reference-number-grid__result .reference-result-draw, .theme-layout_k .reference-number-grid__result .reference-result-prefix, .theme-layout_k .reference-number-grid__result .reference-result-status{color:#080808}
.theme-layout_k .reference-number-grid__result .gallery-highlight-token, .theme-layout_k .reference-number-grid__result .gallery-highlight-token .reference-result-status{background:#fff200;color:#f00808}
.theme-layout_k .reference-slot--left_aligned_multiline_text{padding:0;overflow:hidden;border:0;border-radius:0}
.theme-layout_k .reference-left-multiline, .theme-layout_k .reference-left-multiline__item{display:grid;gap:0;background:#fff}
.theme-layout_k .reference-left-multiline__title{display:flex;min-height:44px;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 12px;margin:0;padding:8px 6px;background:#4472c4;color:#fff;font-size:20px;font-weight:900;line-height:1.2;text-align:center}
.theme-layout_k .reference-left-multiline__title .gallery-token-text{color:#fff}
.theme-layout_k .reference-left-multiline__title .reference-left-multiline__result .gallery-highlight-token{background:#fff200;color:#f00808}
.theme-layout_k .reference-left-multiline__result, .theme-layout_k .reference-left-multiline__slogan{display:inline-flex;align-items:center}
.theme-layout_k .reference-left-multiline__line{display:flex;min-height:44px;align-items:center;justify-content:flex-start;gap:.35em;padding:4px 6px;border-right:1px solid #0070c0;border-bottom:1px solid #0070c0;border-left:1px solid #0070c0;background:#fff;font-size:20px;font-weight:400;line-height:1.25;text-align:left;word-break:break-all}
.theme-layout_k .reference-left-multiline__label{flex:0 0 auto}
.theme-layout_k .reference-left-multiline__label, .theme-layout_k .reference-left-multiline__value, .theme-layout_k .reference-left-multiline__value .gallery-token-text{color:#080808}
.theme-layout_k .reference-left-multiline__value{min-width:0}
.theme-layout_k .reference-left-multiline__value .gallery-highlight-token{background:#fff200;color:#f00808}
.theme-layout_k .reference-three-col-nine{display:grid;gap:0;background:#ffc}
.theme-layout_k .reference-slot--three_col_nine_xiao_code{padding:0;overflow:hidden;border-radius:0}
.theme-layout_k .reference-three-col-nine__item{display:grid;gap:0;background:#ffc}
.theme-layout_k .reference-three-col-nine__title{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:7px 6px;border:1px solid #000;border-bottom:0;background:#ffd966;color:#000;font-size:22px;font-weight:900;line-height:1.15;text-align:center}
.theme-layout_k .reference-three-col-nine__row{display:grid;grid-template-columns:18% minmax(0,59%) 23%;min-height:44px;border:1px solid #000;border-bottom:0;line-height:1.1}
.theme-layout_k .reference-three-col-nine__item .reference-three-col-nine__row:last-child{border-bottom:1px solid #000}
.theme-layout_k .reference-three-col-nine__content, .theme-layout_k .reference-three-col-nine__issue, .theme-layout_k .reference-three-col-nine__result{display:flex;min-width:0;align-items:center;justify-content:center;padding:5px 4px;overflow:hidden;text-align:center;white-space:nowrap;font-size:20px;font-weight:900}
.theme-layout_k .reference-three-col-nine__issue, .theme-layout_k .reference-three-col-nine__result{background:#f4b183;color:#000}
.theme-layout_k .reference-three-col-nine__content, .theme-layout_k .reference-three-col-nine__issue{border-right:1px solid #000}
.theme-layout_k .reference-three-col-nine__content{background:#ffc;color:#080808}
.theme-layout_k .reference-three-col-nine__content .gallery-highlight-token, .theme-layout_k .reference-three-col-nine__content .gallery-token-text{color:#f00808}
@media (max-width:420px){.theme-layout_k .reference-plain-card{gap:.3em;padding-inline:6px}}
@media (max-width:420px){.theme-layout_k .reference-plain-card__content{max-width:calc(100vw - 150px)}}
@media (max-width:420px){.theme-layout_k .gallery-highlight-token{padding-inline:1px}}
@media (max-width:420px){.theme-layout_k .reference-number-grid__row{grid-template-columns:70px minmax(0,1fr) 86px}}
@media (max-width:420px){.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result{font-size:.86rem;padding:5px 2px}}
@media (max-width:420px){.theme-layout_k .reference-number-grid__value{font-size:clamp(.78rem, 3.2vw, .98rem)}}
@media (max-width:420px){.theme-layout_k .reference-number-grid__slogan{padding:5px 8px;font-size:.94rem}}
@media (max-width:420px){.theme-layout_k .reference-three-col-nine__title{min-height:40px;padding-inline:4px}}
@media (max-width:420px){.theme-layout_k .reference-three-col-nine__row{grid-template-columns:18% minmax(0,59%) 23%;min-height:40px}}
@media (max-width:420px){.theme-layout_k .reference-three-col-nine__content, .theme-layout_k .reference-three-col-nine__issue, .theme-layout_k .reference-three-col-nine__result{padding-inline:3px}}
@media (max-width:380px){.theme-layout_k .reference-plain-card{gap:.24em;padding-inline:4px;font-size:.94rem}}
@media (max-width:380px){.theme-layout_k .reference-plain-card__content{max-width:calc(100vw - 132px)}}
@media (max-width:380px){.theme-layout_k .reference-number-grid__row{grid-template-columns:68px minmax(0,1fr) 82px}}
@media (max-width:380px){.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result{font-size:.8rem;padding:5px 2px}}
@media (max-width:380px){.theme-layout_k .reference-number-grid__value{font-size:clamp(.74rem, 3vw, .92rem)}}
@media (max-width:380px){.theme-layout_k .reference-three-col-nine__row{min-height:36px}}
.theme-layout_k .issue-pill{color:var(--green);font-size:.86rem;font-weight:800}
.theme-layout_k .reference-slot--nml_black_green{padding:0;overflow:hidden;border:0;border-radius:6px;background:#050505;box-shadow:none}
.theme-layout_k .reference-slot--nml_black_green .panel-heading{justify-content:center;min-height:48px;padding:8px 10px;border-radius:6px 6px 0 0;background:#ffbf00;color:#f00808;text-align:center}
.theme-layout_k .reference-slot--nml_black_green .eyebrow, .theme-layout_k .reference-slot--nml_black_green .panel-note{display:none}
.theme-layout_k .reference-slot--nml_black_green .panel-heading h3{font-size:clamp(1.18rem, 4.2vw, 1.55rem);font-weight:900;line-height:1.2}
.theme-layout_k .reference-nml{display:grid;gap:0;border-right:1px solid #0f3;border-left:1px solid #0f3;background:#050505}
.theme-layout_k .reference-nml .ad-slot{border-top:1px solid #0f3;border-bottom:1px solid #0f3;background:#050505}
.theme-layout_k .reference-nml__title{padding:14px 8px 12px;border-top:1px solid #0f3;border-bottom:1px solid #0f3;background:linear-gradient(180deg,#060606,#121212);color:#0f3;font-size:clamp(1.18rem, 4vw, 1.55rem);font-weight:900;line-height:1.2;text-align:center;text-shadow:0 0 8px rgba(0,255,51,.32)}
.theme-layout_k .reference-nml__item{display:grid;background:#050505;color:#0f3;font-weight:900}
.theme-layout_k .reference-nml__item+.reference-nml__item{border-top:1px solid #0f3}
.theme-layout_k .reference-nml__headline, .theme-layout_k .reference-nml__result{padding:8px 6px;font-size:clamp(1.05rem, 3.8vw, 1.32rem);line-height:1.25;text-align:center}
.theme-layout_k .reference-nml__headline{border-bottom:1px solid #0f3;color:#0f3}
.theme-layout_k .reference-nml__result{border-top:1px solid #0f3;color:#0f3}
.theme-layout_k .reference-nml__result .gallery-highlight-token{color:#ff1010}
.theme-layout_k .reference-nml__columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.theme-layout_k .reference-nml__column+.reference-nml__column{border-left:1px solid #0f3}
.theme-layout_k .reference-nml__rows{display:grid;gap:0}
.theme-layout_k .reference-nml__row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:30px;padding:0 5px;border-bottom:1px solid #0f3;line-height:1.25}
.theme-layout_k .reference-nml__row--dual{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:0}
.theme-layout_k .reference-nml__pair{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:30px;padding:0 5px}
.theme-layout_k .reference-nml__pair+.reference-nml__pair{border-left:1px solid #0f3}
.theme-layout_k .reference-nml__row--dual:last-child, .theme-layout_k .reference-nml__row:last-child{border-bottom:0}
.theme-layout_k .reference-nml__label{color:#0f3;font-size:clamp(.95rem, 3.4vw, 1.26rem);white-space:nowrap}
.theme-layout_k .reference-nml__value{min-width:0;font-size:clamp(.95rem, 3.4vw, 1.26rem);word-break:break-all}
.theme-layout_k .reference-nml__value, .theme-layout_k .reference-nml__value .gallery-highlight-token, .theme-layout_k .reference-nml__value .gallery-token-text{color:#f00808}
.theme-layout_k .ad-slot img{width:100%;height:100%;object-fit:fill}
.theme-layout_k .home-richtext-block{display:block;overflow:hidden;margin-inline:0;border-radius:0;text-decoration:none}
.theme-layout_k .home-richtext-block.is-domain{border:0;box-shadow:none;border-radius:0;background:#ff1e00}
.theme-layout_k .home-site-link-btns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px 8px;border:0;border-radius:0;box-shadow:none;background:linear-gradient(180deg,#fafafa 0,#efefef 100%)}
.theme-layout_k .home-site-link-btns+.home-domain-notice .home-domain-notice__text:first-child, .theme-layout_k .home-site-link-btns+.home-fixed-network-ad+.home-domain-notice .home-domain-notice__text:first-child{padding-top:4px}
.theme-layout_k .home-hero .lottery-tai-wan{border-bottom:0;padding-bottom:12px}
.theme-layout_k .home-site-link-btn{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:40px;padding:6px 8px;border:1px solid rgba(255,255,255,.42);border-radius:10px;color:#fff;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;font-size:clamp(.86rem, 3.5vw, 1rem);font-weight:900;line-height:1.1;letter-spacing:.14em;text-indent:.14em;text-align:center;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-font-smoothing:antialiased;text-shadow:0 1px 0 rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.34),0 0 1px rgba(0,0,0,.5);box-shadow:0 4px 10px rgba(0,0,0,.16),inset 0 -2px 0 rgba(0,0,0,.1);transition:transform .16s,box-shadow .16s,filter .16s,text-shadow .16s;-webkit-tap-highlight-color:transparent}
.theme-layout_k .home-site-link-btn:active{transform:translateY(1px) scale(.985);filter:brightness(.97)}
.theme-layout_k .home-site-link-btn--syncing{opacity:.82;pointer-events:none}
.theme-layout_k .home-site-link-btn--1{background:linear-gradient(180deg,#64b5f6 0,#2196f3 52%,#1976d2 100%);box-shadow:0 4px 12px rgba(33,150,243,.38),inset 0 -2px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.26),0 2px 8px rgba(13,71,161,.55),0 0 10px rgba(187,222,251,.42)}
.theme-layout_k .home-site-link-btn--2{background:linear-gradient(180deg,#66bb6a 0,#3ea342 52%,#2e7d32 100%);box-shadow:0 4px 12px rgba(62,163,66,.38),inset 0 -2px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.26),0 2px 8px rgba(27,94,32,.5),0 0 10px rgba(200,230,201,.38)}
.theme-layout_k .home-site-link-btn--3{background:linear-gradient(180deg,#ff6b6b 0,#e53935 52%,#c62828 100%);box-shadow:0 4px 12px rgba(229,57,53,.38),inset 0 -2px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.26),0 2px 8px rgba(183,28,28,.52),0 0 10px rgba(255,205,210,.38)}
@media (hover:hover){.theme-layout_k .home-site-link-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}}
@media (hover:hover){.theme-layout_k .home-site-link-btn--1:hover{box-shadow:0 6px 16px rgba(33,150,243,.44),inset 0 -2px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.24),0 2px 10px rgba(13,71,161,.62),0 0 14px rgba(187,222,251,.55)}}
@media (hover:hover){.theme-layout_k .home-site-link-btn--2:hover{box-shadow:0 6px 16px rgba(62,163,66,.44),inset 0 -2px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.24),0 2px 10px rgba(27,94,32,.58),0 0 14px rgba(200,230,201,.48)}}
@media (hover:hover){.theme-layout_k .home-site-link-btn--3:hover{box-shadow:0 6px 16px rgba(229,57,53,.44),inset 0 -2px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.24),0 2px 10px rgba(183,28,28,.6),0 0 14px rgba(255,205,210,.48)}}
@media (max-width:380px){.theme-layout_k .home-site-link-btns{gap:5px;padding:4px 6px}}
@media (max-width:380px){.theme-layout_k .home-site-link-btn{min-height:36px;padding:5px 6px;border-radius:8px;font-size:clamp(.8rem, 3.2vw, .92rem);letter-spacing:.12em;text-indent:.12em}}
.theme-layout_k .home-domain-notice .home-richtext-block__content{word-break:normal;overflow-x:auto;scrollbar-width:none}
.theme-layout_k .home-domain-notice .home-richtext-block__content::-webkit-scrollbar{display:none}
.theme-layout_k .home-domain-notice [data-domain-text], .theme-layout_k .home-domain-notice__text{color:#ffe600;font-size:clamp(1.18rem, 4.5vw, 1.72rem);font-weight:800;line-height:1.2;text-align:center;padding:10px 12px;white-space:nowrap}
.theme-layout_k .home-domain-notice__text+.home-domain-notice__text{padding-top:10px}
.theme-layout_k .home-promo-notice, .theme-layout_k .home-richtext-block.is-promo{display:none!important}
.theme-layout_k .home-richtext-block.is-content{margin-inline:0;padding:0;border:1px solid rgba(161,117,26,.14);border-radius:6px;background:linear-gradient(180deg,#fffef8,#fff5d9);color:#2b2416}
.theme-layout_k .home-richtext-block__content{width:100%;line-height:1.7;overflow-x:auto;overflow-y:hidden;word-break:break-word}
.theme-layout_k .home-richtext-block.is-content .home-richtext-block__content img{display:block;max-width:100%!important;width:100%!important;height:auto!important;margin:0}
.theme-layout_k .home-richtext-block.is-content .home-richtext-block__content table{width:auto!important;max-width:100%!important;margin-inline:auto;border-collapse:collapse}
.theme-layout_k .home-richtext-block.is-content .home-richtext-block__content td, .theme-layout_k .home-richtext-block.is-content .home-richtext-block__content th{min-width:64px;padding:6px 8px;word-break:break-word;white-space:normal}
.theme-layout_k .home-richtext-block.is-content .home-richtext-block__content *{max-width:100%}
.theme-layout_k .home-richtext-block__content>:first-child{margin-top:0}
.theme-layout_k .home-richtext-block__content>:last-child{margin-bottom:0}
.theme-layout_k .home-history-cta{display:block;position:relative;margin-inline:0;padding:10px 12px;border-radius:8px;border:1px solid rgba(96,165,250,.55);background:linear-gradient(135deg,#7dd3fc 0,#3b82f6 42%,#2563eb 72%,#1d4ed8 100%);box-shadow:0 4px 14px rgba(37,99,235,.28),inset 0 1px 0 rgba(255,255,255,.35);color:#fff;font-size:clamp(1.18rem, 4.5vw, 1.72rem);font-weight:800;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;overflow:hidden;min-width:0;max-width:100%;width:100%;box-sizing:border-box;transition:transform .15s,box-shadow .15s,filter .15s}
.theme-layout_k .home-history-cta:hover{filter:brightness(1.05);box-shadow:0 6px 18px rgba(37,99,235,.34),inset 0 1px 0 rgba(255,255,255,.4)}
.theme-layout_k .home-history-cta:active{transform:translateY(1px)}
.theme-layout_k .section-heading{margin:2px 2px 0;color:#8a5d00;font-size:1.05rem}
.theme-layout_k .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-layout_k .feature-card{display:grid;gap:10px;padding:14px}
.theme-layout_k .feature-card.warm{background:var(--warm-bg)}
.theme-layout_k .feature-card.cool{background:var(--cool-bg)}
.theme-layout_k .feature-card.accent{background:var(--accent-bg)}
.theme-layout_k .feature-card header p, .theme-layout_k .feature-card header span{margin:0}
.theme-layout_k .feature-card header p{font-weight:800}
.theme-layout_k .feature-card-body{display:grid;gap:8px}
.theme-layout_k .feature-card-body p{margin:0;font-size:.92rem}
.theme-layout_k .board-list, .theme-layout_k .feature-card-body ul{margin:0;padding-left:18px}
.theme-layout_k .board-list li, .theme-layout_k .feature-card-body li{margin:0 0 4px}
.theme-layout_k .board-panel, .theme-layout_k .footer-note, .theme-layout_k .gallery-entry{padding:14px}
.theme-layout_k .app-shell.view-home .gallery-page, .theme-layout_k .app-shell.view-home .history-page, .theme-layout_k .app-shell.view-home .market-page{display:none!important}
.theme-layout_k .app-shell.view-gallery .history-page, .theme-layout_k .app-shell.view-gallery .home-floating-actions, .theme-layout_k .app-shell.view-gallery .home-page, .theme-layout_k .app-shell.view-gallery .market-page, .theme-layout_k .app-shell.view-history .gallery-page, .theme-layout_k .app-shell.view-history .home-floating-actions, .theme-layout_k .app-shell.view-history .home-page, .theme-layout_k .app-shell.view-history .market-page, .theme-layout_k .app-shell.view-market .gallery-page, .theme-layout_k .app-shell.view-market .history-page, .theme-layout_k .app-shell.view-market .home-floating-actions, .theme-layout_k .app-shell.view-market .home-page{display:none!important;visibility:hidden!important;pointer-events:none!important}
.theme-layout_k .app-shell.view-gallery .gallery-page, .theme-layout_k .app-shell.view-market .market-page{display:grid!important}
.theme-layout_k .app-shell.view-history .history-page{display:block!important}
.theme-layout_k .app-shell.view-history{background:#f5f5f5}
.theme-layout_k .app-shell:not(.view-market) .market-sidebar-inner{display:none!important}
.theme-layout_k .app-shell.view-gallery .app-main, .theme-layout_k .app-shell.view-history .app-main, .theme-layout_k .app-shell.view-market .app-main{max-width:var(--app-shell-max-width)}
.theme-layout_k .app-shell.view-gallery, .theme-layout_k .app-shell.view-history, .theme-layout_k .app-shell.view-market{padding-top:0}
.theme-layout_k .market-page{--market-topbar-height:74px;--market-tabs-height:50px;--market-sticky-height:calc(
    var(--market-topbar-height) + var(--market-tabs-height)
  );padding-top:var(--market-sticky-height);padding-inline:0;gap:0;max-width:var(--app-shell-max-width)}
.theme-layout_k .market-shell{display:grid;gap:0;background:#f5f5f5}
.theme-layout_k .market-sticky-shell{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:35;width:min(var(--page-max-width),100vw);background:#fff;box-shadow:0 10px 20px #00000014}
.theme-layout_k .market-topbar{display:flex;align-items:center;justify-content:center;min-height:var(--market-topbar-height);padding:10px 16px 8px;background:linear-gradient(180deg,#44ae47,#3ea342);color:#fff;text-align:center}
.theme-layout_k .market-topbar h2, .theme-layout_k .placeholder-page h2{margin:0}
.theme-layout_k .market-topbar h2{font-size:clamp(1.35rem, 3.7vw, 1.8rem);font-weight:900;letter-spacing:.04em}
.theme-layout_k .market-site-tabs .top-site-tabs-track{width:100%}
.theme-layout_k .market-site-tab{align-items:center;justify-content:center;min-height:var(--market-tabs-height);min-width:0;padding:6px 10px;background:#f3f3f3;font-size:.94rem;white-space:nowrap;overflow:hidden;border-bottom:3px solid transparent}
.theme-layout_k .market-site-tab.active{background:#fff;color:#3ea342;font-weight:800;border-bottom-color:#3ea342}
.theme-layout_k .market-site-name{display:block;max-width:100%;overflow:hidden;white-space:nowrap;position:relative}
.theme-layout_k .market-site-name .history-name-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.theme-layout_k .market-stage{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:start;padding:10px}
.theme-layout_k .market-sidebar{min-width:0}
.theme-layout_k .market-sidebar-inner{position:fixed;top:calc(var(--market-sticky-height) + 10px);left:calc(50% - (min(var(--page-max-width),100vw)/ 2) + 10px);z-index:20;width:88px;display:grid;gap:0;max-height:calc(100vh - var(--market-sticky-height) - var(--bottom-nav-height) - 24px - env(safe-area-inset-bottom));overflow-y:auto;border:1px solid rgba(0,0,0,.08);border-radius:0 0 14px 14px;background:#fff}
.theme-layout_k .market-category-group+.market-category-group{border-top:1px solid rgba(0,0,0,.06)}
.theme-layout_k .market-category-title{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 6px;color:#2a2a2a;font-size:.9rem;text-align:center}
.theme-layout_k .market-category-title strong{display:inline-block;font-weight:700;line-height:1;white-space:nowrap}
.theme-layout_k .market-category-toggle{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:100%;padding:0;border:0;background:0 0;color:inherit;font:inherit;line-height:1;cursor:pointer;white-space:nowrap}
.theme-layout_k .market-category-toggle:focus-visible{outline:rgba(81,179,87,.45) solid 2px;outline-offset:2px}
.theme-layout_k .market-category-toggle-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:12px;height:12px;color:#7d7d7d}
.theme-layout_k .market-category-toggle-icon svg{display:block;width:12px;height:12px}
.theme-layout_k .market-category-group.is-collapsed .market-category-item{display:none}
.theme-layout_k .market-category-item{width:100%;min-height:46px;padding:8px 6px;border:0;border-top:1px solid rgba(0,0,0,.05);background:#fff;color:#4f4f4f;font-size:.88rem;line-height:1.2;text-align:center;cursor:pointer}
.theme-layout_k .market-category-item.active{background:#eef8ef;color:#51b357;box-shadow:inset 3px 0 #51b357}
.theme-layout_k .market-sidebar-empty{padding:16px 10px;color:var(--text-muted);font-size:.82rem;text-align:center}
.theme-layout_k .market-feed{display:grid;gap:12px;min-width:0}
.theme-layout_k .market-state{padding:22px 18px;color:var(--text-muted);text-align:center}
.theme-layout_k .market-post-card{display:grid;gap:12px;padding:16px 16px 14px;border-radius:18px;background:#fff;box-shadow:0 12px 28px #00000014,inset 0 1px #ffffffe6}
.theme-layout_k .market-post-header{display:flex;align-items:center;gap:14px}
.theme-layout_k .market-avatar{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-size:1.7rem;font-weight:900;box-shadow:inset 0 1px #ffffff3d}
.theme-layout_k .market-post-meta{display:grid;gap:2px;min-width:0}
.theme-layout_k .market-post-meta strong{color:#262626;font-size:1rem;font-weight:900}
.theme-layout_k .market-post-meta span{color:#5f5f5f;font-size:.9rem}
.theme-layout_k .market-post-tags{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;width:100%;min-width:0}
.theme-layout_k .market-post-tags .tag{display:inline-flex;box-sizing:border-box;flex:0 0 auto;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border-radius:999px;font-size:clamp(.9rem, 2.5vw, 1rem);font-weight:800;line-height:1.2;white-space:nowrap}
.theme-layout_k .market-post-tags .tag.issue{background:#ffe0df;color:#ff4d3e;flex:1 1 auto;min-width:0}
.theme-layout_k .market-post-tags .tag.parent{background:#e3efe0;color:#5eb86a}
.theme-layout_k .market-post-tags .tag.child{background:#fbeccf;color:#f4a228}
.theme-layout_k .market-post-content{padding:16px 14px;border-radius:8px;background:#f6f6f6;color:#1f6bd4;font-size:clamp(1.05rem, 2.6vw, 1.28rem);font-weight:900;line-height:1.45;letter-spacing:.09em;text-align:center;word-break:normal;overflow-wrap:normal}
.theme-layout_k .market-post-content--grouped{white-space:pre-line;line-height:1.6;word-break:normal;overflow-wrap:normal}
.theme-layout_k .market-post-content--single{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.theme-layout_k .market-post-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid rgba(0,0,0,.07);color:#646464;font-size:.92rem}
.theme-layout_k span.market-post-like{display:none}
.theme-layout_k .market-post-like-button{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:0;border-radius:10px;background:0 0;color:#202020;font:inherit;font-weight:800;cursor:pointer;transition:transform .18s,background-color .22s,color .22s,box-shadow .22s}
.theme-layout_k .market-post-like-button:hover{background:#ffa60014}
.theme-layout_k .market-post-like-button.active{background:linear-gradient(180deg,#ffb433,#ff9d00);color:#fff;box-shadow:0 10px 22px #ff9d003d}
.theme-layout_k .market-post-like-button.bump{animation:.42s market-like-pop}
.theme-layout_k .market-post-like-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2;flex:0 0 auto;transition:fill .22s,stroke .22s,transform .22s}
.theme-layout_k .market-post-like-button.active .market-post-like-icon{fill:currentColor}
.theme-layout_k .market-post-like-button.bump .market-post-like-icon{transform:scale(1.12)}
.theme-layout_k .market-post-like-count{line-height:1}
.theme-layout_k .market-post-like-burst{position:absolute;left:50%;bottom:calc(100% - 4px);color:#ff9d00;font-size:.84rem;font-weight:900;line-height:1;pointer-events:none;transform:translate(-50%,8px);animation:.56s forwards market-like-float}
.theme-layout_k .market-post-source{color:#7d6f6f}
.theme-layout_k .market-like-toast{position:fixed;left:50%;top:50%;z-index:80;width:min(520px,100vw - 64px);padding:18px 28px;border-radius:8px;background:linear-gradient(180deg,#ffaf1f,#ff9800);box-shadow:0 14px 30px #0000002e;color:#3d2200;font-size:clamp(1.02rem, 2.2vw, 1.28rem);font-weight:800;line-height:1.25;letter-spacing:.02em;text-align:left;pointer-events:none;transform:translate(-50%,-50%);animation:1.6s forwards market-like-toast-in}
.theme-layout_k .market-load-more{display:grid;justify-items:center;gap:10px;padding:4px 0 2px;color:var(--text-muted);font-size:.88rem}
.theme-layout_k .market-more-button{min-width:140px;min-height:42px;padding:0 18px;border:1px solid rgba(63,149,67,.28);border-radius:999px;background:linear-gradient(180deg,#fff,#edf8ef);color:#348a3a;font-weight:800;cursor:pointer}
.theme-layout_k .gallery-page{--gallery-topbar-height:74px;--gallery-tabs-height:50px;--gallery-sticky-height:calc(
    var(--gallery-topbar-height) + var(--gallery-tabs-height)
  );padding-top:var(--gallery-sticky-height);padding-inline:0;gap:0;max-width:var(--app-shell-max-width)}
.theme-layout_k .gallery-shell{display:grid;gap:0;background:#f5f5f5}
.theme-layout_k .gallery-sticky-shell{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:35;width:min(var(--page-max-width),100vw);background:#fff;box-shadow:0 10px 20px #00000014}
.theme-layout_k .gallery-topbar{display:flex;align-items:center;justify-content:center;min-height:var(--gallery-topbar-height);padding:10px 16px 8px;background:linear-gradient(180deg,#44ae47,#3ea342);color:#fff;text-align:center}
.theme-layout_k .gallery-topbar h2{margin:0;font-size:clamp(1.35rem, 3.7vw, 1.8rem);font-weight:900;letter-spacing:.04em}
.theme-layout_k .gallery-site-tabs .top-site-tabs-track{width:100%}
.theme-layout_k .gallery-site-tab{align-items:center;justify-content:center;min-height:var(--gallery-tabs-height);min-width:0;padding:6px 10px;background:#f3f3f3;font-size:.94rem;font-weight:800;white-space:nowrap;overflow:hidden;border-bottom:3px solid transparent}
.theme-layout_k .gallery-site-tab.active{background:#fff;color:#3ea342;border-bottom-color:#3ea342}
.theme-layout_k .gallery-site-name{display:block;max-width:100%;overflow:hidden;white-space:nowrap;position:relative;line-height:1.25}
.theme-layout_k .gallery-site-name .history-name-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.theme-layout_k .gallery-stage{padding:12px var(--app-shell-gutter) calc(var(--bottom-nav-height) + 16px)}
.theme-layout_k .gallery-grid{display:flex;align-items:flex-start;gap:12px}
.theme-layout_k .gallery-grid-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}
.theme-layout_k .gallery-card{display:block;width:100%;margin:0;overflow:hidden;padding:0;border:1px solid #eee;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.08);background:#fff;touch-action:manipulation}
.theme-layout_k .gallery-card.is-previewable{cursor:zoom-in}
.theme-layout_k .gallery-card.is-previewable:active{opacity:.92}
.theme-layout_k .gallery-card__media{position:relative;background:#f5f5f5;min-height:80px;display:block}
.theme-layout_k .gallery-card__media.is-empty{min-height:120px;display:flex;align-items:center;justify-content:center;color:#999;font-size:.88rem;font-weight:700}
.theme-layout_k .gallery-card__img{display:block;width:100%;height:auto;-webkit-user-drag:none;user-select:none;pointer-events:none}
.theme-layout_k .gallery-card__meta{padding:8px 10px 10px;text-align:center}
.theme-layout_k .gallery-card__title{margin:0;font-size:.82rem;line-height:1.4;font-weight:700;color:#333;word-break:break-all}
.theme-layout_k .gallery-state{flex:1 1 100%;width:100%;margin-bottom:12px;padding:18px;text-align:center;color:var(--text-muted)}
.theme-layout_k .gallery-load-more{display:block;width:100%;margin:8px 0 4px;text-align:center;padding:4px 0}
.theme-layout_k .gallery-load-sentinel{width:100%;height:24px}
.theme-layout_k .gallery-load-more.is-loading{padding:10px 0 6px}
.theme-layout_k .gallery-load-more__text{display:block;padding:8px 0 4px;color:var(--text-muted);font-size:.86rem}
.theme-layout_k.gallery-lightbox-open{overflow:hidden}
.theme-layout_k .gallery-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px}
.theme-layout_k .gallery-lightbox[hidden]{display:none!important}
.theme-layout_k .gallery-lightbox__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.75)}
.theme-layout_k .gallery-lightbox__panel{position:relative;z-index:1;width:min(1200px,96vw);max-height:96vh;overflow:auto;padding:20px;border-radius:12px;background:#fff}
.theme-layout_k .gallery-lightbox__close{position:absolute;top:8px;right:12px;z-index:2;border:0;background:0 0;color:#666;font-size:28px;line-height:1;cursor:pointer}
.theme-layout_k .gallery-lightbox__title{margin:0 32px 12px 0;font-size:1rem;line-height:1.4;color:#222}
.theme-layout_k .gallery-lightbox__img-wrap{position:relative;text-align:center;border-radius:8px;background:#f5f5f5}
.theme-layout_k .gallery-lightbox__img{display:block;width:auto;max-width:100%;max-height:min(85vh,900px);height:auto;margin:0 auto;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.theme-layout_k .gallery-lightbox__img.is-preview{image-rendering:auto}
.theme-layout_k .gallery-lightbox__img-wrap.is-loading-full::after{content:"";position:absolute;right:10px;bottom:10px;width:18px;height:18px;border:2px solid rgba(0,0,0,.12);border-top-color:#07c160;border-radius:50%;animation:.7s linear infinite gallery-lightbox-spin;pointer-events:none}
@keyframes gallery-lightbox-spin{to{transform:rotate(360deg)}}
@media (max-width:480px){.theme-layout_k .gallery-page{--gallery-topbar-height:68px;--gallery-tabs-height:46px}}
@media (max-width:480px){.theme-layout_k .gallery-site-tab{min-height:var(--gallery-tabs-height);font-size:.88rem}}
.theme-layout_k .board-panel.gold{background:linear-gradient(180deg,#fff9ea,#fff1cb)}
.theme-layout_k .board-panel.green{background:linear-gradient(180deg,#f2fff7,#e0f9ea)}
.theme-layout_k .board-panel-header{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:12px}
.theme-layout_k .board-panel-header h3{font-size:1rem}
.theme-layout_k .gallery-entry{border:0;text-align:left;background:linear-gradient(180deg,#fff,#fffaf1);cursor:pointer}
.theme-layout_k .footer-note{font-size:.88rem;line-height:1.7}
.theme-layout_k .bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:120;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(var(--app-shell-max-width),100vw);gap:0;margin:0 auto;padding:0 0 env(safe-area-inset-bottom);border:0;border-radius:0;background:#fff;box-shadow:0 -2px 10px #0000001a}
.theme-layout_k .bottom-nav .nav-item{min-height:51px;border-radius:0}
.theme-layout_k .bottom-nav .nav-item.active{background:#fff;color:#0c4}
.theme-layout_k .history-page{--history-topbar-height:74px;--history-tabs-height:50px;--history-sticky-height:calc(
    var(--history-topbar-height) + var(--history-tabs-height)
  );padding-top:var(--history-sticky-height);padding-inline:0;gap:0;max-width:var(--app-shell-max-width);-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.theme-layout_k .app-shell.view-history, .theme-layout_k .app-shell.view-history *, .theme-layout_k .app-shell.view-history .as-shield, .theme-layout_k .app-shell.view-history .history-item, .theme-layout_k .app-shell.view-history .history-list, .theme-layout_k .app-shell.view-history .history-page, .theme-layout_k .app-shell.view-history .history-shell, .theme-layout_k .app-shell.view-history .info-row, .theme-layout_k .app-shell.view-history .item-date, .theme-layout_k .app-shell.view-history .item-issue, .theme-layout_k .app-shell.view-history .number-text, .theme-layout_k .history-page *{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.theme-layout_k .app-shell.view-history input, .theme-layout_k .app-shell.view-history select, .theme-layout_k .app-shell.view-history textarea, .theme-layout_k .history-page input, .theme-layout_k .history-page select, .theme-layout_k .history-page textarea{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important;-webkit-touch-callout:default!important}
.theme-layout_k .app-shell.view-history img{-webkit-user-drag:none;pointer-events:none}
.theme-layout_k .as-shield{display:inline;font:inherit;color:inherit;font-weight:inherit;letter-spacing:inherit;white-space:inherit;line-height:inherit;-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.theme-layout_k .as-shield-css::before{content:attr(data-disp);-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.theme-layout_k .history-shell{display:grid;gap:0;background:#f5f5f5}
.theme-layout_k .history-sticky-shell{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:35;width:min(var(--page-max-width),100vw);background:#fff;box-shadow:0 10px 20px #00000014}
.theme-layout_k .history-topbar{position:relative;display:flex;align-items:center;justify-content:center;min-height:var(--history-topbar-height);height:var(--history-topbar-height);padding:0 12px;background:linear-gradient(180deg,#44ae47,#3ea342);color:#fff;text-align:center;box-sizing:border-box}
.theme-layout_k .history-back-btn{position:absolute;left:10px;top:50%;transform:translateY(-50%);z-index:1;display:inline-flex;align-items:center;gap:2px;margin:0;padding:5px 8px 5px 4px;border:1px solid rgba(255,255,255,.55);border-radius:8px;background:rgba(255,255,255,.16);color:#fff;font-size:.86rem;font-weight:800;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;box-sizing:border-box}
.theme-layout_k .history-back-btn:focus-visible, .theme-layout_k .history-back-btn:hover{background:rgba(255,255,255,.28);outline:0}
.theme-layout_k .history-back-btn:active{transform:translateY(calc(-50% + 1px));background:rgba(255,255,255,.22)}
.theme-layout_k .history-back-btn__icon{width:16px;height:16px;flex:0 0 auto;display:block}
.theme-layout_k .history-back-btn__text{letter-spacing:.04em}
.theme-layout_k .history-topbar h2{margin:0;font-size:clamp(1.35rem, 3.7vw, 1.8rem);font-weight:900;letter-spacing:.04em;line-height:1.2}
.theme-layout_k .history-site-tabs .top-site-tabs-track{width:100%}
.theme-layout_k .history-site-tab{align-items:center;justify-content:center;min-height:var(--history-tabs-height);padding:6px 10px;background:#f3f3f3;font-size:.94rem;white-space:nowrap;border-bottom:3px solid transparent}
.theme-layout_k .history-site-tab.active{background:#fff;color:#3ea342;font-weight:800;border-bottom-color:#3ea342}
.theme-layout_k .history-site-name{display:block;max-width:100%;overflow:hidden;white-space:nowrap;position:relative}
.theme-layout_k .history-site-name .history-name-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.theme-layout_k .history-stage{padding:0 0 calc(var(--bottom-nav-height) + 16px + env(safe-area-inset-bottom))}
.theme-layout_k .history-list{margin-top:0;padding:0}
.theme-layout_k .history-item{display:grid;gap:12px;padding:14px 14px 16px;background:#fff;border-bottom:1px solid #e8e8e8}
.theme-layout_k .history-item .item-left{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px 12px;width:100%}
.theme-layout_k .history-item .item-right{min-width:0;display:block}
.theme-layout_k .item-date{flex:0 0 auto;margin:0;color:#999;font-size:14px;font-weight:600;line-height:18px}
.theme-layout_k .item-channel-label{flex:1 1 auto;min-width:0;color:#333;font-size:14px;font-weight:600;line-height:18px;text-align:center;overflow:hidden;white-space:nowrap;position:relative}
.theme-layout_k .item-channel-label .history-name-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.theme-layout_k .item-issue{flex:0 0 auto;color:#333;font-size:14px;font-weight:600;line-height:18px}
.theme-layout_k .numbers-row{display:flex;align-items:flex-start;justify-content:space-between;gap:clamp(8px,2vw,16px);width:100%;min-width:0}
.theme-layout_k .numbers-grid{flex:1 1 auto;min-width:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(6px,1.8vw,12px)}
.theme-layout_k .special-number-group{flex:0 0 auto;display:flex;align-items:flex-start;gap:clamp(4px,1.4vw,8px)}
.theme-layout_k .number-item{width:auto;min-width:0;display:flex;flex-direction:column;align-items:center}
.theme-layout_k .number-circle{width:var(--history-ball-size);height:var(--history-ball-size);display:flex;align-items:center;justify-content:center;margin-bottom:4px;border-radius:50%;background-position:center center;background-repeat:no-repeat;background-size:contain}
.theme-layout_k .number-text{color:#33455f;font-size:clamp(14px, 3.6vw, 17px);font-weight:700;line-height:1}
.theme-layout_k .number-info{display:flex;justify-content:center;width:var(--history-ball-size)}
.theme-layout_k .info-row{color:#5d6980;font-size:14px;line-height:18px;font-weight:600;white-space:nowrap}
.theme-layout_k .plus-sign{flex:0 0 auto;width:clamp(10px,3vw,16px);height:var(--history-ball-size);display:flex;align-items:center;justify-content:center;margin:0;color:#bbb;font-size:clamp(18px, 4vw, 20px);font-weight:700;line-height:1}
.theme-layout_k .history-wave-red{background-image:var(--history-ball-red)}
.theme-layout_k .history-wave-blue{background-image:var(--history-ball-blue)}
.theme-layout_k .history-wave-green{background-image:var(--history-ball-green)}
.theme-layout_k .history-list .number-circle.history-wave-red{background-image:url("../img/am99/img/ball-red.png");background-size:100% 100%}
.theme-layout_k .history-list .number-circle.history-wave-blue{background-image:url("../img/am99/img/ball-blue.png");background-size:100% 100%}
.theme-layout_k .history-list .number-circle.history-wave-green{background-image:url("../img/am99/img/ball-green.png");background-size:100% 100%}
.theme-layout_k .history-wave-empty{background:radial-gradient(circle at 30% 28%,#ffffffeb 0,#ffffffeb 18%,#fff0 20%),linear-gradient(180deg,#ececec,#c8c8c8 58%,#a8a8a8)}
.theme-layout_k .history-empty-copy, .theme-layout_k .history-loading-copy{display:flex;align-items:center;justify-content:center;min-height:54px;color:#8a8a8a;font-size:13px}
.theme-layout_k .history-scroll-sentinel{width:100%;height:1px;pointer-events:none}
.theme-layout_k .bottom-nav a.nav-item{text-decoration:none}
.theme-layout_k .nav-item{display:grid;align-content:center;justify-items:center;gap:2px;padding:4px 8px 3px;border:0;border-radius:0;background:0 0;color:#666;cursor:pointer}
.theme-layout_k .nav-item.active{background:#fff;color:#0c4}
.theme-layout_k .nav-icon{display:flex;align-items:center;justify-content:center;height:28px;color:var(--nav-icon-color,#64b5f6)}
.theme-layout_k .nav-icon svg{width:24px;height:24px;fill:currentColor}
.theme-layout_k .nav-item.active .nav-icon svg{width:28px;height:28px}
.theme-layout_k .nav-label{font-size:12px;font-weight:700;line-height:1.1}
.theme-layout_k .nav-item.active .nav-label{font-weight:900}
@media (max-width:720px){.theme-layout_k .ad-strip, .theme-layout_k .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.theme-layout_k .board-panel-header{display:grid;gap:6px;align-items:start}}
@media (max-width:420px){.theme-layout_k .lottery-tai-wan{padding-inline:12px}}
@media (max-width:420px){.theme-layout_k .lottery-top{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}}
@media (max-width:420px){.theme-layout_k .lottery-issue-title{font-size:clamp(.94rem, 3.9vw, 1rem)}}
@media (max-width:420px){.theme-layout_k .lottery-countdown{grid-column:auto;justify-self:center;font-size:clamp(.82rem, 3.4vw, .92rem)}}
@media (max-width:420px){.theme-layout_k .lottery-history-link{font-size:clamp(.82rem, 3.4vw, .92rem)}}
@media (max-width:420px){.theme-layout_k .feature-grid{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.theme-layout_k .market-like-toast{width:calc(100vw - 36px);padding:16px 22px;font-size:1rem}}
@media (max-width:420px){.theme-layout_k .lottery-nums__ul{gap:6px}}
@media (max-width:420px){.theme-layout_k .market-stage{grid-template-columns:74px minmax(0,1fr);gap:8px;padding:8px}}
@media (max-width:420px){.theme-layout_k .market-page{--market-topbar-height:68px;--market-tabs-height:46px}}
@media (max-width:420px){.theme-layout_k .history-page{--history-topbar-height:68px;--history-tabs-height:46px}}
@media (max-width:420px){.theme-layout_k .market-sidebar-inner{left:calc(50% - (min(var(--page-max-width),100vw)/ 2) + 8px);width:74px;max-height:calc(100vh - var(--market-sticky-height) - var(--bottom-nav-height) - 18px - env(safe-area-inset-bottom))}}
@media (max-width:420px){.theme-layout_k .market-site-tab{min-height:var(--market-tabs-height);padding-inline:6px;font-size:.84rem}}
@media (max-width:420px){.theme-layout_k .history-site-tab{min-height:var(--history-tabs-height);padding-inline:6px;font-size:.84rem}}
@media (max-width:420px){.theme-layout_k .top-site-tabs--equal .top-site-tab{font-size:.8rem}}
@media (max-width:420px){.theme-layout_k .market-post-card{padding-inline:14px}}
@media (max-width:420px){.theme-layout_k .market-post-footer, .theme-layout_k .market-post-header{gap:10px}}
@media (max-width:420px){.theme-layout_k .history-item{padding-inline:10px}}
@media (max-width:420px){.theme-layout_k .numbers-row{gap:8px}}
@media (max-width:420px){.theme-layout_k .numbers-grid{gap:6px}}
@media (max-width:420px){.theme-layout_k .special-number-group{gap:4px}}
@media (max-width:380px){.theme-layout_k .lottery-tai-wan{--history-ball-size:clamp(36px, 10.4vw, 52px);padding-inline:10px}}
@media (max-width:380px){.theme-layout_k .lottery-top{gap:4px}}
@media (max-width:380px){.theme-layout_k .lottery-issue-title{font-size:.9rem}}
@media (max-width:380px){.theme-layout_k .lottery-countdown, .theme-layout_k .lottery-history-link{font-size:.78rem}}
@media (max-width:380px){.theme-layout_k .lottery-nums{gap:6px;margin-top:12px}}
@media (max-width:380px){.theme-layout_k .lottery-nums__item, .theme-layout_k .lottery-nums__ul{gap:4px}}
@media (max-width:380px){.theme-layout_k .lottery-num{font-size:clamp(16px, 4.8vw, 24px)}}
@media (max-width:380px){.theme-layout_k .lottery-num--loading i{font-size:clamp(14px, 4.2vw, 20px)}}
@media (max-width:380px){.theme-layout_k .lottery-animal{font-size:10px}}
@media (max-width:380px){.theme-layout_k .plus-sign{width:clamp(14px,3.6vw,22px);font-size:clamp(20px, 5.4vw, 34px)}}
@media (max-width:380px){.theme-layout_k .hero-banner__lottery-name{left:9%;bottom:20%;font-size:clamp(29px, 8.5vw, 56px)}}
@media (max-width:380px){.theme-layout_k .reference-result-table__data, .theme-layout_k .reference-result-table__issue, .theme-layout_k .reference-result-table__result{padding-inline:2px}}
@media (max-width:380px){.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result, .theme-layout_k .reference-number-grid__value{padding-inline:4px}}
@media (max-width:370px){.theme-layout_k .top-site-tabs--with-date .top-site-tab{min-height:48px;padding-top:6px;padding-bottom:6px}}
@media (max-width:370px){.theme-layout_k .top-site-tabs--with-date .top-site-tab__name{font-size:11px}}
@media (max-width:370px){.theme-layout_k .top-site-tabs--with-date .top-site-tab__date{font-size:9px}}
@media (max-width:370px){.theme-layout_k .lottery-tai-wan{--history-ball-size:clamp(34px, 10vw, 48px);padding-inline:8px}}
@media (max-width:370px){.theme-layout_k .lottery-issue-title{font-size:.86rem}}
@media (max-width:370px){.theme-layout_k .lottery-countdown, .theme-layout_k .lottery-history-link{font-size:.74rem}}
@media (max-width:370px){.theme-layout_k .lottery-nums__ul{gap:3px}}
@media (max-width:370px){.theme-layout_k .lottery-num{font-size:clamp(15px, 4.5vw, 22px)}}
@media (max-width:370px){.theme-layout_k .lottery-num--loading i{font-size:clamp(13px, 4vw, 18px)}}
@media (max-width:370px){.theme-layout_k .lottery-animal{font-size:9px}}
@media (max-width:370px){.theme-layout_k .hero-banner__lottery-name{left:9%;bottom:20%;max-width:62%;font-size:clamp(29px, 8.5vw, 56px)}}
@media (max-width:370px){.theme-layout_k .plus-sign{width:clamp(12px,3.4vw,20px);font-size:clamp(18px, 5vw, 30px)}}
@media (max-width:370px){.theme-layout_k .reference-plain-card{gap:.2em;padding-inline:3px;font-size:.9rem}}
@media (max-width:370px){.theme-layout_k .reference-plain-card__content{max-width:calc(100vw - 124px)}}
@media (max-width:370px){.theme-layout_k .reference-result-table__issue{font-size:.86rem}}
@media (max-width:370px){.theme-layout_k .reference-result-table__data{font-size:1rem}}
@media (max-width:370px){.theme-layout_k .reference-result-table__result{font-size:.82rem}}
@media (max-width:370px){.theme-layout_k .reference-number-grid__row{grid-template-columns:66px minmax(0,1fr) 78px}}
@media (max-width:370px){.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result{font-size:.76rem;padding:5px 2px}}
@media (max-width:370px){.theme-layout_k .reference-number-grid__value{font-size:clamp(.72rem, 2.9vw, .9rem)}}
@media (max-width:370px){.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result, .theme-layout_k .reference-number-grid__value{padding-inline:3px}}
@media (max-width:640px){.theme-layout_k .home-reference-sections, .theme-layout_k .reference-elite-list, .theme-layout_k .reference-left-multiline, .theme-layout_k .reference-nml, .theme-layout_k .reference-number-grid, .theme-layout_k .reference-plain-list, .theme-layout_k .reference-result-table-list, .theme-layout_k .reference-slot, .theme-layout_k .reference-three-col-nine{max-width:100%;overflow-x:hidden}}
@media (max-width:640px){.theme-layout_k .reference-slot--elite_banner_list .panel-heading, .theme-layout_k .reference-slot--number_grid .panel-heading, .theme-layout_k .reference-slot--plain_text_list .panel-heading, .theme-layout_k .reference-slot--result_line_table .panel-heading{min-height:40px;padding:8px 10px}}
@media (max-width:640px){.theme-layout_k .reference-slot--elite_banner_list .panel-heading h3, .theme-layout_k .reference-slot--number_grid .panel-heading h3, .theme-layout_k .reference-slot--plain_text_list .panel-heading h3, .theme-layout_k .reference-slot--result_line_table .panel-heading h3{font-size:clamp(1rem, 4.2vw, 1.18rem)}}
@media (max-width:640px){.theme-layout_k .reference-arrange-note{padding:8px;font-size:clamp(.76rem, 3.2vw, .9rem);line-height:1.25;gap:3px}}
@media (max-width:640px){.theme-layout_k .reference-arrange-note__row{gap:10px}}
@media (max-width:640px){.theme-layout_k .reference-arrange-note__item{white-space:nowrap}}
@media (max-width:640px){.theme-layout_k .reference-plain-card{flex-direction:column;align-items:center;gap:6px;min-height:auto;padding:10px 12px;white-space:normal;line-height:1.35;text-align:center}}
@media (max-width:640px){.theme-layout_k .reference-plain-card__issue, .theme-layout_k .reference-plain-card__result{flex:none;width:100%}}
@media (max-width:640px){.theme-layout_k .reference-plain-card__content{flex:none;width:100%;max-width:none;overflow:visible;text-overflow:unset;white-space:normal;word-break:break-word}}
@media (max-width:640px){.theme-layout_k .reference-plain-card__result{display:flex;justify-content:center;flex-wrap:wrap}}
@media (max-width:640px){.theme-layout_k .reference-slot--plain_green .reference-plain-card{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:.3em .35em;width:100%;max-width:100%;min-height:42px;padding:8px 6px;overflow:visible;box-sizing:border-box;white-space:normal;font-size:clamp(.92rem, 3.8vw, 1.14rem);line-height:1.3;text-align:center}}
@media (max-width:640px){.theme-layout_k .reference-slot--plain_green .reference-plain-card__issue, .theme-layout_k .reference-slot--plain_green .reference-plain-card__result{flex:0 0 auto;width:auto;flex-shrink:0}}
@media (max-width:640px){.theme-layout_k .reference-slot--plain_green .reference-plain-card__content{flex:0 1 auto;width:auto;min-width:0;max-width:100%;overflow:visible;text-overflow:unset;white-space:normal;word-break:keep-all}}
@media (max-width:640px){.theme-layout_k .reference-slot--plain_green .reference-plain-card__result{flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;font-size:clamp(.86rem, 3.5vw, 1.04rem)}}
@media (max-width:640px){.theme-layout_k .reference-result-table{grid-template-columns:1fr 1fr;grid-template-areas:"issue result" "data data";min-height:auto}}
@media (max-width:640px){.theme-layout_k .reference-result-table__issue{grid-area:issue;border-right:2px solid #9d9d9d;padding:8px 6px;font-size:.92rem}}
@media (max-width:640px){.theme-layout_k .reference-result-table__result{grid-area:result;border-right:none;padding:8px 6px;font-size:.88rem;white-space:normal;flex-wrap:wrap}}
@media (max-width:640px){.theme-layout_k .reference-result-table__data{grid-area:data;grid-column:1/-1;border-top:2px solid #9d9d9d;border-right:none;white-space:normal;word-break:break-word;overflow:visible;text-overflow:unset;font-size:1rem!important;line-height:1.4;padding:10px 8px}}
@media (max-width:640px){.theme-layout_k .reference-elite-card__meta{flex-direction:row;flex-wrap:nowrap;justify-content:center;gap:.4em;padding:8px 6px 6px;font-size:clamp(.94rem, 3.6vw, 1.12rem);white-space:nowrap}}
@media (max-width:640px){.theme-layout_k .reference-elite-card__result{justify-content:center;flex-wrap:nowrap;white-space:nowrap}}
@media (max-width:640px){.theme-layout_k .reference-elite-card__body{padding:0 10px 10px;font-size:clamp(.92rem, 3.8vw, 1.05rem);line-height:1.45;word-break:break-word}}
@media (max-width:640px){.theme-layout_k .reference-slot--pingte_wuxiao_wuma .reference-elite-card__body{padding:0 4px 10px;font-size:clamp(.72rem, calc(.42rem + 2.2vw), 1.08rem);line-height:1.25;white-space:nowrap;word-break:keep-all;overflow:hidden}}
@media (max-width:640px){.theme-layout_k .reference-number-grid__row{grid-template-columns:70px minmax(0,1fr) 84px;min-height:auto}}
@media (max-width:640px){.theme-layout_k .reference-number-grid__period, .theme-layout_k .reference-number-grid__result{font-size:.82rem;padding:5px 2px;white-space:nowrap;word-break:keep-all;line-height:1.2}}
@media (max-width:640px){.theme-layout_k .reference-number-grid__result{overflow:hidden;text-overflow:ellipsis}}
@media (max-width:640px){.theme-layout_k .reference-number-grid__value{font-size:clamp(.78rem, 3.3vw, .98rem);white-space:nowrap;word-break:keep-all;overflow:hidden;line-height:1.2;padding:5px 1px;letter-spacing:-.02em}}
@media (max-width:640px){.theme-layout_k .reference-number-grid__slogan{padding:6px 8px;font-size:.88rem;line-height:1.4}}
@media (max-width:640px){.theme-layout_k .reference-left-multiline__title{min-height:auto;padding:8px;font-size:clamp(.92rem, 4.2vw, 1.08rem);gap:4px 8px}}
@media (max-width:640px){.theme-layout_k .reference-left-multiline__line{min-height:auto;padding:8px;font-size:clamp(.88rem, 3.8vw, 1rem);flex-wrap:wrap;line-height:1.35}}
@media (max-width:640px){.theme-layout_k .reference-three-col-nine__title{min-height:auto;padding:8px 6px;font-size:clamp(.92rem, 4vw, 1.05rem);flex-wrap:wrap}}
@media (max-width:640px){.theme-layout_k .reference-three-col-nine__row{grid-template-columns:22% minmax(0,1fr) 28%;min-height:auto}}
@media (max-width:640px){.theme-layout_k .reference-three-col-nine__content, .theme-layout_k .reference-three-col-nine__issue, .theme-layout_k .reference-three-col-nine__result{padding:6px 4px;font-size:.88rem;white-space:normal;word-break:break-word;line-height:1.3}}
@media (max-width:640px){.theme-layout_k .reference-nml__headline, .theme-layout_k .reference-nml__result{padding:8px 6px;font-size:.92rem}}
@media (max-width:640px){.theme-layout_k .reference-nml__label, .theme-layout_k .reference-nml__value{font-size:.88rem}}
@media (max-width:640px){.theme-layout_k .reference-nml__row--dual{padding:0}}
@media (max-width:640px){.theme-layout_k .reference-nml__pair{padding:4px 5px}}
@media (max-width:480px){.theme-layout_k .reference-three-col-nine__row{display:grid;grid-template-columns:1fr;grid-template-areas:"issue" "content" "result"}}
@media (max-width:480px){.theme-layout_k .reference-three-col-nine__issue{grid-area:issue;border-right:none!important;border-bottom:1px solid #000}}
@media (max-width:480px){.theme-layout_k .reference-three-col-nine__content{grid-area:content;border-right:none!important;border-bottom:1px solid #000}}
@media (max-width:480px){.theme-layout_k .reference-three-col-nine__result{grid-area:result}}
@media (min-width:560px){.theme-layout_k .home-page>:not(.top-sticky-shell):not(.home-hero):not(.home-fixed-stack){margin-inline:14px}}
@media (min-width:560px){.theme-layout_k .history-item{grid-template-columns:minmax(0,1fr);align-items:center}}
@media (min-width:560px){.theme-layout_k .history-item .item-left{display:flex;align-items:center;justify-content:space-between;gap:8px 12px}}
@media (min-width:560px){.theme-layout_k .numbers-row{gap:18px}}
@keyframes market-like-pop{0%,to{transform:scale(1)}45%{transform:scale(1.08)}}
@keyframes market-like-float{0%{opacity:0;transform:translate(-50%,8px) scale(.9)}25%{opacity:1}to{opacity:0;transform:translate(-50%,-16px) scale(1.04)}}
@keyframes market-like-toast-in{0%{opacity:0;transform:translate(-50%,calc(-50% + 16px))}12%,82%{opacity:1;transform:translate(-50%,-50%)}to{opacity:0;transform:translate(-50%,calc(-50% + 10px))}}
@keyframes marquee-slide{0%{transform:translate(0)}to{transform:translate(-33%)}}

/* ─── 开奖区（源站 kj_embed 的 xxc49.css，整份收进 .k-kj）────────────── */
.k-kj, .k-kj *{margin:0;padding:0;box-sizing:border-box}
.k-kj .lottery-tabs-wrap{max-width:100%;width:100%;margin:0;background:#f5f5f5;border-radius:0;overflow:hidden;box-shadow:none;border:none;box-sizing:border-box}
.k-kj .el-tabs__header{padding:0;margin:0;border-radius:0;background:#f5f5f5;max-width:100%;overflow:hidden;box-sizing:border-box}
.k-kj .el-tabs__nav{display:flex;gap:4px;border-bottom:none;background:#f5f5f5;padding:0 4px;align-items:stretch;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}
.k-kj .el-tabs__item{flex:1 1 0;min-width:0;max-width:100%;padding:8px 4px;text-align:center;cursor:pointer;font-size:15px;font-weight:700;color:#1f2937;background:#fff;border:none;border-right:none;border-radius:16px 16px 0 0;transition:background .2s,color .2s;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1.15;min-height:52px;height:auto;box-sizing:border-box;overflow:hidden}
.k-kj .tab-title{font-size:15px;font-weight:700;display:block;color:inherit;line-height:1.2;white-space:nowrap;overflow:hidden;position:relative;width:100%;max-width:100%;min-width:0;text-align:center}
.k-kj .tab-title .tab-title-marquee__inner, .k-kj .tab-title-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap}
.k-kj .tab-subtitle{font-size:12px;font-weight:500;color:#6b7280;display:block;line-height:1.2}
.k-kj .el-tabs__item:last-child{border-right:none}
.k-kj .el-tabs__item[data-type=hongkong], .k-kj .el-tabs__item[data-type=macao], .k-kj .el-tabs__item[data-type=tiantiancai], .k-kj .el-tabs__item[data-type=xinxincai]{background:#fff;color:#1f2937}
.k-kj .el-tabs__item:hover{color:#1f2937;opacity:1}
.k-kj .el-tabs__item.is-active, .k-kj .el-tabs__item.is-active[data-type=hongkong], .k-kj .el-tabs__item.is-active[data-type=macao], .k-kj .el-tabs__item.is-active[data-type=tiantiancai], .k-kj .el-tabs__item.is-active[data-type=xinxincai]{background:#00b060;color:#fff;text-shadow:none;font-weight:700;opacity:1}
.k-kj .el-tabs__item.is-active .tab-subtitle, .k-kj .el-tabs__item.is-active .tab-title{color:#fff}
.k-kj .el-tabs__item.is-active::after, .k-kj .el-tabs__item.is-active[data-type=hongkong]::after, .k-kj .el-tabs__item.is-active[data-type=macao]::after, .k-kj .el-tabs__item.is-active[data-type=tiantiancai]::after, .k-kj .el-tabs__item.is-active[data-type=xinxincai]::after{display:none}
.k-kj .el-tabs__content{overflow:hidden;background:#f5f5f5;position:relative;max-width:100%;box-sizing:border-box}
.k-kj .el-tab-pane{overflow:hidden;position:relative;max-width:100%;box-sizing:border-box}
.k-kj .lottery-tai-wan{padding:16px 12px 12px;margin:0 4px;width:calc(100% - 8px);max-width:calc(100% - 8px);min-width:0;background:#fff;border:1px solid #00b060;border-radius:0 0 8px 8px;box-sizing:border-box;overflow:hidden;will-change:transform}
.k-kj .lottery-tai-wan.is-sliding{pointer-events:none}
.k-kj .lottery-tai-wan--ghost{box-sizing:border-box;background:#fff;border:1px solid #00b060;border-radius:0 0 8px 8px;overflow:hidden;max-width:calc(100% - 8px)}
.k-kj .lottery-top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin-bottom:14px;padding:0 4px;background:0 0;border-radius:0;box-shadow:none;font-family:"Trebuchet MS","Segoe UI","PingFang SC","Hiragino Sans GB",sans-serif;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.k-kj .lottery-issue-title{margin:0;width:100%;min-width:0;max-width:100%;justify-self:start;color:#111827;font-family:inherit;font-size:clamp(1.02rem, 3.2vw, 1.18rem);font-weight:900;line-height:1.2;overflow:hidden;position:relative;box-sizing:border-box}
.k-kj .lottery-issue-title__inner{display:inline-block;position:relative;left:0;max-width:none;white-space:nowrap}
.k-kj .lottery-countdown{margin:0;justify-self:center;color:#f33;font-family:inherit;font-size:clamp(.9rem, 2.8vw, 1.04rem);font-weight:900;line-height:1.2;white-space:nowrap;text-align:center}
.k-kj .lottery-top-actions{justify-self:end;display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;overflow:hidden}
.k-kj .lottery-history-link{padding:0;background:0 0;color:#0a9b2d;border-radius:0;font-family:inherit;font-size:clamp(.9rem, 2.7vw, 1rem);font-weight:800;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.k-kj .lottery-history-link:hover{opacity:.85}
.k-kj .lottery-refresh-btn{flex:0 0 auto;margin:0;padding:5px 10px;border:0;border-radius:4px;background:#ffef3a;color:#f30;font-family:inherit;font-size:.82rem;font-weight:800;line-height:1;cursor:pointer;white-space:nowrap;outline:0;-webkit-tap-highlight-color:transparent}
.k-kj .lottery-refresh-btn:hover{opacity:.9}
.k-kj .lottery-refresh-btn:active{opacity:.8}
.k-kj .lottery-refresh-btn:focus{outline:0}
.k-kj .lottery-nums{position:relative;min-height:100px;background:0 0;border-radius:0;padding:15px 10px;box-shadow:none;margin-bottom:15px;max-width:100%;min-width:0;overflow:hidden;box-sizing:border-box}
.k-kj .lottery-nums__ul{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:8px;list-style:none;margin:0;padding:0 10px;max-width:100%;min-width:0;box-sizing:border-box}
.k-kj .lottery-nums__item{display:flex;flex-direction:column;align-items:center;gap:15px;flex:1 1 0;min-width:0;max-width:75px;margin:0}
.k-kj .loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.9);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;z-index:10;border-radius:8px}
.k-kj .loading-spinner{width:45px;height:45px;border:4px solid rgba(46,204,113,.2);border-top:4px solid #2ecc71;border-radius:50%;animation:.8s linear infinite spin}
.k-kj .loading-spinner.red{border:4px solid rgba(255,65,108,.2);border-top:4px solid #ff416c}
.k-kj .loading-spinner.blue{border:4px solid rgba(78,158,255,.2);border-top:4px solid #4e9eff}
.k-kj .loading-spinner.purple{border:4px solid rgba(156,39,176,.2);border-top:4px solid #9c27b0}
@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
@keyframes pulse{0%,100%{transform:scale(1);opacity:.6}50%{transform:scale(1.1);opacity:1}}
@keyframes revealShake{0%,100%{transform:translateY(0)}25%{transform:translateY(-8px) scale(1.05)}50%{transform:translateY(0) scale(.95)}75%{transform:translateY(-4px) scale(1.02)}}
@keyframes ballReveal{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}
.k-kj .loading-text{font-size:15px;color:#2ecc71;font-weight:600;letter-spacing:.5px}
.k-kj .loading-text.red{color:#ff416c}
.k-kj .loading-text.blue{color:#4e9eff}
.k-kj .loading-text.purple{color:#9c27b0}
.k-kj .plus-sign{flex:0 0 auto;font-size:clamp(18px, 4vw, 28px);font-weight:700;color:#bbb;line-height:1;margin:0 clamp(4px,1.5vw,15px);align-self:center}
.k-kj .lottery-num{width:min(65px,100%);height:auto;aspect-ratio:1;max-width:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:clamp(16px, 5.5vw, 26px);font-weight:700;color:#333;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:transform .2s;border:none;font-style:normal;transform:none;background-size:cover;background-position:center;background-repeat:no-repeat;box-sizing:border-box}
.k-kj .lottery-num i{font-style:normal;position:relative;z-index:1;margin-top:-6px;margin-left:2px}
.k-kj .lottery-num:hover{transform:scale(1.05)}
.k-kj .lottery-num--red{background-image:url(https://di99.shop/img/ball-red.png)}
.k-kj .lottery-num--blue{background-image:url(https://di99.shop/img/ball-blue.png)}
.k-kj .lottery-num--green{background-image:url(https://di99.shop/img/ball-green.png)}
.k-kj .lottery-num--loading, .k-kj .lottery-num--none{background-image:none;background:radial-gradient(circle at 30% 28%,#ffffffeb 0,#ffffffeb 18%,#fff0 20%),linear-gradient(180deg,#ececec,#c8c8c8 58%,#a8a8a8);color:#33455f;font-size:22px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.k-kj .lottery-num--loading i, .k-kj .lottery-num--none i{margin-top:-2px;margin-left:2px;color:#33455f;font-weight:900}
.k-kj .lottery-animal{font-size:20px;color:#333;font-style:normal;font-weight:600;text-align:center;width:100%;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;min-height:24px}
.k-kj .lottery-bottom{display:flex;justify-content:center;align-items:center;padding:0;background:0 0;border-radius:0;margin:0;box-shadow:none}
.k-kj .lottery-next-open{margin:12px 0 0;width:100%;text-align:center;font-family:"Trebuchet MS","Segoe UI","PingFang SC","Hiragino Sans GB",sans-serif;font-size:clamp(.92rem, 2.8vw, 1rem);font-weight:900;line-height:1.5;color:#f33}
.k-kj .lottery-next__date{display:none}
.k-kj .countdown{font-weight:900;color:#f33}
.k-kj .el-tab-pane{display:none}
@media (max-width:768px){.k-kj .lottery-top{gap:6px;padding:0 2px;margin-bottom:10px}}
@media (max-width:768px){.k-kj .lottery-issue-title{font-size:clamp(.94rem, 3.9vw, 1rem)}}
@media (max-width:768px){.k-kj .lottery-countdown, .k-kj .lottery-history-link{font-size:clamp(.82rem, 3.4vw, .92rem)}}
@media (max-width:768px){.k-kj .lottery-top-actions{gap:6px}}
@media (max-width:768px){.k-kj .lottery-refresh-btn{padding:4px 8px;font-size:.76rem}}
@media (max-width:768px){.k-kj .lottery-nums{padding:8px 5px 2px;min-height:80px;margin-bottom:0}}
@media (max-width:768px){.k-kj .lottery-nums__ul{gap:4px;padding:0 2px}}
@media (max-width:768px){.k-kj .lottery-nums__item{min-width:0;max-width:45px;gap:12px;margin:0}}
@media (max-width:768px){.k-kj .lottery-num{width:min(45px,100%);height:auto;aspect-ratio:1;max-width:100%;font-size:clamp(14px, 4.5vw, 18px)}}
@media (max-width:768px){.k-kj .lottery-num--loading, .k-kj .lottery-num--none{font-size:15px}}
@media (max-width:768px){.k-kj .lottery-num i{margin-top:-1px;margin-left:1px}}
@media (max-width:768px){.k-kj .plus-sign{font-size:20px;line-height:45px;margin:0 5px}}
@media (max-width:768px){.k-kj .lottery-animal{font-size:16px;width:100%;max-width:100%;min-height:18px}}
@media (max-width:768px){.k-kj .lottery-bottom{padding:0;margin-top:0}}
@media (max-width:768px){.k-kj .countdown{font-size:14px}}
@media (max-width:768px){.k-kj .el-tabs__item{padding:6px 2px;font-size:13px;min-height:48px;height:auto;border-radius:12px 12px 0 0}}
@media (max-width:768px){.k-kj .tab-title{font-size:13px}}
@media (max-width:768px){.k-kj .tab-subtitle{font-size:11px;font-weight:500;color:#6b7280}}
@media (max-width:768px){.k-kj .el-tabs__item.is-active .tab-subtitle{color:#fff}}
@media (max-width:768px){.k-kj .lottery-tai-wan{padding:12px 8px 10px}}
@media (max-width:480px){.k-kj .lottery-top{gap:4px}}
@media (max-width:480px){.k-kj .lottery-issue-title{font-size:.9rem}}
@media (max-width:480px){.k-kj .lottery-countdown, .k-kj .lottery-history-link{font-size:.78rem}}
@media (max-width:480px){.k-kj .lottery-refresh-btn{padding:3px 6px;font-size:.72rem}}
@media (max-width:480px){.k-kj .lottery-nums{padding:6px 3px 1px;margin-bottom:0}}
@media (max-width:480px){.k-kj .lottery-nums__item{min-width:0;max-width:40px;gap:10px;margin:0}}
@media (max-width:480px){.k-kj .lottery-bottom{padding:0;margin-top:0}}
@media (max-width:480px){.k-kj .lottery-num{width:min(40px,100%);height:auto;aspect-ratio:1;max-width:100%;font-size:clamp(13px, 4vw, 16px)}}
@media (max-width:480px){.k-kj .lottery-num--loading, .k-kj .lottery-num--none{font-size:13px}}
@media (max-width:480px){.k-kj .plus-sign{font-size:18px;line-height:40px;margin:0 3px}}
@media (max-width:480px){.k-kj .lottery-animal{font-size:14px;width:100%;max-width:100%}}
@media (max-width:480px){.k-kj .countdown{font-size:13px}}
@media (max-width:480px){.k-kj .el-tabs__item{padding:6px 2px;font-size:12px;min-height:46px;height:auto;border-radius:10px 10px 0 0}}
@media (max-width:480px){.k-kj .tab-title{font-size:12px}}
@media (max-width:480px){.k-kj .tab-subtitle{font-size:10px;font-weight:500;color:#6b7280}}
@media (max-width:480px){.k-kj .el-tabs__item.is-active .tab-subtitle{color:#fff}}
.k-kj .top-mini-result{position:relative;display:flex;align-items:stretch;gap:0;margin:8px 4px 0;padding:4px 8px;background:#fff;border:1px solid #00b060;border-radius:8px;box-sizing:border-box}
.k-kj .top-mini-result.is-draw-loading{min-height:48px}
.k-kj .top-mini-result.is-draw-loading .live-issue-box, .k-kj .top-mini-result.is-draw-loading .live-number-row-wrap{visibility:hidden}
.k-kj .mini-draw-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,.94);border-radius:8px}
.k-kj .mini-draw-loading[hidden]{display:none!important}
.k-kj .mini-draw-loading__spinner{width:26px;height:26px;border:3px solid rgba(0,176,96,.18);border-top-color:#00b060;border-radius:50%;animation:.75s linear infinite mini-draw-spin;box-sizing:border-box}
.k-kj .mini-draw-loading__text{color:#00b060;font-size:.76rem;font-weight:700;letter-spacing:.08em}
@keyframes mini-draw-spin{to{transform:rotate(360deg)}}
.k-kj .live-issue-box{width:clamp(92px,12vw,108px);flex:0 0 clamp(92px,12vw,108px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#111;font-weight:700}
.k-kj .live-lottery-name{margin:0;width:100%;max-width:100%;text-align:center;font-size:clamp(.78rem, 1.5vw, .9rem);font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;position:relative}
.k-kj .live-lottery-name .tab-title-marquee__inner{display:inline-block;position:relative;left:0;white-space:nowrap;max-width:none}
.k-kj .live-issue-text{margin:0;width:100%;text-align:center;font-size:clamp(.78rem, 1.5vw, .9rem);font-weight:800;line-height:1.15;white-space:nowrap;color:#222}
.k-kj .live-number-row-wrap{position:relative;flex:1;min-width:0}
.k-kj .live-number-row{flex:1;display:flex;align-items:stretch;min-width:0;height:100%}
.k-kj .live-number-row.is-empty{display:flex;align-items:center;justify-content:center;color:#999;font-size:.88rem;border:1px solid #ddd}
.k-kj .live-number-cell{flex:1 1 0;display:flex;min-width:0;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-left:1px solid #ddd}
.k-kj .live-number-cell:last-child{border-right:1px solid #ddd}
.k-kj .live-ball-face{width:100%;display:grid}
.k-kj .live-ball-face.red .live-ball-number{background:#e71607}
.k-kj .live-ball-face.blue .live-ball-number{background:#2389e9}
.k-kj .live-ball-face.green .live-ball-number{background:#1fb61d}
.k-kj .live-ball-face.blank .live-ball-number{background:#ececec;color:#222}
.k-kj .live-ball-face.blank .live-ball-zodiac{background:#f8f8f8;color:#333;font-size:.78rem}
.k-kj .live-ball-face.blank.has-status-text .live-ball-number{background:#f3f3f3;color:#222;font-size:.82rem;font-weight:800}
.k-kj .live-ball-number, .k-kj .live-ball-zodiac{display:flex;align-items:center;justify-content:center;height:20px;font-size:.9rem;font-weight:800;line-height:1}
.k-kj .live-ball-number{color:#fff}
.k-kj .live-ball-zodiac{background:#fff;color:#333}
.k-kj .live-refresh-cell{flex:0 0 40px;border:0}
.k-kj .live-refresh-stack{width:100%;height:100%;display:flex;flex-direction:column;min-width:0}
.k-kj .live-record-button, .k-kj .live-refresh-button{flex:1 1 0;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:0;padding:0;border:0;background:#ffef3a;color:#f30;font-size:.72rem;font-weight:800;line-height:1;text-decoration:none;cursor:pointer;box-sizing:border-box}
.k-kj .live-record-button{background:#00b060;color:#fff;border-top:1px solid rgba(0,120,64,.25)}
@media screen and (max-width:480px){.k-kj .top-mini-result{padding-inline:6px}}
@media screen and (max-width:480px){.k-kj .live-issue-box{width:94px;flex-basis:94px}}
@media screen and (max-width:480px){.k-kj .live-issue-text, .k-kj .live-lottery-name{font-size:.78rem}}
@media screen and (max-width:480px){.k-kj .live-refresh-cell{flex-basis:34px}}
@media screen and (max-width:480px){.k-kj .live-record-button, .k-kj .live-refresh-button{font-size:.68rem}}

/* ── 模板适配（一）：整页宽度 ────────────────────────────────────────────────
   ★ 内置模板在 index.php 里有一条公共样式 `#app{max-width:640px;margin:0 auto}` ——
     am99 是响应式的（桌面铺满、上限 720px 由 .app-shell 自己管）
     ⇒ 这里放开，不然整页被挤成中间一条窄条，跟源站完全不是一个样子 ✗ */
.theme-layout_k #app { max-width: none; margin: 0; background: transparent; }
.theme-layout_k { background: #f5f5f5; }
.theme-layout_k, .theme-layout_k button, .theme-layout_k input, .theme-layout_k textarea {
    font-family: "Trebuchet MS", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

/* ── 模板适配（二）：开奖区（**不是 iframe**，源站那几处 iframe 尺寸要放开）──── */
.theme-layout_k .current-draws--xxc49 .iframe-conten { height: auto !important; overflow: visible !important; }
.theme-layout_k .current-draws--xxc49 .iframe-box,
.theme-layout_k .current-draws--xxc49 #lotterys-iframe { height: auto !important; }
.theme-layout_k .k-kj .el-tab-pane { display: block !important; }

/* ── 模板适配（三）：底部导航是 **3 颗**（源站 4 颗，用户点名不要 49图库）──────── */
.theme-layout_k .bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── 模板适配（四）：本站自己的两颗悬浮钮让位（源站有自己的浮动操作组）────────── */
.theme-layout_k .to-top, .theme-layout_k .to-home { display: none !important; }

/* ── 模板适配（五）：预测内容比源站长 —— 该换行的让它换行，别裁掉 ──────────────── */
.theme-layout_k .reference-plain-card,
.theme-layout_k .reference-result-table,
.theme-layout_k .reference-elite-card { height: auto !important; }
.theme-layout_k .reference-plain-card__content,
.theme-layout_k .reference-result-table__data,
.theme-layout_k .reference-elite-card__body {
    white-space: normal; word-break: break-word; overflow-wrap: anywhere;
}
.theme-layout_k .reference-number-grid__row { height: auto !important; }
.theme-layout_k .reference-number-grid__value { white-space: normal; word-break: break-word; }

/* ── 模板适配（六）：彩种切换的加载层（源站那个转圈）────────────────────────── */
.theme-layout_k .k-loading {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 24px; background: rgba(247,248,251,.92);
}
.theme-layout_k .k-loading__spinner {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid rgba(0,176,96,.18); border-top-color: #00b060;
    animation: .75s linear infinite official-loading-spin; box-sizing: border-box;
}
.theme-layout_k .k-loading__text { color: #00b060; font-size: 14px; font-weight: 700; letter-spacing: .08em; }

/* ── 模板适配（六b）：命中高亮 ────────────────────────────────────────────────
   ★ 源站高亮用的是 `.gallery-highlight-token`（黄底红字）；我们生成预测时用的是
     全站统一的 `.zhong`（index.php 里只有红字、没有底）⇒ 在这一套里把 `.zhong`
     补成源站那个样子，不然开奖后「中的那一个」只有红字、没有黄底 ✗ */
.theme-layout_k .zhong {
    display: inline-block; padding: 0 2px; border-radius: 2px;
    background: #fff200; color: #f00808; font-weight: 900; line-height: 1.1;
}

/* ── 模板适配（七）：淘料市场的卡片不能被"一串号码"撑出屏幕 ────────────────────
   ★ 源站卡片里是 9 个码，一行装得下；我们有些玩法一行列 12/20 个码 ⇒
     不换行时 **grid 项按内容撑宽**，整张卡片被顶到屏幕外（实测右边全被裁掉）✗
   ⇒ 列表格子的 min-width 归零 + 内容允许断行 ✓ */
.theme-layout_k .market-feed,
.theme-layout_k .market-post-card,
.theme-layout_k .market-post-meta { min-width: 0; }
.theme-layout_k .market-post-card { overflow: hidden; }
.theme-layout_k .market-post-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-layout_k .market-post-content { word-break: break-word; overflow-wrap: anywhere; }
.theme-layout_k .market-post-tags .tag { max-width: 46%; overflow: hidden; text-overflow: ellipsis; }

