.ytg-wrap{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;max-width:880px}
.ytg-sub{color:#6b7280;margin-top:-6px}
.ytg-card{border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fff;margin-top:12px}
.ytg-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
@media(max-width:820px){.ytg-row{grid-template-columns:1fr}}
.ytg-card label{font-weight:600;margin-bottom:6px;display:block}
.ytg-card input,.ytg-card select,.ytg-card textarea{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;font-size:15px}
.ytg-card textarea{resize:vertical}
.ytg-btn{margin-top:12px;background:#ff0000;color:#fff;border:0;padding:10px 14px;border-radius:10px;cursor:pointer}
.ytg-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ytg-copy{border:1px solid #d1d5db;background:#e42e2d;border-radius:8px;padding:6px 10px;cursor:pointer}
.ytg-note{color:#6b7280;font-size:12px;margin-top:6px}

/* === Pills === */
.ytg-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px 0 4px;
  min-height:42px;
  border-top:1px dashed #eee;
  margin-top:6px;
}

.ytg-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  border-radius:999px;
  padding:6px 10px;
  font-size:14px;
  line-height:1.2;
}

.ytg-pill-text{white-space:nowrap}

.ytg-pill-copy{
  border:0;
  background:#e42e2d;
  border:1px solid #d1d5db;
  padding:4px 8px;
  border-radius:999px;
  cursor:pointer;
  font-size:12px;
}
.ytg-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: red !important;
  color: #fff !important;
}