/* ==========================================================================
   HOLO-CARD-STUDIO: 3D Holographic Trading Card Engine for IELTS Achievements
   Pure CSS 3D Perspective + Dynamic Holographic Foil Shader
   ========================================================================== */

/* 展厅模态框大屏适配：注入主题专属高清水彩手账大背景板 */
.achievements-modal-content.holo-gallery-modal {
    max-width: 1160px !important;
    width: 95vw !important;
    max-height: 90vh !important;
    background: #fffdf9 var(--holo-gallery-backdrop, url('../assets/themes/chiikawa/cards/board_achievements.jpg')) center center / cover no-repeat !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 60px -15px rgba(22, 34, 60, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
}

/* 展厅头部 HUD：通透磨砂，透出大背景板 */
.holo-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px 18px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.65);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    z-index: 10;
}

.holo-gallery-title-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.holo-gallery-title-icon {
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
    animation: holo-trophy-float 3s ease-in-out infinite;
}

@keyframes holo-trophy-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(4deg); }
}

.holo-gallery-title-text h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.holo-gallery-title-text p {
    margin: 3px 0 0;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

/* 收集进度与待领赏汇总 */
.holo-gallery-stats {
    display: flex;
    align-items: center;
    gap: 14px;
}

.holo-stat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.holo-stat-pill.claimable {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
    color: #b45309;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.holo-stat-pill.claimable:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}

.holo-stat-bar-box {
    width: 90px;
    height: 7px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.holo-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 筛选与分类 Tab：磨砂半透明胶囊导航 (防压缩与饱满药丸) */
.holo-gallery-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    overflow-x: auto;
    flex-shrink: 0 !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
}

.holo-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 6px 18px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 999px !important;
    border: 1.5px solid transparent !important;
    background: rgba(255, 255, 255, 0.5) !important;
    color: #475569 !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.holo-nav-btn:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #0f172a !important;
    border-color: rgba(203, 213, 225, 0.8) !important;
    transform: translateY(-1px);
}

.holo-nav-btn.active {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* 卡牌网格容器 */
.holo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 22px;
    padding: 24px 28px 36px;
    overflow-y: auto;
    flex: 1;
    perspective: 1200px; /* 激活 3D 透视 */
}

/* ==========================================================================
   单张 3D 全息集换式闪卡核心结构 (Full-Bleed Trading Card Architecture)
   像实体集换式卡牌 (如鬼灭之刃·善逸 3D 闪卡) 一样：全画幅原画 + 悬浮微光 HUD
   ========================================================================== */
.holo-card-item {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    background: #0f172a;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transform-style: flat;
    /* 仅在悬浮时临时进入 3D，避免整个滚动网格长期保持大量合成层。 */
    will-change: auto;
    transform: none;
    transition: transform 0.15s ease-out, box-shadow 0.2s ease;
    overflow: hidden;
}

.holo-card-item.tier-1 {
    box-shadow: 0 12px 28px -5px rgba(15, 23, 42, 0.32), 0 0 0 1px rgba(203, 213, 225, 0.5);
}

.holo-card-item.tier-2 {
    box-shadow: 0 14px 32px -5px rgba(14, 165, 233, 0.38), 0 0 0 1.5px rgba(56, 189, 248, 0.65);
}

.holo-card-item.tier-3 {
    box-shadow: 0 18px 42px -6px rgba(245, 158, 11, 0.52), 0 0 0 2px #fbbf24, 0 0 24px rgba(245, 158, 11, 0.35);
}

.holo-card-item:hover {
    box-shadow: 0 24px 50px -8px rgba(15, 23, 42, 0.55), 0 0 0 2px rgba(56, 189, 248, 0.8), 0 0 28px rgba(56, 189, 248, 0.35);
    z-index: 5;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.holo-card-item:focus-visible {
    outline: 3px solid rgba(125, 211, 252, 0.95);
    outline-offset: 4px;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
    transform-style: preserve-3d;
}

.holo-card-item.tier-3:hover {
    box-shadow: 0 28px 56px -8px rgba(245, 158, 11, 0.7), 0 0 0 3px #f59e0b, 0 0 36px rgba(245, 158, 11, 0.55);
}

/* 卡牌锁定灰度态 */
.holo-card-item.locked {
    opacity: 0.88;
}

.holo-card-item.locked:hover {
    opacity: 0.98;
}

/* ==========================================================================
   1. 金属集换式包边与光蚀倒角 (Collector Metallic Bezel - 浮空在物理卡面最顶层)
   ========================================================================== */
.holo-card-frame {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 6;
    transform: none;
    transition: all 0.25s ease;
}

.holo-card-item:hover .holo-card-frame,
.holo-card-item:focus-visible .holo-card-frame {
    transform: translateZ(30px);
}

.tier-1 .holo-card-frame {
    border: 1.5px solid rgba(226, 232, 240, 0.75);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 8px rgba(255, 255, 255, 0.15);
}

.tier-2 .holo-card-frame {
    border: 1.5px solid rgba(56, 189, 248, 0.85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 14px rgba(56, 189, 248, 0.35);
}

.tier-3 .holo-card-frame {
    border: 2px solid #fbbf24;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 18px rgba(245, 158, 11, 0.55);
}

/* ==========================================================================
   2. 全画幅原画插画层 (100% Full-Bleed Edge-to-Edge - 景深基底层)
   ========================================================================== */
.holo-card-art-full {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    /* 采用高质感深色底色，即使网络延迟也绝不露出白色方块 */
    background: #0f172a;
    transform: none;
}

.tier-3 .holo-card-art-full {
    background: #181206;
}

/* 彻底废除浅白骨架屏，防止任何滑屏白底遮挡 */
.holo-card-art-full::before {
    display: none !important;
}

.holo-card-art-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    /* 强制立即可见，绝对不设透明度等待或白底延迟 */
    opacity: 1 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: none !important;
    filter: none;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: auto;
}

.holo-card-item:hover .holo-card-art-img {
    transform: scale(1.04);
    will-change: transform;
}

/* 4 大科目全景专属沉浸舞台 (针对通用成就卡：宇宙星空/流光舞台) */
.holo-card-thematic-stage {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: inherit;
    transform: translateZ(0px);
}

.holo-card-thematic-stage::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    animation: holo-stage-spin 24s linear infinite;
    animation-play-state: paused;
    opacity: 0.42;
}

.holo-card-item:hover .holo-card-thematic-stage::before,
.holo-inspector-card .holo-card-thematic-stage::before {
    animation-play-state: running;
}

@keyframes holo-stage-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.holo-card-thematic-stage.category-listening {
    background: radial-gradient(circle at 50% 38%, #0284c7 0%, #0369a1 35%, #082f49 70%, #030712 100%);
}

.holo-card-thematic-stage.category-writing {
    background: radial-gradient(circle at 50% 38%, #e11d48 0%, #be123c 35%, #4c0519 70%, #090205 100%);
}

.holo-card-thematic-stage.category-reading {
    background: radial-gradient(circle at 50% 38%, #059669 0%, #047857 35%, #022c22 70%, #02120d 100%);
}

.holo-card-thematic-stage.category-economy {
    background: radial-gradient(circle at 50% 38%, #d97706 0%, #b45309 35%, #451a03 70%, #120701 100%);
}

/* 普通成就 3D 浮雕勋章徽章 - 凸出景深层 */
.holo-card-mascot-badge {
    width: 86px;
    height: 86px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    margin-top: -36px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    transform: translateZ(24px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.8), inset 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.holo-card-item:hover .holo-card-mascot-badge {
    transform: scale(1.15) rotate(4deg) translateZ(32px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.95);
}

.holo-card-mascot-badge.category-listening {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(56, 189, 248, 0.6) 100%);
    border: 2px solid #38bdf8;
    color: #e0f2fe;
    filter: drop-shadow(0 4px 16px rgba(14, 165, 233, 0.6));
}

.holo-card-mascot-badge.category-writing {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(251, 113, 133, 0.6) 100%);
    border: 2px solid #fb7185;
    color: #ffe4e6;
    filter: drop-shadow(0 4px 16px rgba(225, 29, 72, 0.6));
}

.holo-card-mascot-badge.category-reading {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(74, 222, 128, 0.6) 100%);
    border: 2px solid #4ade80;
    color: #dcfce7;
    filter: drop-shadow(0 4px 16px rgba(22, 163, 74, 0.6));
}

.holo-card-mascot-badge.category-economy {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(245, 158, 11, 0.6) 100%);
    border: 2px solid #f59e0b;
    color: #fef3c7;
    filter: drop-shadow(0 4px 16px rgba(217, 119, 6, 0.6));
}

/* ==========================================================================
   3. RuiC-card-skill 架构：动态彩虹光谱扫光与星芒闪粉 (Prismatic Holo Shader)
   彻底根除死白过曝：以深邃饱满的 8-频动态彩虹条纹 + 视角扫光带 + 微钻星粉覆盖
   ========================================================================== */
.holo-card-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: color-dodge;
    opacity: calc(var(--holo-opacity, 0.05) * 0.34 + 0.04);
    will-change: opacity, background-position, transform;
    transition: opacity 0.25s ease-out;
    transform: none;

    /* RuiC 8-频动态彩虹光谱 + 视角流动扫光条纹 (不含大面积纯白遮罩，保持原画清晰度) */
    background-image:
        linear-gradient(
            var(--foil-angle, 125deg),
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) calc(var(--pointer-x-num, 50) * 1% - 16%),
            rgba(255, 255, 255, 0.38) calc(var(--pointer-x-num, 50) * 1%),
            rgba(255, 255, 255, 0) calc(var(--pointer-x-num, 50) * 1% + 16%),
            rgba(255, 255, 255, 0) 100%
        ),
        repeating-linear-gradient(
            var(--foil-angle, 125deg),
            rgba(255, 0, 110, 0.28) 0px,
            rgba(255, 140, 0, 0.28) 22px,
            rgba(255, 220, 0, 0.28) 44px,
            rgba(0, 240, 120, 0.28) 66px,
            rgba(0, 200, 255, 0.28) 88px,
            rgba(140, 50, 255, 0.28) 110px,
            rgba(255, 0, 160, 0.28) 132px,
            rgba(255, 0, 110, 0.28) 154px
        );
    background-size: 200% 200%, 100% 100%;
    background-position: calc(var(--pointer-x, 50%) * 1.2) calc(var(--pointer-y, 50%) * 1.2), 0 0;
}

.holo-card-item:hover .holo-card-glare,
.holo-card-item:focus-visible .holo-card-glare {
    transform: translateZ(14px);
}

.holo-card-item:hover .holo-card-glare {
    opacity: 0.48;
}

.tier-3 .holo-card-glare {
    opacity: calc(var(--holo-opacity, 0.08) * 0.42 + 0.08);
}

.tier-3:hover .holo-card-glare {
    opacity: 0.62;
}

/* RuiC 星芒碎钻闪粉层 (Micro-Sparkle Flake Glitter Matrix) */
.holo-card-sparkles {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: calc(var(--holo-opacity, 0.05) * 0.55 + 0.08);
    transform: none;
    background-image:
        radial-gradient(1.5px 1.5px at 16% 20%, rgba(255, 255, 255, 0.95) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 34% 66%, rgba(254, 240, 138, 0.95) 0%, transparent 100%),
        radial-gradient(2px 2px at 78% 26%, rgba(125, 211, 252, 0.95) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 84% 80%, rgba(244, 114, 182, 0.95) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 48% 42%, rgba(255, 255, 255, 0.95) 0%, transparent 100%),
        radial-gradient(2px 2px at 20% 86%, rgba(251, 191, 36, 0.95) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 64% 16%, rgba(110, 231, 183, 0.95) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 88% 48%, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
    background-size: 130px 170px;
    background-position: calc(var(--pointer-x, 50%) * 0.75) calc(var(--pointer-y, 50%) * 0.75);
    transition: opacity 0.25s ease-out;
}

.holo-card-item:hover .holo-card-sparkles,
.holo-card-item:focus-visible .holo-card-sparkles {
    transform: translateZ(20px);
}

.holo-card-item:hover .holo-card-sparkles {
    opacity: 0.68;
}

/* 辅层：高光镜面覆膜 (Surface Specular Sheen - 柔和反光不吃色) */
.holo-card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: calc(var(--holo-opacity, 0.05) * 0.32 + 0.04);
    transform: none;
    background: radial-gradient(
        circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.12) 32%,
        rgba(0, 0, 0, 0) 65%
    );
    transition: opacity 0.25s ease-out;
}

.holo-card-item:hover .holo-card-shine,
.holo-card-item:focus-visible .holo-card-shine {
    transform: translateZ(24px);
}

.holo-card-item:hover .holo-card-shine {
    opacity: 0.28;
}

/* ==========================================================================
   4. 悬浮微光 HUD 文字层 (Floating Typography HUD - 100% 露全原画，零底部遮挡)
   像洛克王国 DIMO、鬼灭之刃善逸闪卡一样：原画直通卡底，文字纯净浮空
   ========================================================================== */
.holo-card-hud {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    transform: none;
}

.holo-card-item:hover .holo-card-hud,
.holo-card-item:focus-visible .holo-card-hud {
    transform: translateZ(38px);
}

.holo-card-spacer {
    flex: 1;
    pointer-events: none;
}

/* 顶部悬浮角标 */
.holo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 14px 6px;
    pointer-events: auto;
}

.holo-tier-badge {
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 7px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap !important;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
}

.tier-1 .holo-tier-badge {
    background: rgba(30, 58, 138, 0.75);
    border: 1.5px solid #93c5fd;
    color: #f0f9ff;
    text-shadow: 0 0 6px rgba(147, 197, 253, 0.6);
}

.tier-2 .holo-tier-badge {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.88) 0%, rgba(192, 38, 211, 0.88) 100%);
    border: 1.5px solid #f0abfc;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(192, 38, 211, 0.45);
    text-shadow: 0 0 8px rgba(240, 171, 252, 0.7);
}

.tier-3 .holo-tier-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #ffffff;
    border: 1.5px solid #fef08a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.holo-coin-reward-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fde68a;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.5);
    white-space: nowrap !important;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.holo-coin-reward-pill img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* 底部微光悬浮文字区：彻底根除灰黑遮挡大色块，原画 100% 通透直达卡底 */
.holo-card-footer-hud {
    padding: 10px 14px 14px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: auto;
}

.holo-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.holo-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 2px #000000, 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.9);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.tier-3 .holo-card-title {
    color: #fef08a;
    text-shadow: 0 1px 2px #000000, 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 18px rgba(245, 158, 11, 0.85), 0 0 24px rgba(245, 158, 11, 0.5);
}

.holo-card-seal-icon {
    font-size: 1.15rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

.holo-card-desc {
    font-size: 0.73rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.35;
    margin: 2px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px #000000, 0 1px 5px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.85);
}

/* 进度条与领赏动作条 - 紧凑轻量浮空胶囊 */
.holo-card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.holo-progress-wrap {
    flex: 1;
    background: rgba(10, 15, 29, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.holo-progress-text {
    font-size: 0.66rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.holo-mini-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.holo-mini-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #10b981);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.tier-3 .holo-mini-bar-fill {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

/* 领取奖励 / 已达成按钮 */
.holo-action-btn {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.holo-action-btn.claim {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.6);
    animation: holo-claim-pulse 1.8s infinite;
}

@keyframes holo-claim-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 10px rgba(245, 158, 11, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 4px 16px rgba(245, 158, 11, 0.85); }
}

.holo-action-btn.claimed {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(52, 211, 153, 0.6);
    color: #6ee7b7;
    font-weight: 700;
    cursor: default;
}

.holo-action-btn.locked {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.55);
    cursor: default;
}

.holo-action-btn.locked:disabled {
    opacity: 0.86;
}

/* 检视模式下的状态胶囊 */
.holo-card-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.holo-status-pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.holo-status-pill.unlocked {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(52, 211, 153, 0.6);
    color: #6ee7b7;
}

.holo-status-pill.locked {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.6);
}

.holo-status-date {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   卡牌 360° 检视大图模式 (Card Inspection Modal)
   ========================================================================== */
#holo-card-inspector-modal {
    position: fixed;
    inset: 0;
    z-index: 10500;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.84) 0%, rgba(10, 15, 29, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#holo-card-inspector-modal.show {
    display: flex;
    opacity: 1;
}

.holo-inspector-stage {
    position: relative;
    perspective: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.holo-inspector-card {
    width: 320px;
    height: 480px;
    border-radius: 28px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3);
    cursor: grab;
    position: relative;
    overflow: visible !important;
    touch-action: none;
}

.holo-inspector-card:active {
    cursor: grabbing;
}

.holo-inspector-card .holo-card-art-img {
    opacity: 1 !important;
}

.holo-inspector-card .holo-card-art-full::before {
    display: none !important;
}

.holo-inspector-card .holo-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.holo-inspector-card .holo-card-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.85);
    -webkit-line-clamp: 3;
    line-height: 1.45;
    margin: 4px 0 10px;
}

.holo-inspector-card .holo-card-footer-hud {
    padding: 16px 18px 24px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.holo-inspector-card .holo-card-status-bar {
    border-top: none;
    padding-top: 0;
    margin-top: 6px;
}

.holo-inspector-card .holo-status-pill {
    background: rgba(10, 15, 29, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.holo-inspector-card .holo-card-mascot-badge {
    width: 110px;
    height: 110px;
    font-size: 4.2rem;
    margin-top: -50px;
}

.holo-inspector-card .holo-tier-badge {
    font-size: 0.72rem;
    padding: 5px 11px;
}

.holo-inspector-card .holo-coin-reward-pill {
    font-size: 0.8rem;
    padding: 4px 11px;
}

.holo-inspector-card .holo-coin-reward-pill img {
    width: 16px;
    height: 16px;
}

/* 双面物理卡片层级 */
.holo-flipper-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    border-radius: inherit;
}

.holo-card-front,
.holo-card-back {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    overflow: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.holo-card-front {
    transform: rotateY(0deg) translateZ(1px);
    z-index: 2;
}

/* 只在文字所在区域提供轻微暗化，保留全幅插画的通透感。 */
.holo-card-front::after {
    content: '';
    position: absolute;
    inset: 44% 0 0;
    z-index: 6;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 13, 28, 0) 0%, rgba(7, 13, 28, 0.14) 42%, rgba(7, 13, 28, 0.62) 100%);
    transform: translateZ(8px);
}

.holo-card-back {
    transform: rotateY(180deg) translateZ(1px);
    background: #0b1329;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
    border: 2px solid #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.holo-inspector-card.tier-1 .holo-card-back {
    border-color: #a8bfd5;
    box-shadow: 0 0 22px rgba(147, 197, 253, 0.28);
}

.holo-inspector-card.tier-2 .holo-card-back {
    border-color: #c084fc;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.34);
}

.holo-inspector-card.tier-3 .holo-card-back {
    border-color: #d97706;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.42);
}

.holo-card-back picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    overflow: hidden;
}

.holo-card-back-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.holo-card-back-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(254, 240, 138, 0.45) 0%, rgba(245, 158, 11, 0) 65%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.holo-inspector-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.holo-inspector-btn {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.holo-inspector-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.holo-inspector-close-btn {
    position: absolute;
    top: -50px;
    right: -20px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.holo-inspector-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.holo-inspector-hint {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* 全站成就达成 Toast 奖杯卡片提示 */
.holo-achievement-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10999;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid #f59e0b;
    border-radius: 18px;
    box-shadow: 0 16px 36px -6px rgba(245, 158, 11, 0.35);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
}

.holo-achievement-toast.show {
    transform: translateX(0);
}

.holo-toast-icon {
    font-size: 2.2rem;
}

.holo-toast-info h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b;
}

.holo-toast-info p {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.holo-toast-reward {
    margin-top: 4px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #d97706;
}

/* 响应式移动端适配 */
@media (max-width: 640px) {
    .holo-gallery-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        position: relative;
    }
    #btn-close-holo-modal {
        position: absolute !important;
        top: 12px;
        right: 12px;
        margin-left: 0 !important;
    }
    .holo-gallery-stats {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }
    .holo-stat-pill {
        white-space: nowrap;
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.76rem;
        padding: 6px 10px;
    }
    .holo-stat-pill.claimable {
        flex: 1 1 100%;
        justify-content: center;
        white-space: nowrap;
    }
    .holo-inspector-card {
        width: min(85vw, 320px);
        height: min(128vw, 480px);
    }
    .holo-inspector-close-btn {
        right: 0;
        top: -44px;
    }
    .holo-achievement-toast {
        right: 16px;
        left: 16px;
        max-width: calc(100vw - 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .holo-card-thematic-stage::before,
    .holo-card-item,
    .holo-card-art-img,
    .holo-card-glare,
    .holo-card-sparkles,
    .holo-card-shine,
    .holo-action-btn.claim,
    .holo-gallery-title-icon {
        animation: none !important;
        transition: none !important;
    }

    /* 关闭动效时骨架屏不再流光，但保留浅色底；图片直接显示，不做淡入延后 */
    .holo-card-art-full::before {
        animation: none !important;
    }

    .holo-card-art-img {
        opacity: 1 !important;
    }
}

/* ==========================================================================
   TCG 全息聚能加载浮层 (Holo Gallery Preloader Overlay)
   保证图片与 GPU 位图 100% 解码完成后才展示成就展厅，彻底根治白屏与闪烁
   ========================================================================== */
.holo-gallery-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.holo-gallery-loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.holo-gallery-loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.holo-loading-center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 380px;
    width: 90%;
    padding: 32px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 158, 11, 0.15) inset;
    text-align: center;
}

.holo-loading-halo {
    position: relative;
    width: 80px;
    height: 105px;
    margin-bottom: 22px;
    perspective: 800px;
}

.holo-loading-card-silhouette {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid rgba(245, 158, 11, 0.8);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 70, 239, 0.25) 50%, rgba(56, 189, 248, 0.25) 100%);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: holo-loading-card-pulse 2s ease-in-out infinite;
}

@keyframes holo-loading-card-pulse {
    0%, 100% {
        transform: scale(1) rotateY(0deg);
        filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6));
    }
    50% {
        transform: scale(1.05) rotateY(180deg);
        filter: drop-shadow(0 0 24px rgba(217, 70, 239, 0.8));
    }
}

.holo-loading-spin-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px dashed rgba(245, 158, 11, 0.5);
    animation: holo-loading-spin 6s linear infinite;
    pointer-events: none;
}

@keyframes holo-loading-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.holo-loading-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.holo-loading-subtext {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 20px;
}

.holo-loading-bar-wrap {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.holo-loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f59e0b 0%, #ec4899 50%, #38bdf8 100%);
    border-radius: 999px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
}

/* ==========================================================================
   成就展厅滚动绘制优化
   展厅本身是高频滚动场景；卡片在这里使用稳定的 2D 静态绘制，
   避免 perspective / blend-mode / backdrop-filter 触发滚动中的延迟重绘。
   360° 检视器仍保留在上面的独立规则中，不受此作用域影响。
   ========================================================================== */
.achievements-modal-content.holo-gallery-modal,
.achievements-modal-content.holo-gallery-modal .holo-gallery-header,
.achievements-modal-content.holo-gallery-modal .holo-gallery-nav,
.achievements-modal-content.holo-gallery-modal .holo-tier-badge,
.achievements-modal-content.holo-gallery-modal .holo-coin-reward-pill,
.achievements-modal-content.holo-gallery-modal .holo-progress-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* 这个 modal 位于自己的滚动视口中；遮罩层的全屏模糊会让滚动时的局部
   合成区域被延迟重绘，所以展厅专用背景改为实体半透明颜色。 */
.theme-modal:has(.holo-gallery-modal) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.42) !important;
}

.achievements-modal-content.holo-gallery-modal::before {
    display: none !important;
}

.achievements-modal-content.holo-gallery-modal .holo-gallery-header {
    background: rgba(255, 255, 255, 0.94);
}

.achievements-modal-content.holo-gallery-modal .holo-gallery-nav {
    background: rgba(255, 255, 255, 0.9);
}

.achievements-modal-content.holo-gallery-modal .holo-cards-grid {
    perspective: none !important;
    transform: none !important;
    transform-style: flat !important;
    content-visibility: visible !important;
    contain: layout style;
    overflow-y: scroll;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

/* 滚动防线：滚动进行时关闭卡片 hover 响应，杜绝 GPU 瓦片光栅化争抢 */
.achievements-modal-content.holo-gallery-modal .holo-cards-grid.is-scrolling .holo-card-item {
    pointer-events: none !important;
}

/* 常态 / 滚动稳态：2D 扁平轻量栅格化，独立 paint 边界，零 GPU 混合负担 */
.achievements-modal-content.holo-gallery-modal .holo-card-item {
    transform: none !important;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    will-change: auto !important;
    isolation: isolate;
    contain: layout paint;
    transition: transform 0.15s ease-out, box-shadow 0.2s ease;
}

.achievements-modal-content.holo-gallery-modal .holo-card-frame,
.achievements-modal-content.holo-gallery-modal .holo-card-art-full,
.achievements-modal-content.holo-gallery-modal .holo-card-hud,
.achievements-modal-content.holo-gallery-modal .holo-card-thematic-stage,
.achievements-modal-content.holo-gallery-modal .holo-card-mascot-badge {
    transform: none !important;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    will-change: auto !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item::before,
.achievements-modal-content.holo-gallery-modal .holo-card-item::after {
    content: none !important;
}

/* 常态完全休眠光效层：隐藏且不参与图层混合计算 */
.achievements-modal-content.holo-gallery-modal .holo-card-glare,
.achievements-modal-content.holo-gallery-modal .holo-card-sparkles,
.achievements-modal-content.holo-gallery-modal .holo-card-shine {
    display: none !important;
    pointer-events: none !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-art-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
    transition: transform 0.25s ease-out !important;
    will-change: auto !important;
}

/* ==========================================================================
   鼠标悬浮激活态 (Dynamic Hover State)
   仅对当前被 hover 的单张卡片精准激活 3D 浮动与全息彩虹流光
   ========================================================================== */
.achievements-modal-content.holo-gallery-modal .holo-card-item:hover,
.achievements-modal-content.holo-gallery-modal .holo-card-item:focus-visible {
    contain: layout !important;
    z-index: 10 !important;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1.025, 1.025, 1) !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    box-shadow: 0 20px 48px -6px rgba(15, 23, 42, 0.55), 0 0 0 1.5px rgba(56, 189, 248, 0.7), 0 0 24px rgba(56, 189, 248, 0.3) !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item.tier-3:hover {
    box-shadow: 0 24px 54px -6px rgba(245, 158, 11, 0.6), 0 0 0 2px #fbbf24, 0 0 32px rgba(245, 158, 11, 0.4) !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item:hover .holo-card-frame,
.achievements-modal-content.holo-gallery-modal .holo-card-item:focus-visible .holo-card-frame {
    transform: translateZ(16px) !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item:hover .holo-card-hud,
.achievements-modal-content.holo-gallery-modal .holo-card-item:focus-visible .holo-card-hud {
    transform: translateZ(20px) !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item:hover .holo-card-art-img {
    transform: scale(1.03) !important;
}

/* 仅在 hover 时显示并开启三大全息反射层 */
.achievements-modal-content.holo-gallery-modal .holo-card-item:hover .holo-card-glare,
.achievements-modal-content.holo-gallery-modal .holo-card-item:focus-visible .holo-card-glare {
    display: block !important;
    opacity: calc(var(--holo-opacity, 0.5) * 0.45 + 0.1) !important;
    transform: translateZ(12px) !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item:hover .holo-card-sparkles,
.achievements-modal-content.holo-gallery-modal .holo-card-item:focus-visible .holo-card-sparkles {
    display: block !important;
    opacity: calc(var(--holo-opacity, 0.5) * 0.6 + 0.15) !important;
    transform: translateZ(14px) !important;
}

.achievements-modal-content.holo-gallery-modal .holo-card-item:hover .holo-card-shine,
.achievements-modal-content.holo-gallery-modal .holo-card-item:focus-visible .holo-card-shine {
    display: block !important;
    opacity: calc(var(--holo-opacity, 0.5) * 0.35 + 0.05) !important;
    transform: translateZ(18px) !important;
}
