﻿/* Selected OpenCode executors design, scoped to the public catalog. */
body.executors-no-scroll{overflow:hidden}
@scope (#executors) {
:scope {
  --paper: #f3f1e9;
  --paper-deep: #e9e6db;
  --paper-soft: #faf8f2;
  --ink: #171714;
  --ink-soft: #2b2b26;
  --muted: #737168;
  --muted-2: #95938a;
  --line: rgba(23, 23, 20, 0.13);
  --line-strong: rgba(23, 23, 20, 0.24);
  --lime: #c9f45a;
  --lime-deep: #b8e348;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(23, 23, 20, 0.04);
  --shadow-md: 0 18px 40px rgba(23, 23, 20, 0.08);
  --shadow-lg: 0 30px 80px rgba(23, 23, 20, 0.18);
  --radius: 14px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

:scope {
  scroll-behavior: smooth;
}

:scope {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:scope.no-scroll {
  overflow: hidden;
}

:scope.has-compare {
  padding-bottom: 84px;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 233, 0.72);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.055em;
  font-size: 21px;
  line-height: 1;
}

.logo-pro {
  display: inline-grid;
  place-items: center;
  padding: 3px 5px 2px;
  border-radius: 4px;
  background: var(--lime);
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.login-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease;
}

.login-link:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  place-items: center;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 34px;
  padding: 0 13px;
  font-size: 11px;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: #35352f;
  border-color: #35352f;
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn-lime:hover {
  background: var(--lime-deep);
  border-color: var(--lime-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--paper-soft);
  border-color: var(--ink);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  border-color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: 34px 0 27px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 27px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 500;
}

.breadcrumbs a {
  transition: color 0.18s ease;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 13px;
  color: #6b6a61;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.2vw, 78px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.072em;
}

.hero-lead {
  max-width: 670px;
  margin-top: 18px;
  color: #5b5a52;
  font-size: 14.5px;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex: 0 0 auto;
  gap: 30px;
  padding-bottom: 2px;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 66px;
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.hero-stats b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero-stats span {
  color: var(--muted);
  font-size: 10px;
}

.search-row {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(201, 244, 90, 0.55);
}

.search-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-box input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #9d9b91;
}

.search-box input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--muted);
}

.search-clear:hover {
  background: var(--ink);
  color: var(--white);
}

.search-clear svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.search-submit {
  height: 56px;
  min-width: 105px;
  border-radius: 11px;
  font-size: 12px;
}

.quick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  min-width: 0;
}

.quick-label {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 10.5px;
}

.quick-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-tags::-webkit-scrollbar {
  display: none;
}

.quick-chip {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #64635a;
  font-size: 10.5px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.quick-chip:hover {
  background: var(--paper-deep);
  color: var(--ink);
}

.quick-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ---------- Catalog bar ---------- */

.catalog-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 233, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.18s ease;
}

.filter-btn:hover {
  background: #34342e;
}

.filter-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 9.5px;
  line-height: 1;
}

.bar-quick {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.bar-quick::-webkit-scrollbar {
  display: none;
}

.bar-chip {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #66655c;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.bar-chip:hover {
  background: rgba(23, 23, 20, 0.06);
  color: var(--ink);
}

.bar-chip.is-active {
  background: var(--ink);
  color: var(--white);
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: auto;
}

.favorites-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.favorites-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.favorites-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.favorites-btn b {
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.favorites-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.favorites-btn.is-active b {
  color: var(--lime);
}

.favorites-btn.is-active svg {
  fill: currentColor;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 35px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.sort-control select {
  max-width: 135px;
  height: 100%;
  padding: 0 15px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.view-toggle button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.view-toggle button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.view-toggle button:hover {
  color: var(--ink);
}

.view-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Results ---------- */

.results {
  padding-top: 20px;
  padding-bottom: 36px;
}

.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filters:not(:empty) {
  margin-bottom: 18px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 7px 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: #4d4c45;
  font-size: 10px;
  font-weight: 500;
}

.active-chip button {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--paper-deep);
  color: var(--muted);
}

.active-chip button:hover {
  background: var(--ink);
  color: var(--white);
}

.active-chip button svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.clear-all {
  padding: 4px 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-all:hover {
  color: var(--ink);
}

.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 3px;
}

.results-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.results-count {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.results-hint {
  color: var(--muted-2);
  font-size: 10px;
  text-align: right;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-top: 17px;
}

/* ---------- Author card ---------- */

.author-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 23, 20, 0.02);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.author-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 23, 20, 0.25);
  box-shadow: var(--shadow-md);
}

.author-card:focus-visible {
  outline-offset: 3px;
}

.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #24241f;
}

.author-cover {
  height: 184px;
  border-bottom: 1px solid rgba(23, 23, 20, 0.08);
}

.cover::before,
.cover::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cover .cv-orb,
.cover .cv-line,
.cover .cv-grid {
  position: absolute;
  pointer-events: none;
  display: block;
}

.cover .cv-orb {
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 18%;
  top: -20%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.cover .cv-line {
  width: 135%;
  height: 1px;
  left: -14%;
  top: 54%;
  transform: rotate(-24deg);
  background: rgba(255, 255, 255, 0.45);
}

.cover .cv-grid {
  inset: 0;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 33px 33px;
  -webkit-mask-image: linear-gradient(115deg, transparent 15%, #000 48%, transparent 90%);
  mask-image: linear-gradient(115deg, transparent 15%, #000 48%, transparent 90%);
}

.cover::after {
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 35%, rgba(0, 0, 0, 0.55));
  z-index: -1;
}

.cv-a {
  background:
    radial-gradient(circle at 77% 20%, rgba(201, 244, 90, 0.72), transparent 29%),
    linear-gradient(132deg, #15231f 0%, #2f5443 47%, #9ebc4f 100%);
}

.cv-a .cv-orb {
  left: auto;
  right: -5%;
  top: -25%;
  background: rgba(201, 244, 90, 0.25);
  border-color: rgba(201, 244, 90, 0.55);
}

.cv-b {
  background:
    radial-gradient(circle at 18% 80%, rgba(255, 239, 201, 0.7), transparent 35%),
    linear-gradient(145deg, #d9d1c2 0%, #aea18c 48%, #38322a 100%);
}

.cv-b .cv-orb {
  left: -13%;
  top: 35%;
  width: 70%;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.62);
}

.cv-b .cv-line {
  top: 68%;
  transform: rotate(14deg);
  background: rgba(255, 255, 255, 0.58);
}

.cv-c {
  background:
    radial-gradient(circle at 75% 70%, rgba(201, 244, 90, 0.18), transparent 35%),
    linear-gradient(155deg, #171714 0%, #35362f 58%, #9d9e92 100%);
}

.cv-c .cv-grid {
  opacity: 0.8;
  background-size: 28px 28px;
}

.cv-c::before {
  width: 44%;
  height: 1px;
  left: 8%;
  top: 33%;
  background: var(--lime);
  box-shadow: 0 8px 0 rgba(201, 244, 90, 0.45);
  transform: rotate(-24deg);
}

.cv-d {
  background:
    radial-gradient(circle at 23% 25%, rgba(255, 226, 199, 0.8), transparent 31%),
    linear-gradient(138deg, #dbe5eb 0%, #8fa9b9 47%, #23343d 100%);
}

.cv-d .cv-orb {
  left: 54%;
  top: 8%;
  width: 48%;
  background: rgba(255, 232, 204, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
}

.cv-d .cv-line {
  top: 74%;
  transform: rotate(-12deg);
  background: rgba(255, 255, 255, 0.6);
}

.cv-e {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.52), transparent 28%),
    linear-gradient(142deg, #efe4cc 0%, #d1b47a 48%, #5d4b34 100%);
}

.cv-e .cv-orb {
  left: 65%;
  top: 33%;
  width: 47%;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.cv-e .cv-grid {
  opacity: 0.3;
  background-size: 40px 40px;
}

.cv-f {
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 184, 223, 0.48), transparent 33%),
    linear-gradient(132deg, #22182a 0%, #63416f 53%, #c68eae 100%);
}

.cv-f .cv-orb {
  right: 8%;
  top: 40%;
  width: 46%;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.52);
}

.cv-f .cv-line {
  top: 24%;
  transform: rotate(8deg);
}

.cv-g {
  background: radial-gradient(circle at 75% 24%, #c7e282 0, transparent 29%), linear-gradient(132deg, #192d30, #376d70 54%, #a1bf83);
}

.cv-g .cv-orb { left: 55%; top: -42%; width: 72%; border-width: 2px; }
.cv-g .cv-line { top: 67%; transform: rotate(18deg); }

.cv-h {
  background: radial-gradient(circle at 18% 34%, #e2c6a0 0, transparent 31%), linear-gradient(145deg, #3b302e, #8c6458 56%, #d3a878);
}

.cv-h .cv-orb { left: -23%; top: 28%; width: 78%; }
.cv-h .cv-grid { background-size: 25px 25px; }

.cv-i {
  background: radial-gradient(circle at 66% 73%, #ada8cd 0, transparent 35%), linear-gradient(132deg, #1c2438, #435674 53%, #a7a4ba);
}

.cv-i .cv-orb { left: 65%; top: 31%; width: 58%; }
.cv-i .cv-line { top: 28%; transform: rotate(-13deg); }

.cv-j {
  background: radial-gradient(circle at 26% 20%, #e1e7b7 0, transparent 35%), linear-gradient(138deg, #263a2a, #6c7950 50%, #c6b886);
}

.cv-j .cv-orb { left: 36%; top: -50%; width: 88%; border-color: #d4e49e; }
.cv-j .cv-grid { background-size: 42px 42px; }

.cv-empty .cv-empty-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 18px;
  backdrop-filter: blur(5px);
}

.cv-tag {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 92px);
  padding: 4px 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: rgba(17, 17, 14, 0.52);
  color: rgba(255, 255, 255, 0.92);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.cv-title {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  max-width: 77%;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.cv-empty .cv-title {
  font-size: 16px;
  line-height: 1.1;
}

.cv-duration {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 11px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(16, 16, 13, 0.56);
  color: var(--white);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.cv-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.cv-play svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.cover-actions {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  display: flex;
  gap: 5px;
}

.cover-actions .icon-btn {
  width: 29px;
  height: 29px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(17, 17, 14, 0.45);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.cover-actions .icon-btn:hover {
  background: rgba(17, 17, 14, 0.78);
  border-color: rgba(255, 255, 255, 0.55);
}

.cover-actions .fav.is-active {
  color: var(--lime);
}

.cover-actions .compare {
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.cover-actions .compare:hover {
  transform: none !important;
  border-color: var(--lime);
}

.cover-actions .fav.is-active svg {
  fill: currentColor;
}

.cv-empty .cover-actions .icon-btn {
  border-color: rgba(23, 23, 20, 0.13);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.cv-empty .cover-actions .icon-btn:hover {
  background: var(--white);
  border-color: var(--ink);
}

.cv-empty .cover-actions .fav.is-active {
  color: #65831c;
}

.author-body {
  padding: 13px 14px 14px;
}

.author-person {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
}

.av-1 {
  background: linear-gradient(140deg, #29332d, #749055 58%, #c9f45a);
}

.av-2 {
  background: linear-gradient(140deg, #40372d, #a47a53 56%, #d8c09b);
}

.av-3 {
  background: linear-gradient(140deg, #272b3b, #536b92 55%, #b7cadf);
}

.av-4 {
  background: linear-gradient(140deg, #3e2634, #8a4d69 54%, #d9a6bc);
}

.av-5 {
  background: linear-gradient(140deg, #282923, #5c6152 54%, #b7c38a);
}

.av-6 {
  background: linear-gradient(140deg, #342d26, #8f6f54 54%, #e0c4a6);
}

.person-info {
  min-width: 0;
}

.author-name {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.author-name .name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-legal-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: #6f9a31;
}

.author-legal-icon--self { color: #83984a; }
.author-legal-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.author-legal-icon--self svg path:first-child { fill: #edf4dc; }
.author-legal-icon svg text { fill: currentColor; stroke: none; font-size: 10px; font-weight: 800; }
.profile-name .author-legal-icon { width: 20px; height: 20px; }
.profile-name .name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.verified-icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  fill: rgba(201, 244, 90, 0.28);
  stroke: #69851e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verified-wrap {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.verified-icon--demo {
  opacity: 0.78;
}

.verified-demo {
  color: #69851e;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.author-location {
  overflow: hidden;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: auto;
  border: 1px solid #8fb923;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 244, 90, 0.22);
}

.author-role {
  overflow: hidden;
  margin-top: 6px;
  color: #5b5a52;
  font-size: 10.5px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
}

.first-frame-chip{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:0;border:0;background:transparent;color:#24331d;font:400 9px/1.15 Arial,sans-serif;letter-spacing:.2px;white-space:nowrap;vertical-align:middle}
.first-frame-chip svg{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rating-row .rating-metric--reviews{margin-left:8px}
.rating-row .rating-metric b{font-weight:600}
.profile-awards{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;min-height:26px}
.first-frame-medal{position:relative;display:grid;place-items:center;flex:none;width:54px;height:54px;margin:12px 0 0 auto;border:1px solid #cfe39a;border-radius:50%;background:linear-gradient(160deg,#f6fce6 0%,#e6f6bd 100%);box-shadow:0 8px 18px rgba(93,121,45,.14)}
.first-frame-medal:before{content:"";position:absolute;inset:4px;border:1px solid rgba(18,23,22,.1);border-radius:50%}
.first-frame-medal>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#d9fa74;color:#24331d}
.first-frame-medal svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.rating-star {
  color: #9abf31;
  font-size: 11px;
  line-height: 1;
}

.prize-places {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink);
  font-size: 9px;
  white-space: nowrap;
}

.prize-places svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #8a6a27;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.prize-places b { color: var(--ink); font-size: 10px; }
.rating-row > .prize-places { margin-left: 5px; }

.rating-row b {
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
}

.rating-sep {
  color: #c1bfb7;
}

.new-author-label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 400;
}

.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 22px;
  margin-top: 8px;
  overflow: hidden;
  max-height: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 6px;
  overflow: hidden;
  border-radius: 4px;
  background: #f4f2ea;
  color: #66645b;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 23, 20, 0.08);
}

.author-price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.author-price span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.profile-link svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.author-card:hover .profile-link svg,
.profile-link:hover svg {
  transform: translateX(2px);
}

/* ---------- List view ---------- */

.authors-grid.is-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 17px;
}

.author-row {
  display: grid;
  grid-template-columns: 24px 48px minmax(0, 1fr) 248px 119px 94px 30px 30px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  cursor: default;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.author-row:hover {
  border-color: rgba(23, 23, 20, 0.3);
  box-shadow: 0 8px 22px rgba(23, 23, 20, 0.06);
}

.author-row .avatar {
  width: 44px;
  height: 44px;
  font-size: 12px;
}

.compare-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: transparent;
  color: transparent;
}

.compare-check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare-check:hover {
  border-color: var(--ink);
}

.compare-check.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.row-main {
  min-width: 0;
}

.row-main .author-name {
  font-size: 12.5px;
}

.row-main .author-role {
  margin-top: 2px;
  font-size: 10px;
}

.row-main .author-tags {
  min-height: 0;
  max-height: 19px;
  margin-top: 4px;
  flex-wrap: nowrap;
}

.row-main .tag {
  min-width: 0;
  padding: 2px 5px;
  font-size: 8px;
}

.row-online {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  margin-top: 5px;
  min-width: 0;
}

.row-online .online-dot {
  margin-left: 0;
}

.row-portfolio {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 248px;
  min-width: 0;
}

.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 38px;
  overflow: hidden;
  border-radius: 5px;
}

.thumb .cv-orb {
  width: 70%;
}

.thumb .cv-grid {
  background-size: 12px 12px;
}

.thumb .cv-line {
  width: 160%;
}

.row-portfolio-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  border: 1px dashed var(--line);
  border-radius: 5px;
  color: var(--muted-2);
  font-size: 8px;
  text-align: center;
}

.row-rating {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 119px;
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
}

.row-rating__top { display: flex; align-items: center; gap: 6px; }
.row-rating__top strong { flex: 1; }
.author-row .row-rating__top strong:not(:has(.rating-star))::before { content: "★ "; color: #9abf31; }
.row-rating .prize-places { flex: none; }

.row-rating strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.row-rating strong .rating-star {
  margin-right: 2px;
}

.row-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: right;
  white-space: nowrap;
}

.row-price strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.row-price span {
  color: var(--muted);
  font-size: 8.5px;
}

.row-fav {
  width: 28px;
  height: 28px;
  border-color: transparent;
}

.row-fav svg {
  width: 14px;
  height: 14px;
}

.row-fav.is-active {
  color: #65831c;
}

html[data-theme="dark"] .author-row .row-fav.is-active {
  color: #d5ff6b;
}

.row-fav.is-active svg {
  fill: currentColor;
}

.author-row .row-fav {
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  transform: none !important;
}

.author-row .row-fav:is(:hover, :focus-visible) {
  color: #65831c;
}

.author-row .row-fav:not(.is-active):is(:hover, :focus-visible) svg {
  fill: none;
}

.row-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.row-arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.16s ease;
}

.author-row .row-arrow:is(:hover, :focus-visible) {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.author-row .row-arrow:is(:hover, :focus-visible) svg {
  transform: translateX(3px);
}

/* ---------- Empty / load more ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 17px;
  padding: 58px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
}

.empty-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 390px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
}

.load-more {
  min-width: 172px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(23, 23, 20, 0.04);
}

.load-more:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.load-more-note {
  color: var(--muted-2);
  font-size: 9.5px;
}

/* ---------- Helper / SEO ---------- */

.helper-wrap {
  margin-bottom: 16px;
}

.helper {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 27px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
}

.helper-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.helper-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.helper-copy {
  min-width: 0;
}

.helper h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.helper p {
  max-width: 620px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11.5px;
}

.helper .btn {
  flex: 0 0 auto;
  margin-left: auto;
}

.seo-block {
  margin: 20px 0 46px;
  overflow: hidden;
  border: 1px solid #35423a;
  border-radius: 14px;
  background: linear-gradient(112deg, #101715, #1b2b21);
  box-shadow: 0 20px 46px rgba(16, 28, 20, 0.13);
  color: #f6f8f2;
}

.seo-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 65px;
  padding: 0 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.seo-block summary::-webkit-details-marker {
  display: none;
}

.seo-block summary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.7;
  stroke-linecap: round;
  transition: transform 0.2s ease;
}

.seo-block[open] summary svg {
  transform: rotate(180deg);
}

.seo-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  padding: 11px 24px 25px;
  border-top: 1px solid rgba(210, 240, 200, 0.14);
}

.seo-text {
  display: grid;
  gap: 14px;
  color: #c3cec3;
  font-size: 12px;
  line-height: 1.65;
}

.seo-tips {
  display: grid;
  gap: 8px;
}

.seo-tips > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(202, 244, 90, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.075);
  font-size: 11px;
}

.seo-tips b {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--lime);
  font-family: var(--font-display);
  color: #182416;
  font-size: 9px;
  font-weight: 800;
}

.seo-tips span {
  color: #ecf2e8;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo-footer {
  font-size: 16px;
}

.footer-inner p {
  max-width: 420px;
  color: var(--muted);
  font-size: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  color: var(--muted);
  font-size: 9.5px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ---------- Overlay / drawers ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 18, 15, 0.43);
  backdrop-filter: blur(2px);
  animation: fade-in 0.2s ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100dvh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  animation: slide-in 0.24s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.filter-drawer {
  width: min(432px, 100%);
}

.profile-drawer {
  width: min(520px, 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.profile-drawer.is-swiping {
  animation: none !important;
  transition: none !important;
  will-change: transform, opacity;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;
  padding: 20px 21px 15px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.drawer-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
}

.drawer-close {
  flex: 0 0 auto;
}

.drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 17px 21px 24px;
  overscroll-behavior: contain;
}

.drawer-foot {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  padding: 13px 21px max(13px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.drawer-foot .btn {
  min-height: 43px;
}

.drawer-foot #resetFilters {
  flex: 0 0 108px;
}

.drawer-foot #applyFilters {
  flex: 1;
}

/* ---------- Filter groups ---------- */

.filter-groups {
  display: grid;
  gap: 21px;
}

.filter-group {
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.filter-group h3 {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 3px 0;
  color: #4e4d46;
  font-size: 11.5px;
  cursor: pointer;
}

.filter-check input {
  position: relative;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.filter-check input::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  width: 3px;
  height: 6px;
  border-right: 1.5px solid var(--lime);
  border-bottom: 1.5px solid var(--lime);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.filter-check input:checked {
  border-color: var(--ink);
  background: var(--ink);
}

.filter-check input:checked::after {
  opacity: 1;
}

.filter-check input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.filter-count-label {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
}

.filter-check.is-zero {
  opacity: 0.44;
}

.seg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.seg {
  position: relative;
  cursor: pointer;
}

.seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.seg span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: #5f5e56;
  font-size: 10px;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.seg:hover span {
  border-color: var(--line-strong);
  color: var(--ink);
}

.seg input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.seg input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

/* ---------- Profile ---------- */

.profile-hero {
  position: relative;
  height: 196px;
  flex: 0 0 auto;
  overflow: hidden;
}

.profile-hero .cover {
  position: absolute;
  inset: 0;
}

.profile-hero .cover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 40%, rgba(0, 0, 0, 0.58));
}

.profile-close {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(17, 17, 14, 0.43);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.profile-close:hover {
  background: rgba(17, 17, 14, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: none !important;
}

.profile-close svg {
  transition: transform 0.18s ease;
}

.profile-close:hover svg,
.profile-close:focus-visible svg {
  transform: scale(1.16);
}

.profile-hero-label {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

.profile-hero-label .cv-play {
  position: static;
  display: grid;
  width: 27px;
  height: 27px;
  margin: 0;
}

.profile-hero-label .cv-play svg {
  width: 10px;
  height: 10px;
}

.profile-content {
  padding: 0 21px 28px;
}

.profile-person {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: -23px;
  position: relative;
  z-index: 2;
}

.profile-avatar {
  width: 62px;
  height: 62px;
  border: 3px solid var(--white);
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(23, 23, 20, 0.12);
}

.profile-person-info {
  min-width: 0;
  flex: 1;
  padding-top: 27px;
}

.profile-name {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 112px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.profile-name .verified-icon {
  width: 16px;
  height: 16px;
}

.profile-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.profile-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 29px;
  right: 0;
  margin: 0;
  color: #6b861f;
  font-size: 9.5px;
  font-weight: 500;
  white-space: nowrap;
}

.profile-online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 244, 90, 0.25);
}

.profile-online--offline {
  color: var(--muted);
}

.profile-online--offline::before {
  background: #a4a79e;
  box-shadow: none;
}

.profile-actions {
  display: flex;
  gap: 7px;
  margin-top: 17px;
}

.profile-actions .btn {
  flex: 1;
}

.profile-actions .favorite-action {
  flex: 0 0 43px;
  min-width: 43px;
  padding: 0;
  border-radius: 9px;
}

.profile-actions .favorite-action.is-active {
  color: #65831c;
}

html[data-theme="dark"] .profile-actions .favorite-action.is-active {
  color: #d5ff6b;
}

.profile-actions .favorite-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-actions .favorite-action.is-active svg {
  fill: currentColor;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-soft);
}

.profile-stats > div {
  min-width: 0;
  padding: 9px 8px;
  border-right: 1px solid var(--line);
}

.profile-stats > div:last-child {
  border-right: 0;
}

.profile-stats b {
  display: flex;
  align-items: center;
  min-height: 19px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.profile-stats b.profile-stat-empty { font-size: 13px; font-weight: 400; white-space: nowrap; }

.profile-stats > div > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.profile-stats b .rating-star { display: inline; margin: 0 3px 0 0; color: #9abf31; font-size: 13px; }
.profile-stats b .profile-prize-number { display: inline-flex; align-items: center; gap: 3px; margin: 0; color: inherit; font-size: inherit; }
.profile-stats .profile-prize-number svg { width: 15px; height: 15px; fill: none; stroke: #8a6a27; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 600px) {
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-stats > div:nth-child(2) { border-right: 0; }
  .profile-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

.profile-section {
  margin-top: 21px;
}

.profile-section h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-bio {
  color: #5c5b53;
  font-size: 11.5px;
  line-height: 1.6;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.profile-tags .tag {
  padding: 5px 7px;
  font-size: 9.5px;
}

.profile-empty {
  color: var(--muted);
  font-size: 10.5px;
}

.profile-portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.profile-work {
  min-width: 0;
  cursor: pointer;
}

.profile-work .cover {
  height: 88px;
  border-radius: 7px;
}

.profile-work .cv-title {
  left: 8px;
  bottom: 7px;
  font-size: 11px;
  max-width: 88%;
}

.profile-work .cv-duration {
  right: 6px;
  bottom: 6px;
  padding: 2px 4px;
  font-size: 7px;
}

.profile-work .cv-play {
  width: 25px;
  height: 25px;
  margin: -12.5px 0 0 -12.5px;
}

.profile-work .cv-play svg {
  width: 9px;
  height: 9px;
}

.profile-work p {
  overflow: hidden;
  margin-top: 4px;
  color: #55544d;
  font-size: 8.5px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-details {
  display: grid;
  gap: 0;
}

.profile-detail {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(23, 23, 20, 0.07);
  font-size: 10.5px;
}

.profile-detail:last-child {
  border-bottom: 0;
}

.profile-detail span {
  color: var(--muted);
}

.profile-detail b {
  min-width: 0;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

.profile-note {
  margin-top: 18px;
  padding: 10px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 18, 15, 0.48);
  backdrop-filter: blur(2px);
}

.modal-card {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(90dvh, 780px);
  overflow: hidden;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.compare-card {
  width: min(1040px, 100%);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex: 0 0 auto;
  padding: 20px 22px 15px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.modal-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
}

.modal-close {
  flex: 0 0 auto;
}

/* ---------- Compare ---------- */

.compare-body {
  overflow: auto;
  padding: 0 22px 22px;
}

.compare-table {
  width: 100%;
  min-width: 650px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}

.compare-table th,
.compare-table td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-top: 14px;
  padding-bottom: 13px;
  background: var(--white);
  vertical-align: top;
}

.compare-table thead th:not(:first-child) {
  min-width: 185px;
}

.compare-table thead th:first-child {
  width: 142px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-person {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.compare-person .avatar {
  width: 37px;
  height: 37px;
  font-size: 9px;
}

.compare-person-info {
  min-width: 0;
}

.compare-person-name {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}

.compare-person-role {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.25;
}

.compare-remove {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
}

.compare-remove:hover {
  background: var(--ink);
  color: var(--white);
}

.compare-remove svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.compare-table tbody th {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
  white-space: nowrap;
}

.compare-table tbody td {
  color: #3e3d37;
  font-size: 10.5px;
  line-height: 1.4;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.compare-tags .tag {
  padding: 2px 5px;
  font-size: 8px;
}

.compare-table .compare-action {
  padding-top: 12px;
}

.compare-table .compare-action .btn {
  min-height: 31px;
  padding: 0 10px;
  font-size: 9.5px;
}

.compare-empty {
  padding: 50px 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- Invite form ---------- */

.invite-form {
  display: grid;
  gap: 11px;
  overflow-y: auto;
  padding: 18px 22px 22px;
}

.field {
  display: grid;
  gap: 5px;
}

.field > span {
  color: #4e4d46;
  font-size: 10px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--paper-soft);
  font-size: 11.5px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input {
  height: 39px;
  padding: 0 10px;
}

.field textarea {
  min-height: 88px;
  padding: 9px 10px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(201, 244, 90, 0.45);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa79d;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.form-note {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.4;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 2px;
}

/* ---------- Compare tray / toast ---------- */

.compare-tray {
  position: fixed;
  z-index: 90;
  bottom: 16px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 36px);
  max-width: 760px;
  min-height: 62px;
  padding: 9px 11px 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(23, 23, 20, 0.28);
  transform: translateX(-50%);
  animation: tray-in 0.24s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.compare-tray-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 0 auto;
}

.compare-tray-info b {
  font-size: 10.5px;
  font-weight: 600;
}

.compare-tray-info span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8.5px;
}

.compare-tray-avatars {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.tray-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-left: -7px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 600;
}

.tray-avatar:first-child {
  margin-left: 0;
}

.tray-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tray-clear {
  margin-left: auto;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tray-clear:hover {
  color: var(--white);
}

.compare-tray .btn {
  min-height: 38px;
  padding: 0 15px;
}

.compare-tray .btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.catalog-content.has-sidebar .compare-tray {
  position: static;
  width: 100%;
  max-width: none;
  min-height: 48px;
  margin-top: 11px;
  padding: 8px 11px;
  border-radius: 9px;
  box-shadow: none;
  transform: none;
  animation: none;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-content.has-sidebar .compare-tray-info {
  flex: 1 1 225px;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.catalog-content.has-sidebar .compare-tray-info b {
  white-space: nowrap;
}

.catalog-content.has-sidebar .compare-tray-avatars {
  margin-right: auto;
}

.catalog-content.has-sidebar .compare-tray .btn {
  min-height: 29px;
  margin-left: auto;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 10px;
}

.catalog-content.has-sidebar .tray-clear {
  margin-left: 0;
}

.tray-clear:disabled {
  cursor: default;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .catalog-content.has-sidebar .compare-tray-info {
    flex-basis: 100%;
    flex-wrap: wrap;
  }
}

.toast {
  position: fixed;
  z-index: 200;
  bottom: 24px;
  left: 50%;
  max-width: calc(100% - 36px);
  padding: 11px 16px;
  border-left: 3px solid var(--lime);
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 11.5px;
  line-height: 1.35;
  transform: translateX(-50%);
  animation: toast-in 0.22s ease;
}

:scope.has-compare .toast {
  bottom: 94px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .bar-quick {
    display: none;
  }

  .header-inner {
    gap: 26px;
  }

  .site-nav {
    gap: 19px;
  }

  .hero-stats {
    gap: 20px;
  }

  .author-row {
    grid-template-columns: 24px 48px minmax(0, 1fr) 119px 94px 30px 30px;
  }

  .row-portfolio {
    display: none;
  }
}

@media (max-width: 980px) {
  .authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: clamp(50px, 8vw, 66px);
  }

  .hero-top {
    gap: 30px;
  }

  .hero-stats {
    gap: 15px;
  }

  .hero-stats > div {
    min-width: 58px;
    padding-left: 12px;
  }

  .hero-stats b {
    font-size: 25px;
  }

  .sort-control > span {
    display: none;
  }

  .sort-control {
    padding-right: 5px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 9px;
    border-radius: 6px;
    font-size: 12px;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: var(--paper);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions {
    gap: 9px;
  }

  .login-link {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-top {
    display: block;
  }

  .hero-stats {
    margin-top: 22px;
    padding: 0;
  }

  .hero-stats > div {
    padding-left: 13px;
  }

  .helper {
    flex-wrap: wrap;
  }

  .helper .btn {
    margin-left: 61px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-links {
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    min-height: 62px;
  }

  .logo {
    font-size: 18px;
  }

  .btn-sm {
    display: none;
  }

  .site-nav {
    top: 62px;
  }

  .hero {
    padding: 22px 0 21px;
  }

  .breadcrumbs {
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .hero-stats {
    margin-top: 19px;
    gap: 16px;
  }

  .hero-stats b {
    font-size: 23px;
  }

  .search-row {
    margin-top: 22px;
  }

  .search-box {
    height: 50px;
    padding: 0 13px;
  }

  .search-box input {
    font-size: 11.5px;
  }

  .search-submit {
    height: 50px;
    min-width: 78px;
    padding: 0 11px;
  }

  .quick-row {
    align-items: flex-start;
    gap: 7px;
    margin-top: 11px;
  }

  .quick-label {
    padding-top: 6px;
  }

  .quick-chip {
    font-size: 9.5px;
  }

  .bar-inner {
    gap: 7px;
    min-height: 56px;
  }

  .filter-btn {
    min-height: 35px;
    padding: 0 9px;
    font-size: 10px;
  }

  .filter-btn svg {
    width: 14px;
    height: 14px;
  }

  .bar-right {
    gap: 4px;
  }

  .favorites-btn {
    width: 35px;
    padding: 0;
    justify-content: center;
  }

  .favorites-btn span {
    display: none;
  }

  .favorites-btn b {
    display: none;
  }

  .sort-control {
    height: 35px;
    padding: 0 4px;
  }

  .sort-control select {
    max-width: 82px;
    padding-right: 3px;
    font-size: 9.5px;
  }

  .view-toggle button {
    width: 27px;
    height: 27px;
  }

  .results {
    padding-top: 15px;
    padding-bottom: 28px;
  }

  .results-head {
    align-items: flex-start;
  }

  .results-title {
    font-size: 18px;
  }

  .results-hint {
    display: none;
  }

  .authors-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 13px;
  }

  .author-cover {
    height: 205px;
  }

  .cv-title {
    font-size: 21px;
  }

  .author-body {
    padding: 13px 14px 15px;
  }

  .author-person .avatar {
    width: 39px;
    height: 39px;
  }

  .author-name {
    font-size: 13px;
  }

  .author-row {
    grid-template-columns: 22px 44px minmax(0, 1fr) 76px 26px;
    gap: 8px;
    padding: 10px;
  }

  .author-row .row-rating,
  .author-row .row-arrow {
    display: none;
  }

  .row-price strong {
    font-size: 11.5px;
  }

  .row-price span {
    font-size: 8px;
  }

  .author-row .row-fav {
    width: 28px;
    height: 28px;
  }

  .author-row .row-main .author-tags {
    display: none;
  }

  .author-row .row-main .author-role {
    font-size: 9.5px;
  }

  .empty-state {
    padding: 44px 18px;
  }

  .helper {
    padding: 19px 18px;
    gap: 13px;
  }

  .helper-icon {
    width: 38px;
    height: 38px;
  }

  .helper h2 {
    font-size: 18px;
  }

  .helper p {
    font-size: 10.5px;
  }

  .helper .btn {
    width: 100%;
    margin: 4px 0 0;
  }

  .seo-block {
    margin-bottom: 32px;
  }

  .seo-block summary {
    min-height: 53px;
    padding: 0 15px;
    font-size: 13px;
  }

  .seo-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .footer-inner {
    gap: 12px;
  }

  .footer-inner p {
    max-width: 100%;
    flex: 1 1 210px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .drawer {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 91dvh;
    border-radius: 17px 17px 0 0;
    animation: drawer-up 0.26s cubic-bezier(0.22, 0.8, 0.24, 1);
  }

  .filter-drawer {
    width: 100%;
  }

  .profile-drawer {
    top: 0;
    bottom: 0;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    touch-action: pan-y;
    animation: slide-in 0.24s cubic-bezier(0.22, 0.8, 0.24, 1);
  }

  .drawer-head {
    padding: 17px 18px 13px;
  }

  .drawer-body {
    padding: 15px 18px 20px;
  }

  .drawer-foot {
    padding: 11px 18px max(11px, env(safe-area-inset-bottom));
  }

  .filter-groups {
    gap: 18px;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 92dvh;
    border-radius: 17px 17px 0 0;
  }

  .modal-head {
    padding: 18px 18px 13px;
  }

  .modal-head h2 {
    font-size: 21px;
  }

  .compare-body {
    padding: 0 18px 18px;
  }

  .compare-table thead th:first-child {
    width: 112px;
  }

  .compare-table thead th:not(:first-child) {
    min-width: 170px;
  }

  .invite-form {
    padding: 15px 18px max(18px, env(safe-area-inset-bottom));
  }

  .compare-tray {
    bottom: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    gap: 8px;
    padding: 8px 9px 8px 12px;
  }

  .compare-tray-info span {
    display: none;
  }

  .compare-tray-avatars {
    display: none;
  }

  .compare-tray .btn {
    min-height: 36px;
  }

  .tray-clear {
    font-size: 8.5px;
  }

  body.has-compare {
    padding-bottom: 76px;
  }

  body.has-compare .toast {
    bottom: 84px;
  }
}

@media (max-width: 440px) {
  .header-actions .btn-sm {
    display: none;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-lead {
    max-width: 340px;
  }

  .hero-stats > div {
    min-width: 54px;
  }

  .search-submit {
    min-width: 68px;
    font-size: 10.5px;
  }

  .filter-btn span {
    display: none;
  }

  .filter-btn {
    width: 35px;
    justify-content: center;
    padding: 0;
  }

  .filter-count {
    position: absolute;
    top: 7px;
    right: 9px;
    min-width: 14px;
    height: 14px;
    font-size: 8px;
  }

  .catalog-bar .bar-inner {
    position: relative;
  }

  .author-cover {
    height: 188px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .compare-tray-info b {
    font-size: 9.5px;
  }

  .tray-clear {
    margin-left: auto;
  }

  .compare-tray .btn {
    padding: 0 10px;
    font-size: 10px;
  }

  .footer-links {
    gap: 11px;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes drawer-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tray-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* List sidebar and page controls follow the approved compact catalog concept. */
.catalog-content {
  min-width: 0;
}

.catalog-content.has-sidebar {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 15px;
}

.catalog-content.has-sidebar .authors-grid.is-list {
  margin-top: 8px;
}

.catalog-main {
  min-width: 0;
}

.catalog-sidebar {
  border: 1px solid #dddacf;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}

.catalog-sidebar[hidden],
.catalog-pagination[hidden],
.catalog-sidebar [hidden] {
  display: none !important;
}

.catalog-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 13px 10px;
}

.catalog-sidebar-head b {
  font-size: 12px;
}

.catalog-sidebar-head button,
.sidebar-more {
  border: 0;
  padding: 0;
  background: none;
  color: #77746a;
  font-size: 10px;
  text-decoration: underline;
  cursor: pointer;
}

.sidebar-group {
  padding: 11px 13px;
  border-top: 1px solid #ece9df;
}

.sidebar-group h3 {
  margin: 0 0 8px;
  color: #77746a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-sidebar .filter-check,
.sidebar-radio {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 2px 0;
  color: #4f4d46;
  font-size: 10px;
  line-height: 1.2;
  cursor: pointer;
}

.catalog-sidebar .filter-check input,
.sidebar-radio input {
  width: 13px;
  height: 13px;
  margin: 0;
  flex: 0 0 13px;
  cursor: pointer;
}

.sidebar-radio input {
  accent-color: #171714;
}

.catalog-sidebar .filter-check .filter-count-label,
.sidebar-radio .filter-count-label {
  margin-left: auto;
  padding: 0;
  background: none;
  color: #9a988e;
  font-size: 9px;
}

.sidebar-specialty-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 29px;
  padding: 0 8px;
  margin-bottom: 6px;
  border: 1px solid #dddacf;
  border-radius: 5px;
  background: #fbfaf6;
  color: #8f8d83;
}

.sidebar-specialty-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #171714;
  font-size: 10px;
}

.sidebar-more {
  display: inline-block;
  margin-top: 7px;
}

.sidebar-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.catalog-sidebar .seg span {
  min-height: 26px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 9px;
}

.catalog-sidebar-actions {
  display: grid;
  gap: 6px;
  padding: 12px 13px;
  border-top: 1px solid #ece9df;
}

.catalog-sidebar-actions button {
  min-height: 31px;
  border-radius: 5px;
  font-size: 10px;
  cursor: pointer;
}

.sidebar-apply {
  border: 1px solid #171714;
  background: #c9f45a;
  color: #171714;
  font-weight: 700;
}

.sidebar-reset {
  border: 1px solid #dddacf;
  background: #fff;
  color: #77746a;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 14px;
}

.catalog-pagination button,
.pagination-ellipsis {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dddacf;
  border-radius: 5px;
  background: #fff;
  color: #6f6d64;
  font-size: 10px;
}

.catalog-pagination button {
  cursor: pointer;
}

.catalog-pagination button:hover,
.catalog-pagination button:focus-visible {
  border-color: #171714;
}

.catalog-pagination button.is-active {
  border-color: #171714;
  background: #171714;
  color: #fff;
}

@media (max-width: 860px) {
  .catalog-content.has-sidebar {
    display: block;
  }
  .catalog-sidebar {
    display: none;
  }
}

}
#executors .cover.real-cover{background-size:cover;background-position:center}
#executors .cover-hover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:0}
#executors .cover[data-cover-video] .cv-tag,#executors .cover[data-cover-video] .cv-title,#executors .cover[data-cover-video] .cv-duration,#executors .cover[data-cover-video] .cover-actions{z-index:2}
#executors .avatar.real-avatar{background:#e8f3d4;overflow:hidden}
#executors .avatar.real-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#executors .avatar.real-avatar{overflow:visible}
#executors .avatar.real-avatar img{border-radius:50%}
#executors .avatar.real-avatar .passport-badge{position:absolute;right:-2px;bottom:-2px;z-index:2;display:grid;place-items:center;box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#7fc940;color:#fff;font:900 9px/1 Arial,sans-serif}
#executors .author-row .avatar.real-avatar .passport-badge{width:16px;height:16px;font-size:10px}
#executors .compare-person .avatar.real-avatar .passport-badge{width:14px;height:14px}
#executors .profile-avatar.real-avatar .passport-badge{width:22px;height:22px;font-size:14px}
#executors .author-price--unknown,#executors .row-price--unknown{color:#737168}
#executors .author-price .min-project,
#executors .row-price .min-project{display:block;margin-top:3px;color:#66645b;font:500 9px/1.25 var(--font-body);letter-spacing:0}
#executors .row-price .min-project{font-size:8px;white-space:normal}


.first-frame-chip,.first-frame-profile__chip{position:relative;display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:0;border:0;background:transparent;color:#24331d;font:400 9px/1.15 Arial,sans-serif;white-space:nowrap;vertical-align:middle}
.first-frame-badge__medal{position:relative;isolation:isolate;display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border:1px solid #cfe39a;border-radius:50%;background:linear-gradient(160deg,#f6fce6 0%,#e6f6bd 100%);box-sizing:border-box;box-shadow:0 8px 18px rgba(93,121,45,.14)}
.first-frame-badge__medal:before{content:"";position:absolute;z-index:1;inset:2px;border:1px solid rgba(18,23,22,.1);border-radius:50%;pointer-events:none}
.first-frame-badge__inner{position:relative;z-index:2;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#d9fa74;color:#24331d}
.first-frame-badge__inner svg{width:48%;height:48%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.author-award-inline{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:0;border:0;background:transparent;box-shadow:none;font-weight:400;white-space:nowrap}
.author-card .author-award-inline{margin-top:6px}
.author-row .author-award-inline{margin-top:4px}
/* Cover title: thin Oswald, 50% */
.cv-title{font-family:"Oswald",Impact,"Arial Narrow",sans-serif!important;font-weight:700!important;opacity:.65}

/* Часто ищут: кнопки слева, избранное/сортировка/вид — на той же линии */
.quick-row{flex-wrap:wrap;row-gap:8px}
.quick-tags{flex:1 1 auto}
.quick-row .bar-right{margin-left:auto}
@media(max-width:760px){.quick-row .bar-right{width:100%;margin-left:0;justify-content:flex-end}}


/* Дать место подъёму кнопок при наведении внутри прокручиваемой строки */
.quick-tags{overflow-y:hidden;padding:4px 0;margin:-4px 0}


/* Убрать нативный крестик у поиска — используем свой */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
input[type="search"]::-ms-clear{display:none}


/* Список: рейтинг в основной колонке на мобильных */
.author-row .row-rating-inline { display: none; }
.author-row .row-main { min-width: 0; }
.author-row .author-name { min-width: 0; overflow: hidden; }
.author-row .row-price { min-width: 0; max-width: 100%; overflow: hidden; justify-self: stretch !important; transform: none !important; }
.author-row .row-price strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.author-row .author-name .online-dot { margin-left: 4px; }
@media (max-width: 720px) {
  .author-row .row-rating-inline { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 9.5px; color: #5b5a52; }
  .author-row .row-rating-inline strong { font-size: 9.5px; }
  .author-row .first-frame-chip { display: none !important; }
}



