/* Homepage only: lightweight translated games, categories, covers and topics. */
.home-experience .home-game-score{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap;color:var(--hd-accent);font-size:14px;font-weight:600;line-height:20px;font-variant-numeric:tabular-nums}
.home-experience .home-game-score small{font-size:12px;font-weight:400;color:var(--hd-muted)}
.home-page .home-classics>.title>a.home-discovery-more,.home-page .home-experience>.title>a.home-discovery-more{background:transparent!important;border:0;box-shadow:none;border-radius:0}
@media(min-width:801px){
 .home-page .home-experience .list-soft-tab>.list-soft-plate,.home-page .home-experience .hot-soft>.list-soft-plate{height:460px}
 .home-page .home-experience .list-soft-tab .plate-list>ul{margin:5px 0 0}
 .home-page .home-experience .hot-soft .soft-plate>.plate-list{height:auto}
 .home-page .home-experience .hot-soft .plate-list>ul{display:flex;flex-direction:column;justify-content:space-between;height:455px;box-sizing:border-box;padding:15px 0 0;margin:5px 0 0}
 .home-page .home-experience .hot-soft .plate-list>ul:before,.home-page .home-experience .hot-soft .plate-list>ul:after{display:none}
 .home-page .home-experience .hot-soft .plate-list li{flex:0 0 auto;margin:0}
}
.home-page .home-experience .list-soft-tab>.type:before,.home-page .home-experience .list-soft-tab>.type:after{display:none}
@media(min-width:801px){.home-page .home-experience .list-soft-tab>.type>a{flex:1 0 auto;text-align:center}}
.index-list .home-translations.home-discovery{background:transparent;border:0;padding:0;box-shadow:none;margin:30px 0}
.home-discovery{--hd-text:#2b3d52;--hd-muted:#78879a;--hd-border:#e1e8f0;--hd-bg:#fff;--hd-soft:#f1f6fc;--hd-accent:#4277b1;--hd-hover:#b7cce4}
.home-discovery *{box-sizing:border-box}
.home-translations{margin:26px 0 30px;padding:22px;border:1px solid var(--hd-border);border-radius:12px;background:var(--hd-bg)}
.home-discovery .home-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.home-discovery .home-discovery-heading h2{display:flex;align-items:center;gap:10px;margin:0;color:var(--hd-text);font-size:22px;font-weight:600;line-height:1.5}
.home-discovery .home-discovery-heading p{margin:5px 0 0;color:var(--hd-muted);font-size:14px;line-height:1.6}
.home-translation-mark{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #d4e3f4;border-radius:8px;color:var(--hd-accent);background:var(--hd-soft);font-size:17px}
.home-discovery .home-discovery-more{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;color:var(--hd-accent);font-size:14px;padding:8px 0;white-space:nowrap}
.home-discovery a:focus-visible{outline:2px solid var(--hd-accent);outline-offset:3px}
.home-translations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-discovery .home-translation-card{display:block;min-width:0;overflow:hidden;border:1px solid var(--hd-border);border-radius:9px;background:var(--hd-bg);color:var(--hd-text);transition:border-color .16s ease}
.home-translation-cover{width:100%;aspect-ratio:460/215;overflow:hidden;background:var(--hd-soft)}
.home-translation-cover img{display:block;width:100%;height:100%;object-fit:cover}
.home-translation-empty{display:flex;height:100%;align-items:center;justify-content:center;color:var(--hd-muted);font-size:16px}
.home-translation-copy{padding:13px}
.home-discovery .home-translation-copy h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;height:48px;font-size:16px;font-weight:600;line-height:24px;color:var(--hd-text);overflow-wrap:anywhere}
.home-translation-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:10px;color:var(--hd-muted);font-size:12px;white-space:nowrap}
.home-translation-meta>span{padding:2px 6px;border-radius:4px;background:var(--hd-soft);color:var(--hd-accent)}
.home-discovery .home-translation-card:hover{border-color:var(--hd-hover)}
/* Retain the four original topic links and counts. */
.index-list .home-topics .list-special-main{padding:0;background:transparent!important;box-shadow:none!important;border-radius:0}
.home-topics .list-special-main .box-list-item{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-topics .list-special-main .box-list-item .item-in{display:flex;flex-direction:column;width:auto;min-width:0;margin:0;border:1px solid var(--hd-border);border-radius:10px;background:var(--hd-bg);box-shadow:none!important;transition:border-color .16s ease!important}
.home-topics .list-special-main .box-list-item .item-in:hover{transform:none;border-color:var(--hd-hover)!important;box-shadow:none!important}
.home-topics .list-special-main .box-list-item .item-in .in-img{height:auto;aspect-ratio:16/9}
.home-topics .list-special-main .box-list-item .item-in .in-img img{display:block;object-fit:cover;transition:none}
.home-topics .list-special-main .box-list-item .item-in .in-img:hover img{transform:none}
.home-topics .list-special-main .box-list-item .item-in .in-info{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px;padding:14px;margin:0;border-bottom:0}
.home-topics .list-special-main .box-list-item .item-in .in-info h3{font-size:19px;line-height:28px;font-weight:600;color:var(--hd-text)}
.home-topics .list-special-main .box-list-item .item-in .info-meta{display:contents}
.home-topics .list-special-main .box-list-item .item-in .info-meta .desc{grid-column:1/-1;grid-row:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:none;height:42px;font-size:13px;line-height:21px;color:var(--hd-muted)}
.home-topics .list-special-main .box-list-item .item-in .info-meta .num{grid-column:2;grid-row:1;position:static;padding:0;border:0;background:transparent;color:var(--hd-muted);font-size:12px;line-height:20px;white-space:nowrap}
.home-topics .list-special-main .box-list-item .item-in .in-btn{margin-top:auto;padding:0 14px 14px}
.home-topics .list-special-main .box-list-item .item-in .in-btn a{width:100%;text-align:center;border:1px solid var(--hd-border);border-radius:6px;background:var(--hd-soft);color:var(--hd-accent);font-size:14px;line-height:26px;padding:5px 10px;transition:border-color .16s ease}
.home-topics .list-special-main .box-list-item .item-in .in-btn a:hover{background:var(--hd-soft);border-color:var(--hd-hover);color:var(--hd-accent)}
body.night .home-discovery{--hd-text:#e0e6ef;--hd-muted:#a5afbd;--hd-border:#3c414a;--hd-bg:#292c32;--hd-soft:#303741;--hd-accent:#a4c4ea;--hd-hover:#637d9c}
body.night .home-translation-mark{border-color:var(--hd-border)}
@media(max-width:1100px){.home-translations-grid,.home-topics .list-special-main .box-list-item{grid-template-columns:repeat(2,minmax(0,1fr))}.home-topics .list-special-main .box-list-item .item-in .in-img{aspect-ratio:2.3/1}}
@media(max-width:600px){.home-translations{padding:14px;margin:20px 0 24px}.home-discovery .home-discovery-heading{flex-wrap:wrap;gap:7px;margin-bottom:14px}.home-discovery .home-discovery-heading h2{gap:8px;font-size:19px}.home-discovery .home-discovery-heading p{font-size:13px}.home-discovery .home-discovery-more{font-size:13px;padding:3px 0}.home-translations-grid{gap:10px}.home-translation-copy{padding:10px}.home-discovery .home-translation-copy h3{font-size:14px;line-height:21px;height:42px}.home-translation-meta{flex-wrap:wrap;gap:5px;margin-top:8px;font-size:11px}.home-topics .list-special-main .box-list-item{grid-template-columns:minmax(0,1fr);gap:14px}.home-topics .list-special-main .box-list-item .item-in .in-img{aspect-ratio:2.5/1}.home-topics .list-special-main .box-list-item .item-in .info-meta .desc{height:auto;min-height:21px}}
@media(prefers-reduced-motion:reduce){.home-discovery *{transition:none!important}}
/* Compact translation strip: reuse square game icons instead of large covers. */
.home-translations{padding:18px 20px;border:0;border-radius:10px}
.home-translations .home-discovery-heading{margin-bottom:18px}
.home-translations .home-discovery-heading h2{font-size:22px}
.home-translations .home-discovery-heading h2{flex-wrap:wrap;gap:4px 12px}
.home-translation-total{font-size:13px;font-weight:400;color:var(--hd-muted);white-space:nowrap}
.home-discovery .home-translation-card{display:flex;align-items:center;gap:12px;border:0;border-radius:6px;background:transparent;transition:none}
.home-translation-cover{flex:0 0 56px;width:56px;height:56px;aspect-ratio:1;border-radius:9px}
.home-translation-cover img{object-fit:contain}
.home-translation-copy{flex:1;min-width:0;padding:0}
.home-discovery .home-translation-copy h3{height:auto;max-height:44px;font-size:15px;line-height:22px;font-weight:500}
.home-translation-meta{margin-top:4px;font-size:12px;line-height:19px}
.home-discovery .home-translation-card:hover h3{color:var(--hd-accent)}
/* Keep existing category, ranking, and carousel behavior; scope all presentation. */
.index-list .home-discovery>.title{display:block;margin-bottom:16px;padding:0;font-size:22px;font-weight:600;color:var(--hd-text)}
.index-list .home-discovery>.title:before{display:none}
.index-list .home-discovery>.title .more{font-size:14px;font-weight:400;color:var(--hd-accent)}
.index-list .home-experience .list-soft-main,.index-list .home-classics .list-cover-main{background:var(--hd-bg)!important;border:1px solid var(--hd-border);border-radius:10px;box-shadow:none!important}
.home-experience .list-soft-tab>.type{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--hd-border);padding-bottom:10px}
.home-experience .list-soft-tab>.type::-webkit-scrollbar{display:none;width:0;height:0}
.home-experience .list-soft-tab>.type>a{flex-shrink:0;display:block;height:34px;line-height:32px;margin:0;padding:0 4px;border:1px solid transparent;border-radius:6px;color:var(--hd-muted);font-size:14px;white-space:nowrap}
.home-experience .list-soft-tab>.type>a:is(:hover,.hover){background:var(--hd-soft);color:var(--hd-accent);border-color:var(--hd-border)}
.home-experience .list-soft-tab .plate-list li{padding:15px 0;border-color:var(--hd-border)}
.home-experience .list-soft-tab .plate-list li>.fl{width:60px;height:60px;border-radius:10px;border-color:var(--hd-border);background:var(--hd-soft)}
.home-experience .list-soft-tab .plate-list li>.fl img{width:60px;height:60px;object-fit:contain}
.home-experience .list-soft-tab .plate-list li>.fr{width:calc(100% - 74px)}
.home-experience .list-soft-tab .plate-list li>.fr h3{margin-top:8px;line-height:23px;font-size:16px;width:calc(100% - 58px)}
.home-experience .list-soft-tab .plate-list li>.fr h3 a{color:var(--hd-text)}
.home-experience .list-soft-tab .plate-list li>.fr p{font-size:13px;color:var(--hd-muted)}
.home-experience .list-soft-tab .plate-list li>.fr p>span:not(.stars){padding:0 6px;color:var(--hd-muted)}
.home-experience .list-soft-tab .plate-list li>.fr .down a,.home-experience .hot-soft .plate-list li p span a{border:1px solid var(--hd-border);border-radius:6px;background:var(--hd-soft);color:var(--hd-accent);font-size:13px;transition:none}
.home-experience .list-soft-tab .plate-list li>.fr .down a:hover,.home-experience .hot-soft .plate-list li p span a:hover{border-color:var(--hd-hover);background:var(--hd-soft);color:var(--hd-accent)}
.home-experience .hot-soft>.type{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-bottom:10px;border-color:var(--hd-border)}
.home-experience .hot-soft>.type:before,.home-experience .hot-soft>.type:after{display:none}
.home-experience .hot-soft>.type a{flex:1;margin:0;padding:0 5px;height:34px;line-height:32px;border:1px solid transparent;border-radius:6px;text-align:center;white-space:nowrap;color:var(--hd-muted);font-size:14px}
.home-experience .hot-soft>.type a.hover{color:var(--hd-accent);font-weight:600}
.home-experience .hot-soft>.type>i{display:none}
.home-experience .hot-soft .plate-list li em{font-size:16px;font-weight:600;background:var(--hd-soft);color:var(--hd-muted)}
.home-experience .hot-soft .plate-list li:nth-child(-n+3) em{background:var(--hd-soft);color:var(--hd-accent)}
.home-experience .hot-soft .plate-list li .txt{font-size:15px;color:var(--hd-text)}
.home-experience .hot-soft .plate-list li .img{border-color:var(--hd-border)}
.home-experience .hot-soft .plate-list li img{object-fit:contain}
.home-experience .hot-soft .plate-list li i{color:var(--hd-muted)}
.home-classics .list-cover-main{container-type:inline-size}
.home-classics .list-cover-main ul.layui-clear{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0}
.home-classics .list-cover-main ul.layui-clear:after,.home-classics .list-cover-main ul.layui-clear:before{display:none}
.home-classics .list-cover-main ul.layui-clear li,.home-classics .list-cover-main ul.layui-clear li:nth-child(n){width:auto;float:none;margin:0;min-width:0;background:var(--hd-bg);border:1px solid var(--hd-border);border-radius:8px;box-shadow:none!important;transition:border-color .16s ease!important}
.home-classics .list-cover-main ul.layui-clear li:hover{transform:none;border-color:var(--hd-hover)!important;box-shadow:none!important}
.home-classics .list-cover-main ul.layui-clear li .img{height:auto;aspect-ratio:460/215}
.home-classics .list-cover-main ul.layui-clear li .img img{display:block;transition:none}
.home-classics .list-cover-main ul.layui-clear li:hover img{transform:none}
.home-classics .list-cover-main ul.layui-clear li .tit{padding:10px}
.home-classics .list-cover-main ul.layui-clear li .tit h3{height:44px;line-height:22px;margin:0 0 7px;padding:0;border:0;font-size:15px;color:var(--hd-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.home-classics .list-cover-main ul.layui-clear li .tit span{font-size:12px;line-height:20px;padding:0;color:var(--hd-muted)}
.home-classics .list-cover-main .layui-carousel[lay-indicator=outside]{height:calc(3 * (((100cqw - 56px) / 5) * 215 / 460 + 93px) + 28px)!important}
.home-classics .layui-carousel-ind ul{background:var(--hd-soft)}
.home-classics .layui-carousel-ind li{background:var(--hd-border)}
.home-classics .layui-carousel-ind li.layui-this{background:var(--hd-accent)}
.home-classics .layui-carousel-arrow{background:#22354bcc;color:#fff}
@media(max-width:800px){.home-translations{padding:15px}.home-translations .home-discovery-heading{gap:6px}.home-translations .home-discovery-heading h2{font-size:22px}.home-translations-grid{gap:16px 12px}.home-discovery .home-translation-card{gap:8px}.home-translation-cover{flex-basis:40px;width:40px;height:40px;border-radius:7px}.home-discovery .home-translation-copy h3{font-size:14px;line-height:21px;max-height:42px}.home-translation-meta{font-size:11px}.home-classics .list-cover-main ul.layui-clear{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-classics .list-cover-main .layui-carousel[lay-indicator=outside]{height:calc(8 * (((100cqw - 10px) / 2) * 215 / 460 + 93px) + 70px)!important}.index-list .home-discovery>.title{font-size:20px;margin-bottom:13px}.home-experience .list-soft-tab .plate-list li>.fr h3{font-size:15px}.home-experience .list-soft-tab>.type{gap:4px}.home-experience .list-soft-tab>.type>a{padding:0 10px;font-size:14px}}
/* Cover-backed translation cards, without nested panels or icon thumbnails. */
.home-translations .home-translation-card{position:relative;display:flex;align-items:flex-end;width:100%;height:160px;min-height:0;aspect-ratio:auto;border:1px solid var(--hd-border);border-radius:8px;background:#243144;isolation:isolate}
.home-translations .home-translation-cover{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background:#243144;z-index:-2}
.home-translations .home-translation-cover img{width:100%;height:100%;object-fit:cover}
.home-translations .home-translation-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 12%,rgba(10,18,29,.16) 35%,rgba(10,18,29,.92) 100%);z-index:-1;pointer-events:none}
.home-translations .home-translation-copy{padding:14px;width:100%;flex:none}
.home-translations .home-translation-copy h3,.home-translations .home-translation-card:hover h3{color:#fff;font-size:16px;font-weight:600;line-height:23px;max-height:46px;text-shadow:0 1px 3px #0007}
.home-translations .home-translation-meta{color:#dce5f1;font-size:12px;margin-top:5px}
.home-translations .home-translation-card:hover{border-color:var(--hd-hover)}
@media(max-width:600px){.home-translations .home-translation-card{height:130px}.home-translations .home-translation-copy{padding:10px}.home-translations .home-translation-copy h3{font-size:14px;line-height:20px;max-height:40px}.home-translations .home-translation-meta{font-size:11px}}
@media(max-width:360px){.home-classics .list-cover-main ul.layui-clear li .tit span{float:none;line-height:20px}.home-classics .list-cover-main .layui-carousel[lay-indicator=outside]{height:calc(8 * (((100cqw - 10px) / 2) * 215 / 460 + 113px) + 70px)!important}}

@media(max-width:600px){.home-translations .home-discovery-heading{margin-bottom:14px}.home-translations .home-discovery-heading h2{font-size:19px}}
.home-topics .home-topics-heading-copy{display:flex;align-items:baseline;gap:14px;min-width:0}
.home-topics .home-topics-heading-copy h2{flex-shrink:0}
.home-topics .home-discovery-heading .home-topics-heading-copy p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){.home-topics .home-discovery-heading{flex-wrap:nowrap;gap:8px}.home-topics .home-topics-heading-copy{gap:8px;flex:1}.home-topics .home-discovery-heading .home-topics-heading-copy p{font-size:12px}}
/* One type scale across the existing homepage; retain the site's font family. */
.home-page .index-news .title .news-type .home-latest-heading,.home-page .home-sidebar-title>span{font-size:20px;font-weight:600;line-height:30px;letter-spacing:0}
.home-page .home-latest-heading,.home-page .home-sidebar-title,.home-page .home-member-heading>span,.home-page .index-list .home-discovery>.title,.home-page .home-discovery .home-discovery-heading h2{font-size:20px;font-weight:600;line-height:30px;letter-spacing:0}
.home-page .index-news-list a.tit,.home-page .home-experience .list-soft-tab .plate-list li>.fr h3 a,.home-page .home-classics .list-cover-main ul.layui-clear li .tit h3,.home-page .home-translations .home-translation-copy h3,.home-page .hot-soft .plate-list li .txt{font-size:15px;font-weight:500;letter-spacing:0}
.home-page .home-topics .list-special-main .box-list-item .item-in .in-info h3{font-size:18px;font-weight:600;line-height:27px}
.home-page .home-discovery .home-discovery-heading p,.home-page .home-translation-total{font-size:13px;font-weight:400;line-height:21px}
.home-page .home-discovery .home-discovery-more,.home-page .index-list .home-discovery>.title .more{font-size:13px;font-weight:400;line-height:22px}
.home-page .home-translations .home-translation-meta,.home-page .home-classics .list-cover-main ul.layui-clear li .tit span,.home-page .home-topics .list-special-main .box-list-item .item-in .info-meta .num{font-size:12px;font-weight:400;line-height:20px}
@media(max-width:800px){.home-page .home-latest-heading,.home-page .home-sidebar-title,.home-page .home-member-heading>span,.home-page .index-list .home-discovery>.title,.home-page .home-discovery .home-discovery-heading h2{font-size:18px;line-height:27px}}
@media(max-width:600px){.home-page .home-translations .home-translation-copy h3,.home-page .home-classics .list-cover-main ul.layui-clear li .tit h3{font-size:14px}.home-page .home-topics .home-discovery-heading .home-topics-heading-copy p{font-size:12px}}
@media(max-width:800px){.home-page .index-news .title .news-type .home-latest-heading,.home-page .home-sidebar-title>span{font-size:18px;line-height:27px}}
