.store-page {
    --store-bg: var(--brand-primary-dark-1, #0d0d0d);
    --store-surface: var(--brand-primary-dark-2, #141f48);
    --store-raised: var(--brand-primary-dark-3, #192859);
    --store-border: var(--color-border-base-alfa-container, rgba(255, 255, 255, 0.09));
    --store-border-strong: var(--color-border-base-alfa-static-white-20, rgba(255, 255, 255, 0.16));
    --store-text: var(--neutral-dark-14, #f0f2f5);
    --store-muted: var(--neutral-dark-13, #9aa1b1);
    --store-blue: var(--brand-primary-dark-9, #1e46eb);
    --store-blue-hover: var(--brand-primary-dark-10, #3158ee);
    --store-cta: var(--color-solid-action-cta, #1e46eb);
    --store-gold: #e8b84a;
    padding-block-end: 48px;
    color: var(--store-text);
    isolation: isolate;
    position: relative;
}

.store-page::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(980px, 92vw);
    height: 720px;
    inset: 80px auto auto 50%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 36% 30%, rgba(30, 70, 235, 0.2), rgba(30, 70, 235, 0.07) 42%, transparent 72%);
    filter: blur(10px);
    transform: translateX(-50%);
    pointer-events: none;
}

.store-dialog,
.store-cart {
    --store-surface: var(--brand-primary-dark-2, #141f48);
    --store-raised: var(--brand-primary-dark-3, #192859);
    --store-border: rgba(255, 255, 255, 0.1);
    --store-text: var(--neutral-dark-14, #f0f2f5);
    --store-muted: var(--neutral-dark-13, #9aa1b1);
    --store-blue: var(--brand-primary-dark-9, #1e46eb);
    --store-cta: var(--color-solid-action-cta, #1e46eb);
    --store-gold: #e8b84a;
}

.store-heading {
    display: flex;
    min-height: 76px;
    margin-block: 4px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-heading__copy {
    min-width: 0;
}

.store-heading__eyebrow,
.store-dialog__eyebrow {
    color: var(--store-gold);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.store-heading h1 {
    margin: 2px 0 5px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.store-heading p,
.store-detail__lead {
    max-width: 680px;
    margin: 0;
    color: var(--store-muted);
    line-height: 1.55;
}

.store-heading__account,
.store-dialog__actions,
.store-product__footer,
.store-inventory footer,
.store-boost footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-balance {
    display: grid;
    min-width: 128px;
    padding: 9px 13px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-surface);
}

.store-balance small {
    color: var(--store-muted);
    font-size: 11px;
}

.store-balance strong {
    font-size: 15px;
}

.store-button {
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.store-button:focus-visible,
.store-categories a:focus-visible,
.store-account-tabs a:focus-visible,
.store-product a:focus-visible,
.store-filters select:focus-visible,
.store-preferences select:focus-visible {
    outline: 3px solid rgba(30, 70, 235, 0.42);
    outline-offset: 2px;
}

.store-button--primary {
    background: var(--store-cta);
}

.store-button--primary:hover {
    background: var(--color-solid-action-cta-hover, #3158ee);
    color: #fff;
}

.store-button--secondary {
    border-color: var(--store-border);
    background: var(--store-raised);
}

.store-button--secondary:hover {
    border-color: var(--store-border-strong);
    background: var(--theme-surface-hover, #21346e);
    color: #fff;
}

.store-button--icon {
    width: 40px;
    padding: 0;
}

.store-button--icon svg {
    width: 20px;
    height: 20px;
}

.store-button--disabled {
    color: var(--store-muted);
    background: rgba(255, 255, 255, 0.07);
    cursor: not-allowed;
}

.store-button.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.store-hero {
    display: grid;
    min-height: 248px;
    margin-block-end: 18px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
    border: 1px solid var(--store-border);
    border-radius: 18px;
    background: rgba(20, 31, 72, 0.78);
    backdrop-filter: blur(14px);
}

.store-hero__copy {
    display: flex;
    padding: clamp(28px, 4vw, 48px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.store-hero__copy > span {
    color: var(--store-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.store-hero__copy h2 {
    max-width: 620px;
    margin: 7px 0 10px;
    color: #f6d98a;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.store-hero__copy p {
    max-width: 560px;
    margin: 0 0 20px;
    color: var(--store-muted);
    font-size: 16px;
    line-height: 1.55;
}

.store-hero__visual {
    position: relative;
    display: grid;
    min-height: 246px;
    padding: 24px;
    place-items: center;
    background: var(--store-raised);
}

.store-hero__visual img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.store-toolbar {
    display: flex;
    margin-block-end: 20px;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--store-border);
    border-radius: 14px;
    background: rgba(20, 31, 72, 0.7);
    backdrop-filter: blur(12px);
}

.store-categories,
.store-account-tabs {
    display: flex;
    margin: 0;
    padding-block: 3px;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.store-categories::-webkit-scrollbar,
.store-account-tabs::-webkit-scrollbar {
    display: none;
}

.store-categories a,
.store-account-tabs a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--store-muted);
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.store-categories a:hover,
.store-categories a.is-active,
.store-account-tabs a:hover,
.store-account-tabs a.is-active {
    border-color: rgba(30, 70, 235, 0.45);
    color: #fff;
    background: rgba(30, 70, 235, 0.22);
}

.store-filters {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.store-filters > label:not(.store-check),
.store-preferences label:not(.store-check) {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 650;
}

.store-filters select,
.store-preferences select {
    appearance: none;
    min-height: 38px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--store-border);
    border-radius: 10px;
    color: var(--store-text);
    background: var(--store-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23b6bbcc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 11px center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.store-check {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    color: var(--store-muted);
    cursor: pointer;
}

.store-check input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid var(--store-border-strong);
    border-radius: 4px;
    background: var(--store-surface);
}

.store-check input[type="checkbox"]:checked {
    border-color: var(--store-blue);
    background-color: var(--store-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 2.4 2.4L12 5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.store-check input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(30, 70, 235, 0.42);
    outline-offset: 2px;
}

.store-products,
.store-account-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.store-products__head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

.store-products__head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.025em;
}

.store-products__head span {
    display: grid;
    min-width: 28px;
    height: 28px;
    padding-inline: 8px;
    place-items: center;
    border-radius: 8px;
    color: var(--store-muted);
    background: rgba(255, 255, 255, 0.07);
    font-size: 12px;
    font-weight: 700;
}

.store-product,
.store-inventory,
.store-boost {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--store-border);
    border-radius: 15px;
    background: rgba(20, 31, 72, 0.72);
    backdrop-filter: blur(12px);
    transition: border-color 160ms ease, background-color 160ms ease;
}

.store-product:hover {
    border-color: rgba(30, 70, 235, 0.34);
    background: rgba(25, 40, 89, 0.86);
}

.store-product__visual,
.store-inventory__visual {
    position: relative;
    display: flex;
    min-height: 178px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    color: #f6d98a;
    background: var(--store-raised);
    text-decoration: none;
}

.store-product__visual img,
.store-inventory__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-product__visual > span,
.store-inventory__visual > span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.store-product__visual > strong,
.store-inventory__visual > strong {
    max-width: 90%;
    font-size: 24px;
    line-height: 1.05;
}

.store-art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.store-art--image::before,
.store-art--image::after {
    display: none;
}

.store-art__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.store-art--emojipack .store-art__image {
    padding: 5px;
    object-fit: contain;
}

.store-product:hover .store-art__image {
    transform: scale(1.035);
}

.store-art::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.store-art::after {
    content: "";
    position: absolute;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.store-art__profile {
    position: relative;
    z-index: 1;
    display: grid;
    width: 164px;
    aspect-ratio: 1.6;
    padding: 14px;
    align-content: center;
    gap: 7px;
    border: 1px solid rgba(246, 217, 138, 0.48);
    border-radius: 13px;
    background: var(--theme-page-background, #0f1738);
    transform: rotate(-4deg);
}

.store-art__avatar {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #0d0d0d;
    background: #f6d98a;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.store-art__line {
    display: block;
    width: 76%;
    height: 5px;
    border-radius: 4px;
    background: rgba(246, 217, 138, 0.72);
}

.store-art__line--short {
    width: 48%;
    opacity: 0.55;
}

.store-art__frame {
    position: relative;
    z-index: 1;
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 7px double #f6d98a;
    border-radius: 50%;
    color: #f6d98a;
    background: #141f48;
}

.store-art__frame i {
    font-size: 24px;
    font-style: normal;
    font-weight: 850;
}

.store-art__tiles {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 6px;
    transform: rotate(-4deg);
}

.store-art__tiles i {
    display: grid;
    width: 38px;
    height: 54px;
    place-items: center;
    border-radius: 7px;
    color: #171717;
    background: #f4e7c8;
    font-size: 17px;
    font-style: normal;
    font-weight: 850;
}

.store-art__tiles i:nth-child(2) { color: #d44a40; transform: translateY(-8px); }
.store-art__tiles i:nth-child(3) { color: #e5a900; transform: translateY(-8px); }
.store-art__tiles i:nth-child(4) { color: #1e46eb; }

.store-art__table {
    position: relative;
    z-index: 1;
    display: flex;
    width: 166px;
    height: 96px;
    padding: 12px;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    border: 7px solid #6f4328;
    border-radius: 50%;
    background: #225a48;
    transform: rotate(-4deg);
}

.store-art__table i {
    width: 23px;
    height: 34px;
    border-radius: 4px;
    background: #f4e7c8;
}

.store-art__boost {
    position: relative;
    z-index: 1;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    color: #fff;
    background: var(--store-blue);
    font-size: 56px;
    font-weight: 350;
    transform: rotate(8deg);
}

.store-art__mark {
    position: relative;
    z-index: 1;
    color: #f6d98a;
    font-size: 38px;
    font-weight: 850;
}

.store-product__visual em {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    padding: 6px 9px;
    border-radius: 8px;
    color: #171006;
    background: var(--store-gold);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.store-product__visual--profileframe,
.store-product__visual--emojipack {
    color: #fff;
    background: #172e9e;
}

.store-product__visual--theme,
.store-product__visual--timedboost {
    color: #fff;
    background: #142a3a;
}

.store-product__body,
.store-inventory > div:not(.store-inventory__visual),
.store-boost {
    padding: 15px 16px;
}

.store-product__body {
    flex: 1 1 auto;
}

.store-product__type {
    color: var(--store-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-product h2,
.store-inventory h2,
.store-boost h2 {
    margin: 5px 0 7px;
    font-size: 18px;
    letter-spacing: -0.018em;
    line-height: 1.25;
}

.store-product h2 a {
    color: inherit;
    text-decoration: none;
}

.store-product p,
.store-inventory p,
.store-boost p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.45;
}

.store-product__meta {
    display: flex;
    min-height: 25px;
    margin-block-start: 12px;
    flex-wrap: wrap;
    gap: 6px;
}

.store-product__meta span,
.store-state {
    padding: 4px 7px;
    border-radius: 7px;
    color: var(--store-muted);
    background: rgba(255, 255, 255, 0.07);
    font-size: 10px;
    font-weight: 700;
}

.store-product__meta .is-owned,
.store-state.is-active {
    color: #75e2a3;
    background: rgba(0, 178, 75, 0.14);
}

.store-product__meta .is-equipped {
    color: #67baf4;
    background: rgba(30, 70, 235, 0.14);
}

.store-product__footer {
    min-height: 66px;
    padding: 11px 16px 14px;
    justify-content: space-between;
    border-block-start: 1px solid var(--store-border);
}

.store-price {
    display: grid;
}

.store-price del {
    color: var(--store-muted);
    font-size: 11px;
}

.store-price strong {
    font-size: 18px;
    font-variant-numeric: tabular-nums;
}

.store-product__actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.store-empty {
    grid-column: 1 / -1;
    display: grid;
    min-height: 180px;
    padding: 24px;
    place-content: center;
    justify-items: center;
    gap: 8px;
    border: 1px dashed var(--store-border);
    border-radius: 16px;
    color: var(--store-muted);
    background: var(--store-surface);
}

.store-empty a,
.store-back {
    color: var(--brand-primary-dark-11, #3fa2ff);
}

.store-pagination {
    display: flex;
    margin-block-start: 24px;
    justify-content: center;
    gap: 7px;
}

.store-pagination a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    color: var(--store-muted);
    background: var(--store-surface);
    text-decoration: none;
}

.store-pagination a.is-active {
    color: #fff;
    background: var(--store-blue);
}

.store-responsible {
    margin: 24px 0 0;
    color: var(--store-muted);
    font-size: 12px;
    text-align: center;
}

.store-toast {
    position: fixed;
    z-index: 1300;
    inset-inline-end: 20px;
    inset-block-end: 20px;
    max-width: min(380px, calc(100vw - 32px));
    padding: 12px 16px;
    border: 1px solid var(--store-border, rgba(255, 255, 255, 0.1));
    border-radius: 11px;
    color: var(--store-text, #f0f2f5);
    background: var(--store-raised, #192859);
    font-size: 13px;
    line-height: 1.45;
}

.store-toast[hidden] {
    display: none;
}

.store-dialog {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}

.store-cart {
    position: fixed;
    z-index: 1190;
    inset: 0;
}

.store-cart[hidden] {
    display: none;
}

.store-cart__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 3, 12, 0.74);
}

.store-cart__panel {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    display: flex;
    width: min(430px, 100%);
    padding: 22px;
    flex-direction: column;
    border-inline-start: 1px solid var(--store-border, rgba(255, 255, 255, 0.1));
    color: var(--store-text, #f0f2f5);
    background: var(--store-raised, #192859);
}

.store-cart__panel > header,
.store-cart__panel > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-cart__panel h2 {
    margin: 4px 0 0;
}

.store-cart__panel > header > button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--store-border, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    color: inherit;
    background: var(--store-surface, #141f48);
    font-size: 23px;
}

.store-cart__items {
    display: grid;
    margin-block: 22px;
    flex: 1 1 auto;
    align-content: start;
    gap: 9px;
    overflow-y: auto;
}

.store-cart__items article {
    display: grid;
    padding: 13px;
    gap: 12px;
    border: 1px solid var(--store-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    background: var(--store-surface, #141f48);
}

.store-cart__items article > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.store-cart__items span {
    color: var(--store-muted, #9aa1b1);
}

.store-cart__panel > footer {
    padding-block-start: 18px;
    border-block-start: 1px solid var(--store-border, rgba(255, 255, 255, 0.1));
}

.store-dialog[hidden] {
    display: none;
}

.store-dialog__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 3, 12, 0.78);
}

.store-dialog__panel {
    position: relative;
    width: min(440px, 100%);
    padding: 26px;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    color: var(--store-text);
    background: var(--store-raised);
}

.store-dialog__close {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--store-border);
    border-radius: 10px;
    color: var(--store-muted);
    background: var(--store-surface);
    font-size: 23px;
}

.store-dialog h2 {
    margin: 8px 36px 6px 0;
    font-size: 24px;
}

.store-dialog p {
    color: var(--store-muted);
}

.store-dialog dl {
    margin: 20px 0;
}

.store-dialog dl div {
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    border-block-end: 1px solid var(--store-border);
}

.store-dialog dt {
    color: var(--store-muted);
}

.store-dialog dd {
    margin: 0;
    font-weight: 700;
}

.store-dialog__note {
    font-size: 12px;
}

.store-dialog__status {
    min-height: 20px;
    margin-block-end: 10px;
    color: #ff9b7b;
    font-size: 13px;
}

.store-dialog__status.is-success {
    color: #75e2a3;
}

.store-dialog__actions {
    justify-content: flex-end;
}

.store-back {
    display: inline-block;
    margin-block-end: 18px;
    font-weight: 650;
    text-decoration: none;
}

.store-detail {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: start;
}

.store-detail__visual {
    position: relative;
    display: flex;
    min-height: 470px;
    padding: 28px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(30, 70, 235, 0.28);
    border-radius: 20px;
    color: #f6d98a;
    background: rgba(25, 40, 89, 0.8);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.store-detail__visual .store-art {
    position: absolute;
    inset: 0;
    transform: scale(1.45);
}

.store-detail__visual .store-art--image {
    transform: none;
}

.store-detail__visual .store-art--emojipack .store-art__image {
    padding: 24px;
}

.store-detail__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-detail__collection {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: auto;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--store-muted);
    background: rgba(15, 23, 56, 0.82);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.store-detail__visual strong {
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.02;
}

.store-detail__content {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--store-border);
    border-radius: 20px;
    background: rgba(20, 31, 72, 0.72);
    backdrop-filter: blur(14px);
}

.store-detail__content h1 {
    margin: 7px 0 10px;
    font-size: clamp(34px, 4.5vw, 52px);
    letter-spacing: -0.04em;
    line-height: 1.03;
}

.store-detail__content > p:not(.store-responsible) {
    color: var(--store-muted);
    line-height: 1.6;
}

.store-detail__effect {
    display: flex;
    margin-block: 20px;
    padding: 16px;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: rgba(25, 40, 89, 0.72);
}

.store-detail__effect-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--store-cta);
    font-size: 13px;
    font-weight: 800;
}

.store-detail__effect > div {
    display: grid;
    gap: 4px;
}

.store-detail__effect span,
.store-detail__note {
    color: var(--store-muted);
}

.store-detail__buy {
    display: flex;
    margin-block-start: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-account-tabs {
    margin-block-end: 24px;
}

.store-profile-preview {
    display: flex;
    margin-block-end: 18px;
    padding: 18px;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    background: var(--store-raised);
}

.store-profile-preview__avatar {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border: 2px solid var(--store-blue);
    border-radius: 50%;
    color: var(--store-gold);
    background: var(--store-surface);
    font-weight: 850;
}

.store-profile-preview__avatar.has-frame {
    border-color: var(--store-gold);
    outline: 3px solid rgba(232, 184, 74, 0.18);
}

.store-profile-preview h2 {
    margin: 4px 0;
    font-size: 19px;
}

.store-profile-preview p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
}

.store-alert {
    margin-block-end: 16px;
    padding: 13px 16px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-surface);
}

.store-alert.is-success {
    border-color: rgba(0, 178, 75, 0.42);
}

.store-alert.is-error {
    border-color: rgba(246, 61, 0, 0.42);
}

.store-inventory__visual {
    min-height: 170px;
}

.store-inventory footer,
.store-boost footer {
    margin-block-start: auto;
    padding: 14px 16px;
    justify-content: space-between;
    border-block-start: 1px solid var(--store-border);
}

.store-boost {
    min-height: 230px;
}

.store-boost small {
    margin-block-start: 12px;
    color: var(--store-muted);
}

.store-orders {
    display: grid;
    gap: 10px;
}

.store-orders article {
    display: flex;
    padding: 16px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--store-border);
    border-radius: 13px;
    background: var(--store-surface);
}

.store-orders article > div:last-child {
    display: grid;
    justify-items: end;
}

.store-orders p,
.store-orders span {
    margin: 4px 0 0;
    color: var(--store-muted);
    font-size: 12px;
}

.store-preferences {
    display: grid;
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
    gap: 36px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--store-border);
    border-radius: 16px;
    background: var(--store-surface);
}

.store-preferences h2 {
    margin-block-start: 0;
}

.store-preferences p {
    color: var(--store-muted);
    line-height: 1.55;
}

.store-preferences form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.store-preferences .store-check,
.store-preferences .store-button {
    grid-column: 1 / -1;
}

[dir="rtl"] .store-dialog h2 {
    margin: 8px 0 6px 36px;
}

@media (max-width: 1180px) {
    .store-products,
    .store-account-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .store-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .store-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .store-heading,
    .store-detail__buy {
        align-items: stretch;
        flex-direction: column;
    }

    .store-heading__account {
        justify-content: space-between;
    }

    .store-hero {
        grid-template-columns: 1fr;
    }

    .store-hero__visual {
        min-height: 210px;
    }

    .store-products,
    .store-account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-detail,
    .store-preferences {
        grid-template-columns: 1fr;
    }

    .store-detail__visual {
        min-height: 340px;
    }
}

@media (max-width: 540px) {
    .store-page {
        padding-inline: 0;
    }

    .store-heading {
        min-height: 0;
        margin-block-start: 0;
        margin-block-end: 16px;
    }

    .store-heading__account {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .store-heading__account > :only-child {
        grid-column: 1 / -1;
    }

    .store-hero {
        min-height: 0;
        border-radius: 16px;
    }

    .store-hero__copy {
        padding: 25px 20px;
    }

    .store-hero__copy h2 {
        font-size: 34px;
    }

    .store-toolbar {
        margin-inline: -4px;
        padding: 8px;
    }

    .store-categories {
        margin-inline: -8px;
        padding-inline: 8px;
    }

    .store-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .store-filters > label:not(.store-check) {
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
    }

    .store-products,
    .store-account-grid {
        grid-template-columns: 1fr;
    }

    .store-product__visual {
        min-height: 196px;
    }

    .store-filters select {
        width: 100%;
    }

    .store-dialog {
        place-items: end center;
        padding: 0;
    }

    .store-dialog__panel {
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 18px 18px 0 0;
    }

    .store-orders article {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-orders article > div:last-child {
        justify-items: start;
    }

    .store-preferences form {
        grid-template-columns: 1fr;
    }

    .store-preferences form > * {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-button {
        transition: none;
    }
}
