html, body {}

/* 铭牌展示组件 */
.nameplate-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
    cursor: default;
    position: relative;
    top: -3px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nameplate-badge-gold {
    background: transparent;
    color: #d97706;
    box-shadow: none;
    border: none;
}

.nameplate-badge-purple {
    background: transparent;
    color: #7c3aed;
    box-shadow: none;
    border: none;
}

.nameplate-badge-icon {
    font-size: 14px;
    font-weight: 700;
}

.nameplate-badge-text {
    font-size: 10px;
}

.nameplate-badge-left {
    margin-right: 4px;
}

.nameplate-badge-right {
    margin-left: 4px;
}

.nameplate-badge-permanent {
    font-size: 9px;
    background: rgba(255,255,255,0.25);
    padding: 0px 3px;
    border-radius: 3px;
    margin-left: 2px;
}

.nameplate-badge-days {
    font-size: 9px;
    opacity: 0.85;
    margin-left: 2px;
}

@keyframes np-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes np-gold-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(245,158,11,0.35), inset 0 1px 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 6px 28px rgba(245,158,11,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
}

@keyframes np-purple-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(124,58,237,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }
    50% { box-shadow: 0 6px 28px rgba(124,58,237,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
}

@keyframes np-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes np-sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes np-btn-glow-gold {
    0%, 100% { box-shadow: 0 2px 8px rgba(245,158,11,0.2); }
    50% { box-shadow: 0 2px 16px rgba(245,158,11,0.4); }
}

@keyframes np-btn-glow-purple {
    0%, 100% { box-shadow: 0 2px 8px rgba(124,58,237,0.2); }
    50% { box-shadow: 0 2px 16px rgba(124,58,237,0.4); }
}

.np-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.np-card:hover {
    transform: translateY(-2px);
}

.np-card-gold {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 30%, #d97706 70%, #b45309 100%);
    border: 1.5px solid rgba(254,243,199,0.6);
    animation: np-gold-glow 3s ease-in-out infinite;
}

.np-card-gold:hover {
    box-shadow: 0 8px 32px rgba(245,158,11,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.np-card-purple {
    background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 30%, #7c3aed 70%, #6d28d9 100%);
    border: 1.5px solid rgba(221,214,254,0.5);
    animation: np-purple-glow 3s ease-in-out infinite;
}

.np-card-purple:hover {
    box-shadow: 0 8px 32px rgba(124,58,237,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}

.np-card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 60%);
    animation: np-shimmer 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: 16px;
}

.np-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 20% 80%, white 1px, transparent 1px), radial-gradient(circle at 80% 20%, white 1px, transparent 1px), radial-gradient(circle at 50% 50%, white 0.5px, transparent 0.5px);
    background-size: 40px 40px, 60px 60px, 30px 30px;
    pointer-events: none;
    border-radius: 16px;
}

.np-card-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    opacity: 0.15;
}

.np-card-corner-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-radius: 16px 0 0 0;
}

.np-card-corner-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    border-radius: 0 0 16px 0;
}

.np-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.np-icon-gold {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border: 1.5px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.3);
    animation: np-icon-float 4s ease-in-out infinite;
    font-size: 22px;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-icon-purple {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
    border: 1.5px solid rgba(255,255,255,0.35);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.25);
    animation: np-icon-float 4.5s ease-in-out infinite;
    font-size: 22px;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-icon-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;
}

.np-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: np-sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.np-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.np-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

.np-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.np-tag-gold {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.np-tag-purple {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
}

.np-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.np-subtitle-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.np-status-tag {
    display: inline-flex;
    align-items: center;
    padding: 0px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.np-status-owned {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
}

.np-status-remaining {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

.np-btn {
    padding: 9px 20px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.np-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.np-btn:hover::before {
    left: 100%;
}

.np-btn-gold {
    background: rgba(255,255,255,0.95);
    color: #b45309;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.np-btn-gold:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
    transform: translateY(-1px);
}

.np-btn-gold:active {
    transform: translateY(0);
}

.np-btn-purple {
    background: rgba(255,255,255,0.95);
    color: #6d28d9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.np-btn-purple:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
    transform: translateY(-1px);
}

.np-btn-purple:active {
    transform: translateY(0);
}

.np-btn-owned {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    cursor: default;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
}

.np-btn-owned:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: none;
    transform: none;
}

.np-btn-owned::before {
    display: none;
}

.np-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
