:root {
  --esc-ads-color: #a91313;
}

/* Layout */
.esc-ads-page {
  max-width: 1024px;
  margin: 0 auto;
}
.esc-ads-page-single {
  max-width: 1024px;
  margin: 0 auto;
}
.esc-ads-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.esc-ads-badge-new {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  display: inline-block;
  margin-left: 4px;
  pointer-events: none;
}

/* Filter bar */
.esc-ads-filter-wrap {
  position: static;
  top: 0;
  z-index: 3;
  background: transparent;
  margin-bottom: 12px;
}
.esc-ads-filter-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.esc-ads-filter {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.esc-ads-filter.is-active {
  background: var(--esc-ads-color);
  color: #fff;
  border-color: var(--esc-ads-color);
}

/* Composer */
.esc-ads-composer {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: #fff;
  margin-bottom: 14px;
}
.esc-ads-composer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}
.esc-ads-composer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.esc-ads-composer-body {
  display: grid;
  gap: 8px;
}
.esc-ads-composer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.esc-ads-type-select {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 14px;
  background: #f8fafc;
}
.esc-ads-composer-title {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 14px;
}
.esc-ads-composer-textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 14px;
  resize: none;
}
.esc-ads-composer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.esc-ads-composer-contact {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 14px;
}
.esc-ads-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.esc-ads-composer-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.esc-ads-tool {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  color: #334155;
}
.esc-ads-tool input {
  display: none;
}
.esc-ads-composer-post {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--esc-ads-color);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.esc-ads-posting-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: escspin 0.9s linear infinite;
  display: none;
}
.esc-ads-composer-post.is-posting .esc-ads-posting-spinner {
  display: inline-block;
}
.esc-ads-previews {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.esc-ads-preview {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.esc-ads-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.esc-ads-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

/* Top escorts carousel */
.esc-ads-top-escorts {
  margin: 16px 0 20px;
  border: 1px solid rgba(255, 215, 125, 0.28);
  border-radius: 25px;
  background:
    radial-gradient(1200px 200px at 10% -20%, rgba(255, 230, 170, 0.2), transparent 60%),
    radial-gradient(800px 160px at 90% 0%, rgba(255, 170, 170, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  padding: 14px 14px 10px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.esc-ads-top-escorts::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(255, 215, 125, 0.25),
    rgba(255, 255, 255, 0.05),
    rgba(255, 215, 125, 0.25)
  );
  filter: blur(28px);
  opacity: 0.35;
}

/* Top escorts header */
.esc-ads-top-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.esc-ads-top-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 14px;
  color: #2b2b2b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.esc-ads-top-crown {
  width: 18px;
  height: 18px;
  fill: #caa24f;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4));
}
.esc-ads-top-upgrade {
  color: #7a5200;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 240, 210, 0.9), rgba(255, 225, 170, 0.9));
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(206, 156, 62, 0.7);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 12px rgba(206, 156, 62, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.esc-ads-top-upgrade:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 16px rgba(206, 156, 62, 0.26);
}

/* Top escorts track */
.esc-ads-top-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px 6px 18px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  align-items: stretch;
}
.esc-ads-top-track::-webkit-scrollbar {
  display: none;
}

/* Top escorts item */
.esc-ads-top-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  text-align: center;
  transform: scale(0.9);
  opacity: 0.65;
  transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
  padding: 8px 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.24));
  border: 1px solid rgba(255, 210, 120, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  min-width: 108px;
}
.esc-ads-top-item:hover {
  transform: scale(0.94);
  opacity: 0.95;
}

/* Top escorts avatar with premium ring */
.esc-ads-top-avatar {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  overflow: hidden;
  margin: 2px auto 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #f6f6f6;
}
.esc-ads-top-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.esc-ads-top-ring {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(from 200deg, #f7d07a, #fff6d6, #efb84d, #f7d07a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Top escorts name and verified */
.esc-ads-top-name {
  max-width: 100px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
  line-height: 1.15;
  color: #1f1f1f;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.esc-ads-top-name .esc-ads-verified-badge {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9));
}

/* Top escorts tier focus */
.esc-ads-tier-0 {
  transform: scale(1.14) !important;
  opacity: 1 !important;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
}
.esc-ads-tier-0 .esc-ads-top-item {
  transform: none;
}
.esc-ads-tier-1 {
  transform: scale(1.06) !important;
  opacity: 0.96 !important;
}
.esc-ads-tier-2 {
  transform: scale(1.02) !important;
  opacity: 0.86 !important;
}

/* Top escorts subtle shine on the focused one */
.esc-ads-tier-0 .esc-ads-top-ring::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: radial-gradient(60px 14px at 30% 0%, rgba(255, 255, 255, 0.75), transparent 60%);
  pointer-events: none;
  animation: escShine 2.6s ease infinite;
}
@keyframes escShine {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Top escorts small screens */
@media (max-width: 480px) {
  .esc-ads-top-item {
    min-width: 96px;
  }
  .esc-ads-top-avatar {
    width: 68px;
    height: 68px;
  }
  .esc-ads-top-name {
    max-width: 88px;
  }
}

/* Post card */
.esc-ads-post-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 20px;
  margin: 10px 1px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: #fff;
}
.esc-ads-kebab-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #f6f6f6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.esc-ads-more-menu {
  position: absolute;
  top: 40px;
  right: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  display: none;
  z-index: 5;
}
.esc-ads-more-menu.show {
  display: block;
}
.esc-ads-more-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}
.esc-ads-more-item:hover {
  background: #fafafa;
}
.esc-ads-more-item.esc-ads-danger {
  color: #b91c1c;
}

/* Post header and body */
.esc-ads-post-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}
.esc-ads-post-avatar a {
  display: block;
  width: 100%;
  height: 100%;
}
.esc-ads-post-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esc-ads-post-avatar--client img {
  pointer-events: none;
}
.esc-ads-post-body {
  display: grid;
  gap: 5px;
}
.esc-ads-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.esc-ads-post-author {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.esc-ads-author-link {
  color: #454545;
  text-decoration: none;
}
.esc-ads-verified-badge {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: text-bottom;
  pointer-events: none;
  user-select: none;
}
.esc-ads-unverified-badge {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: text-bottom;
  pointer-events: none;
  user-select: none;
}
.esc-ads-post-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
}
.esc-ads-post-date {
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
}
.esc-ads-post-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 2px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.esc-ads-post-title a {
  text-decoration: none;
  color: #454545;
  font-size: 17px;
}
.esc-ads-post-excerpt {
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  line-height: 1.5;
}
.esc-ads-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #fffbf0;
  color: #bd8f08;
  border: 1px solid #bd8f08;
  text-transform: capitalize;
}

/* Media grid */
.esc-ads-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
}
.esc-ads-media-cell {
  position: relative;
  width: 100%;
  padding-top: 66%;
  background: #f1f5f9;
  cursor: zoom-in;
}
.esc-ads-media-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Post actions */
.esc-single-ad-post-actions,
.esc-ads-post-actions { 
    display:flex; 
    align-items:center; 
    margin-top:8px; 
    flex-wrap:wrap; 
    gap:10px; 
}

.esc-single-ad-post-actions { 
    justify-content:space-between; 
}

.esc-ads-action-button {
  display: inline-flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  color: #111;
  padding: 6px 8px;
  border-radius: 20px;
  text-decoration: none;
}
.esc-ads-action-button:hover {
  border-color: rgba(0, 0, 0, 0.2);
}
.esc-ads-icon-heart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.esc-ads-action-button.is-liked {
  color: var(--esc-ads-color);
  border-color: rgba(169, 19, 19, 0.35);
  background: rgba(169, 19, 19, 0.06);
}
.esc-ads-action-button.is-liked .esc-ads-icon-heart path {
  fill: var(--esc-ads-color);
  stroke: var(--esc-ads-color);
}
.esc-ads-like-count:empty {
  display: none;
}
.esc-ads-reply-count:empty {
  display: none;
}
.esc-ads-zero .esc-ads-like-count {
  display: none;
}
.esc-ads-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 3px 0;
  border: 0;
}
.esc-ads-no-pointer {
  pointer-events: none;
  cursor: default;
}

/* Replies */
.esc-ads-replies-block {
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  padding-top: 8px;
}
.esc-ads-replies-list {
  display: grid;
  gap: 10px;
}
.esc-ads-reply {
  display: flex;
  gap: 5px;
}
.esc-ads-reply-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.esc-ads-reply-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.esc-ads-reply-body {
  display: grid;
  gap: 4px;
}
.esc-ads-reply-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.esc-ads-reply-author {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.esc-ads-reply-content {
  font-size: 12px;
  line-height: 1.5;
  color: #0f172a;
}
.esc-ads-reply-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.esc-ads-reply-form textarea {
  flex: 1;
  padding: 10px 15px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  resize: none;
}
.esc-ads-reply-submit {
  padding: 6px 12px;
  border: 0;
  border-radius: 20px;
  background: var(--esc-ads-color);
  color: #fff;
  cursor: pointer;
}
.esc-ads-reply-submit[disabled] {
  opacity: 0.7;
}
.esc-ads-login-hint {
  padding: 8px 10px;
  background: #fff4f4;
  border: 1px dashed rgba(169, 19, 19, 0.35);
  border-radius: 10px;
  display: inline-block;
}
.esc-ads-login-btn {
  color: var(--esc-ads-color);
  text-decoration: none;
  font-weight: 700;
}

/* Load more */
.esc-ads-feed-footer {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
.esc-ads-load-more {
  cursor: pointer;
  color: var(--esc-ads-color);
  font-weight: 700;
  border: 1px solid rgba(169, 19, 19, 0.35);
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.esc-ads-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(169, 19, 19, 0.25);
  border-top-color: var(--esc-ads-color);
  border-radius: 50%;
  animation: escspin 0.9s linear infinite;
  display: none;
}
.esc-ads-load-more.loading .esc-ads-spinner {
  display: inline-block;
}
@keyframes escspin {
  to {
    transform: rotate(360deg);
  }
}

/* Modal */
.esc-ads-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.esc-ads-modal {
  width: 520px;
  max-width: 94vw;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.esc-ads-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.esc-ads-modal-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* Lightbox */
.esc-ads-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  touch-action: pan-y;
}
.esc-ads-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.esc-ads-lightbox.show img {
  transform: scale(1);
}

/* Single page specific */
.sa-bodyheader {
  display: flex;
  flex-direction: column;
  gap: 3px !important;
  margin-bottom: 2px;
  overflow: hidden;
}
.esc-ads-actions-right {
  gap: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}
.esc-ads-actions-left {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.esc-ads-hitcounter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #444;
}
@media (max-width: 1024px) {
  .esc-ads-actions-right {
    gap: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 10px;
  }
  .esc-ads-action-button {
    font-size: 10px;
    padding: 4px 6px;
  }
}

/* Override card spacing on single page */
.esc-ads-page-single .esc-ads-post-card {
  padding: 25px;
  margin: 10px 1px;
  width: auto;
}

/* Buttons */
.esc-ads-chat-btn {
  border: 0;
  border-radius: 20px;
  padding: 8px 14px;
  background: var(--esc-ads-color);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.esc-disabled-vip {
  background: #ddd;
  color: #666;
  cursor: not-allowed;
}
.esc-disabled-vip-chat {
  opacity: 0.7;
}
.esc-ads-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}
