:root { --home-ink: #202b31; --home-muted: #68757b; --home-line: #dfe6e5; --home-accent: #087f73; }
body { background: #f6f8f7; color: var(--home-ink); }
[hidden] { display: none !important; }
.shell { width: calc(100% - 64px); max-width: 1560px; }
.topbar { background: #fff; border-bottom: 1px solid var(--home-line); }
.brand-mark { background: transparent; border: 0; box-shadow: none; }
.nav-links { gap: 24px; }
.nav-links a, .nav-link-button { font-size: 13px; font-weight: 600; }
[data-lucide], .lucide { width: 18px; height: 18px; flex-shrink: 0; }
.home-intro { display: flex; align-items: center; justify-content: space-between; min-height: 238px; padding: 36px 0 24px; }
.home-intro h1 { font-size: 42px; line-height: 1.15; letter-spacing: 0; margin: 0 0 12px; }
.home-intro .hero-copy { font-size: 19px; margin: 0 0 10px; line-height: 1.5; }
.intro-meta { font-size: 13px; color: var(--home-muted); margin: 0 0 18px; }
.home-intro .button { min-height: 38px; font-size: 13px; background: #fff; }
.intro-pet { display: grid; place-items: center; width: 190px; height: 190px; margin-right: 50px; }
.intro-pet img { object-fit: contain; width: 170px; height: 170px; }
.intro-pet .hero-sprite-viewport { width: 158px; height: auto; aspect-ratio: 12 / 13; }
.intro-pet .hero-sprite-frame { display: block; }
.latest-section { padding-bottom: 28px; border-bottom: 1px solid var(--home-line); }
.latest-heading, .catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.latest-heading h2, .catalog-heading h2 { font-size: 20px; letter-spacing: 0; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; background: none; color: var(--home-accent); border: 0; padding: 5px 0; font: inherit; font-size: 13px; cursor: pointer; }
.latest-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.latest-list .mini-card { background: #fff; border: 1px solid var(--home-line); border-radius: 6px; padding: 12px; display: flex; align-items: center; min-width: 0; gap: 12px; transition: border-color .2s; }
.latest-list .mini-card:hover { border-color: var(--home-accent); }
.mini-card > span:last-child { min-width: 0; }
.mini-card strong { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mini-card span span { color: var(--home-muted); font-size: 12px; font-weight: 500; }
.mini-preview { width: 66px; height: 66px; flex-shrink: 0; background: #eff5f3; border-radius: 4px; }
.catalog-layout { display: grid; grid-template-columns: 216px minmax(0,1fr); gap: 32px; padding: 30px 0 64px; scroll-margin-top: 82px; }
.catalog-sidebar { min-width: 0; align-self: start; }
.catalog-sidebar h2 { font-size: 14px; font-weight: 650; margin: 5px 0 18px; }
.category-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--home-line); border-radius: 5px; background: #fff; padding: 9px 10px; margin-bottom: 14px; color: var(--home-muted); }
.category-search input { min-width: 0; width: 100%; border: 0; outline: none; background: none; font: inherit; font-size: 12px; }
.category-filter { display: block; margin: 0; padding: 0; border: 0; background: none; }
.category-group { margin: 4px 0; }
.category-root { display: flex; align-items: center; }
.category-root > .category-button { flex: 1; min-width: 0; }
.category-button { display: flex; align-items: center; gap: 8px; justify-content: space-between; width: 100%; text-align: left; border: 0; border-radius: 4px; background: transparent; color: #526167; padding: 10px; font-size: 13px; font-weight: 500; min-height: 38px; }
.category-button:hover { background: #e9f0ee; }
.category-button.active { color: #006e63; background: #dcefe9; border: 0; }
.category-button .category-name { overflow: hidden; text-overflow: ellipsis; }
.category-button .category-count { font-size: 11px; color: #7e8c90; font-variant-numeric: tabular-nums; }
.category-expand { padding: 8px 5px; background: transparent; border: 0; cursor: pointer; color: #6f7d82; display: grid; place-items: center; }
.category-children { margin: 5px 0 10px 13px; padding-left: 8px; border-left: 1px solid #d8e0de; }
.category-button.child { font-size: 12px; padding: 8px 10px; min-height: 33px; }
.category-more { margin: 6px 10px; font-size: 12px; }
.catalog-content { min-width: 0; }
.catalog-heading span { font-size: 13px; color: var(--home-muted); }
.toolbar { grid-template-columns: minmax(0,1fr) 150px; margin-bottom: 18px; }
.field, .select { min-height: 44px; border-radius: 5px; background: #fff; border-color: var(--home-line); font-size: 13px; }
.field input { font-size: 14px; }
.view-switch { flex-wrap: nowrap; gap: 22px; border-bottom: 1px solid var(--home-line); margin: 0; padding: 0; overflow-x: auto; }
.view-button { padding: 12px 0; border: 0; border-radius: 0; font-size: 13px; white-space: nowrap; color: #68757b; background: none; border-bottom: 2px solid transparent; }
.view-button.active { background: none; color: var(--home-accent); border-color: var(--home-accent); box-shadow: none; }
.filter-summary { display: flex; justify-content: space-between; gap: 12px; min-height: 45px; align-items: center; font-size: 12px; color: var(--home-muted); }
.pet-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.sprite-offscreen { animation-play-state: paused !important; }
body.page-background .sprite-frame, body.page-background .mini-sprite-frame, body.page-background .hero-sprite-frame { animation-play-state: paused !important; }
.pet-card { border-color: var(--home-line); border-radius: 6px; box-shadow: none; min-width: 0; }
.pet-card:hover { border-color: #92bab1; box-shadow: 0 5px 18px #16382b0a; }
.preview { background: #edf3f1; aspect-ratio: 1.3; }
.pet-card:nth-child(4n+2) .preview { background: #f2f0f7; }
.pet-card:nth-child(4n+3) .preview { background: #edf2f7; }
.pet-card:nth-child(4n+4) .preview { background: #f7f1ea; }
.card-body { padding: 14px; gap: 10px; }
.card-title h3 { font-size: 15px; overflow-wrap: anywhere; }
.card-title a { color: inherit; }
.catalog-pagination { display: inline-block; padding: 18px 0; color: var(--home-accent); font-size: 13px; }
.js-enabled .catalog-pagination { display: none; }
.preview > noscript { width: 80%; height: 80%; position: absolute; inset: 10%; }
.preview > noscript img { width: 100%; height: 100%; object-fit: contain; }
.description { font-size: 12px; min-height: 38px; line-height: 1.6; }
.uploader-line { font-size: 11px; }
.tags { display: none; }
.card-actions { gap: 7px; margin-top: auto; }
.install-line { border-radius: 4px; min-width: 0; padding: 0 6px 0 8px; }
.install-line code { font-size: 10px; }
.download { width: 35px; min-width: 35px; height: 35px; padding: 7px; }
.pet-loader { width: 100%; background: transparent; border: 0; font: inherit; font-size: 13px; color: var(--home-muted); cursor: pointer; min-height: 80px; }
.pet-loader .loader-dot { display: none; }
.pet-loader.loading .loader-dot { display: inline-block; }
.pet-loader.done { display: none; }
.ad-placement { margin: 24px 0; min-width: 0; }
.ad-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #7b858a; margin-bottom: 5px; }
.ad-placement a { display: block; overflow: hidden; background: #eaf0ee; border-radius: 4px; }
.ad-placement img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ad-home_banner a { aspect-ratio: 8 / 1; }
.ad-home_inline { grid-column: 1 / -1; margin: 8px 0; }
.ad-home_inline a { aspect-ratio: 6 / 1; }
.ad-home_sidebar { margin-top: 30px; }
.ad-home_sidebar a { aspect-ratio: 1 / 1; }
.empty { grid-column: 1 / -1; min-height: 180px; background: #fff; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #087f73; outline-offset: 3px; }
@media (max-width: 940px) { .nav-links { display: flex; gap: 14px; } .nav-links a, .nav-link-button { font-size: 11px; } }
@media (max-width: 700px) { .random-pet-fab { bottom: 20px; right: 12px; padding: 7px 10px 7px 7px; } .random-pet-fab-icon { width: 30px; height: 30px; } .random-pet-fab-copy span:first-child { display: none; } .random-pet-fab-copy span:last-child { font-size: 12px; } .to-top { bottom: 80px; } }
@media (min-width: 1080px) { .catalog-sidebar { position: sticky; top: 95px; max-height: calc(100vh - 115px); overflow-y: auto; scrollbar-width: thin; padding-right: 3px; } }
@media (max-width: 1200px) { .shell { width: calc(100% - 40px); } .catalog-layout { gap: 22px; grid-template-columns: 185px minmax(0,1fr); } .pet-grid { gap: 12px; } .card-body { padding: 11px; } .nav-links { gap: 15px; } }
@media (max-width: 1079px) { .catalog-layout { grid-template-columns: minmax(0,1fr); gap: 22px; } .catalog-sidebar { position: static; } .catalog-sidebar h2 { margin-bottom: 10px; } .category-search { max-width: 270px; } .category-filter { display: flex; flex-wrap: wrap; gap: 6px; } .category-filter > .category-button, .category-group { width: auto; } .category-button { white-space: nowrap; padding: 9px 12px; } .category-expand { display: none; } .category-children { position: relative; margin: 8px 0 0; padding: 10px; background: #edf3f1; border: 0; display: flex; flex-wrap: wrap; gap: 3px; } .category-group:has(.category-children) { width: 100%; order: 2; } .category-group:has(.category-children) .category-root { display: none; } .category-button.child { width: auto; } .ad-home_sidebar { display: none; } }
@media (max-width: 700px) { .shell { width: calc(100% - 28px); } .nav { min-height: 66px; height: auto; flex-wrap: wrap; gap: 9px; padding: 12px 0; } .nav-links { width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 3px; white-space: nowrap; } .nav-links a, .nav-link-button { font-size: 12px; } .brand { font-size: 18px; } .home-intro { padding: 25px 0; min-height: 210px; gap: 8px; } .home-intro h1 { font-size: 30px; } .home-intro .hero-copy { font-size: 15px; } .intro-meta { font-size: 11px; max-width: 220px; line-height: 1.7; } .intro-pet { width: 92px; height: 120px; margin: 0; flex-shrink: 0; } .intro-pet img, .intro-pet .hero-sprite-viewport { width: 90px; height: auto; } .latest-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .latest-list .mini-card { padding: 8px; gap: 8px; } .mini-preview { width: 44px; height: 44px; } .mini-card strong { font-size: 12px; } .mini-card span span { font-size: 10px; } .latest-heading h2, .catalog-heading h2 { font-size: 18px; } .catalog-layout { padding-top: 24px; } .toolbar { grid-template-columns: minmax(0,1fr) 105px; gap: 8px; } .field input { font-size: 12px; } .view-switch { gap: 20px; } .view-button { font-size: 12px; } .pet-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .description { font-size: 11px; } .card-title h3 { font-size: 14px; } .card-actions { flex-wrap: wrap; } .install-line { flex: 1; } .install-line code { font-size: 9px; } .ad-home_banner a { aspect-ratio: 4 / 1; } .ad-home_inline a { aspect-ratio: 3 / 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
