/* RealPrep Vocabulary */
.rpv {
	--rpv-teal: #13606C; --rpv-teal-dark: #0B4049; --rpv-teal-soft: #E6F2F3; --rpv-ink: #1F2A2C; --rpv-muted: #4D5F62;
	--rpv-line: #D7DFE0; --rpv-bg: #F5F8F8; --rpv-card: #FFFFFF; --rpv-mark: #FCEBC0; --rpv-mark-line: #A16207;
	--rpv-e-bg: #E3F4E8; --rpv-e: #1D6B36; --rpv-m-bg: #FDF0D5; --rpv-m: #7A4E00; --rpv-h-bg: #FBE4E2; --rpv-h: #9B2C22;
	--rpv-gold: #E0A100;
	font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--rpv-ink);
	box-sizing: border-box;
}
.rpv * { box-sizing: border-box; }
.rpv button { font: inherit; }
/* ---------- Theme-proofing: themes style button, p, select and links globally ---------- */
.rpv button { margin: 0; text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; line-height: 1.25; width: auto; min-width: 0; text-decoration: none; -webkit-appearance: none; appearance: none; }
.rpv select { -webkit-appearance: auto; appearance: auto; box-shadow: none; margin: 0; line-height: normal; }
.rpv input[type="search"] { box-shadow: none; margin: 0; outline-offset: 0; }
body .rpv p { margin-bottom: 0; }
.rpv h2, .rpv h3 { letter-spacing: normal; text-transform: none; padding: 0; border: 0; }
.rpv a { text-decoration: none; box-shadow: none; }
.rpv a:hover { text-decoration: underline; }
.rpv svg { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.rpv details > summary { list-style-position: inside; }
.rpv mark { background: var(--rpv-mark); color: inherit; }
.rpv .rpv-muted { color: var(--rpv-muted); margin: 0; }
.rpv .rpv-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rpv-muted); }

/* ---------- Highlights inside questions ---------- */
.rpv-mark { background: #FCEBC0; border-bottom: 2px dotted #A16207; border-radius: 3px 3px 0 0; padding: 0 2px; cursor: pointer; color: inherit; }
.rpv-mark:hover, .rpv-mark:focus-visible { background: #F9DE94; outline: none; }
.rpv-mark.is-open { background: #13606C; color: #FFFFFF; border-bottom-color: #13606C; }
.rpv-mark.is-locked { background: #E3E9EA; border-bottom: 2px dashed #4D5F62; }
/* Quiz toolbar: the word "Vocabulary" with an on/off switch (1.7.0). */
.rpv-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 700 14px/1 'Nunito Sans', system-ui, sans-serif; letter-spacing: normal; text-transform: none; white-space: nowrap; }
.rpv-toggle .rpv-sw { position: relative; flex: 0 0 auto; width: 34px; height: 20px; border-radius: 10px; background: #CBD3D6; transition: background .15s; }
.rpv-toggle .rpv-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.rpv-toggle.is-on .rpv-sw { background: #13606C; }
.rpv-toggle.is-on .rpv-sw i { transform: translateX(14px); }
.rpv-toggle:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }
#rpv-btn.rpv-tool { height: 42px; margin: 0; padding: 0 12px 0 14px; border: 1.5px solid #333; border-radius: 21px; background: transparent; color: #333; }
#rpv-btn.rpv-tool:hover { background: #f3f4f6; }
#rpv-btn.rpv-tool.is-on { border-color: #1a365d; color: #1a365d; }
#rpv-btn.rpv-tool.is-on .rpv-sw { background: #1a365d; }
@media (max-width: 640px) { #rpv-btn.rpv-tool { flex-shrink: 0; flex-direction: column; justify-content: center; gap: 3px; height: 42px; padding: 0 9px; border-radius: 12px; font-size: 10px; } #rpv-btn.rpv-tool .rpv-sw { width: 26px; height: 14px; } #rpv-btn.rpv-tool .rpv-sw i { top: 2px; left: 2px; width: 10px; height: 10px; } #rpv-btn.rpv-tool.is-on .rpv-sw i { transform: translateX(12px); } }
.rpv-fab { position: fixed; z-index: 2147482000; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border: 0; border-radius: 24px; background: #FFFFFF; color: #13606C; box-shadow: 0 6px 20px rgba(19, 64, 73, .22); font-weight: 700; cursor: pointer; }
.rpv-fab.is-on { background: #FFFFFF; color: #13606C; }

/* ---------- Popup ---------- */
.rpv.rpv-pop { position: fixed; z-index: 2147483000; background: var(--rpv-card); border: 1px solid #C9D3D5; border-radius: 16px; box-shadow: 0 14px 36px rgba(19, 64, 73, .2); padding: 18px 20px 14px; max-height: calc(100vh - 24px); overflow: auto; font-size: 15px; line-height: 1.5; text-align: left; }
.rpv.rpv-pop[hidden] { display: none !important; }
.rpv .rpv-pop-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-right: 40px; position: relative; }
.rpv .rpv-x { position: absolute; right: -6px; top: -6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #F1F5F5; color: #3B4B4E; font-size: 22px; line-height: 1; cursor: pointer; }
.rpv.rpv-pop .rpv-label { margin-top: 10px; }
.rpv.rpv-pop .rpv-def { font-size: 17px; }
.rpv .rpv-locked { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #EEF2F3; color: #2E3D40; }
.rpv .rpv-locked p { margin: 0; }
.rpv .rpv-pop-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #E3E9EA; }
.rpv .rpv-pop-foot a { color: var(--rpv-teal); font-weight: 700; font-size: 14px; }

/* ---------- Words and chips ---------- */
.rpv .rpv-word { font-family: 'Fredoka', 'Nunito Sans', system-ui, sans-serif; font-weight: 600; font-size: 24px; color: var(--rpv-teal); line-height: 1.2; }
.rpv .rpv-pos { font-style: italic; color: var(--rpv-muted); font-size: 14px; }
.rpv .rpv-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.rpv .rpv-d-E { background: var(--rpv-e-bg); color: var(--rpv-e); }
.rpv .rpv-d-M { background: var(--rpv-m-bg); color: var(--rpv-m); }
.rpv .rpv-d-H { background: var(--rpv-h-bg); color: var(--rpv-h); }
.rpv .rpv-topic { background: #EEF2F3; color: #2E3D40; }
.rpv .rpv-def { margin: 6px 0 0; font-weight: 700; font-size: 17px; line-height: 1.45; color: var(--rpv-ink); }
.rpv .rpv-tr { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #F1F7F7; color: #13404A; font-size: 16px; }
.rpv .rpv-tr[hidden] { display: none; }

/* ---------- Language flags ---------- */
.rpv .rpv-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rpv .rpv-lang { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid #C9D3D5; border-radius: 20px; background: #FFFFFF; color: #2E3D40; font-size: 14px; font-weight: 700; cursor: pointer; }
.rpv .rpv-lang.is-on { border: 2px solid var(--rpv-teal); background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-lang:focus-visible, .rpv .rpv-star:focus-visible, .rpv .rpv-btn:focus-visible, .rpv .rpv-mode:focus-visible, .rpv .rpv-pill:focus-visible, .rpv .rpv-letter:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }

/* ---------- Star ---------- */
.rpv .rpv-star { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; margin-left: auto; padding: 0 10px; border: 1px solid #C9D3D5; border-radius: 10px; background: #FFFFFF; color: var(--rpv-muted); cursor: pointer; --rpv-star-fill: 0; }
.rpv .rpv-star.is-on { border: 2px solid var(--rpv-mark-line); background: #FDF6E3; color: #6B4300; --rpv-star-fill: 1; }
.rpv .rpv-star.is-on svg { color: var(--rpv-gold); }
.rpv .rpv-star-wide { margin-left: 0; font-weight: 700; font-size: 14px; }

/* ---------- Cards ---------- */
.rpv .rpv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.rpv .rpv-card { background: var(--rpv-card); border: 1px solid var(--rpv-line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.rpv .rpv-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rpv.rpv-compact .rpv-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.rpv.rpv-compact .rpv-card { padding: 12px 14px; }
.rpv.rpv-compact .rpv-word { font-size: 20px; }
.rpv.rpv-compact .rpv-def { font-size: 15px; }
.rpv .rpv-uses { margin-top: 10px; }
.rpv .rpv-uses summary { cursor: pointer; color: var(--rpv-teal); font-weight: 700; font-size: 14px; padding: 6px 0; }
.rpv .rpv-uses-body { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.rpv .rpv-use { padding: 10px 12px; border-radius: 10px; background: var(--rpv-bg); }
.rpv .rpv-use p { margin: 0 0 6px; font-family: 'Source Serif 4', Georgia, serif; font-size: 15.5px; line-height: 1.6; }
.rpv .rpv-use mark, .rpv .rpv-flash-ctx mark { background: var(--rpv-mark); color: inherit; border-radius: 3px; padding: 0 2px; }
.rpv .rpv-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.rpv .rpv-tags span { padding: 2px 8px; border-radius: 6px; background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-tags .rpv-tag-soft { background: transparent; border: 1px solid var(--rpv-line); color: var(--rpv-muted); }
.rpv .rpv-tags a { margin-left: auto; color: var(--rpv-teal); }
.rpv .rpv-empty { padding: 28px; text-align: center; color: var(--rpv-muted); background: var(--rpv-card); border: 1px dashed #C9D3D5; border-radius: 14px; }

/* ---------- List shortcode ---------- */
.rpv.rpv-list { margin: 1.5em 0; }
.rpv .rpv-list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rpv .rpv-list-title { margin: 0; font-family: 'Fredoka', 'Nunito Sans', sans-serif; color: #13404A; }
.rpv.rpv-list .rpv-langs { margin-top: 0; }
.rpv .rpv-more a { color: var(--rpv-teal); font-weight: 700; }

/* ---------- App ---------- */
.rpv.rpv-app { display: flex; flex-direction: column; gap: 18px; padding: 8px 0 40px; }
.rpv.rpv-app > [data-view] { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rpv .rpv-level-help { margin-bottom: 0; }
.rpv .rpv-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rpv .rpv-h1 { margin: 0; font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 36px; color: #13404A; }
.rpv .rpv-h3 { margin: 0 0 10px; font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 20px; color: #13404A; }
.rpv .rpv-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rpv .rpv-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 72px; padding: 12px 14px; border: 1px solid var(--rpv-line); border-radius: 14px; background: var(--rpv-card); color: #13404A; text-align: left; cursor: pointer; }
.rpv .rpv-mode b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 18px; }
.rpv .rpv-mode span { font-size: 13px; opacity: .85; }
.rpv .rpv-mode.is-on { border: 2px solid var(--rpv-teal); background: var(--rpv-teal); color: #FFFFFF; }
.rpv .rpv-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px; background: var(--rpv-card); border: 1px solid var(--rpv-line); border-radius: 14px; margin: 0; }
.rpv .rpv-stack { flex-direction: column; align-items: stretch; padding: 0; border: 0; }
.rpv .rpv-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-grow { flex: 1 1 240px; }
.rpv .rpv-field input, .rpv .rpv-field select { height: 44px; padding: 0 12px; border: 1px solid #C9D3D5; border-radius: 10px; background: #FFFFFF; color: var(--rpv-ink); font: inherit; font-size: 15px; font-weight: 400; max-width: 100%; }
.rpv .rpv-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.rpv .rpv-pill { height: 44px; padding: 0 14px; border: 1px solid #C9D3D5; border-radius: 10px; background: #FFFFFF; color: #2E3D40; font-weight: 700; font-size: 14px; cursor: pointer; }
.rpv .rpv-pill.is-on { border: 2px solid var(--rpv-teal); background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.rpv .rpv-letter { min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--rpv-line); border-radius: 8px; background: #FFFFFF; color: #2E3D40; font-weight: 700; cursor: pointer; }
.rpv .rpv-letter.is-on { border-color: var(--rpv-teal); background: var(--rpv-teal); color: #FFFFFF; }
.rpv .rpv-count { margin: 0; font-weight: 700; color: var(--rpv-muted); font-variant-numeric: tabular-nums; }
.rpv .rpv-more-wrap { display: flex; justify-content: center; }
.rpv .rpv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--rpv-teal); color: #FFFFFF; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.rpv .rpv-btn-soft { background: #FFFFFF; color: var(--rpv-teal); border: 1px solid var(--rpv-teal); }
.rpv .rpv-btn[hidden] { display: none; }
.rpv.rpv-login { padding: 24px; background: var(--rpv-bg); border-radius: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rpv.rpv-login p { margin: 0; }

.rpv .rpv-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.rpv .rpv-topic-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 130px; padding: 18px; text-align: left; border: 1px solid var(--rpv-line); border-radius: 14px; background: var(--rpv-card); color: var(--rpv-ink); cursor: pointer; }
.rpv .rpv-topic-card b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 19px; color: #13404A; }
.rpv .rpv-topic-card span { font-size: 13px; color: var(--rpv-muted); font-weight: 700; }
.rpv .rpv-topic-card em { font-style: normal; font-size: 15px; color: #2E3D40; }

.rpv .rpv-cards-wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.rpv .rpv-deck { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--rpv-card); border: 1px solid var(--rpv-line); border-radius: 14px; }
.rpv .rpv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.rpv .rpv-stats div { padding: 10px 6px; border-radius: 10px; background: #F1F7F7; display: flex; flex-direction: column; }
.rpv .rpv-stats b { font-size: 20px; font-variant-numeric: tabular-nums; }
.rpv .rpv-stats span { font-size: 12px; color: var(--rpv-muted); }
.rpv .rpv-stage { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rpv .rpv-progress { display: flex; justify-content: space-between; font-weight: 700; color: var(--rpv-muted); font-size: 14px; }
.rpv .rpv-flash { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; border: 2px solid var(--rpv-teal); border-radius: 20px; background: var(--rpv-card); color: var(--rpv-ink); text-align: center; cursor: pointer; }
.rpv .rpv-flash-word { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 40px; color: var(--rpv-teal); }
.rpv .rpv-flash-ctx { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; line-height: 1.6; color: #2E3D40; }
.rpv .rpv-flash-def { font-size: 21px; font-weight: 700; line-height: 1.45; }
.rpv .rpv-flash-tr { font-size: 19px; color: #13404A; }
.rpv .rpv-answer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rpv .rpv-btn-no { background: #FFFFFF; color: var(--rpv-h); border: 2px solid var(--rpv-h); }
.rpv .rpv-btn-yes { background: var(--rpv-e); }

/* ---------- Known words ---------- */
.rpv .rpv-acts { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.rpv .rpv-acts .rpv-star { margin-left: 0; }
.rpv .rpv-know { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid #C9D3D5; border-radius: 10px; background: #FFFFFF; color: var(--rpv-muted); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.rpv .rpv-know svg { opacity: .45; }
.rpv .rpv-know.is-on { border: 2px solid var(--rpv-e); background: var(--rpv-e-bg); color: var(--rpv-e); }
.rpv .rpv-know.is-on svg { opacity: 1; }
.rpv .rpv-card.is-known { border-color: #A9D8B7; box-shadow: inset 4px 0 0 var(--rpv-e); }
.rpv .rpv-pop-foot .rpv-acts { margin-left: 0; }

/* ---------- Where a word comes from ---------- */
.rpv .rpv-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; line-height: 1.4; }
.rpv .rpv-from-l { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rpv-muted); }
.rpv .rpv-src { padding: 3px 9px; border-radius: 6px; background: #F1F5F5; color: #2E3D40; }
.rpv .rpv-src b { color: var(--rpv-teal-dark); font-weight: 800; }
.rpv .rpv-src-more { background: transparent; border: 1px dashed var(--rpv-line); color: var(--rpv-muted); }
.rpv .rpv-tags em { font-style: normal; font-weight: 600; opacity: .75; margin-right: 2px; }

/* ---------- Progress strip ---------- */
.rpv .rpv-progress-strip { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #0B4049 0%, #13606C 100%); color: #FFFFFF; }
.rpv .rpv-progress-strip:empty { display: none; }
.rpv .rpv-ps-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.rpv .rpv-ps-known { display: flex; flex-direction: column; }
.rpv .rpv-ps-known .rpv-label { margin: 0 0 2px; color: #CDE6E9; }
.rpv .rpv-ps-known b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.rpv .rpv-ps-known small { color: #CDE6E9; font-size: 14px; font-weight: 700; }
.rpv .rpv-ps-rank { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.rpv .rpv-ps-rank small { color: #CDE6E9; font-size: 13px; font-weight: 700; }
.rpv .rpv-rank-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #FCEBC0; color: #5A3B00; font-weight: 800; font-size: 14px; }
.rpv .rpv-ps-nums { display: flex; gap: 10px; }
.rpv .rpv-num { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 82px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.rpv .rpv-num b { font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rpv .rpv-num span { font-size: 12px; color: #CDE6E9; font-weight: 700; }
.rpv .rpv-num-streak svg { color: #9FB7BA; }
.rpv .rpv-num-streak.is-live svg { color: #FFB547; }
.rpv .rpv-ps-diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rpv .rpv-pd-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.rpv .rpv-pd-top small { color: #CDE6E9; font-weight: 600; }
.rpv .rpv-bar { display: block; width: 100%; height: 8px; border-radius: 99px; background: #E3E9EA; overflow: hidden; }
.rpv .rpv-bar i { display: block; height: 100%; border-radius: inherit; background: var(--rpv-teal); transition: width .45s ease; }
.rpv .rpv-progress-strip .rpv-bar { background: rgba(255, 255, 255, .2); }
.rpv .rpv-progress-strip .rpv-bar i { background: #FCD56B; }
.rpv .rpv-progress-strip .rpv-pd-E .rpv-bar i { background: #7DDB9A; }
.rpv .rpv-progress-strip .rpv-pd-H .rpv-bar i { background: #FF9C8F; }
.rpv .rpv-badges summary { cursor: pointer; font-weight: 700; font-size: 14px; color: #FFFFFF; }
.rpv .rpv-badge-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 8px; margin-top: 10px; }
.rpv .rpv-badge { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #CDE6E9; }
.rpv .rpv-badge b { font-size: 14px; color: #FFFFFF; opacity: .6; }
.rpv .rpv-badge span { font-size: 12px; }
.rpv .rpv-badge.is-on { background: #FCEBC0; color: #6B4300; }
.rpv .rpv-badge.is-on b { color: #5A3B00; opacity: 1; }
.rpv .rpv-ps-known b.is-bump { animation: rpv-bump .5s ease; }
@keyframes rpv-bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ---------- Levels ---------- */
.rpv .rpv-level-help { margin-bottom: 14px; }
.rpv .rpv-level-row { margin-bottom: 18px; }
.rpv .rpv-level-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rpv .rpv-level { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 124px; padding: 14px; border: 1px solid var(--rpv-line); border-radius: 14px; background: var(--rpv-card); color: var(--rpv-ink); text-align: left; cursor: pointer; }
.rpv .rpv-level-n { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--rpv-muted); }
.rpv .rpv-level b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 28px; line-height: 1.1; color: #13404A; font-variant-numeric: tabular-nums; }
.rpv .rpv-level b small { font-size: 15px; color: var(--rpv-muted); }
.rpv .rpv-level-sub { font-size: 12px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-level-E .rpv-bar i { background: var(--rpv-e); }
.rpv .rpv-level-M .rpv-bar i { background: #C98A00; }
.rpv .rpv-level-H .rpv-bar i { background: var(--rpv-h); }
.rpv .rpv-level.is-done { border: 2px solid var(--rpv-e); background: #F2FBF5; }
.rpv .rpv-level.is-done .rpv-level-n { color: var(--rpv-e); }
.rpv .rpv-level.is-locked { border-style: dashed; background: #F3F6F6; cursor: not-allowed; }
.rpv .rpv-level.is-locked b { color: #8A9A9D; }
.rpv .rpv-level-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--rpv-line); border-radius: 14px; background: var(--rpv-card); }
.rpv .rpv-level-title { display: flex; align-items: center; gap: 8px; }
.rpv .rpv-level-title .rpv-h3 { margin: 0; }
.rpv .rpv-level-meter { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-level-meter b { color: #13404A; }

/* ---------- Hover states (re-stated so theme button:hover rules cannot repaint them) ---------- */
.rpv .rpv-pill:hover, .rpv .rpv-letter:hover, .rpv .rpv-lang:hover, .rpv .rpv-know:hover, .rpv .rpv-star:hover { background: #F1F7F7; color: var(--rpv-teal-dark); border-color: var(--rpv-teal); }
.rpv .rpv-pill.is-on:hover, .rpv .rpv-lang.is-on:hover { background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-letter.is-on:hover { background: var(--rpv-teal-dark); color: #FFFFFF; }
.rpv .rpv-know.is-on:hover { background: #D3EEDC; color: var(--rpv-e); border-color: var(--rpv-e); }
.rpv .rpv-star.is-on:hover { background: #FBEFCB; color: #6B4300; border-color: var(--rpv-mark-line); }
.rpv .rpv-mode:hover, .rpv .rpv-topic-card:hover, .rpv .rpv-level:hover { background: #F7FBFB; color: #13404A; border-color: var(--rpv-teal); }
.rpv .rpv-mode.is-on:hover { background: var(--rpv-teal); color: #FFFFFF; }
.rpv .rpv-level.is-locked:hover { background: #F3F6F6; border-color: var(--rpv-line); }
.rpv .rpv-level.is-done:hover { background: #E8F7EE; border-color: var(--rpv-e); }
.rpv .rpv-btn:hover { background: var(--rpv-teal-dark); color: #FFFFFF; text-decoration: none; }
.rpv .rpv-btn-soft:hover { background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-btn-no:hover { background: #FBE4E2; color: var(--rpv-h); }
.rpv .rpv-btn-yes:hover { background: #155228; color: #FFFFFF; }
.rpv .rpv-flash:hover { background: var(--rpv-card); color: var(--rpv-ink); }
.rpv .rpv-x:hover { background: #E3E9EA; color: #1F2A2C; }
.rpv .rpv-know:focus-visible, .rpv .rpv-level:focus-visible, .rpv .rpv-topic-card:focus-visible, .rpv .rpv-flash:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }

/* ---------- Dashboard review modal button ---------- */
.dsat-db-container .rpv-review-bar { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.dsat-db-container .rpv-review-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; margin: 0; padding: 0 16px; border: 2px solid #13606C; border-radius: 21px; background: #FFFFFF; color: #13606C; font: 700 14px/1 'Nunito Sans', system-ui, sans-serif; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; }
.dsat-db-container .rpv-review-btn:hover { background: #E6F2F3; color: #0B4049; }
.dsat-db-container .rpv-review-btn.is-on { background: #E6F2F3; color: #0B4049; }
.dsat-db-container .rpv-review-btn:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }

/* ---------- Results screen box ---------- */
.rpv.rpv-results { margin: 24px 0 0; padding: 18px; border-radius: 14px; background: #F1F7F7; border: 1px solid #CFE3E6; text-align: left; }
.rpv .rpv-results-head { display: flex; gap: 12px; align-items: flex-start; color: #13404A; }
.rpv .rpv-results-head svg { color: #13606C; margin-top: 2px; }
.rpv .rpv-results-head b { display: block; font-size: 18px; }
.rpv .rpv-results-head span { display: block; font-size: 15px; color: #4D5F62; }
.rpv .rpv-results-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rpv .rpv-results-tip { margin-top: 12px; font-size: 13px; color: #4D5F62; }

/* ---------- Words from one set ---------- */
.rpv .rpv-set-chip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #FDF6E3; border: 1px solid #F0D99A; color: #5A3B00; }
.rpv .rpv-set-chip .rpv-btn { min-height: 38px; }

/* ---------- Check your understanding ---------- */
.rpv .rpv-match { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; }
.rpv .rpv-match-col { display: flex; flex-direction: column; gap: 8px; }
.rpv .rpv-mw, .rpv .rpv-md { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 10px 14px; border: 2px solid var(--rpv-line); border-radius: 12px; background: var(--rpv-card); color: var(--rpv-ink); text-align: left; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.rpv .rpv-mw { flex-wrap: wrap; }
.rpv .rpv-mw b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 19px; color: var(--rpv-teal); }
.rpv .rpv-mw span { font-size: 13px; font-style: italic; color: var(--rpv-muted); }
.rpv .rpv-md { font-size: 15px; font-weight: 600; line-height: 1.4; }
.rpv .rpv-mw:hover, .rpv .rpv-md:hover { background: #F7FBFB; color: var(--rpv-ink); border-color: var(--rpv-teal); }
.rpv .rpv-mw.is-picked, .rpv .rpv-md.is-picked { border-color: var(--rpv-teal); background: var(--rpv-teal-soft); box-shadow: 0 0 0 3px #CFE6E9; }
.rpv .rpv-mw.is-right, .rpv .rpv-md.is-right, .rpv .rpv-opt.is-right { border-color: var(--rpv-e); background: var(--rpv-e-bg); color: var(--rpv-e); cursor: default; }
.rpv .rpv-mw.is-right b { color: var(--rpv-e); }
.rpv .rpv-mw.is-wrong, .rpv .rpv-md.is-wrong { border-color: var(--rpv-h); background: var(--rpv-h-bg); animation: rpv-shake .4s ease; }
.rpv .rpv-opt.is-wrong { border-color: var(--rpv-h); background: var(--rpv-h-bg); color: var(--rpv-h); }
@keyframes rpv-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.rpv .rpv-check-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.rpv .rpv-check-foot .rpv-tr { flex: 1 1 100%; margin: 0; }
.rpv .rpv-choose { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 2px solid var(--rpv-teal); border-radius: 20px; background: var(--rpv-card); }
.rpv .rpv-choose .rpv-h3 { margin: 0; font-family: 'Nunito Sans', system-ui, sans-serif; font-weight: 700; font-size: 18px; color: var(--rpv-ink); }
.rpv .rpv-choose .rpv-h3 b { color: var(--rpv-teal); }
.rpv .rpv-choose-ctx { margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; line-height: 1.6; color: #2E3D40; }
.rpv .rpv-choose-ctx mark { background: var(--rpv-mark); border-radius: 3px; padding: 0 2px; }
.rpv .rpv-options { display: flex; flex-direction: column; gap: 8px; }
.rpv .rpv-opt { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border: 2px solid var(--rpv-line); border-radius: 12px; background: var(--rpv-card); color: var(--rpv-ink); text-align: left; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.rpv .rpv-opt:hover { background: #F7FBFB; color: var(--rpv-ink); border-color: var(--rpv-teal); }
.rpv .rpv-opt:disabled { cursor: default; }
.rpv .rpv-opt.is-right:hover { background: var(--rpv-e-bg); color: var(--rpv-e); border-color: var(--rpv-e); }
.rpv .rpv-opt.is-wrong:hover { background: var(--rpv-h-bg); color: var(--rpv-h); border-color: var(--rpv-h); }
.rpv .rpv-opt-k { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font-size: 14px; font-weight: 800; }
.rpv .rpv-verdict { margin: 0; font-weight: 800; }
.rpv .rpv-verdict.is-right { color: var(--rpv-e); }
.rpv .rpv-verdict.is-wrong { color: var(--rpv-h); }
.rpv .rpv-check-done { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--rpv-line); border-radius: 18px; background: var(--rpv-card); }
.rpv .rpv-score { margin: 0; font-size: 20px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-score b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 44px; color: var(--rpv-teal); }
.rpv .rpv-check-done .rpv-bar i { background: var(--rpv-e); }
.rpv .rpv-missed { display: flex; flex-direction: column; gap: 6px; }
.rpv .rpv-missed-row { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--rpv-bg); }
.rpv .rpv-missed-row b { color: var(--rpv-teal); }
.rpv .rpv-check-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rpv .rpv-mw:focus-visible, .rpv .rpv-md:focus-visible, .rpv .rpv-opt:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }

/* ---------- 1.7.0: progress meters, study lists, synonyms, most repeated ---------- */
.rpv .rpv-meter { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--rpv-line); border-radius: 12px; background: var(--rpv-card); }
.rpv .rpv-meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-meter-top b { color: #13404A; }
.rpv .rpv-help { font-size: 15px; }
.rpv .rpv-chip.rpv-occ { background: #EDE7FB; color: #4B2E9A; }
.rpv .rpv-syn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 14px; }
.rpv .rpv-syn-w { padding: 3px 10px; border: 1px solid var(--rpv-line); border-radius: 99px; background: var(--rpv-bg); color: var(--rpv-teal); font-weight: 700; font-size: 14px; cursor: pointer; }
.rpv .rpv-syn-w:hover { border-color: var(--rpv-teal); background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-syn-w:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }
.rpv .rpv-lists-bar { align-items: center; }
.rpv .rpv-lgroup { border: 1px solid var(--rpv-line); border-radius: 14px; background: var(--rpv-bg); padding: 0 14px; }
.rpv .rpv-lgroup[open] { padding-bottom: 14px; }
.rpv .rpv-lgroup-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; cursor: pointer; list-style: none; }
.rpv .rpv-lgroup-head::-webkit-details-marker { display: none; }
.rpv .rpv-lgroup-head::after { content: '+'; margin-left: auto; font-size: 22px; font-weight: 700; color: var(--rpv-teal); }
.rpv .rpv-lgroup[open] > .rpv-lgroup-head::after { content: '−'; }
.rpv .rpv-lgroup-head:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; border-radius: 10px; }
.rpv .rpv-lgroup-head .rpv-h3 { margin: 0; }
.rpv .rpv-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.rpv .rpv-ltile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-height: 112px; padding: 14px; border: 1px solid var(--rpv-line); border-radius: 14px; background: var(--rpv-card); color: var(--rpv-ink); text-align: left; cursor: pointer; }
.rpv .rpv-ltile:hover { border-color: var(--rpv-teal); background: #F7FBFB; color: var(--rpv-ink); }
.rpv .rpv-ltile:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }
.rpv .rpv-ltile-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rpv .rpv-ltile-top b { font-family: 'Fredoka', 'Nunito Sans', sans-serif; font-weight: 600; font-size: 18px; color: #13404A; }
.rpv .rpv-ltile-top span { font-size: 13px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-ltile em { font-style: normal; font-size: 14px; color: #2E3D40; }
.rpv .rpv-ltile.is-done { border-color: var(--rpv-e); }
.rpv .rpv-ltile.is-done .rpv-bar i { background: var(--rpv-e); }
.rpv .rpv-list-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rpv .rpv-syn-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.rpv .rpv-syn-group { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--rpv-line); border-radius: 16px; background: var(--rpv-bg); }
.rpv .rpv-syn-head { display: flex; flex-direction: column; gap: 6px; }
.rpv .rpv-syn-head .rpv-h3 { margin: 0; font-family: 'Nunito Sans', system-ui, sans-serif; font-size: 17px; font-weight: 700; color: #13404A; }
.rpv .rpv-syn-head .rpv-meter { padding: 0; border: 0; background: transparent; }
.rpv .rpv-syn-card { padding: 12px 14px; }
.rpv .rpv-topic-meter { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.rpv .rpv-topic-card .rpv-topic-meter small { font-size: 12px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-deck-bar { height: 6px; margin: -4px 0 10px; }
@media (max-width: 600px) { .rpv .rpv-syn-groups { grid-template-columns: minmax(0, 1fr); } .rpv .rpv-lists-bar .rpv-grow { flex-basis: 100%; } .rpv .rpv-lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .rpv .rpv-ltile { min-height: 96px; padding: 10px; } .rpv .rpv-ltile em { font-size: 13px; } .rpv .rpv-lgroup-head .rpv-muted { flex-basis: 100%; order: 3; margin-top: -8px; padding-bottom: 8px; font-size: 13px; } }

.rpv-toast { position: fixed; z-index: 2147483001; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: #13404A; color: #FFFFFF; font: 600 14px 'Nunito Sans', system-ui, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); text-align: center; }
.rpv-toast-xp { background: #1D6B36; }
.rpv-toast-win { background: linear-gradient(135deg, #7A4E00, #C98A00); font-size: 15px; font-weight: 800; }

@media (max-width: 760px) {
	.rpv .rpv-ps-main { grid-template-columns: auto minmax(0, 1fr); }
	.rpv .rpv-ps-nums { grid-column: 1 / -1; }
	.rpv .rpv-num { flex: 1 1 0; }
	.rpv .rpv-level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.rpv .rpv-h1 { font-size: 28px; }
	.rpv .rpv-ps-main { grid-template-columns: 1fr; gap: 14px; }
	.rpv .rpv-ps-diffs { grid-template-columns: 1fr; gap: 10px; }
	.rpv .rpv-ps-known b { font-size: 40px; }
	.rpv .rpv-know span { display: none; }
	.rpv .rpv-match { grid-template-columns: minmax(0, 1fr); }
	.rpv .rpv-missed-row { grid-template-columns: 1fr; gap: 2px; }
	.rpv .rpv-know { padding: 0 12px; }
	.rpv .rpv-flash-word { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .rpv * { transition: none !important; } }

/* ---------- v1.4: pronunciation ---------- */
.rpv .rpv-say { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; padding: 0; border: 1px solid #C9D3D5; border-radius: 50%; background: #FFFFFF; color: var(--rpv-teal); cursor: pointer; vertical-align: middle; align-self: center; }
.rpv .rpv-say:hover { background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); border-color: var(--rpv-teal); }
.rpv .rpv-say:focus-visible { outline: 3px solid #7FB8C0; outline-offset: 2px; }
.rpv .rpv-say.is-playing { background: var(--rpv-teal); color: #FFFFFF; border-color: var(--rpv-teal); }
.rpv-no-tts .rpv-say { display: none !important; }
.rpv .rpv-progress .rpv-say, .rpv .rpv-choose .rpv-h3 .rpv-say, .rpv .rpv-missed-row .rpv-say { width: 32px; height: 32px; min-width: 32px; margin: 0 6px; }
.rpv .rpv-mw-row { display: flex; align-items: center; gap: 6px; }
.rpv .rpv-mw-row .rpv-mw { flex: 1 1 auto; }
.rpv .rpv-progress span { display: inline-flex; align-items: center; }

/* ---------- v1.4: languages ---------- */
.rpv .rpv-lang-req { border-style: dashed; color: var(--rpv-teal); }
.rpv .rpv-lang-note { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--rpv-muted); }
.rpv .rpv-lang-note[hidden] { display: none; }

/* ---------- v1.4: modal ---------- */
.rpv.rpv-modal-wrap { position: fixed; inset: 0; z-index: 2147483002; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 35, 40, .45); }
.rpv .rpv-modal { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 22px 20px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 20px 48px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.5; text-align: left; }
.rpv .rpv-modal .rpv-x { right: 10px; top: 10px; }
.rpv .rpv-modal .rpv-h3 { padding-right: 40px; }
.rpv .rpv-modal-text { margin: 0 0 14px; color: var(--rpv-ink); }
.rpv .rpv-modal-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rpv .rpv-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--rpv-muted); cursor: pointer; }
.rpv .rpv-req { display: flex; flex-direction: column; gap: 12px; }
.rpv .rpv-req textarea { padding: 10px 12px; border: 1px solid #C9D3D5; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 400; color: var(--rpv-ink); resize: vertical; }
.rpv .rpv-req-msg { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--rpv-h-bg); color: var(--rpv-h); font-weight: 700; }
.rpv .rpv-req-msg[hidden] { display: none; }
.rpv .rpv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- v1.4: free sample and access messages ---------- */
.rpv .rpv-preview-bar, .rpv-preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; padding: 16px 18px; border: 1px solid #CFE6E9; border-radius: 14px; background: var(--rpv-teal-soft); color: #13404A; font-family: 'Nunito Sans', system-ui, sans-serif; }
.rpv-preview-bar p { margin: 0; flex: 1 1 260px; font-weight: 700; }
.rpv .rpv-cta-btns, .rpv-preview-bar .rpv-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rpv-preview-bar .rpv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: #13606C; color: #FFFFFF; font-weight: 700; text-decoration: none; }
.rpv-preview-bar .rpv-btn-soft { background: #FFFFFF; color: #13606C; border: 1px solid #13606C; }
.rpv-preview-bar .rpv-btn:hover { background: #0B4049; color: #FFFFFF; text-decoration: none; }
.rpv-preview-bar .rpv-btn-soft:hover { background: #E6F2F3; color: #0B4049; }
.rpv.rpv-login .rpv-cta-btns { flex: 0 0 auto; }
@media (max-width: 600px) {
	.rpv .rpv-modal { padding: 20px 16px 16px; }
	.rpv-preview-bar .rpv-cta-btns, .rpv-preview-bar .rpv-btn { width: 100%; }
}
/* 1.5.1 preview: locked word cards */
.rpv .rpv-card-locked { background: #F7F9F9; border-style: dashed; }
.rpv .rpv-card-locked .rpv-word { color: #2E3D40; }
.rpv .rpv-card-locked .rpv-locked a { font-weight: 700; color: #13606C; }

/* ---------- 1.9.0: US site (Seen in exam, Needs review) ---------- */
.rpv .rpv-acts-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.rpv .rpv-acts-row .rpv-star { margin-left: 0; }
.rpv .rpv-tog { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid #C9D3D5; border-radius: 10px; background: #FFFFFF; color: var(--rpv-muted); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.rpv .rpv-tog:hover { border-color: var(--rpv-teal); color: var(--rpv-teal-dark); }
.rpv .rpv-tog:focus-visible, .rpv .rpv-linkbtn:focus-visible, .rpv .rpv-vmonth input:focus-visible + span { outline: 3px solid var(--rpv-teal); outline-offset: 2px; }
.rpv .rpv-rev.is-on, .rpv .rpv-rev.is-on:hover { border: 2px solid var(--rpv-m); background: var(--rpv-m-bg); color: var(--rpv-m); }
.rpv .rpv-seen.is-on, .rpv .rpv-seen.is-on:hover { border: 2px solid #4B2E9A; background: #EDE7FB; color: #4B2E9A; }
.rpv .rpv-chip.rpv-seenc { background: #EDE7FB; color: #4B2E9A; font-variant-numeric: tabular-nums; }
.rpv .rpv-card.is-review { border-color: #E5C98A; }
.rpv .rpv-flash-acts { justify-content: center; }
.rpv .rpv-mine-bar { align-items: flex-end; }
.rpv .rpv-attempts { margin: 0 0 6px; font-size: 14px; }
.rpv .rpv-linkbtn { border: 0; background: none; padding: 10px 4px; color: var(--rpv-teal); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.rpv .rpv-vset { margin: 0 0 12px; padding: 0; border: 0; }
.rpv .rpv-vset legend { padding: 0; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-vmonths { display: flex; flex-wrap: wrap; gap: 8px; }
.rpv .rpv-vmonth { position: relative; display: inline-flex; cursor: pointer; }
.rpv .rpv-vmonth input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rpv .rpv-vmonth span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid #C9D3D5; border-radius: 10px; background: #FFFFFF; color: #2E3D40; font-weight: 700; font-size: 14px; }
.rpv .rpv-vmonth span::before { content: ""; width: 16px; height: 16px; border: 2px solid #7A8B8E; border-radius: 4px; box-sizing: border-box; }
.rpv .rpv-vmonth input:checked + span { border: 2px solid var(--rpv-teal); background: var(--rpv-teal-soft); color: var(--rpv-teal-dark); }
.rpv .rpv-vmonth input:checked + span::before { border-color: var(--rpv-teal); background: var(--rpv-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 600px) {
	.rpv .rpv-acts-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rpv .rpv-acts-row > button { justify-content: center; }
	.rpv .rpv-acts-row .rpv-know span { display: inline; }
}
/* ---------- 1.10.0: Add a word (suggestions) ---------- */
.rpv .rpv-suggest-line { margin: 4px 0 10px; color: var(--rpv-muted); font-size: 15px; }
.rpv .rpv-suggest { display: flex; flex-direction: column; gap: 12px; }
.rpv .rpv-suggest .rpv-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--rpv-muted); }
.rpv .rpv-suggest input { height: 44px; padding: 0 12px; border: 1px solid #C9D3D5; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; color: #1F2A2C; background: #fff; box-sizing: border-box; width: 100%; }
.rpv .rpv-suggest input:focus-visible { outline: 3px solid var(--rpv-teal); outline-offset: 1px; }
.rpv .rpv-sugg-ok { margin: 0; padding: 10px 12px; border-radius: 10px; background: #E3F4E8; color: #14522A; font-weight: 700; }
.rpv .rpv-sugg-exists { margin: 0 0 8px; font-weight: 700; color: #13404A; }
.rpv .rpv-sugg-sense { padding: 10px 12px; border: 1px solid #D7DFE0; border-radius: 12px; margin: 0 0 8px; }
.rpv .rpv-sugg-sense p { margin: 0 0 6px; }
.rpv .rpv-sugg-ul { list-style: none; margin: 0; padding: 0 16px; background: #fff; border: 1px solid #D7DFE0; border-radius: 14px; }
.rpv .rpv-sugg-ul li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #E3E9EA; }
.rpv .rpv-sugg-ul li:first-child { border-top: 0; }
.rpv .rpv-sugg-word { font-weight: 800; font-size: 17px; color: var(--rpv-teal-dark); min-width: 140px; }
.rpv .rpv-chip.rpv-sugg-pending { background: #FDF0D5; color: #7A4E00; }
.rpv .rpv-chip.rpv-sugg-added { background: #E3F4E8; color: #1D6B36; }
.rpv .rpv-chip.rpv-sugg-rejected { background: #EEF2F3; color: #4D5F62; }
