/* WizTick reader comments - v46 helpful thumbs UI */
html, body { max-width: 100%; overflow-x: hidden; }
.wt-comments,
.wt-comments * { box-sizing: border-box; }
.wt-comments {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  margin: 46px auto 0;
  overflow-x: hidden;
}
.wt-comments-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 26px;
  box-shadow: 0 18px 54px rgba(9,33,61,.10);
  padding: clamp(20px, 4vw, 34px);
  color: #09213d;
}
.wt-comments-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  background: #f7f9fc;
  border: 1px solid #e6eaf0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.wt-comments h2,
.wt-comments-title {
  display: block;
  max-width: 100%;
  margin: 0 0 10px;
  color: #071f3b;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.8px;
  overflow-wrap: anywhere;
}
.wt-comments-subtitle {
  color: #5f6b7a;
  margin: 0 0 20px;
  max-width: 760px;
  overflow-wrap: anywhere;
}
.wt-comments-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.wt-comments-pill {
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fbfcff;
  color: #31455f;
  font-weight: 850;
  font-size: 13px;
  padding: 9px 12px;
}
.wt-comments-form {
  display: grid;
  gap: 14px;
  background: #fbfcff;
  border: 1px solid #e6eaf0;
  border-radius: 22px;
  padding: 18px;
  margin: 18px 0 24px;
}
.wt-comments-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: end; }
.wt-comments-field { display: grid; gap: 7px; min-width: 0; }
.wt-comments label { font-weight: 850; color: #173453; font-size: 14px; }
.wt-comments input,
.wt-comments textarea,
.wt-comments select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #d9e1ea;
  border-radius: 14px;
  background: #fff;
  color: #09213d;
  font: inherit;
  padding: 12px 13px;
}
.wt-comments textarea { min-height: 112px; resize: vertical; }
.wt-comments input:focus,
.wt-comments textarea:focus,
.wt-comments select:focus { outline: 3px solid rgba(13,98,200,.16); border-color: #9ac0eb; }
.wt-comments-help { color: #748093; font-size: 13px; margin: -4px 0 0; }
.wt-star-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wt-star-select label { cursor: pointer; min-width: 0; }
.wt-star-select input { position: absolute; opacity: 0; pointer-events: none; }
.wt-star-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 54px;
  border-radius: 999px;
  border: 1px solid #d9e1ea;
  background: #fff;
  color: #31455f;
  font-size: 18px;
  font-weight: 950;
  padding: 0 12px;
  line-height: 1;
}
.wt-star-select input:checked + .wt-star-chip { background: #071f3b; color: #ffc746; border-color: #071f3b; }
.wt-comments-submit,
.wt-reply-submit {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 999px;
  background: #ffc746;
  color: #071f3b;
  font-weight: 950;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216,180,49,.22);
}
.wt-comments-submit:hover,
.wt-reply-submit:hover { transform: translateY(-1px); }
.wt-comments-submit:disabled,
.wt-reply-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.wt-comments-list { display: grid; gap: 14px; margin-top: 10px; max-width: 100%; overflow-x: hidden; }
.wt-comment {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #e4e9f0;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
}
.wt-comment-reply { margin-left: 24px; background: #fbfcff; }
.wt-comment-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 7px; }
.wt-comment-name { font-weight: 950; color: #071f3b; }
.wt-comment-date { color: #7a8796; font-size: 13px; }
.wt-comment-score { background: #fff7da; border: 1px solid rgba(216,180,49,.36); color: #071f3b; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 900; }
.wt-comment-stars { color: #d8a900; letter-spacing: 1px; }
.wt-comment-text { white-space: pre-wrap; color: #22364d; margin: 0 0 10px; overflow-wrap: anywhere; }
.wt-reply-button {
  border: 0;
  background: transparent;
  color: #0d62c8;
  cursor: pointer;
  padding: 0;
  font-weight: 900;
}
.wt-reply-box { margin-top: 12px; display: grid; gap: 10px; }
.wt-comments-empty,
.wt-comments-error {
  color: #5f6b7a;
  background: #fbfcff;
  border: 1px dashed #d7dee8;
  border-radius: 16px;
  padding: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.wt-comments-hp { display: none !important; }
@media (max-width: 680px) {
  .wt-comments { width: min(100% - 22px, 1120px); margin-top: 34px; }
  .wt-comments-card { border-radius: 20px; padding: 18px 14px; }
  .wt-star-select { gap: 6px; }
  .wt-star-chip { min-width: 46px; min-height: 40px; padding: 0 10px; }
  .wt-comment-reply { margin-left: 10px; }
}


/* v46 compact helpful thumbs selector */
.wt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wt-challenge-field {
  width: fit-content;
  max-width: 100%;
}
.wt-challenge-select {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
}
.wt-challenge-select label {
  cursor: pointer;
  min-width: 0;
}
.wt-challenge-select input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wt-challenge-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d9e1ea;
  background: #fff;
  color: #09213d;
  box-shadow: 0 8px 18px rgba(9,33,61,.04);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.wt-challenge-chip svg {
  width: 22px;
  height: 22px;
  display: block;
}
.wt-challenge-select input:checked + .wt-challenge-chip {
  background: #071f3b;
  color: #ffc746;
  border-color: #071f3b;
  transform: translateY(-1px);
}
.wt-challenge-select input:focus-visible + .wt-challenge-chip {
  outline: 3px solid rgba(13,98,200,.18);
  outline-offset: 2px;
}
.wt-comments-summary svg,
.wt-comment-score svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 5px;
}
.wt-comment-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 680px) {
  .wt-challenge-field { width: 100%; }
  .wt-challenge-select { gap: 8px; }
  .wt-challenge-chip { width: 64px; height: 42px; }
}
