.compact-host > :not(.compact-home){display:none!important}
/* The new homepage owns document scrolling; editor/login rules resume on navigation. */
html.compact-home-active,:root.compact-home-active[data-tuce-mobile-page="home"]{height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:auto!important;touch-action:auto!important;overscroll-behavior-y:auto}
html.compact-home-active body,html.compact-home-active #app,:root.compact-home-active[data-tuce-mobile-page="home"] body,:root.compact-home-active[data-tuce-mobile-page="home"] #app{height:auto!important;min-height:100vh;min-height:100dvh;overflow:visible!important;touch-action:auto!important}
html.compact-home-active .compact-host{height:auto!important;min-height:100dvh;padding-bottom:0!important;overflow:visible!important;touch-action:auto!important}
html.compact-home-active #tuce-mobile-category-trigger,html.compact-home-active #tuce-mobile-category-overlay,html.compact-home-active [data-tuce-app-toolbar]{display:none!important}
.compact-home{--ch-ink:#172744;--ch-muted:#8190a7;--ch-line:#e3eaf2;--ch-card:#e7f6f8;--ch-paper:#fff;box-sizing:border-box;width:100%;max-width:1480px;margin:auto;padding:18px 24px 40px;background:var(--ch-paper);color:var(--ch-ink);font:14px/1.5 system-ui,-apple-system,"Microsoft YaHei",sans-serif}
.compact-home *{box-sizing:border-box}
.compact-home button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
.compact-home button:focus-visible,.compact-home input:focus-visible{outline:2px solid #0aa8bd;outline-offset:2px}
.compact-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.compact-brand>img{width:38px;height:38px;object-fit:contain;border-radius:10px}
.compact-brand strong{display:block;font-size:18px;font-weight:700}.compact-brand small{display:block;font-size:12px;color:var(--ch-muted)}
.compact-search{display:block;width:100%;height:40px;border:1px solid var(--ch-line);border-radius:9px;background:#f6f8fc;color:var(--ch-ink);padding:0 14px;outline:none;font:inherit}
.compact-tools{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}
.compact-tool{border:1px solid var(--ch-line);border-radius:7px;background:var(--ch-paper);padding:5px 9px;white-space:nowrap;font-size:12px!important}
.compact-tabs{display:flex;gap:8px;padding:10px 0;border-top:1px solid var(--ch-line)}
.compact-tabs button{flex:1;border:1px solid var(--ch-line);border-radius:8px;background:var(--ch-paper);height:34px;font-size:12px}
.compact-tabs button[aria-pressed=true]{color:#069bae;background:#e7f8fb;border-color:#b4e5ed}
.compact-categories{display:flex;gap:8px;overflow:auto;padding:0 0 12px;scrollbar-width:thin}
.compact-category{flex:0 0 auto;border:1px solid var(--ch-line);background:var(--ch-paper);border-radius:7px;padding:4px 12px;font-size:12px!important;white-space:nowrap}
.compact-category.active{color:#009eb2;background:#dff7fa;border-color:#8fdde8}
.compact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px;padding-top:12px;border-top:1px solid var(--ch-line)}
.compact-card{position:relative;background:var(--ch-card);border-radius:7px;min-width:0;transition:background .12s}
.compact-card:hover{background:#d5f0f4}
.compact-card[hidden]{display:none!important}
.compact-card-open{display:flex;align-items:center;gap:9px;width:100%;height:76px;padding:12px 20px 12px 10px;background:none;border:0;text-align:left}
.compact-card-open>img{width:36px;height:36px;object-fit:contain;flex-shrink:0;border-radius:5px}
.compact-card-body{min-width:0;display:block}
.compact-card-body strong{display:block;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-card-body small{display:block;color:var(--ch-muted);font-size:10px;white-space:nowrap}
.compact-star{position:absolute;right:4px;top:4px;width:22px;height:22px;border:0;background:#ffffffbd;border-radius:5px;color:#98aec2!important;padding:0;font-size:19px!important;line-height:22px!important}
.compact-star[aria-pressed=true]{color:#e6a024!important}.compact-empty{grid-column:1/-1;text-align:center;padding:30px;color:var(--ch-muted)}
html[data-tuce-theme=dark] .compact-home{--ch-ink:#e3ebf7;--ch-muted:#a3b4ca;--ch-line:#304058;--ch-paper:#182333;--ch-card:#20383d}
@media(max-width:767px){.compact-home{padding:10px 7px 28px}.compact-brand{gap:9px;margin:0 4px 10px}.compact-brand>img{width:30px;height:30px}.compact-brand strong{font-size:15px}.compact-brand small{font-size:10px}.compact-search{height:34px;font-size:12px}.compact-tools{gap:5px;margin:8px 0}.compact-tool{font-size:10px!important;padding:4px 6px}.compact-tabs{gap:6px;padding:8px 0}.compact-tabs button{height:30px;font-size:10px}.compact-categories{gap:6px;padding-bottom:9px}.compact-category{font-size:10px!important;padding:3px 8px}.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-top:9px}.compact-card-open{height:64px;gap:5px;padding:9px 14px 8px 6px}.compact-card-open>img{width:28px;height:28px}.compact-card-body strong{font-size:10px}.compact-card-body small{font-size:8px}.compact-star{width:17px;height:17px;line-height:17px!important;font-size:15px!important;right:3px;top:3px}}
@media(prefers-reduced-motion:reduce){.compact-card{transition:none}}
@supports(content-visibility:auto){.compact-card{content-visibility:auto;contain-intrinsic-size:auto 76px}@media(max-width:767px){.compact-card{contain-intrinsic-size:auto 64px}}}
@media(max-width:767px){.compact-search{font-size:16px}.compact-home{padding-bottom:max(28px,env(safe-area-inset-bottom))}.compact-categories{touch-action:auto;-webkit-overflow-scrolling:touch}}

/* Keep countdown, account actions and migration readable on the desktop homepage. */
@media(min-width:768px){
 [data-tuce-home-header],[data-wc-home-inner-header]{height:auto!important;min-height:0!important;}
 [data-tuce-home-header-inner]{padding-bottom:12px!important;}
 .tuce-home-banner{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:12px!important;margin-top:0!important;}
 .tuce-home-banner>div{box-sizing:border-box;min-width:0;}
 .tuce-home-banner>div:first-of-type,.tuce-home-banner>[data-tuce-template-stat-card],.tuce-home-banner>[data-tuce-home-summary-card]{flex:1 1 300px!important;width:auto!important;min-width:280px!important;}
 .tuce-home-banner>[data-tuce-home-actions-card]{flex:2 1 460px!important;width:auto!important;min-width:0!important;}
 .tuce-home-banner>div:nth-of-type(2){flex:2 1 460px!important;width:auto!important;padding:12px 16px!important;}
 .tuce-home-banner>div .flex{flex-wrap:wrap!important;gap:6px 10px!important;}
 .tuce-home-banner .itmeTop{white-space:nowrap!important;line-height:1.65!important;}
 .tuce-home-banner .ant-statistic-content{white-space:nowrap!important;line-height:1.65!important;}
 .tuce-home-banner #dual-portability-entry{flex:0 0 auto;align-self:center;min-height:38px;white-space:nowrap;margin:0!important;}
}
