.csc-fdw-row { margin: 6px 0; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.csc-pill { display:inline-block; padding:4px 10px; border-radius:999px; background:#f3f4f6; font-size:13px; }
.csc-fdw-age { color:#d11; font-weight:600; }
.csc-maid-card{
  border:1px solid #eee;
  border-radius:16px;
  overflow:hidden;
  background:#fff;

  display: flex;
  flex-direction: column;
  height: 100%;
}
.csc-maid-photo{
  position:relative;
  padding:14px;
  background:#fafafa;
}
.csc-maid-photo img{
  width:100%;
  height:auto;
  border-radius:14px;
  display:block;
}

.csc-maid-body{
  padding:14px 16px 16px;
  flex: 1 1 auto;   /* <-- allows body to stretch */
}
.csc-maid-name{
  font-weight:800;
  font-size:18px;
  line-height:1.25;
  margin:0 0 8px;
}

.csc-maid-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 10px;
}
.csc-maid-age{
  color:#c00;
  font-weight:700;
}
.csc-maid-nation{
  color:#2563eb;
  font-weight:700;
}

.csc-pill{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  text-transform: uppercase;
}
.csc-pill-new{
  border:1px solid #f59e0b;
  color:#b45309;
  background:#fff7ed;
}
.csc-btn-yt{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding: 4px;
  border-radius:12px;
  font-weight:800;
  font-size: 12px;
  text-decoration:none;
  gap:8px;
}

.csc-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding: 5px 8px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  gap:8px;
}
.csc-btn-outline{
  border:1px solid #e5e7eb;
  background:#fff;
  color:#dc2626;
}
.csc-btn-ghost{
  background:#f3f4f6;
  color:#111827;
  flex:1;
}
.csc-btn-primary{
  background:#ef4444;
  color:#fff;
  flex:1;
}

/* Make areas + languages wrap as compact chips, not full-width bars */
.csc-lines{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Override block behavior */
.csc-line{
  display: inline-flex;
  align-items: center;
  width: auto;              /* stops 100% stretch */
  max-width: 100%;
  padding: 4px 10px;        /* nicer chip size */
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;                /* remove the old vertical spacing */
  white-space: nowrap;      /* keeps single chip tidy */
}

/* If a label is long, allow wrapping nicely instead of overflowing */
.csc-line{
  white-space: normal;
}

/* Softer chip colors (match the nicer left reference) */
.csc-line-area{
  background: #eef2ff;
  color: #4338ca;
}

.csc-line-lang{
  background: #ecfdf5;
  color: #047857;
}

/* Optional: limit chips shown per row by letting them wrap naturally */


.csc-maid-footer{
  display:flex;
  gap:10px;
  padding:14px 16px;
  margin-top: auto;
      background-color: rgba(255, 236, 236, 0.3);
}

.csc-fav-wrap{
  position:absolute;
  top:20px;
  right:20px;
}

.csc-fav{
  font-size:22px;
  line-height:1;
  cursor:pointer;
  color:#9ca3af; /* gray outline */
  transition:transform .15s ease, color .15s ease;
}

.csc-fav:hover{
  transform:scale(1.1);
}

.csc-fav.is-active{
  color:#ef4444; /* red filled */
}