.category-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.category-page { width: min(calc(100% - 64px), 1390px); margin: 0 auto; padding: 22px 0 56px; color: #101633; }
.category-hero { position: relative; min-height: 165px; overflow: hidden; padding: 0 34px; }
.category-breadcrumb { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; margin: 0 0 25px; color: #6a718e; font-size: 12px; }
.category-breadcrumb a:hover { color: #6737dc; }
.category-breadcrumb strong { color: #222945; font-weight: 800; }
.category-hero-copy { position: relative; z-index: 2; max-width: 665px; }
.category-hero h1 { margin: 0; color: #0c1330; font-size: clamp(31px, 3vw, 39px); font-weight: 850; letter-spacing: -.045em; line-height: 1.1; }
.category-hero-copy p { max-width: 650px; margin: 13px 0 0; color: #596382; font-size: 15px; line-height: 1.55; }
.category-hero-art { position: absolute; width: 470px; height: 195px; top: -30px; right: 25px; background: radial-gradient(ellipse at 58% 58%, #e9d7ff 0, rgb(244 235 255 / 90%) 32%, rgb(255 244 250 / 45%) 62%, transparent 73%); }
.category-art-board { position: absolute; width: 145px; height: 174px; top: 36px; left: 198px; border: 1px solid rgb(255 255 255 / 75%); border-radius: 21px; padding: 45px 19px 15px; background: linear-gradient(150deg, #cba9ff, #f4d8ff); box-shadow: 0 22px 40px rgb(128 75 205 / 20%); transform: rotate(14deg); }
.category-art-board > i { position: absolute; width: 87px; height: 72px; top: 20px; left: 27px; border-radius: 11px; background: linear-gradient(145deg, #fff, #f8ecff); box-shadow: 0 8px 18px rgb(98 56 159 / 12%); }
.category-art-board > div { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; margin-top: 16px; color: #6d32e2; font-size: 18px; font-weight: 900; }
.category-art-board > div b { width: 14px; }
.category-art-board > div span { width: 72px; height: 7px; border-radius: 9px; background: rgb(112 62 220 / 17%); }
.category-art-board > div:nth-of-type(2) span { width: 55px; }
.category-art-board > div:nth-of-type(3) span { width: 65px; }
.category-art-clock { position: absolute; display: grid; width: 38px; height: 38px; top: 69px; left: 140px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 84%); color: #c29be9; font-size: 35px; line-height: 1; box-shadow: 0 5px 13px rgb(109 72 149 / 11%); }
.category-art-spark { position: absolute; color: #ffc149; font-size: 23px; }
.category-art-spark--one { top: 38px; left: 175px; font-size: 10px; }
.category-art-spark--two { top: 117px; right: 56px; }

.category-controls { position: relative; z-index: 4; display: grid; min-height: 104px; grid-template-columns: 430px 1fr auto; grid-template-rows: 44px 42px; align-items: center; gap: 5px 18px; border: 1px solid #e4e5ec; border-radius: 12px; padding: 12px 17px; background: #fff; box-shadow: 0 3px 12px rgb(28 33 72 / 4%); }
.category-search { position: relative; }
.category-search svg { position: absolute; width: 18px; height: 18px; top: 13px; left: 13px; fill: none; stroke: #697391; stroke-width: 2; }
.category-search input { width: 100%; height: 42px; border: 1px solid #e0e2eb; border-radius: 9px; outline: 0; padding: 0 15px 0 42px; color: #202642; font-size: 12px; }
.category-search input::placeholder { color: #8a91a9; opacity: 1; }
.category-search input:focus { border-color: #8c60ed; box-shadow: 0 0 0 3px rgb(115 64 226 / 10%); }
.category-subcategories { display: flex; grid-column: 1 / 3; grid-row: 2; align-items: center; gap: 10px; }
.category-subcategories > a, .category-subcategories summary { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; border: 1px solid #e2e3eb; border-radius: 8px; padding: 0 18px; background: #fff; color: #515a79; font-size: 12px; font-weight: 650; white-space: nowrap; }
.category-subcategories > a:hover, .category-subcategories > a[aria-current="true"], .category-subcategories summary:hover { border-color: #c8b5f6; background: #f8f4ff; color: #6230d8; }
.category-subcategories details { position: relative; }
.category-subcategories summary { list-style: none; cursor: pointer; }
.category-subcategories summary::-webkit-details-marker { display: none; }
.category-subcategories summary b { margin-right: 7px; color: #7541e4; font-size: 17px; font-weight: 500; }
.category-subcategories details > div { position: absolute; display: grid; width: 210px; max-height: 230px; top: 36px; left: 0; z-index: 8; overflow-y: auto; border: 1px solid #e1e2ea; border-radius: 10px; padding: 7px; background: #fff; box-shadow: 0 14px 35px rgb(34 28 71 / 14%); }
.category-subcategories details > div a { border-radius: 7px; padding: 9px 10px; color: #3d4666; font-size: 12px; }
.category-subcategories details > div a:hover { background: #f6f1ff; color: #6230d8; }
.category-summary { display: flex; grid-column: 3; grid-row: 1 / 3; align-items: center; gap: 23px; }
.category-summary > strong { color: #4b526f; font-size: 12px; white-space: nowrap; }
.category-summary > span { width: 1px; height: 38px; background: #ececf1; }
.category-summary form { display: flex; align-items: center; gap: 12px; }
.category-summary label { color: #626b88; font-size: 12px; white-space: nowrap; }
.category-summary select { width: 145px; height: 40px; border: 1px solid #e0e1e9; border-radius: 8px; outline: 0; padding: 0 34px 0 13px; background: #fff; color: #3f4765; font-size: 12px; }
.category-summary select:focus { border-color: #8c60ed; }
.category-mobile-filter { display: none; }

.category-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: 19px; margin-top: 20px; }
.category-filters { position: sticky; top: 88px; display: grid; gap: 16px; border: 1px solid #e4e5eb; border-radius: 10px; padding: 17px; background: #fff; }
.category-filters header { display: flex; align-items: center; justify-content: space-between; }
.category-filters h2 { margin: 0; font-size: 13px; font-weight: 850; }
.category-filters header a { color: #7540e2; font-size: 11px; }
.category-filters fieldset { display: grid; gap: 9px; margin: 0; border: 0; padding: 0; }
.category-filters legend, .category-filter-select > span { margin-bottom: 9px; color: #3f4764; font-size: 11px; font-weight: 800; }
.category-filters fieldset label { position: relative; display: grid; min-height: 18px; grid-template-columns: 15px 1fr auto; align-items: center; gap: 8px; color: #515977; cursor: pointer; }
.category-filters fieldset input { position: absolute; opacity: 0; }
.category-filters fieldset label > span { display: grid; width: 14px; height: 14px; place-items: center; border: 1px solid #cbd0dd; border-radius: 4px; background: #fff; }
.category-filters fieldset label > span::after { color: #fff; font-size: 9px; content: "✓"; opacity: 0; }
.category-filters fieldset input:checked + span { border-color: #7440df; background: #7440df; }
.category-filters fieldset input:checked + span::after { opacity: 1; }
.category-filters fieldset input:focus-visible + span { outline: 3px solid rgb(116 64 223 / 20%); outline-offset: 2px; }
.category-filters fieldset b, .category-filters fieldset em { font-size: 11px; font-style: normal; font-weight: 500; }
.category-filters fieldset em { color: #7c849c; }
.category-filter-select { display: grid; }
.category-filter-select select { width: 100%; height: 34px; border: 1px solid #dfe1e9; border-radius: 7px; outline: 0; padding: 0 31px 0 10px; background: #fff; color: #505976; font-size: 11px; }
.category-filter-select select:focus { border-color: #8859eb; }
.category-filter-submit { min-height: 36px; border: 0; border-radius: 7px; background: #6e36df; color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.category-filter-reset { display: flex; min-height: 35px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e6dff5; border-radius: 7px; background: #fbf8ff; color: #5f5573; font-size: 11px; font-weight: 700; }
.category-filter-reset svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.category-results { min-width: 0; }
.category-ranking { position: relative; display: grid; min-height: 92px; grid-template-columns: 30px minmax(0, 1fr) 175px auto; align-items: center; gap: 15px; overflow: hidden; border: 1px solid #f0dfe8; border-radius: 10px; padding: 15px 18px 15px 26px; background: linear-gradient(105deg, #fff5f6, #faf2ff 66%, #fff6f7); }
.category-ranking-fire { width: 26px; height: 30px; fill: #ff465c; transform: rotate(-5deg); }
.category-ranking strong { display: block; color: #202642; font-size: 16px; font-weight: 850; }
.category-ranking p { margin: 5px 0 0; color: #747b95; font-size: 11px; line-height: 1.4; }
.category-ranking-art { position: relative; height: 65px; }
.category-ranking-art i { position: absolute; width: 20px; bottom: 0; border-radius: 3px 3px 0 0; background: linear-gradient(#f7b0d6, #e4b3f3); }
.category-ranking-art i:nth-child(1) { height: 24px; left: 37px; }
.category-ranking-art i:nth-child(2) { height: 39px; left: 63px; }
.category-ranking-art i:nth-child(3) { height: 52px; left: 90px; }
.category-ranking-art b { position: absolute; top: 2px; left: 51px; color: #eb6299; font-size: 40px; transform: rotate(-12deg); }
.category-ranking-art em { position: absolute; top: 3px; right: 30px; color: #f4ad3f; font-size: 23px; font-style: normal; }
.category-ranking > a { display: inline-flex; min-height: 39px; align-items: center; gap: 20px; border: 1px solid #e0e0e7; border-radius: 8px; padding: 0 16px; background: #fff; color: #424a68; font-size: 11px; font-weight: 750; box-shadow: 0 3px 9px rgb(47 40 80 / 5%); white-space: nowrap; }
.category-ranking > a:hover { border-color: #bda4f2; color: #6532dc; }
.category-ranking > a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.category-active-filters { display: flex; min-height: 55px; align-items: center; gap: 9px; overflow-x: auto; padding: 10px 3px; }
.category-active-filters > strong { margin-right: 3px; color: #5b637f; font-size: 11px; white-space: nowrap; }
.category-active-filters > a:not(.category-active-clear) { display: inline-flex; min-height: 28px; align-items: center; gap: 8px; border-radius: 16px; padding: 0 12px; background: #f5f0ff; color: #7040dd; font-size: 10px; white-space: nowrap; }
.category-active-filters > a span { font-size: 15px; line-height: 1; }
.category-active-filters .category-active-clear { margin-left: auto; color: #7540e3; font-size: 11px; white-space: nowrap; }
.category-app-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 13px; }
.category-active-filters + .category-app-grid { margin-top: 0; }
.category-app-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e1e3ea; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgb(24 28 65 / 3%); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.category-app-card:hover { border-color: #c8b5f4; box-shadow: 0 10px 25px rgb(60 43 110 / 9%); transform: translateY(-2px); }
.category-app-cover { display: block; height: 135px; overflow: hidden; border-radius: 8px 8px 0 0; background: linear-gradient(145deg, #e9edff, #f8faff); }
.category-app-cover img { width: 100%; height: 100%; object-fit: cover; }
.category-app-cover--2 { background: linear-gradient(145deg, #f8f0ff, #e9e2ff); }
.category-app-cover--3 { background: linear-gradient(145deg, #e9f5ff, #dde9ff); }
.category-app-cover--4 { background: linear-gradient(145deg, #171827, #333547); }
.category-app-cover--5 { background: linear-gradient(145deg, #fff1f3, #f8e7ed); }
.category-app-cover--6 { background: linear-gradient(145deg, #efe7ff, #d5c5ff); }
.category-screen { position: relative; width: 82%; height: 78%; top: 11%; left: 9%; border: 2px solid rgb(34 40 73 / 32%); border-radius: 7px; background: rgb(255 255 255 / 88%); box-shadow: 0 8px 17px rgb(28 35 69 / 13%); }
.category-screen > i:first-child { position: absolute; width: 100%; height: 13px; border-bottom: 1px solid #e4e6ed; background: #f8f9fc; }
.category-screen > i:nth-child(2) { position: absolute; width: 24%; height: calc(100% - 13px); top: 13px; border-right: 1px solid #e4e6ed; background: #f8f9fb; }
.category-screen span, .category-screen b, .category-screen em { position: absolute; height: 8px; left: 31%; border-radius: 5px; background: #d9ddeb; }
.category-screen span { width: 54%; top: 29px; }
.category-screen b { width: 43%; top: 47px; background: #d0b9fb; }
.category-screen em { width: 49%; top: 66px; }
.category-app-logo { position: absolute; display: grid; width: 38px; height: 38px; top: 114px; left: 10px; z-index: 2; overflow: hidden; place-items: center; border: 3px solid #fff; border-radius: 9px; background: #161926; color: #fff; font-size: 18px; font-weight: 850; box-shadow: 0 3px 8px rgb(27 31 65 / 15%); }
.category-app-logo img { width: 100%; height: 100%; object-fit: cover; }
.category-app-logo--2 { background: #f064ff; }
.category-app-logo--3 { background: #7654ff; }
.category-app-logo--4 { background: #171924; }
.category-app-logo--5 { background: #ff5d75; }
.category-app-logo--6 { background: #7353e8; }
.category-app-info { padding: 18px 10px 10px; }
.category-app-info h2 { overflow: hidden; margin: 0; color: #141a36; font-size: 13px; font-weight: 850; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.category-app-info h2 a:hover { color: #6733dc; }
.category-app-info > p { display: -webkit-box; min-height: 34px; margin: 5px 0 9px; overflow: hidden; color: #666f8b; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-app-labels { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 5px; }
.category-app-labels > span { max-width: 65%; overflow: hidden; border-radius: 10px; padding: 3px 7px; background: #f2edff; color: #7445da; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.category-app-labels > small { color: #747c95; font-size: 9px; white-space: nowrap; }
.category-app-meta { display: grid; min-height: 29px; grid-template-columns: auto 1fr auto; align-items: end; gap: 11px; margin-top: 6px; }
.category-app-meta > span { display: inline-flex; align-items: center; gap: 4px; color: #59617e; font-size: 10px; }
.category-app-meta > span:first-child { color: #4f5876; font-weight: 750; }
.category-app-meta > span svg { width: 13px; height: 13px; fill: none; stroke: #8a90a5; stroke-width: 1.6; }
.category-app-meta > span:first-child svg { fill: #ffab24; stroke: #ffab24; }
.category-app-meta form { margin: 0; }
.category-app-meta button, .category-app-meta > a { display: grid; width: 23px; height: 23px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #5d6683; cursor: pointer; }
.category-app-meta button:hover, .category-app-meta > a:hover, .category-app-meta button[aria-pressed="true"] { background: #f3edff; color: #6c36dc; }
.category-app-meta button svg, .category-app-meta > a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.category-app-meta button[aria-pressed="true"] svg { fill: currentColor; }
.category-empty { border: 1px dashed #dcd8e8; border-radius: 11px; padding: 70px 20px; text-align: center; }
.category-empty > span { color: #8a5dea; font-size: 34px; }
.category-empty h2 { margin: 10px 0 5px; font-size: 20px; }
.category-empty p { margin: 0; color: #6c7490; font-size: 12px; }
.category-empty a { display: inline-flex; margin-top: 16px; border-radius: 7px; padding: 10px 15px; background: #6b34dd; color: #fff; font-size: 11px; font-weight: 750; }
.category-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 25px; }
.category-pagination a, .category-pagination span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #dedfe8; border-radius: 7px; color: #525a77; font-size: 11px; }
.category-pagination a[aria-current="page"] { border-color: #7139df; background: #7139df; color: #fff; }
body:has(.category-page) .site-footer { margin-top: 0; }

@media (max-width: 1240px) {
  .category-page { width: min(calc(100% - 40px), 1180px); }
  .category-controls { grid-template-columns: 380px 1fr; }
  .category-summary { grid-column: 2; }
  .category-summary > strong, .category-summary > span { display: none; }
  .category-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-ranking { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .category-ranking-art { display: none; }
}
@media (max-width: 900px) {
  .category-page { width: min(calc(100% - 30px), 850px); padding-top: 16px; }
  .category-hero { min-height: 150px; padding: 0 10px; }
  .category-hero-art { right: -80px; opacity: .55; }
  .category-hero-copy { max-width: 62%; }
  .category-controls { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .category-search { grid-column: 1; }
  .category-subcategories { grid-column: 1 / 3; overflow-x: auto; padding-bottom: 3px; }
  .category-summary { grid-column: 2; grid-row: 1; }
  .category-summary form label { display: none; }
  .category-layout { grid-template-columns: 1fr; }
  .category-mobile-filter { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; margin-top: 15px; border: 1px solid #ded9eb; border-radius: 8px; padding: 0 16px; background: #faf7ff; color: #6130d5; font-size: 12px; font-weight: 750; }
  .category-filters { position: static; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-filters.is-open { display: grid; }
  .category-filters header, .category-filter-submit, .category-filter-reset { grid-column: 1 / -1; }
  .category-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .category-page { width: calc(100% - 24px); padding-bottom: 35px; }
  .category-hero { min-height: 150px; padding: 0 2px; }
  .category-breadcrumb { gap: 7px; margin-bottom: 20px; font-size: 10px; }
  .category-hero h1 { font-size: 28px; }
  .category-hero-copy { max-width: none; }
  .category-hero-copy p { font-size: 12px; }
  .category-hero-art { display: none; }
  .category-controls { display: flex; flex-wrap: wrap; padding: 10px; }
  .category-search { width: 100%; }
  .category-summary { width: 100%; justify-content: space-between; }
  .category-summary > strong { display: block; font-size: 10px; }
  .category-summary form { margin-left: auto; }
  .category-summary select { width: 135px; height: 36px; }
  .category-subcategories { width: 100%; order: 3; }
  .category-subcategories > a, .category-subcategories summary { min-height: 29px; padding-inline: 13px; font-size: 10px; }
  .category-filters, .category-filters.is-open { grid-template-columns: 1fr; }
  .category-filters header, .category-filter-submit, .category-filter-reset { grid-column: auto; }
  .category-ranking { grid-template-columns: 24px 1fr; min-height: 98px; gap: 10px; padding: 14px; }
  .category-ranking strong { font-size: 14px; }
  .category-ranking p { font-size: 10px; }
  .category-ranking > a { grid-column: 2; width: max-content; min-height: 32px; padding-inline: 11px; }
  .category-active-filters { align-items: flex-start; flex-wrap: wrap; overflow: visible; padding-block: 12px; }
  .category-active-filters .category-active-clear { margin-left: 0; }
  .category-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .category-app-cover { height: 110px; }
  .category-app-logo { top: 91px; }
}
@media (max-width: 420px) {
  .category-app-grid { grid-template-columns: 1fr; }
  .category-app-cover { height: 150px; }
  .category-app-logo { top: 130px; }
}
@media (prefers-reduced-motion: reduce) { .category-app-card { transition: none; } }
