MediaWiki

Common.css:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
无编辑摘要
律Rhyme留言 | 贡献
无编辑摘要
 
(未显示同一用户的79个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */
/* 字体设置 */
@font-face {
    font-family: '鸿蒙';
    src: url('/font/HarmonyOS_Sans_SC_Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'number';
    src: url('/font/Teko.ttf') format('opentype');
}
body {
    font-family: '鸿蒙', sans-serif;
}


/* 手机端和PC端显示控制 */
/* 手机端和PC端显示控制 */
第23行: 第38行:
}
}


/* 标签切换样式 */
/* 卡牌 */
.main-line-wrap {
.card-small-wrapper {
     margin: 10px 0;
     transition: transform 0.2s ease;
     font-family: Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}
 
.card-small-wrapper:hover {
    transform: scale(1.05);
}
 
.card-modal {
    animation: fadeIn 0.3s ease;
     overflow: hidden !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
}


.resp-tabs {
@keyframes fadeIn {
     background: transparent;
     from { opacity: 0; }
    to { opacity: 1; }
}
}


.resp-tabs-list {
.modal-close-button:hover {
     list-style: none;
     background: rgba(255, 255, 255, 0.3) !important;
    margin: 0;
     transform: scale(1.1);
     padding: 0;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
}


.resp-tabs-list::after {
.inspiration-button:hover {
     content: "";
     transform: translateY(-2px);
     display: table;
     box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
     clear: both;
     background: linear-gradient(135deg, #7fe5ff 0%, #5fb8e0 100%) !important;
}
}
.inspiration-button:active { transform: translateY(0); }


.czn-list-style {
.god-inspiration-button:hover {
     margin: 0;
     transform: translateY(-2px);
     padding: 0;
     box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
    cursor: pointer;
     background: linear-gradient(135deg, #ffe08a 0%, #f0b000 100%) !important;
    transition: all 0.2s ease;
    border-radius: 4px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-top: 1px solid #ddd !important;
     border-bottom: 1px solid #ddd !important;
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
}
}
.god-inspiration-button:active { transform: translateY(0); }


.czn-list-style:hover {
.back-to-card-button:hover,
     background-color: #e8e8e8;
.back-to-subcards-button:hover,
     border: 1px solid #ddd !important;
.back-to-inspiration-button:hover,
.back-to-inspiration-subcards-button:hover {
     transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
     background: linear-gradient(135deg, #ff7b7b 0%, #dd6565 100%) !important;
}
.back-to-card-button:active,
.back-to-subcards-button:active,
.back-to-inspiration-button:active,
.back-to-inspiration-subcards-button:active {
    transform: translateY(0);
}
}


.czn-list-style.active {
.inspiration-variant-card,
     background-color: #007bff;
.subcards-view .inspiration-variant-card {
     color: white;
     opacity: 0.95;
     border: 1px solid #007bff !important;
     transition: opacity 0.3s, transform 0.3s;
     cursor: default !important;
}
.inspiration-variant-card:hover,
.subcards-view .inspiration-variant-card:hover {
    opacity: 1;
    transform: scale(1.05);
}
}


.czn-list-style.active:hover {
@media (max-width: 768px) {
     background-color: #0056b3;
    .cards-display { flex-direction: column !important; }
     border: 1px solid #0056b3 !important;
    .inspiration-cards-wrapper { gap: 10px !important; }
     .subcards-wrapper { gap: 10px !important; }
     .nested-subcards-wrapper { gap: 10px !important; }
}
}


.tab-panel {
.subcards-button {
     display: block;
     display: inline-block;
     padding: 8px 16px;
     padding: 10px 10px;
     color: #333;
    background: linear-gradient(135deg, #6fd8fe 0%, #4da6cc 100%);
     text-decoration: none;
     color: white;
     font-weight: normal;
     font-size: 15px;
     transition: color 0.2s ease;
     font-weight: bold;
     white-space: nowrap;
    border-radius: 8px;
    min-width: 60px;
    cursor: pointer;
     text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
     font-size: 14px;
     transition: all 0.3s;
     border: none !important;
     user-select: none;
}
.subcards-button:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 8px rgba(0,0,0,0.4);
     background: linear-gradient(135deg, #7fe5ff 0%, #5fb8e0 100%);
}
}
.subcards-button:active { transform: translateY(0); }


.czn-list-style.active .tab-panel {
.view-nested-subcards-button,
.view-inspiration-nested-subcards-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffa500 0%, #cc8400 100%);
     color: white;
     color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s;
    user-select: none;
}
.view-nested-subcards-button:hover,
.view-inspiration-nested-subcards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffb520 0%, #dd9400 100%);
}
.view-nested-subcards-button:active,
.view-inspiration-nested-subcards-button:active { transform: translateY(0); }
.nested-subcards-view,
.inspiration-subcards-view,
.inspiration-nested-subcards-view {
    opacity: 0.95;
    transition: opacity 0.3s;
}
}


.resp-tabs-container {
.inspiration-cards-wrapper { align-items: flex-start; }
     padding: 0;
.inspiration-variant { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 240px; }
     background: transparent;
 
.inspiration-subcards-button {
    display: inline-block;
     padding: 10px 20px;
    background: linear-gradient(135deg, #ffa500 0%, #cc8400 100%);
     color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s;
    user-select: none;
     margin-top: 8px;
     margin-top: 8px;
}
}
.inspiration-subcards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffb520 0%, #dd9400 100%);
}
.inspiration-subcards-button:active { transform: translateY(0); }


.resp-tab-content {
.god-variant-card {
     display: none;
     opacity: 0.95;
     animation: fadeIn 0.2s ease-in-out;
     transition: opacity 0.3s, transform 0.3s;
     background: transparent;
     cursor: default !important;
     padding: 0;
}
     border: none !important;
.god-variant-card:hover {
     opacity: 1;
     transform: scale(1.05);
}
}


.resp-tab-content[style*="display:block"],
/* 卡牌悬停样式 */
.resp-tab-content[style*="display: block"] {
.card-link {
     display: block !important;
    display: inline-block;
     position: relative;
}
}


@keyframes fadeIn {
.card-link:hover {
     from {
     color: #5a7fff;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
}


/* 响应式设计 */
/* 悬停时显示的卡牌容器 */
@media (max-width: 768px) {
.card-hover-popup {
    .resp-tabs-list {
    display: none;
        flex-direction: column;
    position: absolute;
        gap: 4px;
     left: 50%;
     }
     bottom: 100%;
      
    transform: translateX(-50%);
    .czn-list-style {
     margin-bottom: 10px;
        width: 100%;
    z-index: 10000;
        border: 1px solid #ddd !important;
    pointer-events: none;
     }
     animation: cardPopupFadeIn 0.2s ease;
   
    .tab-panel {
        padding: 6px 12px;
        min-width: auto;
        font-size: 13px;
        border: none !important;
     }
   
    .resp-tabs-container {
        margin-top: 6px;
    }
}
}


/* 可选的颜色主题 */
.card-link:hover .card-hover-popup {
.czn-list-style.theme-gray.active {
     display: block;
     background-color: #6c757d;
    border: 1px solid #6c757d !important;
}
}


.czn-list-style.theme-gray.active:hover {
@keyframes cardPopupFadeIn {
     background-color: #545b62;
     from {
    border: 1px solid #545b62 !important;
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
}


.czn-list-style.theme-dark.active {
/* 确保悬停卡牌不可交互 */
     background-color: #343a40;
.card-hover-popup * {
     border: 1px solid #343a40 !important;
     pointer-events: none !important;
     cursor: default !important;
}
}


.czn-list-style.theme-dark.active:hover {
/* 隐藏悬停卡牌中的模态框 */
     background-color: #23272b;
.card-hover-popup .card-modal {
    border: 1px solid #23272b !important;
     display: none !important;
}
}


.czn-list-style.theme-light.active {
.dictionary-tooltip-container {
     background-color: #f8f9fa;
     position: absolute;
     border: 1px solid #f8f9fa !important;
    width: 250px;
     color: #333;
    z-index: 10000;
    opacity: 0;
     transition: opacity 0.15s ease;
     pointer-events: none;
}
}
 
.dictionary-tooltip-container.active {
.czn-list-style.theme-light.active .tab-panel {
     opacity: 1;
     color: #333;
    pointer-events: auto;
}
}


.czn-list-style.theme-light.active:hover {
.dictionary-term {
     background-color: #e2e6ea;
     text-decoration: underline;
     border: 1px solid #e2e6ea !important;
     cursor: help;
}
}


第197行: 第278行:
}
}


/* 稀有度样式 */
/* 切换标签 */
.rarity-5 {
.main-line-wrap {
    width: 150px;
  width: 100%;
    height: 5px;
  margin: 0px;
    background: linear-gradient(135deg, #e882e8, #6fffff);
    box-shadow:
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}
 
.resp-tabs {
.rarity-4 {
  width: 100%;
    width: 150px;
    height: 5px;
    background: linear-gradient(135deg, #e5a563, #f1cf97);
    box-shadow:
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


/* 战斗员筛选系统样式 */
.resp-tabs-list {
/* 筛选按钮样式 */
  list-style: none;
.filter-button {
  padding: 0;
    display: inline-block;
  display: flex;
    padding: 5px 12px;
  flex-wrap: wrap;
    margin: 3px;
  gap: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    user-select: none;
}
}
 
.resp-tabs-list.clearfix::after {
.filter-button:hover {
  content: "";
    background-color: #e0e0e0;
  display: table;
    border-color: #bbb;
  clear: both;
    transform: translateY(-1px);
}
}


.filter-button.active {
.czn-list-style {
    background-color: #4CAF50;
  display: inline-block;
    color: white;
  cursor: pointer;
    border-color: #45a049;
  transition: all 0.3s ease;
}
}


.filter-button.active:hover {
.tab-panel {
    background-color: #45a049;
  position: relative;
  display: inline-block;
  background: #b9b9b9;
  color: #000;
  padding: 5px 30px;
  font-size: 12px;
  text-align: center;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  min-width: auto;
  transition: all 0.3s ease;
}
}


/* 筛选容器 */
.czn-list-style.active .tab-panel {
.filter-container {
  background: #ff5514;
    padding: 10px;
  color: white;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 20px;
}
}


/* 显示数量统计 */
.tab-panel::before {
#filter-count {
  content: "✦";
    text-align: right;
  position: absolute;
    color: #666;
  left: 5px;
    font-size: 14px;
  top: 50%;
    padding: 5px 10px;
  transform: translateY(-50%);
    margin-bottom: 10px;
  font-size: 16px;
  color: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
}


/* 战斗员卡片样式和动画 */
.tab-panel::after {
.战斗员卡片 {
  content: "✦";
    display: inline-block;
  position: absolute;
    margin: 5px;
  right: 5px;
    vertical-align: top;
  top: 50%;
    transition: all 0.3s ease;
  transform: translateY(-50%);
    cursor: pointer;
  font-size: 16px;
    transform-origin: center center;
  color: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
}


/* 鼠标悬停时的放大效果 */
.czn-list-style.active .tab-panel::before,
.战斗员卡片:hover {
.czn-list-style.active .tab-panel::after {
    transform: scale(1.08);
  opacity: 1;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}
}


/* 为卡片容器添加相对定位,防止悬停时影响布局 */
.resp-tabs-container {
.战斗员卡片-container {
  padding-left: 0px;
    display: inline-block;
    position: relative;
}
}


/* 动画过渡优化 */
.resp-tab-content {
@keyframes cardHoverPulse {
  display: none;
    0% {
  animation: fadeIn 0.3s ease;
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1.08);
    }
}
}
 
.resp-tab-content[style*="display:block"],
/* 卡牌系统样式 */
.resp-tab-content[style*="display: block"] {
#card-overlay {
  display: block !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
 
#card-display-container {
    animation: fadeIn 0.3s ease-out;
}
}


@keyframes fadeIn {
@keyframes fadeIn {
    from {
  from {
        opacity: 0;
    opacity: 0;
        transform: scale(0.95);
  }
    }
  to {
    to {
    opacity: 1;
        opacity: 1;
  }
        transform: scale(1);
    }
}
}


.game-card {
.carousel-container {
     transition: transform 0.2s ease;
     width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
}


.game-card:not(#card-overlay .game-card):hover {
.carousel-wrapper {
     transform: scale(1.05);
    display: flex;
     z-index: 10;
    height: 100%;
     transition: transform 0.5s ease;
     will-change: transform;
}
}


/* 修复卡牌描述布局 */
.carousel-slide {
#card-overlay .game-card > div:last-child {
     min-width: 100%;
    display: flex !important;
     height: 100%;
    align-items: center !important;
     position: relative;
    justify-content: center !important;
}
 
/* 确保放大的卡牌元素正确显示 */
#card-overlay .game-card div[style*="position: absolute"] {
     transform-origin: center center;
}
 
/* 滚动条美化 */
#card-overlay ::-webkit-scrollbar {
    width: 8px;
     height: 8px;
}
 
#card-overlay ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
     border-radius: 4px;
}
 
#card-overlay ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
}


#card-overlay ::-webkit-scrollbar-thumb:hover {
/* 图片统一裁剪为 280px 高度并覆盖容器 */
    background: rgba(255, 255, 255, 0.5);
.carousel-slide img,
}
.carousel-slide a.image img {
 
     width: 100% !important;
/* 轮播图样式 */
     height: 280px !important;
.carousel-container {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
 
.carousel-slide img {
     width: 100%;
     height: 250px;
     object-fit: cover;
     object-fit: cover;
    display: block;
}
}


/* 标题遮罩层样式 */
/* 标题遮罩层与导航 */
.carousel-titles-overlay {
.carousel-titles-overlay {
     pointer-events: auto;
     position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.12));
    padding: 10px 0 0px;
    z-index: 10;
}
}


第388行: 第420行:
     align-items: center;
     align-items: center;
     position: relative;
     position: relative;
    padding: 0 50px;
}
}


.carousel-titles-container {
.carousel-titles-container {
     max-width: calc(100% - 80px);
     max-width: calc(100% - 120px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin: 0 auto;
}
}


/* 标题项样式 */
.carousel-title-item {
.carousel-title-item {
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     min-width: 0;
     min-width: 0;
    flex: 1;
    max-width: 200px;
    cursor: pointer;
}
}


第413行: 第453行:
}
}


/* 左右切换按钮 */
.title-text {
    color: #fff;
    font-size: 13px;
    padding: 6px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    opacity: 0.75;
}
 
.title-indicator {
    height: 2px;
    background: transparent;
    margin-top: 6px;
    transition: all 0.3s ease;
}
 
/* 切换按钮 */
.carousel-btn {
.carousel-btn {
     transition: all 0.3s;
     transition: all 0.3s;
     user-select: none;
     user-select: none;
    cursor: pointer;
    z-index: 20;
    opacity: 0.85;
}
}


/* 轮播图 */
.carousel-btn:hover {
.carousel-btn:hover {
     opacity: 1 !important;
     opacity: 1 !important;
     transform: translateY(-50%) scale(1.1);
     transform: translateY(-50%) scale(1.08);
}
}


第430行: 第492行:
}
}


/* 防止按钮图片被当作链接 */
.carousel-btn a.image {
.carousel-btn a.image {
     pointer-events: none;
     display: block;
    cursor: default;
    user-select: none;
}
 
/* 响应式设计 */
@media (max-width: 1024px) {
    .carousel-titles-container { max-width: calc(100% - 100px); }
}
}


/* 响应式调整 */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .carousel-titles-container {
     .carousel-titles-container {
         gap: 8px !important;
         gap: 8px !important;
     }
     }
   
     .carousel-title-item {
     .carousel-title-item {
         max-width: 150px !important;
         max-width: 150px !important;
     }
     }
   
     .title-text {
     .title-text {
         font-size: 12px !important;
         font-size: 12px !important;
         padding: 5px 6px !important;
         padding: 5px 6px !important;
     }
     }
   
     .carousel-btn {
     .carousel-btn {
         width: 25px !important;
         width: 25px !important;
         height: 25px !important;
         height: 25px !important;
     }
     }
   
     .carousel-titles-wrapper {
     .carousel-titles-wrapper {
         padding: 0 40px !important;
         padding: 0 40px !important;
     }
     }
   
     .carousel-btn.carousel-prev {
     .carousel-btn.carousel-prev {
         left: 5px !important;
         left: 8px !important;
     }
     }
   
     .carousel-btn.carousel-next {
     .carousel-btn.carousel-next {
         right: 5px !important;
         right: 8px !important;
     }
     }
}
}
第470行: 第531行:
@media (max-width: 480px) {
@media (max-width: 480px) {
     .carousel-title-item {
     .carousel-title-item {
         max-width: 100px !important;
         max-width: 110px !important;
     }
     }
   
     .title-text {
     .title-text {
         font-size: 11px !important;
         font-size: 11px !important;
         padding: 4px 5px !important;
         padding: 4px 5px !important;
     }
     }
   
     .carousel-btn {
     .carousel-btn {
         width: 20px !important;
         width: 22px !important;
         height: 20px !important;
         height: 22px !important;
     }
     }
}
}


/* 永久隐藏默认目录 */
/* 当仅有一张图时隐藏按钮 */
.carousel-container.single .carousel-btn { display: none; }
 
/* 兼容可能的缩略图容器 */
.carousel-slide .thumb,
.carousel-slide .thumbinner {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border: 0;
    background: none;
    box-shadow: none;
}
 
/* 避免图片选择与拖拽 */
.carousel-container img {
    user-select: none;
    -webkit-user-drag: none;
}
 
/* 触摸滑动指示(可选) */
.carousel-container.grab { cursor: grab; }
.carousel-container.grabbing { cursor: grabbing; }
 
/* 按钮 */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
 
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
 
/* 筛选按钮被选中 */
li.btn.cardSelectOption.selected {
    color: #333!important;
    background-color: #e6e6e6!important;
    border-color: #adadad!important;
outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
@media only screen and (max-width: 600px) {
li.btn.cardSelectOption {
padding: 4px 8px;
font-size: 12px;
}
li.btn.cardSelectOption:hover {
color: #333;
background-color: #fff;
border-color: #adadad;
}
}
 
/* 隐藏默认目录 */
.mw-parser-output .toc {
.mw-parser-output .toc {
     display: none !important;
     display: none !important;
}
}


/* 左侧目录样式 */
/* 悬浮目录 */
#toc-sidebar {
#toc-sidebar {
     position: fixed;
     position: fixed;
第498行: 第631行:
     border-left: none;
     border-left: none;
     border-radius: 0 5px 5px 0;
     border-radius: 0 5px 5px 0;
     padding: 8px 5px;
     padding: 5px 2px;
     z-index: 100;
     z-index: 100;
     width: 24px;
     width: 36px;
     transition: width 0.3s;
     transition: width 0.3s;
     overflow: hidden;
     overflow: hidden;
     box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
}


第547行: 第680行:
}
}


/* 卡牌悬停模板样式 */
/* 稀有度 */
.card-hover-container {
.rarity-5 {
  position: relative;
    width: 150px;
  display: inline-block;
    height: 5px;
    background: linear-gradient(135deg, #e882e8, #6fffff);
    box-shadow:
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.rarity-4 {
    width: 150px;
    height: 5px;
    background: linear-gradient(135deg, #e5a563, #f1cf97);
    box-shadow:
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.rarity-3 {
    width: 150px;
    height: 5px;
    background: linear-gradient(135deg, #3b4785, #c3e7f9);
    box-shadow:
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
/* 全局 tooltip 容器 */
.dictionary-tooltip-container {
    position: absolute;
    width: 250px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
 
.dictionary-tooltip-container.active {
    opacity: 1;
}
 
/* 首页按钮 */
.home-btn {
color: #303646;
font-size: 14px;
font-weight: bold;
text-align: center;
line-height: 18px;
width: 100px;
height: 36px;
border: 1px solid #303646;
box-shadow: 0 1px 3px 0 rgba(0,0,0,0.30);
padding: 8px 5px;
margin: 0 5px 10px;
display: inline-block;
float: left;
position: relative;
overflow: hidden;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
cursor: pointer;
}
 
.home-btn:hover {
border-color: inherit;
box-shadow: 0 2px 8px 0 rgba(0,0,0,0.40);
}
 
.home-btn:before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(90deg,
rgba(255,255,255,0) 0%,
rgba(255,255,255,0.6) 50%,
rgba(255,255,255,0) 100%);
transform: skewX(-25deg);
z-index: 1;
}
 
.home-btn:hover:before {
animation: shine 0.8s ease;
}
 
@keyframes shine {
0% {
left: -100%;
}
100% {
left: 200%;
}
}
 
.home-btn:after {
content: "";
position: absolute;
background: rgba(0,0,0,0.05);
left: 50%;
width: 0;
top: 0px;
bottom: 0px;
transition: all 0.15s;
-moz-transition: all 0.15s;
-webkit-transition: all 0.15s;
z-index: 0;
}
 
.home-btn:hover::after {
content: "";
width: 100%;
left: 0px;
}
 
.home-btn-1 {
color: #9B999D;
border-color: #9B999D;
}
 
.home-btn-2 {
color: #55A054;
border-color: #55A054;
}
 
.home-btn-3 {
color: #5483D3;
border-color: #5483D3;
}
 
.home-btn-4 {
color: #A25FD3;
border-color: #A25FD3;
}
 
.home-btn-5 {
color: #DF762C;
border-color: #DF762C;
}
 
.home-btn-6 {
color: #E74C48;
border-color: #E74C48;
}
 
.home-btn-gk {
line-height: 14px;
width: 80px;
height: 30px;
color: #2D8281;
border-color: #2D8281;
}
 
/* 装备系统样式 */
.equipment-popup {
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
 
/* 弹窗遮罩层 */
.equipment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none;
}
 
/* 装备卡片悬停效果 */
.equipment-card:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}
 
/* 关闭按钮悬停效果 */
.equipment-popup-close:hover {
    color: #ff9500 !important;
}
 
/* 装备名称链接样式 */
.equipment-name-link {
    padding: 3px 5px;
}
 
.equipment-name-link a {
    text-decoration: none !important;
}
 
/* 调整卡片容器样式 */
.equipment-wrapper .equipment-card {
    margin-bottom: 0;
}
 
/* 事件 */
.event-container {
    width: 375px;
    background-color: #343434;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
}
 
/* 图片容器 */
.event-image-container {
    position: relative;
    width: 375px;
    height: 165px;
    overflow: hidden;
}
 
.event-image-container img {
    width: 375px;
    height: auto;
    display: block;
}
 
/* 标题条 */
.event-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.event-title {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
 
/* 选项容器 */
.event-options-container {
    padding: 10px;
    background-color: #343434;
}
 
/* 选项包装器 */
.event-option-wrapper {
    margin-bottom: 5px;
}
 
/* 选项样式 */
.event-option {
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
 
.event-option:hover {
    background-color: rgba(255,255,255,0.4);
    transform: translateX(2px);
}
 
.event-option.expanded {
    background-color: rgba(255,255,255,0.45);
    border-radius: 4px 4px 0 0;
}
 
/* 选项文本 */
.option-text {
    line-height: 1.4;
}
 
/* 结果容器 */
.option-effect-container {
    background-color: rgba(255,255,255,0.2);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    margin-top: -1px;
}
 
.option-effect {
    padding: 10px 12px;
    color: white;
    font-size: 0.9em;
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.3);
}
 
/* 动画优化 */
.event-option-wrapper {
    transition: margin-bottom 0.3s ease;
}
 
.event-option-wrapper.has-expanded-effect {
    margin-bottom: 5px;
}
 
/* 事件模块样式 - 保留原有样式并添加新样式 */
 
/* ... 原有的事件容器样式保持不变 ... */
 
/* 网格视图(卡片式) */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}
 
.event-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
 
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
 
.event-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #333;
}
 
.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.event-card-info {
    padding: 10px;
}
 
.event-card-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}
 
.event-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
 
.event-card-button {
    margin-top: 10px;
}
 
.event-view-detail {
    width: 100%;
    padding: 6px 12px;
    background: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}
 
.event-view-detail:hover {
    background: #4cae4c;
}
 
/* 模态框样式 */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
 
.event-modal-content {
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    position: relative;
}
 
/* 完整布局视图 */
.event-full-layout {
    padding: 10px;
}
 
.event-info-bar {
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: bold;
}
 
.event-full-grid {
    background: #f8f9fa;
    border-radius: 8px;
}
 
.event-full-item {
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
 
.event-area-header {
    padding: 10px 0;
    border-bottom: 2px solid #333;
}
 
.event-area-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}
 
/* 通用标签样式 */
.event-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}
}


.card-name {
.event-tag-area {
  color: #4a90e2;
    background: #e3f2fd;
  border-bottom: 1px dotted #4a90e2;
    color: #1565c0;
  cursor: pointer;
}
}


.card-popup-container {
.event-tag-rarity {
  display: none;
    background: #f5f5f5;
  position: absolute;
    color: #333;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  margin-top: 10px;
}
}


.card-hover-container:hover .card-popup-container {
.event-tag-一般 {
  display: block;
    background: #e8f5e9;
    color: #2e7d32;
}
}


/* 为卡牌弹出窗口添加一个箭头 */
.event-tag-稀有 {
.card-popup-container:before {
    background: #e1f5fe;
  content: '';
    color: #0277bd;
  position: absolute;
  top: -10px;
  left: 50%;
  margin-left: -10px;
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.6);
}
}


.card-popup {
.event-tag-传奇 {
  display: block;
    background: #fce4ec;
  background-color: rgba(0, 0, 0, 0.8);
    color: #c2185b;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}
}


/* 确保游戏卡牌正确显示 */
/* 响应式调整 */
.card-popup .game-card {
@media (max-width: 768px) {
  margin: 0 !important;
    .event-full-grid {
        grid-template-columns: 1fr !important;
    }
   
    .event-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
}

2025年10月18日 (六) 12:17的最新版本

/* 这里放置的CSS将应用于所有皮肤 */

/* 字体设置 */
@font-face {
    font-family: '鸿蒙';
    src: url('/font/HarmonyOS_Sans_SC_Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'number';
    src: url('/font/Teko.ttf') format('opentype');
}

body {
    font-family: '鸿蒙', sans-serif;
}

/* 手机端和PC端显示控制 */
@media screen and (max-width: 640px) {
  .desktop-only {
    display: none !important;
  }
}
@media screen and (min-width: 641px) {
  .mobile-only {
    display: none !important;
  }
}

/* 隐藏通知图标 */
#echo-notifications {
	display:none;
}

/* 隐藏底部图标 */
#footer-right-icons {
	display:none;
}

/* 卡牌 */
.card-small-wrapper {
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.card-small-wrapper:hover {
    transform: scale(1.05);
}

.card-modal {
    animation: fadeIn 0.3s ease;
    overflow: hidden !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-close-button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

.inspiration-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
    background: linear-gradient(135deg, #7fe5ff 0%, #5fb8e0 100%) !important;
}
.inspiration-button:active { transform: translateY(0); }

.god-inspiration-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
    background: linear-gradient(135deg, #ffe08a 0%, #f0b000 100%) !important;
}
.god-inspiration-button:active { transform: translateY(0); }

.back-to-card-button:hover,
.back-to-subcards-button:hover,
.back-to-inspiration-button:hover,
.back-to-inspiration-subcards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
    background: linear-gradient(135deg, #ff7b7b 0%, #dd6565 100%) !important;
}
.back-to-card-button:active,
.back-to-subcards-button:active,
.back-to-inspiration-button:active,
.back-to-inspiration-subcards-button:active {
    transform: translateY(0);
}

.inspiration-variant-card,
.subcards-view .inspiration-variant-card {
    opacity: 0.95;
    transition: opacity 0.3s, transform 0.3s;
    cursor: default !important;
}
.inspiration-variant-card:hover,
.subcards-view .inspiration-variant-card:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cards-display { flex-direction: column !important; }
    .inspiration-cards-wrapper { gap: 10px !important; }
    .subcards-wrapper { gap: 10px !important; }
    .nested-subcards-wrapper { gap: 10px !important; }
}

.subcards-button {
    display: inline-block;
    padding: 10px 10px;
    background: linear-gradient(135deg, #6fd8fe 0%, #4da6cc 100%);
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s;
    user-select: none;
}
.subcards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #7fe5ff 0%, #5fb8e0 100%);
}
.subcards-button:active { transform: translateY(0); }

.view-nested-subcards-button,
.view-inspiration-nested-subcards-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffa500 0%, #cc8400 100%);
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s;
    user-select: none;
}
.view-nested-subcards-button:hover,
.view-inspiration-nested-subcards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffb520 0%, #dd9400 100%);
}
.view-nested-subcards-button:active,
.view-inspiration-nested-subcards-button:active { transform: translateY(0); }

.nested-subcards-view,
.inspiration-subcards-view,
.inspiration-nested-subcards-view {
    opacity: 0.95;
    transition: opacity 0.3s;
}

.inspiration-cards-wrapper { align-items: flex-start; }
.inspiration-variant { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 240px; }

.inspiration-subcards-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffa500 0%, #cc8400 100%);
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s;
    user-select: none;
    margin-top: 8px;
}
.inspiration-subcards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffb520 0%, #dd9400 100%);
}
.inspiration-subcards-button:active { transform: translateY(0); }

.god-variant-card {
    opacity: 0.95;
    transition: opacity 0.3s, transform 0.3s;
    cursor: default !important;
}
.god-variant-card:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 卡牌悬停样式 */
.card-link {
    display: inline-block;
    position: relative;
}

.card-link:hover {
    color: #5a7fff;
}

/* 悬停时显示的卡牌容器 */
.card-hover-popup {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    z-index: 10000;
    pointer-events: none;
    animation: cardPopupFadeIn 0.2s ease;
}

.card-link:hover .card-hover-popup {
    display: block;
}

@keyframes cardPopupFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 确保悬停卡牌不可交互 */
.card-hover-popup * {
    pointer-events: none !important;
    cursor: default !important;
}

/* 隐藏悬停卡牌中的模态框 */
.card-hover-popup .card-modal {
    display: none !important;
}

.dictionary-tooltip-container {
    position: absolute;
    width: 250px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}
.dictionary-tooltip-container.active {
    opacity: 1;
    pointer-events: auto;
}

.dictionary-term {
    text-decoration: underline;
    cursor: help;
}

/* 黑幕 */
.heimu {
    background-color: #252525;
    color: #252525;
    transition: color 0.5s;
}

.heimu:hover {
    color: #ffffff;
}

/* 切换标签 */
.main-line-wrap {
  width: 100%;
  margin: 0px;
}
.resp-tabs {
  width: 100%;
}

.resp-tabs-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.resp-tabs-list.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.czn-list-style {
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-panel {
  position: relative;
  display: inline-block;
  background: #b9b9b9;
  color: #000;
  padding: 5px 30px;
  font-size: 12px;
  text-align: center;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  min-width: auto;
  transition: all 0.3s ease;
}

.czn-list-style.active .tab-panel {
  background: #ff5514;
  color: white;
}

.tab-panel::before {
  content: "✦";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-panel::after {
  content: "✦";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.czn-list-style.active .tab-panel::before,
.czn-list-style.active .tab-panel::after {
  opacity: 1;
}

.resp-tabs-container {
  padding-left: 0px;
}

.resp-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.resp-tab-content[style*="display:block"],
.resp-tab-content[style*="display: block"] {
  display: block !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carousel-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

/* 图片统一裁剪为 280px 高度并覆盖容器 */
.carousel-slide img,
.carousel-slide a.image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover;
    display: block;
}

/* 标题遮罩层与导航 */
.carousel-titles-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.12));
    padding: 10px 0 0px;
    z-index: 10;
}

.carousel-titles-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 50px;
}

.carousel-titles-container {
    max-width: calc(100% - 120px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin: 0 auto;
}

.carousel-title-item {
    transition: all 0.3s ease;
    min-width: 0;
    flex: 1;
    max-width: 200px;
    cursor: pointer;
}

.carousel-title-item:hover .title-text {
    opacity: 1 !important;
}

.carousel-title-item.active .title-text {
    opacity: 1 !important;
    font-weight: bold;
}

.carousel-title-item.active .title-indicator {
    background: #ff6600 !important;
}

.title-text {
    color: #fff;
    font-size: 13px;
    padding: 6px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    opacity: 0.75;
}

.title-indicator {
    height: 2px;
    background: transparent;
    margin-top: 6px;
    transition: all 0.3s ease;
}

/* 切换按钮 */
.carousel-btn {
    transition: all 0.3s;
    user-select: none;
    cursor: pointer;
    z-index: 20;
    opacity: 0.85;
}

/* 轮播图 */
.carousel-btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-btn a.image {
    display: block;
    cursor: default;
    user-select: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .carousel-titles-container { max-width: calc(100% - 100px); }
}

@media (max-width: 768px) {
    .carousel-titles-container {
        gap: 8px !important;
    }
    .carousel-title-item {
        max-width: 150px !important;
    }
    .title-text {
        font-size: 12px !important;
        padding: 5px 6px !important;
    }
    .carousel-btn {
        width: 25px !important;
        height: 25px !important;
    }
    .carousel-titles-wrapper {
        padding: 0 40px !important;
    }
    .carousel-btn.carousel-prev {
        left: 8px !important;
    }
    .carousel-btn.carousel-next {
        right: 8px !important;
    }
}

@media (max-width: 480px) {
    .carousel-title-item {
        max-width: 110px !important;
    }
    .title-text {
        font-size: 11px !important;
        padding: 4px 5px !important;
    }
    .carousel-btn {
        width: 22px !important;
        height: 22px !important;
    }
}

/* 当仅有一张图时隐藏按钮 */
.carousel-container.single .carousel-btn { display: none; }

/* 兼容可能的缩略图容器 */
.carousel-slide .thumb,
.carousel-slide .thumbinner {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border: 0;
    background: none;
    box-shadow: none;
}

/* 避免图片选择与拖拽 */
.carousel-container img {
    user-select: none;
    -webkit-user-drag: none;
}

/* 触摸滑动指示(可选) */
.carousel-container.grab { cursor: grab; }
.carousel-container.grabbing { cursor: grabbing; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

/* 筛选按钮被选中 */
li.btn.cardSelectOption.selected {
    color: #333!important;
    background-color: #e6e6e6!important;
    border-color: #adadad!important;
	outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
@media only screen and (max-width: 600px) {
	li.btn.cardSelectOption {
		padding: 4px 8px;
		font-size: 12px;
	}
	li.btn.cardSelectOption:hover {
		color: #333;
		background-color: #fff;
		border-color: #adadad;
	}
}

/* 隐藏默认目录 */
.mw-parser-output .toc {
    display: none !important;
}

/* 悬浮目录 */
#toc-sidebar {
    position: fixed;
    left: 0;
    top: 30%;
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-left: none;
    border-radius: 0 5px 5px 0;
    padding: 5px 2px;
    z-index: 100;
    width: 36px;
    transition: width 0.3s;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

#toc-sidebar.expanded {
    width: 250px;
    padding: 10px;
}

#toc-sidebar-trigger {
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    writing-mode: vertical-lr; /* 修改为vertical-lr */
    height: auto;
    white-space: nowrap;
}

#toc-sidebar.expanded #toc-sidebar-trigger {
    writing-mode: horizontal-tb;
}

#toc-sidebar-content {
    display: none;
    padding-top: 10px;
    width: 230px;
    max-height: 60vh;
    overflow-y: auto;
}

#toc-sidebar.expanded #toc-sidebar-content {
    display: block;
}

/* 隐藏目录中的小圆点 */
#toc-sidebar-content ul {
    list-style-type: none;
    padding-left: 15px;
    margin: 0;
}

#toc-sidebar-content li {
    margin: 3px 0;
}

/* 稀有度 */
.rarity-5 {
    width: 150px;
    height: 5px;
    background: linear-gradient(135deg, #e882e8, #6fffff);
    box-shadow: 
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rarity-4 {
    width: 150px;
    height: 5px;
    background: linear-gradient(135deg, #e5a563, #f1cf97);
    box-shadow: 
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rarity-3 {
    width: 150px;
    height: 5px;
    background: linear-gradient(135deg, #3b4785, #c3e7f9);
    box-shadow: 
    0 0 15px rgba(110, 69, 226, 0.5),
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 全局 tooltip 容器 */
.dictionary-tooltip-container {
    position: absolute;
    width: 250px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dictionary-tooltip-container.active {
    opacity: 1;
}

/* 首页按钮 */
.home-btn {
	color: #303646;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	line-height: 18px;
	width: 100px;
	height: 36px;
	border: 1px solid #303646;
	box-shadow: 0 1px 3px 0 rgba(0,0,0,0.30);
	padding: 8px 5px;
	margin: 0 5px 10px;
	display: inline-block;
	float: left;
	position: relative;
	overflow: hidden;
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	cursor: pointer;
}

.home-btn:hover {
	border-color: inherit;
	box-shadow: 0 2px 8px 0 rgba(0,0,0,0.40);
}

.home-btn:before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(90deg, 
		rgba(255,255,255,0) 0%, 
		rgba(255,255,255,0.6) 50%, 
		rgba(255,255,255,0) 100%);
	transform: skewX(-25deg);
	z-index: 1;
}

.home-btn:hover:before {
	animation: shine 0.8s ease;
}

@keyframes shine {
	0% {
		left: -100%;
	}
	100% {
		left: 200%;
	}
}

.home-btn:after {
	content: "";
	position: absolute;
	background: rgba(0,0,0,0.05);
	left: 50%;
	width: 0;
	top: 0px;
	bottom: 0px;
	transition: all 0.15s;
	-moz-transition: all 0.15s;
	-webkit-transition: all 0.15s;
	z-index: 0;
}

.home-btn:hover::after {
	content: "";
	width: 100%;
	left: 0px;
}

.home-btn-1 {
	color: #9B999D;
	border-color: #9B999D;
}

.home-btn-2 {
	color: #55A054;
	border-color: #55A054;
}

.home-btn-3 {
	color: #5483D3;
	border-color: #5483D3;
}

.home-btn-4 {
	color: #A25FD3;
	border-color: #A25FD3;
}

.home-btn-5 {
	color: #DF762C;
	border-color: #DF762C;
}

.home-btn-6 {
	color: #E74C48;
	border-color: #E74C48;
}

.home-btn-gk {
	line-height: 14px;
	width: 80px;
	height: 30px;
	color: #2D8281;
	border-color: #2D8281;
}

/* 装备系统样式 */
.equipment-popup {
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* 弹窗遮罩层 */
.equipment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none;
}

/* 装备卡片悬停效果 */
.equipment-card:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}

/* 关闭按钮悬停效果 */
.equipment-popup-close:hover {
    color: #ff9500 !important;
}

/* 装备名称链接样式 */
.equipment-name-link {
    padding: 3px 5px;
}

.equipment-name-link a {
    text-decoration: none !important;
}

/* 调整卡片容器样式 */
.equipment-wrapper .equipment-card {
    margin-bottom: 0;
}

/* 事件 */
.event-container {
    width: 375px;
    background-color: #343434;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
}

/* 图片容器 */
.event-image-container {
    position: relative;
    width: 375px;
    height: 165px;
    overflow: hidden;
}

.event-image-container img {
    width: 375px;
    height: auto;
    display: block;
}

/* 标题条 */
.event-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-title {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 选项容器 */
.event-options-container {
    padding: 10px;
    background-color: #343434;
}

/* 选项包装器 */
.event-option-wrapper {
    margin-bottom: 5px;
}

/* 选项样式 */
.event-option {
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.event-option:hover {
    background-color: rgba(255,255,255,0.4);
    transform: translateX(2px);
}

.event-option.expanded {
    background-color: rgba(255,255,255,0.45);
    border-radius: 4px 4px 0 0;
}

/* 选项文本 */
.option-text {
    line-height: 1.4;
}

/* 结果容器 */
.option-effect-container {
    background-color: rgba(255,255,255,0.2);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    margin-top: -1px;
}

.option-effect {
    padding: 10px 12px;
    color: white;
    font-size: 0.9em;
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.3);
}

/* 动画优化 */
.event-option-wrapper {
    transition: margin-bottom 0.3s ease;
}

.event-option-wrapper.has-expanded-effect {
    margin-bottom: 5px;
}

/* 事件模块样式 - 保留原有样式并添加新样式 */

/* ... 原有的事件容器样式保持不变 ... */

/* 网格视图(卡片式) */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

.event-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #333;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-info {
    padding: 10px;
}

.event-card-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.event-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.event-card-button {
    margin-top: 10px;
}

.event-view-detail {
    width: 100%;
    padding: 6px 12px;
    background: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.event-view-detail:hover {
    background: #4cae4c;
}

/* 模态框样式 */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event-modal-content {
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    position: relative;
}

/* 完整布局视图 */
.event-full-layout {
    padding: 10px;
}

.event-info-bar {
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: bold;
}

.event-full-grid {
    background: #f8f9fa;
    border-radius: 8px;
}

.event-full-item {
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.event-area-header {
    padding: 10px 0;
    border-bottom: 2px solid #333;
}

.event-area-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

/* 通用标签样式 */
.event-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

.event-tag-area {
    background: #e3f2fd;
    color: #1565c0;
}

.event-tag-rarity {
    background: #f5f5f5;
    color: #333;
}

.event-tag-一般 {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-tag-稀有 {
    background: #e1f5fe;
    color: #0277bd;
}

.event-tag-传奇 {
    background: #fce4ec;
    color: #c2185b;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .event-full-grid {
        grid-template-columns: 1fr !important;
    }
    
    .event-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}