MediaWiki

Common.css:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
无编辑摘要
律Rhyme留言 | 贡献
无编辑摘要
 
(未显示同一用户的33个中间版本)
第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;
}
 
@keyframes fadeIn {
    from { opacity: 0; }
     to { opacity: 1; }
}
 
.modal-close-button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}
}


.resp-tabs {
.inspiration-button:hover {
     background: transparent;
    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); }


.resp-tabs-list {
.god-inspiration-button:hover {
     list-style: none;
     transform: translateY(-2px);
     margin: 0;
     box-shadow: 0 6px 8px rgba(0,0,0,0.4) !important;
    padding: 0;
     background: linear-gradient(135deg, #ffe08a 0%, #f0b000 100%) !important;
     background: transparent;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
}
.god-inspiration-button:active { transform: translateY(0); }


.resp-tabs-list::after {
.back-to-card-button:hover,
     content: "";
.back-to-subcards-button:hover,
     display: table;
.back-to-inspiration-button:hover,
     clear: both;
.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 {
.inspiration-variant-card,
     margin: 0;
.subcards-view .inspiration-variant-card {
     padding: 0;
     opacity: 0.95;
     cursor: pointer;
     transition: opacity 0.3s, transform 0.3s;
    transition: all 0.2s ease;
     cursor: default !important;
    border-radius: 4px;
}
    background-color: #f5f5f5;
.inspiration-variant-card:hover,
    border: 1px solid #ddd;
.subcards-view .inspiration-variant-card:hover {
    border-top: 1px solid #ddd !important;
     opacity: 1;
    border-bottom: 1px solid #ddd !important;
     transform: scale(1.05);
     border-left: 1px solid #ddd !important;
     border-right: 1px solid #ddd !important;
}
}


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


.czn-list-style.active {
.subcards-button {
     background-color: #007bff;
    display: inline-block;
    padding: 10px 10px;
     background: linear-gradient(135deg, #6fd8fe 0%, #4da6cc 100%);
     color: white;
     color: white;
     border: 1px solid #007bff !important;
    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); }


.czn-list-style.active:hover {
.view-nested-subcards-button,
     background-color: #0056b3;
.view-inspiration-nested-subcards-button {
     border: 1px solid #0056b3 !important;
    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); }


.tab-panel {
.nested-subcards-view,
    display: block;
.inspiration-subcards-view,
    padding: 8px 16px;
.inspiration-nested-subcards-view {
    color: #333;
     opacity: 0.95;
    text-decoration: none;
     transition: opacity 0.3s;
    font-weight: normal;
    transition: color 0.2s ease;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
     font-size: 14px;
     border: none !important;
}
}


.czn-list-style.active .tab-panel {
.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;
     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); }


.resp-tabs-container {
.god-variant-card {
     padding: 0;
     opacity: 0.95;
     background: transparent;
     transition: opacity 0.3s, transform 0.3s;
     margin-top: 8px;
    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;
}
}


.resp-tab-content {
/* 悬停时显示的卡牌容器 */
.card-hover-popup {
     display: none;
     display: none;
     animation: fadeIn 0.2s ease-in-out;
     position: absolute;
     background: transparent;
    left: 50%;
     padding: 0;
    bottom: 100%;
     border: none !important;
    transform: translateX(-50%);
    margin-bottom: 10px;
     z-index: 10000;
     pointer-events: none;
     animation: cardPopupFadeIn 0.2s ease;
}
}


.resp-tab-content[style*="display:block"],
.card-link:hover .card-hover-popup {
.resp-tab-content[style*="display: block"] {
     display: block;
     display: block !important;
}
}


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


/* 响应式设计 */
/* 确保悬停卡牌不可交互 */
@media (max-width: 768px) {
.card-hover-popup * {
    .resp-tabs-list {
    pointer-events: none !important;
        flex-direction: column;
    cursor: default !important;
        gap: 4px;
}
    }
 
   
/* 隐藏悬停卡牌中的模态框 */
    .czn-list-style {
.card-hover-popup .card-modal {
        width: 100%;
    display: none !important;
        border: 1px solid #ddd !important;
}
    }
 
   
.dictionary-tooltip-container {
    .tab-panel {
    position: absolute;
        padding: 6px 12px;
    width: 250px;
        min-width: auto;
    z-index: 10000;
        font-size: 13px;
    opacity: 0;
        border: none !important;
    transition: opacity 0.15s ease;
    }
    pointer-events: none;
      
}
     .resp-tabs-container {
.dictionary-tooltip-container.active {
        margin-top: 6px;
     opacity: 1;
     }
     pointer-events: auto;
}
 
.dictionary-term {
    text-decoration: underline;
     cursor: help;
}
}


第161行: 第278行:
}
}


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


.rarity-4 {
.resp-tabs-list {
    width: 150px;
  list-style: none;
    height: 5px;
  padding: 0;
    background: linear-gradient(135deg, #e5a563, #f1cf97);
  display: flex;
    box-shadow:
  flex-wrap: wrap;
    0 0 15px rgba(110, 69, 226, 0.5),
  gap: 10px;
    0 0 30px rgba(136, 211, 206, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}
 
.resp-tabs-list.clearfix::after {
.rarity-3 {
  content: "";
    width: 150px;
  display: table;
    height: 5px;
  clear: both;
    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;
}
}


/* 卡牌系统样式 */
.czn-list-style {
#card-overlay {
  display: inline-block;
    backdrop-filter: blur(5px);
  cursor: pointer;
    -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
}


#card-display-container {
.tab-panel {
    animation: fadeIn 0.3s ease-out;
  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;
}
}


@keyframes fadeIn {
.czn-list-style.active .tab-panel {
    from {
  background: #ff5514;
        opacity: 0;
  color: white;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
}


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


.game-list .game-card:hover,
.tab-panel::after {
.game-grid .game-card:hover {
  content: "✦";
    transform: scale(1.05);
  position: absolute;
    z-index: 10;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
}


#card-overlay .game-card {
.czn-list-style.active .tab-panel::before,
    transform: none !important;
.czn-list-style.active .tab-panel::after {
  opacity: 1;
}
}


/* 修复卡牌描述布局 */
.resp-tabs-container {
#card-overlay .game-card > div:last-child {
  padding-left: 0px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
}


/* 确保放大的卡牌元素正确显示 */
.resp-tab-content {
#card-overlay .game-card div[style*="position: absolute"] {
  display: none;
    transform-origin: center center;
  animation: fadeIn 0.3s ease;
}
}
 
.resp-tab-content[style*="display:block"],
/* 滚动条美化 */
.resp-tab-content[style*="display: block"] {
#card-overlay ::-webkit-scrollbar {
  display: block !important;
    width: 8px;
    height: 8px;
}
}


#card-overlay ::-webkit-scrollbar-track {
@keyframes fadeIn {
     background: rgba(255, 255, 255, 0.1);
  from {
     border-radius: 4px;
     opacity: 0;
  }
  to {
     opacity: 1;
  }
}
}


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


#card-overlay ::-webkit-scrollbar-thumb:hover {
.carousel-wrapper {
     background: rgba(255, 255, 255, 0.5);
    display: flex;
    height: 100%;
     transition: transform 0.5s ease;
    will-change: transform;
}
}


/* 轮播图样式 */
.carousel-slide {
.carousel-container {
     min-width: 100%;
     border-radius: 8px;
     height: 100%;
     box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}
}


.carousel-slide img {
/* 图片统一裁剪为 280px 高度并覆盖容器 */
     width: 100%;
.carousel-slide img,
     height: 250px;
.carousel-slide a.image img {
     width: 100% !important;
     height: 280px !important;
     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;
}
}


第283行: 第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;
}
}


第308行: 第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);
}
}


第325行: 第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;
     }
     }
}
}
第365行: 第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;
第442行: 第680行:
}
}


/* 卡牌悬停模板样式 */
/* 稀有度 */
.card-hover-container {
.rarity-5 {
  position: relative;
    width: 150px;
  display: inline;
    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;
}
}


.card-name {
.rarity-4 {
  color: #4a90e2;
    width: 150px;
  border-bottom: 1px dotted #4a90e2;
    height: 5px;
  cursor: pointer;
    background: linear-gradient(135deg, #e5a563, #f1cf97);
  white-space: nowrap;
    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;
}
}


.card-popup-container {
.rarity-3 {
  display: none;
    width: 150px;
  position: absolute;
    height: 5px;
  z-index: 1000;
    background: linear-gradient(135deg, #3b4785, #c3e7f9);
  left: 0;
    box-shadow:  
  top: 100%;
    0 0 15px rgba(110, 69, 226, 0.5),
  margin-top: 5px;
    0 0 30px rgba(136, 211, 206, 0.3);
  background: none;
    overflow: hidden;
}
    transition: transform 0.3s ease, box-shadow 0.3s ease;
 
.card-hover-container:hover .card-popup-container {
  display: block;
}
 
.card-popup {
  display: block;
  background: none;
  padding: 0;
  box-shadow: none;
}
 
/* 确保游戏卡牌正确显示 */
.card-popup .game-card {
  margin: 0 !important;
}
}


/* 全局 tooltip 容器 */
/* 全局 tooltip 容器 */
第496行: 第728行:
}
}


/* 卡牌描述滚动容器 */
/* 首页按钮 */
.card-description-scroll {
.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;
     position: absolute;
     bottom: 7px;
     bottom: 0;
     left: 15px;
     left: 0;
     width: 144px;
     right: 0;
     height: 100px;
     height: 35px;
     overflow: hidden;
     background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6));
    text-align: center;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
第510行: 第925行:
}
}


.card-description-scroll-inner {
.event-title {
     width: 100%;
    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;
}
}


.card-description-text {
/* 选项样式 */
     font-size: 12px;
.event-option {
    background-color: rgba(255,255,255,0.3);
     border-radius: 4px;
    padding: 8px 12px;
     color: white;
     color: white;
     line-height: 13px;
     cursor: pointer;
     padding: 5px 0;
    transition: all 0.2s ease;
    position: relative;
}
 
.event-option:hover {
    background-color: rgba(255,255,255,0.4);
     transform: translateX(2px);
}
}


/* 滚动动画关键帧 */
.event-option.expanded {
@keyframes cardScrollUp {
     background-color: rgba(255,255,255,0.45);
     0%, 10% {
     border-radius: 4px 4px 0 0;
        transform: translateY(0);
     }
    90%, 100% {
        transform: translateY(calc(-100% + 100px));
    }
}
}


/* 需要滚动时:取消居中,从顶部开始 */
/* 选项文本 */
.game-card.card-description-scrollable .card-description-scroll {
.option-text {
     align-items: flex-start; /* 顶部对齐 */
     line-height: 1.4;
}
}


/* 应用滚动动画 */
/* 结果容器 */
.game-card.card-description-scrollable .card-description-scroll-inner {
.option-effect-container {
     animation: cardScrollUp 8s ease-in-out infinite;
    background-color: rgba(255,255,255,0.2);
    border-radius: 0 0 4px 4px;
     overflow: hidden;
    margin-top: -1px;
}
}


/* 悬停暂停 */
.option-effect {
.game-card.card-description-scrollable:hover .card-description-scroll-inner {
    padding: 10px 12px;
     animation-play-state: paused;
    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 {
.editor-toolbar {
     margin-bottom: 5px;
     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;
     display: flex;
    flex-wrap: wrap;
     gap: 5px;
     gap: 5px;
     flex-wrap: wrap;
     margin-bottom: 10px;
}
 
.event-card-button {
    margin-top: 10px;
}
}


.toolbar-button {
.event-view-detail {
     display: inline-block;
     width: 100%;
     padding: 4px 10px;
     padding: 6px 12px;
     background: #0645ad;
     background: #5cb85c;
     color: white;
     color: white;
     border-radius: 3px;
    border: none;
     border-radius: 4px;
     cursor: pointer;
     cursor: pointer;
     font-size: 12px;
     font-size: 13px;
     transition: background 0.2s;
     transition: background-color 0.2s;
    user-select: none;
}
}


.toolbar-button:hover {
.event-view-detail:hover {
     background: #0b0080;
     background: #4cae4c;
}
}


.toolbar-button:active {
/* 模态框样式 */
     background: #002bb8;
.event-modal {
     transform: scale(0.98);
    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;
}
}


.avatar-frame {
.event-modal-content {
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
     position: relative;
     position: relative;
    display: inline-block;
    vertical-align: top;
    border: 3px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #f5f5f5;
}
}


.avatar-frame img {
/* 完整布局视图 */
     display: block;
.event-full-layout {
    width: 100px;
     padding: 10px;
    height: 100px;
    object-fit: cover;
}
}


.avatar-name {
.event-info-bar {
     position: absolute;
     padding: 10px 20px;
     left: 0;
     background: #f0f0f0;
     bottom: 0;
     border-radius: 4px;
    padding: 2px 8px;
     margin-bottom: 10px;
     color: white;
    font-size: 12px;
     font-weight: bold;
     font-weight: bold;
    text-shadow: 0 0 2px black, 0 0 2px black;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top-right-radius: 3px;
}
}


/* 按钮样式 */
.event-full-grid {
.btn {
    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;
     display: inline-block;
     padding: 6px 12px;
     padding: 2px 8px;
    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;
     border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}
.event-tag-area {
    background: #e3f2fd;
    color: #1565c0;
}
}


.btn-default {
.event-tag-rarity {
    background: #f5f5f5;
     color: #333;
     color: #333;
    background-color: #fff;
    border-color: #ccc;
}
}


/* 筛选按钮被选中 */
.event-tag-一般 {
li.btn.cardSelectOption.selected {
    background: #e8f5e9;
     color: #333!important;
     color: #2e7d32;
     background-color: #e6e6e6!important;
}
     border-color: #adadad!important;
 
outline: 0;
.event-tag-稀有 {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
     background: #e1f5fe;
     box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
     color: #0277bd;
}
 
.event-tag-传奇 {
    background: #fce4ec;
     color: #c2185b;
}
}
@media only screen and (max-width: 600px) {
 
li.btn.cardSelectOption {
/* 响应式调整 */
padding: 4px 8px;
@media (max-width: 768px) {
font-size: 12px;
    .event-full-grid {
}
        grid-template-columns: 1fr !important;
li.btn.cardSelectOption:hover {
    }
color: #333;
   
background-color: #fff;
    .event-grid {
border-color: #adadad;
        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));
    }
}