/* 首页精简版：移除宣传横幅和账户数据卡，首屏直接进入功能与任务。 */
.home-hero,
.home-summary,
.mobile-home-hero{display:none!important}

.home-welcome-bar{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    margin:0 0 12px;padding:8px 2px 10px;background:transparent;
}
.home-welcome-bar span{display:block;margin-bottom:2px;color:#7b8497;font-size:12px}
.home-welcome-bar h1{margin:0;color:#202533;font-size:24px;line-height:1.25;letter-spacing:-.02em}
.home-welcome-bar>a{
    width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;
    color:#4b6fd8;background:#fff;border:1px solid #e8ebf3;border-radius:12px;
    text-decoration:none;box-shadow:0 5px 14px rgba(36,48,80,.06)
}
.home-welcome-bar>a:hover{color:#3157c8;border-color:#cdd9f8;background:#f8faff}

.home-announcement-preview{
    display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;gap:12px;
    margin:0 0 16px;padding:12px 14px;color:#30384b;background:#fff;
    border:1px solid #e8ebf3;border-radius:14px;text-decoration:none;
    box-shadow:0 5px 16px rgba(36,48,80,.045)
}
.home-announcement-preview:hover{border-color:#cfdbf8;background:#fbfcff}
.home-announcement-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#4e6ed5;background:#eef3ff}
.home-announcement-preview>span:nth-child(2){min-width:0}
.home-announcement-preview b,.home-announcement-preview small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-announcement-preview b{margin-bottom:3px;font-size:14px}
.home-announcement-preview small{color:#8a93a6;font-size:11px}
.home-announcement-preview>i{color:#b1b8c8;font-size:11px}
.home-announcement-preview.is-empty .home-announcement-icon{color:#8993a8;background:#f3f5f8}

#app>.home-tools{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;margin:0 0 24px!important;padding:0!important;background:transparent!important;
    border:0!important;border-radius:0!important;box-shadow:none!important
}
#app>.home-tools .home-tool{
    min-height:94px!important;padding:14px!important;align-items:flex-start!important;justify-content:center!important;
    gap:4px!important;text-align:left!important;color:#30384b!important;background:#fff!important;
    border:1px solid #e8ebf3!important;border-radius:14px!important;text-decoration:none!important;
    box-shadow:0 5px 16px rgba(36,48,80,.045)!important
}
#app>.home-tools .home-tool:hover{border-color:#ced9f7!important;transform:translateY(-1px);box-shadow:0 9px 20px rgba(36,48,80,.075)!important}
#app>.home-tools .home-tool-icon{
    width:36px!important;height:36px!important;margin:0 0 6px!important;display:grid!important;place-items:center!important;
    border-radius:10px!important;color:#4468d3!important;background:#eef3ff!important;box-shadow:none!important
}
#app>.home-tools .home-tool:nth-child(2) .home-tool-icon{color:#23886d!important;background:#eaf8f3!important}
#app>.home-tools .home-tool:nth-child(3) .home-tool-icon{color:#9d6a18!important;background:#fff6df!important}
#app>.home-tools .home-tool:nth-child(4) .home-tool-icon{color:#7653c7!important;background:#f2edff!important}
#app>.home-tools .home-tool b{font-size:13px;line-height:1.3}
#app>.home-tools .home-tool small{color:#929bad;font-size:10px;line-height:1.35}

.home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 11px}
.home-section-head>div{min-width:0}
.home-section-head b,.home-section-head small{display:block}
.home-section-head b{color:#202533;font-size:19px;line-height:1.3}
.home-section-head small{margin-top:3px;color:#9099aa;font-size:11px}
.home-section-head>a{flex:none;color:#6f7c94;font-size:11px;text-decoration:none}
.home-section-head>a:hover{color:#4468d3}

.home-leaderboard-preview{
    margin:24px 0 0;padding:18px;background:#fff;border:1px solid #e8ebf3;
    border-radius:16px;box-shadow:0 6px 18px rgba(36,48,80,.045)
}
.home-leaderboard-preview .home-section-head{margin-bottom:8px}
.home-leaderboard-preview .loading-state{margin:10px 0 0!important;box-shadow:none!important;border:0!important;background:#f8f9fc!important}
.home-rank-row{display:grid;grid-template-columns:32px minmax(0,1fr) 56px 92px;align-items:center;gap:10px;min-height:52px;border-top:1px solid #f0f2f6}
.home-rank-row:first-child{border-top:0}
.home-rank-no{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;color:#7b8497;background:#f1f3f7;font-size:11px;font-weight:700}
.home-rank-no.rank-1{color:#9a6a05;background:#fff1bd}.home-rank-no.rank-2{color:#667083;background:#edf0f5}.home-rank-no.rank-3{color:#9a6238;background:#f8e5d5}
.home-rank-row>b{min-width:0;overflow:hidden;color:#343b4d;font-size:13px;white-space:nowrap;text-overflow:ellipsis}
.home-rank-row>small{color:#9ba3b2;font-size:10px;text-align:right}
.home-rank-row>strong{color:#3d66d2;font-size:14px;text-align:right}
.home-leaderboard-empty{min-height:82px;display:flex;align-items:center;justify-content:center;gap:9px;color:#98a0af;font-size:12px}
.home-leaderboard-empty i{color:#b5bdcc}

body[data-theme="dark"] .home-welcome-bar h1,
body[data-theme="dark"] .home-section-head b{color:#eef2ff}
body[data-theme="dark"] .home-welcome-bar>a,
body[data-theme="dark"] .home-announcement-preview,
body[data-theme="dark"] #app>.home-tools .home-tool,
body[data-theme="dark"] .home-leaderboard-preview{background:rgba(30,35,58,.88)!important;border-color:rgba(255,255,255,.09)!important;color:#edf1ff!important}
body[data-theme="dark"] .home-announcement-preview b,
body[data-theme="dark"] #app>.home-tools .home-tool,
body[data-theme="dark"] .home-rank-row>b{color:#edf1ff!important}
body[data-theme="dark"] .home-rank-row{border-top-color:rgba(255,255,255,.07)}

@media(max-width:768px){
    .home-welcome-bar{padding-top:0}.home-welcome-bar h1{font-size:21px}
    #app>.home-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-bottom:21px!important}
    #app>.home-tools .home-tool{min-height:86px!important;padding:12px!important}
    .home-section-head b{font-size:17px}
    .home-leaderboard-preview{padding:14px;border-radius:14px}
    .home-rank-row{grid-template-columns:30px minmax(0,1fr) 44px 76px;gap:7px;min-height:49px}
    .home-rank-row>strong{font-size:13px}
}
@media(max-width:420px){
    .home-announcement-preview{grid-template-columns:36px minmax(0,1fr) 14px;padding:11px 12px}
    .home-announcement-icon{width:36px;height:36px}
    .home-welcome-bar h1{font-size:20px}
}
