/* appstore application styles. This file is intentionally kept readable and unminified. */

:root {
  --c-primary: #0e9f6e;
  --c-primary-700: #067a52;
  --c-primary-600: #078a5d;
  --c-primary-100: #d6f5e8;
  --c-primary-50: #edfbf5;
  --c-accent: #6d5ef8;
  --c-accent-50: #efedfe;

  --c-warn-700: #a34a08;

  --c-bg: #f6f7f9;
  --c-surface: #ffffff;
  --c-surface-2: #fafbfc;

  --c-hover: #edeff3;
  --c-border: #e5e8ec;
  --c-border-strong: #d3d8df;

  --c-text: #111827;
  --c-text-2: #4b5563;
  --c-text-3: #636e80;
  --c-tint-violet: #e9edff;
  color-scheme: light;

  --badge-mod: #4b3ed8;
  --badge-prem: #067a52;
  --badge-paid: #b45309;

  --ic-ink: #080d16;
  --ic-halo:
    0 0 2px rgba(255, 255, 255, 0.72), 0 0 6px rgba(255, 255, 255, 0.38);

  --font-sans:
    "Inter", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;

  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 17px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;
  --fs-4xl: 38px;
  --lh-tight: 1.25;
  --lh-snug: 1.45;
  --lh-normal: 1.65;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, 0.05);
  --sh-2: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
  --sh-3: 0 4px 14px rgba(16, 24, 40, 0.08);
  --sh-4: 0 12px 32px rgba(16, 24, 40, 0.1);
  --ring: 0 0 0 3px rgba(14, 159, 110, 0.22);

  --header-h: 64px;
  --gutter: 16px;

  --container: 100%;
  --content: 100%;
  --rail: 300px;
  --main-max: 740px;
  --cols-card: 1;
  --cols-collect: 1;
  --cols-clist: 1;

  --cols-cat: 2;
  --cols-pop: 1;

  --sect: var(--sp-8);
  --card-pad: var(--sp-4);
  --grid-gap: var(--sp-4);
  --grid-gap-sm: var(--sp-3);

  --z-default: 0;
  --z-sticky: 10;
  --z-header: 60;
  --z-popover: 70;
  --z-lang: 80;
  --z-drawer: 90;
  --z-modal: 100;
}

[data-theme="dark"] {
  color-scheme: dark;
  --c-primary: #2fd68b;
  --c-primary-700: #4fe3a0;
  --c-primary-600: #3ddc97;
  --c-primary-100: #123526;
  --c-primary-50: #0e2a1f;
  --c-accent: #8b80ff;
  --c-accent-50: #1e1c38;
  --c-warn-700: #fbbf24;
  --c-bg: #0d1014;
  --c-surface: #151a20;
  --c-surface-2: #1b2129;
  --c-hover: #242c36;
  --c-border: #262e38;
  --c-border-strong: #38424e;

  --c-text: #e9edf2;
  --c-text-2: #a6b0bd;
  --c-text-3: #8a93a3;
  --c-tint-violet: #1b2036;
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --sh-2: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --sh-3: 0 4px 14px rgba(0, 0, 0, 0.45);
  --sh-4: 0 12px 32px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(47, 214, 139, 0.25);
}

[data-theme="dark"] .post-thumb,
[data-theme="dark"] .avatar {
  --av-1: 33%;
  --av-2: 22%;
  color: #eaf1fa;
}

[data-theme="dark"] .post-badge {
  background: rgba(21, 26, 32, 0.94);
  background: color-mix(in srgb, var(--c-surface) 94%, transparent);
}

[data-theme="dark"] .cat-hero {
  background-image:
    linear-gradient(rgba(21, 26, 32, 0.86), rgba(21, 26, 32, 0.86)),
    var(--cat-hero-img);
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--c-surface) 86%, transparent),
      color-mix(in srgb, var(--c-surface) 86%, transparent)
    ),
    var(--cat-hero-img);
}
@media (min-width: 1024px) {
  [data-theme="dark"] .cat-hero {
    background-image:
      linear-gradient(
        to right,
        #151a20 0 640px,
        rgba(21, 26, 32, 0.55) 82%,
        rgba(21, 26, 32, 0.1) 100%
      ),
      var(--cat-hero-img);
    background-image:
      linear-gradient(
        to right,
        var(--c-surface) 0 640px,
        color-mix(in srgb, var(--c-surface) 55%, transparent) 82%,
        color-mix(in srgb, var(--c-surface) 10%, transparent) 100%
      ),
      var(--cat-hero-img);
  }
  html[dir="rtl"][data-theme="dark"] .cat-hero {
    background-image:
      linear-gradient(
        to left,
        #151a20 0 640px,
        rgba(21, 26, 32, 0.55) 82%,
        rgba(21, 26, 32, 0.1) 100%
      ),
      var(--cat-hero-img);
    background-image:
      linear-gradient(
        to left,
        var(--c-surface) 0 640px,
        color-mix(in srgb, var(--c-surface) 55%, transparent) 82%,
        color-mix(in srgb, var(--c-surface) 10%, transparent) 100%
      ),
      var(--cat-hero-img);
  }
}

[data-theme="dark"] .shot {
  filter: brightness(0.82) saturate(0.92);
}
[data-theme="dark"] .kbd-hint {
  background: var(--c-surface-2);
}

[data-theme="dark"] hr {
  border-color: var(--c-border);
}
[data-theme="dark"] ::selection {
  background: rgba(47, 214, 139, 0.28);
  color: #fff;
}

@media (min-width: 480px) {
  :root {
    --gutter: 20px;
  }
}
@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --container: 720px;
    --content: 720px;
    --cols-card: 2;
    --cols-collect: 2;
    --cols-clist: 2;
    --cols-cat: 3;
    --cols-pop: 2;
  }
}
@media (min-width: 1024px) {
  :root {
    --container: 960px;
    --content: 960px;
    --header-h: 68px;
    --cols-cat: 4;
  }
}
@media (min-width: 1280px) {
  :root {
    --container: 1200px;
    --content: 1200px;
    --rail: 380px;
    --cols-card: 3;
    --cols-collect: 4;
    --cols-clist: 3;
    --cols-cat: 5;
    --cols-pop: 3;
    --fs-2xl: 26px;
    --fs-3xl: 34px;
    --fs-4xl: 42px;
  }
}

@media (min-width: 1536px) {
  :root {
    --container: 1440px;
    --content: 1280px;
    --rail: 440px;
    --main-max: 780px;
    --cols-cat: 6;
    --fs-4xl: 46px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1600px;
    --content: 1360px;
    --rail: 480px;
    --cols-card: 4;
    --cols-collect: 4;
    --cols-cat: 6;
    --fs-3xl: 36px;
    --fs-4xl: 50px;
  }
}

body[data-tpl] .crumbs.container,
body[data-tpl] .dt-hero > .container,
body[data-tpl] main.container {
  max-width: var(--content);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: 0;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}

:focus {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

@supports selector(:focus-visible) {
  :focus {
    outline: none;
  }
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

input:focus-visible,
textarea:focus-visible {
  box-shadow: none;
  border-radius: 0;
}

code,
kbd {
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--sect);
}
@media (min-width: 1024px) {
  .section {
    padding-block: calc(var(--sect) + 8px);
  }
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.wrap {
  flex-wrap: wrap;
}
.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;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.sec-title {
  font-size: var(--fs-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-wrap: balance;
}
@media (min-width: 1280px) {
  .sec-title {
    font-size: var(--fs-2xl);
  }
}
.sec-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--c-primary);
  flex: none;
}
.sec-sub {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  margin-top: 2px;
}
.link-more {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-1);
}

.hdr-main .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  position: relative;
}
@media (min-width: 1280px) {
  .hdr-main .container {
    gap: var(--sp-3);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  background: linear-gradient(135deg, var(--c-primary) 0%, #19c58c 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(14, 159, 110, 0.32);
}
.logo-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-text span {
  color: var(--c-primary);
}

.hdr .logo {
  min-width: 0;
  max-width: 100%;
}
.hdr .logo-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 479px) {
  .hdr .logo-text {
    display: none;
  }
}

.nav {
  display: none;
  flex-wrap: nowrap;
  gap: 2px;
  margin-inline-start: var(--sp-4);
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}
.nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text-2);
  white-space: nowrap;
}
.nav a:hover {
  background: var(--c-hover);
  color: var(--c-text);
}
.nav a.is-active {
  color: var(--c-primary);
  background: var(--c-primary-50);
}
.nav .bi {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav .bi {
    display: none;
  }

  .kbd-hint {
    display: none;
  }
}
@media (min-width: 1280px) {
  .nav a {
    padding: 8px 12px;
  }
}

.search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 520px;
  margin-inline-start: auto;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hdr .search {
    min-width: 180px;
  }
}
@media (max-width: 1023px) {
  .search {
    max-width: none;
  }
}

@media (max-width: 479px) {
  .search {
    flex: 0 1 auto;
    width: 110px;
    min-width: 0;
  }
  .search-box {
    height: 38px;
  }
  .search-box input::placeholder {
    font-size: var(--fs-xs);
  }
  .hdr-main .container {
    gap: 6px;
  }
}

@media (max-width: 599px) {
  .lang-btn > span,
  .lang-btn .chev {
    display: none;
  }
  .lang-btn {
    padding: 0 8px;
    gap: 0;
    width: 38px;
    justify-content: center;
  }
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 12px 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  transition: 0.16s;
}
.search-box:focus-within {
  background: var(--c-surface);
  border-color: var(--c-primary);
  box-shadow: var(--ring);
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: var(--fs-base);
  width: 100%;
}
.search-box input::placeholder {
  color: var(--c-text-3);
}
.search-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.search-btn .bi {
  width: 15px;
  height: 15px;
}

.search-pop {
  position: absolute;
  inset-inline-end: var(--gutter);
  inset-inline-start: auto;
  top: calc(100% + 8px);
  width: min(440px, 100% - var(--gutter) * 2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: var(--sp-2);
  display: none;
  z-index: var(--z-popover);
}
.search.is-open .search-pop {
  display: block;
}
.search-status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: var(--sp-2) var(--sp-3);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.search-status-icon {
  color: var(--c-primary);
  flex: none;
}
.search-status--error .search-status-icon {
  color: var(--c-danger);
}
.search-status-icon.is-spinning {
  animation: search-status-spin 0.8s linear infinite;
}
@keyframes search-status-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .search-status-icon.is-spinning {
    animation: none;
  }
}
.sug {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.sug:hover {
  background: var(--c-hover);
}
.sug-ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
}

.sug > span:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.sug-tx {
  font-size: var(--fs-base);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sug-meta {
  font-size: var(--fs-xs);
  color: var(--c-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sug-kbd {
  margin-inline-start: auto;
  font-size: var(--fs-2xs);
  color: var(--c-text-3);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 1px 5px;
  flex: none;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-text-2);
  flex: none;
}
.icon-btn:hover {
  background: var(--c-hover);
  color: var(--c-text);
}
.icon-btn .bi {
  width: 20px;
  height: 20px;
}

.lang {
  position: relative;
  flex: none;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
  transition: 0.16s;
}
.lang-btn:hover,
.lang.is-open .lang-btn {
  border-color: var(--c-border);
  background: var(--c-hover);
  color: var(--c-text);
}
.lang-btn .globe {
  width: 16px;
  height: 16px;
}
.lang-btn .chev {
  width: 13px;
  height: 13px;
  color: var(--c-text-3);
  transition: transform 0.16s;
}
.lang.is-open .lang-btn .chev {
  transform: rotate(180deg);
}
.lang-pop {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: 6px;
  display: none;
  z-index: var(--z-lang);
}
.lang.is-open .lang-pop {
  display: block;
}

.i {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button .i,
a .i {
  pointer-events: none;
}

.kbd-hint {
  font-family: inherit;
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: 1;
  color: var(--c-text-3);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 4px 6px;
  background: var(--c-surface);
  white-space: nowrap;
  flex: none;
}
@media (max-width: 767px) {
  .kbd-hint {
    display: none;
  }
}
.search-box:focus-within .kbd-hint {
  opacity: 0;
  visibility: hidden;
}

.theme {
  position: relative;
  flex: none;
}
.theme-btn {
  border: 1px solid transparent;
}
.theme-btn:hover {
  border-color: var(--c-border);
  background: var(--c-hover);
}
.theme-pop {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: 6px;
  display: none;
  z-index: var(--z-lang);
}
.theme.is-open .theme-pop {
  display: block;
}
.lg-t {
  padding: 6px 10px 8px;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0;
}
.lang-it,
.theme-it {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  color: var(--c-text-2);
  text-align: start;
  cursor: pointer;
}
.lang-it:hover,
.theme-it:hover {
  background: var(--c-hover);
  color: var(--c-text);
}
.theme-it[aria-current="true"] {
  color: var(--c-primary);
  font-weight: 700;
}
.theme-it .tick {
  margin-inline-start: auto;
  opacity: 0;
  color: var(--c-primary);
}
.theme-it[aria-current="true"] .tick {
  opacity: 1;
}
.lang-pop .lg-t {
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--c-text-3);
  padding: 6px 10px 4px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.lang-it {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  text-align: start;
}
.lang-it:hover {
  background: var(--c-hover);
}
.lang-it[aria-current="true"] {
  color: var(--c-primary);
  font-weight: 700;
  background: var(--c-primary-50);
}
.lang-it .native {
  margin-inline-start: auto;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}

.burger {
  display: grid;
}
@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

@media (max-width: 1023px) {
  .nav {
    display: block;
    position: fixed;
    inset-block: var(--header-h) 0;
    inset-inline-start: 0;
    width: min(300px, 84vw);
    padding: var(--sp-4) var(--sp-3);
    background: var(--c-surface);
    border-inline-end: 1px solid var(--c-border);
    box-shadow: var(--sh-4);
    z-index: var(--z-drawer);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.22s ease,
      visibility 0.22s ease;
  }
  html[dir="rtl"] .nav {
    transform: translateX(100%);
  }
  body.nav-open .nav {
    transform: none;
    visibility: visible;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: var(--r-md);
    min-height: 44px;
    font-size: var(--fs-md);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}

.nav-mask {
  display: none;
}
@media (max-width: 1023px) {
  .nav-mask.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    z-index: calc(var(--z-header) - 5);
  }
}
[data-theme="dark"] .nav-mask.is-open {
  background: rgba(0, 0, 0, 0.6);
}

.hero {
  background:
    radial-gradient(
      1200px 380px at 78% -10%,
      var(--c-primary-100) 0%,
      transparent 62%
    ),
    radial-gradient(
      760px 320px at 8% 110%,
      var(--c-tint-violet) 0%,
      transparent 60%
    ),
    var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-8);
}
@media (min-width: 1024px) {
  .hero {
    padding-block: var(--sp-12);
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-primary-700);
  background: var(--c-primary-50);
  border: 1px solid var(--c-primary-100);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}
.hero h1 {
  font-size: var(--fs-3xl);
}
@media (min-width: 1280px) {
  .hero h1 {
    font-size: var(--fs-4xl);
  }
}
.hero h1 em {
  font-style: normal;
  color: var(--c-primary);
}
.hero-answer {
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  color: var(--c-text-2);
  max-width: 62ch;
  line-height: var(--lh-normal);
}
@media (min-width: 1280px) {
  .hero-answer {
    font-size: var(--fs-lg);
  }
}
.hero-answer strong {
  color: var(--c-text);
  font-weight: 700;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
}
html[dir="rtl"] .trust {
  flex-direction: row-reverse;
}
.trust-i {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.trust-i b {
  font-size: var(--fs-md);
  color: var(--c-text);
  font-weight: 800;
}
.trust-i .bi {
  width: 18px;
  height: 18px;
  color: var(--c-primary);
  flex: none;
}
html[dir="rtl"] .trust-i {
  flex-direction: row-reverse;
}

.kv {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  margin-top: var(--sp-4);
  font-size: var(--fs-base);
}
.kv dt {
  color: var(--c-text-2);
  min-width: 0;
}
.kv dd {
  margin: 0;
  font-weight: 700;
  text-align: end;
  unicode-bidi: plaintext;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-cat), minmax(0, 1fr));
  gap: var(--grid-gap) var(--grid-gap-sm);
}
.app-grid > * {
  min-width: 0;
}
@media (max-width: 479px) {
  .app-grid {
    gap: var(--sp-3) var(--sp-2);
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: 0.16s;
  position: relative;
  container-type: inline-size;
}
.app-card:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}

.app-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-start-start-radius: calc(var(--r-md) - 1px);
  border-start-end-radius: calc(var(--r-md) - 1px);

  padding-bottom: 62.5%;
  height: 0;
}

@supports (aspect-ratio: 16/10) {
  .app-cover {
    aspect-ratio: 16/10;
    padding-bottom: 0;
    height: auto;
  }
}

.app-cover[data-has-icon="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  height: auto;
  padding: 16px 16px 20px;
  background: var(--c-surface) !important;
}

@supports (aspect-ratio: 16/10) {
  .app-cover[data-has-icon="true"] {
    aspect-ratio: 16/11;
    min-height: 128px;
  }
}

@supports (container-type: inline-size) {
  .app-cover[data-has-icon="true"] {
    padding: clamp(16px, 6cqw, 24px) clamp(16px, 6cqw, 24px)
      clamp(20px, 8cqw, 30px);
  }
}

.app-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      122% 96% at 16% 2%,
      rgba(255, 255, 255, 0.4),
      transparent 58%
    ),
    radial-gradient(88% 78% at 100% 108%, rgba(0, 0, 0, 0.15), transparent 60%);
}

.app-cover .app-glyph {
  position: relative;
  z-index: 1;
  color: var(--ic-ink);
  font-family: var(--font-sans);

  font-size: 26px;
  font-size: clamp(26px, 20cqw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: var(--ic-halo);
  user-select: none;
}

.app-icon {
  position: relative;
  z-index: 1;
  width: clamp(64px, 42vw, 116px);
  height: clamp(64px, 42vw, 116px);
  aspect-ratio: 1;
  border-radius: 22%;
  overflow: hidden;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.12);

  background: #fff;
  flex-shrink: 0;
}

@supports (container-type: inline-size) {
  .app-icon {
    width: clamp(64px, 48cqw, 116px);
    height: clamp(64px, 48cqw, 116px);
  }
}

[data-theme="dark"] .app-icon {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 12px 32px rgba(0, 0, 0, 0.2);
}

.app-icon > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-card:hover .app-icon {
  transform: scale(1.05);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .app-card:hover .app-icon {
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.32),
    0 16px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 479px) {
  .app-cover[data-has-icon="true"] {
    aspect-ratio: auto;
    height: 128px;
    min-height: 128px;
  }

  .app-icon {
    width: clamp(54px, 36vw, 78px);
    height: clamp(54px, 36vw, 78px);
  }
}

@supports (container-type: inline-size) {
  @container (max-width: 186px) {
    .app-cover[data-has-icon="true"] {
      aspect-ratio: auto;
      height: 128px;
      min-height: 128px;
    }
  }

  @container (max-width:148px) {
    .app-cover[data-has-icon="true"] {
      height: 128px;
    }

    .app-icon {
      width: clamp(54px, 44cqw, 78px);
      height: clamp(54px, 44cqw, 78px);
    }
  }
}

.app-ic {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ic-ink);
  text-shadow: var(--ic-halo);
  overflow: hidden;
  border-radius: var(--r-md);
  -webkit-user-select: none;
  user-select: none;
}

.app-ic > i,
.pop-ic > i,
.app-cover .app-glyph > i,
.avatar > i {
  display: block;
  font-style: normal;
  line-height: 1;
}

@supports (text-box: trim-both cap alphabetic) {
  .app-ic > i,
  .pop-ic > i,
  .app-cover .app-glyph > i,
  .avatar > i {
    text-box: trim-both cap alphabetic;
  }
}

.app-body {
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

@media (max-width: 479px) {
  .app-body {
    align-items: center;
    text-align: center;
  }
}
.app-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  overflow-wrap: anywhere;
}

.app-meta {
  font-size: var(--fs-2xs);
  color: var(--c-text-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  min-width: 0;
  line-height: 1.35;
}

.app-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.app-meta-item > .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1em;
  font-size: 0.95em;
}

.app-meta-item > :last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-rate {
  color: var(--c-warn-700);
  font-weight: 700;
}

.app-meta-sep {
  color: var(--c-text-3);
  user-select: none;
}

.badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.66),
    0 2px 5px rgba(15, 23, 42, 0.2);
}

.badge {
  line-height: 1.5;
  font-family: var(--font-sans);
}
.badge:empty {
  display: none;
}
.badge--mod {
  background: var(--badge-mod);
}
.badge--prem {
  background: var(--badge-prem);
}
.badge--paid {
  background: var(--badge-paid);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-card), minmax(0, 1fr));
  gap: var(--grid-gap);
}
.card-grid > * {
  min-width: 0;
}
.post-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.16s;
}
.post-card:hover {
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}
.post-thumb {
  position: relative;
  background: linear-gradient(135deg, #dde3ec, #c9d3e0);

  padding-bottom: 56.25%;
  height: 0;
}
.post-thumb[data-topic="Installation"] {
  background: linear-gradient(135deg, #fef3c7, #fcd34d);
}
.post-thumb[data-topic="Safety"] {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}
.post-thumb[data-topic="Comparison"] {
  background: linear-gradient(135deg, #bbf7d0, #86efac);
}
.post-thumb[data-topic="News"] {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
}
.post-thumb[data-topic="Tweaks"] {
  background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
}
@supports (aspect-ratio: 16/9) {
  .post-thumb {
    aspect-ratio: 16/9;
    padding-bottom: 0;
    height: auto;
  }
}
.post-body {
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.post-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 1;
  display: block;
  max-width: calc(100% - 20px);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-2xs);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-primary-700);

  background: var(--c-surface);
  background: rgba(255, 255, 255, 0.94);

  background: color-mix(in srgb, var(--c-surface) 94%, transparent);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-2);

  background-clip: padding-box;
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-title {
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.post-exc {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-foot {
  font-size: var(--fs-xs);
  color: var(--c-text-3);
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.post-foot > span {
  unicode-bidi: plaintext;
}

.post-card.featured {
  flex-direction: column;
}
.featured .post-thumb {
  width: 100%;
}

@supports (aspect-ratio: 16/9) {
  .featured .post-thumb {
    aspect-ratio: 16/9;
  }
}
.featured .post-title {
  font-size: var(--fs-xl);
}
@media (min-width: 768px) {
  .post-card.featured {
    flex-direction: row;
    align-items: stretch;
  }
  .featured .post-thumb {
    width: 40%;
    flex: none;
    padding-bottom: 0;
    height: auto;
  }
  @supports (aspect-ratio: auto) {
    .featured .post-thumb {
      aspect-ratio: auto;
    }
  }
  .post-card.featured .post-body {
    justify-content: center;
    padding: var(--sp-6);
  }
}
@media (min-width: 1280px) {
  .featured .post-title {
    font-size: var(--fs-2xl);
  }
}

.coll-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-collect), minmax(0, 1fr));
  gap: var(--grid-gap);
}
.coll-grid > * {
  min-width: 0;
}
.collection-tone--1 .coll-bg {
  background: linear-gradient(135deg, #1f2937, #4b5563);
}
.collection-tone--2 .coll-bg {
  background: linear-gradient(135deg, #6d5ef8, #9f7aea);
}
.collection-tone--3 .coll-bg {
  background: linear-gradient(135deg, #0e7490, #0e9f6e);
}
.collection-tone--4 .coll-bg {
  background: linear-gradient(135deg, #9f1239, #db2777);
}
.collection-tone--5 .coll-bg {
  background: linear-gradient(135deg, #9a3412, #d97706);
}
.coll-card {
  font-family: var(--font-sans);
  --lh-snug: 1.35;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 176px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
@media (min-width: 768px) {
  .coll-card {
    min-height: 188px;
    padding: 20px;
  }
}
@media (min-width: 1280px) {
  .coll-card {
    min-height: 206px;
  }
}
@media (min-width: 1536px) {
  .coll-card {
    min-height: 216px;
  }
}
.coll-card:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    var(--sh-3);
  transform: translateY(-3px);
}
.coll-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.coll-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.26) 46%,
    rgba(0, 0, 0, 0.68) 100%
  );
}
.coll-card > * {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.coll-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.coll-card:hover .coll-bg {
  transform: scale(1.05);
}
.coll-body {
  display: block;
  min-width: 0;
}
.coll-title {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
}
@media (min-width: 1280px) {
  .coll-title {
    font-size: var(--fs-xl);
  }
}

.coll-count {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.4;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  direction: ltr;
}

.coll-thumbs {
  display: flex;
  margin-bottom: 12px;
}
.coll-thumbs i {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--c-surface);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.92),
    0 2px 8px rgba(0, 0, 0, 0.28);
}
.coll-thumbs i + i {
  margin-inline-start: -10px;
}
.coll-thumbs i:nth-child(1) {
  z-index: 1;
}
.coll-thumbs i:nth-child(2) {
  z-index: 2;
}
.coll-thumbs i:nth-child(3) {
  z-index: 3;
}
.coll-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coll-thumbs b {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.coll-go {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
html[dir="rtl"] .coll-go .bi {
  transform: scaleX(-1);
}
.coll-card:hover .coll-go,
.coll-card:focus-visible .coll-go {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .coll-bg,
  .coll-card,
  .coll-go {
    transition: none;
  }
  .coll-card:hover {
    transform: none;
  }
  .coll-card:hover .coll-bg {
    transform: none;
  }
}

.collection-feature {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--sh-1);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.collection-feature:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}
.collection-feature:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}
.collection-feature__visual {
  position: relative;
  min-height: 196px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.collection-feature__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.14);
}
.collection-feature__visual .coll-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.collection-feature__thumbs {
  position: relative;
  z-index: 2;
  margin: 0;
}
.collection-feature__thumbs i {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.94),
    0 8px 24px rgba(0, 0, 0, 0.28);
}
.collection-feature__thumbs i + i {
  margin-inline-start: -18px;
}
.collection-feature__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--sp-6);
}
.collection-feature__title {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
  text-wrap: balance;
}
.collection-feature__description {
  display: block;
  max-width: 68ch;
  margin-top: var(--sp-3);
  color: var(--c-text-2);
  line-height: var(--lh-relaxed);
}
.collection-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-4);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}
.collection-feature__meta > span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.collection-feature__meta .bi {
  color: var(--c-primary-700);
}
.collection-feature__action {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-weight: 800;
  color: var(--c-primary-700);
}
.collection-feature__action .bi {
  transition: translate 0.16s;
}
.collection-feature:hover .collection-feature__action .bi {
  translate: 3px 0;
}
@media (min-width: 768px) {
  .collection-feature {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  }
  .collection-feature__visual {
    min-height: 280px;
  }
  .collection-feature__body {
    justify-content: center;
    padding: var(--sp-8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .collection-feature,
  .collection-feature__action .bi {
    transition: none;
  }
  .collection-feature:hover {
    transform: none;
  }
  .collection-feature:hover .collection-feature__action .bi {
    translate: none;
  }
}

.tier {
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border);

  scroll-margin-top: calc(var(--header-h) + var(--sp-4));
}
.tier-sub {
  margin-top: var(--sp-8);
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-text);
  text-wrap: balance;
}

.collection-directory {
  margin-top: var(--sp-8);
}

.clist {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: repeat(var(--cols-clist), minmax(0, 1fr));
}
.clist > * {
  min-width: 0;
}
.clist-row {
  font-family: var(--font-sans);
  --lh-snug: 1.35;
  --lh-tight: 1.3;
  --lh-normal: 1.45;
  display: flex;
  align-items: center;
  gap: var(--sp-3);

  min-height: 56px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-text);
  text-decoration: none;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.clist-row:hover {
  background: var(--c-hover);
  border-color: var(--c-border-strong);
}
.clist-row:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.clist-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--c-primary-50);
  color: var(--c-primary-700);
}
.clist-ic .i {
  width: 18px;
  height: 18px;
}
.clist-ic .bi {
  font-size: 18px;
  line-height: 1;
}
.clist-main {
  display: block;
  min-width: 0;
}
.clist-title {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-text);
}

.clist-count {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.4;
  margin-top: 2px;
  color: var(--c-text-2);
  direction: ltr;
}
.clist-go {
  width: 14px;
  height: 14px;
  flex: none;
  margin-inline-start: auto;
  color: var(--c-text-3);
  transition:
    translate 0.16s,
    color 0.16s;
}

.clist-row:hover .clist-go {
  color: var(--c-primary);
  translate: 2px 0;
}
html[dir="rtl"] .clist-go {
  transform: scaleX(-1);
}
html[dir="rtl"] .clist-row:hover .clist-go {
  translate: -2px 0;
}
@media (prefers-reduced-motion: reduce) {
  .clist-row,
  .clist-go {
    transition: none;
  }
  .clist-row:hover .clist-go {
    translate: none;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2px 24px;
}
.chip {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding-block: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
  white-space: nowrap;
  transition: color 0.16s;
}

.chip:hover {
  color: var(--c-primary-700);
}
.chip.is-on {
  color: var(--c-primary-700);
  font-weight: 800;
}
.chip.is-on::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.chip-n {
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: var(--fs-md);
  font-weight: 700;
  transition: 0.16s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .bi {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(14, 159, 110, 0.28);
}
.btn--primary:hover {
  background: var(--c-primary-600);
}
.btn--ghost {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
}
.btn--ghost:hover {
  border-color: var(--c-border-strong);
  background: var(--c-hover);
}
.btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: var(--fs-lg);
}

.crumbs {
  font-size: var(--fs-xs);
  color: var(--c-text-3);
  padding-block: var(--sp-3);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.crumbs a:hover {
  color: var(--c-primary);
}
.crumbs li::after {
  content: "›";
  margin-inline-start: 6px;
  opacity: 0.6;
}
html[dir="rtl"] .crumbs li::after {
  content: "‹";
}
.crumbs li:last-child::after {
  content: "";
}
.crumbs [aria-current] {
  color: var(--c-text-2);
  font-weight: 600;
}

.crumbs + .hero,
.crumbs + .dt-hero {
  margin-top: var(--sp-3);
}

.dt-hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-5);
}
.dt-grid {
  display: grid;
  gap: var(--sp-5);
}

.dt-ic {
  border-radius: 24px;
  font-size: 40px;
}
.dt-ic > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@supports not (aspect-ratio: 1/1) {
  .dt-ic {
    width: auto;
    height: auto;
  }
}

@supports (aspect-ratio: 1/1) {
  .dt-ic {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 767px) {
  .dt-grid {
    grid-template-columns: 84px 1fr;
    gap: var(--sp-4);
  }
  .dt-ic {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    font-size: 40px;
  }
  .dt-cta {
    grid-column: 1/-1;
  }
}

@media (min-width: 768px) {
  .dt-grid {
    grid-template-columns: 104px minmax(0, 1fr) 240px;
    gap: var(--sp-5);
  }
  .dt-ic {
    width: 104px;
    height: 104px;
    font-size: 48px;
  }
}
@media (min-width: 1024px) {
  .dt-grid {
    grid-template-columns: 104px minmax(0, 1fr) 260px;
  }
}
@media (min-width: 1280px) {
  .dt-grid {
    grid-template-columns: 128px minmax(0, 1fr) 300px;
    gap: var(--sp-6);
  }
  .dt-ic {
    width: 128px;
    height: 128px;
    font-size: 58px;
  }
}
.dt-grid > * {
  min-width: 0;
}

.dt-title {
  font-size: var(--fs-2xl);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
@media (min-width: 1280px) {
  .dt-title {
    font-size: var(--fs-3xl);
  }
}

.dt-dev {
  display: inline-block;
  font-size: var(--fs-base);
  color: var(--c-primary);
  font-weight: 700;
  margin-top: 6px;
  text-underline-offset: 3px;
}
.dt-dev:hover {
  text-decoration: underline;
}
.dt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-3);
}
.tag {
  font-size: var(--fs-2xs);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
  white-space: nowrap;
}
.tag--mod {
  background: var(--c-accent-50);
  border-color: #dcd8fd;
  color: #5b4bdb;
}

[data-theme="dark"] .tag--mod {
  border-color: rgba(139, 128, 255, 0.38);
  color: var(--c-accent);
}
.rate-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  flex-wrap: wrap;
}

.dt-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--c-border);
}
.dt-specs > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.dt-specs dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-3);
  white-space: nowrap;
}

.dt-specs dd {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
  unicode-bidi: plaintext;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 479px) {
  .dt-specs {
    gap: 4px 16px;
  }
  .dt-specs > div {
    flex-direction: column;
    gap: 1px;
  }
}

.dt-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.dt-share,
.dt-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  color: var(--c-text-3);
  transition: 0.16s;
}

.dt-share:hover {
  color: var(--c-primary);
  background: var(--c-hover);
}
.dt-badge {
  cursor: help;
}
.dt-badge:hover {
  color: var(--c-primary);
}
.dt-cta-sep {
  width: 1px;
  height: 16px;
  background: var(--c-border);
  margin-inline: 4px;
}

.dt-upd {
  margin-top: var(--sp-4);
  text-align: end;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
@media (max-width: 767px) {
  .dt-upd {
    margin-top: var(--sp-2);
  }
}
.stars {
  color: #f5a524;
  letter-spacing: 0;
  font-size: 15px;
}
.dt-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 767px) {
  .dt-cta {
    position: sticky;
    bottom: 0;
    background: var(--c-surface);
    padding-block: 12px;
    z-index: var(--z-sticky);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
}
.tbl-scroll > .facts,
.tbl-scroll > table {
  min-width: 560px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.tbl-scroll > .facts caption {
  padding-inline-start: 14px;
}

.facts {
  margin-top: var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: auto;
  background: var(--c-surface);
  font-size: var(--fs-sm);
}
.facts table {
  min-width: 100%;
}
.facts caption {
  text-align: start;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 12px 14px 8px;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}
.facts th,
.facts td {
  padding: 10px 14px;
  border-top: 1px solid var(--c-border);
  text-align: start;
  vertical-align: top;
  unicode-bidi: plaintext;
}
.facts th {
  width: 38%;
  color: var(--c-text-2);
  font-weight: 600;
  background: var(--c-surface-2);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .facts th {
    width: 200px;
  }
}
.facts td {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.facts thead th {
  width: auto;
}

.table-wide {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wide .facts {
  min-width: 520px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
}

.prose {
  max-width: 76ch;
  min-width: 0;
}
.prose h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .prose h2 {
    font-size: var(--fs-xl);
    margin-top: var(--sp-8);
  }
}
@media (min-width: 1280px) {
  .prose h2 {
    font-size: var(--fs-2xl);
  }
}
.prose h3 {
  font-size: var(--fs-md);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}
@media (min-width: 1280px) {
  .prose h3 {
    font-size: var(--fs-lg);
  }
}
.prose p {
  margin-bottom: var(--sp-4);
  color: var(--c-text-2);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}
@media (min-width: 1280px) {
  .prose p {
    font-size: var(--fs-md);
  }
}
.prose ul,
.prose ol {
  margin: 0 0 var(--sp-4);
  padding-inline-start: 20px;
  color: var(--c-text-2);
}
.prose ol {
  list-style: decimal;
}
.prose ul {
  list-style: disc;
}
.prose li {
  margin-bottom: 8px;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}
@media (min-width: 1280px) {
  .prose li {
    font-size: var(--fs-md);
  }
}
.prose li::marker {
  font-weight: 700;
  color: var(--c-primary);
}
.prose a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose strong {
  color: var(--c-text);
}

@media (min-width: 1280px) {
  .prose p,
  .prose li,
  .desc-pane p,
  .desc-pane ul {
    font-size: 16px;
  }
}

.answer-box {
  background: var(--c-primary-50);
  border: 1px solid var(--c-primary-100);
  border-inline-start: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}

.answer-box h2 {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-primary-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.answer-box p {
  font-size: var(--fs-md);
  color: var(--c-text-2);
  overflow-wrap: anywhere;
}
.answer-box .src {
  font-size: var(--fs-xs);
  color: var(--c-text-3);
  margin-top: 8px;
  text-align: right;
}

.deflist {
  display: grid;
  gap: var(--sp-3);
}
.deflist div {
  border-bottom: 1px dashed var(--c-border);
  padding-bottom: var(--sp-3);
}
.deflist dt {
  font-weight: 800;
  font-size: var(--fs-md);
  overflow-wrap: anywhere;
}
.deflist dd {
  margin: 4px 0 0;
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

.shot {
  position: relative;
  flex: none;
  width: 190px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  scroll-snap-align: start;
  background: linear-gradient(160deg, #dde4ee, #c6d0de);

  padding-bottom: 216.67%;
  height: 0;
}
.shot > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@supports (aspect-ratio: 9/19.5) {
  .shot {
    aspect-ratio: 9/19.5;
    padding-bottom: 0;
    height: auto;
  }
  .shot > img {
    position: static;
  }
}
@media (max-width: 479px) {
  .shot {
    width: 150px;
  }
}

.desc-box .rank-tabs {
  justify-content: flex-start;
}
.desc-pane {
  margin-top: var(--sp-4);
  color: var(--c-text-2);
}
.desc-pane p {
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
  overflow-wrap: anywhere;
}
.desc-pane p:last-child {
  margin-bottom: 0;
}
@media (min-width: 1280px) {
  .desc-pane p {
    font-size: var(--fs-md);
  }
}
.desc-pane ul {
  display: grid;
  gap: 9px;
  padding-inline-start: 18px;
  font-size: var(--fs-base);
  line-height: 1.6;
}
@media (min-width: 1280px) {
  .desc-pane ul {
    font-size: var(--fs-md);
  }
}
.desc-ver {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-3);
  letter-spacing: 0;
  margin-bottom: var(--sp-2);
}

.shots-nav {
  display: flex;
  gap: 8px;
}
.shots-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-2);
  cursor: pointer;
  transition: 0.16s;
}
.shots-btn:hover {
  color: var(--c-primary);
  border-color: var(--c-border-strong);
  box-shadow: var(--sh-1);
}
.shots-btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.shots-btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
}
.shots-car {
  overflow: hidden;
  margin-top: var(--sp-4);
}
.shots-track {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px;
}
.shots-track::-webkit-scrollbar {
  display: none;
}
.shots-track .shot {
  scroll-snap-align: start;
}
html[dir="rtl"] .shots-btn .i {
  transform: scaleX(-1);
}
@media (min-width: 768px) {
  .shots-track .shot {
    width: 200px;
  }
}

.faq {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
}
.faq details {
  border-top: 1px solid var(--c-border);
}
.faq details:first-of-type {
  border-top: 0;
}
.faq summary {
  padding: 14px 16px;
  font-weight: 700;
  font-size: var(--fs-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  list-style: none;
  line-height: var(--lh-snug);
}
.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--c-primary-50);
  background-image:
    linear-gradient(var(--c-primary), var(--c-primary)),
    linear-gradient(var(--c-primary), var(--c-primary));
  background-repeat: no-repeat;
  background-position: center;
  background-size:
    10px 1.5px,
    1.5px 10px;
  transition: background-size 0.16s;
}
.faq details[open] summary::after {
  background-size:
    10px 1.5px,
    0 0;
}
.faq .faq-a {
  padding: 0 16px 16px;
  color: var(--c-text-2);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
}
.page-title {
  font-size: var(--fs-2xl);
  overflow-wrap: anywhere;
}

.art-hero {
  padding-bottom: var(--sp-6);
}
@media (min-width: 768px) {
  .art-hero {
    padding-bottom: var(--sp-8);
  }
}
.art-title {
  font-size: var(--fs-2xl);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0;
}
@media (min-width: 1280px) {
  .art-title {
    font-size: var(--fs-3xl);
  }
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

@media (max-width: 479px) {
  .art-meta {
    gap: 4px 8px;
    font-size: var(--fs-xs);
  }
}

.art-meta > .art-meta-i:not(:last-of-type)::after {
  content: "·" / "";
  opacity: 0.55;
}

.art-meta > .art-meta-i:first-of-type {
  color: var(--c-text);
  font-weight: 600;
}

.art-meta-i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  unicode-bidi: plaintext;
}

.art-meta-i .i {
  color: var(--c-text-2);
  opacity: 0.75;
  flex: none;
}

.art-tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  margin-inline-start: 4px;
}

.art-tags .tag {
  font-size: var(--fs-2xs);
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  color: var(--c-primary);
  text-decoration: none;
  white-space: nowrap;
}
.art-tags .tag:hover {
  color: var(--c-primary-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.art-share {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  padding: 0;
  color: var(--c-text-3);
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition:
    color 0.16s,
    background 0.16s;
}
.art-share:hover {
  color: var(--c-primary);
  background: var(--c-hover);
}
.art-share:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .art-share {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 767px) {
  .art-meta .art-share {
    margin-inline-start: 0;
  }
}
@media (min-width: 1280px) {
  .page-title {
    font-size: var(--fs-3xl);
  }
}

.page-count {
  font-weight: 600;
  color: var(--c-text-2);
  font-size: var(--fs-lg);
}
.sortbar {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  flex-wrap: wrap;
}
.sel {
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238A93A3'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 6px center/18px;
  -webkit-appearance: none;
  appearance: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  max-width: 100%;
}
html[dir="rtl"] .sel {
  background-position: left 6px center;
  padding: 0 12px 0 30px;
}

.dd select.sel {
  display: none;
}
.dd {
  position: relative;
  display: inline-block;
  min-width: 0;
}
.dd--full {
  display: block;
}
.dd-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: 0.16s;
  max-width: 100%;
}
.dd-btn:hover {
  border-color: var(--c-border-strong);
  background: var(--c-hover);
}
.dd.is-open .dd-btn {
  border-color: var(--c-primary);
  box-shadow: var(--ring);
}
.dd--full .dd-btn {
  width: 100%;
  justify-content: space-between;
}
.dd-btn .chev {
  width: 15px;
  height: 15px;
  color: var(--c-text-3);
  flex: none;
  transition: transform 0.16s;
}
.dd.is-open .dd-btn .chev {
  transform: rotate(180deg);
}
.dd-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-pop {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  min-width: calc(100% + 0px);
  width: max-content;
  min-width: 150px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: 5px;
  display: none;
  z-index: var(--z-popover);
}
.dd.is-open .dd-pop {
  display: block;
}
.dd-it {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
  cursor: pointer;
  text-align: start;
  white-space: nowrap;
  transition: 0.12s;
}
.dd-it:hover {
  background: var(--c-hover);
  color: var(--c-text);
}
.dd-it .tick {
  margin-inline-start: auto;
  width: 15px;
  height: 15px;
  color: var(--c-primary);
  visibility: hidden;
}
.dd-it.is-on {
  color: var(--c-primary);
}
.dd-it.is-on .tick {
  visibility: visible;
}

.result-n {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.result-n b {
  color: var(--c-text);
}

.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-block: var(--sp-8);
}
.pager a,
.pager span {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text-2);
  transition: 0.16s;
}
.pager a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.pager .is-cur {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.pager .is-cur:hover {
  color: #fff;
}
.pager .sep {
  border: 0;
  background: none;
  color: var(--c-text-3);
  min-width: auto;
}

:root {
  --cat-hero-img: url("https://images.unsplash.com/photo-1620121692029-d088224ddc74?w=1600&h=520&q=75&auto=format&fit=crop");
}
.cat-hero {
  margin-top: var(--sp-3);
  padding: var(--sp-8) var(--sp-10);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background-color: var(--c-surface);

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    var(--cat-hero-img);

  background-image:
    linear-gradient(
      color-mix(in srgb, var(--c-surface) 86%, transparent),
      color-mix(in srgb, var(--c-surface) 86%, transparent)
    ),
    var(--cat-hero-img);
  background-size: auto, cover;
  background-position:
    left center,
    center right;
  background-repeat: no-repeat, no-repeat;
}
@media (min-width: 1024px) {
  .cat-hero {
    background-image:
      linear-gradient(
        to right,
        #ffffff 0 640px,
        rgba(255, 255, 255, 0.55) 82%,
        rgba(255, 255, 255, 0.1) 100%
      ),
      var(--cat-hero-img);

    background-image:
      linear-gradient(
        to right,
        var(--c-surface) 0 640px,
        color-mix(in srgb, var(--c-surface) 55%, transparent) 82%,
        color-mix(in srgb, var(--c-surface) 10%, transparent) 100%
      ),
      var(--cat-hero-img);
  }
  html[dir="rtl"] .cat-hero {
    background-image:
      linear-gradient(
        to left,
        #ffffff 0 640px,
        rgba(255, 255, 255, 0.55) 82%,
        rgba(255, 255, 255, 0.1) 100%
      ),
      var(--cat-hero-img);

    background-image:
      linear-gradient(
        to left,
        var(--c-surface) 0 640px,
        color-mix(in srgb, var(--c-surface) 55%, transparent) 82%,
        color-mix(in srgb, var(--c-surface) 10%, transparent) 100%
      ),
      var(--cat-hero-img);
    background-position:
      right center,
      center left;
  }
}
@media (max-width: 767px) {
  .cat-hero {
    padding: var(--sp-6) var(--sp-5);
  }
}
.cat-lede {
  margin-top: var(--sp-3);
  max-width: 68ch;
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: var(--lh-normal);
}
.cat-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  list-style: none;
  padding: 0;
}
.cat-stats li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  unicode-bidi: plaintext;
}
.cat-stats b {
  color: var(--c-text);
  font-weight: 800;
}

.cat-stats li:not(:last-child)::after {
  content: "·";
  opacity: 0.5;
  margin-inline-start: 12px;
}

.cat-hero + .answer-box {
  margin-top: var(--sp-6);
}
.answer-box + .chips {
  margin-top: var(--sect);
}

.pop-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-cat), minmax(0, 1fr));
  gap: var(--grid-gap) var(--grid-gap-sm);
}
.pop-grid > * {
  min-width: 0;
}
.pop-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: 0.16s;
  min-width: 0;

  container-type: inline-size;
}
.pop-card:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.pop-rank {
  flex: none;
  width: 20px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--c-text-2);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.pop-card:nth-child(-n + 3) .pop-rank {
  color: var(--c-primary-700);
}

.pop-ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1;
  color: var(--ic-ink);
  font-size: 22px;
  text-shadow: var(--ic-halo);
}

.pop-ic-size {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
}
.pop-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pop-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.pop-cat {
  font-size: var(--fs-2xs);
  color: var(--c-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pop-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-2xs);
  color: var(--c-text-2);
  unicode-bidi: plaintext;
}
.pop-rate {
  color: var(--c-warn-700);
  font-weight: 700;
}

.pop-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pop-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pop-sep {
  opacity: 0.55;
}
@media (max-width: 767px) {
  .pop-dl {
    display: none;
  }
}
@container (max-width:400px) {
  .pop-dl {
    display: none;
  }
}

@container (max-width:360px) {
  .pop-size {
    display: none;
  }
}
@media (max-width: 479px) {
  .pop-card {
    gap: 10px;
  }
  .pop-ic {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

.app-grid--wide {
  grid-template-columns: repeat(var(--cols-cat), minmax(0, 1fr));
}

.art-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 1024px) {
  .art-grid {
    grid-template-columns: minmax(0, 1fr) var(--rail);
    align-items: start;
  }
}
.art-grid > * {
  min-width: 0;
}
.toc {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}

.toc h3 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--c-text-3);
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding-block: 8px;
  padding-inline: 12px 0;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  border-inline-start: 2px solid transparent;
  line-height: var(--lh-snug);
  unicode-bidi: plaintext;
}
.toc a:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.toc a.is-active {
  color: var(--c-primary);
  border-color: var(--c-primary);
  font-weight: 700;
}
.bybox {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.bybox > * {
  min-width: 0;
}

.avatar {
  --h: 212;
  --av-1: 78%;
  --av-2: 62%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    hsl(var(--h) 36% var(--av-1)),
    hsl(var(--h) 30% var(--av-2))
  );
  color: #16202c;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.side-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  min-width: 0;
}
.side-card ul.small {
  display: grid;
  gap: 10px;
  color: var(--c-text-2);
}
.side-card li,
.side-card p {
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
}

.rank-board {
  padding: 0;
  overflow: hidden;
}

.rank-head {
  padding: var(--sp-4) var(--sp-4) var(--sp-1);
}
.rank-tabs {
  display: flex;
  gap: 3px;
  margin-top: var(--sp-3);
  padding: 3px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
}
.rank-tab {
  flex: 1 1 0;
  min-width: 0;
  height: 30px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-2);
  cursor: pointer;
  transition: 0.16s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-tab:hover {
  color: var(--c-text);
}
.rank-tab.is-on {
  background: var(--c-surface);
  color: var(--c-primary);
  box-shadow: var(--sh-1);
}
.rank-tab:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 1px;
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: var(--sp-2);
}
.rank-list[hidden] {
  display: none;
}

.rank-item + .rank-item {
  margin-top: 2px;
}

.rank-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  text-decoration: none;
  transition:
    background 0.16s,
    translate 0.16s;
}

.rank-item a:hover {
  background: var(--c-hover);
}
.rank-item a:hover .rank-go {
  translate: 2px 0;
  color: var(--c-primary);
}

.rank-item a:active {
  background: var(--c-hover);
  translate: 0 1px;
  transition: none;
}

.rank-item a:focus-visible {
  background: var(--c-hover);
  outline: 2px solid var(--c-primary);
  outline-offset: -2px;
}

.rank-no {
  width: 16px;
  flex: none;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-2);
  font-variant-numeric: tabular-nums;
}

.rank-list:not([data-start]) .rank-item:nth-child(-n + 3) .rank-no {
  color: var(--c-primary);
}

.rank-ic {
  width: 32px;
  height: 32px;
  flex: none;
  margin: 0;
  border-radius: 9px;
  font-size: 14px;
}
.rank-ic img,
.podium-ic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1536px) {
  .rank-item a {
    gap: 12px;
  }
  .rank-ic {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
.rank-tx {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 1px;
}
.rank-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--c-text-2);
  white-space: nowrap;
  overflow: hidden;
}
.rank-cat,
.rank-mid {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-dot {
  opacity: 0.5;
  flex: none;
}

.rank-heat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: none;
  color: var(--c-warn-700);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rank-heat .i {
  width: 12px;
  height: 12px;
}

.rank-go {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--c-text-3);
  transition: 0.16s;
}
html[dir="rtl"] .rank-go {
  transform: scaleX(-1);
}

html[dir="rtl"] .rank-item a:hover .rank-go {
  translate: -2px 0;
}
.rank-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px var(--sp-4);
  padding: 10px var(--sp-4);
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-xs);
}
.rank-foot a {
  color: var(--c-text-3);
  text-decoration: none;
}
.rank-foot a:hover {
  color: var(--c-primary);
}

@media (min-width: 1024px) {
  .art-side {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.rank-cols {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 768px) {
  .rank-cols {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
.rank-board--plain .rank-head {
  padding-bottom: var(--sp-2);
}
.ranking-board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.ranking-board-heading a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--c-primary-700);
}
.ranking-board-heading a:hover {
  background: var(--c-hover);
}
.ranking-board-heading a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.podium {
  font-family: var(--font-sans);

  --fs-base: 14px;
  --fs-xs: 12px;
  --lh-normal: 1.65;
  --lh-snug: 1.45;
  display: grid;
  gap: var(--grid-gap);
  margin-top: var(--sp-6);
}
@media (min-width: 640px) {
  .podium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.podium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;

  gap: 6px;
  padding: var(--sp-4) var(--sp-4) var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  color: var(--c-text);
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.podium-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}
.podium-card:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

.podium-card--1 {
  border-color: var(--c-primary);
  box-shadow:
    0 0 0 1px var(--c-primary),
    var(--sh-1);
}
.podium-card--1 .podium-ic {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 30px;
}

.podium-top {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.podium-no {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  color: #fff;

  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18);
}

.podium-no--1 {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #78350f;
}
.podium-no--2 {
  background: linear-gradient(135deg, #94a3b8, #e2e8f0);
  color: #1e293b;
}
.podium-no--3 {
  background: linear-gradient(135deg, #b45309, #d97706);
}
.podium-ic {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 26px;
  margin-top: 4px;
  background: var(--c-surface-2);
  box-shadow: var(--sh-1);
}
.podium-name {
  font-size: var(--fs-base);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.podium-pitch {
  max-width: 100%;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--c-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-heat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: #fdf1e7;
  border: 1px solid rgba(234, 88, 12, 0.28);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--c-warn-700);
  font-variant-numeric: tabular-nums;

  line-height: 1.2;
}
.podium-heat .i {
  width: 12px;
  height: 12px;
  flex: none;
}
[data-theme="dark"] .podium-heat {
  background: #2b1d13;
  border-color: rgba(251, 146, 60, 0.36);
}
.ranking-answer-copy > :first-child {
  margin-top: 0;
}
.ranking-answer-copy > :last-child {
  margin-bottom: 0;
}
.ranking-rule-nav {
  margin-top: var(--sp-6);
}
.ranking-detail-section {
  padding-top: var(--sp-8);
}
.ranking-detail-board {
  margin-top: var(--sp-4);
}
.ranking-detail-list {
  padding: var(--sp-3);
}
.ranking-detail-item + .ranking-detail-item {
  margin-top: var(--sp-1);
}
.ranking-detail-item a {
  min-height: 72px;
  gap: var(--sp-3);
  padding: var(--sp-3);
}
.ranking-detail-item .rank-no {
  width: 28px;
  font-size: var(--fs-sm);
}
.ranking-detail-item .rank-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-surface-2);
  box-shadow: var(--sh-1);
}
.ranking-detail-item .rank-name {
  font-size: var(--fs-base);
}
.ranking-rule-metric {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-2);
  min-width: 104px;
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ranking-rule-metric .bi {
  color: var(--c-primary-700);
}
[data-ranking-rule="popular"] [data-ranking-metric="popular"],
[data-ranking-rule="recently-updated"] [data-ranking-metric="recently-updated"],
[data-ranking-rule="top-rated"] [data-ranking-metric="top-rated"] {
  display: inline-flex;
}
.ranking-rule-note {
  margin-bottom: var(--sp-12);
}
@media (max-width: 767px) {
  .ranking-detail-item a {
    gap: var(--sp-2);
  }
  .ranking-detail-item .rank-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .ranking-rule-metric {
    min-width: 0;
    font-size: var(--fs-xs);
  }
  .ranking-rule-metric .bi {
    display: none;
  }
}
@media (max-width: 479px) {
  .ranking-detail-item .rank-meta .rank-mid:last-child,
  .ranking-detail-item .rank-dot:last-of-type {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .podium-card {
    transition: none;
  }
  .podium-card:hover {
    transform: none;
  }
}

.gen-group {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
@media (min-width: 768px) {
  .gen-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5);
  }
}
.gen-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  min-width: 0;
}
.gen-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.gen-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--c-text-2);
}
.gen-h .i {
  color: var(--c-text-3);
  flex: none;
}

.gen-list,
.prose .gen-list {
  display: grid;
  gap: 9px;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  line-height: 1.6;
  list-style: none;
  margin: 0;
  padding-inline-start: 0;
}
.gen-list li {
  overflow-wrap: anywhere;
}

.gen-list--num {
  counter-reset: gen;
}
.gen-list--num li {
  position: relative;
  counter-increment: gen;
  padding-inline-start: 20px;
}
.gen-list--num li::before {
  content: counter(gen) ".";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--c-primary);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.gen-list--dot li {
  position: relative;
  padding-inline-start: 15px;
}
.gen-list--dot li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
}

@media (min-width: 1024px) {
  .app-main {
    max-width: var(--main-max);
  }
  .app-main .prose {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .art-grid > :first-child,
  .art-body {
    max-width: var(--main-max);
  }
  .art-grid > :first-child .prose,
  .art-body .prose {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  body[data-tpl="static"] .art-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-tpl="static"] .art-hero,
  body[data-tpl="static"] .art-grid {
    max-width: var(--main-max);
    margin-inline: auto;
  }

  body[data-tpl="static"] .crumbs.container {
    max-width: calc(var(--main-max) + var(--gutter) * 2);
  }
}

body[data-tpl="static"] .prose {
  max-width: none;
}

.cmt-sub {
  margin-top: 6px;
}

.cmt-form {
  display: flex;
  gap: 12px;
  margin-top: var(--sp-3);
}
.cmt-form > .avatar {
  width: 36px;
  height: 36px;
  flex: none;
}
.cmt-form-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 8px;
}
.cmt-input {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 10px 12px;
  font: inherit;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: 0.16s;
}
.cmt-input::placeholder {
  color: var(--c-text-3);
}
.cmt-form:focus-within .cmt-input {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-50);
}
.cmt-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cmt-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cmt-key-input {
  width: 88px;
  min-height: 36px;
  padding: 8px 10px;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
}
.cmt-key-input:focus {
  border-color: var(--c-primary);
  outline: 0;
  box-shadow: 0 0 0 3px var(--c-primary-50);
}
.cmt-key-img {
  width: 90px;
  height: 30px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.cmt-hint {
  font-size: var(--fs-xs);
}
@media (max-width: 479px) {
  .cmt-form > .avatar {
    display: none;
  }
  .cmt-form-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .cmt-form-foot .btn {
    width: 100%;
    justify-content: center;
  }
}

.cmt-list,
.prose .cmt-list {
  display: grid;
  gap: 10px;
  margin-top: var(--sp-6);
}
.cmt-list:empty::before {
  content: "No comments yet. Be the first to share your experience.";
  display: block;
  padding: var(--sp-4);
  color: var(--c-text-3);
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-md);
}
.cmt {
  display: flex;
  gap: 12px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  min-width: 0;
}
.cmt > .avatar {
  width: 36px;
  height: 36px;
  flex: none;
}
.cmt-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.cmt-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.cmt-top b {
  font-size: var(--fs-sm);
}
.cmt-meta {
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
.cmt-context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.cmt-context div {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 7px;
  font-size: var(--fs-xs);
  line-height: 1.3;
  color: var(--c-text-3);
  background: var(--c-surface-2);
  border-radius: 999px;
}
.cmt-context dt,
.cmt-context dd {
  margin: 0;
}
.cmt-context dt {
  font-weight: 700;
}
.cmt-context dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
.cmt-tx {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.cmt > .avatar {
  font-size: 13px;
}
.cmt > .avatar .bi {
  font-size: 16px;
  line-height: 1;
}
.cmt-noscript {
  margin-top: var(--sp-3);
}
.cmt-closed {
  margin-top: var(--sp-3);
}

.cmt-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: var(--sp-4);
  padding: 11px 16px;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c-primary);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.cmt-more:hover {
  background: var(--c-primary-50);
  border-color: var(--c-primary);
}
.cmt-more:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.cmt-more[hidden] {
  display: none;
}
.cmt-more::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s;
}
.cmt-more[data-mode="less"]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

body[data-tpl="comments"] .comments-page {
  max-width: 860px;
}

@keyframes cmtIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cmt.is-new {
  animation: cmtIn 0.28s ease both;
}
@media (prefers-reduced-motion: reduce) {
  .cmt.is-new {
    animation: none;
  }
}

.friends {
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-6) var(--sp-8);
  margin-top: var(--sp-10);
}
.friends-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-4);
}
.friends h3 {
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.friends h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--c-primary);
  flex: none;
}
.friends-sub {
  flex: 1 1 260px;
  min-width: 0;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.friends-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}
.friends-cta i {
  transition: transform 0.16s;
}
.friends-cta:hover i {
  transform: translateX(2px);
}
html[dir="rtl"] .friends-cta i {
  transform: scaleX(-1);
}
html[dir="rtl"] .friends-cta:hover i {
  transform: translateX(-2px) scaleX(-1);
}

.friends-grid {
  display: grid;
  align-items: stretch;
  gap: var(--sp-2);
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
@media (min-width: 768px) {
  .friends-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
.friend {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 16 / 5;
  min-height: 44px;
  padding: 0;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: 0.16s;
}
.friend:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--sh-2);
  transform: translateY(-1px);
}
.friend:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.friend--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 25, 0.02) 20%,
    rgba(8, 15, 25, 0.76) 100%
  );
  pointer-events: none;
}
.friend--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.friend--img:hover img,
.friend--img:focus-visible img {
  transform: scale(1.025);
}
[data-theme="dark"] .friend--img img {
  filter: brightness(0.82) saturate(0.9);
}
[data-theme="dark"] .friend--img:hover img,
[data-theme="dark"] .friend--img:focus-visible img {
  filter: brightness(0.92) saturate(1);
}
.friend-name {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 9px;
  z-index: 1;
  overflow: hidden;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  line-height: 1.2;
  text-align: start;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.friends-text {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: var(--sp-4);
  align-items: center;
}
.flink {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
  text-decoration: none;
  transition: color 0.16s;
}
.flink:hover {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.flink:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

.side-label {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.kv--sm {
  font-size: var(--fs-sm);
}
.btn--sm {
  height: 34px;
  padding-inline: 12px;
  font-size: var(--fs-sm);
}
.ms-auto {
  margin-inline-start: auto;
}
.stack-sm {
  display: grid;
  gap: 10px;
}
.link-strong {
  color: var(--c-primary);
  font-weight: 600;
}
.link-strong:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 359px) {
  .friends-grid {
    grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
    gap: var(--sp-2) 6px;
  }
  .friend-name {
    inset-inline: 9px;
    inset-block-end: 7px;
    font-size: var(--fs-xs);
  }
}

.ftr {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-8) var(--sp-6);
}
.ftr-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 360px) {
  .ftr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftr-brand {
    grid-column: 1/-1;
  }
}
@media (min-width: 768px) {
  .ftr-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-6) var(--sp-4);
  }
  .ftr-grid--no-support {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ftr-brand {
    grid-column: 1/-1;
  }
}
@media (min-width: 1024px) {
  .ftr-grid {
    grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr));
    gap: var(--sp-8);
  }
  .ftr-grid--no-support {
    grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
  }
  .ftr-brand {
    grid-column: auto;
  }
}

@media (min-width: 1536px) {
  .ftr-grid {
    grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
    gap: var(--sp-8) var(--sp-6);
  }
  .ftr-grid--no-support {
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  }
}
.ftr-grid > * {
  min-width: 0;
}
.ftr h4 {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-3);
}
.ftr li {
  margin-bottom: 8px;
}
.ftr a {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.ftr a:hover {
  color: var(--c-primary);
}
.ftr-brand p {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  margin-top: var(--sp-3);
  max-width: 38ch;
}
.ftr .logo {
  max-width: 100%;
  align-items: flex-start;
}
.ftr .logo-text {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.ftr-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
.ftr-bottom a {
  color: var(--c-text-3);
  text-decoration: none;
}
.ftr-bottom a:hover {
  color: var(--c-primary);
}
.ftr-bottom .sep {
  opacity: 0.4;
}

.ftr-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  min-width: 0;
}
.ftr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.ftr-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.soc {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--c-text-2);
  background: transparent;
  text-decoration: none;
  transition:
    color 0.16s ease,
    transform 0.16s ease;
}
.soc i {
  font-size: 22px;
  line-height: 1;
}
.soc:hover {
  transform: translateY(-1px);
}
.soc:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 4px;
  border-radius: 50%;
}
.soc[data-s="wa"] {
  color: #128c7e;
}
.soc[data-s="tg"] {
  color: #229ed9;
}
.soc[data-s="wa"]:hover {
  color: #25d366;
}
.soc[data-s="tg"]:hover {
  color: #178ac2;
}

.muted {
  color: var(--c-text-3);
}
.small {
  font-size: var(--fs-sm);
}
.nowrap {
  white-space: nowrap;
}
.mt-3 {
  margin-top: var(--sp-3);
}
.mt-4 {
  margin-top: var(--sp-4);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-8 {
  margin-top: var(--sp-8);
}
.mb-4 {
  margin-bottom: var(--sp-4);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .app-card:hover,
  .post-card:hover {
    transform: none;
  }
}
