.LesKarmaStore-store,
.LesKarmaStore-badgeRow {
    --les-ks-rule: color-mix(in srgb, currentColor 16%, transparent);
    --les-ks-wash: color-mix(in srgb, currentColor 5%, transparent);
    --les-ks-wash-2: color-mix(in srgb, currentColor 9%, transparent);
    --les-ks-muted: color-mix(in srgb, currentColor 62%, transparent);
    --les-ks-gold: #d9a441;
    --les-ks-limited: #3f7cc0;
    --les-ks-critical: #cc6a33;
    --les-ks-accent: var(--les-ks-accent-bg, #4a7a56);
    --les-ks-accent-fg: var(--les-ks-accent-text, #fff);
}
html body.LesKarmaStore-storePage .Frame-content > .Container {
    max-width: 1180px;
}
.LesKarmaStore-store {
    max-width: none;
    container-type: inline-size;
    container-name: leskarmastore;
}
.LesKarmaStore-icon {
    display: block;
    flex-shrink: 0;
}

.LesKarmaStore-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.LesKarmaStore-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.LesKarmaStore-subtitle {
    margin: 4px 0 0;
    font-size: 0.9em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-wallet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash);
    flex-shrink: 0;
}
.LesKarmaStore-walletIcon {
    width: 20px;
    height: 20px;
}
.LesKarmaStore-walletValue {
    font-size: 1.1em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.LesKarmaStore-walletLabel {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-closedNotice {
    margin: 0 0 16px;
    font-weight: 600;
    color: var(--les-ks-critical);
}

.LesKarmaStore-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.LesKarmaStore-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash);
    flex: 1 1 200px;
    max-width: 260px;
}
.LesKarmaStore-searchIcon {
    width: 14px;
    height: 14px;
    color: var(--les-ks-muted);
}
.LesKarmaStore-searchInput {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    min-width: 0;
    color: inherit;
    font-size: 0.9em;
}
.LesKarmaStore-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-right: auto;
}
.LesKarmaStore-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule);
    background: transparent;
    color: inherit;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.LesKarmaStore-tab:hover {
    border-color: color-mix(in srgb, currentColor 35%, transparent);
}
.LesKarmaStore-tab.is-active {
    background: var(--les-ks-accent);
    border-color: var(--les-ks-accent);
    color: var(--les-ks-accent-fg);
}
.LesKarmaStore-tabIcon {
    width: 15px;
    height: 15px;
}
.LesKarmaStore-sort {
    height: auto;
    line-height: 1.3;
    padding: 8px 26px 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash);
    color: inherit;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
}

.LesKarmaStore-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 18px;
}
@container leskarmastore (max-width: 760px) {
    .LesKarmaStore-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 760px) {
    .LesKarmaStore-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}
.LesKarmaStore-gridWrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}
.LesKarmaStore-tierGroup[hidden] {
    display: none;
}
.LesKarmaStore-tierLabel {
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--les-ks-muted);
    padding-bottom: 6px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--les-ks-rule);
}
.LesKarmaStore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.LesKarmaStore-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash);
    color: inherit;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.LesKarmaStore-tile:hover,
.LesKarmaStore-tile:focus-visible {
    border-color: color-mix(in srgb, currentColor 34%, transparent);
    background: var(--les-ks-wash-2);
}
.LesKarmaStore-tile.is-selected {
    border-color: var(--les-ks-accent);
    box-shadow: inset 0 0 0 1px var(--les-ks-accent);
}
.LesKarmaStore-tile--owned {
    border-color: color-mix(in srgb, var(--les-ks-accent) 55%, var(--les-ks-rule));
}
.LesKarmaStore-tile--soldout {
    opacity: 0.55;
}
.LesKarmaStore-tile[hidden] {
    display: none;
}
.LesKarmaStore-tile.is-equipped {
    border-color: var(--les-ks-accent);
}
.LesKarmaStore-tileEquipped {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 8px;
    border-bottom-left-radius: 8px;
    background: var(--les-ks-accent);
    color: var(--les-ks-accent-fg);
    font-size: 0.62em;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.LesKarmaStore-tileEquipped[hidden] {
    display: none;
}
.LesKarmaStore-tilePreview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
}
.LesKarmaStore-badgeChip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--les-ks-wash-2);
    border: 1px solid var(--les-ks-rule);
}
.LesKarmaStore-badgeChip img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.LesKarmaStore-tileGlyph {
    width: 34px;
    height: 34px;
    color: var(--les-ks-muted);
}
.LesKarmaStore-sampleAvatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--les-ks-wash-2);
    border: 1px solid var(--les-ks-rule);
}
.LesKarmaStore-sampleAvatarGlyph {
    width: 30px;
    height: 30px;
    color: var(--les-ks-muted);
}
.LesKarmaStore-decorPreview {
    position: relative;
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: color-mix(in srgb, currentColor 14%, transparent);
    border: 1px solid var(--les-ks-rule);
}
.LesKarmaStore-decorPreview::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--les-ks-decor-scale, 140%);
    height: var(--les-ks-decor-scale, 140%);
    transform: translate(-50%, -50%) translate(var(--les-ks-decor-x, 0%), var(--les-ks-decor-y, 0%));
    background-image: var(--les-ks-decor-url, none);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}
.LesKarmaStore-sampleDecor.LesKarmaStore-decorPreview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}
.LesKarmaStore-titlePreview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--les-ks-wash-2);
    border: 1px solid var(--les-ks-rule);
    color: inherit;
    font-size: 0.8em;
    font-weight: 600;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.LesKarmaStore-tileName {
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.LesKarmaStore-tileFoot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86em;
}
.LesKarmaStore-tilePrice {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.LesKarmaStore-tilePriceIcon {
    width: 14px;
    height: 14px;
}
.LesKarmaStore-tileStock {
    font-size: 0.82em;
    color: var(--les-ks-muted);
    font-variant-numeric: tabular-nums;
}
.LesKarmaStore-tileOwned {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: color-mix(in srgb, var(--les-ks-accent) 80%, currentColor);
}
.LesKarmaStore-tileOwned--soldout {
    color: var(--les-ks-muted);
}
.LesKarmaStore-tileOwnedIcon {
    width: 15px;
    height: 15px;
}
.LesKarmaStore-tileBar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--les-ks-rule);
}
.LesKarmaStore-tileBar::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--fill, 100%);
    background: var(--les-ks-limited);
}
.LesKarmaStore-tile--critical .LesKarmaStore-tileBar::after {
    background: var(--les-ks-critical);
}

.LesKarmaStore-examine {
    position: sticky;
    top: 16px;
    align-self: start;
    border-radius: 10px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash);
    padding: 16px;
}
@container leskarmastore (max-width: 760px) {
    .LesKarmaStore-examine {
        position: static;
    }
}
@media (max-width: 760px) {
    .LesKarmaStore-examine {
        position: static;
    }
}
.LesKarmaStore-examineEmpty {
    padding: 40px 12px;
    text-align: center;
    font-size: 0.88em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-examineContent[hidden] {
    display: none;
}
.LesKarmaStore-previewCaption {
    font-size: 0.68em;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
    color: var(--les-ks-muted);
    margin-bottom: 8px;
}
.LesKarmaStore-previewStage {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash-2);
}
.LesKarmaStore-previewAvatar {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, currentColor 12%, transparent);
}
.LesKarmaStore-previewAvatarGlyph {
    width: 28px;
    height: 28px;
    color: var(--les-ks-muted);
}
.LesKarmaStore-previewDecor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.LesKarmaStore-previewDecor::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--les-ks-decor-scale, 140%);
    height: var(--les-ks-decor-scale, 140%);
    transform: translate(-50%, -50%) translate(var(--les-ks-decor-x, 0%), var(--les-ks-decor-y, 0%));
    background-image: var(--les-ks-decor-url, none);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.LesKarmaStore-previewLines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.LesKarmaStore-previewName {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-weight: 700;
}
.LesKarmaStore-previewNameText {
    color: color-mix(in srgb, var(--les-ks-accent) 70%, currentColor);
}
.LesKarmaStore-previewBadge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.LesKarmaStore-previewBadge:empty {
    display: none;
}
.LesKarmaStore-previewBadge img {
    height: 20px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}
.LesKarmaStore-previewTitle {
    font-size: 0.82em;
    font-style: italic;
    color: var(--les-ks-muted);
}
.LesKarmaStore-previewTitle:empty {
    display: none;
}
.LesKarmaStore-previewMeta {
    font-size: 0.72em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-examineName {
    margin-top: 14px;
    font-weight: 800;
    font-size: 1.1em;
}
.LesKarmaStore-examineDesc {
    margin-top: 5px;
    font-size: 0.86em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-examineDesc:empty {
    display: none;
}
.LesKarmaStore-examineStock {
    margin-top: 12px;
}
.LesKarmaStore-examineStockText {
    font-size: 0.78em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-examineStockText:empty {
    display: none;
}
.LesKarmaStore-examineStockBar {
    margin-top: 6px;
    height: 5px;
    border-radius: 3px;
    overflow: hidden;
    background: var(--les-ks-rule);
}
.LesKarmaStore-examineStockBar[hidden] {
    display: none;
}
.LesKarmaStore-examineStockBar span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--les-ks-limited);
}
.LesKarmaStore-examineStockBar.is-critical span {
    background: var(--les-ks-critical);
}
.LesKarmaStore-examineFoot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--les-ks-rule);
}
.LesKarmaStore-priceTag {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.LesKarmaStore-priceTagIcon {
    width: 18px;
    height: 18px;
    align-self: center;
}
.LesKarmaStore-priceValue {
    font-size: 1.3em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.LesKarmaStore-priceUnit {
    font-size: 0.68em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-examineAction {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.LesKarmaStore-customTitleEdit {
    margin: 12px 0 4px;
}
.LesKarmaStore-customTitleEdit[hidden] {
    display: none;
}
.LesKarmaStore-customTitleLabel {
    display: block;
    margin-bottom: 5px;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--les-ks-muted);
}
.LesKarmaStore-customTitleInput {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash-2);
    color: inherit;
    font-size: 0.9em;
    font-style: italic;
}
.LesKarmaStore-customTitleInput:focus {
    outline: none;
    border-color: var(--les-ks-accent);
}
.LesKarmaStore-customTitleRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}
.LesKarmaStore-customTitleCount {
    font-size: 0.72em;
    color: var(--les-ks-muted);
    font-variant-numeric: tabular-nums;
}
.LesKarmaStore-customTitleSave {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-accent);
    background: var(--les-ks-accent);
    color: var(--les-ks-accent-fg);
    font-weight: 700;
    font-size: 0.85em;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.LesKarmaStore-customTitleSave:hover {
    filter: brightness(1.08);
}
.LesKarmaStore-customTitleSave[disabled] {
    opacity: 0.6;
    cursor: default;
}
.LesKarmaStore-customTitleStatus {
    margin-top: 6px;
    font-size: 0.75em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-customTitleStatus[hidden] {
    display: none;
}
.LesKarmaStore-customTitleColors {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}
.LesKarmaStore-customTitleSwatch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75em;
    color: var(--les-ks-muted);
    cursor: pointer;
}
.LesKarmaStore-customTitleColor {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid var(--les-ks-rule);
    border-radius: 6px;
    background: none;
    cursor: pointer;
}
.LesKarmaStore-customTitleColor::-webkit-color-swatch-wrapper {
    padding: 2px;
}
.LesKarmaStore-customTitleColor::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}
.LesKarmaStore-titleTag {
    display: inline-block;
    padding: 1px 8px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    font-style: normal;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
}
.LesKarmaStore-redeemButton {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-accent);
    background: var(--les-ks-accent);
    color: var(--les-ks-accent-fg);
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.LesKarmaStore-redeemButton:hover {
    filter: brightness(1.08);
}
.LesKarmaStore-redeemButton[hidden] {
    display: none;
}
.LesKarmaStore-equipButton {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-accent);
    background: var(--les-ks-accent);
    color: var(--les-ks-accent-fg);
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.LesKarmaStore-equipButton:hover {
    filter: brightness(1.08);
}
.LesKarmaStore-equipButton.is-equipped {
    background: var(--les-ks-wash-2);
    color: color-mix(in srgb, var(--les-ks-accent) 80%, currentColor);
    border-color: color-mix(in srgb, var(--les-ks-accent) 50%, transparent);
}
.LesKarmaStore-equipButton[disabled] {
    opacity: 0.6;
    cursor: default;
}
.LesKarmaStore-equipButton[hidden] {
    display: none;
}
.LesKarmaStore-confirmRow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.LesKarmaStore-confirmRow[hidden] {
    display: none;
}
.LesKarmaStore-confirmText {
    flex: 1 1 100%;
    font-size: 0.78em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-confirmYes,
.LesKarmaStore-confirmNo {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.LesKarmaStore-confirmYes {
    border-color: var(--les-ks-accent);
    background: var(--les-ks-accent);
    color: var(--les-ks-accent-fg);
}
.LesKarmaStore-confirmNo {
    border-color: #3c4046;
    background: #565b63;
    color: #fff;
}
.LesKarmaStore-confirmYes:hover,
.LesKarmaStore-confirmNo:hover {
    filter: brightness(1.1);
}
.LesKarmaStore-examineError {
    font-size: 0.78em;
    color: var(--les-ks-critical);
}
.LesKarmaStore-examineError[hidden] {
    display: none;
}
.LesKarmaStore-pill {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.82em;
    font-weight: 700;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash-2);
    color: var(--les-ks-muted);
    box-sizing: border-box;
}
.LesKarmaStore-pill[hidden] {
    display: none;
}
.LesKarmaStore-pill--owned {
    border-color: color-mix(in srgb, var(--les-ks-accent) 50%, transparent);
    color: color-mix(in srgb, var(--les-ks-accent) 80%, currentColor);
}
.LesKarmaStore-pill--soldout {
    opacity: 0.75;
}
.LesKarmaStore-empty {
    padding: 36px 0;
    text-align: center;
    color: var(--les-ks-muted);
}

.LesKarmaStore-loadout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash);
}
.LesKarmaStore-loadoutLabel {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--les-ks-muted);
    flex-shrink: 0;
}
.LesKarmaStore-loadoutItems {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}
.LesKarmaStore-loadoutSlot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash-2);
    overflow: hidden;
}
.LesKarmaStore-loadoutSlot img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.LesKarmaStore-loadoutSlot--decoration {
    border-radius: 50%;
    overflow: visible;
}
.LesKarmaStore-loadoutSlot .LesKarmaStore-decorPreview {
    width: 70%;
    border: none;
    background: transparent;
}
.LesKarmaStore-loadoutTitle {
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--les-ks-rule);
    background: var(--les-ks-wash-2);
    font-size: 0.82em;
    font-weight: 600;
    font-style: italic;
}
.LesKarmaStore-loadoutHint {
    flex-basis: 100%;
    margin: -2px 0 0;
    font-size: 0.72em;
    color: var(--les-ks-muted);
}
.LesKarmaStore-loadoutHint[hidden] {
    display: none;
}
.LesKarmaStore-loadoutSlot--badge {
    cursor: grab;
    touch-action: none;
    transition: transform 0.12s ease, opacity 0.12s ease, border-color 0.12s ease;
}
.LesKarmaStore-loadoutSlot--badge.is-dragging {
    cursor: grabbing;
    opacity: 0.85;
    transform: scale(1.1);
    border-color: var(--les-ks-accent);
}
.LesKarmaStore-badgeRow {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    vertical-align: middle;
}
.LesKarmaStore-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    max-width: 100px;
    border-radius: 4px;
    overflow: hidden;
}
.LesKarmaStore-badge img {
    height: 100%;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
}
.LesKarmaStore-badge--wander,
.LesKarmaStore-previewBadge.is-wander,
.LesKarmaStore-badgePreviewSize.LesKarmaStore-badge--wander {
    position: relative;
    width: 100px;
    max-width: 100px;
    height: 20px;
    overflow: hidden;
    flex: 0 0 100px;
}
.LesKarmaStore-badge--wander img,
.LesKarmaStore-previewBadge.is-wander img,
.LesKarmaStore-badgePreviewSize.LesKarmaStore-badge--wander img {
    position: absolute;
    left: 0;
    top: 50%;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    animation: les-ks-walk 6s linear infinite;
    will-change: left, transform;
}
@keyframes les-ks-walk {
    0%   { left: 0;    transform: translateX(0)      translateY(-50%) scaleX(1); }
    46%  { left: 100%; transform: translateX(-100%)  translateY(-50%) scaleX(1); }
    50%  { left: 100%; transform: translateX(-100%)  translateY(-50%) scaleX(-1); }
    96%  { left: 0;    transform: translateX(0)      translateY(-50%) scaleX(-1); }
    100% { left: 0;    transform: translateX(0)      translateY(-50%) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .LesKarmaStore-badge--wander img,
    .LesKarmaStore-previewBadge.is-wander img,
    .LesKarmaStore-badgePreviewSize.LesKarmaStore-badge--wander img {
        animation: none;
        transform: translateY(-50%);
    }
}

.PhotoWrap[class*="les-ks-decor-"] {
    position: relative;
    overflow: visible;
}
.PhotoWrap[class*="les-ks-decor-"] img {
    border-radius: 50%;
}
.PhotoWrap[class*="les-ks-decor-"]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--les-ks-decor-scale, 140%);
    height: var(--les-ks-decor-scale, 140%);
    transform: translate(-50%, -50%) translate(var(--les-ks-decor-x, 0%), var(--les-ks-decor-y, 0%));
    background-image: var(--les-ks-decor-url, none);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 2;
}

.LesKarmaStore-assetPreviewWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid var(--les-ks-rule, color-mix(in srgb, currentColor 15%, transparent));
    background: var(--les-ks-wash, color-mix(in srgb, currentColor 4%, transparent));
    overflow: hidden;
}
.LesKarmaStore-assetPreview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.LesKarmaStore-adminThumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
}
.LesKarmaStore-adminThumb:not(:has(img)) {
    background: color-mix(in srgb, currentColor 6%, transparent);
}
.LesKarmaStore-adminThumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.LesKarmaStore-wanderPreviewWrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.LesKarmaStore-decorAdjust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.LesKarmaStore-decorStage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    background: color-mix(in srgb, currentColor 5%, transparent);
}
.LesKarmaStore-decorStage .LesKarmaStore-sampleAvatar {
    width: 64px;
    height: 64px;
    background: color-mix(in srgb, currentColor 12%, transparent);
    border-color: color-mix(in srgb, currentColor 20%, transparent);
}
.LesKarmaStore-decorStage .LesKarmaStore-sampleAvatarGlyph {
    width: 38px;
    height: 38px;
    color: color-mix(in srgb, currentColor 55%, transparent);
}
.LesKarmaStore-decorSliders {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}
.LesKarmaStore-decorSlider {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85em;
}
.LesKarmaStore-decorSlider input[type="range"] {
    width: 100%;
    margin: 0;
}
.LesKarmaStore-badgePreviewSize {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    max-width: 48px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    background: color-mix(in srgb, currentColor 6%, transparent);
    overflow: hidden;
}
.LesKarmaStore-badgePreviewSize img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
.LesKarmaStore-uploadError {
    margin-top: 6px;
    font-size: 0.85em;
    color: color-mix(in srgb, var(--les-ks-accent-bg, #60A96D) 70%, currentColor);
}
