/* Hỏi đáp của khách ([xs-questions], inc/motion/questions/render.php).
   `#pxl-content-main p/input/...` của theme có id nên thắng class — mọi luật gắn cùng id. */
#pxl-content-main .xsq { margin: 44px 0 28px; }
#pxl-content-main .xsq-intro { margin: 8px 0 0; max-width: 68ch; line-height: 1.65; color: rgba(255,255,255,.72); }

#pxl-content-main .xsq-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
#pxl-content-main .xsq-item {
  margin: 0; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
}
#pxl-content-main .xsq-item::before { content: none; }
#pxl-content-main .xsq-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; line-height: 1.4; color: var(--xsm-muted, #9c9ac2); }
#pxl-content-main .xsq-name { color: #fff; font-weight: 600; }
#pxl-content-main .xsq-meta > * { min-width: 0; overflow-wrap: anywhere; } /* tên dài liền một khối không tràn ngang */
#pxl-content-main .xsq-country { display: inline-flex; align-items: center; gap: 6px; }
#pxl-content-main .xsq-flag { width: auto; height: 14px; margin: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); vertical-align: middle; }
#pxl-content-main .xsq-q { margin: 6px 0 0; font-size: 15.5px; font-weight: 700; line-height: 1.5; color: #fff; overflow-wrap: anywhere; }
#pxl-content-main .xsq-a {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; background: rgba(123,47,247,.12); border-left: 3px solid var(--xsm-violet, #7b2ff7);
}
#pxl-content-main .xsq-a img { width: 32px; height: 32px; margin: 0; border-radius: 50%; object-fit: cover; }
#pxl-content-main .xsq-by { display: block; font-size: 12.5px; font-weight: 700; color: #c9b6ff; }
#pxl-content-main .xsq-a-text p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.88); overflow-wrap: anywhere; }

#pxl-content-main .xsq-more {
  display: block; margin: 14px auto 0; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1.2 var(--xsm-font-body, inherit); color: #fff;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.05);
}
#pxl-content-main .xsq-more:hover { background: rgba(255,255,255,.12); }
#pxl-content-main .xsq-more[disabled] { opacity: .55; cursor: wait; }

#pxl-content-main .xsq-form {
  display: grid; gap: 14px; margin-top: 22px; padding: 18px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(20,18,48,.55);
}
#pxl-content-main .xsq [hidden] { display: none; } /* các luật display ở trên có id nên thắng [hidden] mặc định */
#pxl-content-main .xsq-row { display: grid; gap: 14px; }
@media (min-width: 640px) { #pxl-content-main .xsq-row { grid-template-columns: 1fr 1fr; } }
/* align-content:start: ô bên trái không bị kéo cao theo cột bên phải */
#pxl-content-main .xsq-field { display: grid; gap: 7px; margin: 0; min-width: 0; align-content: start; }
#pxl-content-main .xsq-field > span:first-child { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
/* `body … .xsq .xsq-form` để thắng `body.motion-on #pxl-main input…` của lớp motion (background gộp xoá mũi tên) */
body #pxl-content-main .xsq .xsq-form input[type="text"],
body #pxl-content-main .xsq .xsq-form select,
body #pxl-content-main .xsq .xsq-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; margin: 0; padding: 0 14px; border-radius: 12px;
  font: 400 15px/1.4 var(--xsm-font-body, inherit); color: #fff; color-scheme: dark;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  box-shadow: none; /* theme gắn viền phát sáng inset cho mọi ô nhập */
}
body #pxl-content-main .xsq .xsq-form input[type="text"],
body #pxl-content-main .xsq .xsq-form select { height: 48px; } /* theme đặt select cao 60px */
body #pxl-content-main .xsq .xsq-form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c9c6ef' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
#pxl-content-main .xsq-form select:invalid { color: rgba(255,255,255,.45); }
#pxl-content-main .xsq-form ::placeholder { color: rgba(255,255,255,.38); opacity: 1; }
body #pxl-content-main .xsq .xsq-form textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
#pxl-content-main .xsq-form select option { color: #111; background: #fff; font-weight: 400; }
/* Tên châu lục: chữ trắng của ô chọn trên nền trắng của danh sách → dòng trống. Cho đậm, tối, nền hơi xám. */
body #pxl-content-main .xsq .xsq-form select optgroup { color: #3b2a7a; background: #efedf8; font-weight: 700; font-style: normal; }
body #pxl-content-main .xsq .xsq-form :is(input, select, textarea):focus { outline: none; border-color: var(--xsm-cyan, #00e5ff); box-shadow: 0 0 0 3px rgba(0,229,255,.18); }
#pxl-content-main .xsq-count { justify-self: end; margin-top: -2px; font-size: 12px; color: var(--xsm-muted, #9c9ac2); }
#pxl-content-main .xsq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#pxl-content-main .xsq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 2px; }
/* Nút gửi: màu nền đặc dự phòng + gradient, khai báo cho mọi trạng thái để kiểu nút của theme không xoá được */
#pxl-content-main .xsq-form .xsq-send,
#pxl-content-main .xsq-form .xsq-send:hover,
#pxl-content-main .xsq-form .xsq-send:focus,
#pxl-content-main .xsq-form .xsq-send:active {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer; opacity: 1; visibility: visible;
  font: 700 15px/1.2 var(--xsm-font-body, inherit); color: #fff; -webkit-text-fill-color: #fff;
  background-color: #7b2ff7; background-image: linear-gradient(100deg, #7b2ff7, #f107a3 55%, #00b8d9);
}
#pxl-content-main .xsq-form .xsq-send:hover { filter: brightness(1.08); }
#pxl-content-main .xsq-form .xsq-send:focus-visible { outline: 2px solid var(--xsm-cyan, #00e5ff); outline-offset: 3px; }
#pxl-content-main .xsq-form .xsq-send[disabled] { opacity: .6; cursor: wait; }
#pxl-content-main .xsq-privacy { flex: 1 1 220px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--xsm-muted, #9c9ac2); }
#pxl-content-main .xsq-status { margin: 0; font-size: 14px; color: #ff9a9a; }
#pxl-content-main .xsq-thanks {
  margin-top: 22px; padding: 16px 18px; border-radius: 14px; font-size: 15px; line-height: 1.6; color: #fff;
  border: 1px solid rgba(0,229,255,.35); background: rgba(0,229,255,.08);
}
#pxl-content-main .xsq-thanks:focus { outline: none; }
