/* 203: a calm, theme-aware home. Existing modules keep their own layout. */
html[data-hub-theme][data-hub-mode][data-hub-mode] body.hub-shell203{background:var(--bh-bg)!important}
html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 :is(.topbar,.sidebar,.search,.account-shortcut,.side-theme171){box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:var(--bh-line)!important;border-radius:12px!important}
html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .topbar{margin:0;padding:0 28px;height:76px;top:0;border:0!important;border-bottom:1px solid var(--bh-line)!important;border-radius:0!important;background:var(--bh-surface)!important;gap:28px}
.hub-shell203 .brand{min-width:180px;gap:10px;font-size:23px}.hub-shell203 .brand>img{width:36px;height:36px}.hub-shell203 .brand span{font-size:9px;letter-spacing:.08em}.hub-shell203 .search{max-width:490px}.hub-shell203 .account-shortcut{max-width:270px}
html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .layout{grid-template-columns:166px minmax(0,1fr)!important;gap:28px!important;padding:24px 28px 36px!important}
html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .layout>section{padding-top:0;max-width:1400px!important;margin:0 auto}
html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .sidebar{background:transparent!important;border:0!important;padding:4px 0;top:100px;height:calc(100dvh - 124px)}
.hub-shell203 .sidebar-title{font-size:10px;letter-spacing:.12em;margin:10px 12px 16px}.hub-shell203 .side-link{padding:12px;gap:12px;margin:3px 0;font-size:13px}.hub-shell203 .side-link>img{width:18px;height:18px;opacity:.75}.hub-shell203 .side-link.active{background:var(--bh-surface);color:var(--bh-accent)}.hub-shell203 .side-link:hover{background:var(--bh-soft)}
.side-more203{border-top:1px solid var(--bh-line);margin:18px 0;padding-top:15px}.side-more203 summary{font-size:12px;color:var(--bh-muted);padding:10px 12px;cursor:pointer}.side-more203 .side-link{font-size:12px;padding:10px 12px}.hub-shell203 .side-theme171{background:var(--bh-soft)!important;padding:13px;margin-top:26px}.hub-shell203 .side-theme171 span{display:block;font-size:10px;margin-top:8px}.hub-shell203 .side-footer{padding:22px 12px;line-height:1.8;font-size:10px}
.home203{--home-radius:18px;min-width:0}.home-top203{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:22px;margin-bottom:26px}.home-brand203{padding:25px 30px 22px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:var(--bh-tint);border:1px solid var(--bh-line);border-radius:var(--home-radius)}
.home-wordmark203{display:flex;align-items:center;gap:13px;margin-bottom:18px}.home-wordmark203>img{width:58px;height:58px}.home-wordmark203>span{font-size:27px;font-weight:760;letter-spacing:.03em;line-height:1.2}.home-wordmark203 small{display:block;font-size:11px;letter-spacing:.08em;font-weight:400;color:var(--bh-muted);margin-top:8px}.home-brand203 h1{font-size:clamp(24px,2.4vw,33px);letter-spacing:-.04em;line-height:1.3;margin:0 0 9px}.home-brand203>p{color:var(--bh-muted);font-size:13px;line-height:1.7;margin:0}.home-links203{display:flex;gap:12px 22px;flex-wrap:wrap;margin-top:23px}.home-links203 a{font-size:12px;font-weight:550;color:var(--bh-accent);display:flex;align-items:center;gap:7px}.home-links203 img{width:16px;height:16px;opacity:.8}
.home-account203{background:var(--bh-surface);border:1px solid var(--bh-line);border-radius:var(--home-radius);padding:22px 24px;min-width:0;display:flex;flex-direction:column;align-items:stretch}.home-account-head203{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.home-account-head203 h2{font-size:15px;margin:0}.home-account203 .hero-status173{margin:0;font-size:10px;padding:5px 8px;background:var(--bh-soft);border:0;font-weight:500}.home-account203 .hero-status173:before{width:5px;height:5px}.account-greeting203{font-size:11px;color:var(--bh-muted);margin:22px 0 4px}.home-account203 h3{font-size:23px;line-height:1.3;margin:0;overflow-wrap:anywhere}.home-account203 #heroNote{font-size:11px;line-height:1.7;color:var(--bh-muted);margin:9px 0 18px;max-width:100%}.home-account203 .hero-actions173{margin-top:auto;gap:8px}.home-account203 .account-action203{display:flex;justify-content:space-between;width:100%;background:var(--bh-accent);color:var(--bh-on-accent,#fff);font-size:12px;border-radius:10px;min-height:40px;padding:10px 13px}.home-account203 #heroRetry{font-size:11px;padding:7px 12px}.home-account203 .hero-stats173{gap:12px;margin:0 0 18px;flex-wrap:wrap}.home-account203 .hero-stats173>span,.home-account203 .hero-stats173>span:first-child{padding:0;border:0;background:none;min-width:60px;border-radius:0}.home-account203 .hero-stats173 small{font-size:10px}.home-account203 .hero-stats173 b,.home-account203 #heroLevel{font-size:14px;letter-spacing:0}
.home-body203{display:grid;grid-template-columns:minmax(0,1fr) 292px;grid-template-areas:'weekly community' 'popular community' 'tools tools';gap:22px;align-items:start}.home-weekly203{grid-area:weekly;min-width:0}.home-community203{grid-area:community;min-width:0}.home-popular203{grid-area:popular;min-width:0}.home-tools203{grid-area:tools;min-width:0}
.home203 .discovery-section202,.home203 .level-board188{background:var(--bh-surface);border:1px solid var(--bh-line);padding:22px;border-radius:var(--home-radius);margin:0;box-shadow:none;backdrop-filter:none}.home203 .discovery-head202{margin:0 0 14px;gap:12px;flex-wrap:wrap}.home203 .discovery-head202 h2{font-size:19px;margin:3px 0;letter-spacing:-.02em}.home203 .discovery-head202>a{font-size:11px;white-space:normal}.home203 .discovery-head202 p{font-size:11px;margin-top:6px}.home-overline203{font-size:10px;letter-spacing:.09em;color:var(--bh-muted)}.home-section-note203{font-size:11px;color:var(--bh-muted);line-height:1.7;margin:0 0 17px}.home203 .weekly-grid202{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.home203 .release-date202{font-size:9px;min-height:25px;margin:0 0 6px;line-height:1.4}.home203 .release-note202{font-size:10px}
.home-item203{display:flex;flex-direction:column;min-width:0;position:relative;color:var(--bh-ink);height:100%;border-radius:10px;transition:background .15s}.home-item203:hover{background:var(--bh-soft)}.home-item203:focus-visible,.home203 a:focus-visible{outline:2px solid var(--bh-accent);outline-offset:4px}.home-art203{height:86px;background:var(--bh-tint);border:1px solid var(--bh-line);display:grid;place-items:center;overflow:hidden;border-radius:10px;flex-shrink:0}.home-art203>.emoji-pic{width:40px;height:40px;filter:none;transform:none;font-size:34px}.home-art203.has-image>img{width:100%;height:100%;object-fit:cover;min-height:0}.home-item-copy203{padding:10px 2px}.home-item203 h3{font-size:12px;line-height:1.5;margin:0 0 6px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-item203 p{font-size:10px;line-height:1.6;color:var(--bh-muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-item-arrow203{display:none}
.home203 .popular-grid202{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home203 .popular-grid202 .release-date202{min-height:0;font-size:9px}.home203 .popular-grid202 .home-item203{flex-direction:row;gap:10px;align-items:center}.home203 .popular-grid202 .home-art203{width:48px;height:48px;border-radius:10px}.home203 .popular-grid202 .home-art203>.emoji-pic{width:28px;height:28px;font-size:25px}.home203 .popular-grid202 .home-item-copy203{padding:0;min-width:0}.home203 .popular-grid202 h3{font-size:12px;margin:0}.home203 .popular-grid202 .home-item203 p{display:none}.home203 .heat-period202{font-size:10px;padding:5px 8px;background:var(--bh-soft)}.home203 .heat-count202{font-size:10px;margin-top:8px;color:var(--bh-muted)}.heat-details203{font-size:10px;color:var(--bh-muted);margin-top:15px;line-height:1.7}.heat-details203 summary{cursor:pointer;width:fit-content}.heat-details203 p{margin:5px 0 0}.home203 .discovery-empty202{font-size:12px;padding:6px 0;line-height:1.8;margin:5px 0}.home203 .discovery-empty202 a{display:inline-block}
.home203 .tools-grid202 .home-item203{flex-direction:row;align-items:center;gap:12px}.home203 .tools-grid202 .home-art203{width:42px;height:42px;border:0;background:var(--bh-soft)}.home203 .tools-grid202 .home-art203>.emoji-pic{width:28px;height:28px;font-size:25px}.home203 .tools-grid202 h3{margin:0;font-size:12px}.home203 .tools-grid202 .home-item203 p{display:none}.home203 .tools-grid202 .home-item-copy203{padding:2px 0}.home203 .tools-grid202 .release-date202{min-height:0;margin-bottom:10px}
.home203 .level-head188{align-items:center;gap:10px;flex-wrap:nowrap}.home203 .level-head188 h2{font-size:19px;margin:5px 0 0}.home203 .rank-refresh203{width:32px;height:32px;background:var(--bh-soft);border:1px solid var(--bh-line);color:var(--bh-muted);border-radius:50%;font-size:19px;cursor:pointer}.home203 .rank-refresh203:disabled{opacity:.45;cursor:wait}.home203 .level-scroll188{margin-top:17px;max-height:330px;border-radius:0}.home203 .level-board188 th,.home203 .level-board188 td{padding:12px 6px;font-size:12px}.home203 .level-board188 th{font-size:10px;background:var(--bh-surface);color:var(--bh-muted);font-weight:400}.home203 .level-board188 :is(th,td):first-child{padding-left:0;white-space:nowrap;font-size:11px}.home203 .level-board188 :is(th,td):nth-child(4){display:none}.home203 .level-board188 td:nth-child(2){max-width:110px;overflow-wrap:anywhere}.home203 .level-board188 tbody tr:nth-child(-n+3){background:none}.home203 .level-board188 [role=status]{font-size:10px;line-height:1.7;color:var(--bh-muted);opacity:1;overflow-wrap:anywhere;min-height:18px}.home-full-rank203{display:flex;align-items:center;justify-content:space-between;color:var(--bh-accent);font-size:12px;padding-top:18px;margin-top:18px;border-top:1px solid var(--bh-line)}.home-account-links203{margin-top:18px;padding:0 8px}.home-account-links203 a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;color:var(--bh-ink);font-size:12px}.home-account-links203 span{font-size:10px;color:var(--bh-muted)}
.hub-shell203 .footer-line{margin-top:30px;padding-top:18px;border-top:1px solid var(--bh-line);font-size:10px}.hub-shell203 .sticker-credit{font-size:9px;padding-top:0;text-align:left}
html[data-hub-mode=dark] .home-wordmark203>img,html[data-hub-mode=dark] .home-links203 img,html[data-hub-mode=dark] .hub-shell203 .side-link>img{filter:brightness(0) invert(.85)}
@media(min-width:1700px){.home-body203{grid-template-columns:minmax(0,1fr) 320px}.home-art203{height:112px}}
@media(max-width:1200px){.home-body203{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.home203 .discovery-section202,.home203 .level-board188{padding:17px}.home203 .weekly-grid202{gap:9px}.home-art203{height:70px}.home203 .popular-grid202{gap:10px}.home203 .popular-grid202 .home-item203{flex-direction:column;align-items:flex-start}.home203 .release-date202{min-height:28px}.home-top203{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:18px}.home-brand203{padding:23px}.home203 .tools-grid202{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(max-width:1050px) and (min-width:761px){html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .layout{grid-template-columns:145px minmax(0,1fr)!important;gap:18px!important;padding:20px!important}.home-top203{grid-template-columns:1fr}.home-brand203{padding:24px}.home-account203{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.home-account-head203{grid-column:1/-1}.home-account203 .hero-actions173{grid-column:2;grid-row:2/5;align-self:center}.home-account203 .account-greeting203{margin-top:12px}.home-body203{grid-template-columns:1fr;grid-template-areas:'community' 'weekly' 'popular' 'tools'}.home-community203{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px}.home-account-links203{align-self:center}.home203 .popular-grid202 .home-item203{flex-direction:row}.home-art203{height:90px}}
@media(max-width:760px){html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .topbar{height:auto;margin:0;padding:13px 16px;gap:12px;top:0;border-radius:0!important}.hub-shell203 .brand{font-size:20px;min-width:0}.hub-shell203 .brand>img{width:31px;height:31px}.hub-shell203 .account-shortcut{margin-left:auto;padding:9px 10px;max-width:145px}.hub-shell203 .account-shortcut span{display:none}.hub-shell203 .search{order:3;flex-basis:100%;max-width:100%;padding:6px 10px}.hub-shell203 .search input{font-size:12px!important}.hub-shell203 .search kbd{display:none}html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .layout{display:block!important;padding:16px 14px 100px!important}.home-top203{grid-template-columns:1fr;gap:14px;margin-bottom:16px}.home-brand203{padding:21px}.home-wordmark203{margin-bottom:17px;gap:11px}.home-wordmark203>img{width:46px;height:46px}.home-wordmark203>span{font-size:23px}.home-wordmark203 small{font-size:10px}.home-brand203 h1{font-size:25px}.home-brand203>p{font-size:12px}.home-links203{gap:15px;margin-top:19px}.home-links203 a{font-size:11px}.home-links203 img{width:14px;height:14px}.home-account203{padding:18px 20px}.home-account203 h3{font-size:21px}.home-account203 .account-greeting203{margin-top:16px}.home-account203 #heroNote{margin-bottom:15px}.home-body203{grid-template-columns:1fr;grid-template-areas:'community' 'weekly' 'popular' 'tools';gap:16px}.home-account-links203{display:none}.home203 .discovery-section202,.home203 .level-board188{padding:18px}.home203 .weekly-grid202{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.home203 .release-date202{min-height:0;font-size:9px}.home-art203{height:91px}.home-item203 h3{font-size:13px}.home-item203 p{font-size:11px}.home203 .discovery-head202 h2,.home203 .level-head188 h2{font-size:18px}.home203 .discovery-head202>a{font-size:10px}.home203 .popular-grid202{grid-template-columns:1fr;gap:16px}.home203 .popular-grid202 .release-tile202{position:relative}.home203 .popular-grid202 .home-item203{flex-direction:row;align-items:center;gap:13px}.home203 .popular-grid202 .home-art203{width:48px;height:48px}.home203 .popular-grid202 h3{font-size:13px}.home203 .popular-grid202 .heat-count202{position:absolute;right:0;bottom:0;font-size:9px}.home203 .tools-grid202{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.home203 .tools-grid202 .home-item203{gap:9px}.home203 .tools-grid202 .home-art203{width:35px;height:35px}.home203 .tools-grid202 h3{font-size:12px}.home203 .level-scroll188{max-height:290px}.home203 .level-tools188{width:auto;flex-wrap:nowrap}.home203 .level-board188 :is(th,td){padding:10px 6px}.home203 .level-board188 td:nth-child(2){max-width:160px}.home-full-rank203{padding-top:13px;margin-top:13px}.hub-shell203 .dock{max-width:390px;width:calc(100% - 28px);bottom:max(9px,env(safe-area-inset-bottom))}.hub-shell203 .footer-line{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.home-item203{transition:none}}
/* Remove the older nested search pill; keep mobile game lists easy to scan. */
html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .search input{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}
html[data-hub-mode=dark] .hub-shell203 .account-shortcut>img{filter:brightness(0) invert(.85)}
@media(max-width:760px){html[data-hub-theme][data-hub-mode][data-hub-mode] .hub-shell203 .account-shortcut span{display:none!important}.hub-shell203 .account-shortcut>img{width:20px;height:20px}.home-weekly203 .weekly-grid202{grid-template-columns:1fr;gap:16px}.home-weekly203 .home-item203{flex-direction:row;align-items:center;gap:13px}.home-weekly203 .home-art203{width:82px;height:72px}.home-weekly203 .home-item-copy203{padding:0;min-width:0}.home-weekly203 .release-tile202+.release-tile202{border-top:1px solid var(--bh-line);padding-top:14px}.home-weekly203 .home-item203 h3{margin-bottom:4px}.home-weekly203 .release-date202{margin-bottom:8px}.home-weekly203 .home-item203 p{font-size:11px}}
