:root {
  --bg: #f6f6fa;
  --surface: #ffffff;
  --surface-soft: #efedff;
  --text: #19191f;
  --muted: #777985;
  --line: #e6e6ec;
  --primary: #6c5ce7;
  --primary-dark: #5949d1;
  --accent: #ff704d;
  --success: #159b6b;
  --warning: #f4a525;
  --danger: #df4d61;
  --shadow: 0 16px 45px rgba(31, 27, 60, .10);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: #e9e9ef; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 42px;
  align-items: center;
  min-height: 64px;
  padding: max(10px, env(safe-area-inset-top)) 16px 8px;
  border-bottom: 1px solid rgba(230, 230, 236, .8);
  background: rgba(246, 246, 250, .92);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.role-button,
.icon-button {
  min-height: 38px;
  border: 0;
  color: var(--text);
  background: var(--surface);
}

.role-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 12px;
  padding: 0 12px;
  box-shadow: 0 4px 18px rgba(37, 31, 75, .06);
  font-size: 12px;
  font-weight: 700;
}

.icon-button {
  width: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
}

.page {
  min-height: calc(100vh - 140px);
  padding: 18px 15px 108px;
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.page-header h1,
.section-head h2,
.sheet h2,
.hero h2 { margin: 0; }

.page-header h1 { font-size: 26px; line-height: 1.05; letter-spacing: -.04em; }
.eyebrow { margin: 0 0 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.muted { color: var(--muted); }

.avatar {
  width: 45px;
  height: 45px;
  display: grid;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 12px;
  font-weight: 800;
}

.stack { display: grid; gap: 12px; }
.section { margin-top: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.section-head h2 { font-size: 17px; letter-spacing: -.02em; }
.text-button { border: 0; padding: 6px 0; color: var(--primary); background: transparent; font-size: 12px; font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  padding: 22px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(140deg, var(--primary) 0%, #8b7df2 56%, var(--accent) 135%);
  box-shadow: 0 18px 38px rgba(92, 74, 207, .24);
}

.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -78px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero h2 { position: relative; z-index: 1; max-width: 290px; margin-top: 20px; font-size: 30px; line-height: 1; letter-spacing: -.05em; }
.hero p { position: relative; z-index: 1; max-width: 290px; margin: 10px 0 20px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.45; }

.button {
  min-height: 45px;
  border: 0;
  border-radius: 15px;
  padding: 0 17px;
  font-size: 13px;
  font-weight: 750;
}

.button.primary { color: #fff; background: var(--primary); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { color: var(--text); background: var(--surface-soft); }
.button.hero-button { position: relative; z-index: 1; color: var(--primary); background: #fff; }
.button.full { width: 100%; }

.card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--surface);
  box-shadow: 0 7px 24px rgba(32, 29, 55, .045);
}

.card-row { display: flex; align-items: center; gap: 12px; }
.card-main { flex: 1; min-width: 0; }
.card h3 { margin: 0; font-size: 14px; }
.card p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 15px;
  color: var(--primary);
  background: var(--surface-soft);
  font-size: 21px;
}

.badge,
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.badge { padding: 6px 9px; color: var(--success); background: rgba(21, 155, 107, .10); }
.badge.warning { color: #ad7211; background: rgba(244, 165, 37, .14); }
.chip { min-height: 28px; padding: 5px 10px; color: var(--primary); background: var(--surface-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric { padding: 13px 8px; border-radius: 16px; background: var(--surface); text-align: center; }
.metric strong { display: block; font-size: 18px; }
.metric span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.progress { height: 7px; overflow: hidden; margin-top: 13px; border-radius: 8px; background: var(--surface-soft); }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }

.offer-card { overflow: hidden; padding: 0; }
.offer-visual {
  min-height: 116px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, #383144, #9a6b55);
}
.offer-visual.travel { background: linear-gradient(135deg, #246672, #62a599); }
.offer-visual.food { background: linear-gradient(135deg, #814d36, #d99955); }
.offer-body { padding: 15px; }
.offer-body .card-row { align-items: flex-start; }
.offer-title { margin: 0; font-size: 17px; line-height: 1.15; }
.offer-meta { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.offer-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }

.bottom-nav {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: 0;
  width: min(100%, 480px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  transform: translateX(-50%);
  padding: 8px 8px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}

.nav-button {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
}
.nav-button span:first-child { font-size: 20px; line-height: 1; }
.nav-button.active { color: var(--primary); background: var(--surface-soft); font-weight: 750; }

.sheet {
  width: min(100% - 20px, 460px);
  max-height: 85vh;
  margin: auto auto 8px;
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(15, 12, 35, .30);
}
.sheet::backdrop { background: rgba(20, 18, 30, .48); backdrop-filter: blur(4px); }
.sheet-content { max-height: 85vh; overflow: auto; padding: 10px 18px 24px; }
.sheet-handle { width: 40px; height: 5px; margin: 0 auto 18px; border-radius: 4px; background: var(--line); }
.sheet-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.sheet h2 { font-size: 23px; letter-spacing: -.04em; }
.role-options { display: grid; gap: 9px; }
.role-option { width: 100%; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; padding: 13px; color: var(--text); background: var(--surface); text-align: left; }
.role-option.active { border-color: var(--primary); background: var(--surface-soft); }
.role-option strong { display: block; font-size: 13px; }
.role-option span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.form-group { display: grid; gap: 7px; margin-top: 14px; }
.form-group label { font-size: 11px; font-weight: 700; }
.form-control { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; color: var(--text); background: var(--bg); }
textarea.form-control { min-height: 90px; resize: vertical; }

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 92px;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 20px);
  padding: 11px 15px;
  border-radius: 13px;
  color: #fff;
  background: #25232e;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  font-size: 12px;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (min-width: 760px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100vh - 48px); border-radius: 30px; overflow: hidden; }
  .bottom-nav { bottom: 24px; border-radius: 0 0 30px 30px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151a;
    --surface: #222329;
    --surface-soft: #302c4d;
    --text: #f6f6f8;
    --muted: #aaaab3;
    --line: #36373f;
    --shadow: 0 18px 50px rgba(0,0,0,.35);
    color-scheme: dark;
  }
  html { background: #0b0c0f; }
  .topbar { background: rgba(20,21,26,.92); }
  .bottom-nav { background: rgba(34,35,41,.94); }
}

/* weface concept v2 */
:root {
  --bg: #f7f5f2;
  --surface: #fffefa;
  --surface-soft: #efeafd;
  --text: #211d2c;
  --muted: #77717f;
  --line: #e9e4e7;
  --primary: #694de6;
  --primary-dark: #5138ca;
  --accent: #ff765f;
  --shadow: 0 20px 60px rgba(32, 25, 58, .12);
}
html { background: #ded9e2; }
.app-shell { background: var(--bg); }
.topbar { background: rgba(247,245,242,.93); border-bottom-color: transparent; }
.brand { font-size: 25px; letter-spacing: -.075em; }
.brand::after { content: '●'; margin-left: 1px; color: var(--accent); font-size: 8px; vertical-align: top; }
.role-button { border: 1px solid var(--line); box-shadow: none; }
.icon-button { background: var(--surface); }
.page { padding: 20px 17px 120px; }
.page-header { align-items: center; margin-bottom: 20px; }
.page-header h1 { max-width: 330px; font-size: clamp(25px, 6.5vw, 33px); line-height: 1.02; letter-spacing: -.055em; }
.eyebrow { color: var(--primary); font-size: 10px; letter-spacing: .12em; }
.avatar { width: 46px; height: 46px; flex-basis: 46px; font-size: 12px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.avatar-business { background: linear-gradient(135deg, #e99875, #b34663); }
.avatar-creator { background: linear-gradient(135deg, #8b7cff, #e7a2d0); }
.avatar-face { background: linear-gradient(135deg, #36bda6, #9ecbc0); }
.section { margin-top: 26px; }
.section-head { margin-bottom: 12px; }
.section-head h2 { font-size: 18px; letter-spacing: -.035em; }
.text-button { color: var(--primary); font-size: 11px; }
.button { min-height: 46px; border-radius: 14px; transition: transform .18s ease, background .18s ease; }
.button:active, .quick-card:active, .filter-chip:active { transform: scale(.97); }
.button.primary { background: var(--primary); }
.button.light { color: var(--primary); background: #fff; }
.button.link { min-height: 34px; padding: 0; color: var(--primary); background: none; font-size: 11px; }
.button.outline { min-height: 39px; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.button.full { width: 100%; }
.stack { gap: 13px; }

.feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 265px;
  overflow: hidden;
  border-radius: 29px;
  padding: 23px;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 22px 42px rgba(44, 35, 95, .18);
}
.feature-business { background: linear-gradient(125deg, #33234e 0%, #6b3e75 57%, #df746f 115%); }
.feature-creator { background: linear-gradient(125deg, #26385f 0%, #745bc6 62%, #d8a8cf 120%); }
.feature-face { background: linear-gradient(125deg, #21454b 0%, #398b88 60%, #d6ba82 120%); }
.feature::before { content: ''; position: absolute; z-index: -1; width: 280px; height: 280px; right: -110px; top: -126px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.03); }
.feature-copy { position: relative; z-index: 2; width: 74%; }
.feature-kicker { margin: 0 0 18px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.feature h2 { max-width: 255px; margin: 0; font-size: 30px; line-height: .98; letter-spacing: -.06em; }
.feature p:not(.feature-kicker) { max-width: 250px; margin: 10px 0 15px; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.4; }
.feature .button { position: relative; z-index: 3; min-height: 37px; padding: 0 12px; white-space: nowrap; font-size: 10px; }
.feature-symbol { position: absolute; right: 8px; top: 8px; transform: rotate(-16deg); opacity: .82; font-family: Georgia, serif; font-size: 172px; line-height: 1; text-shadow: 0 28px 28px rgba(0,0,0,.16); }
.feature-creator .feature-symbol { right: -10px; top: 15px; font-size: 210px; }
.feature-face .feature-symbol { right: 3px; top: 23px; font-size: 135px; }
.feature-count { position: absolute; right: 17px; bottom: 21px; display: grid; justify-items: end; font-size: 26px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.feature-count span { margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }

.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.quick-card { min-height: 112px; display: grid; align-content: space-between; justify-items: start; border: 1px solid var(--line); border-radius: 20px; padding: 14px; color: var(--text); background: var(--surface); text-align: left; box-shadow: 0 5px 22px rgba(52,39,83,.04); }
.quick-icon { color: var(--primary); font-size: 21px; }
.quick-card strong { font-size: 16px; letter-spacing: -.04em; }
.quick-card > span:last-child { color: var(--muted); font-size: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { min-height: 77px; display: grid; align-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 17px; padding: 10px 5px; background: var(--surface); text-align: center; }
.stat strong { font-size: 19px; letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: 9px; }
.bottom-cta { margin-top: 24px; }

.creator-strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.creator-list { display: grid; gap: 12px; margin-top: 14px; }
.creator-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 22px; padding: 13px; background: var(--surface); }
.creator-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.portrait { width: 52px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: #fff; font-size: 14px; font-weight: 700; box-shadow: inset 0 -14px 20px rgba(0,0,0,.1); }
.portrait.rose { background: linear-gradient(145deg, #d3a2ae, #8c517b); }
.portrait.peach { background: linear-gradient(145deg, #e9b49b, #b16d77); }
.portrait.mint { background: linear-gradient(145deg, #8fbbad, #397977); }
.portrait.small { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; font-size: 11px; }
.match-badge { white-space: nowrap; border-radius: 999px; padding: 6px 7px; color: var(--primary); background: var(--surface-soft); font-size: 9px; font-weight: 750; }
.creator-card h3 { overflow: hidden; margin: 12px 0 3px; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; letter-spacing: -.03em; }
.creator-card p { margin: 0; color: var(--muted); font-size: 10px; }
.creator-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--line); }
.creator-bottom span { color: var(--muted); font-size: 10px; }
.creator-bottom .button { min-height: 29px; font-size: 10px; }
.saved-label { display: inline-block; margin-top: 6px; color: var(--success); font-size: 9px; font-weight: 700; }
.creator-list .creator-card { display: grid; grid-template-columns: 58px 1fr auto; column-gap: 11px; align-items: center; }
.creator-list .creator-top { grid-row: span 3; display: block; }
.creator-list .creator-top .match-badge { display: none; }
.creator-list .creator-card h3 { grid-column: 2; margin: 0; }
.creator-list .creator-card p { grid-column: 2; }
.creator-list .creator-bottom { grid-column: 3; grid-row: 1 / span 3; display: grid; justify-items: end; margin: 0; padding: 0; border: 0; }
.creator-list .saved-label { grid-column: 2; }
.match-intro { display: flex; align-items: center; gap: 13px; border-radius: 20px; padding: 15px; color: #fff; background: linear-gradient(120deg,#694de6,#9a7eef); }
.match-intro > span { font-size: 38px; }
.match-intro strong { font-size: 16px; }
.match-intro p { margin: 4px 0 0; color: rgba(255,255,255,.84); font-size: 11px; line-height: 1.35; }

.filter-row { display: flex; gap: 7px; overflow-x: auto; margin: 17px -17px 14px; padding: 0 17px 4px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { min-height: 35px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 700; }
.filter-chip.active { border-color: var(--primary); color: #fff; background: var(--primary); }
.search-box { min-height: 48px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 15px; padding: 0 14px; background: var(--surface); }
.search-box span { color: var(--primary); font-size: 23px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: none; color: var(--text); background: transparent; font-size: 13px; }
.empty-state { border: 1px dashed var(--line); border-radius: 19px; padding: 30px 18px; color: var(--muted); font-size: 12px; text-align: center; }

.art { position: relative; min-height: 128px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.art::before { content: ''; position: absolute; z-index: -1; width: 180px; height: 180px; right: -35px; top: -80px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.07), 0 0 0 49px rgba(255,255,255,.06); }
.art-flower { color: #fff; background: linear-gradient(135deg,#6f365d,#e59a89); }
.art-coffee { color: #fff; background: linear-gradient(135deg,#6e4939,#d4a36c); }
.art-travel { color: #fff; background: linear-gradient(135deg,#255c73,#77aa9e); }
.art-wellness { color: #fff; background: linear-gradient(135deg,#456d64,#add2bd); }
.art-glyph { transform: rotate(-12deg); font-family: Georgia, serif; font-size: 87px; line-height: 1; text-shadow: 0 16px 19px rgba(0,0,0,.18); }
.art-flower .art-glyph { font-size: 102px; }
.art-wellness .art-glyph { font-size: 112px; }
.art-caption { position: absolute; right: 11px; bottom: 9px; font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.offer-card { display: grid; grid-template-columns: 116px minmax(0,1fr); min-height: 156px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 5px 22px rgba(52,39,83,.04); }
.offer-card .art { height: 100%; min-height: 156px; }
.offer-card .art-glyph { font-size: 62px; }
.offer-content { min-width: 0; padding: 10px 12px; }
.offer-top { display: flex; align-items: center; justify-content: space-between; }
.offer-card h3 { margin: 7px 0 3px; font-size: 14px; line-height: 1.1; letter-spacing: -.03em; }
.offer-card p { margin: 0; color: var(--muted); font-size: 10px; }
.offer-card .chip-row { gap: 4px; margin-top: 8px; }
.offer-card .chip { min-height: 22px; padding: 4px 6px; font-size: 8px; }
.offer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 5px; }
.offer-bottom > span { color: var(--muted); font-size: 9px; }
.save-button { width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--muted); background: var(--bg); font-size: 20px; line-height: 1; }
.save-button.saved { color: var(--accent); }

.mission-card { display: grid; grid-template-columns: 108px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.mission-card .art { height: 100%; min-height: 166px; }
.mission-card .art-glyph { font-size: 62px; }
.mission-content { min-width: 0; padding: 13px 12px; }
.mission-card h3 { margin: 6px 0 3px; font-size: 14px; line-height: 1.12; }
.mission-card p { margin: 0; color: var(--muted); font-size: 10px; }
.mission-reward { display: grid; margin-top: 10px; }
.mission-reward span { color: var(--muted); font-size: 9px; }
.mission-reward strong { color: var(--primary); font-size: 15px; }
.mission-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 4px; }
.pill { display: inline-block; max-width: 140px; overflow: hidden; border-radius: 999px; padding: 5px 7px; color: var(--muted); background: var(--bg); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pill-success { color: var(--success); background: rgba(21,155,107,.1); }
.info-card { display: flex; align-items: flex-start; gap: 12px; border-radius: 18px; padding: 15px; background: var(--surface-soft); }
.info-card > span { color: var(--primary); font-size: 24px; }
.info-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.mission-note { margin-top: 18px; }

.campaign-list { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.campaign-row { width: 100%; min-height: 68px; display: flex; align-items: center; gap: 11px; border: 0; border-bottom: 1px solid var(--line); padding: 11px 13px; color: var(--text); background: transparent; text-align: left; }
.campaign-row:last-child { border-bottom: 0; }
.campaign-icon { width: 42px; height: 42px; display: grid; flex: 0 0 42px; place-items: center; border-radius: 13px; color: var(--primary); background: var(--surface-soft); font-size: 21px; }
.campaign-copy { flex: 1; min-width: 0; }
.campaign-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.campaign-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.row-arrow { color: var(--primary); font-size: 18px; }
.plan-card { display: flex; gap: 10px; border-radius: 21px; padding: 19px; color: #fff; background: #2d2546; }
.plan-card > div { flex: 1; }
.plan-card .eyebrow { color: #bfb0ff; }
.plan-card h3 { margin: 5px 0; font-size: 16px; line-height: 1.12; }
.plan-card p { margin: 0; color: #c8c1d6; font-size: 10px; line-height: 1.4; }
.plan-number { white-space: nowrap; font-size: 21px; font-weight: 800; }
.plan-number small { color: #c8c1d6; font-size: 9px; font-weight: 500; }
.tab-heading { margin: 6px 0 12px; font-size: 16px; font-weight: 700; }
.tab-heading span { color: var(--primary); }
.work-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 19px; padding: 13px; background: var(--surface); }
.work-marker { width: 52px; height: 52px; display: grid; flex: 0 0 52px; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg,#a65c8d,#eeb19a); font-size: 26px; }
.work-card > div { flex: 1; min-width: 0; }
.work-card h3 { margin: 3px 0; font-size: 13px; }
.work-card p { margin: 0; color: var(--muted); font-size: 10px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.portfolio-grid .art { min-height: 104px; border-radius: 15px; }
.portfolio-grid .art-glyph { font-size: 55px; }
.journey-card { border: 1px solid var(--line); border-radius: 19px; padding: 16px; background: var(--surface); }
.journey-top { display: flex; justify-content: space-between; gap: 9px; font-size: 10px; }
.journey-top strong { color: var(--primary); }
.journey-card .progress { margin-top: 12px; }
.journey-card p { margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.profile-card { display: grid; justify-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 25px; padding: 23px; background: var(--surface); text-align: center; }
.avatar-large { width: 68px; height: 68px; font-size: 17px; }
.profile-card h2 { margin: 5px 0 0; font-size: 20px; }
.profile-card p { margin: 0 0 7px; color: var(--muted); font-size: 11px; }
.bottom-nav { background: rgba(255,254,250,.95); }
.nav-button { min-height: 57px; }
.nav-button span:first-child { font-size: 23px; }
.nav-button.active { color: var(--primary); background: transparent; }
.nav-button.active span:first-child { width: 35px; height: 31px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-soft); }
.role-option { min-height: 66px; }
.role-option > span:nth-child(2) { flex: 1; }
.role-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.role-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--surface-soft); font-size: 24px; }
.role-arrow { color: var(--primary); font-size: 18px; }
.sheet-content { padding: 10px 19px 28px; }
.sheet-heading { margin-bottom: 17px; }
.sheet .art { min-height: 158px; margin: 0 0 16px; border-radius: 19px; }
.dialog-facts { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.dialog-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
.dialog-facts > div:last-child { border: 0; }
.dialog-facts span { color: var(--muted); }
.dialog-facts strong { text-align: right; }
.dialog-copy { margin: 15px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.success-note { margin-top: 14px; border-radius: 15px; padding: 14px; color: var(--success); background: rgba(21,155,107,.1); font-size: 12px; }
.profile-preview { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.profile-preview .portrait { width: 70px; height: 75px; flex: 0 0 70px; }
.profile-preview strong { color: var(--primary); font-size: 14px; }
.profile-preview p { color: var(--muted); font-size: 11px; line-height: 1.4; }
.timeline { display: grid; gap: 11px; margin: 18px 0; }
.timeline div { display: flex; gap: 11px; align-items: center; font-size: 11px; }
.timeline b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); }

@media (max-width: 380px) {
  .page { padding-inline: 13px; }
  .feature { min-height: 255px; padding: 18px; }
  .feature h2 { font-size: 26px; }
  .feature-symbol { right: -16px; font-size: 143px; }
  .feature-creator .feature-symbol { font-size: 176px; }
  .feature-count { right: 13px; font-size: 22px; }
  .filter-row { margin-inline: -13px; padding-inline: 13px; }
  .creator-card { padding: 10px; }
  .creator-card h3 { font-size: 12px; }
  .match-badge { font-size: 8px; }
}

@media (prefers-color-scheme: dark) {
  :root { --bg:#17151e; --surface:#24212d; --surface-soft:#342c52; --text:#f7f4fb; --muted:#b4acbc; --line:#3d3846; }
  html { background:#0d0c11; }
  .topbar { background:rgba(23,21,30,.93); }
  .bottom-nav { background:rgba(36,33,45,.96); }
  .quick-card,.creator-card,.offer-card,.mission-card,.campaign-list,.journey-card,.profile-card,.stat { box-shadow:none; }
  .save-button { background:#2e2a38; }
}

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

/* Bookings and UGC offers */
.bottom-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nav-button { min-width: 0; padding-inline: 2px; }
.nav-button span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.next-booking {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 12px;
  color: var(--text);
  background: var(--surface);
  text-align: left;
  box-shadow: 0 8px 24px rgba(55, 39, 91, .05);
}
.next-booking-icon {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 13px;
  color: var(--primary);
  background: var(--surface-soft);
  font-size: 24px;
}
.next-booking > span:nth-child(2) { flex: 1; min-width: 0; }
.next-booking small, .next-booking strong, .next-booking em { display: block; }
.next-booking small { margin-bottom: 3px; color: var(--primary); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.next-booking strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.next-booking em { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.calendar-intro { display: flex; gap: 11px; align-items: center; border-radius: 17px; padding: 13px; color: #fff; background: linear-gradient(120deg, #5d48c5, #9478d8); }
.calendar-intro span { font-size: 31px; }
.calendar-intro p { margin: 0; font-size: 11px; line-height: 1.4; }
.calendar-box { margin-top: 17px; border: 1px solid var(--line); border-radius: 23px; padding: 15px 12px; background: var(--surface); }
.calendar-month { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 16px; }
.calendar-month h2 { margin: 0; font-size: 17px; text-transform: capitalize; }
.month-arrow { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 11px; color: var(--primary); background: var(--bg); font-size: 18px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.calendar-weekdays { margin-bottom: 5px; }
.calendar-weekdays span { padding: 5px 0; color: var(--muted); font-size: 10px; text-align: center; }
.calendar-day { position: relative; min-width: 0; height: 43px; display: grid; place-items: center; border: 0; border-radius: 11px; color: var(--text); background: transparent; font-size: 12px; }
.calendar-day.is-today { color: var(--primary); font-weight: 750; }
.calendar-day.is-selected { color: #fff; background: var(--primary); font-weight: 750; }
.calendar-day i { position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.calendar-day.is-selected i { background: #fff; }
.calendar-agenda { display: grid; gap: 8px; }
.calendar-event { width: 100%; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 12px; color: var(--text); background: var(--surface); text-align: left; }
.calendar-event.is-pending { opacity: .76; }
.calendar-time { min-width: 42px; color: var(--primary); font-size: 12px; font-weight: 750; }
.calendar-event-main { flex: 1; min-width: 0; }
.calendar-event-main strong, .calendar-event-main small { display: block; }
.calendar-event-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.calendar-event-main small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.calendar-status { color: var(--success); font-size: 11px; font-weight: 700; }
.calendar-event.is-pending .calendar-status { color: var(--muted); }

.checkin-cta { margin: 14px 16px; }
.qr-pass { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.qr-pass .eyebrow { display: block; color: var(--primary); }
.qr-image { width: min(100%, 260px); min-height: 220px; display: grid; place-items: center; margin: 14px auto; padding: 10px; border-radius: 16px; background: #fff; }
.qr-image svg { width: 100%; max-width: 240px; height: auto; }
.qr-pass strong { display: block; font-size: 14px; }
.qr-pass p { max-width: 280px; margin: 8px auto 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.qr-pass code { display: inline-block; padding: 8px 12px; border-radius: 10px; background: var(--surface-soft); color: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .08em; overflow-wrap: anywhere; }
.qr-reader { overflow: hidden; border-radius: 16px; }
.scanner-status { margin: 8px 0 16px; color: var(--muted); font-size: 11px; }
.reminder-card { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 17px; padding: 14px; background: var(--surface); }
.reminder-card > span { color: var(--primary); font-size: 25px; }
.reminder-card strong { font-size: 12px; }
.reminder-card p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.demo-caption { margin: 17px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.section-kicker { color: var(--muted); font-size: 10px; }
.ugc-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 193px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.ugc-card-art { position: relative; min-height: 193px; display: grid; place-items: center; overflow: hidden; color: #fff; }
.ugc-card-art::before { content: ''; position: absolute; width: 130px; height: 130px; right: -45px; top: -30px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.06); }
.ugc-card-art > span { transform: rotate(-14deg); font-family: Georgia,serif; font-size: 63px; text-shadow: 0 15px 20px rgba(0,0,0,.2); }
.ugc-card-art small { position: absolute; left: 9px; bottom: 12px; font-size: 9px; font-weight: 700; }
.ugc-card-content { min-width: 0; display: grid; align-content: start; gap: 5px; padding: 13px 12px; }
.ugc-card h3 { margin: 0; font-size: 14px; line-height: 1.16; }
.ugc-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.3; }
.ugc-reward { display: grid; gap: 2px; margin-top: 4px; }
.ugc-reward span { color: var(--muted); font-size: 9px; }
.ugc-reward strong { color: var(--primary); font-size: 12px; line-height: 1.2; }
.ugc-bonus { color: var(--success); font-size: 9px; line-height: 1.3; }
.ugc-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 3px; }
.ugc-card-bottom > span { color: var(--muted); font-size: 9px; }
.ugc-card-bottom .button { white-space: nowrap; }
.ugc-bonus-detail { margin: 13px 0; border-radius: 14px; padding: 13px; color: var(--success); background: rgba(21,155,107,.1); }
.ugc-bonus-detail strong { font-size: 12px; }
.ugc-bonus-detail p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; }
.ugc-application-list { display: grid; gap: 9px; margin-top: 14px; }
.ugc-application { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 15px; padding: 11px; }
.ugc-application > div { flex: 1; min-width: 0; }
.ugc-application strong, .ugc-application small { display: block; }
.ugc-application strong { font-size: 12px; }
.ugc-application small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.ugc-application p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.verified-views-label { display: grid; gap: 5px; margin-top: 10px; color: var(--muted); font-size: 10px; }
.verified-views-label input { width: 100%; min-height: 35px; border: 1px solid var(--line); border-radius: 9px; padding: 6px 8px; color: var(--text); background: var(--bg); }
.ugc-application .button { min-height: 34px; padding: 0 9px; font-size: 10px; }
.notification-list { display: grid; gap: 8px; }
.notification-row { display: grid; gap: 4px; margin-top: 9px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface); }
.notification-row strong { font-size: 12px; }
.notification-row small { color: var(--muted); font-size: 10px; }
.form-help { margin: 10px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
@media (max-width: 380px) {
  .ugc-card { grid-template-columns: 94px minmax(0, 1fr); }
  .ugc-card-content { padding: 11px 9px; }
  .ugc-card h3 { font-size: 12px; }
  .ugc-card-art { min-height: 193px; }
  .ugc-card-art > span { font-size: 52px; }
  .nav-button span:last-child { font-size: 7px; }
}

/* v1: статусы и карточка сотрудничества */
.pill-warn { color: #9a6410; background: rgba(244,165,37,.16); }
.pill-danger { color: var(--danger); background: rgba(223,77,97,.12); }
.pill-muted { color: var(--muted); background: var(--bg); }
.timeline b { flex: 0 0 24px; font-size: 11px; }
.timeline b.pending { color: var(--primary); background: transparent; border: 1.5px dashed var(--primary); }
.timeline b.bad { background: var(--danger); }
.timeline b.end { background: var(--muted); }
.timeline span { line-height: 1.4; }
.section-label { margin: 18px 0 8px; font-size: 12px; font-weight: 700; }
.slot-list { display: grid; gap: 8px; min-width: 0; margin: 16px 0 0; padding: 0; border: 0; }
.slot-list legend { margin-bottom: 8px; padding: 0; font-size: 11px; font-weight: 700; }
.slot-option { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 12px; cursor: pointer; }
.slot-option:has(input:checked) { border-color: var(--primary); background: var(--surface-soft); }
.slot-option input, .check-row input { accent-color: var(--primary); }
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.action-row .button { width: 100%; padding: 0 8px; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.warn-note { margin-top: 14px; border-radius: 15px; padding: 14px; color: #9a6410; background: rgba(244,165,37,.14); font-size: 12px; line-height: 1.45; }
.page > .warn-note { margin: 0 0 14px; }
.rating { display: flex; gap: 6px; }
.rating .button { flex: 1; min-height: 42px; padding: 0; font-size: 12px; }
.check-row { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 12px; }
.demo-skip { display: block; margin-top: 10px; }
.demo-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.campaign-row .pill { flex: 0 0 auto; }
.feature-business p:not(.feature-kicker) { max-width: 205px; }
@media (prefers-color-scheme: dark) {
  .pill-warn, .warn-note { color: #f4c26b; }
}

/* planner.js: свои записи и события сотрудничеств в календаре */
.planner-add { margin-top: 14px; }
.planner-add .form-help { margin: 8px 2px 0; }
.planner-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.planner-row .form-control { min-width: 0; }
.calendar-event.is-own { border-style: dashed; }
.calendar-event.is-deadline .calendar-time, .calendar-event.is-deadline .calendar-status { color: #a5620c; }
@media (prefers-color-scheme: dark) {
  .calendar-event.is-deadline .calendar-time, .calendar-event.is-deadline .calendar-status { color: #f4c26b; }
}

/* planner.js: занятость автора */
.busy-list { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.busy-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
.busy-list > div:last-child { border-bottom: 0; }
.busy-list strong { color: var(--danger); }
.slot-option.is-busy { opacity: .55; cursor: not-allowed; }
.toggle-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; color: var(--text); background: var(--surface); text-align: left; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: 12px; }
.toggle-row small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.toggle { position: relative; flex: 0 0 42px; height: 24px; border-radius: 999px; background: var(--line); transition: background .2s ease; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.toggle.on { background: var(--primary); }
.toggle.on::after { transform: translateX(18px); }

/* chat.js: круги и личные сообщения */
.chat-button { position: relative; }
.chat-button[hidden] { display: none; }
.chat-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; }
.chat-badge[hidden] { display: none; }
.topbar:has(> .chat-button:not([hidden])) { grid-template-columns: 1fr auto 42px; column-gap: 6px; }
.chat-row { min-width: 0; }
.chat-row .campaign-copy { min-width: 0; }
.chat-row .campaign-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-meta { display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; color: var(--muted); font-size: 10px; }
.chat-unread { min-width: 20px; padding: 2px 6px; border-radius: 999px; color: #fff; background: var(--primary); font-size: 10px; font-weight: 800; text-align: center; }
.chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head .eyebrow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head h1 { margin: 2px 0 0; overflow: hidden; font-size: 23px; letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.chat-thread { display: grid; gap: 10px; padding-bottom: 6px; }
.msg { justify-self: start; max-width: 84%; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 10px 12px; background: var(--surface); }
.msg.mine { justify-self: end; border-color: transparent; border-radius: 18px 18px 6px 18px; color: #fff; background: var(--primary); }
.msg p { margin: 0; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.msg-author { display: block; margin-bottom: 4px; border: 0; padding: 0; color: var(--primary); background: none; font-size: 11px; font-weight: 800; text-align: left; }
.msg-author span { color: var(--muted); font-weight: 600; }
.msg-foot { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.msg.mine .msg-foot { color: rgba(255,255,255,.78); text-align: right; }
.msg-report { border: 0; padding: 0; color: inherit; background: none; font-size: 9px; text-decoration: underline; }
.chat-composer { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom)); display: flex; gap: 8px; margin-top: 12px; padding: 8px 0; background: var(--bg); }
.chat-composer .form-control { flex: 1; min-width: 0; }
.chat-composer .button { flex: 0 0 48px; padding: 0; }
.chat-composer .button.full { flex: 1 1 auto; }
.chat-composer .note { margin: 0; }

/* chat.js: совместная съёмка */
.chat-composer .chat-plus { flex: 0 0 46px; width: 46px; height: 46px; font-size: 18px; }
.msg.meet { display: grid; gap: 5px; justify-self: stretch; max-width: none; border: 1px solid var(--primary); border-radius: 18px; background: var(--surface-soft); }
.msg.meet strong { font-size: 14px; line-height: 1.3; }
.meet-when { font-size: 12px; font-weight: 700; }
.meet-meta { color: var(--muted); font-size: 11px; }
.msg.meet .action-row { margin-top: 6px; }
.msg.meet .button.link { justify-self: start; min-height: 28px; }
.meet-state { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.meet-state.ok { color: var(--success); font-weight: 700; }
.msg.meet.is-cancelled { border-color: var(--line); opacity: .65; }
.msg.meet.is-cancelled strong { text-decoration: line-through; }
.msg-system { justify-self: center; max-width: 90%; border-radius: 999px; padding: 4px 10px; color: var(--muted); background: var(--surface); font-size: 10px; text-align: center; }

/* hub.js: публичный профиль, проекты, идеи для бизнеса */
.pub-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; border: 1px dashed var(--primary); border-radius: 14px; padding: 7px 7px 7px 12px; font-size: 12px; font-weight: 700; }
.pub-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-link .button { flex: 0 0 auto; min-height: 34px; padding: 0 12px; font-size: 11px; }
.heat-box { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--surface); }
.heat { display: grid; grid-template-rows: repeat(7, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.heat-cell { aspect-ratio: 1; border-radius: 3px; background: var(--line); }
.heat-cell.lx { background: transparent; }
.heat-cell.l1, .heat-scale .l1 { background: rgba(105, 77, 230, .35); }
.heat-cell.l2, .heat-scale .l2 { background: rgba(105, 77, 230, .65); }
.heat-cell.l3, .heat-scale .l3 { background: var(--primary); }
.heat-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 9px; color: var(--muted); font-size: 10px; }
.heat-scale { display: inline-flex; align-items: center; gap: 3px; }
.heat-scale i { width: 10px; height: 10px; border-radius: 2px; }
.heat-scale .l0 { background: var(--line); }
.project-card { width: 100%; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 10px; color: var(--text); background: var(--surface); text-align: left; }
.project-thumb { flex: 0 0 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; color: #fff; font-size: 28px; }
.project-hero { height: 150px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 22px; color: #fff; font-size: 64px; }
.project-copy { flex: 1; min-width: 0; display: grid; gap: 3px; }
.project-copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.project-copy small { color: var(--muted); font-size: 10px; }
.project-copy em { color: #a5620c; font-size: 10px; font-style: normal; }
.avatars { display: flex; gap: 4px; margin-top: 2px; }
.portrait.tiny { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; font-size: 8px; box-shadow: none; }
@media (prefers-color-scheme: dark) {
  .project-copy em { color: #f4c26b; }
}

/* Influencer profile: media kit (profile.js) */
.portrait.has-photo, .avatar.has-photo { overflow: hidden; padding: 0; background: var(--line); }
.portrait img, .avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.portrait.xl { width: 92px; height: 92px; border: 4px solid var(--surface); border-radius: 30px; font-size: 24px; box-shadow: 0 10px 26px rgba(32,25,58,.18); }
.mk-hero { display: grid; justify-items: center; overflow: hidden; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 24px; padding: 0 16px 16px; background: var(--surface); text-align: center; }
.mk-cover { justify-self: stretch; height: 84px; margin: 0 -16px; }
.mk-cover.rose { background: linear-gradient(120deg, #f2cdd6, #b47a99 55%, #8c517b); }
.mk-cover.peach { background: linear-gradient(120deg, #f7d9c4, #dba08f 55%, #b16d77); }
.mk-cover.mint { background: linear-gradient(120deg, #cfe6dc, #8fbbad 55%, #397977); }
.mk-face { margin-top: -46px; }
.mk-hero h2 { margin: 10px 0 2px; font-size: 20px; letter-spacing: -.04em; }
.mk-verified { display: inline-grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-size: 10px; vertical-align: 2px; }
.mk-handle { margin: 0; color: var(--muted); font-size: 11px; }
.mk-bio { max-width: 330px; margin: 10px 0 0; font-size: 12px; line-height: 1.5; }
.mk-bio.mk-empty { color: var(--muted); }
.mk-hero .chip-row { justify-content: center; margin-top: 11px; }
.mk-langs { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.mk-actions { margin-top: 12px; }
.mk-progress { display: grid; gap: 8px; margin: 0 0 12px; border-radius: 16px; padding: 12px 14px; background: var(--surface-soft); }
.mk-progress strong { display: block; font-size: 12px; }
.mk-progress span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.mk-progress b, .mk-bar b { overflow: hidden; height: 7px; border-radius: 99px; background: var(--line); }
.mk-progress i, .mk-bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.mk-pf { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .02em; }
.mk-pf.mini { display: inline-grid; flex: 0 0 auto; width: auto; min-width: 19px; height: 15px; padding: 0 3px; border-radius: 5px; font-size: 7px; }
.pf-instagram { background: linear-gradient(135deg, #f9a03f, #e1306c 55%, #8a3ab9); }
.pf-tiktok { background: #111; box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }
.pf-youtube { background: #e62117; }
.pf-telegram { background: #2aa3e0; }
.pf-site { background: #5d6475; }
.mk-freq { display: flex !important; align-items: center; gap: 5px; }
.mk-freq i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--muted); }
.mk-freq i.on { background: var(--success); }
.button.mk-add { margin-top: 12px; }
.mk-audience { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--surface); }
.mk-bar { display: grid; grid-template-columns: 86px 1fr 34px; align-items: center; gap: 8px; font-size: 11px; }
.mk-bar span { color: var(--muted); }
.mk-bar strong { text-align: right; }
.mk-age { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; font-size: 11px; }
.mk-age span { color: var(--muted); }
.mk-formats { margin-top: 0; }
.mk-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.mk-sample { display: grid; min-width: 0; align-content: start; gap: 4px; border: 0; padding: 0; color: var(--text); background: none; font: inherit; text-align: left; }
.mk-thumb { position: relative; display: grid; overflow: hidden; aspect-ratio: 4 / 5; place-items: center; border-radius: 16px; font-size: 38px; }
.mk-thumb.wide { aspect-ratio: 16 / 10; margin-bottom: 14px; font-size: 54px; }
.mk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-thumb .mk-pf { position: absolute; top: 8px; left: 8px; }
.mk-views { position: absolute; bottom: 8px; left: 8px; border-radius: 99px; padding: 3px 7px; color: #fff; background: rgba(0,0,0,.48); font-size: 10px; font-weight: 700; }
.mk-sample strong { display: -webkit-box; overflow: hidden; margin-top: 3px; font-size: 11px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mk-sample small { color: var(--muted); font-size: 10px; }
.mk-strip { display: flex; flex-wrap: wrap; gap: 4px 9px; }
.mk-strip > span { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.creator-card .mk-mini { margin-top: 5px; color: var(--text); }
.mk-card-strip { margin: -4px 0 10px; }
.mk-card-bio { margin: 0 0 14px; }
.mk-photo-row { display: flex; align-items: center; gap: 14px; }
.mk-photo-row .form-group { flex: 1; min-width: 0; margin-top: 0; }
.mk-inline { display: flex; align-items: center; gap: 7px; font-weight: 500 !important; }
.mk-label { font-size: 11px; font-weight: 700; }
.mk-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-chip { position: relative; }
.mk-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mk-chip span { display: inline-flex; min-height: 32px; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 0 12px; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 700; }
.mk-chip input:checked + span { border-color: var(--primary); color: #fff; background: var(--primary); }
.mk-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.mk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk-photo-row input[type="file"] { min-height: 42px; padding: 8px 10px; font-size: 11px; }

/* weface Match feed for businesses (match.js) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 12px; border-radius: 14px; padding: 4px; background: var(--surface-soft); }
.seg button { min-height: 34px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; }
.seg button.active { color: var(--text); background: var(--surface); box-shadow: 0 2px 8px rgba(32,25,58,.08); }
.page:has(> .feed) { padding-bottom: 0; }
.feed-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 10px; }
.feed-bar > div { min-width: 0; }
.feed-bar .eyebrow { margin: 0 0 2px; }
.feed-bar strong { display: block; overflow: hidden; font-size: 16px; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.feed-bar .seg { flex: 0 0 158px; margin: 0; }
.feed { height: 560px; overflow-y: auto; overscroll-behavior: contain; border-radius: 24px; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.feed:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.reel { position: relative; height: 100%; overflow: hidden; margin-bottom: 10px; border-radius: 24px; color: #fff; background: #1b1724; scroll-snap-align: start; scroll-snap-stop: always; }
.reel:last-child { margin-bottom: 0; }
.reel-media { position: absolute; inset: 0; display: grid; place-items: center; }
.reel-media.rose { background: linear-gradient(160deg, #f2cdd6, #b47a99 45%, #4a2443); }
.reel-media.peach { background: linear-gradient(160deg, #f7d9c4, #dba08f 45%, #5e2f3a); }
.reel-media.mint { background: linear-gradient(160deg, #cfe6dc, #8fbbad 45%, #1d4644); }
.reel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-media::before { content: ''; position: absolute; inset: 0 0 72%; z-index: 1; background: linear-gradient(rgba(0,0,0,.38), transparent); }
.reel-media::after { content: ''; position: absolute; inset: 30% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(0,0,0,.82) 70%); }
.reel-glyph { margin-bottom: 38%; font-size: 120px; }
.reel-initials { margin-bottom: 40%; font-size: 96px; font-weight: 800; letter-spacing: -.05em; opacity: .92; }
.reel-bars { position: absolute; top: 10px; right: 12px; left: 12px; z-index: 2; display: flex; gap: 4px; }
.reel-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.4); }
.reel-bars i.on { background: #fff; }
.reel-caption { position: absolute; top: 24px; right: 60px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.reel-tap { position: absolute; top: 0; bottom: 48%; z-index: 3; width: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.reel-tap.prev { left: 0; }
.reel-tap.next { right: 0; }
.reel-save { position: absolute; top: 22px; right: 12px; z-index: 4; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.32); font-size: 20px; backdrop-filter: blur(8px); }
.reel-save.on { color: #ff6b88; }
.reel-bottom { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.reel-bottom h2 { margin: 2px 0 0; color: #fff; font-size: 24px; letter-spacing: -.04em; }
.reel-handle { margin: 0; font-size: 12px; opacity: .9; }
.reel-status { justify-self: start; max-width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; padding: 5px 10px; color: #fff; background: rgba(0,0,0,.35); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(8px); }
.reel-bio { display: -webkit-box; overflow: hidden; margin: 0; font-size: 12px; line-height: 1.4; opacity: .92; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.reel .mk-strip > span { color: #fff; }
.reel-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 6px; }
.reel-actions .button { min-height: 46px; overflow: hidden; padding: 0 16px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 370px) { .reel-actions .button { padding: 0 11px; font-size: 12px; } }
.button.glass { border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.reel-end { display: grid; align-content: center; justify-items: center; gap: 12px; border: 1px solid var(--line); padding: 24px; color: var(--text); background: var(--surface); text-align: center; }
.reel-end > span { color: var(--primary); font-size: 34px; }
.reel-end h2 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.reel-end p { margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.fit-badge { justify-self: start; display: inline-flex; border-radius: 99px; padding: 6px 10px; color: var(--primary); background: rgba(255,255,255,.95); font-size: 12px; font-weight: 800; }
.fit-inline { color: var(--primary); }
.fit-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 0; }
.fit-stats div { border-radius: 14px; padding: 9px 3px; background: var(--bg); text-align: center; }
.fit-stats strong { display: block; font-size: 15px; letter-spacing: -.04em; }
.fit-stats span { color: var(--muted); font-size: 9px; }
.fit-label { margin: 16px 0 8px; font-size: 11px; font-weight: 800; }
.fit-why { display: grid; gap: 6px; margin: 0; padding: 0; font-size: 12px; line-height: 1.35; list-style: none; }
.fit-why li { position: relative; padding-left: 20px; }
.fit-why li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.fit-why li.warn { color: #9a6410; }
.fit-why li.warn::before { content: '!'; left: 4px; color: var(--warning); }
.fit-formats { margin-top: 0; }
.fit-box { display: grid; gap: 13px; border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--surface); }
.fit-total { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.fit-total strong { color: var(--primary); font-size: 34px; letter-spacing: -.06em; }
.fit-total span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.fit-row { display: grid; gap: 5px; }
.fit-row > div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.fit-row strong { font-size: 11px; }
.fit-row b { overflow: hidden; height: 6px; border-radius: 99px; background: var(--line); }
.fit-row i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.fit-row small { color: var(--muted); font-size: 10px; line-height: 1.4; }
@media (prefers-color-scheme: dark) {
  .fit-why li.warn { color: #f4c26b; }
}

/* Community for creators and Faces (community.js) */
.seg.three { grid-template-columns: repeat(3, 1fr); }
.seg-badge { display: inline-grid; min-width: 17px; height: 17px; place-items: center; margin-left: 2px; border-radius: 99px; padding: 0 4px; color: #fff; background: var(--accent); font-size: 10px; }
.reel-why { margin: 0; font-size: 12px; font-weight: 700; }
.fit-stats.three { grid-template-columns: repeat(3, 1fr); }
.idea-card { display: grid; gap: 9px; border: 1px solid var(--line); border-radius: 20px; padding: 14px; background: var(--surface); }
.idea-card.mine { border-color: var(--primary); }
.idea-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.idea-author { display: flex; min-width: 0; align-items: center; gap: 10px; border: 0; padding: 0; color: var(--text); background: none; font: inherit; text-align: left; }
.idea-author > span:last-child { display: grid; min-width: 0; }
.idea-author strong { font-size: 12px; }
.idea-author small { color: var(--muted); font-size: 10px; }
.idea-head .chip { flex: 0 0 auto; }
.idea-card h3 { margin: 2px 0 0; font-size: 15px; letter-spacing: -.03em; }
.idea-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.idea-card > p.idea-needs { color: var(--text); }
.idea-team { display: flex; align-items: center; gap: 8px; }
.idea-team small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.idea-card > p.idea-empty { font-size: 11px; }
.idea-actions { display: grid; gap: 4px; }
.idea-actions .note { margin: 0; }
.idea-actions .meet-state { margin: 0; }
.chat-head-actions { display: flex; flex: 0 0 auto; gap: 12px; margin-left: auto; }
.chat-head:has(.chat-head-actions) h1 { display: -webkit-box; font-size: 20px; line-height: 1.15; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.chat-head-actions { flex-direction: column; align-items: flex-end; gap: 2px; }
.chat-head-actions .text-button { padding: 3px 0; }
@media (max-width: 370px) {
  .feed-bar .seg { flex-basis: 128px; }
  .feed-bar strong { font-size: 15px; }
}

/* Search like Instagram: tile grid (match.js) */
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 4px; margin-top: 12px; }
.explore-tile { position: relative; display: grid; overflow: hidden; aspect-ratio: 1; place-items: center; border: 0; border-radius: 10px; padding: 0; color: #fff; font: inherit; }
.explore-tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.explore-tile.rose { background: linear-gradient(150deg, #f2cdd6, #8c517b); }
.explore-tile.peach { background: linear-gradient(150deg, #f7d9c4, #b16d77); }
.explore-tile.mint { background: linear-gradient(150deg, #cfe6dc, #397977); }
.explore-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explore-tile::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }
.tile-glyph { margin-bottom: 18%; font-size: 34px; }
.tile-initials { margin-bottom: 18%; font-size: 26px; font-weight: 800; }
.explore-tile.big .tile-glyph { font-size: 76px; }
.explore-tile.big .tile-initials { font-size: 56px; }
.tile-meta { position: absolute; right: 7px; bottom: 6px; left: 7px; z-index: 1; display: grid; text-align: left; }
.tile-fit { font-size: 10px; font-weight: 800; }
.tile-name { overflow: hidden; font-size: 10px; opacity: .92; text-overflow: ellipsis; white-space: nowrap; }
.explore-tile.big .tile-fit, .explore-tile.big .tile-name { font-size: 13px; }
.tile-flags { position: absolute; top: 6px; right: 7px; z-index: 1; display: flex; gap: 4px; font-size: 12px; font-style: normal; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.tile-flags i { font-style: normal; }
.tile-tag { position: absolute; top: 6px; left: 6px; z-index: 1; border-radius: 6px; padding: 2px 5px; background: rgba(0,0,0,.42); font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.feed-bar > .icon-button { flex: 0 0 auto; }
.feed-bar > .icon-button + div { flex: 1; }

/* Blogger verification (verify.js) */
.ver-line { margin: 8px 0 0; color: var(--success); font-size: 11px; font-weight: 800; }
.sheet .ver-line { margin: -6px 0 10px; }
.ver-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; border-radius: 18px; padding: 13px 14px; background: var(--surface-soft); }
.ver-banner > span { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-weight: 800; }
.ver-banner > div { flex: 1; min-width: 0; }
.ver-banner strong { display: block; font-size: 13px; }
.ver-banner p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.ver-banner .button { flex: 0 0 auto; min-height: 38px; padding: 0 14px; }
.ver-req { display: grid; gap: 7px; margin: 0; padding-left: 20px; font-size: 12px; line-height: 1.45; }
.ver-req b { color: var(--primary); }
.ver-hint { display: flex; align-items: center; gap: 10px; margin-top: 14px; border-radius: 14px; padding: 10px 12px; background: var(--surface-soft); font-size: 11px; }
.ver-hint > span { color: var(--primary); font-weight: 800; }
.ver-hint p { flex: 1; margin: 0; line-height: 1.4; }
.ver-hint .button { min-height: 32px; padding: 0; }
.ver-ugc-lock { margin: 0 0 14px; }
.ver-decide { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.ver-decide .button { min-height: 42px; padding: 0 10px; font-size: 12px; }
.ver-due { display: grid; gap: 4px; margin: 0 0 12px; border-radius: 16px; padding: 12px 14px; background: var(--surface-soft); }
.ver-due .button { margin-top: 6px; }
#actionContent [data-action="apply-ugc"]:disabled { opacity: .55; cursor: not-allowed; }


/* Rating of authors: three lines instead of one score (rating.js, WEFACE_RATING_RU.md) */
.rating-lines { display: grid; gap: 1px; overflow: hidden; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.rating-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; background: var(--surface); }
.rating-row > span { color: var(--muted); font-size: 10px; font-weight: 700; }
.rating-row > strong { font-size: 12px; text-align: right; }
.rating-row > small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; line-height: 1.4; }
.reel-rating { margin: 0; font-size: 12px; font-weight: 800; }
.rating-card { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--surface); color: inherit; text-align: left; }
.rating-card > span:not(.row-arrow) { display: grid; gap: 2px; min-width: 0; }
.rating-card small { color: var(--muted); font-size: 10px; }
.rating-card strong { font-size: 15px; letter-spacing: -.03em; }
.rating-card em { color: var(--muted); font-size: 10px; font-style: normal; }
.aud-card { display: grid; gap: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--surface); }
.aud-head { display: flex; align-items: center; gap: 10px; }
.aud-head strong { display: block; font-size: 13px; }
.aud-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.aud-part { display: grid; gap: 5px; }
.aud-part > div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.aud-part > div strong { font-size: 11px; }
.aud-part b { overflow: hidden; height: 6px; border-radius: 99px; background: var(--line); }
.aud-part i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.aud-part small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.aud-tip { margin: 0; color: var(--primary); font-size: 10px; line-height: 1.4; }
.level-box { display: grid; gap: 3px; border-radius: 16px; padding: 12px 14px; background: var(--surface-soft); }
.level-box strong { font-size: 16px; letter-spacing: -.03em; }
.level-box span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.level-checks { display: grid; gap: 6px; margin: 0; padding: 0; font-size: 12px; line-height: 1.35; list-style: none; }
.level-checks li { display: flex; gap: 8px; color: var(--muted); }
.level-checks li span { flex: 0 0 14px; color: var(--danger, #c0392b); font-weight: 800; }
.level-checks li.ok { color: inherit; }
.level-checks li.ok span { color: var(--success); }
.ver-notes { display: grid; gap: 2px; }
.ver-notes .check-row { margin-top: 6px; }
.ver-link { margin-top: 7px; }
.ver-ads-label { align-self: end; margin: 0 0 12px; }
.fit-inline-note { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.4; }

/* Author navigation (bloggers.js, planner.js): «Блогеры», requests, «Работы» in «Профиль», «Показать ещё», the author calendar */
.blogger-search { margin: 14px 0 16px; }
.blogger-search .search-box input { font-size: 16px; }
.blogger-search > .button.link { margin: 5px 0 0; padding-left: 2px; }
.blogger-search-card { border: 1px solid var(--line); border-radius: 18px; padding: 13px; background: var(--surface); }
.blogger-search-person { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; padding: 0; color: var(--text); background: none; text-align: left; }
.blogger-search-person > span:nth-child(2) { flex: 1; min-width: 0; }
.blogger-search-person strong, .blogger-search-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blogger-search-person strong { font-size: 14px; }
.blogger-search-person small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.blogger-search-fit { flex: 0 0 auto; color: var(--primary); font-size: 13px; font-weight: 800; }
.blogger-search-card .action-row { margin-top: 13px; }
.blogger-search-card .button { min-width: 0; padding-inline: 8px; font-size: 12px; }
.nav-button { position: relative; }
.nav-badge { position: absolute; top: 3px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; color: #fff; background: var(--accent); font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; }
.chat-button.is-active { color: var(--primary); background: var(--surface-soft); }
.seg.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg.four button { padding: 0 2px; font-size: 11px; white-space: nowrap; }
.seg.four .seg-badge { min-width: 15px; height: 15px; padding: 0 3px; font-size: 9px; }
.req-row { margin-bottom: 14px; }
.req-count { display: inline-grid; min-width: 21px; min-height: 21px; margin-left: 4px; padding: 0 5px; place-items: center; border-radius: 7px; color: var(--primary); background: var(--surface-soft); font-size: 11px; }
.req-back { display: inline-flex; align-items: center; gap: 5px; min-height: 42px; margin: -8px 0 8px; font-size: 13px; }
.req-back span[aria-hidden] { font-size: 23px; line-height: 1; }
.req-card { border: 1px solid var(--line); border-radius: 18px; padding: 13px; background: var(--surface); }
.req-card + .req-card, .req-card + .demo-skip { margin-top: 10px; }
.req-card.done { margin-bottom: 10px; border-color: rgba(21,155,107,.45); background: rgba(21,155,107,.06); }
.req-card.done.muted { border-color: var(--line); background: var(--surface-soft); }
.req-who { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; padding: 0; color: var(--text); background: none; text-align: left; }
.req-who strong { display: block; font-size: 13px; }
.req-who small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.req-title { margin: 10px 0 4px; font-size: 14px; font-weight: 800; line-height: 1.3; }
.req-card.done .req-title { margin-top: 0; font-size: 13px; }
.req-meta { margin: 0; font-size: 12px; }
.req-note { margin: 6px 0 0; color: var(--success); font-size: 11px; }
.req-note.warn { color: #9a6410; }
.req-hint { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.req-card .action-row { margin-top: 10px; }
.req-card .button.link { margin-top: 6px; }
.action-row.one { grid-template-columns: 1fr; }
.reel-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.reel-friend { border: 1px solid rgba(255,255,255,.55); border-radius: 99px; padding: 5px 10px; color: #fff; background: rgba(0,0,0,.35); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.reel-friend.on { color: #b8f5d8; }
.friend-row { gap: 10px; }
.friend-open { min-width: 0; flex: 1; display: flex; align-items: center; gap: 12px; border: 0; padding: 0; color: var(--text); background: none; text-align: left; }
.friend-row .button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; font-size: 12px; }
.dm-gate { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.dm-gate p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.more { margin-top: 16px; }
.more > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 14px; color: var(--primary); background: var(--surface-soft); font-size: 13px; font-weight: 800; list-style: none; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: '▾'; }
.more[open] > summary::after { content: '▴'; }
.more[open] > summary .m-open, .more:not([open]) > summary .m-close { display: none; }
.more-body > .section:first-child, .more-body > .fit-box:first-child { margin-top: 18px; }
.more-body .pub-link { margin-top: 18px; }
.more-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.sheet-cta { position: sticky; bottom: -28px; z-index: 5; margin: 14px -19px -28px; border-top: 1px solid var(--line); padding: 12px 19px 28px; background: var(--surface); }
.sheet-cta .action-row { margin-top: 0; }
.sheet-cta .warn-note { margin: 0; }
.profile-work .section-label:first-child { margin-top: 0; }
.agenda-day { margin: 18px 2px 8px; font-size: 13px; font-weight: 800; }
.agenda-day:first-child { margin-top: 4px; }
.agenda-day small { color: var(--muted); font-weight: 600; }
.agenda-free { border: 1px dashed var(--line); border-radius: 16px; padding: 12px 14px; color: var(--muted); font-size: 12px; }
.calendar-agenda { grid-template-columns: minmax(0, 1fr); }
.calendar-event.is-invite { border-style: dashed; border-color: var(--accent); }
.calendar-event.is-invite .calendar-status { color: var(--accent); }
.nearest-card { display: grid; gap: 4px; margin: 0 0 14px; border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(135deg, var(--primary), #8a6cf0); }
.nearest-card .eyebrow { margin: 0; color: rgba(255,255,255,.82); }
.nearest-card strong { font-size: 17px; letter-spacing: -.03em; }
.nearest-card small { color: rgba(255,255,255,.82); font-size: 11px; }
.nearest-card .button { justify-self: start; margin-top: 10px; min-height: 40px; color: var(--primary); background: #fff; }
.more-fields { margin: 4px 0 12px; }
.more-fields > summary { color: var(--primary); font-size: 12px; font-weight: 800; cursor: pointer; }
.more-fields[open] > summary { margin-bottom: 10px; }

/* Registration (registration.js, WEFACE_SIGNUP_RU.md) */
:root { --primary-text: #5a3fd6; --ok-text: #0f7a53; }
@media (prefers-color-scheme: dark) { :root { --primary-text: #b4a6ff; --ok-text: #4fd19f; } }
body.reg-mode #bottomNav, body.reg-mode #roleButton, body.reg-mode .chat-button, body.reg-mode .topbar [data-action="notifications"] { display: none; }
.role-option > span:nth-child(2) { margin-top: 0; color: var(--text); }
.role-option .role-mark, .role-option .role-arrow { margin-top: 0; font-size: 18px; color: var(--primary-text); }
.role-new { width: 100%; min-height: 52px; margin-top: 10px; border: 1px dashed var(--line); border-radius: 17px; color: var(--primary-text); background: transparent; font-size: 13px; font-weight: 800; }
.reg { display: grid; gap: 10px; padding-bottom: 24px; }
.reg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reg-back { width: 44px; height: 44px; }
.reg-langs { display: flex; gap: 4px; border-radius: 99px; padding: 3px; background: var(--surface-soft); }
.reg-langs button { min-height: 32px; border: 0; border-radius: 99px; padding: 0 10px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; }
.reg-langs button.active { color: var(--text); background: var(--surface); }
.reg-progress { display: grid; gap: 6px; margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.reg-progress b { overflow: hidden; height: 5px; border-radius: 99px; background: var(--line); }
.reg-progress i, .reg-bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.reg-draft { margin: 0; color: var(--muted); font-size: 11px; }
.reg-hero h1, .reg-title { margin: 6px 0 4px; font-size: 27px; line-height: 1.1; letter-spacing: -.04em; }
.reg-hero p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.reg-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.reg-steps li { display: flex; align-items: center; gap: 6px; border-radius: 99px; padding: 7px 11px; background: var(--surface-soft); font-size: 12px; font-weight: 700; }
.reg-roles { display: grid; gap: 10px; margin-top: 6px; }
.reg-role { display: grid; gap: 4px; min-height: 108px; border: 0; border-radius: 22px; padding: 16px 18px; color: #fff; text-align: left; box-shadow: inset -60px 0 60px -40px rgba(0,0,0,.35); }
.reg-role strong { font-size: 20px; letter-spacing: -.03em; }
.reg-role span { font-size: 13px; line-height: 1.35; opacity: .95; }
.reg-role small { font-size: 12px; opacity: .85; }
.reg-center { margin: 4px 0 0; text-align: center; font-size: 14px; }
.reg-fine { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: center; }
.reg-tg { min-height: 54px; gap: 10px; color: #fff; background: #229ed9; font-size: 15px; }
.reg-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.reg-or { display: flex; align-items: center; gap: 10px; margin: 8px 0; color: var(--muted); font-size: 12px; }
.reg-or::before, .reg-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.reg-label { margin: 6px 0 0; font-size: 13px; font-weight: 800; }
.reg-phone { display: flex; align-items: stretch; gap: 8px; }
.reg-phone > span { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; background: var(--surface-soft); font-size: 16px; font-weight: 700; }
.reg-phone .form-control, .reg .form-control { min-height: 52px; font-size: 16px; }
.reg-error { margin: 0; color: #c0392b; font-size: 12px; font-weight: 700; }
.reg-ok { margin: 0; color: var(--ok-text); font-size: 13px; font-weight: 800; }
.reg-cta { display: grid; gap: 8px; margin-top: 10px; }
.reg-cta .button { min-height: 54px; font-size: 15px; }
.reg-code { height: 64px; text-align: center; font-size: 28px; font-weight: 800; letter-spacing: .4em; }
.reg-code.ok { border-color: var(--success); background: rgba(21,155,107,.08); }
.reg-demo { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; color: var(--muted); font-size: 12px; }
.reg-stop { display: grid; gap: 6px; justify-items: center; padding: 24px 6px 6px; text-align: center; }
.reg-stop > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; background: var(--surface-soft); font-size: 22px; font-weight: 800; }
.reg-stop p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.reg-avatar { display: grid; justify-items: center; }
.reg-check { display: flex; align-items: flex-start; gap: 12px; min-height: 54px; margin-top: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--surface); }
.reg-check input { width: 22px; height: 22px; margin: 0; }
.reg-check strong { display: block; font-size: 14px; }
.reg-check small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.reg-chips .mk-chip span, .reg-cats .filter-chip { min-height: 44px; }
.reg-cats { flex-wrap: wrap; }
.reg-preview { pointer-events: none; }
.reg-card { display: grid; gap: 10px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 20px; padding: 16px; background: var(--surface); }
.reg-card .eyebrow { margin: 0; color: var(--primary-text); }
.reg-card h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.reg-bar { overflow: hidden; height: 6px; border-radius: 99px; background: var(--line); }
.reg-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; margin: 0 0 12px; border-radius: 16px; padding: 12px 14px; background: var(--surface-soft); }
.reg-banner strong { font-size: 13px; }
.reg-banner span { grid-column: 1; color: var(--muted); font-size: 12px; line-height: 1.4; }
.reg-banner .button { grid-column: 2; grid-row: 1 / span 2; min-height: 40px; }
.reg-ready { margin: 0 0 12px; }
.reg-locked { margin-top: 14px; }
.plan-card.reg-plan { width: 100%; margin-bottom: 8px; border: 2px solid transparent; text-align: left; }
.plan-card.reg-plan.active { border-color: #bfb0ff; }
.ver-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.ver-bars span { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.ver-bars i { height: 4px; border-radius: 99px; background: var(--line); }
.ver-bars span.on { color: var(--text); }
.ver-bars span.on i { background: var(--primary); }
.ver-step { margin: 0; border: 0; padding: 0; }
.ver-step legend { margin-bottom: 8px; padding: 0; font-size: 16px; font-weight: 800; }
.ver-code-card { display: grid; justify-items: center; gap: 4px; margin: 10px 0; border-radius: 18px; padding: 14px; background: var(--surface-soft); }
.ver-code-card span { color: var(--muted); font-size: 12px; }
.ver-code-card strong { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 34px; letter-spacing: .06em; }
.ver-tips { display: grid; gap: 4px; margin: 8px 0; padding-left: 18px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .reg-code.ok { transition: none; } }

/* Moderator cabinet (moderation.js) and the author's application (verify.js) */
.avatar-moderator { background: linear-gradient(135deg, #5b6cff, #36bda6); }
.seg.four.mod-tabs button { min-height: 40px; white-space: normal; line-height: 1.15; }
.mod-row.late { border-color: rgba(223,77,97,.45); }
.mod-hero { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 18px; padding: 13px; background: var(--surface); }
.mod-hero > div { display: grid; flex: 1; min-width: 0; gap: 2px; }
.mod-hero strong { font-size: 13px; overflow-wrap: anywhere; }
.mod-hero small { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.mod-hero .pill { flex: 0 0 auto; }
.mod-next { display: grid; gap: 8px; margin: 0 0 12px; border-radius: 18px; padding: 14px; background: var(--surface-soft); }
.mod-next strong { font-size: 14px; }
.mod-next p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.mod-next.ok strong { color: var(--success); }
.mod-need { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-need span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 700; }
.mod-need span.ok { border-color: rgba(21,155,107,.45); color: var(--success); }
.mod-checks, .mod-ask { display: grid; gap: 8px; }
.mod-check { display: flex; align-items: flex-start; gap: 10px; width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; color: var(--text); background: var(--surface); text-align: left; }
.mod-check i { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border: 1.5px solid var(--line); border-radius: 6px; color: #fff; font-size: 12px; font-style: normal; }
.mod-check span { display: grid; gap: 2px; min-width: 0; }
.mod-check strong { font-size: 12px; }
.mod-check small { color: var(--muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.mod-check.done { border-color: rgba(21,155,107,.45); background: rgba(21,155,107,.06); }
.mod-check.done i { border-color: var(--success); background: var(--success); }
.mod-decide { display: grid; gap: 8px; }
.mod-decide .action-row { margin: 0; }
.mod-decide .button:disabled { opacity: .45; cursor: not-allowed; }
.mod-files p { margin: 4px 0; font-size: 12px; overflow-wrap: anywhere; }
.mod-files .section-label { margin-top: 12px; }
.mod-flags { margin: 6px 0 0; padding-left: 18px; }
.ver-log { display: grid; margin-top: 8px; }
.ver-log-row { display: grid; gap: 2px; border-top: 1px solid var(--line); padding: 8px 0; font-size: 12px; line-height: 1.4; }
.ver-log-row small { color: var(--muted); font-size: 10px; }
.ver-ways { display: grid; gap: 6px; }
.ver-phrase { display: inline-block; margin-top: 4px; border-radius: 8px; padding: 2px 8px; color: var(--primary); background: var(--surface-soft); font-weight: 800; }

/* Direct contains requests (23 Nov 2026); business keeps its bell. */
.top-icon { display: block; }
.topbar [data-action="notifications"][hidden] { display: none; }
.req-remind { margin-top: 22px; }

/* «Настройки» (settings.js, 22 Nov 2026): one compact page, ⚙ in the «Профиль» header. */
.set-gear { flex: 0 0 auto; width: 44px; min-height: 44px; }
.set-head { justify-content: flex-start; gap: 10px; }
.set-head > div:not(.avatar) { flex: 1; min-width: 0; }
.set-back { flex: 0 0 auto; width: 44px; min-height: 44px; }
.set-theme button { padding: 0 4px; font-size: 11px; line-height: 1.15; }
.set-theme + .campaign-list, .set-gap { margin-top: 10px; }
.set-hint { margin: 8px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.set-faq { display: grid; gap: 8px; margin-bottom: 14px; }
.set-faq-item { border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; background: var(--surface); }
.set-faq-item summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
.set-faq-item summary::-webkit-details-marker { display: none; }
.set-faq-item summary::after { content: '+'; color: var(--muted); }
.set-faq-item[open] summary::after { content: '−'; }
.set-faq-item p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.set-feature { cursor: default; }

/* City chip in search (23 Nov 2026): always first, shows the city being searched. */
.city-chip { border-color: var(--primary); color: var(--text); font-weight: 700; }
.campaign-row.selected strong { color: var(--primary); }
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.city-opt { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; color: var(--text); background: var(--surface); font-size: 13px; font-weight: 700; text-align: left; }
.city-opt small { color: var(--muted); font-size: 11px; font-weight: 600; }
.city-opt.wide { grid-column: 1 / -1; }
.city-opt.on { border-color: var(--primary); color: #fff; background: var(--primary); }
.city-opt.on small { color: rgba(255,255,255,.8); }
.city-opt i { font-style: normal; }

/* Compact density (decision of 23 Nov 2026, WEFACE_UI_NAVIGATION_AND_ICONS_RU.md §1): less empty space, lower rows and cards.
   Kept last so it wins over the earlier sizes; touch targets stay 44 px or more. */
.page { padding: 12px 15px 100px; }
.page-header { margin-bottom: 12px; gap: 12px; }
.page-header h1 { font-size: clamp(22px, 5.8vw, 27px); line-height: 1.05; }
.page-header .avatar:not(.avatar-large) { width: 44px; height: 44px; font-size: 13px; }
.eyebrow { margin-bottom: 3px; font-size: 10px; }
.section { margin-top: 18px; }
.section-head { margin-bottom: 8px; }
.section-head h2 { font-size: 16px; }
.campaign-row { min-height: 54px; gap: 10px; padding: 8px 12px; }
.campaign-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; font-size: 17px; }
.campaign-list, .offer-card, .ugc-card, .quick-card, .journey-card { border-radius: 16px; }
.empty-state { border-radius: 14px; padding: 16px 14px; }
.note { margin-top: 10px; }
.info-card { padding: 12px; gap: 10px; border-radius: 14px; }
.stat { min-height: 60px; border-radius: 14px; }
.quick-card { min-height: 88px; padding: 12px; }
.feature { min-height: 190px; padding: 18px; border-radius: 22px; }
.feature-kicker { margin-bottom: 10px; }
.feature h2 { font-size: 24px; max-width: 230px; }
.feature p:not(.feature-kicker) { margin: 6px 0 12px; }
.feature-symbol { font-size: 128px; }
.feature-creator .feature-symbol { font-size: 150px; }
.feature-face .feature-symbol { font-size: 110px; }
.offer-card { grid-template-columns: 92px minmax(0, 1fr); min-height: 118px; }
.offer-card .art { min-height: 118px; }
.offer-card .art-glyph { font-size: 46px; }
.ugc-card { grid-template-columns: 88px minmax(0, 1fr); min-height: 138px; }
.ugc-card-art { min-height: 138px; }
.ugc-card-art > span { font-size: 46px; }
.profile-card { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 2px 12px; border-radius: 18px; padding: 14px; text-align: left; }
.profile-card .avatar-large { grid-row: span 2; width: 56px; height: 56px; }
.profile-card h2 { margin: 0; font-size: 18px; }
.profile-card p { margin: 0; }
.mk-hero { border-radius: 18px; padding-bottom: 12px; }
.mk-cover { height: 60px; }
.mk-face { margin-top: -38px; }
.mk-samples { gap: 10px 8px; }
.mk-thumb { aspect-ratio: 1 / 1; border-radius: 14px; }
.rating-card { padding: 11px 12px; border-radius: 14px; }
.feature-copy { width: 66%; }
.feature h2 { font-size: 22px; max-width: 210px; }
.feature p:not(.feature-kicker) { max-width: 210px; }
/* Full-bleed filter row follows the compact page padding (15 px, 13 px on narrow phones). */
.filter-row { margin: 12px -15px 10px; padding: 0 15px 4px; }
@media (max-width: 380px) { .page { padding-inline: 13px; } .filter-row { margin-inline: -13px; padding-inline: 13px; } }


/* Author discovery: business directory and offers share the same search layout. */
.discover-tabs { margin: 12px 0 16px; }
.discover-tabs button { min-height: 44px; font-size: 14px; }
.discover-tabs + .search-box input { font-size: 16px; }

/* «Лента» like Reels (reels.js, 23 Nov 2026): «Предложить коллаб» across, «Профиль» and «＋ В друзья» under it. */
.collab-actions { grid-template-columns: 1fr 1fr; }
.collab-actions .button.primary { grid-column: 1 / -1; }
.collab-actions .button.sent { opacity: .85; }

/* Bottom navigation: aligned outline icons and readable short labels. */
.nav-button .nav-glyph { width: 35px; height: 31px; display: grid; place-items: center; }
.nav-button .nav-glyph svg { width: 23px; height: 23px; display: block; }
.nav-button > span:last-child { font-size: 10px; }
@media (max-width: 360px) { .nav-button > span:last-child { font-size: 9px; } }

/* Business inbox and notifications share the top bar. */
.topbar:has(> .inbox-button:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto 44px 44px; column-gap: 6px; }
.topbar .inbox-button, .topbar:has(> .inbox-button:not([hidden])) [data-action="notifications"] { width: 44px; min-height: 44px; }

/* «Приглашения от бизнеса» (invites.js, 23 Nov 2026): an envelope next to Direct for authors; a list like messages; the offer with a double check. */
.invite-button { position: relative; }
.invite-button[hidden] { display: none; }
.invite-button.is-active { color: var(--primary); background: var(--surface-soft); }
.invite-row.fresh strong { color: var(--primary); }
.invite-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.invite-offer { display: grid; gap: 8px; }
.invite-art { display: grid; height: 120px; place-items: center; border-radius: 16px; color: #fff; font-size: 54px; }

/* The business appears before its offers; real photos use the same shape as the category fallback. */
.business-identity { display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 17px; padding: 7px 12px 7px 7px; color: var(--text); background: var(--surface); text-align: left; }
.business-identity-cover { position: relative; display: grid; width: 56px; height: 56px; overflow: hidden; place-items: center; border-radius: 12px; color: #fff; font-size: 27px; }
.business-identity-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.business-identity-body { display: grid; min-width: 0; gap: 2px; }
.business-identity-body .eyebrow { overflow: hidden; margin: 0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.business-identity-body strong { font-size: 16px; letter-spacing: -.03em; }
.business-identity-about { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.business-offer-list { display: grid; gap: 9px; }
.business-offer-card { display: grid; grid-template-columns: 72px minmax(0,1fr) 18px; align-items: center; gap: 11px; width: 100%; min-height: 82px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; padding: 6px 10px 6px 6px; color: var(--text); background: var(--surface); text-align: left; }
.business-offer-cover { display: grid; width: 72px; height: 68px; overflow: hidden; place-items: center; border-radius: 10px; }
.business-offer-cover img, .offer-card-visual img, .offer-detail-cover img, .offer-editor-preview img, .invite-art img { width: 100%; height: 100%; object-fit: cover; }
.business-offer-cover .offer-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; font-size: 29px; }
.business-offer-copy { display: grid; min-width: 0; gap: 4px; }
.business-offer-copy .pill { justify-self: start; }
.business-offer-copy strong, .business-offer-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.business-offer-copy strong { font-size: 13px; }
.business-offer-copy small { color: var(--muted); font-size: 10px; }
.business-offer-actions { display: flex; gap: 8px; margin-top: 11px; }
.business-offer-actions .button { min-width: 0; }
.plan-card.with-result { flex-wrap: wrap; row-gap: 8px; padding: 15px 17px; }
.plan-card > .plan-stats { display: grid; flex: 0 0 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 8px; }
.plan-stats b { display: block; font-size: 15px; }
.plan-stats span { display: block; color: #c8c1d6; font-size: 9.5px; line-height: 1.3; }
.offer-card-visual { display: grid; height: 118px; overflow: hidden; place-items: center; }
.offer-card-visual .offer-fallback { display: grid; width: 100%; height: 100%; min-height: 118px; place-items: center; color: #fff; font-size: 46px; }
.offer-detail-cover, .offer-editor-preview { position: relative; display: grid; height: 165px; overflow: hidden; place-items: center; margin: 0 0 14px; border-radius: 16px; color: #fff; }
.offer-detail-cover .offer-fallback, .offer-editor-preview .offer-fallback { display: grid; width: 100%; height: 100%; place-items: center; font-size: 66px; }
.offer-editor-preview > span:last-child { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 12px 11px; background: linear-gradient(transparent, rgba(0,0,0,.68)); font-size: 17px; font-weight: 750; }
.offer-editor-step { margin: 20px 0 9px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--primary); font-size: 12px; font-weight: 800; }
.offer-editor .form-group { margin-bottom: 12px; }
.offer-editor .form-group small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.offer-time-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.offer-time-grid .form-control { min-width: 0; padding-right: 5px; padding-left: 5px; font-size: 12px; }
.offer-editor-actions { display: grid; gap: 8px; margin-top: 15px; }
.invite-art { overflow: hidden; }
.invite-answer { margin-top: 14px; }
.invite-status { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; color: var(--muted); font-size: 12px; }
.topbar:has(> .invite-button:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto 44px 44px; column-gap: 6px; }
.topbar .invite-button, .topbar:has(> .invite-button:not([hidden])) [data-action="chats"] { width: 44px; min-height: 44px; }

/* Профиль автора как в соцсетях (social-profile.js, решение 23 ноября 2026) */
.sp-head { margin: 0; }
.sp-top { display: flex; align-items: center; gap: 14px; }
.sp-avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; }
.sp-avatar .portrait { width: 78px; height: 78px; flex: 0 0 78px; border-radius: 50%; font-size: 22px; box-shadow: none; }
.sp-avatar.ring { padding: 3px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.sp-avatar.ring .portrait { border: 3px solid var(--surface); }
.sp-page .sp-avatar.ring .portrait { border-color: var(--bg); }
.sp-nums { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
.sp-nums strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.sp-nums span { display: block; margin-top: 1px; color: var(--muted); font-size: 11.5px; }
.sp-name { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 16px; letter-spacing: -.02em; }
.sp-name .mk-verified { flex: 0 0 auto; vertical-align: 0; }
.sp-meta { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.sp-fit { margin: 6px 0 0; color: var(--primary); font-size: 12px; font-weight: 800; }
.sp-bio { margin: 6px 0 0; font-size: 14px; line-height: 1.42; }
.sp-topics { margin: 4px 0 0; color: var(--primary); font-size: 13px; font-weight: 600; }
.sp-head .mk-strip { margin-top: 8px; }
.sp-level { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.sp-head .warn-note { margin-top: 10px; }
.sp-verify { margin-top: 12px; }
.sp-buttons { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.sp-buttons > :only-child { grid-column: 1 / -1; }
.sp-buttons .button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; border-radius: 11px; padding: 8px; font-size: 13px; line-height: 1.2; }
.sp-save.on > span:first-child { color: var(--accent); }
.sp-buttons .button.sent { color: var(--muted); }
.sp-profile .mk-progress { margin: 14px 0 0; }
.sp-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--line); }
.sp-tab { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; min-height: 44px; border: 0; border-top: 2px solid transparent; margin-top: -1px; padding: 0 6px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
.sp-tab[aria-selected="true"] { border-top-color: var(--text); color: var(--text); }
.sp-tab small { color: var(--muted); font-size: 11px; font-weight: 700; }
.sp-ico { width: 18px; height: 18px; flex: 0 0 18px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; overflow: hidden; border-radius: 12px; }
.sp-tile { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 3 / 4; border: 0; padding: 0; font-size: 30px; }
.sp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-tile .mk-pf { position: absolute; top: 6px; left: 6px; }
.sp-views { position: absolute; bottom: 6px; left: 7px; color: #fff; font-size: 11px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.sp-cap { position: absolute; top: 6px; left: 6px; right: 6px; overflow: hidden; color: #fff; font-size: 10px; font-weight: 800; text-align: left; text-overflow: ellipsis; text-shadow: 0 1px 3px rgba(0,0,0,.45); white-space: nowrap; }
.sp-lock { position: absolute; right: 6px; bottom: 5px; font-size: 11px; }
.sp-add { color: var(--primary); background: var(--surface-soft); font-size: 30px; font-weight: 300; }
.sp-note, .sp-empty { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.sp-empty { padding: 22px 12px; text-align: center; font-size: 13px; }
.sp-why .fit-label { margin-top: 16px; }
.sp-numbers-note { margin-top: 16px; }
.sp-back { margin: -6px 0 8px; }
@media (max-width: 380px) {
  .sp-top { gap: 10px; }
  .sp-avatar .portrait { width: 62px; height: 62px; flex-basis: 62px; font-size: 18px; }
  .sp-nums { gap: 4px; }
  .sp-nums strong { font-size: 15px; }
  .sp-nums span { font-size: 10.5px; }
  .sp-tab { gap: 4px; font-size: 11.5px; }
  .sp-buttons .button { font-size: 12.5px; }
}
.more-body > .ver-line:first-child { margin-top: 16px; }
