.account-is-active {
    --layout-max: var(--home-layout-max);
    --layout-gutter: clamp(1rem, 4vw, 3rem);
    background: var(--home-canvas);
    color: var(--home-text);

}

.account-is-active .site-main {
    padding-block-start: 9rem;
}

.account-is-active .account-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 75rem);
    margin-inline: auto;
}

.account-is-active .account-content {
    width: 100%;
    max-width: none;
}

.account-is-active .account-dashboard { position: relative; gap: clamp(3rem, 6vw, 6rem); }

.account-is-active .account-section-heading { margin-block-end: var(--space-6); align-items: center; }
.account-is-active .account-section-heading h2 { font-family: var(--home-font); font-size: var(--home-type-section); font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; }
.account-is-active .account-section-heading h2 em { color: var(--home-text-soft); font-weight: 400; }
.account-is-active .account-section-heading p { margin-block: 0.75rem 0; }

.account-is-active .account-hero {
    display: flex;
    min-height: clamp(19.375rem, 25vw, 24rem);
    border-color: transparent;
    align-items: end;
    overflow: visible;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.account-is-active .account-hero__media {
    position: absolute;
    z-index: 0;
    inset: -8% auto auto 84%;
    width: auto;
    transform: translateX(-72%);
    height: 145%;
    max-width: none;
    object-fit: contain;
    object-position: right center;
    opacity: 1;
    mask-image: linear-gradient(#000 78%, transparent 96%);
}

.account-hero__light {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.account-hero__light { opacity: 0; mix-blend-mode: screen; }
.account-hero.is-webgl-ready .account-hero__light { opacity: 0.85; }
.account-hero__orb { position: absolute; left: var(--home-orb-x); top: var(--home-orb-y); width: 1px; height: 1px; pointer-events: none; }
.account-hero__light-fallback {
    position: absolute;
    z-index: 1;
    left: var(--home-orb-x);
    top: var(--home-orb-y);
    width: 40%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgb(199 216 244 / 0.32), rgb(111 139 184 / 0.1) 38%, transparent 72%);
    pointer-events: none;
}
.account-hero.is-webgl-ready .account-hero__light-fallback { opacity: 0; }

.account-is-active .account-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 1.5rem;
    width: min(65%, 44rem);
    max-width: none;
    padding: 0 3rem 0 0;
}

.account-is-active .account-hero__date { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; color: var(--home-text-muted); font-size: 0.875rem; }
.account-is-active .account-hero .account-profile__identity { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding: 0; }
.account-is-active .account-hero .account-profile__avatar { flex: 0 0 auto; width: clamp(4rem, 7vw, 6rem); margin: 0; background: var(--color-surface); border: 1px solid var(--home-text-faint); color: var(--home-silver); font-family: var(--home-font); font-weight: 400; }
.account-is-active .account-hero .account-profile__name { min-width: 0; }
.account-is-active .account-hero .account-profile__name h1 { margin: 0.5rem 0; font-family: var(--home-font); font-weight: 400; font-size: clamp(2.75rem, 4.5vw, 5rem); line-height: 1; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.account-is-active .account-hero .account-profile__name > p { margin: 0; color: var(--home-text-soft); font-size: 0.9375rem; }
.account-is-active .account-hero .account-profile__name > .eyebrow { font-size: 0.6875rem; letter-spacing: 0.16em; }
.account-is-active .account-hero .account-profile__name > .account-hero__intention { margin-top: 0.75rem; max-width: 38ch; color: var(--home-text-muted); overflow-wrap: anywhere; }
.account-profile__byline { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1rem; color: var(--home-text-muted); }
.account-profile__byline > [data-profile-nickname] { min-width: 0; overflow-wrap: anywhere; }

.account-is-active .account-profile__showcase { position: relative; isolation: isolate; min-height: 0; }
.account-is-active .account-profile__cards { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(0.5rem, 1vw, 1rem); overflow: visible; padding: 0; }
.account-is-active .account-profile__cards li { min-width: 0; max-width: 15rem; gap: 0.75rem; }
.account-is-active .account-profile__cards img { aspect-ratio: 2 / 3; background: transparent; border-radius: 0.375rem; filter: drop-shadow(0 0.5rem 1.5rem rgb(101 122 156 / 0.16)); }
.account-is-active .account-profile__cards span { color: var(--home-text); font-family: var(--home-font); font-size: clamp(0.8125rem, 1.2vw, 1rem); line-height: 1.35; }
.account-is-active .account-profile__status:not([hidden]) { min-height: 6rem; display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid var(--color-line); border-radius: var(--home-radius-surface); background: var(--color-surface); }
.account-is-active .account-profile__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 0; }
.account-is-active .account-profile__stats article { padding: clamp(1rem, 2vw, 2rem); text-align: start; }
.account-is-active .account-profile__stats article > svg { position: absolute; top: 1.5rem; right: 1.5rem; width: 1.25rem; height: 1.25rem; color: var(--home-text-faint); }
.account-is-active .account-profile__stats strong { padding-inline-end: 1.75rem; font-family: var(--home-font); font-weight: 400; font-size: clamp(2rem, 2.7vw, 3rem); line-height: 1.2; }
.account-is-active .account-profile__stats span { font-size: 0.875rem; }

.account-is-active .account-reading { min-width: 0; }
.account-is-active .reading-studio::before { content: none; }
.account-is-active .account-journal { scroll-margin-top: 7.5rem; }
.account-is-active .account-history > .account-journal { margin-top: clamp(3rem, 6vw, 6rem); }
.account-journal__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.account-journal__entry { min-width: 0; overflow: hidden; transition: border-color 300ms ease, background 300ms ease; }
.account-journal__entry > a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 1rem; align-items: center; gap: 1.25rem; min-height: 10rem; height: 100%; padding: 1.5rem; color: var(--home-text); text-decoration: none; }
.account-journal__entry:is(:hover, :focus-within) { border-color: var(--home-silver); background: rgba(197, 207, 219, 0.1); }
.account-journal__entry .account-recent__meta { display: block; margin: 0 0 0.75rem; color: var(--home-text-faint); font-size: 0.8125rem; line-height: 1.4; }
.account-journal__entry strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 400 clamp(1.0625rem, 1.5vw, 1.3125rem)/1.35 var(--home-font); overflow-wrap: anywhere; }
.account-journal__entry .account-recent__marker { width: 4.5rem; height: 5.75rem; transition: transform 400ms ease; }
.account-journal__entry .mini-card-stack__card { width: 3rem; height: 4.875rem; }
.account-journal__trailing { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: space-between; color: var(--home-text-faint); }
.account-journal__note-mark { display: flex; color: var(--home-text-soft); }
.account-journal__note-mark svg { width: 1rem; height: 1rem; }
.account-journal__trailing .account-recent__arrow { margin-top: auto; transition: transform 240ms ease, color 240ms ease; }
.account-journal__entry:is(:hover, :focus-within) .account-recent__arrow { color: var(--home-text); transform: translateX(3px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .account-journal__entry:hover .account-recent__marker { transform: translateY(-4px) rotate(-3deg); }
}
.account-journal [data-journal-status]:not([hidden]) { margin-block: 1.5rem; }
.account-journal :is([data-journal-more], [data-journal-retry]) { margin-top: var(--home-space-6); }

.account-history__views { display: flex; flex-wrap: wrap; gap: var(--home-space-8); margin-bottom: var(--home-space-8); border-bottom: 1px solid var(--color-line); }
.account-history__views a { padding-block: var(--home-space-4); }
.account-history__views [aria-current] { color: var(--home-text); background-size: 100% 1px; }
.account-history[data-history-mode="journal"] > .account-journal { margin-top: 0; }
.account-history[data-history-mode="journal"] > .view-heading { margin-bottom: 1.5rem; }
.account-history [data-history-title] em { color: var(--home-text-soft); }
.account-history [data-journal-index] > .account-section-heading { display: none; }
.account-journal__filters { display: flex; align-items: end; flex-wrap: wrap; gap: var(--home-space-6); margin-bottom: var(--home-space-8); }
.account-journal__filters label { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; color: var(--home-text-muted); font-size: 0.875rem; }
.account-journal__filters input { width: 13rem; max-width: 100%; color-scheme: dark; font: inherit; }
.account-journal__days { display: grid; gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.account-journal__days > li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: start; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.account-journal__days > li > h3 { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: start; margin: 0; font: 400 0.9375rem/1.4 var(--home-font); color: var(--home-text-soft); }
.account-journal__days > li > h3 strong { font: 400 3.5rem/1 var(--home-font); letter-spacing: -0.05em; color: var(--home-text); }
.account-journal__days > li > h3 small { margin-top: 0.375rem; font-size: 0.75rem; color: var(--home-text-faint); }
@media (max-width: 47.9375rem) {
    .account-journal__days > li { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .account-journal__days > li > h3 { position: static; flex-direction: row; align-items: baseline; gap: 0.5rem; }
    .account-journal__days > li > h3 strong { font-size: 2.25rem; }
    .account-journal__days > li > h3 small { margin-left: auto; }
    .account-journal__entry > a { grid-template-columns: 3.5rem minmax(0, 1fr) 1rem; gap: 1rem; min-height: 8.5rem; padding: 1.125rem; }
    .account-journal__entry .account-recent__marker { width: 3.5rem; height: 4.5rem; }
    .account-journal__entry .mini-card-stack__card { width: 2.5rem; height: 3.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .account-journal__entry * { transition: none !important; }
}

@media (max-width: 63.9375rem) {
    .account-is-active .account-profile__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 47.9375rem) {
    .account-is-active .site-main { padding-block-start: 7.75rem; }
    .account-is-active .account-section-heading { align-items: start; flex-wrap: wrap; gap: 1rem; }
    .account-is-active .account-hero { min-height: 19.5rem; padding: 1.25rem; }
    .account-is-active .account-hero__media { height: 120%; inset: -10% auto auto 72%; opacity: 0.24; }
    .account-hero.is-webgl-ready .account-hero__light { opacity: 0.2; }
    .account-hero__light-fallback { opacity: 0.24; }
    .account-is-active .account-hero__content { width: 100%; padding-right: 0; gap: 1.5rem; }
    .account-is-active .account-hero .account-profile__identity { align-items: center; padding-bottom: 2rem; }
    .account-is-active .account-hero .account-profile__avatar { width: clamp(3rem, 14vw, 4rem); }
    .account-is-active .account-hero .account-profile__name h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
    .account-is-active .account-profile__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
    .account-is-active .account-profile__stats article > svg { top: 1rem; right: 1rem; }
    .account-is-active .account-profile__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.account-is-active .account-profile__card-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(5.75rem, 15vw, 7rem), 1fr)); gap: 1.25rem; min-width: 0; }
.account-profile__card-picker > :is(p, button) { grid-column: 1 / -1; justify-self: start; max-width: 60ch; }
.account-is-active .account-profile__card-picker label { position: relative; display: grid; align-content: start; gap: 0.375rem; cursor: pointer; min-width: 0; padding: 0.5rem; border: 1px solid transparent; border-radius: 0.5rem; }
.account-is-active .account-profile__card-picker label:has(:checked) { border-color: var(--home-silver); background: var(--color-surface-raised); }
.account-is-active .account-profile__card-picker label:focus-within { outline: 2px solid var(--home-focus); outline-offset: 2px; }
.account-is-active .account-profile__card-picker input { position: absolute; z-index: 1; inset: 0.75rem 0.75rem auto auto; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--home-silver); }
.account-is-active .account-profile__card-picker img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 0.375rem; }
.account-is-active .account-profile__card-picker :is(span, small) { overflow-wrap: anywhere; }
.account-is-active .account-profile__card-picker small { color: var(--home-text-muted); font-size: 0.75rem; }
.account-is-active .account-showcase-dialog { width: min(66rem, calc(100vw - 2rem)); max-width: none; }
.account-is-active .account-showcase-dialog .dialog__surface { display: grid; gap: 1.5rem; border-radius: var(--home-radius-surface); background: var(--color-surface); }
.account-showcase-dialog .dialog__header h2 { font-family: var(--home-font); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.account-showcase-dialog .dialog__header .icon-button { flex-shrink: 0; border-radius: 50%; }
.account-showcase-dialog :is(p, h2) { margin: 0; }
.account-showcase-dialog__tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.account-showcase-dialog__tools label { display: grid; gap: 0.5rem; min-width: 0; max-width: 100%; }
.account-showcase-dialog__tools select { max-width: 100%; padding: 0.625rem 1rem; border: 1px solid var(--color-line); border-radius: 0.5rem; background: var(--color-surface-raised); color: var(--home-text); font: inherit; }
.account-showcase-dialog__pagination:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.account-showcase-dialog .form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.account-showcase-dialog .form-alert:not([hidden]) { padding: 1rem; border: 1px solid var(--color-line); border-radius: 0.5rem; }

.account-showcase-dialog .account-profile__card-picker span { font-size: 0.875rem; line-height: 1.35; }
.account-showcase-dialog .dialog__surface > p { max-width: 60ch; color: var(--home-text-muted); font-size: 1rem; }

.account-is-active .message--assistant > img { filter: grayscale(1); }
@media (prefers-reduced-motion: reduce) {
    .account-is-active .button, .account-is-active .button::before, .account-text-link { transition: none; }
}

.account-is-active :is(.account-promo__media, .account-daily-card__media) { filter: grayscale(1); }
.account-is-active .account-promo__content h2 { font-family: var(--home-font); font-size: var(--home-type-section); font-weight: 400; line-height: 1.1; }

.account-history { position: relative; }
.account-history .site-atmosphere__orbits { opacity: 0.45; }

.shop-view { font: 400 var(--home-type-lead)/1.6 var(--home-font); padding-block: 0 var(--home-space-12); }
.shop-view :is(h1, h2, h3) { font-family: var(--home-font); font-weight: 400; letter-spacing: -0.035em; }
.shop-view em { color: var(--home-text-soft); }
.shop-hero { display: grid; justify-items: center; gap: var(--home-space-3); text-align: center; margin-bottom: var(--home-space-12); }
.shop-hero > * { margin: 0; }
.shop-hero h1 { font-size: clamp(2.5rem, 3vw, 3rem); line-height: 1.1; }
.shop-hero__lead { max-width: 45rem; color: var(--home-text-muted); }
.shop-hero__note { display: flex; align-items: center; gap: var(--home-space-2); font-size: var(--home-type-label); color: var(--home-text-soft); }
.shop-hero__note svg { width: 1rem; height: 1rem; }
.shop-payment-return:not(:empty) { margin: 0 auto var(--home-space-8); max-width: 52rem; text-align: center; }
.store-catalog { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--home-space-6); }
.store-status { padding: var(--home-space-4); text-align: center; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--home-space-5); align-items: stretch; }
.store-product { display: flex; flex-direction: column; padding: clamp(1.25rem, 2.2vw, 2rem); transition: border-color 300ms ease, box-shadow 300ms ease; }
.store-product:hover { border-color: var(--home-silver); }
.store-product--featured {
    border-color: var(--home-silver);
    background-image: radial-gradient(ellipse at 50% 100%, rgb(181 196 238 / 0.3), transparent 75%), radial-gradient(ellipse at 90% 0%, rgb(76 110 139 / 0.28), transparent 65%);
    box-shadow: 0 0 3rem rgb(197 207 219 / 0.12), 0 var(--home-space-5) var(--home-space-10) rgb(0 0 0 / 0.42);
}
.store-product__badge { position: absolute; inset: 0 auto auto 50%; transform: translate(-50%, -50%); white-space: nowrap; border: 1px solid var(--home-silver); border-radius: var(--home-radius-control); background: var(--home-silver); color: var(--home-ink); padding: var(--home-space-1) var(--home-space-4); font-size: var(--home-type-label); }
.store-product__crystal { position: absolute; z-index: -1; top: var(--home-space-6); right: var(--home-space-2); width: 6rem; height: 6rem; opacity: 0.2; filter: grayscale(1); pointer-events: none; }
.store-product--featured .store-product__crystal { opacity: 0.42; filter: grayscale(1) drop-shadow(0 0 1rem rgb(197 207 219 / 0.6)); }
.store-product__header { padding-block: var(--home-space-3) var(--home-space-2); }
.store-product__label { margin: 0 0 var(--home-space-4); font-size: var(--home-type-caption); }
.store-product__header h2 { margin: 0; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.15; }
.store-product__intro { margin: var(--home-space-6) 0; color: var(--home-text-muted); font-size: var(--home-type-lead); }
.store-product__purchase { display: grid; gap: var(--home-space-5); margin-top: auto; }
.energy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--home-space-2) var(--home-space-3); }
.energy-price > strong { font-size: var(--home-type-section); font-weight: 400; letter-spacing: -0.035em; line-height: 1.1; color: var(--home-text); white-space: nowrap; }
.energy-price__note { font-size: var(--home-type-label); color: var(--home-text-muted); }
.energy-price__previous { display: flex; flex-basis: 100%; align-items: center; gap: var(--home-space-3); margin: 0; color: var(--home-text-muted); }
.energy-price__previous[hidden] { display: none; }
.energy-price__previous s { font-size: var(--home-type-lead); text-decoration-thickness: 1px; }
.energy-offer__badge { padding: var(--home-space-1) var(--home-space-3); border-radius: var(--home-radius-control); background: var(--home-silver); color: var(--home-ink); font-size: var(--home-type-label); line-height: 1.2; white-space: nowrap; }
.energy-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--home-space-6); padding-block: var(--home-space-6); margin-bottom: var(--home-space-6); border-block: 1px solid var(--color-line); }
.energy-offer__copy { display: grid; gap: var(--home-space-2); }
.energy-offer__copy p { margin: 0; }
.energy-offer__copy .eyebrow { font-size: var(--home-type-caption); color: var(--home-text-soft); }
.energy-offer__title { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.2; color: var(--home-text); }
.energy-offer__deadline { font-size: var(--home-type-label); color: var(--home-text-muted); }
.energy-offer__clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--home-space-4); width: min(100%, 19rem); font-variant-numeric: tabular-nums; }
.energy-offer__clock > span { display: grid; justify-items: center; gap: var(--home-space-1); }
.energy-offer__clock strong { font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 400; line-height: 1.1; color: var(--home-text-soft); }
.energy-offer__clock > span > span { font-size: var(--home-type-caption); color: var(--home-text-muted); }
.account-promo__content .energy-offer { margin: 0 0 var(--home-space-4); padding-block: 0 var(--home-space-5); border-top: 0; gap: var(--home-space-5); }
.account-promo__content .energy-price { margin-block: var(--home-space-4); }
.store-product__purchase .button { width: 100%; }
.store-product__saving { margin: var(--home-space-4) 0 var(--home-space-5); min-height: 3.2em; font-size: var(--home-type-label); color: var(--home-text-soft); }
.store-product__capacity { margin: 0; padding-top: var(--home-space-5); border-top: 1px solid var(--color-line); font-size: var(--home-type-label); color: var(--home-text-muted); }
.store-catalog__note { margin: 0 auto; text-align: center; font-size: var(--home-type-label); color: var(--home-text-muted); }
.store-comparison { min-width: 0; padding-top: clamp(3rem, 7vw, 6rem); }
.shop-view :is(.store-comparison, .shop-practice, .shop-faq) h2 { margin: 0 0 var(--home-space-5); font-size: clamp(2rem, 2.7vw, 2.75rem); line-height: 1.15; }
.store-comparison > :is(h2, p:not(.store-comparison__note)) { margin-inline: auto; text-align: center; }
.store-comparison > p { color: var(--home-text-muted); }
.store-comparison__scroll { margin-top: var(--home-space-10); border-block: 1px solid var(--color-line); }
.store-comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--home-type-lead); }
.store-comparison :is(th, td) { padding: var(--home-space-6) var(--home-space-4); border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; font-weight: 400; color: var(--home-text); }
.store-comparison tbody tr:last-child > * { border-bottom: 0; }
.store-comparison tr > :first-child { width: 18%; }
.store-comparison tr > :last-child { width: 18%; text-align: right; }
.store-comparison thead th { background: var(--home-ink); color: var(--home-text); font: 400 var(--home-type-label)/1.5 var(--home-font); letter-spacing: normal; text-transform: none; }
.store-comparison td > strong { font-weight: 400; }
.store-comparison td > p { margin: var(--home-space-3) 0 0; color: var(--home-text-muted); }
.store-comparison__cost > strong { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.store-comparison small { display: block; margin-top: var(--home-space-2); font-size: var(--home-type-label); color: var(--home-text-muted); }
.store-comparison__note { max-width: 70ch; margin: var(--home-space-5) 0 0; font-size: var(--home-type-label); }
.shop-welcome { margin-top: var(--home-space-10); padding-top: var(--home-space-8); border-top: 1px solid var(--color-line); }
.shop-welcome p { max-width: 65ch; color: var(--home-text-soft); }
.shop-practice { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); margin-block: clamp(4rem, 8vw, 7rem); }
.shop-practice__geometry { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: 0.3; pointer-events: none; }
.shop-practice header > p:not(.eyebrow), .shop-practice__steps p, .shop-faq header > p:not(.eyebrow) { color: var(--home-text-muted); }
.shop-practice__steps { list-style: none; padding: 0; margin: 0; }
.shop-practice__steps li { display: grid; grid-template-columns: 2rem 1fr; gap: var(--home-space-4); padding-block: var(--home-space-5); border-bottom: 1px solid var(--color-line); }
.shop-practice__steps li:first-child { padding-top: 0; }
.shop-practice__steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.shop-practice__steps li > span { color: var(--home-text-faint); font-size: var(--home-type-label); }
.shop-practice__steps h3 { margin: 0 0 var(--home-space-2); font-size: 1.25rem; line-height: 1.25; }
.shop-practice__steps p { font-size: var(--home-type-label); margin: 0; }
.shop-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 63.999rem) {
    .shop-practice, .shop-faq { grid-template-columns: minmax(0, 1fr); }
    .store-grid { grid-template-columns: minmax(0, 1fr); gap: var(--home-space-8); width: 100%; max-width: 40rem; margin-inline: auto; }
    .store-product__crystal { width: 4.5rem; height: 4.5rem; }
    .store-product__label { letter-spacing: 0.06em; }
}
@media (max-width: 47.999rem) {
    .store-comparison table, .store-comparison tbody { display: block; }
    .store-comparison thead { display: none; }
    .store-comparison tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--color-line); padding-block: var(--home-space-6); }
    .store-comparison tbody tr:last-child { border-bottom: 0; }
    .store-comparison tbody :is(th, td) { width: auto; border: 0; padding: 0; }
    .store-comparison tbody tr > :is(:first-child, :last-child) { width: auto; }
    .store-comparison tbody th { font-size: 1.5rem; }
    .store-comparison tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: var(--home-space-5); }
    .store-comparison__cost { grid-column: 2; grid-row: 1; }
    .store-product { padding: var(--home-space-6); }
    .store-product__intro { max-width: 40ch; }
    .store-product__saving { min-height: 0; }
    .store-product__crystal { width: 6rem; height: 6rem; }
    .shop-hero__lead br { display: none; }
    .shop-hero { margin-bottom: var(--home-space-12); }
}
@media (prefers-reduced-motion: reduce) {
    .store-product { transition: none; }
}

/* The deck library uses the account atmosphere and the shared catalogue grid. */
.deck-library__heading { margin-bottom: var(--home-space-8); }
.deck-library__heading h1 { margin: var(--home-space-3) 0; font: 400 var(--home-type-section)/1.1 var(--home-font); letter-spacing: -0.035em; }
.deck-library__heading h1 em { color: var(--home-text-soft); font-weight: 400; }
.deck-library__heading > p:last-child { margin: 0; color: var(--home-text-muted); }
.deck-selector { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--home-space-5); }
.deck-option { display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; width: 100%; min-height: 13rem; overflow: hidden; padding: var(--home-space-6) var(--home-space-8); text-align: left; color: var(--home-text); font-family: var(--home-font); cursor: pointer; transition: border-color 250ms ease; }
.deck-option:is(:hover, :focus-visible), .deck-option--viewing { border-color: var(--home-silver); }
.deck-option__content { position: relative; z-index: 2; display: grid; justify-items: start; gap: var(--home-space-2); }
.deck-option__content .eyebrow { margin: 0; font-size: var(--home-type-micro); }
.deck-option__title { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; }
.deck-option__count { color: var(--home-text-muted); font-size: var(--home-type-label); }
.deck-option__action { display: flex; align-items: center; gap: var(--home-space-3); margin-top: var(--home-space-3); font-size: var(--home-type-label); }
.deck-option__cover-wrap { position: absolute; inset: 10% 5% -20% auto; width: 34%; display: flex; justify-content: center; transform: rotate(12deg); }
.deck-option__cover { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: top; filter: drop-shadow(0 1rem 1rem rgb(0 0 0 / 0.42)); }
.deck-option__selected { position: absolute; right: var(--home-space-4); bottom: var(--home-space-3); z-index: 2; display: flex; align-items: center; gap: var(--home-space-2); padding: var(--home-space-2) var(--home-space-3); border-radius: var(--home-radius-control); background: var(--home-canvas); font-size: var(--home-type-caption); color: var(--home-text-soft); }
.deck-option__selected .lucide { width: 0.875rem; height: 0.875rem; }
.deck-gallery { scroll-margin-top: 7rem; margin-top: var(--home-space-12); }
.deck-presentation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: var(--home-space-8); padding-block: var(--home-space-6); border-block: 1px solid var(--color-line); }
.deck-presentation__copy { position: relative; z-index: 2; min-width: 0; padding-block: var(--home-space-4); }
.deck-presentation__copy > .eyebrow { color: var(--home-text-soft); margin: 0 0 var(--home-space-5); }
.deck-presentation__copy h2 { margin: 0 0 var(--home-space-6); max-width: 19ch; font: 400 clamp(2rem, 3vw, 2.75rem)/1.12 var(--home-font); letter-spacing: -0.035em; text-wrap: balance; }
.deck-presentation__description { margin: 0 0 var(--home-space-3); font-size: 1rem; line-height: 1.5; color: var(--home-text-soft); max-width: 48ch; }
.deck-presentation__collection { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--home-text-muted); max-width: 48ch; }
.deck-presentation__actions { display: flex; flex-wrap: wrap; gap: var(--home-space-3); margin-top: var(--home-space-6); }
.deck-presentation__source { display: inline-block; margin-top: var(--home-space-5); color: var(--home-text-muted); font-size: var(--home-type-caption); text-underline-offset: 0.3em; text-decoration: underline; }
.deck-presentation__art { position: relative; isolation: isolate; min-width: 0; min-height: min(40rem, calc(100svh - 10rem)); width: 100%; }
.deck-presentation__sample { position: absolute; width: 43%; filter: drop-shadow(0 1rem 1.5rem rgb(0 0 0 / 0.42)); }
.deck-presentation__sample:nth-child(1) { top: 0; right: 8%; transform: rotate(10deg); }
.deck-presentation__sample:nth-child(2) { top: 28%; left: 3%; z-index: 1; transform: rotate(-12deg); }
.deck-presentation__sample:nth-child(3) { bottom: 0; right: 4%; z-index: 2; transform: rotate(8deg); }
.deck-presentation__mosaic { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0.5rem; max-width: clamp(18rem, 40svh, 25rem); margin-block: var(--home-space-5); }
.deck-presentation__mini { grid-column: span 2; min-width: 0; aspect-ratio: var(--deck-card-ratio); }
.deck-presentation__mini:nth-child(11) { grid-column: 2 / span 2; }
.deck-presentation__mini > :is(img, .tarot-card-back) { display: block; width: 100%; height: 100%; object-fit: contain; }
.deck-presentation__sample img { display: block; width: 100%; height: auto; }
.deck-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--home-space-4) var(--home-space-8); margin-block: var(--home-space-8) var(--home-space-12); padding: var(--home-space-6) var(--home-space-8); }
.deck-progress__caption { font-size: var(--home-type-lead); color: var(--home-text-soft); }
.deck-progress__value { white-space: nowrap; font-size: 1rem; color: var(--home-text-muted); font-variant-numeric: tabular-nums; }
.deck-progress__value strong { font-size: 2rem; font-weight: 400; color: var(--home-text); }
.deck-progress .collection-progress__track { grid-column: 1 / -1; }
.deck-gallery__cards { min-height: 8rem; }
.deck-gallery__status { padding-block: var(--home-space-6); margin: 0; color: var(--home-text-soft); max-width: 55ch; line-height: 1.6; }
@media (max-width: 47.99rem) {
    .deck-option { min-height: 11rem; padding: var(--home-space-5) var(--home-space-6); }
    .deck-presentation { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
    .deck-presentation__art { min-height: 28rem; max-width: 24rem; justify-self: center; margin-block: var(--home-space-6); }
    .deck-presentation__copy { padding-top: var(--home-space-6); }
    .deck-presentation__copy h2 { max-width: 20ch; }
    .deck-presentation__description, .deck-presentation__collection { max-width: none; }
    .deck-progress { padding: var(--home-space-5); gap: var(--home-space-3); }
    .deck-gallery { margin-top: var(--home-space-8); }
}
@media (prefers-reduced-motion: reduce) {
    .deck-option { transition: none; }
}

.account-energy-page { display: grid; gap: var(--home-space-8); }
.account-energy-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--home-space-8);
    padding: clamp(var(--home-space-6), 4vw, var(--home-space-12));
    overflow: hidden;
}
.account-energy-summary__copy h1 { margin: var(--home-space-3) 0; font-size: var(--home-type-section); font-weight: 400; line-height: 1.1; }
.account-energy-summary__copy > p:last-child { max-width: 48ch; margin: 0; color: var(--home-text-muted); }
.account-energy-summary__balance { display: grid; justify-items: center; gap: var(--home-space-5); min-width: 0; }
.account-energy-summary__balance > p { display: grid; justify-items: center; margin: 0; color: var(--home-text-soft); }
.account-energy-summary__balance strong { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.account-energy-summary__balance span { font-size: var(--home-type-label); }
.account-daily-card--wide { aspect-ratio: auto; min-height: 13rem; }
.account-daily-card--wide .account-daily-card__media { inset-inline-start: auto; width: 42%; object-position: center; transform: none; mask-image: linear-gradient(90deg, transparent, #000 30%); }
.account-daily-card--wide::after,
.account-daily-card--wide.is-claimed::after { background: linear-gradient(90deg, var(--color-surface) 50%, transparent); }
.account-daily-card--wide .account-daily-card__content { position: relative; inset: auto; width: 65%; padding: var(--home-space-8); transform: none; }
.account-daily-card--wide .account-daily-card__heading { min-height: 0; }
.account-daily-card--wide .account-daily-card__timer { inset: var(--home-space-6) var(--home-space-6) auto auto; }
.account-daily-card--wide .account-daily-card__timer strong { font-size: 1.5rem; }
.account-daily-card--wide .account-daily-card__details .button { font-size: var(--home-type-label); }
@media (max-width: 47.9375rem) {
    .account-energy-summary { grid-template-columns: minmax(0, 1fr); gap: var(--home-space-6); }
    .account-energy-summary__balance { justify-items: start; }
    .account-energy-summary__balance > p { justify-items: start; }
    .account-daily-card--wide .account-daily-card__media { width: 100%; opacity: 0.3; }
    .account-daily-card--wide .account-daily-card__content { width: 100%; padding: var(--home-space-6); }
    .account-daily-card--wide .account-daily-card__timer { position: relative; inset: auto; width: fit-content; margin: var(--home-space-6) var(--home-space-6) 0; justify-items: start; }
}
