:root {
	color-scheme: light;
	--rg-bg: #faf7f9;
	--rg-bg-2: #f4eef2;
	--rg-surface: #ffffff;
	--rg-surface-2: #f8f2f6;
	--rg-line: rgba(52, 20, 42, .09);
	--rg-line-2: rgba(52, 20, 42, .16);
	--rg-text: #1f1623;
	--rg-text-2: #463c4b;
	--rg-muted: #73687a;
	--rg-pink: #ec2f7b;
	--rg-pink-2: #c2185b;
	--rg-tint: rgba(236, 47, 123, .08);
	--rg-violet: #9d4bf2;
	--rg-grad: linear-gradient(135deg, #f2357f 0%, #e42fa6 55%, #9d4bf2 100%);
	--rg-radius: 18px;
	--rg-shadow-sm: 0 1px 2px rgba(52, 20, 42, .05), 0 2px 10px -4px rgba(52, 20, 42, .08);
	--rg-shadow: 0 2px 6px rgba(52, 20, 42, .04), 0 16px 36px -16px rgba(52, 20, 42, .22);
	--rg-shadow-pink: 0 10px 26px -10px rgba(236, 47, 123, .55);
	--rg-top: 64px;
	--rg-side: 252px;
	--rg-font-head: "Poppins", system-ui, sans-serif;
	--rg-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--rg-top) + 44px); }
body { margin: 0; background: var(--rg-bg); color: var(--rg-text); font: 400 16px/1.7 var(--rg-font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(236, 47, 123, .18); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--rg-font-head); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--rg-text); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
em { font-style: normal; color: var(--rg-pink); }
p { margin: 0 0 1em; }
.rg-muted { color: var(--rg-muted); }
.rg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rg-skip { position: absolute; left: -999px; top: 8px; background: var(--rg-pink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.rg-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rg-pink); outline-offset: 3px; border-radius: 8px; }
.rg-ico { width: 1.15em; height: 1.15em; flex: none; }
.rg-eyebrow { font: 700 .72rem/1 var(--rg-font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--rg-pink-2); margin: 0 0 12px; }

/* buttons */
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font: 600 .94rem/1 var(--rg-font-body); padding: 14px 24px; text-decoration: none; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s; }
.rg-btn-primary { background: var(--rg-grad); color: #fff; box-shadow: var(--rg-shadow-pink); }
.rg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(236, 47, 123, .7); }
.rg-btn-ghost { background: var(--rg-surface); border-color: var(--rg-line-2); color: var(--rg-text); box-shadow: var(--rg-shadow-sm); }
.rg-btn-ghost:hover { border-color: rgba(236, 47, 123, .45); color: var(--rg-pink-2); }
.rg-btn-sm { padding: 10px 17px; font-size: .86rem; }
.rg-btn-lg { padding: 17px 32px; font-size: 1rem; }
.rg-btn-block { width: 100%; }
.rg-btn .rg-ico { width: 1em; height: 1em; }

/* top bar and logo */
.rg-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; height: var(--rg-top); padding: 0 20px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rg-line); }
.rg-logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.3rem/1 var(--rg-font-head); text-decoration: none; letter-spacing: -.02em; color: var(--rg-text); }
.rg-logo b { margin-left: 6px; padding: 4px 6px 3px; border-radius: 6px; background: var(--rg-grad); color: #fff; font-size: .58em; font-weight: 800; letter-spacing: .06em; vertical-align: .32em; }
.rg-logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rg-grad); box-shadow: var(--rg-shadow-pink); }
.rg-logo-mark svg { width: 22px; height: 22px; }
.rg-logo-text { display: inline; }
.rg-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.rg-age-badge { font: 700 .76rem/1 var(--rg-font-body); padding: 7px 10px; border-radius: 999px; background: var(--rg-tint); border: 1px solid rgba(236, 47, 123, .28); color: var(--rg-pink-2); }
.rg-menu-btn { display: grid; gap: 4px; align-content: center; width: 42px; height: 42px; padding: 0 11px; background: var(--rg-surface); border: 1px solid var(--rg-line-2); border-radius: 12px; cursor: pointer; }
.rg-menu-btn i { display: block; height: 2px; background: var(--rg-text); border-radius: 2px; }

/* layout and sidebar */
.rg-app { display: block; }
.rg-content { min-width: 0; }
.rg-sidebar { position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(290px, 86vw); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 22px 14px; background: var(--rg-surface); border-right: 1px solid var(--rg-line); overflow-y: auto; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 20px 0 50px -30px rgba(52, 20, 42, .35); }
.rg-nav-open .rg-sidebar { transform: none; }
.rg-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(31, 22, 35, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.rg-nav-open .rg-scrim { opacity: 1; pointer-events: auto; }
.rg-nav-open { overflow: hidden; }
.rg-side-main, .rg-side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rg-sidebar a:not(.rg-btn) { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--rg-text-2); transition: background .15s, color .15s; }
.rg-sidebar a:not(.rg-btn):hover { background: var(--rg-surface-2); color: var(--rg-text); }
.rg-sidebar a[aria-current]:not(.rg-btn) { background: var(--rg-tint); color: var(--rg-pink-2); font-weight: 600; box-shadow: inset 3px 0 0 var(--rg-pink); }
.rg-sidebar a:not(.rg-btn) .rg-ico { width: 19px; height: 19px; color: var(--rg-muted); }
.rg-sidebar a[aria-current]:not(.rg-btn) .rg-ico { color: var(--rg-pink); }
.rg-side-label { margin: 20px 0 8px 12px; font: 700 .68rem/1 var(--rg-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--rg-muted); }
.rg-side-cta { padding: 12px 10px; border-radius: 16px; background: linear-gradient(160deg, rgba(242, 53, 127, .1), rgba(157, 75, 242, .08)); border: 1px solid rgba(236, 47, 123, .2); text-align: center; }
.rg-side-cta p { margin: 0 0 8px; font-size: .78rem; line-height: 1.3; color: var(--rg-text-2); }
.rg-side-cta strong { color: var(--rg-text); }
.rg-side-cta small { display: block; margin-top: 8px; font-size: .72rem; color: var(--rg-muted); }
.rg-sidebar .rg-btn { border: 0; color: #fff; }
.rg-sidebar .rg-side-cta .rg-btn { padding: 9px 8px; font-size: .78rem; gap: 0; letter-spacing: -.01em; white-space: nowrap; }
.rg-sidebar .rg-side-cta .rg-btn .rg-ico { display: none; }
.rg-count { margin-left: auto; font: 700 .7rem/1 var(--rg-font-body); font-style: normal; background: var(--rg-grad); color: #fff; padding: 4px 8px; border-radius: 999px; }

/* blocks */
.rg-wrap { width: 100%; max-width: 1360px; margin: 0; padding-inline: clamp(18px, 3vw, 40px); }
.rg-block { padding: clamp(28px, 4vw, 48px) 0; }
.rg-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.rg-block-head h2 { margin-bottom: 6px; }
.rg-block-head p { margin: 0; }
.rg-see-all { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--rg-surface); border: 1px solid var(--rg-line); font-size: .86rem; font-weight: 600; color: var(--rg-text-2); text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s; }
.rg-see-all:hover { color: var(--rg-pink-2); border-color: rgba(236, 47, 123, .4); }

/* home hero */
.rg-hero { padding: clamp(14px, 2.4vw, 28px) clamp(14px, 2.4vw, 28px) 0; }
.rg-hero-banner { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--rg-line); background: var(--rg-surface); box-shadow: var(--rg-shadow); }
.rg-hero-art { position: relative; aspect-ratio: 16 / 9; max-height: 420px; width: 100%; overflow: hidden; }
.rg-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--rg-pos, 66% 40%); }
.rg-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 38%); }
.rg-hero-copy { position: relative; z-index: 2; margin-top: -24px; padding: 0 clamp(20px, 5vw, 60px) clamp(26px, 5vw, 60px); max-width: 700px; }
.rg-hero h1 { margin-bottom: 14px; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.rg-sub { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--rg-text-2); max-width: 38em; }
.rg-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.rg-fine { font-size: .8rem; color: var(--rg-muted); margin: 0; }

/* topic cards */
.rg-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rg-guide { display: block; height: 100%; border-radius: var(--rg-radius); background: var(--rg-surface); border: 1px solid var(--rg-line); box-shadow: var(--rg-shadow-sm); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rg-guide:hover { transform: translateY(-4px); box-shadow: var(--rg-shadow); border-color: rgba(236, 47, 123, .3); }
.rg-guide-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; color: #fff; overflow: hidden; }
.rg-guide-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .08) 0 12px, transparent 12px 24px); }
.rg-guide-art .rg-ico { position: relative; z-index: 1; width: 44px; height: 44px; stroke-width: 1.5; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.rg-guide-art.rg-has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--rg-pos, 60% 40%); transition: transform .4s ease; }
.rg-guide:hover .rg-has-img img { transform: scale(1.04); }
.rg-guide-art.rg-has-img::after { background: linear-gradient(0deg, rgba(31, 22, 35, .35) 0%, rgba(31, 22, 35, 0) 45%); z-index: 1; }
.rg-guide-art.rg-has-img .rg-ico { position: absolute; z-index: 2; left: 12px; bottom: 12px; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #fff; color: var(--rg-pink); stroke-width: 2; filter: none; box-shadow: 0 6px 16px -6px rgba(31, 22, 35, .5); }
.rg-badge { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 5px 11px; border-radius: 999px; background: var(--rg-pink); color: #fff; font: 700 .66rem/1.2 var(--rg-font-body); letter-spacing: .05em; box-shadow: 0 4px 12px -4px rgba(236, 47, 123, .6); }
.rg-art-0 { background: linear-gradient(150deg, #ff9a7a, #e0306f); } .rg-art-1 { background: linear-gradient(150deg, #f566ab, #8a3fd1); }
.rg-art-2 { background: linear-gradient(150deg, #c065f5, #5b3bb0); } .rg-art-3 { background: linear-gradient(150deg, #f2357f, #a3245f); }
.rg-art-4 { background: linear-gradient(150deg, #8a68f5, #4a3aa8); } .rg-art-5 { background: linear-gradient(150deg, #ff6f8f, #b42a5a); }
.rg-art-6 { background: linear-gradient(150deg, #ff86bf, #c23a98); } .rg-art-7 { background: linear-gradient(150deg, #7d70b8, #3f3570); }
.rg-guide-body { display: grid; gap: 4px; padding: 14px 16px 18px; }
.rg-guide-body strong { font: 700 1.06rem/1.25 var(--rg-font-head); color: var(--rg-text); }
.rg-guide-body span { color: var(--rg-muted); font-size: .86rem; line-height: 1.45; }

/* short answer, prose, text links */
.rg-quick { position: relative; background: linear-gradient(180deg, rgba(236, 47, 123, .07), rgba(236, 47, 123, .02)), var(--rg-surface); border: 1px solid rgba(236, 47, 123, .2); border-radius: var(--rg-radius); padding: 24px 26px 24px 30px; max-width: 860px; box-shadow: var(--rg-shadow-sm); }
.rg-quick::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rg-grad); }
.rg-quick-q { font: 700 .72rem/1 var(--rg-font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--rg-pink-2); margin-bottom: 10px; }
.rg-quick p { font-size: 1.06rem; color: var(--rg-text); }
.rg-quick p:last-child { margin-bottom: 0; }
.rg-quick-more { color: var(--rg-text-2) !important; font-size: 1rem !important; }
.rg-textlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; color: var(--rg-pink-2); text-decoration: none; }
.rg-textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.rg-textlink .rg-ico { width: 1em; height: 1em; }
.rg-prose { max-width: 860px; }
.rg-prose h2 { margin-top: 1.6em; }
.rg-prose h2:first-child { margin-top: 0; }
.rg-prose h2[id] { scroll-margin-top: calc(var(--rg-top) + 54px); }
.rg-prose h3 { margin-top: 1.4em; }
.rg-prose p, .rg-prose ul, .rg-prose ol { color: var(--rg-text-2); }
.rg-prose a { color: var(--rg-pink-2); text-decoration-color: rgba(194, 24, 91, .35); text-underline-offset: 3px; }
.rg-prose a:hover { text-decoration-color: currentColor; }
.rg-prose strong { color: var(--rg-text); }
.rg-prose code { padding: 2px 6px; border-radius: 6px; background: var(--rg-surface-2); font-size: .9em; }
.rg-prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.rg-prose li { margin-bottom: .4em; }
.rg-prose li::marker { color: var(--rg-pink); }
.rg-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.rg-prose ol li { margin-bottom: .45em; padding-left: .2em; }
.rg-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.4em; background: var(--rg-surface); border: 1px solid var(--rg-line); border-radius: 16px; overflow: hidden; font-size: .95rem; box-shadow: var(--rg-shadow-sm); }
.rg-prose th, .rg-prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rg-line); color: var(--rg-text-2); }
.rg-prose tbody th { color: var(--rg-text); font-weight: 600; }
.rg-prose thead th { font: 700 .68rem/1 var(--rg-font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--rg-pink-2); background: var(--rg-surface-2); }
.rg-prose tbody tr:last-child > * { border-bottom: 0; }

/* stats strip */
.rg-stats { margin: clamp(14px, 3vw, 30px) 0; border-block: 1px solid var(--rg-line); background: var(--rg-surface); }
.rg-page-hero + .rg-stats { margin-top: 0; }
.rg-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1360px; }
.rg-stats-grid > div { padding: 28px 20px; text-align: center; border-bottom: 1px solid var(--rg-line); }
.rg-stats-grid > div:nth-child(odd) { border-right: 1px solid var(--rg-line); }
.rg-stats b { display: block; font: 800 clamp(1.9rem, 3.6vw, 2.8rem)/1 var(--rg-font-head); margin-bottom: 8px; color: var(--rg-pink); background: var(--rg-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rg-stats span { color: var(--rg-muted); font-size: .9rem; }

/* steps, checks, tip */
.rg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rg-steps li { background: var(--rg-surface); border: 1px solid var(--rg-line); border-radius: var(--rg-radius); padding: 24px; box-shadow: var(--rg-shadow-sm); }
.rg-steps .rg-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--rg-grad); color: #fff; font: 800 1rem var(--rg-font-head); margin-bottom: 14px; box-shadow: var(--rg-shadow-pink); }
.rg-steps p { color: var(--rg-muted); margin: 0; }
.rg-split { display: grid; gap: 30px; align-items: center; max-width: 1100px; }
.rg-split-copy p { color: var(--rg-text-2); }
.rg-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rg-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--rg-surface); border: 1px solid var(--rg-line); border-radius: var(--rg-radius); box-shadow: var(--rg-shadow-sm); }
.rg-checks .rg-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--rg-tint); color: var(--rg-pink); margin-top: 0; }
.rg-checks strong { display: block; font-family: var(--rg-font-head); margin-bottom: 2px; color: var(--rg-text); }
.rg-checks li > span { color: var(--rg-muted); }
.rg-tip { margin: 22px 0 0; max-width: 860px; padding: 14px 18px; border-left: 3px solid var(--rg-pink); background: var(--rg-surface); border-radius: 0 14px 14px 0; color: var(--rg-text-2); font-size: .95rem; box-shadow: var(--rg-shadow-sm); }

/* FAQ and CTA card */
.rg-faq { background: var(--rg-bg-2); border-block: 1px solid var(--rg-line); margin: 10px 0; }
.rg-faq .rg-wrap { max-width: 900px; margin: 0; }
.rg-faq h2 { margin-bottom: 22px; }
.rg-faq-item { background: var(--rg-surface); border: 1px solid var(--rg-line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--rg-shadow-sm); transition: border-color .2s; }
.rg-faq-item[open] { border-color: rgba(236, 47, 123, .32); }
.rg-faq-item summary { list-style: none; cursor: pointer; padding: 17px 56px 17px 20px; font-weight: 600; position: relative; }
.rg-faq-item summary::-webkit-details-marker { display: none; }
.rg-faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rg-tint); transform: translateY(-50%); font-size: 1.2rem; line-height: 1; color: var(--rg-pink-2); transition: transform .2s; }
.rg-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rg-faq-item p { padding: 0 20px 18px; margin: 0; color: var(--rg-text-2); }
.rg-cta-card { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); border-radius: 26px; border: 1px solid rgba(236, 47, 123, .22); background: radial-gradient(70% 140% at 100% 100%, rgba(236, 47, 123, .16), transparent 70%), radial-gradient(50% 120% at 0 0, rgba(157, 75, 242, .08), transparent 70%), var(--rg-surface); box-shadow: var(--rg-shadow); }
.rg-cta-card h2 { margin-bottom: 6px; }
.rg-cta-card p { margin: 0; }

/* inner page hero */
.rg-page-hero { padding: clamp(26px, 4vw, 50px) 0 8px; background: radial-gradient(50% 120% at 85% 0, rgba(236, 47, 123, .1), transparent 70%), radial-gradient(40% 90% at 100% 30%, rgba(157, 75, 242, .06), transparent 70%); }
.rg-page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 16em; }
.rg-page-hero .rg-sub { max-width: 34em; }
.rg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--rg-muted); margin-bottom: 16px; }
.rg-crumbs a { text-decoration: none; }
.rg-crumbs a:hover { color: var(--rg-pink-2); }
.rg-page-hero.rg-has-bg { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 8px; background: var(--rg-bg); }
.rg-page-hero.rg-has-bg .rg-wrap { position: relative; z-index: 2; margin-top: -30px; }
.rg-page-hero.rg-has-bg .rg-sub { max-width: 36em; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.rg-hero-bg { position: relative; z-index: 0; aspect-ratio: 16 / 9; max-height: 360px; width: 100%; }
.rg-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--rg-pos, 70% 40%); }
.rg-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #faf7f9 0%, rgba(250, 247, 249, 0) 42%); }

/* series cards */
.rg-series { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rg-series li { display: flex; scroll-snap-align: start; }
.rg-series li[hidden] { display: none; }
.rg-series .rg-pcard { width: 100%; }
.rg-series.rg-series-all { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; overflow: visible; }
.rg-pcard { display: block; border-radius: var(--rg-radius); background: var(--rg-surface); border: 1px solid var(--rg-line); box-shadow: var(--rg-shadow-sm); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rg-pcard:hover { transform: translateY(-4px); box-shadow: var(--rg-shadow); border-color: rgba(236, 47, 123, .3); }
.rg-pimg { position: relative; display: block; aspect-ratio: 7 / 10; background: var(--rg-surface-2); overflow: hidden; }
.rg-pimg img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rg-pcard:hover .rg-pimg img { transform: scale(1.04); }
.rg-pimg .rg-badge { z-index: 2; }
.rg-pbody { display: grid; gap: 2px; padding: 12px 14px 15px; }
.rg-pbody strong { font: 700 .97rem/1.28 var(--rg-font-head); color: var(--rg-text); }
.rg-pbody span { color: var(--rg-muted); font-size: .8rem; }
.rg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.rg-filters button { cursor: pointer; font: 600 .86rem/1 var(--rg-font-body); padding: 10px 17px; border-radius: 999px; background: var(--rg-surface); color: var(--rg-text-2); border: 1px solid var(--rg-line-2); transition: border-color .15s, background .15s, color .15s; }
.rg-filters button:hover { border-color: rgba(236, 47, 123, .45); color: var(--rg-pink-2); }
.rg-filters button[aria-pressed="true"] { background: var(--rg-grad); border-color: transparent; color: #fff; box-shadow: var(--rg-shadow-pink); }

/* image placeholders */
.rg-ph { display: grid; place-items: center; padding: 12px; text-align: center; color: #fff; position: relative; }
.rg-ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .08) 0 12px, transparent 12px 24px); }
.rg-ph-t { position: relative; z-index: 1; font: 800 1.05rem/1.15 var(--rg-font-head); text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.rg-ph-0 { background: linear-gradient(160deg, #ff9a7a, #e0306f); } .rg-ph-1 { background: linear-gradient(160deg, #f566ab, #8a3fd1); }
.rg-ph-2 { background: linear-gradient(160deg, #c065f5, #5b3bb0); } .rg-ph-3 { background: linear-gradient(160deg, #f2357f, #a3245f); }
.rg-ph-4 { background: linear-gradient(160deg, #8a68f5, #4a3aa8); } .rg-ph-5 { background: linear-gradient(160deg, #7d70b8, #3f3570); }

/* digital twins */
.rg-twins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rg-twin-series { margin-top: 8px; }
.rg-twin-series .rg-twins { margin-top: 26px; }
.rg-tcard { position: relative; display: block; aspect-ratio: 3 / 5; border-radius: var(--rg-radius); overflow: hidden; background: var(--rg-surface-2); box-shadow: var(--rg-shadow-sm); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.rg-tcard:hover { transform: translateY(-4px); box-shadow: var(--rg-shadow); }
.rg-tcard img, .rg-twin-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rg-tcard::after, .rg-twin-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24, 12, 22, .9) 0%, rgba(24, 12, 22, .72) 16%, rgba(24, 12, 22, .3) 34%, rgba(24, 12, 22, 0) 56%); }
.rg-tcard-info { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 14px; display: grid; gap: 3px; }
.rg-tcard-name { display: inline-flex; align-items: center; gap: 6px; font: 700 .95rem/1.2 var(--rg-font-body); color: #fff; }
.rg-tcard-meta { font-size: .76rem; color: #f3ecf2; }
.rg-verified { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--rg-pink); color: #fff; }
.rg-verified .rg-ico { width: 11px; height: 11px; stroke-width: 3; }
.rg-twin-hero-grid { display: grid; gap: 30px; align-items: center; }
.rg-twin-portrait { position: relative; justify-self: start; width: min(300px, 70%); aspect-ratio: 3 / 5; border-radius: 24px; overflow: hidden; border: 4px solid var(--rg-surface); box-shadow: 0 30px 60px -24px rgba(52, 20, 42, .45); }
.rg-twin-portrait .rg-tcard-info { left: 16px; bottom: 16px; }

/* series page */
.rg-series-hero-grid { display: grid; gap: 26px; align-items: start; }
.rg-series-poster { justify-self: start; width: min(280px, 70%); aspect-ratio: 7 / 10; border-radius: 24px; overflow: hidden; border: 4px solid var(--rg-surface); box-shadow: 0 30px 60px -24px rgba(52, 20, 42, .45); }
span.rg-series-poster { display: block; }
span.rg-series-poster.rg-ph { display: grid; }
.rg-series-poster img { width: 100%; height: 100%; object-fit: cover; }
.rg-series-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.rg-pills { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rg-pills li { font: 600 .78rem/1 var(--rg-font-body); padding: 7px 12px; border-radius: 999px; background: var(--rg-surface); border: 1px solid var(--rg-line-2); color: var(--rg-text-2); }
.rg-pills a { color: inherit; text-decoration: none; }
.rg-pills li.rg-pill-new { background: var(--rg-tint); border-color: rgba(236, 47, 123, .35); color: var(--rg-pink-2); }
.rg-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 20px 0 0; background: var(--rg-line); border: 1px solid var(--rg-line); border-radius: 16px; overflow: hidden; max-width: 640px; box-shadow: var(--rg-shadow-sm); }
.rg-meta > div { background: var(--rg-surface); padding: 12px 16px; }
.rg-meta > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rg-meta dt { font: 700 .66rem/1 var(--rg-font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--rg-muted); margin-bottom: 6px; }
.rg-meta dd { margin: 0; font-weight: 600; }
.rg-meta a { color: var(--rg-pink-2); text-underline-offset: 3px; }
.rg-quickbar { display: grid; gap: 16px; align-items: start; }
.rg-quickbar .rg-toc { margin-top: 0; }
.rg-toc { margin-top: 18px; max-width: 860px; padding: 18px 22px; border-radius: var(--rg-radius); background: var(--rg-surface); border: 1px solid var(--rg-line); box-shadow: var(--rg-shadow-sm); }
.rg-toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); color: var(--rg-muted); }
.rg-toc a { color: var(--rg-text-2); text-decoration: none; }
.rg-toc a:hover { color: var(--rg-pink-2); }
.rg-eps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rg-ep { display: block; height: 100%; border-radius: 16px; overflow: hidden; background: var(--rg-surface); border: 1px solid var(--rg-line); box-shadow: var(--rg-shadow-sm); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rg-ep:hover { transform: translateY(-4px); box-shadow: var(--rg-shadow); border-color: rgba(236, 47, 123, .3); }
.rg-ep-media { position: relative; display: block; aspect-ratio: 9 / 16; background: var(--rg-surface-2); overflow: hidden; }
.rg-ep-media img { width: 100%; height: 100%; object-fit: cover; }
.rg-ep-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24, 12, 22, .35) 0, rgba(24, 12, 22, 0) 40%); }
.rg-ep-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--rg-pink); box-shadow: 0 8px 22px -8px rgba(24, 12, 22, .6); transition: transform .2s; }
.rg-ep:hover .rg-ep-play { transform: scale(1.08); }
.rg-ep-play .rg-ico { width: 18px; height: 18px; margin-left: 3px; }
.rg-ep-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px 12px; font-weight: 600; font-size: .9rem; color: var(--rg-text); }
.rg-ep-name small { color: var(--rg-muted); font-weight: 600; font-size: .76rem; }
.rg-stamp { margin: 10px 0 0; font-size: .78rem; color: var(--rg-muted); }
.rg-pager { display: grid; gap: 12px; }
.rg-pager a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--rg-surface); border: 1px solid var(--rg-line); box-shadow: var(--rg-shadow-sm); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.rg-pager a:hover { border-color: rgba(236, 47, 123, .35); box-shadow: var(--rg-shadow); }
.rg-pager small { font: 700 .66rem/1 var(--rg-font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--rg-pink-2); }
.rg-pager strong { font: 700 1.02rem/1.3 var(--rg-font-head); }
.rg-pager .rg-next { text-align: right; }

/* footer and age notice */
.rg-site-footer { margin-top: 30px; border-top: 1px solid var(--rg-line); background: var(--rg-surface); padding: 44px clamp(18px, 3vw, 40px) 22px; }
.rg-foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); max-width: 1360px; }
.rg-foot-grid > div:first-child { grid-column: 1 / -1; }
.rg-foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rg-foot-list a { color: var(--rg-text-2); text-decoration: none; }
.rg-foot-list a:hover { color: var(--rg-pink-2); }
.rg-legal { max-width: 1360px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rg-line); color: var(--rg-muted); font-size: .82rem; }
.rg-legal p { margin-bottom: 6px; }
.rg-legal strong { color: var(--rg-text-2); }
.rg-agebar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 15px 17px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border: 1px solid var(--rg-line-2); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(52, 20, 42, .45); font-size: .9rem; color: var(--rg-text-2); }
.rg-agebar[hidden] { display: none; }
.rg-agebar p { margin: 0; }
.rg-agebar strong { color: var(--rg-text); }
.rg-agebar div { display: flex; gap: 10px; }

/* admin bar */
.admin-bar .rg-topbar { top: 32px; }
.admin-bar .rg-sidebar { top: 32px; }

/* breakpoints */
@media (max-width: 560px) {
	.rg-topbar-right .rg-btn { display: none; }
	.rg-cta-row .rg-btn { width: 100%; }
	.rg-hero-art { aspect-ratio: 4 / 3; }
}
@media (min-width: 640px) {
	.rg-guides { grid-template-columns: repeat(3, 1fr); }
	.rg-steps { grid-template-columns: repeat(3, 1fr); }
	.rg-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.rg-foot-grid > div:first-child { grid-column: auto; }
	.rg-cta-card { flex-direction: row; justify-content: space-between; align-items: center; }
	.rg-agebar { left: 50%; right: auto; width: min(720px, calc(100% - 24px)); transform: translateX(-50%); flex-direction: row; align-items: center; justify-content: space-between; }
	.rg-series { grid-auto-columns: minmax(170px, 30%); }
	.rg-series.rg-series-all { grid-template-columns: repeat(3, 1fr); }
	.rg-twins { grid-template-columns: repeat(3, 1fr); }
	.rg-eps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) { .rg-pager { grid-template-columns: 1fr 1fr; } }
@media (max-width: 782px) { .admin-bar .rg-topbar { top: 46px; } .admin-bar .rg-sidebar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .rg-topbar { top: 0; } .admin-bar .rg-sidebar { top: 0; } }
@media (min-width: 900px) {
	.rg-series-hero-grid { grid-template-columns: 280px 1fr; gap: 40px; }
	.rg-series-poster { width: 100%; justify-self: stretch; }
	.rg-split { grid-template-columns: 1.2fr .8fr; gap: 56px; }
}
/* Wide screens: the picture sits behind the copy, washed out on the left. */
@media (min-width: 1180px) {
	.rg-hero-banner { display: flex; align-items: center; min-height: 520px; }
	.rg-hero-art { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
	.rg-hero-art::after { background:
		linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 30%, rgba(255, 255, 255, .7) 46%, rgba(255, 255, 255, .1) 68%, rgba(255, 255, 255, 0) 100%); }
	.rg-hero-copy { margin-top: 0; padding: clamp(28px, 4vw, 56px); max-width: 640px; }
	.rg-page-hero.rg-has-bg { display: flex; align-items: center; min-height: 430px; padding: 0; }
	.rg-hero-bg { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
	.rg-page-hero.rg-has-bg .rg-wrap { margin-top: 0; padding-top: 60px; padding-bottom: 60px; }
	.rg-page-hero.rg-has-bg .rg-sub { max-width: 32em; }
	.rg-hero-bg::after { background:
		linear-gradient(90deg, #faf7f9 0%, rgba(250, 247, 249, .95) 34%, rgba(250, 247, 249, .64) 54%, rgba(250, 247, 249, .08) 80%, rgba(250, 247, 249, 0) 100%),
		linear-gradient(0deg, #faf7f9 0%, rgba(250, 247, 249, 0) 22%); }
}
@media (min-width: 1024px) {
	.rg-menu-btn { display: none; }
	.rg-app { display: grid; grid-template-columns: var(--rg-side) minmax(0, 1fr); }
	.rg-sidebar { position: sticky; top: var(--rg-top); z-index: 5; height: calc(100vh - var(--rg-top)); width: auto; transform: none; transition: none; box-shadow: none; }
	.admin-bar .rg-sidebar { top: calc(var(--rg-top) + 32px); height: calc(100vh - var(--rg-top) - 32px); }
	.rg-scrim { display: none; }
	.rg-guides { grid-template-columns: repeat(4, 1fr); }
	.rg-stats-grid { grid-template-columns: repeat(4, 1fr); }
	.rg-stats-grid > div { border-bottom: 0; border-right: 1px solid var(--rg-line); }
	.rg-stats-grid > div:last-child { border-right: 0; }
	.rg-series { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); grid-auto-columns: auto; overflow: visible; }
	.rg-series.rg-series-all { grid-template-columns: repeat(4, 1fr); }
	.rg-twins { grid-template-columns: repeat(5, 1fr); }
	.rg-twin-hero-grid { grid-template-columns: 1.4fr .6fr; }
	.rg-twin-portrait { justify-self: end; width: 100%; max-width: 300px; }
	.rg-eps { grid-template-columns: repeat(5, 1fr); }
	.rg-quickbar { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 1023px) {
	.rg-twin-hero-grid { gap: 22px; }
	.rg-twin-portrait { order: -1; width: min(300px, 78%); max-width: none; justify-self: center; }
	.rg-twin-portrait img { object-position: 50% 50%; }
}
@media (min-width: 1360px) { .rg-series.rg-series-all { grid-template-columns: repeat(5, 1fr); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
