/* Remolabo Diagnosis Widget
   - 他テーマと衝突しないよう、すべて .rmdx でスコープ化
*/
.rmdx, .rmdx * { box-sizing: border-box; }
.rmdx { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
.rmdx a { text-decoration: none; }

.rmdx__wrap{
  padding: 16px;
  background: radial-gradient(circle at 20% 10%, rgba(255,196,133,.55), transparent 45%),
              radial-gradient(circle at 90% 15%, rgba(255,145,191,.35), transparent 50%),
              linear-gradient(135deg, #fff7ed, #fdf2f8, #ffedd5);
}

.rmdx__container{ max-width: 420px; margin: 0 auto; }

.rmdx__card{
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(17,24,39,.12);
  padding: 18px;
}

.rmdx__badge{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb923c, #f472b6);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 12px;
}

.rmdx__imgBox{
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,196,133,.4), rgba(255,145,191,.25));
}
.rmdx__img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.rmdx__sub{
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}

.rmdx__btnPrimary{
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #fb923c, #f472b6);
  transition: transform .05s ease, filter .15s ease;
}
.rmdx__btnPrimary:active{ transform: translateY(1px); filter: brightness(.96); }

.rmdx__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.rmdx__muted{ color: #6b7280; font-size: 13px; }
.rmdx__progressText{ color: #fb923c; font-weight: 700; }
.rmdx__bar{
  height: 8px; border-radius: 999px;
  background: #ffedd5;
  overflow: hidden;
}
.rmdx__barFill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb923c, #f472b6);
  transition: width .45s ease;
}

.rmdx__q{
  margin: 14px 0 12px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #111827;
}

.rmdx__choices{ display: grid; gap: 10px; }
.rmdx__choice{
  width: 100%;
  text-align: left;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #f9fafb;
  padding: 14px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.rmdx__choice:active{ transform: translateY(1px); background: #fff7ed; border-color: #fdba74; }

.rmdx__pill{
  width: 34px; height: 34px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,24,39,.06);
  display:flex; align-items:center; justify-content:center;
  color: #9ca3af; font-weight: 700; font-size: 12px;
  flex: 0 0 auto;
}
.rmdx__choiceText{ font-size: 13px; line-height: 1.45; color: #111827; }

.rmdx__note{
  margin-top: 12px;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}

.rmdx__tag{
  display:inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.rmdx__tag--orange{ background: #ffedd5; color: #c2410c; }
.rmdx__tag--pink{ background: #fce7f3; color: #be185d; }

.rmdx__section{ margin: 18px 0; }
.rmdx__list{ margin: 10px 0 0; padding: 0; list-style: none; display:grid; gap: 8px; }
.rmdx__li{ display:flex; gap: 10px; align-items:flex-start; color:#374151; font-size: 13px; line-height: 1.5; }
.rmdx__dot{
  margin-top: 7px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #9ca3af;
  flex: 0 0 auto;
}

.rmdx__typeName{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 2px 0 0;
}
.rmdx__cta{
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
  text-align: center;
}
.rmdx__ctaTitle{ font-size: 16px; font-weight: 700; margin: 0 0 10px; color:#111827; }

.rmdx__btnLine{
  display:block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  background: #06C755;
  font-weight: 700;
}
.rmdx__small{ margin-top: 10px; font-size: 11px; color: #9ca3af; }

.rmdx__btnGhost{
  margin-top: 14px;
  width: 100%;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  color: #4b5563;
}
.rmdx__btnGhost:active{ background: #f9fafb; }

/* Optional: simple fade-in */
.rmdx__fade{ animation: rmdxFade .18s ease both; }
@keyframes rmdxFade{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}
/* ===== 余計な黒丸（テーマ側の疑似要素）も含めて殺す ===== */
.rmdx .rmdx__list{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-inline-start: 0 !important;
  margin-inline-start: 0 !important;
}

.rmdx .rmdx__list li{
  list-style: none !important;
}

.rmdx .rmdx__list li::marker{
  color: transparent !important;
  font-size: 0 !important;
}

/* テーマが li::before で黒丸を足してるパターンを潰す */
.rmdx .rmdx__list li::before{
  content: none !important;
  display: none !important;
}

/* ===== 太字を落とす（残ってる 900 を潰す） ===== */
.rmdx .rmdx__ctaTitle{ font-weight: 700 !important; }
.rmdx .rmdx__btnLine{ font-weight: 800 !important; }
.rmdx .rmdx__btnGhost{ font-weight: 700 !important; }

.rmdx .rmdx__fade{ animation: none !important; }
