.vrl-plans { margin-top: 24px; }
.vrl-plan-grid { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; }
.vrl-plan-card {
	border: 1px solid #e2e2e2; border-radius: 12px; padding: 20px 24px;
	min-width: 200px; text-align: center; background: #fff;
}
.vrl-plan-card h3 { margin: 0 0 8px; font-size: 18px; }
.vrl-plan-price { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.vrl-subscribe-btn, .vrl-auth-submit {
	background: #111; color: #fff; border: 0; border-radius: 8px;
	padding: 10px 18px; font-size: 15px; cursor: pointer; width: 100%;
}
.vrl-subscribe-btn:hover, .vrl-auth-submit:hover { background: #333; }
.vrl-active-panel {
	border: 1px solid #b7e0c6; background: #f2fbf6; border-radius: 12px;
	padding: 24px; text-align: center; max-width: 480px;
}
.vrl-active-banner {
	background: #e8f6ee; border: 1px solid #b7e0c6; color: #1e7a45;
	padding: 12px 16px; border-radius: 8px; margin-bottom: 16px;
}
.vrl-active-panel .vrl-active-banner { margin-bottom: 20px; }
.vrl-cta-btn {
	display: inline-block; background: #1e7a45; color: #fff; text-decoration: none;
	padding: 12px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
}
.vrl-cta-btn:hover { background: #17633a; color: #fff; }
.vrl-msg { margin-top: 12px; font-size: 14px; }
.vrl-msg.is-error { color: #c0392b; }

/* Modal */
.vrl-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.5);
	display: flex; align-items: center; justify-content: center; z-index: 99999;
}
/* The class rule above sets display:flex, which otherwise overrides the [hidden]
   attribute (author styles beat the UA [hidden]{display:none} rule) — leaving the
   modal permanently open and unclosable. Force it hidden when the attribute is set. */
.vrl-modal-overlay[hidden] { display: none !important; }
.vrl-modal {
	background: #fff; border-radius: 14px; padding: 28px; width: 92%; max-width: 380px;
	position: relative;
}
.vrl-modal-close {
	position: absolute; top: 10px; right: 14px; border: 0; background: none;
	font-size: 26px; cursor: pointer; line-height: 1;
}
.vrl-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.vrl-tab {
	flex: 1; border: 0; background: #f0f0f0; padding: 10px; border-radius: 8px; cursor: pointer;
}
.vrl-tab.is-active { background: #111; color: #fff; }
.vrl-tab-panel input {
	display: block; width: 100%; box-sizing: border-box; margin-bottom: 12px;
	padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 15px;
}
.vrl-modal-msg { margin-top: 10px; font-size: 14px; min-height: 18px; }

/* ============ v0.2.0 tiered pricing ============ */
.vrl-pricing {
	--vrl-ink: #14161a;
	--vrl-muted: #6b7280;
	--vrl-line: #e6e8eb;
	--vrl-accent: #1e7a45;
	--vrl-blue: #3d5afe;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px; align-items: stretch; margin: 8px 0 4px;
}
@media (max-width: 720px) { .vrl-pricing { grid-template-columns: 1fr; } }

.vrl-tier-card {
	position: relative; background: #fff; border: 1px solid var(--vrl-line);
	border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column;
	box-shadow: 0 1px 2px rgba(16,22,32,.04);
}
.vrl-tier-card.vrl-featured {
	border-color: #14161a; box-shadow: 0 12px 34px -12px rgba(16,22,32,.28);
}
.vrl-featured-flag {
	position: absolute; top: -12px; left: 26px; background: var(--vrl-ink); color: #fff;
	font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px;
}
.vrl-tier-name { font-size: 22px; font-weight: 800; color: var(--vrl-ink); letter-spacing: -.01em; }
.vrl-tier-tag { color: var(--vrl-muted); font-size: 14px; margin: 2px 0 18px; }

.vrl-price { font-size: 15px; color: var(--vrl-ink); margin: 6px 0 4px; min-height: 34px; }
.vrl-strike { color: var(--vrl-muted); text-decoration: line-through; font-size: 16px; margin-right: 6px; }
.vrl-now { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.vrl-per { display: block; color: var(--vrl-muted); font-size: 13px; margin-top: 2px; }
.vrl-badge { color: var(--vrl-accent); font-weight: 700; font-size: 13px; min-height: 18px; margin-bottom: 6px; }

.vrl-toggle { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.vrl-toggle-btn {
	flex: 1 1 auto; border: 2px solid var(--vrl-blue); background: #fff; color: var(--vrl-blue);
	padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.vrl-toggle-btn:hover { background: rgba(61,90,254,.08); }
.vrl-toggle-btn.is-active { background: var(--vrl-blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(61,90,254,.6); }

.vrl-features { list-style: none; margin: 8px 0 20px; padding: 0; flex: 1; }
.vrl-features li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 9px 0; color: var(--vrl-ink); }
.vrl-features li.is-off { color: #9aa1ab; }
.vrl-tick { font-weight: 700; line-height: 1.4; }
.vrl-features li.is-on .vrl-tick { color: var(--vrl-accent); }
.vrl-features li.is-off .vrl-tick { color: #c3c8cf; }

.vrl-tier-card .vrl-subscribe-btn { margin-top: auto; padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.vrl-btn-outline { background: #fff !important; color: var(--vrl-ink) !important; border: 1px solid var(--vrl-ink) !important; }
.vrl-btn-outline:hover { background: #f4f5f7 !important; }

/* v0.4.0 footnote + asterisk */
.vrl-ast { color: #6b7280; font-size: 14px; font-weight: 600; }
.vrl-footnote {
	margin: 14px 2px 0; color: #6b7280; font-size: 12.5px; line-height: 1.6; max-width: 760px;
}

/* v0.4.1 active-member card (centered) */
.vrl-active-wrap {
	display: flex; align-items: center; justify-content: center;
	min-height: 62vh; padding: 48px 16px; box-sizing: border-box;
}
.vrl-active-card {
	background: #fff; border: 1px solid #e6e8eb; border-radius: 20px;
	box-shadow: 0 24px 60px -24px rgba(16,22,32,.28);
	padding: 40px 36px 36px; max-width: 560px; width: 100%; text-align: center;
}
.vrl-active-check {
	width: 64px; height: 64px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
	background: #e8f6ee; color: #1e7a45; font-size: 30px; font-weight: 800;
	box-shadow: 0 0 0 8px rgba(30,122,69,.08);
}
.vrl-active-title { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 800; color: #14161a; letter-spacing: -.01em; }
.vrl-active-sub { margin: 0 0 22px; color: #4b5563; font-size: 15.5px; line-height: 1.6; }
.vrl-wa { background: #f0fbf4; border: 1px solid #bfe6cf; border-radius: 14px; padding: 18px; margin: 0 0 22px; }
.vrl-wa-note { margin: 0 0 12px; color: #14532d; font-size: 14px; line-height: 1.55; }
.vrl-wa-btn {
	display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff;
	text-decoration: none; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px;
}
.vrl-wa-btn:hover { background: #1ebe5b; color: #fff; }
.vrl-active-cta { display: inline-block; }
