/* ── Common styles shared by cet6-reading-exam.html & cet6-vocabulary.html ── */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 0.875rem;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  font-family: inherit;
}
.toast.show { opacity: 1; }

/* ── Context menu ── */
.context-menu {
  position: fixed;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius-sm, 8px);
  box-shadow: var(--shadow-lg, 0 4px 16px rgba(0,0,0,0.12));
  z-index: 10000;
  min-width: 170px;
  padding: 4px 0;
  display: none;
}
.context-menu .menu-item {
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.context-menu .menu-item:hover {
  background: var(--accent-light, #e8f0fe);
  color: var(--accent, #1a73e8);
}
.context-menu .menu-divider {
  height: 1px;
  background: var(--border, #e0e0e0);
  margin: 4px 0;
}
