@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif;color:#252c3b;background:#f6f7fb;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sidebar{position:fixed;z-index:10;inset:0 auto 0 0;width:226px;background:#fff;border-right:1px solid #e8eaf0;display:flex;flex-direction:column;padding:30px 15px 22px}.brand{display:flex;align-items:center;gap:11px;padding:1px 12px 38px}.brand-icon{flex:0 0 37px;width:37px;height:37px;border-radius:12px;background:#6b65dc;color:#fff;display:grid;place-items:center;font-size:26px;box-shadow:0 8px 16px #6b65dc39}.brand b{display:block;font-size:18px;letter-spacing:-.05em}.brand small{display:block;font-size:10px;color:#9ba0ae;margin-top:2px;letter-spacing:.01em}.side-nav{display:flex;flex-direction:column}.nav-label{font-size:10px;font-weight:800;letter-spacing:.13em;color:#a3a9b7;padding:0 14px 12px}.nav-label-second{padding-top:25px}.nav-item{height:46px;border:0;background:transparent;border-radius:10px;text-align:left;padding:0 13px;display:flex;align-items:center;gap:12px;color:#646c7a;font-weight:700;font-size:13px;margin:2px 0}.nav-item:hover{background:#f4f3ff;color:#5d56cb}.nav-item.active{background:#efedff;color:#5c54d0}.nav-icon{font-size:22px;line-height:1;width:22px;text-align:center;font-weight:400}.game-icon{color:#f4a05f}.ai-icon{color:#8a78e1}.tool-icon{color:#75a8c5}.nav-count,.nav-arrow{margin-left:auto;color:#aeb4c2;font-size:12px}.nav-item.active .nav-count,.nav-item.active .nav-arrow{color:#766ddd}.nav-arrow{font-size:22px}.sidebar-bottom{margin-top:auto;background:#f4f2ff;border-radius:14px;padding:18px 15px 16px}.sidebar-bottom-icon{display:grid;place-items:center;width:32px;height:32px;background:#e4dfff;border-radius:9px;color:#7468da;font-size:21px;margin-bottom:12px}.sidebar-bottom strong{font-size:12px}.sidebar-bottom p{color:#9a9bae;font-size:11px;line-height:1.6;margin:6px 0 0}.sidebar-foot{font-size:10px;color:#afb3bf;margin:23px 11px 0}.main-shell{margin-left:226px;min-height:100vh}.topbar{height:75px;background:#ffffffec;border-bottom:1px solid #e8eaf0;display:flex;align-items:center;gap:25px;padding:0 clamp(26px,3vw,48px);position:sticky;top:0;z-index:8;backdrop-filter:blur(15px)}.breadcrumb{display:flex;align-items:center;gap:11px;color:#a3a9b6;font-size:12px;white-space:nowrap}.breadcrumb strong{color:#535c6c;font-weight:700}.search-field{height:39px;width:min(380px,45vw);background:#f6f7fa;border:1px solid #e9ebf0;border-radius:9px;display:flex;align-items:center;gap:10px;padding:0 12px;margin-left:auto}.search-glyph{font-size:23px;line-height:1;color:#9aa1b0;transform:rotate(-20deg)}.search-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#313747;font-size:12px}.search-field input::placeholder{color:#a9aeb9}.search-field kbd{border:1px solid #e2e4eb;border-radius:4px;padding:1px 5px;color:#acb1bd;font-size:10px;background:#fff}.top-fav{background:#fff;border:1px solid #e7e8ed;border-radius:9px;height:39px;padding:0 13px;display:flex;align-items:center;gap:7px;font-size:12px;color:#626a7c;font-weight:700;white-space:nowrap}.top-fav:hover{border-color:#c8c3ef;color:#645ad0}.top-fav>span:first-child{font-size:20px;line-height:12px;color:#746bd7}.top-fav b{font-size:10px;background:#f1f0f8;border-radius:5px;padding:2px 5px}.mobile-brand,.mobile-tabs{display:none}.content{max-width:1650px;margin:auto;padding:29px clamp(26px,3vw,48px) 0}.featured-section{padding-top:18px}.section-head,.directory-head,.category-head{display:flex;align-items:end;justify-content:space-between;gap:15px}.eyebrow{color:#8e82dd;font-size:10px;letter-spacing:.12em;font-weight:800}.section-head h2,.directory-head h2{margin:7px 0 0;font-size:22px;letter-spacing:-.04em}.heading-star{font-size:16px;color:#a99df0}.section-note,.directory-total{font-size:11px;color:#a2a7b3;padding-bottom:3px}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:21px}.feature-card{min-height:153px;position:relative;overflow:hidden;border:1px solid #e8eaf1;border-radius:14px;background:#fff;display:flex;align-items:flex-start;gap:17px;padding:22px;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s}.feature-card:hover,.site-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #34385b12;border-color:#d1d2eb}.feature-card:before{content:'';position:absolute;width:130px;height:130px;border-radius:50%;right:-51px;top:-67px;background:color-mix(in srgb,var(--accent),white 81%)}.feature-card>div{position:relative;z-index:1}.feature-icon{width:51px;height:51px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent),white 88%);flex:0 0 51px}.feature-icon img,.site-icon img{width:33px;height:33px;object-fit:contain}.feature-icon .fallback,.site-icon .fallback{font-size:22px;font-weight:800;color:color-mix(in srgb,var(--accent),black 20%)}.feature-copy{min-width:0;padding-top:1px}.feature-copy strong{font-size:15px;display:block}.feature-copy p{font-size:11px;line-height:1.6;color:#8c93a0;margin:7px 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.feature-meta{color:#9285e0;font-size:10px;font-weight:800}.feature-arrow{margin-left:auto;z-index:1;font-size:16px;color:#b8bcc7}.directory-head{margin-top:52px;padding-bottom:14px;border-bottom:1px solid #e6e8ef;scroll-margin-top:98px}.category-section{margin-top:33px}.category-head{align-items:center;margin-bottom:14px}.category-title{display:flex;align-items:center;gap:9px}.category-symbol{width:29px;height:29px;display:grid;place-items:center;background:var(--soft);color:var(--bright);border-radius:9px;font-size:19px}.category-title h3{margin:0;font-size:16px}.category-title small{font-size:10px;color:#a9aebb;background:#eef0f5;border-radius:5px;padding:3px 6px}.category-head>span{font-size:10px;color:#a7adba}.site-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.site-card{min-width:0;min-height:134px;background:#fff;border:1px solid #e8eaf1;border-radius:12px;position:relative;transition:transform .18s,box-shadow .18s,border-color .18s}.site-link{display:block;padding:19px 18px 17px;height:100%;outline-offset:-3px}.site-card-top{display:flex;align-items:center;gap:11px;padding-right:24px}.site-icon{width:41px;height:41px;flex:0 0 41px;border-radius:10px;background:color-mix(in srgb,var(--accent),white 91%);display:grid;place-items:center}.site-icon img{width:26px;height:26px}.site-icon .fallback{font-size:18px}.site-title{font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-domain{color:#a9afba;font-size:10px;display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-summary{font-size:11px;color:#8b92a0;line-height:1.6;margin:12px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.site-favorite{position:absolute;right:13px;top:17px;border:0;background:transparent;font-size:21px;line-height:1;color:#c3c6cf;padding:1px;z-index:1}.site-favorite:hover,.site-favorite.saved{color:#eb8b6f}.empty-state{text-align:center;margin:35px 0 80px;padding:50px 20px;background:#fff;border:1px dashed #dce0e9;border-radius:14px}.empty-state>span{font-size:44px;color:#b3a9ea}.empty-state h3{margin:4px 0 6px}.empty-state p{font-size:12px;color:#999fab}.empty-state button{border:0;background:#6961d5;color:#fff;border-radius:8px;padding:10px 16px;font-size:11px;font-weight:700;margin-top:11px}.footer{border-top:1px solid #e6e8ef;margin-top:65px;padding:22px 0 29px;color:#a5abb7;font-size:10px;display:flex;justify-content:space-between;gap:10px}
@media(max-width:1260px){.site-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-card{padding:18px;gap:12px}}@media(max-width:1050px){.sidebar{width:195px}.main-shell{margin-left:195px}.hero{padding:30px 34px}.hero-decoration{left:55%}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-grid .feature-card:nth-child(3){display:none}.site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.sidebar{display:none}.main-shell{margin-left:0}.topbar{height:auto;min-height:65px;padding:12px 20px;gap:10px;flex-wrap:wrap}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:15px}.mobile-brand .brand-icon{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:20px}.breadcrumb{display:none}.top-fav{margin-left:auto;height:34px;padding:0 10px}.top-fav span:nth-child(2){display:none}.search-field{order:3;width:100%;margin:0;height:39px}.content{padding:20px 18px 0}.hero{height:248px;padding:26px 27px}.hero h1{font-size:30px}.hero p{font-size:11px;max-width:310px}.hero-decoration{left:48%;opacity:.58}.float-tile{width:70px;height:75px}.float-tile span{font-size:30px}.tile-one{left:40%;top:24px}.tile-two{left:65%;top:110px}.tile-three{display:none}.mobile-tabs{display:flex;gap:7px;overflow-x:auto;margin:20px 0 0;padding-bottom:2px;scrollbar-width:none}.mobile-tabs::-webkit-scrollbar{display:none}.mobile-tab{white-space:nowrap;border:1px solid #e5e7ef;background:#fff;border-radius:8px;padding:9px 13px;color:#777f8e;font-size:11px;font-weight:700}.mobile-tab.active{background:#6961d5;border-color:#6961d5;color:#fff}.featured-section{padding-top:30px}.directory-head{margin-top:38px}.site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.hero{height:242px}.hero-decoration{left:57%;opacity:.35}.hero-content{max-width:100%}.hero h1{font-size:27px}.hero p{max-width:270px}.hero-kicker{font-size:8px}.featured-grid{gap:10px}.feature-card{min-height:150px;padding:14px;display:block}.feature-icon{width:38px;height:38px;margin-bottom:9px}.feature-icon img{width:25px;height:25px}.feature-copy strong{font-size:12px}.feature-copy p{font-size:10px;margin:4px 0 8px}.feature-arrow{position:absolute;right:12px;top:14px}.section-note{display:none}.site-grid{gap:9px}.site-link{padding:13px 11px;min-height:132px}.site-card-top{gap:8px;padding-right:15px}.site-icon{width:32px;height:32px;flex-basis:32px}.site-icon img{width:23px;height:23px}.site-title{font-size:11px}.site-domain{font-size:9px}.site-summary{font-size:10px}.site-favorite{right:7px;top:11px;font-size:17px}.footer{display:block;line-height:1.8}}
.game-section{min-width:0}.game-controls{display:flex;gap:7px}.game-controls button{width:31px;height:31px;border:1px solid #e2e5ee;background:#fff;border-radius:50%;color:#6f7585;font-size:16px;line-height:1}.game-controls button:hover{background:#6961d5;border-color:#6961d5;color:#fff}.game-shelf{display:flex;gap:12px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 1px 8px}.game-shelf::-webkit-scrollbar{display:none}.game-banner,.game-card{height:190px;border-radius:14px;overflow:hidden;position:relative;flex:none;scroll-snap-align:start}.game-banner{width:305px;background-image:linear-gradient(90deg,#282d55 0%,#39375ede 54%,#34345666 100%),url('/screenshots/poki.png');background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:center;padding:25px;color:#fff}.game-banner:after{content:'✦';font-size:84px;position:absolute;right:15px;top:21px;color:#ffffff23;transform:rotate(13deg)}.game-banner-eyebrow{font-size:9px;font-weight:800;letter-spacing:.13em;color:#bcb8ff;position:relative;z-index:1}.game-banner strong{font-size:28px;letter-spacing:-.04em;margin:10px 0 7px;position:relative;z-index:1}.game-banner-count{font-size:12px;color:#eceafb;position:relative;z-index:1}.game-card{width:236px;background:#d9dce8;box-shadow:0 1px 1px #1f254118}.game-card-link{display:block;width:100%;height:100%;position:relative;color:#fff}.game-card-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.game-card:hover img{transform:scale(1.055)}.game-card[data-game-id="infinite-craft"] img{object-position:80% center}.game-card[data-game-id="2048"] img{object-position:center 37%}.game-card[data-game-id="poki"] img{object-position:center 27%}.game-shade{position:absolute;inset:0;background:linear-gradient(180deg,#10162830 0%,transparent 31%,transparent 52%,#0e1228c9 100%)}.game-card-label{position:absolute;left:11px;top:11px;background:#11192bad;color:#fff;border:1px solid #ffffff43;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700;backdrop-filter:blur(4px)}.game-card-caption{position:absolute;left:14px;right:12px;bottom:13px;font-size:15px;font-weight:800;text-shadow:0 1px 7px #000b;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-favorite{position:absolute;right:10px;top:9px;border:1px solid #ffffff6b;border-radius:50%;background:#111a369c;width:30px;height:30px;color:#fff;font-size:21px;line-height:1;display:grid;place-items:center;padding:0;backdrop-filter:blur(4px)}.game-favorite:hover,.game-favorite.saved{color:#ffb5ad;background:#1c2145}
@media(max-width:760px){.game-banner{width:238px}.game-card{width:205px}.game-banner,.game-card{height:162px}}@media(max-width:520px){.game-banner{width:190px;padding:17px}.game-banner strong{font-size:23px}.game-banner-count{font-size:10px}.game-banner,.game-card{height:144px}.game-card{width:177px}.game-card-caption{font-size:12px;left:10px;bottom:10px}.game-card-label{font-size:9px}.game-favorite{width:25px;height:25px;font-size:17px}}

/* The search is the sole control in the header. */
.sidebar-foot{margin-top:auto}
.topbar{justify-content:center}
.topbar .search-field{width:min(560px,65vw);margin:0}
.directory-head{margin-top:10px}
@media(max-width:760px){.topbar{justify-content:space-between}.topbar .search-field{order:3;width:100%;margin:0}.directory-head{margin-top:26px}}

.topbar{background:transparent;border-bottom:0;backdrop-filter:none;position:relative}
.category-sections>.category-section:first-child{margin-top:0}
.topbar{height:94px}
.topbar .search-field{width:min(720px,72vw);height:52px;border-radius:12px;padding:0 16px}
.topbar .search-field input{font-size:15px}
.topbar .search-glyph{font-size:27px}
@media(max-width:760px){.topbar{height:auto}.topbar .search-field{width:100%;height:48px}}
.side-nav .nav-item[data-filter="game"]{margin-top:18px}

/* Keep tool cards aligned to a consistent column width. */
.category-section:not(.game-section){margin-top:30px}
.category-section:not(.game-section) .category-head{margin-bottom:16px}
.category-section:not(.game-section) .site-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.category-section:not(.game-section) .site-card{min-width:0;min-height:0}
.category-section:not(.game-section) .site-link{padding:21px 22px 19px}
.category-section:not(.game-section) .site-card-top{gap:14px;padding-right:28px}
.category-section:not(.game-section) .site-icon{width:48px;height:48px;flex-basis:48px}
.category-section:not(.game-section) .site-icon img{width:32px;height:32px}
.category-section:not(.game-section) .site-title{font-size:17px}
.category-section:not(.game-section) .site-domain{font-size:12px;margin-top:4px}
.category-section:not(.game-section) .site-summary{font-size:14px;line-height:1.5;margin-top:14px}
.category-section:not(.game-section) .site-favorite{top:19px;right:18px;font-size:23px}
.category-section:not(.game-section) .category-title h3{font-size:20px}
@media(max-width:1050px){.category-section:not(.game-section) .site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.category-section:not(.game-section) .site-grid{grid-template-columns:minmax(0,1fr);gap:11px}.category-section:not(.game-section) .site-link{padding:17px;min-height:0}.category-section:not(.game-section) .site-title{font-size:15px}.category-section:not(.game-section) .site-summary{font-size:13px}}
.site-card-top,.category-section:not(.game-section) .site-card-top{padding-right:0}
.brand-icon{flex:0 0 42px;width:42px;height:42px;border-radius:0;background:none;box-shadow:none;display:block}.brand-icon img{display:block;width:100%;height:100%}.brand b{font-size:20px;letter-spacing:-.04em}.brand small{font-size:10px}.nav-icon{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center}.nav-icon img{width:23px;height:23px;display:block}.category-symbol img{display:block;width:21px;height:21px}.search-glyph{width:20px;height:20px;display:block;transform:none}.search-glyph img{display:block;width:20px;height:20px}
@media(max-width:760px){.mobile-brand .brand-icon{width:32px;height:32px;flex-basis:32px;border-radius:0}}
.brand-icon{flex-basis:50px;width:50px;height:50px}.brand-icon img{object-fit:contain}.brand b{font-size:21px}
@media(max-width:760px){.mobile-brand .brand-icon{width:38px;height:38px;flex-basis:38px}}
.brand{display:block;padding:0 2px 32px}.brand-wordmark{display:block;width:190px;height:56px;object-fit:cover;object-position:center}
@media(max-width:760px){.mobile-brand .brand-wordmark{width:143px;height:44px;object-fit:cover}}
.brand{display:flex;align-items:center;gap:8px;padding:6px 12px 35px}.brand-logo{display:block;width:35px;height:35px;flex:0 0 35px;object-fit:contain}.brand-name{display:block;font-family:'Noto Sans SC',system-ui,sans-serif;font-size:20px;font-weight:700;letter-spacing:0;color:#252c3b;white-space:nowrap}
@media(max-width:760px){.mobile-brand{gap:6px}.mobile-brand .brand-logo{width:29px;height:29px;flex-basis:29px}.mobile-brand .brand-name{font-size:17px}}

/* Compact directory layout and the warm illustrated brand mark. */
body{background:#f7f9fc}
.sidebar{border-right-color:#e9edf3}
.brand{gap:9px;padding:0 10px 30px}
.brand-logo{width:46px;height:46px;flex:0 0 46px}
.brand-name{font-family:Arial,'Microsoft YaHei',system-ui,sans-serif;font-size:20px;font-weight:700;letter-spacing:0;color:#263246}
.nav-item.active{background:#eaf1fb;color:#326ca5}
.nav-item:hover{background:#eff5fc;color:#326ca5}
.nav-item.active .nav-arrow{color:#5485b7}
.topbar{height:78px}
.topbar .search-field{width:min(640px,72vw);height:47px;background:#fff}
.content{padding-top:22px}
.category-section:not(.game-section){margin-top:26px}
.category-section:not(.game-section) .category-head{margin-bottom:12px}
.category-section:not(.game-section) .site-grid{gap:12px}
.category-section:not(.game-section) .site-card{min-height:0;height:92px;border-radius:10px}
.category-section:not(.game-section) .site-link{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:22px 21px;align-content:center;column-gap:12px;row-gap:2px;height:100%;min-height:0;padding:11px 15px}
.category-section:not(.game-section) .site-card-top{display:contents}
.category-section:not(.game-section) .site-icon{grid-column:1;grid-row:1/3;width:42px;height:42px;align-self:center;flex-basis:42px;border-radius:9px}
.category-section:not(.game-section) .site-icon img{width:30px;height:30px}
.category-section:not(.game-section) .site-name{grid-column:2;grid-row:1;min-width:0;overflow:hidden}
.category-section:not(.game-section) .site-title{display:block;font-size:15px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-section:not(.game-section) .site-domain{display:none}
.category-section:not(.game-section) .site-summary{grid-column:2;grid-row:2;display:block;margin:0;font-size:12px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8995a6}
@media(max-width:760px){.topbar{height:auto}.topbar .search-field{width:100%;height:46px}.mobile-brand .brand-logo{width:38px;height:38px;flex-basis:38px}.mobile-brand .brand-name{font-size:19px}.category-section:not(.game-section) .site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.category-section:not(.game-section) .site-grid{grid-template-columns:minmax(0,1fr);gap:9px}.category-section:not(.game-section) .site-card{height:88px}}

/* Even six-column rows on wide screens, matching the reference directory rhythm. */
@media(min-width:1501px){.category-section:not(.game-section) .site-grid{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:16px;row-gap:18px}}
@media(max-width:1500px) and (min-width:1051px){.category-section:not(.game-section) .site-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1051px){.sidebar{width:190px}.main-shell{margin-left:190px}.brand{padding:0 8px 30px;gap:8px}.brand-logo{width:54px;height:54px;flex-basis:54px}.brand-name{font-size:24px}.category-section:not(.game-section) .site-title{font-size:16px}}
.sidebar-foot{display:none}
@media(min-width:1051px){.nav-item{height:50px;font-size:15px}}
