
/* =========================================================
   MKS Vocab v1.6
   Stable compact layout. No over-moving chips/tabs.
========================================================= */

:root{
  --mks-vocab-primary:#6638e8;
  --mks-vocab-blue:#2457e8;
  --mks-vocab-text:#111827;
  --mks-vocab-muted:#4b5563;
  --mks-vocab-border:rgba(102,56,232,.18);
  --mks-vocab-soft:#f2edff;
  --mks-vocab-soft2:#fbf9ff;
}

.mks-gre-vocab,
.mks-gre-vocab *{
  box-sizing:border-box;
}

.mks-gre-vocab{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--mks-vocab-text);
  line-height:1.45;
}

/* HERO: simple compact */
.mks-gre-vocab .mks-gre-hero,
.mks-gre-vocab .mks-gre-course-hero{
  background:linear-gradient(135deg,#1b0b46 0%,#35107a 50%,#1455d9 100%) !important;
  color:#fff !important;
  padding:22px 30px !important;
  min-height:auto !important;
  margin:0 0 16px !important;
  border-radius:0 0 18px 18px !important;
  box-shadow:0 12px 28px rgba(24,16,60,.12) !important;
}

.mks-gre-vocab .mks-gre-hero h1,
.mks-gre-vocab .mks-gre-course-hero h1{
  color:#fff !important;
  font-size:clamp(30px,3vw,44px) !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  margin:12px 0 8px !important;
  font-weight:900 !important;
}

.mks-gre-vocab .mks-gre-hero p,
.mks-gre-vocab .mks-gre-course-hero p{
  color:rgba(255,255,255,.92) !important;
  font-size:15px !important;
  line-height:1.45 !important;
  max-width:980px !important;
  margin:0 !important;
}

.mks-gre-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff !important;
  border:1px solid rgba(255,255,255,.22);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* SECTIONS */
.mks-gre-section{
  background:#fff !important;
  border:1px solid var(--mks-vocab-border) !important;
  border-radius:18px !important;
  padding:18px 22px !important;
  margin:16px 0 !important;
  box-shadow:0 8px 22px rgba(24,16,60,.045) !important;
}

.mks-gre-section-heading{
  margin-bottom:12px !important;
}

.mks-gre-section-heading h2,
.mks-gre-section h2{
  color:#111827 !important;
  font-size:clamp(24px,2.3vw,34px) !important;
  line-height:1.12 !important;
  margin:5px 0 8px !important;
  letter-spacing:-.03em !important;
}

.mks-gre-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px !important;
}

.mks-gre-grid-2>*{grid-column:span 6}
.mks-gre-grid-3>*{grid-column:span 4}
.mks-gre-grid-4>*{grid-column:span 3}

/* GENERAL CARDS */
.mks-gre-card,
.mks-gre-widget{
  background:#fff !important;
  border:1px solid var(--mks-vocab-border) !important;
  border-top:4px solid var(--mks-vocab-primary) !important;
  border-radius:16px !important;
  padding:15px 16px !important;
  box-shadow:0 7px 18px rgba(24,16,60,.045) !important;
}

.mks-gre-card h3,
.mks-gre-widget h3{
  font-size:17px !important;
  line-height:1.2 !important;
  margin:0 0 7px !important;
  color:#111827 !important;
  font-weight:900 !important;
}

.mks-gre-card p,
.mks-gre-widget p,
.mks-gre-card li,
.mks-gre-widget li{
  font-size:13.5px !important;
  line-height:1.45 !important;
  color:#374151 !important;
}

/* WORD CARD: stable two-column layout */
.mks-gre-word-card{
  background:#fff !important;
  border:1px solid var(--mks-vocab-border) !important;
  border-top:4px solid var(--mks-vocab-primary) !important;
  border-radius:16px !important;
  box-shadow:0 7px 18px rgba(24,16,60,.045) !important;
  padding:14px 16px !important;
  display:grid !important;
  grid-template-columns:minmax(310px, 0.95fr) minmax(330px, 1.05fr) !important;
  grid-template-areas:
    "head head"
    "chips chips"
    "tabs recall"
    "panel recall"
    "panel actions" !important;
  gap:7px 16px !important;
  align-items:start !important;
}

/* Header: word left, module badge right */
.mks-gre-word-title{
  grid-area:head !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
}

.mks-gre-word-title>div{
  display:flex !important;
  align-items:baseline !important;
  flex-wrap:wrap !important;
  gap:7px !important;
  min-width:0 !important;
}

.mks-gre-word-title h3{
  margin:0 !important;
  color:#111827 !important;
  font-size:22px !important;
  line-height:1.05 !important;
  letter-spacing:-.03em !important;
  font-weight:900 !important;
}

.mks-gre-word-title span{
  color:#4b5563 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}

.mks-gre-word-title>span:last-child{
  flex:0 0 auto !important;
  background:var(--mks-vocab-soft) !important;
  color:#4b3b65 !important;
  border-radius:999px !important;
  padding:6px 11px !important;
  font-size:11.5px !important;
  line-height:1 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}

/* Chips: normal row below title */
.mks-gre-chip-row{
  grid-area:chips !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:5px !important;
  margin:0 !important;
  padding:0 !important;
}

.mks-gre-chip,
.mks-gre-word-card .mks-gre-chip-row span,
.mks-gre-word-card .mks-gre-chip-row .mks-gre-chip{
  display:inline-flex !important;
  align-items:center !important;
  padding:4px 8px !important;
  border-radius:999px !important;
  background:var(--mks-vocab-soft) !important;
  color:#4c1d95 !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}

/* Tabs: left column */
.mks-gre-tabs{
  grid-area:tabs !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:5px !important;
  margin:3px 0 0 !important;
  padding:0 !important;
}

.mks-gre-tab{
  border:1px solid rgba(102,56,232,.18) !important;
  background:#fff !important;
  color:#6638e8 !important;
  border-radius:999px !important;
  padding:6px 10px !important;
  cursor:pointer !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:900 !important;
}

.mks-gre-tab.is-active{
  color:#fff !important;
  background:linear-gradient(135deg,#6638e8,#2457e8) !important;
}

/* Panels: always left below tabs */
.mks-gre-tab-panel{
  grid-area:panel !important;
  display:none !important;
  background:var(--mks-vocab-soft2) !important;
  border:1px solid rgba(102,56,232,.15) !important;
  border-radius:13px !important;
  padding:10px 12px !important;
  margin:0 !important;
  width:100% !important;
}

.mks-gre-tab-panel.is-active{
  display:block !important;
}

.mks-gre-tab-panel p{
  margin:3px 0 !important;
  color:#1f2937 !important;
  font-size:13px !important;
  line-height:1.35 !important;
}

.mks-gre-tab-panel strong{
  color:#111827 !important;
  font-weight:900 !important;
}

/* Recall right */
.mks-gre-word-card>[data-mks-gre-recall]{
  grid-area:recall !important;
  margin:0 !important;
  padding:22px 0 0 !important;
}

.mks-gre-word-card>[data-mks-gre-recall] label,
.mks-gre-word-card>[data-mks-gre-recall] p:first-child{
  display:block !important;
  margin:0 0 6px !important;
  color:#111827 !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}

.mks-gre-input,
.mks-gre-recall-input{
  width:100% !important;
  height:36px !important;
  border:1px solid rgba(102,56,232,.16) !important;
  border-radius:10px !important;
  padding:8px 11px !important;
  font-size:13px !important;
  outline:none !important;
  margin:0 !important;
  color:#111827 !important;
  background:#fff !important;
}

/* Buttons right in one row */
.mks-gre-word-card>.mks-gre-btn-row{
  grid-area:actions !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:6px !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin:0 !important;
}

.mks-gre-btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:8px;
}

.mks-gre-btn{
  border:0 !important;
  border-radius:10px !important;
  padding:8px 13px !important;
  min-height:34px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:900 !important;
  cursor:pointer !important;
  text-decoration:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
}

.mks-gre-btn-primary{
  color:#fff !important;
  background:linear-gradient(135deg,#6638e8,#2457e8) !important;
}

.mks-gre-btn-outline{
  color:#6638e8 !important;
  background:#fff !important;
  border:1px solid rgba(102,56,232,.18) !important;
}

.mks-gre-btn-soft{
  color:#3b1678 !important;
  background:var(--mks-vocab-soft) !important;
}

/* Short visible text */
.mks-gre-btn[data-mks-gre-check-recall]{font-size:0 !important}
.mks-gre-btn[data-mks-gre-check-recall]::after{content:"Check";font-size:12px !important}

.mks-gre-btn[data-mks-gre-mark-learned]{font-size:0 !important}
.mks-gre-btn[data-mks-gre-mark-learned]::after{content:"Learned";font-size:12px !important}

.mks-gre-btn[data-mks-gre-save-hard]{font-size:0 !important}
.mks-gre-btn[data-mks-gre-save-hard]::after{content:"Hard";font-size:12px !important}

.mks-gre-btn[data-mks-gre-save-error]{font-size:0 !important}
.mks-gre-btn[data-mks-gre-save-error]::after{content:"Error";font-size:12px !important}

/* Quiz */
.mks-gre-quiz-option{
  display:block;
  padding:8px 10px !important;
  border:1px solid rgba(102,56,232,.16) !important;
  border-radius:10px !important;
  margin:6px 0 !important;
  cursor:pointer;
  background:#fff;
  font-size:13px !important;
}
.mks-gre-quiz-option.is-correct{border-color:rgba(22,163,74,.45) !important;background:#ecfdf5 !important}
.mks-gre-quiz-option.is-wrong{border-color:rgba(220,38,38,.45) !important;background:#fef2f2 !important}

.mks-gre-feedback{
  font-weight:800;
  margin:6px 0 0;
  font-size:12px;
}
.mks-gre-feedback.good{color:#16a34a}
.mks-gre-feedback.bad{color:#dc2626}
.mks-gre-feedback.warn{color:#d97706}

/* Widgets */
.mks-gre-progress-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.mks-gre-stat{background:var(--mks-vocab-soft2);border:1px solid rgba(102,56,232,.16);border-radius:12px;padding:10px}
.mks-gre-stat strong{display:block;font-size:22px;color:#6638e8 !important}
.mks-gre-stat span{color:#4b5563;font-weight:800;font-size:11px}
.mks-gre-progress-bar{height:9px;border-radius:999px;background:#e9ddff;overflow:hidden;margin-top:12px}
.mks-gre-progress-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6638e8,#2457e8)}
.mks-gre-review-list,.mks-gre-error-list{display:grid;gap:8px}
.mks-gre-list-item{background:var(--mks-vocab-soft2);border:1px solid rgba(102,56,232,.16);border-radius:12px;padding:10px}
.mks-gre-empty{color:#4b5563;font-weight:700;background:var(--mks-vocab-soft2);padding:12px;border-radius:12px;border:1px dashed rgba(102,56,232,.18)}

/* Responsive */
@media (max-width:1100px){
  .mks-gre-word-card{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "head"
      "chips"
      "tabs"
      "panel"
      "recall"
      "actions" !important;
  }
  .mks-gre-word-card>[data-mks-gre-recall]{
    padding-top:2px !important;
  }
  .mks-gre-word-card>.mks-gre-btn-row{
    flex-wrap:wrap !important;
  }
}

@media (max-width:900px){
  .mks-gre-grid-2>*,
  .mks-gre-grid-3>*,
  .mks-gre-grid-4>*{grid-column:span 12}
  .mks-gre-progress-grid{grid-template-columns:repeat(2,1fr)}
  .mks-gre-vocab .mks-gre-hero,
  .mks-gre-vocab .mks-gre-course-hero{padding:20px !important}
  .mks-gre-vocab .mks-gre-hero h1,
  .mks-gre-vocab .mks-gre-course-hero h1{font-size:30px !important}
}

@media (max-width:540px){
  .mks-gre-progress-grid{grid-template-columns:1fr}
  .mks-gre-word-title{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:6px !important;
  }
  .mks-gre-word-title h3{font-size:20px !important}
}



/* =========================================================
   MKS Vocab v1.7 - Organized polish layer
   Goal: same stable layout, better visual hierarchy, less empty space
========================================================= */

/* Overall page blocks feel more organized */
.mks-gre-vocab .mks-gre-section {
  background: linear-gradient(180deg,#ffffff 0%,#fdfcff 100%) !important;
}

/* Cleaner section cards for learning outcomes */
.mks-gre-vocab .mks-gre-section .mks-gre-card {
  min-height: 118px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.mks-gre-vocab .mks-gre-section .mks-gre-card h3 {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.mks-gre-vocab .mks-gre-section .mks-gre-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg,#6638e8,#2457e8);
  flex: 0 0 8px;
}

/* Word cards: tighter and more premium */
.mks-gre-vocab .mks-gre-word-card {
  background:
    linear-gradient(180deg,#ffffff 0%,#fdfcff 100%) !important;
  border-left: 1px solid rgba(102,56,232,.14) !important;
  border-right: 1px solid rgba(102,56,232,.14) !important;
  border-bottom: 1px solid rgba(102,56,232,.14) !important;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease !important;
}

.mks-gre-vocab .mks-gre-word-card:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 26px rgba(24,16,60,.075) !important;
  border-color: rgba(102,56,232,.25) !important;
}

/* Make title area cleaner */
.mks-gre-vocab .mks-gre-word-title {
  padding-bottom: 2px !important;
  border-bottom: 1px solid rgba(102,56,232,.08) !important;
}

.mks-gre-vocab .mks-gre-word-title h3 {
  text-transform: none !important;
}

.mks-gre-vocab .mks-gre-word-title > div span {
  color: #374151 !important;
  opacity: .88 !important;
}

/* Module badge softer and right-aligned */
.mks-gre-vocab .mks-gre-word-title > span:last-child {
  background: linear-gradient(135deg,#f2edff,#eef4ff) !important;
  color: #43315f !important;
  border: 1px solid rgba(102,56,232,.08) !important;
}

/* Chips: more organized and smaller */
.mks-gre-vocab .mks-gre-chip-row {
  margin-top: 2px !important;
  margin-bottom: 1px !important;
}

.mks-gre-vocab .mks-gre-chip,
.mks-gre-vocab .mks-gre-word-card .mks-gre-chip-row span,
.mks-gre-vocab .mks-gre-word-card .mks-gre-chip-row .mks-gre-chip {
  background: #f5f1ff !important;
  border: 1px solid rgba(102,56,232,.08) !important;
}

/* Tabs: make active state less bulky */
.mks-gre-vocab .mks-gre-tab {
  min-width: 0 !important;
  box-shadow: none !important;
}

.mks-gre-vocab .mks-gre-tab.is-active {
  box-shadow: 0 5px 12px rgba(102,56,232,.16) !important;
}

/* Panel: cleaner, with less visual heaviness */
.mks-gre-vocab .mks-gre-tab-panel {
  min-height: 126px !important;
  background: #fbfaff !important;
}

.mks-gre-vocab .mks-gre-tab-panel p + p {
  margin-top: 6px !important;
}

/* GRE Use panel / quiz: more organized */
.mks-gre-vocab [data-mks-gre-quiz-item] {
  background: #ffffff !important;
  border: 1px solid rgba(102,56,232,.12) !important;
  border-radius: 12px !important;
  padding: 9px 10px !important;
  margin-top: 8px !important;
}

.mks-gre-vocab [data-mks-gre-quiz-item] p {
  margin: 0 0 7px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* Quiz choices compact but readable */
.mks-gre-vocab .mks-gre-quiz-option {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 5px 0 !important;
}

.mks-gre-vocab .mks-gre-quiz-option input {
  margin: 0 !important;
}

/* Recall block: reduce empty top gap and give nice box */
.mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] {
  background: #ffffff !important;
  border: 1px solid rgba(102,56,232,.10) !important;
  border-radius: 13px !important;
  padding: 12px !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] label,
.mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] p:first-child {
  max-width: 100% !important;
}

/* Put Check directly after input with natural width */
.mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] .mks-gre-btn {
  margin-top: 7px !important;
  width: max-content !important;
}

/* Actions box aligned below recall */
.mks-gre-vocab .mks-gre-word-card > .mks-gre-btn-row {
  padding-top: 0 !important;
  align-self: start !important;
}

.mks-gre-vocab .mks-gre-word-card > .mks-gre-btn-row .mks-gre-btn {
  min-width: 72px !important;
}

/* Button hover polish */
.mks-gre-vocab .mks-gre-btn {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}

.mks-gre-vocab .mks-gre-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 14px rgba(24,16,60,.08) !important;
}

/* Specific spacing when cards are shown in two columns */
@media (min-width: 1101px) {
  .mks-gre-vocab .mks-gre-word-card {
    min-height: 238px !important;
  }

  .mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] {
    min-height: 126px !important;
  }

  .mks-gre-vocab .mks-gre-word-card > .mks-gre-btn-row {
    margin-top: -2px !important;
  }
}

/* Slightly smaller hero only after stable card fix */
.mks-gre-vocab .mks-gre-hero h1,
.mks-gre-vocab .mks-gre-course-hero h1 {
  font-size: clamp(28px,2.65vw,40px) !important;
}

.mks-gre-vocab .mks-gre-hero,
.mks-gre-vocab .mks-gre-course-hero {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Improve top content title if outside hero */
.mks-gre-vocab > h1,
.mks-gre-vocab .mks-gre-main-title {
  font-size: clamp(28px,2.7vw,40px) !important;
  line-height: 1.1 !important;
  margin: 10px 0 8px !important;
  letter-spacing: -0.035em !important;
}

/* Mobile: keep simple */
@media (max-width: 1100px) {
  .mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] {
    min-height: 0 !important;
  }
  .mks-gre-vocab .mks-gre-tab-panel {
    min-height: 0 !important;
  }
}



/* =========================================================
   MKS Vocab v1.8 - Final MKS Brand Color Scheme
   Brand base: #8222ee
   Gradient method: #8222ee -> #5b2cff -> #1673ff
========================================================= */

.mks-gre-vocab {
  --mks-brand: #8222ee;
  --mks-brand-dark: #4b0ea8;
  --mks-brand-mid: #5b2cff;
  --mks-brand-blue: #1673ff;
  --mks-brand-soft: #f4ecff;
  --mks-brand-soft-2: #faf7ff;
  --mks-brand-border: rgba(130, 34, 238, 0.18);
  --mks-brand-border-strong: rgba(130, 34, 238, 0.32);
  --mks-brand-shadow: rgba(130, 34, 238, 0.16);
}

/* Main hero with correct MKS #8222ee brand */
.mks-gre-vocab .mks-gre-hero,
.mks-gre-vocab .mks-gre-course-hero {
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.18), transparent 28%),
    radial-gradient(circle at 72% 18%, rgba(22,115,255,.28), transparent 34%),
    linear-gradient(135deg, #3b087d 0%, #8222ee 44%, #5b2cff 68%, #1673ff 100%) !important;
  box-shadow: 0 14px 34px rgba(130,34,238,.18) !important;
}

/* Hero badge */
.mks-gre-vocab .mks-gre-hero .mks-gre-kicker,
.mks-gre-vocab .mks-gre-course-hero .mks-gre-kicker {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.26) !important;
}

/* Section border and subtle background */
.mks-gre-vocab .mks-gre-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #fdfaff 100%) !important;
  border-color: var(--mks-brand-border) !important;
  box-shadow: 0 8px 22px rgba(130,34,238,.055) !important;
}

/* Cards with brand purple top border */
.mks-gre-vocab .mks-gre-card,
.mks-gre-vocab .mks-gre-widget {
  border-color: var(--mks-brand-border) !important;
  border-top-color: #8222ee !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #fefcff 100%) !important;
  box-shadow: 0 7px 18px rgba(130,34,238,.055) !important;
}

.mks-gre-vocab .mks-gre-card h3::before {
  background: linear-gradient(135deg, #8222ee, #1673ff) !important;
}

/* Word cards with branded gradient line */
.mks-gre-vocab .mks-gre-word-card {
  border-color: var(--mks-brand-border) !important;
  border-top: 0 !important;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(130,34,238,.36), rgba(22,115,255,.24)) border-box !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 22px rgba(130,34,238,.06) !important;
}

.mks-gre-vocab .mks-gre-word-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #8222ee 0%, #5b2cff 55%, #1673ff 100%) !important;
  display: block !important;
  z-index: 1 !important;
}

.mks-gre-vocab .mks-gre-word-card:hover {
  box-shadow: 0 12px 30px rgba(130,34,238,.10) !important;
  border-color: transparent !important;
}

/* Title separator */
.mks-gre-vocab .mks-gre-word-title {
  border-bottom-color: rgba(130,34,238,.09) !important;
}

/* Module badge */
.mks-gre-vocab .mks-gre-word-title > span:last-child {
  background:
    linear-gradient(135deg, #f5ecff 0%, #eef4ff 100%) !important;
  color: #4b0ea8 !important;
  border-color: rgba(130,34,238,.12) !important;
}

/* Chips and tags */
.mks-gre-vocab .mks-gre-chip,
.mks-gre-vocab .mks-gre-word-card .mks-gre-chip-row span,
.mks-gre-vocab .mks-gre-word-card .mks-gre-chip-row .mks-gre-chip {
  background: linear-gradient(135deg, #f5ecff, #f0e8ff) !important;
  color: #5b0fc7 !important;
  border-color: rgba(130,34,238,.10) !important;
}

/* Tabs */
.mks-gre-vocab .mks-gre-tab {
  color: #8222ee !important;
  border-color: rgba(130,34,238,.16) !important;
}

.mks-gre-vocab .mks-gre-tab.is-active {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, #8222ee 0%, #5b2cff 58%, #1673ff 100%) !important;
  box-shadow: 0 6px 15px rgba(130,34,238,.20) !important;
}

/* Panels and recall box */
.mks-gre-vocab .mks-gre-tab-panel,
.mks-gre-vocab .mks-gre-word-card > [data-mks-gre-recall] {
  background: linear-gradient(180deg, #fdfaff 0%, #fbf7ff 100%) !important;
  border-color: rgba(130,34,238,.13) !important;
}

/* Inputs */
.mks-gre-vocab .mks-gre-input,
.mks-gre-vocab .mks-gre-recall-input {
  border-color: rgba(130,34,238,.16) !important;
}

.mks-gre-vocab .mks-gre-input:focus,
.mks-gre-vocab .mks-gre-recall-input:focus {
  border-color: #8222ee !important;
  box-shadow: 0 0 0 3px rgba(130,34,238,.10) !important;
}

/* Buttons */
.mks-gre-vocab .mks-gre-btn-primary {
  color: #fff !important;
  background:
    linear-gradient(135deg, #8222ee 0%, #5b2cff 58%, #1673ff 100%) !important;
  box-shadow: 0 7px 16px rgba(130,34,238,.16) !important;
}

.mks-gre-vocab .mks-gre-btn-outline {
  color: #8222ee !important;
  background: #ffffff !important;
  border-color: rgba(130,34,238,.18) !important;
}

.mks-gre-vocab .mks-gre-btn-soft {
  color: #4b0ea8 !important;
  background: linear-gradient(135deg, #f5ecff, #f0e8ff) !important;
}

.mks-gre-vocab .mks-gre-btn:hover {
  box-shadow: 0 8px 18px rgba(130,34,238,.14) !important;
}

/* Quiz options */
.mks-gre-vocab .mks-gre-quiz-option {
  border-color: rgba(130,34,238,.14) !important;
}

.mks-gre-vocab [data-mks-gre-quiz-item] {
  border-color: rgba(130,34,238,.12) !important;
}

/* Progress widgets */
.mks-gre-vocab .mks-gre-stat {
  background: linear-gradient(180deg, #fdfaff, #f7f0ff) !important;
  border-color: rgba(130,34,238,.14) !important;
}

.mks-gre-vocab .mks-gre-stat strong {
  color: #8222ee !important;
}

.mks-gre-vocab .mks-gre-progress-bar {
  background: #ead9ff !important;
}

.mks-gre-vocab .mks-gre-progress-bar span {
  background: linear-gradient(90deg, #8222ee, #1673ff) !important;
}

.mks-gre-vocab .mks-gre-list-item,
.mks-gre-vocab .mks-gre-empty {
  background: #fdfaff !important;
  border-color: rgba(130,34,238,.14) !important;
}

/* Optional small title accent */
.mks-gre-vocab .mks-gre-section-heading h2::after {
  content: "" !important;
  display: block !important;
  width: 52px !important;
  height: 3px !important;
  border-radius: 999px !important;
  margin-top: 8px !important;
  background: linear-gradient(90deg, #8222ee, #1673ff) !important;
}
