/* Illustrated public-site theme. Billing behavior and the staff console are unchanged. */
:root {
    color-scheme: light;
    --bg: #faf9ff;
    --bg-soft: #f2effc;
    --surface: #fff;
    --surface-raised: #fff;
    --surface-soft: #f2edff;
    --primary: #6935ef;
    --primary-strong: #5422d2;
    --secondary: #8251f5;
    --accent: #6935ef;
    --success: #148459;
    --text: #171334;
    --muted: #656079;
    --muted-bright: #4e4765;
    --card: #fff;
    --line: #e5e0f1;
    --line-bright: #c4b2f7;
    --shadow: 0 10px 36px rgba(65, 40, 125, .06);
}
html { scroll-padding-top: 96px; background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: "Manrope", sans-serif; line-height: 1.6; }
body::before { display: none; }
*, *::before, *::after { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--text); background: #dfd0ff; }
:focus-visible { outline: 3px solid #9669ef; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 64px)); }
.ui-icon { flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 110; padding: 12px 20px; color: #fff; background: var(--primary); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; margin: 0 0 16px; color: var(--primary); font: 800 .67rem/1.5 "Manrope", sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { display: none; }
main h1, main h2, main h3, main h4 { color: var(--text); font-family: "Manrope", sans-serif; text-transform: none; }
main h1, main h2 { letter-spacing: -.05em; }
main h1 em { color: var(--primary); font-style: normal; }
.btn { display: inline-flex; min-height: 48px; padding: 12px 23px; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; box-shadow: none; font: 750 .84rem/1.4 "Manrope", sans-serif; letter-spacing: -.015em; text-transform: none; transition: background .18s, box-shadow .18s, transform .18s; white-space: normal; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); box-shadow: 0 5px 15px #6935ef18; }
.btn.primary:hover { background: var(--primary-strong); border-color: var(--primary-strong); box-shadow: 0 7px 18px #6935ef26; }
.btn.secondary { background: rgba(255,255,255,.87); border: 1px solid #d6cdea; color: var(--text); }
.btn.secondary:hover { background: #f0e9ff; border-color: #b69ceb; color: var(--primary-strong); }
.btn.disabled, .btn:disabled { color: #696277; border-color: var(--line); background: #efebf4; box-shadow: none; transform: none; cursor: not-allowed; }
.btn .ui-icon { width: 19px; height: 19px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* One navigation system: inline on desktop, full-height drawer on mobile. */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250,249,255,.94); border-bottom: 1px solid rgba(225,219,241,.55); backdrop-filter: blur(16px); }
.site-header .container { display: flex; min-height: 84px; gap: 0; }
.logo, .site-footer .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 850 1.05rem/1.1 "Manrope", sans-serif; letter-spacing: -.06em; white-space: nowrap; }
.brand-mark { display: block; width: 35px; height: 40px; object-fit: contain; }
.site-header .logo { order: 1; }
.site-header .nav { order: 2; display: flex; align-items: center; gap: 25px; margin: 0 0 0 auto; }
.site-header .header-actions { order: 3; display: flex; align-items: center; margin-left: 18px; gap: 10px; }
.nav > a:not(.ghost), .nav .ghost { color: var(--muted-bright); font: 650 .76rem "Manrope", sans-serif; letter-spacing: 0; }
.nav > a:not(.btn) { position: relative; }
.nav > a[aria-current="page"]:not(.btn), .nav > a:hover { color: var(--primary); }
.nav > a[aria-current="page"]:not(.ghost)::after { content: ""; position: absolute; height: 2px; bottom: -9px; left: 0; right: 0; background: var(--primary); }
.nav > a > .ui-icon { display: none; }
.nav .ghost, .admin-link { min-height: 40px; padding: 0 16px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
.nav .ghost:hover, .admin-link:hover { background: #f0e9ff; color: var(--primary); border-color: #c8b4f1; }
.logout-form { margin: 0; }
.logout-form button { display: flex; align-items: center; gap: 8px; cursor: pointer; font: inherit; }
.account-rail .logout-form button { width: 100%; padding: 12px 14px; border: 0; border-radius: 9px; background: transparent; color: #5a4b72; text-align: left; font-size: .86rem; }
.account-rail .logout-form button:hover { background: #f0e9ff; color: var(--primary); }
@media (max-width: 900px) { .site-header .nav .logout-form button { width: 100%; min-height: 49px; padding: 12px 16px; border: 0; background: transparent; color: #5a4b72; } }
.admin-link { font-size: .72rem; }
.nav .nav-get-started { min-height: 41px; padding: 10px 18px; font-size: .75rem; color: #fff; }
.site-header .nav > a.btn.primary { color: #fff; }
.cart-link { position: relative; width: 42px; min-height: 42px; padding: 8px; border: 0; background: transparent; color: var(--text); }
.cart-link .ui-icon { width: 23px; height: 23px; }
.cart-count { position: absolute; top: 0; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: .6rem; line-height: 1; }
.cart-dropdown { width: min(360px, calc(100vw - 32px)); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px #2f1b5526; color: var(--text); }
.cart-item, .cart-summary, .cart-total { border-color: var(--line); color: var(--text); }
.cart-item span, .empty-cart { color: var(--muted); }
.cart-actions .btn { font-size: .76rem; padding: 10px 15px; }
.nav-toggle, .mobile-nav-heading, .mobile-nav-art, .nav .mobile-only, .mobile-bottom-nav, .nav-backdrop { display: none; }

/* Artwork and motion share one aspect ratio; overlays never drift away from the falls. */
.realm-hero { --realm-sky: #edf0fc; position: relative; isolation: isolate; overflow: clip; min-height: 720px; background: var(--realm-sky); }
.realm-stage { position: absolute; width: max(1100px, min(100%, 1350px)); aspect-ratio: 3 / 2; right: 0; top: -15px; z-index: -3; pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 8%, #000 89%, transparent); }
.realm-landscape { display: block; width: 100%; height: 100%; }
.living-water { position: absolute; inset: 0; width: 100%; height: 100%; }
.water-streaks { --scene-duration: 2.8s; animation: water-flow 2.8s linear infinite; }
.water-streaks-fine { --scene-duration: 1.9s; animation-duration: 1.9s; }
.water-mist { --scene-duration: 6s; transform-box: fill-box; transform-origin: center; animation: mist-breathe 6s ease-in-out infinite alternate; }
@keyframes water-flow { to { stroke-dashoffset: -211; } }
@keyframes mist-breathe { to { transform: scale(1.25) translateY(-7px); opacity: .28; } }
.realm-bird { --scene-duration: 23s; --bird-size: 1; position: absolute; left: 52%; top: 22%; width: 28px; height: 13px; animation: bird-flight 23s ease-in-out infinite; }
.bird-wing { --scene-duration: 1.05s; position: absolute; top: 2px; width: 15px; height: 10px; background: #575e9a; clip-path: polygon(0 0, 28% 8%, 75% 51%, 100% 100%, 63% 73%, 28% 36%); }
.wing-left { left: 0; transform-origin: right bottom; animation: wing-flap-left 1.05s ease-in-out infinite; }
.wing-right { left: 15px; clip-path: polygon(100% 0, 72% 8%, 25% 51%, 0 100%, 37% 73%, 72% 36%); transform-origin: left bottom; animation: wing-flap-right 1.05s ease-in-out infinite; }
.bird-two { --scene-duration: 28s; --bird-size: .65; left: 57%; top: 26%; animation-duration: 28s; animation-delay: -10s; }
.bird-three { --scene-duration: 32s; --bird-size: .5; left: 44%; top: 30%; animation-duration: 32s; animation-delay: -19s; }
.bird-two .bird-wing { animation-delay: -.3s; }
.bird-three .bird-wing { animation-delay: -.7s; }
@keyframes bird-flight { 0%, 100% { transform: translate(-65px, 8px) scale(var(--bird-size)); } 45% { transform: translate(90px, -20px) scale(var(--bird-size)); } 70% { transform: translate(15px, -45px) scale(var(--bird-size)); } }
@keyframes wing-flap-left { 0%,100% { transform: rotate(8deg) scaleY(1); } 50% { transform: rotate(-18deg) scaleY(.28); } }
@keyframes wing-flap-right { 0%,100% { transform: rotate(-8deg) scaleY(1); } 50% { transform: rotate(18deg) scaleY(.28); } }
.realm-hero-wash { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, var(--bg) 0%, #faf9ff00 19%), linear-gradient(90deg, #f3f2ffbd 0%, #f3f2ff83 29%, #f3f2ff00 64%); }
.realm-hero-content { position: relative; padding: 114px 0 160px; }
.realm-hero-copy { width: 51%; max-width: 570px; }
.realm-hero-copy .eyebrow { display: inline-block; padding: 6px 12px; margin: 0 0 20px; border-radius: 20px; background: #ffffff80; font-size: .65rem; }
.realm-hero-copy h1 { margin: 0; font: 850 clamp(3.5rem, 6.4vw, 6rem)/1.02 "Manrope", sans-serif; letter-spacing: -.067em; text-transform: none; }
.realm-hero-copy > p:not(.eyebrow) { max-width: 425px; margin: 25px 0 28px; color: #3e3758; font-size: 1.02rem; line-height: 1.75; }
.realm-hero-copy .cta-row .btn { min-width: 158px; min-height: 52px; }
.hero-small-print { display: block; max-width: 390px; margin-top: 19px; color: #655d7e; font-size: .72rem; }
.scene-motion-toggle { position: absolute; right: 26px; top: 18px; padding: 7px 12px; min-height: 44px; border: 1px solid #ffffff80; border-radius: 24px; background: #fff9; color: #504a6b; font: 600 .65rem "Manrope", sans-serif; cursor: pointer; }
.scene-paused .water-streaks, .scene-paused .water-mist, .scene-paused .realm-bird, .scene-paused .bird-wing { animation-play-state: paused; }
.realm-benefits { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -18px; padding: 6px 0 38px; }
.realm-benefits > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 12px; }
.realm-benefits > div + div { border-left: 1px solid var(--line); }
.realm-benefits .ui-icon { width: 29px; height: 29px; margin-bottom: 12px; color: var(--primary); stroke-width: 2.1; }
.realm-benefits strong { font-size: .81rem; font-weight: 800; }
.realm-benefits span { color: var(--muted); font-size: .72rem; }
.realm-section { padding: 62px 0; }
.realm-section-heading { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.realm-section-heading .eyebrow { margin-bottom: 13px; }
.realm-section-heading h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 850; line-height: 1.15; }
.realm-section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.realm-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.realm-steps article { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff9; box-shadow: 0 8px 24px #504a7b03; }
.step-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--primary); background: #f0e8ff; border-radius: 12px; }
.step-number { position: absolute; top: 26px; right: 25px; color: #c4b4e4; font-size: .75rem; font-weight: 800; }
.realm-steps h3 { margin: 22px 0 9px; font-size: 1.1rem; letter-spacing: -.03em; }
.realm-steps p { margin: 0 0 20px; color: var(--muted); font-size: .84rem; }
.realm-steps a { display: flex; align-items: center; justify-content: space-between; color: var(--primary); font-size: .76rem; font-weight: 750; }
.realm-catalog { padding-top: 36px; }
.realm-product-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 22px; }
.realm-product-card { display: flex; align-items: center; flex-direction: column; padding: 24px; text-align: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.realm-product-art { display: grid; width: 100%; height: 166px; place-items: center; background: radial-gradient(ellipse, #eae0ff 0%, transparent 66%); border-radius: 12px; }
.realm-product-art img { max-width: 100%; width: auto; height: 150px; object-fit: contain; }
.realm-product-card h3 { margin: 19px 0 8px; font-size: 1.2rem; }
.realm-product-card p { margin: 0 0 24px; color: var(--muted); font-size: .84rem; }
.realm-product-card .btn { width: 100%; margin-top: auto; }
.realm-empty { grid-column: 1 / -1; padding: 30px; text-align: center; border: 1px solid var(--line); border-radius: 16px; }
.realm-empty p { color: var(--muted); }
.realm-support { position: relative; min-height: 350px; margin-top: 36px; margin-bottom: 70px; padding: 50px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(90deg,#f1ebfff0,#f1ebffb0 42%,#f1ebff00 75%), url("../images/fantasy-realm.2a5ac5ac106f.webp") 65% 58% / cover; }
.realm-support > div { max-width: 510px; }
.realm-support .eyebrow { font-size: .63rem; }
.realm-support h2 { margin: 0 0 17px; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.12; font-weight: 850; }
.realm-support p:not(.eyebrow) { max-width: 430px; color: #504566; font-size: .88rem; margin: 0 0 25px; }
.site-footer { padding: 34px 0 22px; background: #fff; border-top: 1px solid var(--line); color: var(--text); }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.footer-brand p { margin: 10px 0 0 45px; color: var(--muted); font-size: .75rem; }
.footer-links { color: var(--muted-bright); font-size: .76rem; gap: 22px; }
.footer-links a:hover { color: var(--primary); }
.footer-status { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 500 .7rem "Manrope", sans-serif; }
.footer-status .ui-icon { width: 18px; height: 18px; color: var(--primary); }
.footer-copy { grid-column: auto; margin: 0; padding: 0; border: 0; color: var(--muted); font-size: .68rem; text-align: right; }

/* Shop and package cards keep the existing pricing hooks and dollar calculations. */
.store-hero, .pricing-hero { padding: 70px 0 64px; border: 0; background: linear-gradient(90deg, #f5f2fff2, #f5f2ffbd 55%, #f5f2ff38), url("../images/fantasy-realm.2a5ac5ac106f.webp") right 20% / cover; }
.store-hero::before, .store-hero::after, .pricing-hero::before { display: none; }
.store-hero h1 { max-width: 900px; margin: 0; color: var(--text); font: 850 clamp(2.5rem, 4.6vw, 4.2rem)/1.08 "Manrope",sans-serif; letter-spacing: -.06em; text-transform: none; }
.store-hero .lead { max-width: 720px; margin: 20px 0 0; color: #554b6b; font-size: .98rem; line-height: 1.7; }
.store-hero-meta { gap: 24px; margin-top: 25px; }
.store-hero-meta span { color: #615673; font: 650 .71rem "Manrope",sans-serif; text-transform: none; letter-spacing: 0; }
.store-hero-meta .ui-icon { width: 18px; height: 18px; color: var(--primary); }
.store-list, .pricing-section { background: var(--bg); padding: 42px 0 48px; }
.catalog-page > .container { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 22px; }
.catalog-page .product-block { padding: 25px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); border-radius: 16px; }
.catalog-page .product-block::before { display: none; }
.catalog-page .product-block h2 { color: var(--text); font-size: 1.35rem; }
.catalog-page .product-tagline { color: var(--muted-bright); min-height: 0; }
.catalog-page .product-summary { color: var(--muted); font-size: .8rem; }
.catalog-page .product-media { display: block; min-height: 0; overflow: hidden; border: 0; background: #f7f3ff; height: 175px; }
.catalog-page .realm-mascot-media { background: radial-gradient(ellipse,#eee3ff, #fff 72%); }
.catalog-page .realm-mascot-media img { object-fit: contain; padding: 4px; }
.realm-placeholder-media picture { display: block; height: 100%; width: 100%; }
.catalog-features { margin-top: 16px; }
.catalog-features summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; padding: 8px 0; font-size: .77rem; color: #655076; font-weight: 700; }
.catalog-features summary::-webkit-details-marker { display: none; }
.catalog-features summary span { color: var(--primary); font-size: 1.15rem; }
.catalog-features[open] summary span { transform: rotate(45deg); }
.catalog-page .catalog-features .feature-list { margin-top: 9px; }
.catalog-page .feature-chip { background: #f8f5ff; border-color: #ece4f8; border-radius: 7px; }
.catalog-page .feature-chip strong { color: #544768; font-size: .69rem; }
.catalog-page .feature-chip span { color: var(--muted); }
.catalog-price-preview { margin-top: 20px; background: #f7f3ff; border: 1px solid #ece5f8; border-radius: 10px; padding: 0 10px; }
.catalog-price-preview span { color: var(--muted); font: 650 .66rem "Manrope",sans-serif; letter-spacing: 0; text-transform: none; }
.catalog-price-preview strong { color: var(--primary-strong); font-size: .98rem; }
.catalog-page .product-cta-row .btn { font-size: .8rem; }
.pricing-hero { padding: 34px 0 42px; }
.pricing-hero-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 40px; }
.pricing-back-link { margin: 0 0 26px; color: #6a5c83; }
.pricing-back-link:hover { color: var(--primary); }
.pricing-hero-copy .eyebrow { color: var(--primary); }
.pricing-hero-copy h1 { color: var(--text); font-size: clamp(2.4rem,4.2vw,3.8rem); font-weight: 850; line-height: 1.1; }
.pricing-hero-copy .lead { color: #5d5271; font-size: .9rem; max-width: 630px; }
.pricing-hero-points { margin-top: 20px; }
.pricing-hero-points span { color: #665a7a; font: 650 .7rem "Manrope",sans-serif; text-transform: none; letter-spacing: 0; }
.pricing-hero-points i { background: var(--primary); box-shadow: none; }
.pricing-mascot { width: 240px; height: 240px; object-fit: contain; filter: drop-shadow(0 12px 20px #5b2daa1c); }
.pricing-hero-media { border-color: var(--line); box-shadow: var(--shadow); background: #fff; }
.pricing-hero-media.realm-placeholder-media { height: 240px; aspect-ratio: 1; background: transparent; border: 0; box-shadow: none; }
.pricing-hero-media.realm-placeholder-media img { object-fit: contain; }
.pricing-section-header { gap: 24px; }
.pricing-section-header h2 { color: var(--text); font-size: 2rem; font-weight: 800; }
.pricing-section-header .eyebrow { font-size: .65rem; }
.pricing-section-header p:not(.eyebrow) { color: var(--muted); font-size: .86rem; }
.billing-frequency { gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 28px; background: #eee9fa; }
.billing-frequency button { min-width: 118px; min-height: 43px; border-radius: 24px; color: #645675; font: 700 .8rem "Manrope",sans-serif; }
.billing-frequency button:hover { color: var(--primary); }
.billing-frequency button.is-active { background: var(--primary); color: #fff; box-shadow: 0 3px 10px #6935ef1a; }
.billing-frequency-single { background: #fff; border-color: var(--line); }
.billing-frequency-single span { color: var(--muted); }
.billing-frequency-single strong { color: var(--text); }
.pricing-clarity-bar { padding: 18px; margin: 20px 0; border-color: var(--line); background: #f4effc; }
.pricing-clarity-step { border-color: var(--line); background: #eee6ff; color: var(--primary); }
.pricing-clarity-bar p { color: var(--muted); font-size: .78rem; }
.pricing-clarity-bar strong { color: #4c3d65; }
.simple-plan-grid { gap: 20px; margin-top: 28px; }
.simple-plan-card, .simple-plan-card.featured { padding: 24px; overflow: visible; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.simple-plan-card.featured { border-color: #9b79ef; box-shadow: 0 8px 24px #6935ef0e; }
.simple-plan-card.featured::before { display: none; }
.simple-plan-topline { position: absolute; top: -12px; right: 15px; min-height: 0; color: #7d6d95; font: 650 .63rem "Manrope",sans-serif; letter-spacing: .02em; }
.simple-plan-topline > span:not(.plan-badge) { display: none; }
.plan-badge { color: #fff; background: var(--primary); border: 0; border-radius: 12px; padding: 5px 9px; font-size: .59rem; text-transform: none; letter-spacing: 0; }
.simple-plan-card h3 { color: var(--text); font-size: 1.25rem; margin-top: 15px; }
.simple-plan-price { color: var(--text); margin-top: 12px; }
.simple-plan-price strong { font-weight: 800; font-size: 2.65rem; }
.simple-plan-price sup, .simple-plan-price > span { color: var(--muted-bright); }
.simple-plan-price > span { font: 500 .78rem "Manrope",sans-serif; margin-bottom: 4px; }
.simple-plan-renewal { color: var(--muted); font-size: .7rem; }
.plan-mascot { display: block; width: 100px; height: 100px; object-fit: contain; margin: 19px auto 0; }
.simple-plan-description { color: var(--muted-bright); font-size: .81rem; border-color: var(--line); margin-top: 18px; padding-top: 18px; }
.simple-plan-description li::marker { color: var(--primary); }
.simple-plan-action > p { color: var(--muted); }
.plan-requirement { color: #875810; background: #fff6e5; padding: 8px 10px; border-radius: 6px; }
.bundle-savings-note { padding: 23px; margin-top: 22px; border: 1px solid #dbcef6; background: #f2ecff; box-shadow: none; }
.bundle-savings-icon { color: var(--primary); background: #e5d9ff; border: 0; }
.bundle-savings-heading strong { color: var(--text); }
.bundle-savings-heading p, .bundle-savings-footnote, .bundle-billing-label { color: #6b5b80; }
.bundle-savings-kicker { font: 800 .65rem "Manrope",sans-serif; letter-spacing: .1em; }
.bundle-billing-label { font: 750 .66rem "Manrope",sans-serif; letter-spacing: .03em; }
.bundle-price-row { background: #fff; border: 1px solid #e8ddf9; }
.bundle-price-row > div > span { color: #776389; font: 650 .63rem "Manrope",sans-serif; letter-spacing: 0; text-transform: none; }
.bundle-price-row strong, .bundle-price-total strong { color: var(--text); font-size: 1rem; }
.bundle-price-row s, .bundle-price-row small, .bundle-price-row > p { color: #746682; }
.bundle-price-save { background: #eee7ff; border: 0; }
.bundle-price-save strong { color: var(--primary-strong); }
.bundle-price-save small { color: #70588e; }
.bundle-savings-footnote { border-color: #dfd3f2; font-size: .73rem; }
.product-details-disclosure, .pricing-change-note { background: #fff; border-color: var(--line); }
.product-details-disclosure summary, .pricing-change-note strong { color: var(--text); }
.product-details-disclosure .product-details-content, .pricing-change-note span { color: var(--muted); }

/* Subscriber dashboard: a useful workspace, not a wall of equal-sized tiles. */
.account-dashboard { padding: 0 0 35px; background: linear-gradient(120deg,#f5f1ff,#faf9ff 65%); }
.realm-account-shell { display: grid; grid-template-columns: 185px minmax(0,1fr); gap: 36px; }
.account-rail { display: flex; flex-direction: column; gap: 6px; padding: 36px 20px 30px 0; border-right: 1px solid var(--line); }
.account-rail .eyebrow { margin: 0 0 16px 13px; font-size: .58rem; color: #857299; }
.account-rail > a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 10px 12px; color: #685a7d; font-size: .73rem; border-radius: 8px; }
.account-rail > a .ui-icon { width: 18px; height: 18px; }
.account-rail > a[aria-current], .account-rail > a:hover { background: #eae0ff; color: var(--primary); }
.rail-note { margin: auto 0 28px; padding: 48px 12px 0; color: #8a70b5; }
.rail-note .ui-icon { display: block; margin-bottom: 12px; width: 28px; height: 28px; }
.rail-note strong { font-size: .9rem; line-height: 1.4; }
.account-main { min-width: 0; padding-top: 30px; }
.account-dashboard-header { position: relative; isolation: isolate; overflow: hidden; min-height: 210px; margin: 0 0 20px; padding: 30px; align-items: center; border-radius: 15px; background: linear-gradient(90deg,#f4f0fff5,#f4f0ffb0 65%,#f4f0ff20), url("../images/fantasy-realm.2a5ac5ac106f.webp") right 22% / cover; }
.account-dashboard-header > div { max-width: calc(100% - 130px); }
.account-dashboard-header .eyebrow { margin-bottom: 10px; font-size: .6rem; }
.account-dashboard-header h1 { color: var(--text); font: 850 clamp(1.7rem,2.5vw,2.4rem)/1.2 "Manrope",sans-serif; letter-spacing: -.05em; overflow-wrap: anywhere; }
.account-dashboard-header p:not(.eyebrow) { color: var(--muted); font-size: .78rem; max-width: 410px; margin-top: 12px; }
.account-welcome-mascot { position: absolute; width: 165px; height: 165px; object-fit: contain; bottom: -18px; right: 10px; z-index: -1; }
.account-dashboard-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 16px; }
.access-overview-card, .account-side-card { padding: 26px; min-height: 0; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.access-overview-card::before, .access-overview-card::after { display: none; }
.access-overview-topline { color: #83708f; font: 650 .63rem "Manrope",sans-serif; letter-spacing: 0; }
.account-status-pill { background: #e5f7ed; color: #177a52; border: 0; font-size: .67rem; }
.account-status-pill i { box-shadow: none; background: currentColor; }
.account-status-pill.status-paused, .account-status-pill.status-unpaid, .account-status-pill.status-incomplete, .account-status-pill.status-past_due { background: #fff1db; color: #936008; }
.account-status-pill.status-canceled, .account-status-pill.status-incomplete_expired { background: #f0edf3; color: #74687f; }
.access-overview-label { margin: 25px 0 9px; color: var(--primary); font: 750 .65rem "Manrope",sans-serif; letter-spacing: .04em; }
.access-overview-card h2 { color: var(--text); font-size: 1.7rem; line-height: 1.18; }
.access-empty-copy { color: var(--muted); font-size: .82rem; line-height: 1.7; }
.access-overview-actions { margin-top: auto; padding-top: 25px; gap: 10px; width: 100%; }
.access-overview-actions .btn { flex: 1; padding: 10px 13px; font-size: .74rem; }
.access-package-list { gap: 5px; }
.access-package-list span { color: #70548f; background: #f3edfc; border: 0; font: 650 .66rem "Manrope",sans-serif; }
.access-overview-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.access-overview-meta > div { min-width: 0; padding: 14px 0; }
.access-overview-meta > div + div { padding-left: 12px; }
.access-overview-meta span { color: var(--muted); font: 500 .66rem "Manrope",sans-serif; letter-spacing: 0; text-transform: none; }
.access-overview-meta strong { color: var(--text); font-size: .73rem; }
.account-notice { color: #8a651e; font-size: .71rem; }
.account-side-heading h2 { color: var(--text); font-size: 1.15rem; }
.account-side-heading .eyebrow { color: #877293; font-size: .58rem; }
.account-avatar { background: #efe6ff; border: 0; color: var(--primary); }
.account-detail-list { margin-top: 20px; }
.account-detail-list > div { grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); padding: 12px 0; gap: 12px; }
.account-detail-list dt { color: var(--muted); font-size: .72rem; }
.account-detail-list dd { color: var(--text); font-size: .73rem; }
.account-side-actions a { color: #655173; font-size: .72rem; min-height: 42px; }
.account-side-actions a:hover { color: var(--primary); }
.account-quick-actions { margin-top: 16px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.account-quick-actions h2 { margin: 0 0 14px; font-size: .9rem; letter-spacing: -.02em; }
.account-quick-actions > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.account-quick-actions a { display: flex; align-items: center; flex-direction: column; gap: 9px; padding: 14px 8px; text-align: center; border: 1px solid #ebe3f9; border-radius: 10px; background: #f7f3ff; color: #635172; font-size: .67rem; }
.account-quick-actions a:hover { background: #ebe0ff; }
.account-quick-actions .ui-icon { color: var(--primary); }
.account-change-guide { grid-template-columns: 1fr 1fr; gap: 20px; padding: 23px; background: #fff; border-color: var(--line); border-radius: 13px; }
.account-change-guide > div { padding: 0; }
.account-change-guide > div:first-child { grid-column: 1/-1; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.account-change-guide > div + div { border: 0; padding: 0; }
.account-change-guide .eyebrow { color: #8a759b; font-size: .58rem; }
.account-change-guide h2 { color: var(--text); font-size: 1.1rem; }
.account-change-rule span { color: var(--primary); font: 750 .64rem "Manrope",sans-serif; letter-spacing: .02em; }
.account-change-rule strong { color: var(--text); font-size: .8rem; }
.account-change-rule p { color: var(--muted); font-size: .74rem; }

/* Carry the light palette through existing checkout, billing, and security workflows. */
.dashboard { padding: 48px 0 80px; background: var(--bg); }
.dashboard-header h1 { color: var(--text); font-size: clamp(2rem,4vw,3rem); font-weight: 800; line-height: 1.12; }
.product-block, .plan-card, .dashboard-card, .billing-card, .subscription-card, .auth-card, .cart-card, .summary-card { background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.dashboard-card h2, .dashboard-card h3, .billing-card h2, .billing-card h3, .subscription-card h2, .auth-card h1, .cart-card h1, .summary-card h2, .plan-head h3, .plan-head > span:not(.badge), .plan-name, .account-info-value { color: var(--text); }
.plan-card::before { display: none; }
.plan-description, .dashboard-card p, .billing-card p, .auth-card p, .muted, label { color: var(--muted); }
input, select, textarea { background: #fcfaff !important; color: var(--text) !important; border: 1px solid #dcd2e9 !important; border-radius: 8px !important; min-width: 0; }
input::placeholder, textarea::placeholder { color: #8e819e; }
input:focus, select:focus, textarea:focus { outline-color: #ddd0ff; border-color: var(--primary) !important; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); min-height: 0; }
.auth { background: linear-gradient(90deg, #f1edffe0, #f1edff66), url("../images/fantasy-realm.2a5ac5ac106f.webp") center / cover; padding: 65px 0 85px; min-height: 680px; }
.auth-card { background: #fffffff5; border: 1px solid #ece3fa; border-radius: 18px; box-shadow: 0 18px 60px #48347717; }
.auth-card h1 { color: var(--text); font-size: 2.3rem; }
.auth-card a { color: var(--primary); }
.tabs { border-color: var(--line); }
.tab-button { min-height: 44px; color: var(--muted); }
.tab-button.is-active { color: var(--primary); border-color: var(--primary); background: #eee6ff; }
.payment-card, .package-option, .pending-change, .order-card, .order-row, .billing-summary, .mobile-checkout-bar, .mobile-checkout-total, .subscription-manage-area, .confirm-modal, .confirm-dialog, .action-modal { background: #faf7ff; border-color: var(--line); color: var(--text); }
.package-option:has(input:checked) { background: #eee5ff; border-color: var(--primary); }
.package-option span, .subscription-price-row strong, .subscription-primary > strong { color: var(--text); }
.package-option small, .subscription-card p { color: var(--muted); }
.message, .global-messages .message, .toast { background: #f4efff; border-color: #dfd2f5; color: #5f467d; }
.message.success { background: #eaf8f0; border-color: #c9e6d7; color: #246949; }
.message.warning { background: #fff6e7; border-color: #f0dbb4; color: #865d20; }
.message.error { background: #fff0f2; border-color: #f0cdd3; color: #a43950; }
.badge { background: #eee7fb; border-color: #ddd0f3; color: #745295; }
.status-pill { background: #ebe4fb; color: #684c85; }
.status-pill.status-active, .status-pill.status-paid, .status-pill.status-trialing { background: #e5f5eb; color: #26704b; }
.status-pill.status-canceled, .status-pill.status-refunded { background: #eeeaf3; color: #746181; }
.status-pill.status-past_due, .status-pill.status-unpaid, .status-pill.status-pending-cancel, .status-pill.status-disputed, .status-pill.status-paused { background: #fff0d7; color: #906016; }
.status-pill.status-partially_refunded { background: #f6e7f4; color: #8c437c; }
#card-element { background: #fcfaff; border-color: #dcd2e9; }
.pending-change, .pending-title, .pending-target, .pending-highlight { color: #8c4d66; }
.pending-change.downgrade-highlight { background: #fff5e8; border-color: #edd9b7; color: #88601c; }
.pending-change.downgrade-highlight .pending-highlight { background: #f7e8cf; color: #88601c; }
.staging-empty-state, .empty-state { background: #fff; color: var(--muted); border-color: var(--line); }
.staging-empty-state strong { color: var(--text); }

/* Above the artwork's width cap, blend its exposed left edge into the hero.
   Keep the image and motion overlay at the same size and leave mobile untouched. */
@media (min-width: 1350px) {
    .realm-stage::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, var(--realm-sky), #edf0fcd9 25%, #edf0fc40 65%, #edf0fc00); }
}
@media (min-width: 1600px) {
    .realm-hero { min-height: 790px; }
    .realm-stage { width: 1450px; top: -15px; }
    .realm-hero-content { padding-top: 140px; }
}
@media (max-width: 1100px) {
    .site-header .nav { gap: 16px; }
    .site-header .logo { font-size: .93rem; }
    .realm-account-shell { grid-template-columns: 155px minmax(0,1fr); gap: 22px; }
    .account-rail { padding-right: 12px; }
    .account-dashboard-layout { grid-template-columns: 1fr; }
    .account-detail-list > div { grid-template-columns: 1fr 1.5fr; }
    .realm-hero { min-height: 650px; }
    .realm-hero-content { padding-top: 100px; }
}
@media (max-width: 1000px) {
    .site-header .container { min-height: 72px; }
    .site-header .header-actions { margin-left: auto; }
    .site-header .logo { font-size: 1.02rem; }
    .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 44px; background: transparent; border: 0; border-radius: 7px; padding: 9px; box-shadow: none; }
    .nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 3px; }
    .site-header .nav { position: fixed; top: 0; left: 0; right: auto; bottom: auto; width: min(370px,88vw); height: 100vh; height: 100dvh; padding: 24px 20px 0; margin: 0; display: flex; align-items: stretch; flex-direction: column; gap: 5px; border: 0; border-radius: 0 20px 20px 0; background: #fcfaff; box-shadow: 20px 0 60px #2a204c26; transform: translateX(-110%); transition: transform .25s ease, visibility .25s; visibility: hidden; overflow-y: auto; z-index: 82; }
    .nav-open .site-header .nav { transform: translateX(0); visibility: visible; }
    body.nav-open { overflow: hidden; }
    .nav-open .site-header { backdrop-filter: none; }
    .nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 55; border: 0; background: #211a4966; backdrop-filter: blur(5px); }
    .mobile-nav-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 23px; }
    .mobile-nav-heading .logo { font-size: .95rem; }
    .nav-close { order: 2; display: grid; place-items: center; width: 40px; height: 44px; padding: 0; background: none; border: 0; color: var(--text); font-size: 28px; cursor: pointer; }
    .site-header .nav > a, .site-header .nav > a.ghost { display: flex; align-items: center; gap: 16px; min-height: 49px; padding: 12px 16px; margin: 0; border: 0; border-radius: 9px; background: transparent; color: #5a4b72 !important; font: 600 .86rem "Manrope",sans-serif; }
    .nav > a > .ui-icon { display: inline-block; width: 22px; height: 22px; color: #554180; }
    .site-header .nav > a[aria-current], .site-header .nav > a:hover { background: #ece3ff; color: var(--primary) !important; }
    .nav > a[aria-current="page"]:not(.ghost)::after { display: none; }
    .nav > a[aria-current] > .ui-icon { color: var(--primary); }
    .site-header .nav > a.nav-account { border-top: 1px solid var(--line); border-radius: 0; margin-top: 14px; padding-top: 19px; }
    .site-header .nav > a.nav-get-started { justify-content: center; background: var(--primary); color: #fff !important; margin-top: 10px; }
    .mobile-nav-art { display: flex; min-height: 215px; flex: 1 0 215px; align-items: flex-end; margin: 22px -20px 0; padding: 25px; background: linear-gradient(0deg,#f4f0ff10,#fcfaff00 75%,#fcfaff), url("../images/fantasy-realm.2a5ac5ac106f.webp") 72% 47% / cover; }
    .mobile-nav-art > span { max-width: 190px; padding: 10px 13px; color: #564379; background: #ffffffac; border-radius: 9px; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.04em; }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 36px); }
    .realm-hero { min-height: 650px; }
    .realm-stage { width: 1030px; top: -12px; right: -25px; }
    .realm-hero-content { padding: 76px 0 215px; }
    .realm-hero-copy { width: 57%; }
    .realm-hero-copy h1 { font-size: clamp(2.7rem,7vw,4rem); }
    .realm-hero-copy > p:not(.eyebrow) { font-size: .88rem; line-height: 1.65; }
    .hero-small-print { font-size: .66rem; }
    .realm-benefits { margin-top: -8px; padding-bottom: 28px; }
    .realm-benefits > div { padding: 0 7px; }
    .realm-benefits strong { font-size: .68rem; }
    .realm-benefits span { font-size: .62rem; }
    .realm-benefits .ui-icon { width: 25px; height: 25px; }
    .realm-section { padding: 38px 0; }
    .realm-section-heading { margin-bottom: 26px; }
    .realm-section-heading > p:last-child { font-size: .81rem; }
    .realm-steps { gap: 12px; grid-template-columns: 1fr; }
    .realm-steps article { padding: 22px 22px 22px 85px; }
    .realm-steps .step-icon { position: absolute; left: 22px; top: 24px; }
    .realm-steps h3 { margin: 0 0 8px; }
    .realm-steps p { margin-bottom: 14px; }
    .realm-steps .step-number { display: none; }
    .realm-support { padding: 30px; margin-top: 20px; min-height: 375px; background-position: 65% 40%; }
    .realm-support > div { max-width: 67%; }
    .realm-support p:not(.eyebrow) { font-size: .8rem; }
    .realm-support .eyebrow { font-size: .55rem; }
    .site-footer .container { grid-template-columns: 1fr; gap: 22px; }
    .footer-links { gap: 18px; flex-wrap: wrap; }
    .footer-copy { text-align: left; }
    .store-hero { padding: 46px 0; }
    .store-hero h1 { font-size: 2.65rem; }
    .store-hero .lead { font-size: .85rem; }
    .store-hero-meta { gap: 14px; }
    .store-hero-meta span { font-size: .65rem; }
    .store-list, .pricing-section { padding: 28px 0; }
    .catalog-page > .container { grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); }
    .pricing-hero-layout { grid-template-columns: minmax(0,1fr) 140px; gap: 20px; }
    .pricing-mascot { width: 140px; height: 140px; }
    .pricing-hero-copy h1 { font-size: 2.4rem; }
    .pricing-hero-copy .lead { font-size: .82rem; }
    .pricing-section-header { align-items: center; flex-direction: column; text-align: center; gap: 20px; }
    .pricing-section-header h2 { font-size: 1.8rem; }
    .pricing-section-header .eyebrow { margin-bottom: 9px; }
    .billing-frequency { width: min(320px,100%); }
    .billing-frequency button { flex: 1; min-width: 0; }
    .pricing-clarity-bar { grid-template-columns: 28px minmax(0,1fr); gap: 11px; }
    .pricing-clarity-divider { display: none; }
    .bundle-price-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .bundle-price-count { grid-column: auto; padding-bottom: 0; border: 0; }
    .bundle-price-save { grid-column: auto; }
    .bundle-savings-note { padding: 18px; }
    .pricing-change-note { align-items: flex-start; flex-direction: column; gap: 8px; }
    .pricing-change-note span { text-align: left; }
    .realm-account-shell { display: block; }
    .account-rail { display: none; }
    .account-main { padding-top: 18px; }
    .account-dashboard-header { min-height: 220px; padding: 23px; }
    .account-dashboard-header h1 { font-size: 1.9rem; }
    .account-dashboard-header > div { max-width: calc(100% - 115px); }
    .account-welcome-mascot { width: 150px; height: 150px; right: -5px; bottom: -10px; }
    .account-dashboard-layout { grid-template-columns: 1fr 1fr; }
    .access-overview-card, .account-side-card { padding: 20px; }
    .account-detail-list > div { grid-template-columns: 1fr; gap: 3px; }
    .account-detail-list dd { text-align: left; }
    .access-overview-card h2 { font-size: 1.45rem; }
    .access-overview-topline { flex-direction: column; align-items: flex-start; gap: 8px; }
    .access-overview-meta { grid-template-columns: 1fr; gap: 0; }
    .access-overview-meta > div + div { padding: 10px 0; border: 0; }
    .access-overview-actions { flex-direction: column; }
    .account-quick-actions { padding: 18px; }
    .account-change-guide { padding: 20px; }
    .mobile-bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; justify-content: space-around; padding: 10px 8px max(10px,env(safe-area-inset-bottom)); background: #fffffff2; border-top: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: 0 -3px 20px #4f397408; }
    .mobile-bottom-nav a { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 4px; padding: 3px; min-height: 45px; color: #756487; font-size: .6rem; }
    .mobile-bottom-nav a[aria-current] { color: var(--primary); }
    .mobile-bottom-nav .ui-icon { width: 21px; height: 21px; }
    .is-subscriber { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .is-subscriber .mobile-checkout-bar { bottom: calc(70px + env(safe-area-inset-bottom)); }
    .is-subscriber .cart-page { padding-bottom: 125px; }
    .dashboard { padding: 32px 0 60px; }
    .dashboard-card { padding: 20px; }
}
@media (max-width: 500px) {
    .site-header .container { width: calc(100% - 30px); min-height: 68px; }
    .site-header .logo { font-size: .98rem; gap: 7px; }
    .brand-mark { width: 30px; height: 35px; }
    .site-header .header-actions { gap: 4px; }
    .header-actions .admin-link { padding: 7px 9px; min-height: 34px; font-size: .63rem; }
    .realm-hero { min-height: 650px; }
    .realm-stage { width: 780px; right: -30px; top: 112px; }
    .realm-bird.bird-one { left: 83%; top: 10%; }
    .realm-bird.bird-two { left: 88%; top: 14%; }
    .realm-bird.bird-three { left: 80%; top: 5%; }
    .realm-hero-wash { background: linear-gradient(0deg, var(--bg) 0%, #faf9ff00 17%), linear-gradient(90deg,#f1efffdd,#f1efffa6 42%,#f1efff00 83%), linear-gradient(180deg,#edf0fc 8%,#edf0fc00 35%); }
    .realm-hero-content { padding: 50px 0 185px; }
    .realm-hero-copy { width: 70%; max-width: 270px; }
    .realm-hero-copy .eyebrow { font-size: .55rem; padding: 0; background: none; letter-spacing: .12em; margin-bottom: 15px; }
    .realm-hero-copy h1 { font-size: clamp(2.65rem,11vw,3.4rem); line-height: 1.03; }
    .realm-hero-copy > p:not(.eyebrow) { max-width: 228px; font-size: .81rem; line-height: 1.65; margin: 19px 0 21px; }
    .realm-hero-copy .cta-row { max-width: 205px; gap: 9px; }
    .realm-hero-copy .cta-row .btn { width: 100%; min-height: 45px; font-size: .76rem; }
    .hero-small-print { max-width: 180px; font-size: .62rem; margin-top: 13px; }
    .scene-motion-toggle { right: 16px; top: 4px; font-size: .58rem; }
    .realm-benefits { padding-top: 7px; margin-top: 0; }
    .realm-benefits > div { padding: 0 4px; }
    .realm-benefits strong { font-size: .61rem; }
    .realm-benefits span { font-size: .57rem; line-height: 1.4; }
    .realm-benefits .ui-icon { margin-bottom: 9px; width: 24px; height: 24px; }
    .realm-section-heading .eyebrow { font-size: .6rem; }
    .realm-section-heading h2 { font-size: 1.7rem; }
    .realm-support { padding: 26px 23px 165px; min-height: 440px; margin-bottom: 42px; background: linear-gradient(180deg,#f0eafff5,#f0eaffc0 45%,#f0eaff00 85%), url("../images/fantasy-realm.2a5ac5ac106f.webp") 76% bottom / auto 100%; }
    .realm-support > div { max-width: 100%; }
    .realm-support h2 { font-size: 2rem; }
    .realm-support p:not(.eyebrow) { max-width: 260px; }
    .realm-support .btn { padding: 10px 14px; font-size: .75rem; min-height: 44px; }
    .store-hero { background-image: linear-gradient(90deg,#f5f2fff5,#f5f2ffde 55%,#f5f2ff8a), url("../images/fantasy-realm.2a5ac5ac106f.webp"); background-position: 70% 10%; padding: 38px 0; }
    .store-hero h1 { max-width: 330px; font-size: 2.55rem; }
    .store-hero .lead br { display: none; }
    .store-hero-meta { display: none; }
    .catalog-page > .container { grid-template-columns: 1fr; }
    .pricing-hero { padding: 25px 0 30px; }
    .pricing-hero-layout { grid-template-columns: minmax(0,1fr); }
    .pricing-mascot, .pricing-hero-media { display: none; }
    .pricing-hero-copy h1 { font-size: 2.5rem; }
    .pricing-back-link { margin-bottom: 20px; }
    .pricing-hero-points { gap: 10px 15px; }
    .pricing-hero-points span { font-size: .65rem; }
    .simple-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .simple-plan-card, .simple-plan-card.featured { padding: 16px 12px; }
    .simple-plan-card h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
    .simple-plan-topline { flex-wrap: wrap; gap: 5px; min-height: 0; }
    .simple-plan-topline > span:first-child { display: none; }
    .simple-plan-price { flex-wrap: wrap; gap: 0; }
    .simple-plan-price strong { font-size: 2rem; }
    .simple-plan-price sup { margin: 3px 1px 0 0; font-size: .75rem; }
    .simple-plan-price > span { font-size: .67rem; margin: 8px 0 0 4px; }
    .simple-plan-renewal { font-size: .63rem; }
    .plan-mascot { width: 86px; height: 86px; }
    .simple-plan-description { font-size: .75rem; }
    .simple-plan-action .btn { min-height: 45px; padding: 10px 7px; font-size: .7rem; }
    .simple-plan-action > p { font-size: .61rem; }
    .bundle-savings-heading { align-items: flex-start; gap: 10px; }
    .bundle-savings-icon { width: 33px; height: 33px; }
    .bundle-price-row { padding: 13px; }
    .bundle-price-row strong { font-size: .85rem; }
    .bundle-price-row small { display: block; font-size: .62rem; }
    .account-dashboard-header { min-height: 250px; padding: 22px 18px; align-items: flex-start; margin-bottom: 14px; }
    .account-dashboard-header > div { max-width: 100%; }
    .account-dashboard-header h1 { max-width: 90%; font-size: 1.75rem; }
    .account-dashboard-header p:not(.eyebrow) { max-width: 190px; font-size: .74rem; }
    .account-welcome-mascot { width: 130px; height: 130px; }
    .account-dashboard-layout { grid-template-columns: 1fr; gap: 14px; }
    .account-detail-list > div { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
    .account-detail-list dd { text-align: right; }
    .access-overview-topline { flex-direction: row; align-items: center; }
    .access-overview-meta { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .access-overview-meta > div + div { padding: 14px 0 14px 12px; border-left: 1px solid var(--line); }
    .access-overview-actions { flex-direction: row; }
    .account-quick-actions { padding: 18px 13px; }
    .account-quick-actions > div { gap: 6px; }
    .account-quick-actions a { font-size: .58rem; padding: 12px 4px; }
    .account-change-guide { gap: 17px; }
    .account-change-rule strong { font-size: .76rem; }
    .account-change-rule p { font-size: .71rem; }
    .auth { padding: 35px 0 60px; min-height: 580px; }
    .auth-card { padding: 26px; }
}
@media (max-width: 360px) {
    .site-header .logo { font-size: .87rem; }
    .site-header .header-actions { gap: 1px; }
    .header-actions .admin-link { padding: 5px; }
    .simple-plan-grid { grid-template-columns: 1fr; }
    .realm-hero-copy { width: 88%; }
    .realm-hero-copy h1 { font-size: 2.65rem; }
}
@media (prefers-reduced-motion: reduce) {
    /* An explicit visitor opt-in may play scenery without changing their OS setting. */
    .scene-motion-opt-in .water-streaks, .scene-motion-opt-in .water-mist,
    .scene-motion-opt-in .realm-bird, .scene-motion-opt-in .bird-wing {
        animation-duration: var(--scene-duration) !important;
        animation-iteration-count: infinite !important;
    }
    html { scroll-behavior: auto; }
    .realm-hero:not(.scene-motion-opt-in) .water-streaks,
    .realm-hero:not(.scene-motion-opt-in) .water-mist,
    .realm-hero:not(.scene-motion-opt-in) .realm-bird,
    .realm-hero:not(.scene-motion-opt-in) .bird-wing { animation: none; }
    .btn, .site-header .nav { transition: none; }
    .btn:hover { transform: none; }
}
