/* ==================== 背包系统样式 ==================== */

#inventory-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.inventory-container {
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 15px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ==================== 顶部标签栏 ==================== */
.inventory-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
}

.inventory-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.inventory-tab.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    border-bottom-color: #00d4ff;
}

.inventory-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ==================== 属性面板 ==================== */
.stats-panel {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 14px;
}

.stat-label {
    color: #888;
}

.stat-value {
    color: #fff;
    font-weight: bold;
}

.stat-value.hp {
    color: #ff4757;
}

.stat-value.spirit {
    color: #5352ed;
}

.stat-value.hunger {
    color: #ffa502;
}

.stat-value.water {
    color: #1e90ff;
}

.stat-btn {
    width: 24px;
    height: 24px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 4px;
    color: #00d4ff;
    cursor: pointer;
    font-size: 14px;
    margin-left: 5px;
}

.stat-btn:hover {
    background: rgba(0, 212, 255, 0.4);
}

/* ==================== 物品分类标签 ==================== */
.item-categories {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    font-size: 13px;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #2ed573, #1e90ff);
}

.category-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== 搜索框 ==================== */
.inventory-search {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #666;
}

.search-input:focus {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

/* ==================== 物品列表 ==================== */
.items-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
}

.items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.item-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.item-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.item-card.selected {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.item-name {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.item-name.common { color: #ffffff; }
.item-name.uncommon { color: #2ed573; }
.item.name.rare { color: #5352ed; }
.item-name.epic { color: #a55eea; }
.item-name.legendary { color: #ffa502; }

.item-quantity {
    font-size: 12px;
    color: #888;
    text-align: right;
}

.item-desc {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

/* ==================== 快捷键栏 ==================== */
.hotkey-bar {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hotkey-slot {
    flex: 1;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hotkey-slot:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hotkey-slot.filled {
    border-style: solid;
    border-color: rgba(0, 212, 255, 0.4);
}

.hotkey-slot .item-icon {
    font-size: 24px;
}

.hotkey-slot .hotkey-label {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 10px;
    color: #666;
}

/* ==================== 底部操作栏 ==================== */
.inventory-actions {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.action-btn.primary {
    background: linear-gradient(135deg, #00d4ff, #1e90ff);
    border: none;
}

.close-inventory-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border: none;
    border-radius: 0 0 15px 15px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-inventory-btn:hover {
    background: linear-gradient(135deg, #ff3838, #ff5757);
}

/* ==================== 装备槽位 ==================== */
.equipment-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
}

.equip-slot {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.equip-slot:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
}

.equip-slot.equipped {
    border-style: solid;
    border-color: #ffa502;
    background: rgba(255, 165, 2, 0.1);
}

.equip-slot .slot-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.equip-slot .slot-name {
    font-size: 11px;
    color: #888;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 480px) {
    .inventory-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* ==================== 全屏背包界面 - 新设计 ==================== */

#inventory-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.92) !important;
    z-index: 9000 !important;
    display: none;
    justify-content: center;
    align-items: center;
}

.inv-fullscreen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 头部 */
.inv-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.08), transparent);
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.inv-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inv-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.inv-capacity {
    font-size: 13px;
    color: #9ca3af;
    background: rgba(156, 175, 195, 0.15);
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid rgba(156, 175, 195, 0.3);
}

.inv-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* 主内容区：左右分栏 */
.inv-main-content {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 0;
    overflow: hidden;
}

/* 左侧面板 */
.inv-left-panel {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.inv-left-panel::-webkit-scrollbar {
    width: 4px;
}

.inv-left-panel::-webkit-scrollbar-track {
    background: transparent;
}

.inv-left-panel::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 2px;
}

/* 角色信息区 */
.inv-player-info {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    padding: 12px;
}

.player-avatar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.player-avatar-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.5));
}

.player-basic {
    display: flex;
    flex-direction: column;
}

.player-name-display {
    font-size: 16px;
    font-weight: bold;
    color: #60a5fa;
}

.player-level-display {
    font-size: 12px;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    padding: 2px 8px;
    border-radius: 8px;
    width: fit-content;
}

/* 属性网格 */
.attr-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 10px;
    margin-bottom: 10px;
}

.attr-mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 11px;
}

.attr-mini-label {
    color: #9ca3af;
}

.attr-mini-value {
    color: #fff;
    font-weight: 600;
}

/* 状态条 */
.status-bars-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-label {
    font-size: 11px;
    font-weight: 600;
    color: #d1d5db;
    min-width: 55px;
}

.status-bar-track {
    flex: 1;
    height: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-bar-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 6px;
}

.hp-fill {
    background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.spirit-fill {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    box-shadow: 0 0 6px rgba(96, 165, 250, 0.4);
}

.hunger-fill {
    background: linear-gradient(90deg, #f97316, #fb923c);
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.4);
}

.water-fill {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    box-shadow: 0 0 6px rgba(14, 165, 233, 0.4);
}

.status-value {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    min-width: 65px;
    text-align: right;
}

/* 装备/法宝区域 */
.equipment-section,
.artifacts-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
}

.section-title {
    font-size: 13px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

.equipment-grid,
.artifacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.equip-slot-mini,
.artifact-slot-mini {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    font-size: 10px;
    color: #9ca3af;
    transition: all 0.2s;
}

.equip-slot-mini:hover,
.artifact-slot-mini:hover {
    background: rgba(124, 200, 80, 0.1);
    border-color: rgba(124, 200, 80, 0.3);
    color: #7ec850;
}

.equip-slot-mini.equipped {
    background: rgba(0, 160, 233, 0.1);
    border-color: rgba(0, 160, 233, 0.4);
    color: #00a0e9;
}

/* 右侧面板 */
.inv-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* 分类标签 */
.category-tabs {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    height: 0;
}

.cat-tab {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cat-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #fbbf24, #f39c12);
    border-color: #fbbf24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.cat-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* 搜索框 */
.search-box-compact {
    flex-shrink: 0;
    padding: 8px 12px;
}

.search-input-new {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.search-input-new::placeholder {
    color: #6b7280;
}

.search-input-new:focus {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

/* 物品网格（全屏自适应） */
.items-grid-fullscreen {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    align-content: start;
}

.items-grid-fullscreen::-webkit-scrollbar {
    width: 5px;
}

.items-grid-fullscreen::-webkit-scrollbar-track {
    background: transparent;
}

.items-grid-fullscreen::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 3px;
}

.item-card-new {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 85px;
    -webkit-tap-highlight-color: transparent;
}

.item-card-new:hover {
    background: rgba(124, 200, 80, 0.1);
    border-color: rgba(124, 200, 80, 0.4);
    transform: translateY(-2px);
}

.item-card-new.selected {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.item-icon-new {
    font-size: 28px;
    line-height: 1;
}

.item-name-new {
    font-size: 10px;
    font-weight: 600;
    color: #e5e7eb;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.item-count-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(251, 191, 36, 0.9);
    color: #000;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
}

/* 物品详情（内联显示） */
.item-detail-inline {
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.03));
    border-top: 2px solid rgba(251, 191, 36, 0.3);
    padding: 12px;
    animation: slideUpDetail 0.2s ease-out;
}

@keyframes slideUpDetail {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-header-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.detail-icon-inline {
    font-size: 32px;
}

.detail-info-inline {
    display: flex;
    flex-direction: column;
}

.detail-name-inline {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
}

.detail-type-inline {
    font-size: 12px;
    color: #9ca3af;
}

.desc-text {
    font-size: 12px;
    color: #d1d5db;
    line-height: 1.5;
    margin-bottom: 10px;
}

.action-buttons-inline {
    display: flex;
    gap: 8px;
}

.action-btn-inline {
    flex: 1;
    padding: 8px 12px;
    background: rgba(124, 200, 80, 0.15);
    border: 1px solid rgba(124, 200, 80, 0.4);
    border-radius: 8px;
    color: #7ec850;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn-inline:hover {
    background: rgba(124, 200, 80, 0.25);
    transform: scale(1.02);
}

.action-btn-inline.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.action-btn-inline.danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* 底部操作栏 */
.inv-footer-actions {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-action-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #d1d5db;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.footer-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.footer-action-btn.primary {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(34, 197, 94, 0.15));
    border-color: rgba(74, 222, 128, 0.4);
    color: #4ade80;
}

.footer-action-btn.primary:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.3), rgba(34, 197, 94, 0.25));
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.footer-action-btn.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.footer-action-btn.danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.25));
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.footer-action-btn:active {
    transform: scale(0.98);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .inv-main-content {
        flex-direction: column;
    }

    .inv-left-panel {
        width: 100%;
        max-height: 35vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 8px !important;
    }

    .inv-right-panel {
        min-height: 250px;
    }

    .inv-header {
        padding: 8px 12px !important;
    }

    .inv-title {
        font-size: 16px !important;
    }

    .inv-close-btn {
        width: 34px !important;
        height: 34px !important;
    }

    .items-grid-fullscreen {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
        gap: 6px !important;
        padding: 6px 8px !important;
    }

    .item-card-new {
        padding: 6px !important;
        min-height: 72px !important;
        border-radius: 8px !important;
    }

    .item-icon-new {
        font-size: 24px !important;
    }

    .item-name-new {
        font-size: 9px !important;
    }

    .category-tabs {
        padding: 6px 8px !important;
        gap: 4px !important;
    }

    .cat-tab {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .search-input-new {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .action-btn-inline {
        min-height: 38px !important;
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

    .detail-name-inline {
        font-size: 14px !important;
    }

    .desc-text {
        font-size: 11px !important;
    }

    .inv-footer-actions {
        padding: 8px 10px !important;
        gap: 6px !important;
    }

    .footer-action-btn {
        padding: 10px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .equipment-grid, .artifacts-grid {
        gap: 4px !important;
    }

    .equip-slot-mini, .artifact-slot-mini {
        padding: 4px !important;
        font-size: 9px !important;
    }

    .attr-compact-grid {
        gap: 4px !important;
    }

    .player-avatar-icon {
        font-size: 26px !important;
    }
}
