/* Rahvan Club — customer side (My Account tab + checkout box). Navy #022C3C / saffron #E8A33D.
   v1.3: hero with the level medal (Nile style), level path, tiles, level cards, steps, history. */
.rvc { --n: #022C3C; --n2: #0C3D50; --s: #E8A33D; --s2: #F7C873; --line: #E1E8EB; --line2: #EEF3F5; --soft: #F4F7F8; --mut: #5E6E76; --ok: #17855A; --err: #C0392B;
	display: flex; flex-direction: column; gap: 18px; direction: rtl; color: #22313A; font-size: 14px; line-height: 1.85; container-type: inline-size; container-name: rvc; }
.rvc * { box-sizing: border-box; }
.rvc .lv-none { --lc: #9FB2BA; } .rvc .lv-bronze { --lc: #D9935A; } .rvc .lv-silver { --lc: #CFD8E0; } .rvc .lv-gold { --lc: #E8BD62; }
.rvc-i { width: 20px; height: 20px; flex: none; }

/* ---------- hero ---------- */
.rvc-hero { --lc: var(--s); position: relative; overflow: hidden; isolation: isolate; padding: 20px; border-radius: 24px; color: #fff;
	background: radial-gradient(120% 140% at 100% 0, color-mix(in srgb, var(--lc) 32%, transparent), transparent 62%), linear-gradient(145deg, #0C3D50, #022C3C 70%);
	border: 1px solid color-mix(in srgb, var(--lc) 55%, transparent); box-shadow: 0 22px 40px -26px #000c; }
.rvc-hero::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(to left, var(--lc), #fff8, var(--lc)); }
.rvc-hero::after { content: ""; position: absolute; z-index: -1; inset-inline-start: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lc) 18%, transparent), transparent 65%); }
.rvc-hero-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.rvc-who { min-width: 0; }
.rvc-who small { display: block; font-size: 12px; color: #ffffffb8; }
.rvc-who b { display: block; font-size: 21px; font-weight: 900; line-height: 1.5; color: var(--lc); }
.rvc-who p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.8; color: #ffffffc9; }
.rvc-pts { text-align: center; padding: 8px 16px; border-radius: 16px; background: #ffffff14; border: 1px solid #ffffff26; }
.rvc-pts b { display: block; font-size: 30px; line-height: 1.25; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.rvc-pts small { font-size: 12px; color: var(--s2); }
.rvc-hero-val { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 10px 14px; border-radius: 14px; background: #ffffff0f; border: 1px dashed #ffffff30; }
.rvc-hero-val span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #ffffffcc; }
.rvc-hero-val span .rvc-i { color: var(--s2); }
.rvc-hero-val b { font-size: 17px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.rvc-hero-val b small { font-size: 12px; font-weight: 700; color: var(--s2); }

/* medal (same idea as the Nile digital card) */
.rvc-medal { --lc: var(--s); position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle at 50% 50%, transparent 0 60%, #0000002e 61%, #ffffff40 64%, transparent 66%), radial-gradient(circle at 32% 26%, #ffffffd9, transparent 42%), conic-gradient(from 210deg, var(--lc), #fffc 16%, var(--lc) 38%, color-mix(in srgb, var(--lc) 55%, #000) 70%, var(--lc));
	box-shadow: 0 0 0 3px #ffffff24, inset 0 2px 3px #fff9, inset 0 -5px 9px #0000004d, 0 12px 22px -10px var(--lc); animation: rvcFloat 3.6s ease-in-out infinite; }
.rvc-medal::before { content: "★"; position: relative; z-index: 1; font-size: 28px; line-height: 1; color: #1b1305; text-shadow: 0 1px 0 #fff8, 0 0 10px color-mix(in srgb, var(--lc) 80%, #fff); animation: rvcStar 2.4s ease-in-out infinite; }
.rvc-medal--lg::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, var(--lc) 80%, #fff 92%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); animation: rvcSpin 4.5s linear infinite; pointer-events: none; }
.rvc-medal--sm { width: 44px; height: 44px; animation: none; box-shadow: 0 0 0 2px #ffffff, inset 0 2px 3px #fff9, inset 0 -4px 7px #0000004d, 0 8px 16px -8px var(--lc); }
.rvc-medal--sm::before { font-size: 19px; animation: none; }
.rvc-sh { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.rvc-sh::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 38%; left: -60%; background: linear-gradient(100deg, transparent, #ffffffd0, transparent); transform: skewX(-18deg); animation: rvcShine 3.4s ease-in-out infinite; }
.rvc-sp { position: absolute; color: #fff; font-style: normal; line-height: 1; pointer-events: none; text-shadow: 0 0 8px var(--lc), 0 0 2px #fff; opacity: 0; animation: rvcTwinkle 2.8s ease-in-out infinite; }
.rvc-sp.a { top: -8px; inset-inline-end: -6px; font-size: 13px; } .rvc-sp.b { bottom: -6px; inset-inline-start: -8px; font-size: 10px; animation-delay: 1.1s; } .rvc-sp.c { top: 6px; inset-inline-start: -10px; font-size: 8px; animation-delay: 1.9s; }
@keyframes rvcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rvcStar { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.14) rotate(-8deg); } }
@keyframes rvcSpin { to { transform: rotate(360deg); } }
@keyframes rvcShine { 0%, 45% { left: -60%; } 80%, 100% { left: 130%; } }
@keyframes rvcTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 45% { opacity: 1; transform: scale(1.15) rotate(35deg); } 70% { opacity: 0; transform: scale(.5) rotate(70deg); } }

/* level path */
.rvc-path { display: flex; list-style: none; margin: 18px 0 0; padding: 0; }
.rvc-path li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; color: #ffffffa6; }
.rvc-path li::before { content: ""; position: absolute; top: 14px; inset-inline-start: 50%; width: 100%; height: 3px; border-radius: 3px; background: #ffffff26; }
.rvc-path li:last-child::before { display: none; }
.rvc-path li.done::before { background: var(--s); }
.rvc-path li i { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12.5px; background: #0C3D50; border: 2px solid #ffffff40; color: #ffffffb0; }
.rvc-path li.done i { background: var(--s); border-color: var(--s); color: #1b1305; }
.rvc-path li.on i { border-color: var(--lc); background: color-mix(in srgb, var(--lc) 30%, #0C3D50); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--lc) 28%, transparent); }
.rvc-path li span { font-weight: 800; color: #ffffffd9; }
.rvc-path li.on span { color: var(--lc); font-weight: 900; }
.rvc-path li em { font-style: normal; font-size: 11px; color: #ffffff8c; }
.rvc-next { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #ffffff10; border: 1px solid #ffffff1f; font-size: 13px; color: #ffffffcc; }
.rvc-next b { color: #fff; font-weight: 900; }
.rvc-next small { display: block; margin-top: 6px; font-size: 11.5px; color: #ffffff99; }
.rvc-bar { position: relative; height: 8px; margin-top: 8px; border-radius: 999px; background: #ffffff1f; overflow: hidden; }
.rvc-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; background: linear-gradient(90deg, var(--s2), var(--s)); }
.rvc-warn { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; color: #3B2A0B; background: #FDF0D6; }
.rvc-warn .rvc-i { width: 18px; height: 18px; color: #B9771A; margin-top: 2px; }

/* ---------- sections ---------- */
.rvc-sec { position: relative; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -26px rgb(2 44 60 / 45%); min-width: 0; }
.rvc-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15.5px; font-weight: 900; color: var(--n); }
.rvc-h::before { content: ""; width: 4px; height: 17px; border-radius: 2px; background: var(--s); }
.rvc-lead { margin: -4px 0 12px; font-size: 13px; line-height: 1.95; color: var(--mut); }
.rvc-lead b { color: var(--n); }

/* earning tiles */
.rvc-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container rvc (min-width: 640px) { .rvc-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.rvc-ways li { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 12px 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line2); box-shadow: 0 10px 22px -20px rgb(2 44 60 / 55%); transition: border-color .2s, transform .2s, box-shadow .2s; }
.rvc-ways li:hover { border-color: #F0D49B; transform: translateY(-1px); box-shadow: 0 14px 26px -20px rgb(232 163 61 / 80%); }
.rvc-wi { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: #F2C06A; background: linear-gradient(150deg, #164C61, #022C3C); box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 8px 16px -10px rgb(2 44 60 / 70%); }
.rvc-wi svg { width: 22px; height: 22px; }
.rvc-wx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rvc-wt { font-size: 14px; font-weight: 800; color: var(--n); line-height: 1.6; }
.rvc-ways li small { font-size: 11.5px; line-height: 1.7; color: var(--mut); }
.rvc-wp { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 6px 10px; border-radius: 14px; line-height: 1.3; color: #5B3A05; background: linear-gradient(160deg, #FDF3DF, #F9E2B4); border: 1px solid #F0D49B; }
.rvc-wp b { font-size: 17px; font-weight: 900; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.rvc-wp em { font-style: normal; font-size: 10.5px; font-weight: 700; opacity: .85; }
/* level cards */
.rvc-levels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container rvc (min-width: 600px) { .rvc-levels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rvc-lv { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.rvc-lv-p { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.rvc-lv.is-on { border-color: var(--lc); background: linear-gradient(160deg, color-mix(in srgb, var(--lc) 14%, #fff), #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lc) 22%, transparent); }
.rvc-lv-t b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; font-weight: 900; color: var(--n); white-space: nowrap; }
.rvc-lv-t b em { white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 9px; border-radius: 999px; color: #1b1305; background: var(--lc); }
.rvc-lv-t small { display: block; font-size: 12px; color: var(--mut); }
.rvc-lv-p { text-align: center; padding: 6px 12px; border-radius: 14px; background: var(--soft); }
.rvc-lv-p b { display: inline; font-size: 20px; font-weight: 900; color: var(--n); line-height: 1.3; font-variant-numeric: tabular-nums; }
.rvc-lv-p small { font-size: 11.5px; color: var(--mut); }

/* how to use */
.rvc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container rvc (min-width: 600px) { .rvc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rvc-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line2); }
.rvc-steps li i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-weight: 900; color: #1b1305; background: linear-gradient(135deg, var(--s2), var(--s)); }
.rvc-steps li b { display: block; font-size: 13.5px; font-weight: 900; color: var(--n); line-height: 1.7; }
.rvc-steps li small { display: block; font-size: 12px; line-height: 1.85; color: var(--mut); }
.rvc-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.9; color: #3B4A51; background: #F1F6F8; border: 1px dashed #CFDDE3; }
.rvc-note .rvc-i { width: 18px; height: 18px; color: var(--n2); margin-top: 3px; }
.rvc-note b { color: var(--n); }

/* invite + birthday */
.rvc-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@container rvc (min-width: 600px) { .rvc-two { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.rvc-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #FDF3E1; border: 1px dashed var(--s); }
.rvc-code span { font-size: 12.5px; color: #8A6A2E; }
.rvc-code b { font-size: 20px; font-weight: 900; letter-spacing: 2px; color: var(--n); }
.rvc-link { display: flex; gap: 8px; margin-top: 10px; }
.rvc-link input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: 12.5px; color: var(--n); }
.rvc .rvclub-copy, .rvc-bday-form button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 800; color: #fff; background: var(--n); cursor: pointer; }
.rvc .rvclub-copy .rvc-i { width: 17px; height: 17px; }
.rvc-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rvc-share a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--n); background: #fff; border: 1px solid var(--line); }
.rvc-share a:hover { border-color: var(--s); }
.rvc-refstat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rvc-refstat span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 12px; background: var(--soft); font-size: 12.5px; color: var(--mut); }
.rvc-refstat b { font-size: 15px; font-weight: 900; color: var(--n); }
.rvc-bday-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rvc-bday-top p { margin: 0; font-size: 13px; line-height: 1.95; color: var(--mut); }
.rvc-bday-top p b { color: var(--n); }
.rvc-bday-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.rvc-bday-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mut); flex: 1 1 90px; }
.rvc-bday-form select { height: 44px; width: 100%; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--n); }

/* history */
.rvc-hist { padding: 0; overflow: hidden; }
.rvc-hist summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; background: linear-gradient(180deg, #FBF6EC, #fff); }
.rvc-hist summary::-webkit-details-marker { display: none; }
.rvc-hist summary .rvc-h { margin: 0; }
.rvc-hist summary > b { padding: 2px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--s2), var(--s)); color: #1b1305; font-size: 13px; font-weight: 900; }
.rvc-log { list-style: none; margin: 0; padding: 4px 18px 8px; }
.rvc-log li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line2); }
.rvc-log li:last-child { border-bottom: 0; }
.rvc-log li[hidden] { display: none; }
.rvc-log-t { flex: 1; min-width: 0; line-height: 1.7; }
.rvc-log-t b { display: block; font-size: 13.5px; font-weight: 800; color: var(--n); }
.rvc-log-t small { display: block; font-size: 12px; color: #4B5B62; overflow-wrap: anywhere; }
.rvc-log-t em { display: block; font-style: normal; font-size: 11.5px; color: var(--mut); }
.rvc-log-p { flex: none; padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
.rvc-log-p.up { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.rvc-log-p.dn { color: var(--err); background: color-mix(in srgb, var(--err) 11%, transparent); }
.rvc-more { display: block; width: calc(100% - 36px); margin: 0 18px 16px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font: inherit; font-size: 13px; font-weight: 800; color: var(--n); cursor: pointer; }
.rvc-empty { margin: 0; padding: 4px 18px 16px; font-size: 13px; color: var(--mut); }

/* phones */
@container rvc (max-width: 520px) {
	.rvc { gap: 14px; }
	.rvc-hero { padding: 16px; border-radius: 20px; }
	.rvc-hero-top { grid-template-columns: auto minmax(0, 1fr); }
	.rvc-pts { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
	.rvc-medal--lg { width: 56px; height: 56px; }
	.rvc-medal--lg::before { font-size: 24px; }
	.rvc-who b { font-size: 19px; }
	.rvc-sec { padding: 16px 14px; border-radius: 20px; }
	.rvc-ways { gap: 8px; }
	.rvc-ways li { gap: 10px; padding: 10px 10px 10px 12px; border-radius: 16px; }
	.rvc-wi { width: 42px; height: 42px; border-radius: 14px; }
	.rvc-wp { min-width: 56px; padding: 5px 8px; }
	.rvc-wp b { font-size: 16px; }
	.rvc-hist summary { padding: 14px; }
	.rvc-log { padding: 4px 14px 8px; }
	.rvc-more { width: calc(100% - 28px); margin: 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) { .rvc-medal, .rvc-medal::before, .rvc-medal::after, .rvc-sh::before, .rvc-sp { animation: none; } .rvc-sp { opacity: .8; } }

/* checkout box */
.rvclub-co { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; direction: rtl; background: linear-gradient(140deg, #022C3C, #0C3D50); color: #fff; box-shadow: 0 14px 26px -20px rgb(2 44 60 / 90%); }
.rvclub-co-h { display: flex; align-items: center; gap: 10px; }
.rvclub-co-h div { display: flex; flex-direction: column; line-height: 1.5; }
.rvclub-co-h b { font-size: 14px; font-weight: 900; color: #fff; }
.rvclub-co-h small { font-size: 12px; color: rgb(255 255 255 / 72%); }
.rvclub-co-ic { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: #022C3C; background: var(--lv, #E8A33D); font-size: 16px; }
.rvclub-co-use { display: flex !important; align-items: center; gap: 10px; margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(232 163 61 / 45%); cursor: pointer; font-size: 13.5px; color: #fff !important; }
.rvclub-co-use input { width: 18px; height: 18px; margin: 0 !important; accent-color: #E8A33D; }
.rvclub-co-use b { color: #F2B65A; }
.rvclub-co-note { margin: 8px 0 0 !important; font-size: 12px; color: rgb(255 255 255 / 70%) !important; }

/* checkout: referral code */
.rvclub-ref { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; direction: rtl; background: #FDF3E1; border: 1px dashed #E8A33D; }
.rvclub-ref label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: #022C3C; }
.rvclub-ref label small { font-weight: 500; color: #8A6A2E; }
.rvclub-ref input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #E9CF9F; background: #fff; font-size: 14px; letter-spacing: 1px; }
.rvclub-ref > small { display: block; margin-top: 6px; font-size: 11.5px; color: #8A6A2E; line-height: 1.8; }

/* ==========================================================================
   v1.6 — page order + clearer levels + paged history
   ========================================================================== */
.rvc { gap: 16px; }
.rvc-top2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@container rvc (min-width: 640px) { .rvc-top2:not(.rvc-one) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.rvc-hist { padding: 0; overflow: hidden; }
.rvc-hist-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: linear-gradient(180deg, #FBF6EC, #fff); border-bottom: 1px solid var(--line2); }
.rvc-hist-h .rvc-h { margin: 0; }
.rvc-hist-h > b { padding: 3px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--s2), var(--s)); color: #1b1305; font-size: 13px; font-weight: 900; }
.rvc-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 18px 14px; border-top: 1px solid var(--line2); }
.rvc-pager span { font-size: 12.5px; font-weight: 700; color: var(--mut); }
.rvc-pager a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--n); font-size: 13px; font-weight: 800; text-decoration: none; }
.rvc-pager a:hover { border-color: var(--n); }
.rvc-pager a[rel=prev]::before { content: "→"; margin-inline-end: 6px; }
.rvc-pager a[rel=next]::after { content: "←"; margin-inline-start: 6px; }
.rvc-pager a[rel=next] { margin-inline-start: auto; background: var(--n); border-color: var(--n); color: #fff; }

/* levels: one clear card per level — condition + three plain benefit lines */
.rvc-lv { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
.rvc-lv-h { display: flex; align-items: center; gap: 12px; }
.rvc-lv-h .rvc-lv-t { flex: 1 1 auto; min-width: 0; }
.rvc-lv-me { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--lc); color: #1b1305; font-size: 11.5px; font-style: normal; font-weight: 900; white-space: nowrap; }
.rvc-lv-b { margin: 0; padding: 0; list-style: none; border-top: 1px dashed var(--line); }
.rvc-lv-b li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0 0; font-size: 12.5px; color: var(--mut); }
.rvc-lv-b li b { font-size: 13.5px; font-weight: 900; color: var(--n); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rvc-lead b { color: var(--n); }

/* v1.6.1 — birthday card under «امتیازهای من»; one clear advantage line per level */
.rvc-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rvc-col > .rvc-morelink { margin-top: -6px; }
.rvc-lv-x { margin: auto 0 0; padding: 8px 12px; border-radius: 12px; background: #f3f5f7; color: var(--n); font-size: 12px; font-weight: 800; line-height: 1.7; text-align: center; }
.rvc-lv.lv-gold .rvc-lv-x { background: #fff4dc; color: #6b4a00; }
.rvc-lv.is-on .rvc-lv-x { background: var(--lc, #f6e3c6); color: #1b1305; }

/* v1.6.6: the large medal carries the Rahvan logo on a white enamel inlay instead of the star (same as the home page) */
.rvc-medal--lg { width: 84px; height: 84px; }
.rvc-medal--lg::before { content: none; }
.rvc-ena { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff, #F3F6F7 60%, #E2E8EB); box-shadow: inset 0 2px 4px #00000038, inset 0 -2px 2px #ffffffe6, 0 0 0 2px color-mix(in srgb, var(--lc) 55%, #000), 0 0 0 3.5px color-mix(in srgb, var(--lc) 60%, #fff); }
.rvc-ena img { width: 42px; height: auto; margin: 1px 4px 0 0; filter: drop-shadow(0 1px 1px #022c3c40); }
.rvc-ena::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(140deg, #ffffffb3, transparent 38%); pointer-events: none; }
.rvc-dots { position: absolute; inset: 5px; border-radius: 50%; border: 1.5px dotted color-mix(in srgb, var(--lc) 45%, #000); opacity: .45; pointer-events: none; }
@container rvc (max-width: 520px) { .rvc-medal--lg { width: 72px; height: 72px; } .rvc-ena { width: 50px; height: 50px; } .rvc-ena img { width: 36px; } }
