/* ===============================
   刺さり投票UI
   対応JS：card-render-16-hit-ui.js
   =============================== */

.cmx-hit-ui {
  margin-top: 8px;
  font-size: 12px;
  color: #33415f;
}

.cmx-hit-title {
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cmx-hit-guest,
.cmx-hit-stats--empty {
  padding: 8px;
  border: 1px dashed #cfe5f8;
  border-radius: 8px;
  background: #f7fcff;
  color: #66758f;
  line-height: 1.5;
}

.cmx-hit-stats {
  display: grid;
  gap: 5px;
  margin: 8px 0 10px;
}

.cmx-hit-stats-total {
  font-size: 11px;
  color: #66758f;
}

.cmx-hit-stat-row {
  display: grid;
  gap: 3px;
}

.cmx-hit-stat-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 1.2;
}

.cmx-hit-stat-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef3f8;
}

.cmx-hit-stat-track span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #9fdcff, #ffafd3);
}

.cmx-hit-myvotes {
  margin: 8px 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: #fff8fb;
  border: 1px solid #ffd5e6;
}

.cmx-hit-myvotes-title {
  margin-bottom: 4px;
  font-weight: 700;
  color: #c34a7e;
}

.cmx-hit-myvote {
  line-height: 1.45;
}

.cmx-hit-myvote span {
  color: #6d7280;
}

.cmx-hit-locked {
  margin: 8px 0 2px;
  padding: 9px 10px;
  border: 1px solid #ffd1e3;
  border-radius: 9px;
  background: #fff6fa;
  color: #8b2f5e;
  text-align: center;
}

.cmx-hit-locked-title {
  font-weight: 800;
  line-height: 1.4;
}

.cmx-hit-locked-text {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
  color: #7a6170;
}

.cmx-hit-options,
.cmx-hit-concern-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.cmx-hit-options label,
.cmx-hit-concern-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
  cursor: pointer;
}

.cmx-hit-options input[type="radio"],
.cmx-hit-concern-options input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
  transform: translateY(1px);
}

.cmx-hit-note,
.cmx-hit-concern-note {
  width: 100%;
  height: 34px;
  padding: 6px 8px;
  font-size: 12px;
  border-radius: 7px;
  border: 1px solid #d7dce8;
  box-sizing: border-box;
  background: #fff;
}

.cmx-hit-submit,
.cmx-hit-concern-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid #a9d8ff;
  border-radius: 999px;
  background: #e9f7ff;
  color: #245681;
  font-weight: 700;
  cursor: pointer;
}

.cmx-hit-submit:disabled,
.cmx-hit-concern-submit:disabled {
  cursor: default;
  opacity: 0.65;
}

.cmx-hit-divider {
  height: 1px;
  margin: 12px 0;
  background: #edf2f8;
}

.cmx-hit-subtitle {
  margin: 8px 0 5px;
  font-weight: 800;
  color: #344364;
}

.cmx-hit-help {
  margin: 0 0 8px;
  color: #66758f;
  font-size: 11px;
  line-height: 1.5;
}

.cmx-hit-concern-options {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 180px;
  overflow: auto;
  padding: 7px;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  background: #fbfdff;
}

.cmx-hit-concern-stats .cmx-hit-stat-track--concern span {
  background: linear-gradient(90deg, #ffcf94, #ff8da9);
}

.cmx-hit-myvotes--concern {
  background: #fffaf3;
  border-color: #ffdcb0;
}
