.sc {
  border-radius: 0.75rem;
  background: #1a1d24;
  border: 1px solid #2a2f3a;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem 0.6rem;
  min-height: 5rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s, background 0.15s;
}

.sc:hover { border-color: #4a4f5a; background: #1e2130; }
.sc.sc--flipped { border-color: #2e7d32; background: #0f1b14; }

.sc.sc--ai { background: #0d2448; border-color: #1976d2; }
.sc.sc--ai:hover { background: #102a52; border-color: #1976d2; }
.sc.sc--ai.sc--flipped { background: #0a1f3a; border-color: #1976d2; }

.sc__front,
.sc__back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.sc__back { display: none; }
.sc.sc--flipped .sc__front { display: none; }
.sc.sc--flipped .sc__back { display: flex; }

.sc__chinese {
  font-size: 1.35rem;
  font-weight: 600;
  color: #e8eaf0;
  word-break: break-all;
  line-height: 1.4;
}

.sc__english {
  font-size: 0.9rem;
  color: #c8d0dc;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sc__front .sc__english {
  font-size: 1.35rem;
  font-weight: 600;
  color: #e8eaf0;
}

.sc__pinyin {
  font-size: 0.75rem;
  color: #66bb6a;
  font-style: italic;
}

.sc__badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #8b919a;
  background: #2a2f3a;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.04em;
}

.sc__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.sc__score-bars {
  display: inline-block;
  vertical-align: middle;
  opacity: 0.85;
}

.sc__date {
  font-size: 0.6rem;
  color: #8b919a;
}

.sc__ai-label {
  font-size: 0.6rem;
  color: #ef5350;
}
