/** @file web/src/components/recommend/RecommendView.module.css */
.backdrop {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 24px;
}
.modal {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg-card, #080908);
  color: var(--color-text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.header,
.footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--color-border); }
.footer { border-top: 1px solid var(--color-border); border-bottom: 0; justify-content: flex-end; }
.header h2 { display: flex; align-items: center; gap: 9px; margin: 4px 0; font-size: 21px; }
.eyebrow { margin: 0; color: var(--color-accent); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.summary,
.muted { color: var(--color-text-muted); margin: 0; }
.close,
.secondary { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.close { width: 32px; height: 32px; justify-content: center; }
.secondary { padding: 8px 12px; font-weight: 800; }
.secondary:disabled { opacity: .45; cursor: not-allowed; }
.body { padding: 26px 28px; }
.steps { color: var(--color-accent); font-family: var(--font-mono); font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.body h3 { margin: 0 0 18px; font-size: 20px; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.option { min-height: 120px; padding: 18px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); color: var(--color-text); cursor: pointer; text-align: left; transition: transform 120ms, border-color 120ms, background 120ms; }
.option:hover { transform: translateY(-2px); border-color: var(--color-accent); background: var(--color-bg-hover); }
.option strong { display: block; font-size: 16px; margin-bottom: 8px; }
.option span { color: var(--color-text-dim); font-family: var(--font-mono); font-size: 11px; }
.progress { height: 14px; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; background: var(--color-surface); }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-accent), #b400ff); transition: width 200ms; }
.percent { font-family: var(--font-mono); color: var(--color-accent); font-weight: 900; }
.results { display: flex; flex-direction: column; gap: 12px; }
.resultCard { display: grid; grid-template-columns: 38px 1fr 60px auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); }
.medal { font-size: 26px; }
.resultMain { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.resultMain strong { font-size: 15px; }
.resultMain span { color: var(--color-text-muted); font-size: 12px; }
.resultMain p { margin: 5px 0 0; color: var(--color-text-dim); font-size: 12px; }
.score { font-family: var(--font-mono); color: var(--color-accent); font-size: 24px; font-weight: 900; text-align: center; }
.error { margin: 0 24px 16px; color: #ff5a7a; font-weight: 800; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } .resultCard { grid-template-columns: 32px 1fr; } .score { text-align: left; } }
