img.is-img-error {
    opacity: .35;
    filter: grayscale(1);
}

.YXYH-pc-page-title-shop {
    position: relative;
    width: var(--ls-width);
    margin: 16px auto 36px;
    color: #2b2440;
}

body > .ls-empty {
    width: min(var(--ls-width, 1180px), calc(100% - 24px));
    margin: 24px auto 40px;
    min-height: 260px;
    padding: 42px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--ls-primary, #3b82f6) 12%, #e5e7eb);
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--ls-primary, #3b82f6) 10%, transparent), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    text-align: center;
}

body > .ls-empty i {
    font-size: 42px;
    line-height: 1;
    color: color-mix(in srgb, var(--ls-primary, #3b82f6) 68%, #94a3b8);
}

body > .ls-empty span {
    max-width: 640px;
    color: var(--ls-text-primary, #1f2937);
    font-size: 14px;
    line-height: 1.8;
}

.YXYH-pc-page-title-shop::before {
    content: '';
    position: absolute;
    border-radius: var(--ls-border-radius, 12px);
    pointer-events: none;
    filter: blur(18px);
}

.YXYH-pc-page-title-shop::after {
    content: '';
    position: absolute;
    border-radius: var(--ls-border-radius, 12px);
    pointer-events: none;
    filter: blur(14px);
}

.YXYH-pc-page-title-shop::before {
    top: 20px;
    left: -18px;
    width: 168px;
    height: 168px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.16), rgba(124, 58, 237, 0));
}

.YXYH-pc-page-title-shop::after {
    top: 208px;
    right: -12px;
    width: 132px;
    height: 132px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0));
}

.af-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.af-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
}

.af-side {
    position: sticky;
    top: 16px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.af-side::before,
.af-side::after {
    content: none;
}

.af-side .af-panel {
    position: relative;
    z-index: 1;
    border-radius: calc(var(--ls-border-radius, 12px) + 4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 249, 255, 0.96));
    overflow: hidden;
    border: 1px solid rgba(224, 215, 255, 0.82);
    box-shadow: 0 16px 34px rgba(49, 20, 93, 0.06);
}

.af-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(135deg, #fcfdff 0%, #f6f9ff 58%, #ffffff 100%);
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.05);
}

.af-hero::before {
    content: '';
    position: absolute;
    top: -56px;
    right: -28px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0));
    pointer-events: none;
}

.af-hero::after {
    content: '';
    position: absolute;
    inset: auto 24px 0 auto;
    width: 110px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0), rgba(124, 58, 237, 0.46), rgba(245, 158, 11, 0.34), rgba(245, 158, 11, 0));
    pointer-events: none;
}

.af-hero-main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.af-hero-side {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.af-hero-kicker {
    position: static;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: var(--ls-border-radius, 12px);
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    color: #4f46e5;
    font-size: 11px;
    font-weight: 600;
}

.af-hero-kicker i {
    font-size: 13px;
}

.af-hero-main h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 30px;
    line-height: 1.08;
    color: #0f172a;
}

.af-hero-main h1 i {
    color: #4f46e5;
    font-size: 24px;
    flex-shrink: 0;
}

.af-hero-main p {
    max-width: 700px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #526079;
}


.af-side-note-panel::before {
    content: '';
    position: absolute;
    top: -44px;
    left: -24px;
    width: 154px;
    height: 154px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0));
    transform: rotate(18deg);
    pointer-events: none;
}

.af-side-note-panel::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 18px;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0));
    transform: rotate(-14deg);
    pointer-events: none;
}

.af-side-note-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.af-side-note-head {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
}

.af-side-note-title {
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    line-height: 1.2;
}

.af-side-note-copy {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.85;
    word-break: break-word;
    white-space: pre-line;
}

.af-store {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(225, 216, 255, 0.88);
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 255, 0.98));
    padding: 20px;
    box-shadow: 0 18px 34px rgba(50, 23, 99, 0.06);
}

.af-store::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    width: 170px;
    height: 170px;
    border-radius: 42px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(124, 58, 237, 0));
    transform: rotate(16deg);
}

.af-store::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 60px;
    width: 112px;
    height: 10px;
    border-radius: 15px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0));
}

.af-title-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    flex-shrink: 0;
}

.af-title-icon i {
    font-size: 18px;
    line-height: 1;
}

.af-store-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.af-store-head-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(203, 213, 225, 0.72);
}

.af-store-head-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.af-store-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    line-height: 1.2;
    color: #2d1654;
}

.af-store-subtitle {
    font-size: 12px;
    line-height: 1.7;
    color: #75678f;
}

.af-user-assets {
    display: flex;
    gap: 10px;
}

.af-user-assets span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    overflow: hidden;
    line-height: 25px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
}

.af-user-assets span::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
}

.af-user-assets span:nth-child(1) {
    border-color: rgba(245, 158, 11, 0.2);
    background: linear-gradient(135deg, #fff8df, #ffefb6);
    color: #a16207;
}

.af-user-assets span:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0));
}

.af-user-assets span:nth-child(2) {
    border-color: rgba(124, 58, 237, 0.16);
    background: linear-gradient(135deg, #faf5ff, #efe7ff);
    color: #6d28d9;
}

.af-user-assets span:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(124, 58, 237, 0));
}

.af-user-assets span:nth-child(3) {
    border-color: rgba(59, 130, 246, 0.14);
    background: linear-gradient(135deg, #f4f9ff, #e5f0ff);
    color: #1d4ed8;
}

.af-user-assets span:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0));
}

.af-store-head-side {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.af-tab-rail {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.af-tab-list {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 4px;
}

.af-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: #665c78;
    cursor: pointer;
    font-size: 12px;
    transition: .18s;
}

.af-tab::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.32), rgba(124, 58, 237, 0.42), rgba(124, 58, 237, 0));
    transition: opacity .18s ease, transform .18s ease;
    opacity: 0;
    transform: scaleX(0.72);
}

.af-tab:hover {
    transform: translateY(-1px);
    color: #7c3aed;
}

.af-tab.is-active {
    color: #7c3aed;
    font-weight: 700;
}

.af-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.af-store-toolbar {
    display: flex;
    min-width: 0;
    flex: 0 1 350px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.af-search-box {
    position: relative;
    display: flex;
    flex: 1 1 180px;
    align-items: center;
}

.af-search-box i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.af-search-box input {
    width: 100%;
    min-height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
}

.af-search-box input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.72);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

.af-sort-box {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 12px;
    background: #fff;
}

.af-sort-box select {
    min-width: 112px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}

.af-sort-box select:focus {
    outline: none;
}


.af-grid-wrap {
    min-height: 420px;
}

.af-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    height: 600px;
    align-content: start;
}

.af-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(203, 213, 225, 0.72);
}

.af-pagination-meta {
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.af-pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.af-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 10px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.af-page-btn:hover {
    border-color: rgba(79, 70, 229, 0.2);
    background: rgba(79, 70, 229, 0.06);
    color: var(--ls-primary, #4f46e5);
    transform: translateY(-1px);
}

.af-page-btn.is-active {
    border-color: transparent;
    background: var(--ls-primary, #4f46e5);
    color: #fff;
}

.af-page-btn.is-disabled,
.af-page-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.af-page-btn.is-disabled:hover,
.af-page-btn:disabled:hover {
    border-color: rgba(226, 232, 240, 0.94);
    background: #fff;
    color: #475569;
}

.af-card {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--ls-border-radius, 12px);
    border: 1px solid rgba(225, 216, 255, 0.62);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 255, 0.96));
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    align-items: stretch;
}

.af-card:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 18px 34px rgba(76, 29, 149, 0.1);
}

.af-card-flags {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    max-width: calc(100% - 16px);
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    pointer-events: none;
}

.af-card-flag {
    display: inline-flex;
    align-items: center;
    line-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.af-card-flag.is-warm {
    background: #fff0c8;
    color: #a16207;
}

.af-card-flag.is-green {
    background: #d9f7e9;
    color: #047857;
}

.af-card-flag.is-owned {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

.af-card-flag.is-dark {
    background: #2c1a50;
    color: #f8e7b0;
}

.af-card-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(180deg, #fff9eb, #f6efff);
    overflow: hidden;
}

.af-card-preview::before {
    content: '';
    position: absolute;
    inset: 12px auto auto 14px;
    width: 86px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.34), rgba(245, 158, 11, 0));
    pointer-events: none;
    opacity: 0.5;
}

.af-card-preview::after {
    content: '';
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(124, 58, 237, 0.02));
    transform: rotate(-16deg);
    pointer-events: none;
}

.af-card-preview-title-only {
    padding: 15px 10px 10px;
}

.af-card-title-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 56px;
}

.af-card-title-demo img {
    display: block;
    width: auto;
    height: 19px;
    max-width: 100%;
    object-fit: contain;
}

.af-card-title-demo-empty {
    font-size: 12px;
    color: #94a3b8;
}

/*YXYH-20260508-1115-纯文字头衔样式*/
/*YXYH-20260509-修改默认颜色为#1890ff和#d6e8fa*/
.af-card-title-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    min-height: 20px;
    border-radius: 4px;
    background-color: #d6e8fa;
    color: #1890ff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.af-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.af-card-name {
    font-size: 14px;
    color: #2f1e51;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
    font-weight: 700;
}

.af-card-desc {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.6;
    color: #8a7da6;
    padding: 0 5px;
}

.af-card-status,
.af-card-window {
    display: inline-flex;
    align-items: center;
    line-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.af-card-status {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    box-shadow: none;
}

.af-card-status.is-available {
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
}

.af-card-status.is-renewable {
    background: rgba(59, 130, 246, 0.14);
    color: #2563eb;
}

.af-card-status.is-owned {
    background: rgba(124, 58, 237, 0.14);
    color: #7c3aed;
}

.af-card-window {
    background: rgba(245, 240, 255, 0.96);
    color: #7b6d98;
    width: fit-content;
    margin-left: 5px;
}

.af-card-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed rgba(220, 210, 245, 0.8);
    padding: 10px;
}

.af-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.af-card-meta span.is-price {
    color: #a16207;
    font-weight: 700;
}

.af-card-meta span.is-price.is-free {
    color: #047857;
}

.af-card-meta span.is-price.is-money {
    color: #2563eb;
}

.af-card-meta span.is-price.is-extcredits {
    color: #6d28d9;
}

.af-card-meta i {
    font-size: 12px;
    color: currentColor;
}

.af-log-panel::before {
    content: '';
    position: absolute;
    top: -24px;
    left: -18px;
    width: 138px;
    height: 138px;
    border-radius: 34px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(124, 58, 237, 0));
    transform: rotate(18deg);
}

.af-log-panel::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 16px;
    width: 88px;
    height: 10px;
    border-radius: 999px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.42), rgba(245, 158, 11, 0));
}

.af-log-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 14px;
}

.af-log-head-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.af-log-title {
    color: #2d1654;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.af-log-feed {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 18px 18px;
}

.af-log-scroll {
    position: relative;
    height: 550px;
    overflow-y: auto;
    padding-right: 4px;
    margin-right: -4px;
    scroll-behavior: smooth;
}

.af-log-scroll::-webkit-scrollbar {
    width: 6px;
}

.af-log-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.34);
}

.af-log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.af-log-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 1px solid rgba(229, 221, 248, 0.92);
    border-radius: calc(var(--ls-border-radius, 12px) + 2px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .18s ease, background .18s ease;
}

.af-log-card:last-child {
    border-bottom: 1px solid rgba(229, 221, 248, 0.92);
}

.af-log-card:hover {
    transform: none;
    border-color: rgba(190, 172, 238, 0.92);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.88);
}

.af-log-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
}

.af-log-user-block {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.af-log-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.af-log-card-body {
    display: flex;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.ls-avatar-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% * var(--ls-avatar-frame-scale, 1.6));
    height: calc(100% * var(--ls-avatar-frame-scale, 1.6));
    transform: translate(-50%, -50%);
    display: block;
    pointer-events: none;
    z-index: 2;
}

.ls-avatar-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    border: unset;
}

.af-log-avatar {
    position: relative;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(246, 239, 255, 0.94));
    box-shadow: none;
}

.af-log-avatar .lsaf-avatar-hook {
    display: block;
    width: 100%;
    height: 100%;
}

.af-log-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-log-user-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
    flex-wrap: nowrap;
}

.af-log-user-title {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex: 0 0 auto;
    order: 2;
}

.af-log-user-title img {
    display: block;
    width: auto;
    height: 17px;
}


.af-log-user {
    display: block;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #2f1e51;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.af-log-action {
    margin: 0;
    min-width: 0;
    color: #6f6487;
    font-size: 12px;
    line-height: 1.7;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.af-log-time {
    color: #9b90b3;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.af-log-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-height: 100%;
    padding: 22px 18px;
    border: 1px dashed rgba(203, 213, 225, 0.9);
    border-radius: calc(var(--ls-border-radius, 12px) + 2px);
    background: rgba(255, 255, 255, 0.88);
}

.af-log-empty-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(241, 245, 249, 0.98);
    color: #475569;
    font-size: 16px;
    box-shadow: none;
}

.af-log-empty strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.4;
}

.af-log-empty span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.af-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed rgba(203, 213, 225, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: rgba(248, 250, 252, 0.92);
    color: #6b7280;
    text-align: center;
    min-height: 280px;
    padding: 34px 24px;
}

.af-empty-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed rgba(203, 213, 225, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: rgba(255, 255, 255, 0.98);
    color: #6b7280;
    text-align: center;
    min-height: 184px;
    padding: 24px 20px;
}

.af-empty-title {
    font-size: 14px;
    color: #1f2937;
}

.af-empty span,
.af-empty-compact span {
    font-size: 12px;
    line-height: 1.7;
    color: #64748b;
}

.af-empty i,
.af-empty-compact i {
    font-size: 30px;
    color: #cbd5e1;
}

.af-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--ls-border-radius, 12px);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: transform .18s ease, opacity .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.af-btn:hover {
    transform: translateY(-2px);
}

.af-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.af-btn-primary {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #fff;
    box-shadow: 0 8px 16px rgba(96, 165, 250, 0.18);
}

.af-btn-ghost {
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: #fff;
    color: #1f2937;
}

.af-btn-renew {
    border: 1px solid rgba(251, 146, 60, 0.32);
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #ea580c;
    box-shadow: 0 8px 16px rgba(251, 146, 60, 0.12);
}

.af-btn-gift {
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    color: #6d28d9;
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.1);
}

.af-btn-gift:hover {
    border-color: rgba(109, 40, 217, 0.34);
    color: #5b21b6;
}

.af-btn:focus-visible,
.af-tab:focus-visible,
.af-card:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.af-confirm-dialog-overlay {
    z-index: 10040;
}

.af-manage-confirm-overlay {
    z-index: 10040;
    background: transparent;
}

.af-confirm-dialog-overlay .ls-dialog,
.af-manage-confirm-overlay .ls-dialog {
    min-width: 420px;
    border-radius: var(--ls-border-radius, 12px);
    border: 1px solid rgba(226, 232, 240, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.14);
}

.af-confirm-dialog-overlay .ls-dialog-body,
.af-manage-confirm-overlay .ls-dialog-body {
    padding: 30px 28px 18px;
}

.af-confirm-dialog-overlay .ls-dialog-footer,
.af-manage-confirm-overlay .ls-dialog-footer {
    justify-content: center;
    gap: 12px;
    padding: 0 28px 26px;
}

.af-confirm-dialog-overlay .ls-dialog-btn,
.af-manage-confirm-overlay .ls-dialog-btn {
    min-width: 128px;
    min-height: 44px;
    border-radius: var(--ls-border-radius, 12px);
    font-size: 14px;
    font-weight: 700;
}

.af-confirm-dialog-overlay .ls-dialog-btn-cancel,
.af-manage-confirm-overlay .ls-dialog-btn-cancel {
    background: #fff;
    border-color: rgba(226, 232, 240, 0.96);
    color: #475569;
}

.af-confirm-dialog-overlay .ls-dialog-btn-primary,
.af-manage-confirm-overlay .ls-dialog-btn-primary {
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.18);
}

.af-confirm-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.af-confirm-dialog-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    color: #f59e0b;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.14);
}

.af-confirm-dialog-icon i {
    font-size: 24px;
}

.af-confirm-dialog-title {
    display: block;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.af-confirm-dialog-summary {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}


.af-detail-mask {
    position: fixed;
    inset: 0;
    z-index: 101;
    background: rgba(15, 23, 42, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.YXYH-pc-page-title-shop.is-detail-open .af-detail-mask {
    opacity: 1;
    pointer-events: auto;
}

.af-detail-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 102;
    width: min(520px, calc(100vw - 48px));
    max-height: calc(100vh - 80px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
    transform: translate(-50%, calc(-50% + 20px)) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}

.YXYH-pc-page-title-shop[data-tab="my"] .af-detail-modal {
    width: min(520px, calc(100vw - 48px));
}

.af-detail-modal.is-compact-modal {
    width: min(340px, calc(100vw - 48px));
}

.YXYH-pc-page-title-shop[data-tab="my"] .af-detail-actions.is-my-compact-actions {
    justify-content: stretch;
}

.YXYH-pc-page-title-shop[data-tab="my"].is-detail-open .af-detail-modal.is-compact-modal {
    width: min(340px, calc(100vw - 48px));
}

.YXYH-pc-page-title-shop.is-detail-open .af-detail-modal {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.af-detail-grid {
    display: block;
    margin: 0 auto;
}

.af-detail-preview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px;
    border-radius: var(--ls-border-radius, 12px);
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(244, 248, 255, 0.98));
}

.af-detail-avatar {
    display: none;
}

.af-detail-frame {
    display: none;
}

.af-detail-preview-card-title-shop {
    overflow: hidden;
    gap: 18px;
    border: 1px solid rgba(228, 219, 255, 0.96);
    background: linear-gradient(180deg, #fff9eb, #f6efff);
}

.af-detail-preview-card-title-shop::before {
    content: '';
    position: absolute;
    inset: 14px auto auto 16px;
    width: 112px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.34), rgba(245, 158, 11, 0));
    pointer-events: none;
    opacity: 0.58;
}

.af-detail-preview-card-title-shop::after {
    content: '';
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.02));
    transform: rotate(-16deg);
    pointer-events: none;
}

.af-detail-title-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
}

.af-detail-demo-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.af-detail-demo-avatar {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.af-detail-demo-avatar-wrap.has-avatar-frame {
    overflow: visible;
}

.af-detail-demo-avatar-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(40px * var(--ls-avatar-frame-scale, 1.6));
    height: calc(40px * var(--ls-avatar-frame-scale, 1.6));
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.af-detail-demo-avatar-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.af-detail-demo-user {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.af-detail-demo-name-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.af-detail-demo-name {
    font-size: 16px;
    line-height: 1.2;
    color: #0f172a;
}

.af-detail-demo-title-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    min-height: 22px;
}

.af-detail-demo-title-image {
    display: block;
    height: 17px;
    object-fit: contain;
}

.af-detail-demo-title-empty {
    font-size: 12px;
    color: #94a3b8;
}

/*YXYH-20260508-1115-详情弹窗纯文字头衔样式*/
/*YXYH-20260509-修改默认颜色为#1890ff和#d6e8fa*/
.af-detail-demo-title-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    min-height: 20px;
    border-radius: 4px;
    background-color: #d6e8fa;
    color: #1890ff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.af-detail-preview-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.af-detail-preview-copy strong {
    font-size: 20px;
    line-height: 1.3;
    color: #0f172a;
}

.af-detail-preview-copy span {
    font-size: 13px;
    line-height: 1.75;
    color: #64748b;
}

.af-detail-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
}

.af-detail-info-simple {
    gap: 16px;
}

.af-detail-actions {
    display: flex;
    gap: 10px;
}

.af-detail-actions.is-my-actions .af-btn {
    flex: 1 1 0;
}

.af-detail-actions.is-my-actions .af-btn:last-child {
    flex: 2 1 0;
}

.af-detail-info-simple .af-detail-actions .af-btn {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
}

.af-detail-purchase {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: var(--ls-border-radius, 12px);
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
    box-shadow: 0 10px 22px rgba(148, 163, 184, 0.07);
}

.af-purchase-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.af-purchase-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    line-height: 30px;
}

.af-purchase-price-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #94a9c8;
    font-size: 12px;
}

.af-purchase-price-item {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    line-height: 24px;
    font-weight: 700;
}

.af-purchase-price-item.is-monthly {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.af-purchase-price-item.is-permanent {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.af-purchase-price-item.is-owned {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.af-purchase-price-item.is-expire {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.af-purchase-price-divider {
    color: #cbd5e1;
}

.af-purchase-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--ls-border-radius, 12px);
    background: rgba(255, 87, 34, 0.08);
    border: 1px solid rgba(255, 87, 34, 0.22);
    color: #ff5722;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.af-purchase-summary.is-my-summary {
    align-items: flex-start;
}

.af-purchase-expire-text {
    justify-content: flex-end;
    color: #fb7185;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    line-height: 1.5;
}

.af-detail-type-hint {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--ls-border-radius, 14px);
    border: 1px solid rgba(226, 232, 240, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.af-detail-type-hint.is-free {
    border-color: rgba(22, 163, 74, 0.18);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.98));
}

.af-detail-type-hint.is-renew {
    border-color: rgba(255, 87, 34, 0.18);
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98));
}

.af-detail-type-hint.is-renew .af-detail-type-badge {
    background: rgba(255, 87, 34, 0.12);
    color: #ff5722;
}

.af-detail-type-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.af-detail-type-hint.is-free .af-detail-type-badge {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.af-detail-type-hint.is-permanent .af-detail-type-badge {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.af-detail-type-copy {
    font-size: 13px;
    line-height: 1.7;
    color: #64748b;
}

.af-months-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.af-months-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: var(--ls-border-radius, 12px);
    background: #fff;
    color: #475569;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.af-months-btn.is-active,
.af-months-btn:hover {
    border-color: rgba(79, 70, 229, 0.2);
    background: rgba(79, 70, 229, 0.06);
    color: var(--ls-primary, #4f46e5);
    transform: translateY(-1px);
}

.af-hero {
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.af-hero-main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.af-hero-side {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.af-hero-kicker {
    position: static;
    right: auto;
    top: auto;
}

.af-manage-entry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: #fff;
    box-shadow: 0 14px 26px rgba(124, 58, 237, 0.22);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.af-manage-entry:hover,
.af-manage-entry.is-active {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(124, 58, 237, 0.28);
}

.af-side-manage-slot {
    display: none;
}

.af-side-manage-slot.is-open {
    display: block;
}

.af-side-default {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.af-side-default.is-hidden {
    display: none;
}

.af-manage-panel {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 245, 255, 0.98));
}

.af-manage-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.af-manage-close {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: var(--ls-border-radius, 12px);
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    cursor: pointer;
}

.af-manage-panel-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.af-manage-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.af-manage-filter {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: rgba(248, 250, 252, 0.96);
    min-width: 0;
    flex: 1;
    justify-content: space-around;
}

.af-manage-filter-btn {
    flex: 1;
    height: 30px;
    border: 0;
    border-radius: var(--ls-border-radius, 12px);
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.af-manage-filter-btn.is-active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}

.af-manage-add {
    width: auto;
    min-width: 0;
    min-height: 42px;
    flex: 0 1 auto;
    flex-shrink: 1;
}

.af-manage-add span {
    white-space: nowrap;
}

.af-manage-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 580px;
    overflow: auto;
    align-content: start;
}

.af-manage-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 18px 12px 14px;
    border-radius: var(--ls-border-radius, 12px);
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.af-manage-item:hover {
    border-color: rgba(124, 58, 237, 0.24);
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

.af-manage-item-preview {
    position: relative;
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(180deg, #fff, #f8f5ff);
    overflow: hidden;
}

.af-manage-item-preview-title {
    padding: 12px 10px;
}

.af-manage-item-preview-title img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 20px;
    object-fit: contain;
}

.af-manage-item-title-empty {
    font-size: 12px;
    color: #94a3b8;
}

/*YXYH-20260508-1115-管理列表纯文字头衔样式*/
/*YXYH-20260509-修改默认颜色为#1890ff和#d6e8fa*/
.af-manage-item-title-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    min-height: 20px;
    border-radius: 4px;
    background-color: #d6e8fa;
    color: #1890ff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.af-manage-item-main {
    display: flex;
    min-width: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}

.af-manage-item-name {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.5;
}

.af-manage-item-fee {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    max-width: calc(100% - 42px);
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px 0 var(--ls-border-radius, 12px) 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    z-index: 2;
}

.af-manage-item-fee.is-paid {
    color: #f97316;
}

.af-manage-item-fee.is-free {
    color: #16a34a;
}

.af-manage-item-users {
    display: block;
    width: 100%;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.af-manage-status {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
    box-shadow: 0 10px 22px rgba(148, 163, 184, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.af-manage-status::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 999px;
}

.af-manage-status.is-online::after {
    background: radial-gradient(circle at 35% 35%, #86efac 0%, #22c55e 62%, #15803d 100%);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.12), 0 0 16px rgba(34, 197, 94, 0.22);
}

.af-manage-status.is-offline::after {
    background: radial-gradient(circle at 35% 35%, #fdba74 0%, #f97316 58%, #dc2626 100%);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.12), 0 0 16px rgba(249, 115, 22, 0.22);
}

.af-manage-empty,
.af-manage-empty-inline,
.af-manage-empty-simple {
    padding: 18px 14px;
}

.af-manage-empty-simple {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    color: #64748b;
    text-align: center;
}

.af-manage-empty-simple span:last-child {
    font-size: 13px;
    line-height: 1.6;
}

.af-manage-empty-inline {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    height: 100%;
    gap: 8px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
}

.af-card-status.is-renew {
    background: rgba(255, 87, 34, 0.12);
    color: #ff5722;
}

.af-card-status.is-wearing {
    top: unset;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    bottom: 7px;
    left: unset;
    right: 5px;
}

.af-manage-dialog-overlay {
    z-index: 10030;
}

body.af-manage-dialog-open .ls-at-overlay {
    z-index: 10031;
}

.af-manage-dialog-overlay .ls-dialog {
    width: min(580px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border-radius: var(--ls-border-radius, 12px);
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.af-manage-dialog-overlay .ls-dialog-body {
    padding: 0;
    overflow: hidden;
}

.af-manage-dialog-panel {
    max-height: calc(100vh - 48px);
    overflow: hidden;
}

.af-manage-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.af-manage-dialog-head strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    color: #0f172a;
}

.af-manage-dialog-body {
    overflow: auto;
    padding: 18px;
    max-height: calc(100vh - 140px);
    background: #fff;
}

.af-manage-dialog-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding: 4px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.92));
    align-items: center;
}

.af-manage-dialog-tab {
    flex: 1;
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--ls-border-radius, 12px);
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.af-manage-dialog-tab.is-active {
    background: #fff;
    color: #0f172a;
}

.af-manage-dialog-panels {
    display: flex;
    flex-direction: column;
}

.af-manage-dialog-tab-panel {
    display: none;
    min-height: 500px;
    height: 500px;
}

.af-manage-dialog-tab-panel.is-active {
    display: flex;
    flex-direction: column;
}

.af-manage-form-body,
.af-manage-users-list {
    flex: 1 1 auto;
    min-height: 0;
}

/*YXYH-20260508-1230-管理表单分区块布局*/
.af-manage-form-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.af-manage-form-section-preview {
    display: grid;
    grid-template-columns: minmax(248px, 292px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.af-manage-form-section + .af-manage-form-section {
    padding-top: 14px;
    border-top: 1px dashed rgba(203, 213, 225, 0.72);
}

.af-manage-form-grid,
.af-manage-form-grid-basic,
.af-manage-form-grid-config,
.af-manage-form-grid-title-config {
    display: grid;
    gap: 12px;
}

.af-manage-form-grid-basic,
.af-manage-form-grid-config {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
}

/*YXYH-20260508-1310-头衔类型/颜色/地址同一行flex布局*/
.af-manage-form-grid-title-config {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: start;
}

.af-manage-form-grid-title-config .af-manage-field {
    flex: 1 1 0;
    min-width: 0;
}

.af-manage-form-grid-title-config .af-manage-field-title-image {
    flex: 2 1 0;
}

.af-manage-form-grid-config {
    margin-top: 14px;
}

.af-manage-field.is-disabled {
    opacity: 0.56;
}

.af-manage-field.is-hidden {
    display: none;
}

.af-manage-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.af-manage-field-full {
    grid-column: 1 / -1;
}

/*YXYH-20260508-1730-自定义颜色选择器样式*/
.af-manage-field-color .af-color-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.af-manage-field-color .af-color-preview-btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    background: #fff;
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%), linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e0e0e0 75%), linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
}

.af-manage-field-color .af-color-text {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-family: monospace;
}

/* picker panel (appended to body) */
.af-color-panel {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px 0 rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05);
    z-index: 99999;
    width: 260px;
    padding: 12px;
}

.af-color-panel-main {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.af-color-palette {
    flex: 1;
}

.af-color-palette-main {
    width: 100%;
    height: 140px;
    position: relative;
    border-radius: 4px;
    cursor: crosshair;
    box-shadow: inset 0 0 5px rgba(0,0,0,.4);
    background: #f00;
}

.af-color-palette-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(to bottom, transparent, #000), linear-gradient(to right, #fff, transparent);
}

.af-color-palette-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.af-color-hue {
    width: 24px;
    flex-shrink: 0;
}

.af-color-hue-bar {
    width: 24px;
    height: 140px;
    border-radius: 4px;
    cursor: ns-resize;
    background: linear-gradient(to bottom, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
    position: relative;
}

.af-color-hue-handle {
    position: absolute;
    right: 12px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0,0,0,.4);
    transform: translateY(-50%);
    pointer-events: none;
    width: 24px;
    cursor: pointer;
}

.af-color-panel .af-color-presets {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.af-color-panel .af-color-presets button {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 3px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s;
}

.af-color-panel .af-color-presets button:hover {
    transform: scale(1.2);
}

.af-manage-field span {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.af-manage-field input,
.af-manage-field select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: #fff;
    color: #0f172a;
    font-size: 13px;
}

.af-manage-field-tip {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.af-manage-frame-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}

.af-manage-frame-input {
    flex: 1;
    min-width: 0;
}

.af-manage-frame-upload-btn {
    flex: 0 0 auto;
}

.af-manage-title-preview {
    width: 100%;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 116px;
    padding: 18px 18px 18px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 255, 0.96) 62%, rgba(239, 246, 255, 0.96));
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.af-manage-title-preview-user {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
}

.af-manage-title-preview-avatar-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.af-manage-title-preview-avatar {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.af-manage-title-preview-avatar-wrap.has-avatar-frame {
    overflow: visible;
}

.af-manage-title-preview-avatar-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(46px * var(--ls-avatar-frame-scale, 1.6));
    height: calc(46px * var(--ls-avatar-frame-scale, 1.6));
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.af-manage-title-preview-avatar-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.af-manage-title-preview-meta {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.af-manage-title-preview-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    align-self: flex-start;
    gap: 8px;
    width: auto;
    max-width: 100%;
    min-width: 0;
}

.af-manage-title-preview-name {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.af-manage-title-preview-image {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    min-height: 24px;
    min-width: auto;
    max-width: none;
    white-space: nowrap;
}

.af-manage-title-preview-image img {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 22px;
    object-fit: contain;
}

.af-manage-title-preview-placeholder {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.72);
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.af-manage-title-preview-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    color: #64748b;
}

.af-manage-title-preview-post-meta .ls-dot {
    flex: 0 0 auto;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 720px) {
    .af-manage-form-section-preview {
        grid-template-columns: 1fr;
    }

    .af-manage-form-grid-title-config {
        flex-wrap: wrap;
    }

    .af-manage-form-grid-title-config .af-manage-field,
    .af-manage-form-grid-title-config .af-manage-field-title-image {
        flex: 1 1 100%;
    }

    .af-manage-frame-upload {
        flex-direction: column;
        align-items: stretch;
    }

    .af-manage-frame-upload-btn {
        width: 100%;
    }
}

.af-manage-form-actions,
.af-manage-user-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.af-manage-form-actions {
    margin-top: 16px;
    justify-content: flex-end;
}

.af-manage-users-actions {
    margin-top: 16px;
    justify-content: flex-end;
}

.af-manage-users-actions .js-af-manage-clear-users,
.af-manage-form-actions .js-af-manage-delete {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.af-manage-users-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
    overflow: auto;
}

.af-manage-user-item {
    position: relative;
    min-height: 148px;
    padding: 16px 12px 12px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--ls-border-radius, 12px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.af-manage-user-item:hover {
    border-color: rgba(124, 58, 237, 0.22);
    box-shadow: 0 16px 32px rgba(148, 163, 184, 0.14);
}

.af-manage-grant-dialog {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.af-manage-grant-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.af-manage-user-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    height: 100%;
    text-align: center;
}

.af-manage-user-main img {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.af-manage-user-main strong {
    display: block;
    width: 100%;
    max-width: 100%;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.af-manage-user-main span {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.af-manage-user-expire {
    color: #64748b;
}

.af-manage-user-expire.is-permanent {
    color: #16a34a;
}

.af-manage-user-expire.is-expiring-mid {
    color: #f59e0b;
}

.af-manage-user-expire.is-expiring-soon {
    color: #ef4444;
}

.af-manage-user-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.af-manage-user-item:hover .af-manage-user-remove,
.af-manage-user-item:focus-within .af-manage-user-remove {
    opacity: 1;
    pointer-events: auto;
}

.af-manage-user-remove:hover {
    background: rgba(239, 68, 68, 0.16);
    transform: scale(1.04);
}

/*YXYH-20260508-1120-管理表单预览纯文字头衔样式*/
/*YXYH-20260509-修改默认颜色为#1890ff和#d6e8fa*/
.af-manage-title-preview-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    min-height: 20px;
    border-radius: 4px;
    background-color: #d6e8fa;
    color: #1890ff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.af-manage-title-preview.has-text-title .af-manage-title-preview-image {
    display: inline-flex;
}
