/* Strela Заявки — токены и типографика как на остальных страницах */
html[data-theme="dark"] .zy-page {
  --bg: #0d1520;
  --card: #161f30;
  --border: #243044;
  --input-bg: #0d1520;
  --input-border: #243044;
  --input-shadow: none;
  --text: #f0f4ff;
  --text2: #8292b0;
  --accent: #3b82f6;
}
html[data-theme="light"] .zy-page {
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --text: #1e293b;
  --text2: #64748b;
  --accent: #2563eb;
}

.zy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(56px + 14px) 16px calc(100px + env(safe-area-inset-bottom));
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.zy-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.zy-lead {
  flex: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text2);
}
.zy-toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.zy-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}
.zy-demo-toggle--on {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.45);
  color: #a855f7;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.zy-btn-rules {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.zy-btn-rules i {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.zy-bell--on { color: #22c55e; border-color: rgba(34, 197, 94, 0.4); animation: zy-bell-pulse 2s ease infinite; }
.zy-bell--off { color: #94a3b8; opacity: 0.7; }
.zy-bell--none { color: #f59e0b; border-color: rgba(245, 158, 11, 0.4); }
.zy-payout-settings--need,
.zy-settings-btn--need { color: #f59e0b; border-color: rgba(245, 158, 11, 0.45); }

.zy-settings-modal__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.zy-settings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.zy-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 92%, var(--text) 2%);
  text-align: left;
}

.zy-settings-row--pro {
  border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
  overflow: hidden;
}

.zy-settings-row--link {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.zy-settings-row--link .zy-settings-row__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.zy-settings-row--link:hover,
.zy-settings-row--link:focus-visible {
  background: color-mix(in srgb, var(--accent) 8%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  outline: none;
}

.zy-settings-row__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zy-settings-row__label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.zy-settings-row__hint {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text2);
  padding-left: 22px;
  padding-right: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zy-settings-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--text2);
  font-size: 12px;
}

.zy-settings-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #f59e0b;
}

.zy-settings-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 48px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: color-mix(in srgb, var(--text2) 35%, transparent);
  transition: background 0.2s ease;
}

.zy-settings-toggle--on {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 78%, #1e3a8a));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
}

.zy-settings-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.zy-settings-toggle--on .zy-settings-toggle__knob {
  transform: translateX(20px);
}

.zy-modal-panel--settings {
  max-width: min(400px, calc(100vw - 32px));
  overflow-x: hidden;
}

.zy-modal-panel--settings .zy-settings-modal__title {
  margin: 0 48px 16px 0;
  padding-top: 2px;
}
.zy-payout-card--hidden { display: none !important; }
@keyframes zy-bell-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.zy-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.zy-tab {
  flex: 1;
  padding: 11px 8px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
}
.zy-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.zy-tab--mine {
  position: relative;
  overflow: visible;
}
.zy-tab__label {
  display: inline-block;
}
.zy-tab-badges {
  display: none;
  position: absolute;
  top: 0;
  right: 10px;
  transform: translateY(-50%);
  gap: 3px;
  align-items: center;
  flex-direction: row;
  z-index: 2;
  pointer-events: none;
}
.zy-tab-badges--visible {
  display: inline-flex;
}
.zy-tab-badge[hidden],
.zy-subtab-badge[hidden],
.zy-subtab-live[hidden],
.zy-tab-live[hidden] {
  display: none !important;
}
.zy-tab-badge,
.zy-subtab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.zy-tab-badge--processing,
.zy-subtab-badge--processing {
  gap: 3px;
  min-width: 22px;
  padding: 0 5px;
}
.zy-tab-badge--processing i,
.zy-subtab-badge--processing i {
  font-size: 9px;
  line-height: 1;
  flex-shrink: 0;
}
.zy-tab-badge--posted,
.zy-subtab-badge--posted {
  background: #f59e0b;
  box-shadow: 0 0 0 2px var(--card);
}
.zy-tab-badge--taken,
.zy-subtab-badge--taken {
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--card);
}
.zy-tab.active .zy-tab-badge--posted {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.zy-tab.active .zy-tab-badge--taken {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.zy-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  padding: 14px;
  margin-bottom: 10px;
}
.zy-card--guest {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.zy-card--guest .zy-empty {
  margin: 0;
}
.zy-btn--block {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  flex: none;
}

.zy-feed-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: min(36vh, 320px);
  padding: 32px 16px 24px;
  gap: 12px;
  box-sizing: border-box;
}
.zy-feed-empty__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  max-width: 360px;
}
.zy-feed-empty__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text2);
  max-width: 340px;
}
.zy-feed-empty .zy-btn,
.zy-feed-empty__btn {
  flex: 0 0 auto;
  align-self: center;
  width: auto;
  min-width: 0;
  max-width: min(100%, 260px);
  margin-top: 6px;
  padding: 12px 28px;
}
.zy-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.zy-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
  color: var(--text);
}
/* Тип техники: компактный чип с SVG-иконкой (цвет = var(--text), под светлую/тёмную тему) */
.zy-equip-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  padding: 3px 9px 3px 5px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  background: color-mix(in srgb, var(--text) 5%, transparent);
  color: var(--text);
  vertical-align: middle;
  box-sizing: border-box;
  line-height: 1.25;
}
.zy-equip-chip--compact {
  gap: 4px;
  padding: 1px 6px 1px 3px;
  border-radius: 6px;
}
.zy-equip-chip__ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: var(--text);
}
.zy-equip-chip--compact .zy-equip-chip__ico {
  width: 14px;
  height: 14px;
}
.zy-equip-chip__ico i {
  font-size: 11px;
  line-height: 1;
}
.zy-equip-chip--compact .zy-equip-chip__ico i {
  font-size: 10px;
}
.zy-equip-chip__ico svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.zy-equip-chip__ico--svg svg path,
.zy-equip-chip__ico--svg svg rect,
.zy-equip-chip__ico--svg svg circle,
.zy-equip-chip__ico--svg svg ellipse,
.zy-equip-chip__ico--svg svg polygon,
.zy-equip-chip__ico--svg svg line,
.zy-equip-chip__ico--svg svg polyline {
  fill: currentColor !important;
}
.zy-equip-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: inherit;
  color: inherit;
}
.zy-card-title .zy-equip-chip {
  max-width: min(100%, 280px);
}
.zy-meta {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}
.zy-card--author {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12);
}
.zy-card--author-reward-pending {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.18);
  cursor: pointer;
}
.zy-author-reward-banner {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}
.zy-author-reward-banner__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 8px;
}
.zy-author-reward-banner__hint,
.zy-author-reward-banner__tap {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text2);
}
.zy-author-reward-banner__tap {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
}
.zy-chip-status--reward-pending {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}
.zy-chip-status--reward-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.zy-author-expand {
  margin: 10px 0 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.05);
  overflow: hidden;
}
.zy-author-expand--open {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 10px 0 0;
  background: rgba(59, 130, 246, 0.05);
}
.zy-author-expand__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: var(--text2);
  -webkit-tap-highlight-color: transparent;
}
.zy-author-expand__summary::-webkit-details-marker {
  display: none;
}
.zy-author-expand__summary::marker {
  content: '';
}
.zy-author-expand__teaser {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  color: var(--text);
}
.zy-author-expand__cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.zy-author-expand__cta-hide {
  display: none;
}
.zy-author-expand[open] .zy-author-expand__cta-show {
  display: none;
}
.zy-author-expand[open] .zy-author-expand__cta-hide {
  display: inline;
}
.zy-author-expand__body {
  padding: 0 12px 12px;
  border-top: 1px solid var(--border);
}
.zy-author-expand__body .zy-author-panel {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: transparent;
}
.zy-card--author .zy-benefit-block {
  margin-bottom: 0;
}
.zy-chip-responses--mine {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
}

.zy-author-panel {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.06);
}
.zy-author-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.zy-author-panel__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.zy-author-panel__count {
  font-size: 12px;
  color: var(--text2);
}
.zy-author-panel__empty {
  margin: 0;
  font-size: 13px;
  color: var(--text2);
}
.zy-author-panel__stall {
  margin: 0 0 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-radius: 8px;
}
.zy-author-claims-list {
  padding: 8px;
}
.zy-claim-row {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card, rgba(255, 255, 255, 0.04));
  margin-bottom: 6px;
  overflow: hidden;
}
.zy-claim-row:last-child {
  margin-bottom: 0;
}
.zy-claim-row--won {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.06);
}
.zy-claim-row--active {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.06);
}
.zy-claim-row__head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.zy-claim-row__head:disabled {
  opacity: 0.7;
  cursor: wait;
}
.zy-claim-row__pos {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  min-width: 1.8em;
}
.zy-claim-row__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zy-claim-row__status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  text-align: right;
  max-width: 42%;
  line-height: 1.25;
}
.zy-claim-row--won .zy-claim-row__status {
  color: #22c55e;
}
.zy-claim-row--active .zy-claim-row__status {
  color: var(--accent);
}
.zy-claim-row__detail {
  padding: 0 12px 10px;
}
.zy-claim-row__detail[hidden] {
  display: none;
}
.zy-claim-row__loaded {
  padding-top: 2px;
}
.zy-claim-row__loading,
.zy-claim-row__error {
  margin: 0;
  font-size: 12px;
  color: var(--text2);
}
.zy-claim-row__error {
  color: #ef4444;
}
.zy-author-person__role {
  font-size: 12px;
  color: var(--text2);
}
.zy-author-row--active,
.zy-author-row--won {
  padding: 10px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 10px;
}
.zy-author-row--won .zy-author-row__label {
  color: #22c55e;
}
.zy-author-row__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 6px;
}
.zy-author-row__timer {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text2);
}
.zy-author-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zy-author-person__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.zy-author-person__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zy-author-person__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
.zy-author-person__phone {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
}
.zy-author-person__rating,
.zy-author-person__pos {
  font-size: 11px;
  color: var(--text2);
}
.zy-author-queue__title,
.zy-author-passed__title {
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}
.zy-author-queue__list,
.zy-author-passed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zy-author-passed__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .zy-author-passed__item {
  background: rgba(0, 0, 0, 0.04);
}
.zy-author-passed__reason {
  font-size: 11px;
  color: var(--text2);
}

.zy-chip-responses {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
}
.zy-desc {
  font-size: 14px;
  color: var(--text);
  margin: 8px 0;
  line-height: 1.5;
}
.zy-author-timeline {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.zy-author-timeline__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text2);
}
.zy-author-timeline__row:last-child {
  margin-bottom: 0;
}
.zy-author-timeline__row i {
  margin-top: 2px;
  color: rgba(148, 163, 184, 0.95);
  flex-shrink: 0;
}
.zy-author-timeline__row strong {
  color: var(--text);
  font-weight: 700;
}
.zy-benefit {
  font-size: 13px;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 8px;
}
.zy-benefit-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 10px;
}
.zy-benefit-schedule {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text2);
}
.zy-benefit-schedule__label {
  color: var(--text2);
}
.zy-benefit-schedule strong {
  font-weight: 600;
  color: var(--text);
}
.zy-benefit-reward-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2em;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(34, 197, 94, 0.95);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.zy-benefit-reward-pill strong {
  font-weight: 700;
  color: #22c55e;
}
.zy-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: stretch;
}
.zy-actions:has(.zy-mark-paid),
.zy-actions:has(.zy-copy-section),
.zy-actions:has(.zy-payout-fold),
.zy-actions:has(.zy-claimer-await-banner) {
  flex-direction: column;
}
.zy-actions:has(.zy-mark-paid) .zy-btn,
.zy-actions:has(.zy-copy-section) .zy-btn,
.zy-actions:has(.zy-payout-fold) .zy-btn,
.zy-actions:has(.zy-claimer-await-banner) .zy-btn {
  flex: none;
  width: 100%;
  min-width: 0;
}
.zy-actions:has(.zy-mark-paid) .zy-copy-section,
.zy-actions:has(.zy-mark-paid) .zy-payout-fold,
.zy-actions:has(.zy-claimer-await-banner) .zy-claimer-await-banner {
  width: 100%;
  flex: none;
}
.zy-card__payout {
  margin-top: 10px;
}
.zy-card__payout + .zy-actions {
  margin-top: 8px;
}
.zy-card__payout + .zy-actions .zy-mark-paid {
  flex: none;
  width: 100%;
  min-width: 0;
}
.zy-btn {
  box-sizing: border-box;
  padding: 11px 16px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
  min-width: 120px;
}
.zy-btn-primary { background: var(--accent); color: #fff; }
.zy-btn-danger {
  background: #dc2626;
  color: #fff;
  border: 1px solid rgba(220, 38, 38, 0.5);
}
.zy-btn-danger:hover,
.zy-btn-danger:focus-visible {
  background: #b91c1c;
}
.zy-btn--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1.15;
  padding-top: 9px;
  padding-bottom: 9px;
}
.zy-btn--stack .zy-btn__line {
  font-size: 13px;
  font-weight: 800;
}
.zy-btn--stack .zy-btn__sub {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.92;
}
.zy-btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.zy-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.zy-btn.loading { position: relative; color: transparent !important; }
.zy-btn.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: zy-spin 0.7s linear infinite;
}
.zy-btn-secondary.loading::after,
.zy-location-map-modal__geo.loading::after {
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-top-color: var(--accent);
}
@keyframes zy-spin { to { transform: rotate(360deg); } }

.zy-phone {
  margin-top: 8px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.zy-phone a { color: inherit; text-decoration: none; }

.zy-empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--text2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.zy-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin: 10px 0 4px;
}
.zy-form input,
.zy-form select,
.zy-form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--input-border, var(--border));
  background: var(--input-bg, var(--bg));
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
  box-shadow: var(--input-shadow, none);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.zy-form input::placeholder,
.zy-form textarea::placeholder {
  color: var(--text2);
  opacity: 0.9;
}
.zy-form input:focus,
.zy-form select:focus,
.zy-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--input-shadow, none), 0 0 0 3px rgba(37, 99, 235, 0.14);
}
html[data-theme="dark"] .zy-page .zy-form input:focus,
html[data-theme="dark"] .zy-page .zy-form select:focus,
html[data-theme="dark"] .zy-page .zy-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
.zy-form textarea { min-height: 88px; resize: vertical; }

.zy-date-field {
  position: relative;
  display: block;
}
.zy-date-field__input {
  display: block;
  width: 100%;
  padding-right: 46px;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}
.zy-date-field__input::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
.zy-date-field__input::-webkit-inner-spin-button,
.zy-date-field__input::-webkit-clear-button {
  display: none;
}
.zy-date-field__input::-moz-calendar-picker-indicator {
  opacity: 0;
}
html[data-theme="light"] .zy-date-field__input {
  color-scheme: light;
}
html[data-theme="dark"] .zy-date-field__input {
  color-scheme: dark;
}
.zy-date-field__btn {
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.zy-date-field__btn:hover,
.zy-date-field__btn:focus-visible {
  background: rgba(37, 99, 235, 0.18);
  outline: none;
}
.zy-date-field__btn:active {
  transform: translateY(-50%) scale(0.94);
}
.zy-date-field__input:focus {
  border-color: var(--accent);
}

.zy-payout-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.zy-payout-card > p {
  font-size: 13px;
  color: var(--text2);
  margin: 0 0 10px;
  line-height: 1.4;
}

html[data-theme="dark"] #zyModalRoot {
  --bg: #0d1520;
  --card: #161f30;
  --border: #243044;
  --text: #f0f4ff;
  --text2: #8292b0;
  --accent: #3b82f6;
}
html[data-theme="light"] #zyModalRoot {
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text2: #64748b;
  --accent: #2563eb;
}

.zy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 3500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.zy-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(85vh, calc(100vh - 56px - 90px - env(safe-area-inset-bottom)));
  overflow: auto;
  background: var(--card);
  border-radius: 16px;
  padding: 18px 16px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}
.zy-modal h2 {
  margin: 0 52px 14px 0;
  padding-top: 2px;
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text);
  line-height: 1.25;
}
.zy-rules-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  font-family: inherit;
}

.zy-rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zy-rules-item-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.zy-rules-num {
  font-weight: 700;
  color: var(--accent);
}
.zy-rules-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(59, 130, 246, 0.06);
}
.zy-rules-widget .zy-actions {
  margin-top: 0;
  flex-direction: column;
  gap: 8px;
}
.zy-rules-widget .zy-actions .zy-btn {
  flex: none;
  width: 100%;
  min-width: 0;
  pointer-events: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.zy-rules-widget .zy-actions--claim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.zy-rules-widget .zy-actions--claim [data-demo="deal_done"] {
  grid-column: 1 / -1;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.zy-rules-widget .zy-actions--claim [data-demo="no_deal"] {
  grid-column: 1 / -1;
  min-width: 0;
}
.zy-rules-widget .zy-actions--rules-reward {
  flex-direction: column;
}
.zy-rules-demo-agree {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.zy-rules-demo-agree .zy-gate-agree-label {
  margin-bottom: 0;
}
.zy-rules-widget,
.zy-rules-widget * {
  pointer-events: none !important;
  user-select: none;
}
.zy-rules-widget--complaint .zy-modal-label {
  margin-bottom: 6px;
}
.zy-demo-complaint-text {
  cursor: default;
  margin-bottom: 0;
}
.zy-rules-widget .zy-btn.zy-demo-pressed,
.zy-btn.zy-demo-pressed:not(:disabled) {
  transform: scale(0.97);
  filter: brightness(1.08);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.18);
}
.zy-demo-check-wrap.zy-gate-agree-label {
  pointer-events: none;
}
.zy-demo-check-wrap input {
  transition: transform 0.2s ease;
}
.zy-demo-check-wrap.zy-check-animate input {
  animation: zyCheckPop 0.45s ease;
}
@keyframes zyCheckPop {
  0% { transform: scale(0.5); opacity: 0.4; }
  55% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.zy-modal-textarea.zy-demo-typing {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.zy-demo-complaint-hint {
  font-size: 11px;
  color: var(--text2);
  margin: 0;
}

body.zy-rules-gate-active {
  overflow: hidden;
}
html[data-theme="dark"] body.zy-rules-gate-active {
  background: #0f172a;
}
html[data-theme="light"] body.zy-rules-gate-active {
  background: #f1f5f9;
}
.zy-page--locked {
  pointer-events: none;
  user-select: none;
  opacity: 0.35;
}
.zy-modal-overlay--gate,
.zy-modal-overlay--center {
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 16px max(16px, calc(72px + env(safe-area-inset-bottom)));
}
/* Заявка по прямой ссылке (?lead=) — сверху под хедер, без обрезания */
.zy-modal-overlay--lead {
  align-items: flex-start;
  justify-content: center;
  padding: calc(56px + env(safe-area-inset-top) + 6px) 12px calc(78px + env(safe-area-inset-bottom)) 12px;
  overflow: hidden;
}
.zy-modal-overlay--lead .zy-modal {
  width: min(100%, 520px);
  max-height: calc(100vh - 56px - env(safe-area-inset-top) - 78px - env(safe-area-inset-bottom) - 12px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-padding-top: 8px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.zy-modal-panel--lead {
  padding: 10px 12px 16px;
}
.zy-modal-panel--lead .zy-card {
  margin-bottom: 0;
  border-radius: 12px;
}
.zy-modal-panel--lead .zy-card-head > div:first-child {
  padding-right: 42px;
}
.zy-modal-panel--lead .zy-modal-close {
  top: 10px;
  right: 10px;
}
.zy-modal-overlay--gate {
  z-index: 4000;
  background: rgba(0, 0, 0, 0.72);
}
.zy-modal-overlay--gate .zy-modal,
.zy-modal-overlay--center .zy-modal {
  max-height: min(85vh, calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 88px));
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.zy-modal-overlay--gate .zy-modal {
  opacity: 1;
  visibility: visible;
}
.zy-rules-gate-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.zy-gate-agree-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 14px;
  cursor: pointer;
}
.zy-gate-agree-label input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  pointer-events: auto;
}
.zy-rules-gate-footer .zy-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  pointer-events: auto;
}
.zy-rules-gate-footer .zy-btn:disabled {
  opacity: 0.45;
}
.zy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  float: none;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text2);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.zy-modal-close::before {
  content: '×';
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  margin-top: -1px;
}
html[data-theme="light"] .zy-modal-close {
  background: rgba(100, 116, 139, 0.1);
}
.zy-modal-close:hover,
.zy-modal-close:focus-visible {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  outline: none;
}
.zy-modal-close:active {
  transform: scale(0.94);
}
.zy-modal-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}
.zy-modal-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
  font-family: inherit;
}
.zy-modal-textarea {
  width: 100%;
  min-height: 88px;
  margin: 0 0 12px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
}
.zy-modal .zy-btn,
.zy-modal a.zy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
}
.zy-modal .zy-rules-widget .zy-actions .zy-btn {
  width: 100%;
}
.zy-modal-profile-link {
  margin-top: 12px;
}

/* Модалка статуса уведомлений */
.zy-notif-status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.06);
  margin-bottom: 12px;
}
.zy-notif-status--on {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.zy-notif-status--off {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.08);
}
.zy-notif-status--none {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}
.zy-notif-status-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  background: var(--card);
  border: 1px solid var(--border);
}
.zy-notif-status--on .zy-notif-status-icon { color: #22c55e; }
.zy-notif-status--off .zy-notif-status-icon { color: #94a3b8; }
.zy-notif-status--none .zy-notif-status-icon { color: #f59e0b; }
.zy-notif-status-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}
.zy-notif-status-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-notif-perm {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  color: var(--text2);
}
.zy-notif-perm strong { color: var(--text); font-weight: 600; }
.zy-notif-ios {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.05);
}
.zy-notif-ios-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.zy-notif-ios-block h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.zy-notif-ios-block ol {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-notif-ios-block li + li { margin-top: 6px; }
.zy-notif-ios-ok {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #22c55e;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.zy-notif-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.zy-notif-actions .zy-btn {
  width: 100%;
  flex: none;
  min-width: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}
.zy-notif-dash-link {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.zy-notif-android {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.zy-notif-android--app {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.06);
}
.zy-notif-android--browser {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.06);
}
.zy-notif-android-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.zy-notif-android-hint,
.zy-notif-android-promo-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-notif-android-ok {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #22c55e;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.zy-notif-android-promo-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.zy-notif-play-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  text-decoration: none;
  box-sizing: border-box;
}

.zy-notif-prefs {
  margin: 14px 0 4px;
  padding: 4px 0 0;
  border-top: 1px solid var(--border);
}
.zy-notif-prefs-title {
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.zy-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
}
.zy-toggle-row--sub {
  margin-left: 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(59, 130, 246, 0.35);
}
.zy-toggle-row--disabled {
  opacity: 0.45;
  pointer-events: none;
}
.zy-toggle-text {
  flex: 1;
  min-width: 0;
}
.zy-toggle-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.zy-toggle-hint {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text2);
}
.zy-toggle-sw {
  position: relative;
  display: inline-block;
  width: 51px;
  height: 31px;
  flex-shrink: 0;
}
.zy-toggle-sw input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.zy-toggle-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #64748b;
  border-radius: 31px;
  transition: background 0.25s ease;
}
.zy-toggle-track::before {
  content: '';
  position: absolute;
  height: 27px;
  width: 27px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}
.zy-toggle-sw input:checked + .zy-toggle-track {
  background: #22c55e;
}
.zy-toggle-sw input:checked + .zy-toggle-track::before {
  transform: translateX(20px);
}
.zy-toggle-sw input:focus-visible + .zy-toggle-track {
  outline: 2px solid rgba(34, 197, 94, 0.5);
  outline-offset: 2px;
}

.zy-type-picker-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--input-border, var(--border));
  background: var(--input-bg, var(--card));
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  box-shadow: var(--input-shadow, none);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.zy-type-picker-btn:hover { border-color: var(--accent); }
.zy-type-picker-btn:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--input-shadow, none), 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.zy-type-picker-btn__ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
}
.zy-type-picker-btn__ico svg { width: 26px; height: 26px; }
.zy-type-picker-btn__label { flex: 1; min-width: 0; }
.zy-type-picker-btn__caret { font-size: 12px; color: var(--text2); }

.zy-type-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
.zy-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding-right: 2px;
}
.zy-type-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  position: relative;
  color: var(--text);
  font: inherit;
}
.zy-type-opt:hover,
.zy-type-opt:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.zy-type-ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.zy-type-ico--svg svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}
.zy-type-picker-btn__ico svg { fill: currentColor; }
.zy-type-opt__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.zy-region-picker-btn__ico {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.zy-region-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}
.zy-region-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  color: var(--text);
  font: inherit;
  text-align: left;
  box-sizing: border-box;
}
.zy-region-opt:hover,
.zy-region-opt:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.zy-region-opt--any {
  opacity: 0.9;
}
.zy-region-opt--any .zy-region-opt__ico {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text2);
}
.zy-region-opt__ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  font-size: 15px;
}
.zy-region-opt__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.zy-region-opt__cnt {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
}

.zy-location-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.zy-location-row input {
  flex: 1;
  min-width: 0;
}
.zy-location-map-btn {
  flex-shrink: 0;
  width: 48px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--input-border, var(--border));
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--input-shadow, none);
}
.zy-location-map-btn:hover {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.18);
}

.zy-modal-panel--location-map {
  max-width: 440px;
  width: 100%;
  position: relative;
}

/* Компактная метка на карте (Leaflet divIcon) */
.zy-map-pin-wrap {
  background: none !important;
  border: none !important;
}
.zy-map-pin {
  position: relative;
  display: block;
  width: 20px;
  height: 26px;
  color: var(--accent);
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.45));
  pointer-events: none;
}
.zy-map-pin svg {
  display: block;
  width: 20px;
  height: 26px;
}
.zy-map-pin__shadow {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 8px;
  height: 3px;
  margin-left: -4px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.28);
  transform: scaleX(1.1);
}
.leaflet-dragging .zy-map-pin {
  filter: drop-shadow(0 3px 6px rgba(37, 99, 235, 0.55));
  transform: translateY(-2px) scale(1.06);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.zy-location-map-modal__hint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-location-map {
  height: min(42vh, 260px);
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  z-index: 0;
}
.zy-modal-panel--location-map .leaflet-container {
  font-family: inherit;
  border-radius: 12px;
}
.zy-modal-panel--location-map .leaflet-control-attribution {
  display: none !important;
}
.zy-location-map-modal__addr {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  min-height: 1.2em;
}
.zy-location-map-modal__geo {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.zy-location-map-modal__actions {
  display: flex;
  gap: 10px;
}
.zy-location-map-modal__actions .zy-btn {
  flex: 1;
  min-width: 0;
}

.zy-location-perm {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  box-sizing: border-box;
}
.zy-location-perm__card {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.zy-location-perm__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.zy-location-perm__desc {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-location-perm__steps {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
}
.zy-location-perm__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zy-location-perm__actions .zy-btn {
  width: 100%;
  min-width: 0;
}
.zy-location-perm__skip {
  opacity: 0.9;
}

.zy-type-opt__cnt {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text2);
  opacity: 0.85;
}

.zy-seo-footer {
  margin: 28px 0 12px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--border);
}
.zy-seo-footer h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
}
.zy-seo-footer p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text2);
}

.zy-modal-panel--finger-wag {
  max-width: 340px;
  text-align: center;
  padding-top: 8px;
}
.zy-finger-wag__lottie {
  width: min(220px, 72vw);
  height: min(220px, 72vw);
  margin: 0 auto 8px;
}
.zy-finger-wag__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.zy-finger-wag__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-toggle-row--reward-guard .zy-toggle-label::after {
  content: ' *';
  color: #f59e0b;
  font-weight: 700;
}

.zy-payout-box {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text);
}
.zy-payout-box div { margin: 4px 0; }
.zy-payout-card { margin-bottom: 12px; }

.zy-modal-panel--payout,
.zy-modal-panel--confirm {
  max-width: 440px;
}
.zy-modal-panel--confirm {
  text-align: center;
  padding-top: 22px;
}
.zy-modal-panel--confirm h2 {
  margin: 0 0 12px;
  padding: 0 40px;
}
.zy-modal-panel--confirm .zy-confirm-text {
  margin: 0 0 18px;
  padding: 0 4px;
}
.zy-modal-panel--confirm .zy-confirm-actions {
  justify-content: center;
}
.zy-modal-panel--confirm .zy-confirm-actions .zy-btn {
  text-align: center;
}
.zy-payout-modal-hint,
.zy-payout-form-note {
  margin: -4px 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-payout-section {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
}
.zy-payout-section__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.zy-payout-section__title i {
  color: var(--accent);
  font-size: 14px;
}
.zy-payout-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin: 8px 0 4px;
}
.zy-payout-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.zy-payout-save-btn {
  width: 100%;
  margin-top: 4px;
}

/* Success modal (payout saved / updated) */
.zy-modal-panel--success,
.zy-modal-panel--payout-saved {
  max-width: 340px;
  text-align: center;
  padding-top: 22px;
}
.zy-modal-panel--success .zy-success-modal__title,
.zy-modal-panel--payout-saved .zy-success-modal__title {
  margin: 0 0 8px;
  padding-top: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.zy-success-modal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.zy-success-modal__icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zySuccessPop 0.4s ease 0.72s both;
}
.zy-success-modal__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  transform: scale(0.6);
  opacity: 0;
  animation: zySuccessGlow 0.5s ease 0.15s forwards;
}
.zy-success-check {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: block;
  overflow: visible;
}
.zy-success-check__circle {
  stroke: #22c55e;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: zySuccessStroke 0.55s cubic-bezier(0.65, 0.05, 0.36, 1) forwards;
}
.zy-success-check__check {
  stroke: #22c55e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: zySuccessStroke 0.35s cubic-bezier(0.65, 0.05, 0.36, 1) 0.45s forwards;
}
.zy-success-modal__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-success-modal__btn {
  width: 100%;
  flex: none !important;
  min-width: 0 !important;
}
@keyframes zySuccessStroke {
  to { stroke-dashoffset: 0; }
}
@keyframes zySuccessPop {
  0%, 100% { transform: scale(1); }
  55% { transform: scale(1.08); }
}
@keyframes zySuccessGlow {
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.zy-modal-panel--claim-success .zy-claim-success-modal__lead {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text);
}
.zy-claim-success-notif {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border);
  text-align: left;
}
.zy-claim-success-notif__ok,
.zy-claim-success-notif__tg-ok {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #22c55e;
  font-weight: 600;
}
.zy-claim-success-notif__warn {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #f59e0b;
  font-weight: 600;
}
.zy-claim-success-ios {
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .zy-claim-success-ios {
  background: rgba(0, 0, 0, 0.04);
}
.zy-claim-success-ios__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.zy-claim-success-ios__steps {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text2);
}
.zy-claim-success-tg {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.zy-claim-success-tg__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.zy-claim-success-tg__text {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text2);
}
.zy-claim-success-tg__btn,
.zy-claim-success-notif__enable,
.zy-claim-success-notif__settings {
  width: 100%;
  margin-top: 8px;
  min-width: 0 !important;
  flex: none !important;
}
.zy-claim-success-notif__settings {
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .zy-success-check__circle,
  .zy-success-check__check,
  .zy-success-modal__icon,
  .zy-success-modal__icon::before {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
    transform: none;
  }
}

.zy-payout-warn {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
}
.zy-payout-warn i { margin-right: 6px; }
.zy-chip-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.zy-chip-status--closed {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.zy-confirm-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-confirm-actions {
  display: flex;
  gap: 10px;
}
.zy-confirm-actions .zy-btn {
  flex: 1;
  min-width: 0;
}
.zy-btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
}
.zy-btn-danger:hover { filter: brightness(1.08); }
.zy-btn.loading { opacity: 0.7; pointer-events: none; }

.zy-modal-panel--test-dispatch {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.zy-test-dispatch-modal__hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text2);
}
.zy-test-dispatch-modal__prefs {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.zy-test-dispatch-modal__ids--primary {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.zy-test-dispatch-modal__ids--primary .zy-toggle-label {
  font-weight: 700;
  color: var(--text);
}
.zy-test-dispatch-modal__ids {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.zy-test-dispatch-modal__ids input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.zy-test-dispatch-modal__report {
  margin: 0 0 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  line-height: 1.4;
  color: var(--text2);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 160px;
  overflow: auto;
}
.zy-test-dispatch-modal__actions {
  display: flex;
  gap: 10px;
}
.zy-test-dispatch-modal__actions .zy-btn {
  flex: 1;
  min-width: 0;
}
.zy-test-dispatch-modal__actions--done {
  flex-direction: column;
}

/* Copy blocks */
.zy-copy-section { margin: 12px 0; }
.zy-copy-section--compact { margin: 4px 0; }
.zy-copy-section--compact .zy-copy-section__title {
  margin: 0 0 3px;
  font-size: 10px;
  letter-spacing: 0.03em;
}
.zy-copy-section__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text2);
}
.zy-copy-block {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.zy-copy-block--copied {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}
.zy-copy-block__label {
  display: block;
  font-size: 11px;
  color: var(--text2);
  margin-bottom: 4px;
}
.zy-copy-block__value {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  word-break: break-all;
}
.zy-copy-block__hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--accent);
}
.zy-copy-block--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  padding: 7px 10px;
  margin-bottom: 4px;
  border-radius: 8px;
}
.zy-copy-block--compact .zy-copy-block__label {
  width: 100%;
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
}
.zy-copy-block--compact .zy-copy-block__value {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}
.zy-copy-block--compact .zy-copy-block__hint {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}
.zy-copy-section--phone-hero {
  margin: 8px 0 10px;
}
.zy-copy-section--phone-hero .zy-copy-section__title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.zy-copy-block--phone-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 14px;
  min-height: 72px;
  margin-bottom: 8px;
  border-radius: 12px;
  border-width: 1.5px;
}
.zy-copy-block--phone-hero .zy-copy-block__value {
  font-size: clamp(20px, 5.5vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  word-break: normal;
}
.zy-copy-block--phone-hero .zy-copy-block__hint {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}
.zy-copy-section--phone-hero .zy-contact-actions {
  margin-top: 0;
}
.zy-payout-fold {
  margin: 4px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.05);
  overflow: hidden;
}
.zy-payout-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.zy-payout-fold__summary::-webkit-details-marker {
  display: none;
}
.zy-payout-fold__summary::marker {
  content: '';
}
.zy-payout-fold__title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text2);
}
.zy-payout-fold__cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.zy-payout-fold__cta-hide {
  display: none;
}
.zy-payout-fold[open] .zy-payout-fold__cta-show {
  display: none;
}
.zy-payout-fold[open] .zy-payout-fold__cta-hide {
  display: inline;
}
.zy-payout-fold__body {
  padding: 0 8px 8px;
  border-top: 1px solid var(--border);
}
.zy-payout-fold__body .zy-copy-block--compact:last-child {
  margin-bottom: 0;
}
.zy-copy-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.zy-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.zy-contact-actions--compact {
  gap: 5px;
  margin-top: 5px;
}
.zy-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  min-width: 0;
}
.zy-contact-btn i { font-size: 15px; flex-shrink: 0; }
.zy-contact-btn--wa {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}
.zy-contact-btn--call {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
}
.zy-contact-actions--compact .zy-contact-btn {
  padding: 7px 8px;
  font-size: 11px;
}
.zy-contact-actions--compact .zy-contact-btn i { font-size: 14px; }
.zy-reward-hint {
  margin: 8px 0 12px;
  font-size: 13px;
  color: #f59e0b;
  line-height: 1.4;
}
.zy-reward-hint--compact {
  margin: 4px 0 6px;
  font-size: 11px;
  line-height: 1.3;
}

/* Active claim (compact) */
.zy-claim-active { margin-top: 6px; }
.zy-claim-queued-watch { margin-top: 6px; }
.zy-claim-active__grid { display: flex; flex-direction: column; gap: 6px; }
.zy-card--taken-active { padding: 10px; }
.zy-card--taken-active .zy-benefit-block {
  margin-bottom: 4px;
  gap: 4px;
}
.zy-card--taken-active .zy-benefit-schedule {
  font-size: 11px;
}
.zy-card--taken-active .zy-benefit-reward-pill {
  font-size: 10px;
  padding: 3px 8px;
}
.zy-card--taken-active .zy-desc { font-size: 12px; margin: 0 0 4px; line-height: 1.35; }
.zy-card--taken-active .zy-card-title { font-size: 15px; margin-bottom: 2px; }
.zy-card--taken-active .zy-meta { font-size: 12px; }
.zy-card--taken-active .zy-card-head { margin-bottom: 2px; }

/* Timer */
.zy-timer-box {
  margin: 6px 0 8px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.zy-timer-box__inner { padding: 8px 10px; }
.zy-timer-box--expired {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}
.zy-timer-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.zy-timer-box__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.zy-timer-box__clock {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #22c55e;
  flex-shrink: 0;
}
.zy-timer-box--expired .zy-timer-box__clock { color: #f59e0b; }
.zy-timer-bar {
  height: 4px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.zy-timer-bar--top {
  width: 100%;
  margin: 0;
}
html[data-theme="light"] .zy-timer-bar { background: rgba(0, 0, 0, 0.1); }
.zy-timer-bar__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  transition: width 1s linear;
}
.zy-timer-box__expired {
  margin: 6px 0 0;
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
}
.zy-timer-box .zy-extend-contact { margin-top: 6px; width: 100%; }
.zy-btn--sm {
  padding: 8px 10px;
  font-size: 12px;
  min-width: 0;
}
.zy-actions--claim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.zy-actions--claim .zy-deal-done {
  grid-column: 1 / -1;
  padding: 10px 12px;
  font-size: 14px;
  min-width: 0;
}
.zy-actions--claim .zy-release {
  grid-column: 1 / -1;
  min-width: 0;
}
.zy-actions-row--duo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.zy-actions-row--duo .zy-btn {
  min-width: 0;
  width: auto;
  margin-top: 0;
}
.zy-actions-row--duo .zy-btn-ghost {
  width: auto;
}
.zy-card--taken-active,
.zy-card--focus-highlight {
  scroll-margin-top: calc(56px + 8px);
}
.zy-card--focus-highlight {
  animation: zy-card-focus-pulse 2.1s ease-out;
}
@keyframes zy-card-focus-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
  30% { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.55); }
  60% { box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25); }
}
.zy-actions .zy-deal-done {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.zy-btn-ghost {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text2);
  width: 100%;
  margin-top: 4px;
}

/* Mine subtabs + taken cards */
.zy-mine-subtabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.zy-mine-subtab {
  position: relative;
  flex: 1;
  padding: 10px 28px 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
}
.zy-mine-subtab.active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.zy-mine-subtab .zy-subtab-badge {
  position: absolute;
  top: 6px;
  right: 8px;
}
.zy-mine-subtab .zy-subtab-live,
.zy-tab-badges .zy-tab-live {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--card);
  pointer-events: none;
}
.zy-subtab-live--posted,
.zy-tab-live--posted {
  background: #f59e0b;
}
.zy-tab-badges .zy-tab-live {
  position: static;
  flex-shrink: 0;
}
.zy-mine-subtab:has(#zyTakenSubBadge:not([hidden])) #zyTakenSubLive,
.zy-mine-subtab:has(#zyTakenSubProcessing:not([hidden])) #zyTakenSubLive {
  right: 26px;
}
.zy-mine-subtab:has(#zyTakenSubBadge:not([hidden])):has(#zyTakenSubProcessing:not([hidden])) #zyTakenSubLive {
  right: 44px;
}
.zy-mine-subtab:has(#zyTakenSubBadge:not([hidden])) #zyTakenSubProcessing {
  right: 26px;
}
.zy-mine-subtab:has(#zyPostedSubBadge:not([hidden])) #zyPostedSubLive,
.zy-mine-subtab:has(#zyPostedSubProcessing:not([hidden])) #zyPostedSubLive {
  right: 26px;
}
.zy-mine-subtab:has(#zyPostedSubBadge:not([hidden])):has(#zyPostedSubProcessing:not([hidden])) #zyPostedSubLive {
  right: 44px;
}
.zy-mine-subtab:has(#zyPostedSubBadge:not([hidden])) #zyPostedSubProcessing {
  right: 26px;
}
.zy-mine-subtab.active .zy-subtab-live {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.zy-tab.active .zy-tab-live--taken {
  background: #86efac;
  box-shadow: 0 0 0 2px var(--accent);
}
.zy-tab.active .zy-tab-live--posted {
  background: #fde68a;
  box-shadow: 0 0 0 2px var(--accent);
}
.zy-mine-subtab.active .zy-subtab-badge--processing.zy-subtab-badge--taken {
  background: #86efac;
  color: #14532d;
  box-shadow: 0 0 0 2px var(--accent);
}
.zy-mine-subtab.active .zy-subtab-badge--processing.zy-subtab-badge--posted,
.zy-tab.active .zy-tab-badge--processing.zy-tab-badge--posted {
  background: #fde68a;
  color: #78350f;
  box-shadow: 0 0 0 2px var(--accent);
}
.zy-tab.active .zy-tab-badge--processing.zy-tab-badge--taken {
  background: #86efac;
  color: #14532d;
  box-shadow: 0 0 0 2px var(--accent);
}
.zy-mine-subtab.active .zy-subtab-badge--posted {
  background: #fde68a;
  color: #78350f;
}
.zy-mine-subtab.active .zy-subtab-badge--taken {
  background: #86efac;
  color: #14532d;
}
.zy-claimer-await-banner {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #93c5fd;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.zy-claimer-await-banner i {
  margin-top: 2px;
  flex-shrink: 0;
}
.zy-chip-status--await-author {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  max-width: 100%;
}
html[data-theme="light"] .zy-chip-status--await-author {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}
.zy-card--taken-awaiting {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}
.zy-card--taken-active {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}
.zy-card--taken-waiting {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.04);
}
.zy-card--taken-won {
  border-color: rgba(148, 163, 184, 0.45);
  opacity: 0.92;
}
.zy-card--taken-compact {
  padding: 8px 10px;
  margin-bottom: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.zy-card--taken-compact.zy-card--taken-awaiting {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.06);
  opacity: 1;
}
.zy-card--taken-compact.zy-card--taken-won {
  opacity: 1;
}
.zy-taken-compact__row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
}
.zy-taken-compact__title {
  flex-shrink: 0;
  max-width: 42%;
  min-width: 0;
  overflow: hidden;
}
.zy-taken-compact__title .zy-equip-chip {
  max-width: 100%;
  font-size: 12px;
}
.zy-author-compact__title {
  flex-shrink: 0;
  max-width: 42%;
  min-width: 0;
  overflow: hidden;
}
.zy-author-compact__title .zy-equip-chip {
  max-width: 100%;
  font-size: 12px;
}
.zy-taken-compact__city,
.zy-taken-compact__date {
  color: var(--text2);
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zy-taken-compact__date {
  flex-shrink: 0;
}
.zy-taken-compact__sep {
  color: var(--text2);
  opacity: 0.55;
  flex-shrink: 0;
}
.zy-taken-compact__reward {
  font-weight: 700;
  color: #4ade80;
  flex-shrink: 0;
}
.zy-taken-compact__status {
  margin-left: auto;
  flex-shrink: 0;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
}
.zy-card--taken-compact.zy-card--taken-awaiting .zy-taken-compact__status {
  color: #93c5fd;
}
.zy-taken-compact__status--issued {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #22c55e !important;
  font-weight: 700;
  max-width: none;
}
.zy-taken-compact__status--issued i {
  font-size: 13px;
  flex-shrink: 0;
}
.zy-card--taken-compact.zy-card--taken-won .zy-taken-compact__status--issued {
  color: #4ade80 !important;
}
.zy-claimer-issued-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  font-size: 15px;
  font-weight: 700;
  color: #4ade80;
  text-align: center;
}
.zy-claimer-issued-banner i {
  font-size: 20px;
  flex-shrink: 0;
}
.zy-card--taken-issued {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12);
}
.zy-modal-panel--lead .zy-card--taken-issued .zy-benefit-block {
  display: none;
}
.zy-claimer-taken-meta {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
}
html[data-theme="light"] .zy-claimer-taken-meta {
  background: #ffffff;
  border-color: var(--input-border, #cbd5e1);
  box-shadow: var(--input-shadow, 0 1px 2px rgba(15, 23, 42, 0.06));
}
.zy-claimer-taken-meta__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}
.zy-claimer-taken-meta__row:last-of-type {
  margin-bottom: 0;
}
.zy-claimer-taken-meta__row i {
  margin-top: 2px;
  color: var(--text2);
  flex-shrink: 0;
}
.zy-claimer-taken-meta__row strong {
  color: var(--text);
  font-weight: 700;
}
.zy-claimer-taken-meta__label {
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text2);
}
.zy-claimer-taken-meta__author .zy-author-person {
  margin: 0;
}

@media (max-width: 480px) {
  .zy-page {
    padding-top: calc(52px + 12px);
    padding-left: 14px;
    padding-right: 14px;
  }
  .zy-lead { font-size: 13px; }
  .zy-card-title { font-size: 16px; }
  .zy-btn { min-width: 100%; }
  .zy-modal .zy-btn,
  .zy-modal a.zy-btn {
    min-width: 0;
    width: 100%;
  }
  .zy-actions--claim .zy-btn { min-width: 0; width: auto; }
  .zy-card--taken-active .zy-btn { min-width: 0; }
  .zy-feed-empty .zy-btn {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    max-width: min(100%, 260px);
  }
  .zy-btn-rules { padding: 0 12px; font-size: 12px; }
  .zy-btn-rules i { font-size: 15px; }
}
