注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */
.gallery-details-tabs {
	display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* 导航栏 */
#p-navigation {
	display: none;
}
#p-navigation .mw-portlet-body ul li:nth-last-of-type(2) {
	display: none;
}
#p-navigation .mw-portlet-body ul span:nth-last-of-type(2) {
	display: none;
}





/* 目录相关 */
#toc {
	display: none;
}






/* 筛选相关 */
/* 筛选器容器 */
.filter-container {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 筛选器头部 */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #eaecf0;
    padding-bottom: 12px;
}

.filter-header h3 {
    margin: 0;
    font-size: 18px;
    color: #202122;
    font-weight: bold;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-action {
    padding: 6px 16px;
    background: #3366cc;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: background-color 0.2s;
    border: none;
    outline: none;
}

.filter-action.filter-reset {
    background: #72777d;
}

.filter-action:hover {
    background: #2a4b8d;
}

.filter-action.filter-reset:hover {
    background: #54595d;
}

.filter-action:focus {
    box-shadow: 0 0 0 2px rgba(51,102,204,0.3);
}

/* 筛选组 */
.filter-group {
    margin-bottom: 20px;
    background: white;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    padding: 12px;
    position: relative;
}

.filter-group h4 {
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #54595d;
    padding-right: 60px;
}

.filter-group-clear {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #36c;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 2px;
    user-select: none;
}

.filter-group-clear:hover {
    background: #eaf3ff;
}

/* 筛选项 */
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-option {
    padding: 6px 12px;
    background: #f0f0f0;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: all 0.2s;
    outline: none;
}

.filter-option:hover {
    background: #e0e0e0;
    border-color: #a2a9b1;
}

.filter-option:focus {
    box-shadow: 0 0 0 2px rgba(42,75,141,0.3);
    border-color: #2a4b8d;
}

.filter-option.filter-selected {
    background: #2a4b8d;
    color: white;
    border-color: #2a4b8d;
}

.filter-option.filter-option-all {
    background: #eaf3ff;
    border-color: #36c;
    color: #36c;
}

.filter-option.filter-option-all.filter-selected {
    background: #36c;
    color: white;
}

.filter-option-label {
    display: inline-block;
}

/* 活动筛选标签 */
.active-filters {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #eaecf0;
    display: none;
}

.active-filters-label {
    display: block;
    font-weight: 600;
    color: #54595d;
    margin-bottom: 8px;
    font-size: 14px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #eaf3ff;
    border: 1px solid #36c;
    border-radius: 16px;
    font-size: 13px;
    max-width: 300px;
}

.active-filter-text {
    margin-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-filter-remove {
    color: #36c;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
    border-radius: 2px;
    flex-shrink: 0;
    user-select: none;
    outline: none;
}

.active-filter-remove:hover {
    background: #36c;
    color: white;
}

.active-filter-remove:focus {
    box-shadow: 0 0 0 2px rgba(51,102,204,0.3);
}

/* 筛选统计 */
.filter-stats {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaecf0;
    color: #54595d;
    font-size: 14px;
    display: none;
}

/* 被筛选元素的样式 */
.filtered-out {
    display: none !important;
}

.filtered-in {
    animation: filterFadeIn 0.3s;
}

@keyframes filterFadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .filter-actions {
        align-self: stretch;
    }
    
    .filter-action {
        flex: 1;
        text-align: center;
    }
    
    .filter-group h4 {
        padding-right: 0;
    }
    
    .filter-group-clear {
        position: static;
        display: inline-block;
        margin-left: 8px;
    }
}




/* 
邀约礼物角色卡片
*/
/* 角色卡片 */
.character-card {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    /*gap: 20px;*/
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 角色块 */
.character-block {
    position: relative;
    padding: 0;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
}

.character-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.9;
}

.character-image-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 64px;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
}

.gift-character-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);*/
    /*padding: 20px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.element-icon {
    font-size: 16px;
}

.gift-character-info {
    text-align: center;
    color: #4c5080;
    flex: 1;
    position: relative;
}

.gift-character-info-bg {
	position: absolute;
	left: 0;
    top: 50%;
    transform: translate(0, -50%);
    padding-bottom: 5px;
}

.gift-character-name {
	margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);*/
    position: relative;
}

/* 邀约位置块 */
.invitation-block {
    padding: 25px;
    background: #f8f9fa;
}

.block-title {
    font-size: 18px;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.invitation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invitation-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.invitation-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.location-icon {
    flex: 0 0 80px;
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5a80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.location-details {
    flex: 1;
    padding: 15px;
}

.location-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.location-choice {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    font-style: italic;
}

/* 礼物喜好块 */
.gift-block {
    padding: 25px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gift-section {
    flex: 1;
}

.gift-title {
    font-size: 16px;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gift-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gift-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 12px;
    min-width: 90px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.gift-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gift-icon {
    font-size: 28px;
    margin-bottom: 8px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.3;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
    background: white;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

/* 加载状态 */
.loading-container {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4a6fa5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 18px;
    color: #6c757d;
}

/* 错误状态 */
.error-container {
    text-align: center;
    padding: 60px 20px;
    color: #dc3545;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.error-message {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .invitation-gift-system {
        flex-direction: column;
    }

    .filter-panel {
        flex: none;
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .character-card {
        grid-template-columns: 1fr;
    }

    .character-block {
        height: 250px;
    }

    .character-image,
    .character-image-placeholder {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .invitation-gift-system {
        padding: 10px;
    }

    .characters-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .invitation-card {
        flex-direction: column;
    }

    .location-icon {
        flex: 0 0 60px;
        width: 100%;
    }

    .gift-item {
        min-width: 80px;
        padding: 10px;
    }

    .gift-icon {
        font-size: 24px;
        height: 35px;
    }
}

/* 元素颜色 */
.fire {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.water {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
    color: white;
}

.wind {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.thunder {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
}

.earth {
    background: linear-gradient(135deg, #da8c1d 0%, #8b4513 100%);
    color: white;
}

.light {
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    color: #333;
}

.dark {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: white;
}