打开/关闭菜单
958
1582
113
1.5万
植物大战僵尸杂交版Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

如您想编辑,请先注册

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
标签已被回退
无编辑摘要
标签已被回退
第9行: 第9行:
}
}


/* 新增:响应式图片卡片样式 */
/* 响应式图片卡片样式 */
.gallery-card {
.gallery-card {
     position: relative;
     position: relative;
第16行: 第16行:
     text-align: center;
     text-align: center;
}
}
.gallery-card-small {
.gallery-card-small {
     position: relative;
     position: relative;
第23行: 第22行:
     text-align: center;
     text-align: center;
}
}
.gallery-card img,
.gallery-card img,
.gallery-card-small img {
.gallery-card-small img {
第29行: 第27行:
     height: auto;
     height: auto;
}
}
.image-overlay {
.image-overlay {
     position: absolute;
     position: absolute;
第40行: 第37行:
     border-radius: 4px;
     border-radius: 4px;
}
}
.flex-gallery {
.flex-gallery {
     display: flex;
     display: flex;
第49行: 第45行:
}
}


/* === 手机端响应式(768px以下) === */
/* 手机端响应式 */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     .responsive-two-columns,
     .responsive-two-columns,
第58行: 第54行:
         width: 100%;
         width: 100%;
     }
     }
   
     .responsive-two-columns .right-col {
     .responsive-two-columns .right-col {
         padding-left: 0;
         padding-left: 0;
         margin-top: 20px;
         margin-top: 20px;
     }
     }
   
     .responsive-two-columns img {
     .responsive-two-columns img {
         max-width: 100%;
         max-width: 100%;
         height: auto;
         height: auto;
     }
     }
   
     .gallery-card,
     .gallery-card,
     .gallery-card-small {
     .gallery-card-small {
第74行: 第67行:
         max-width: none;
         max-width: none;
     }
     }
   
     .pvz-navigation {
     .pvz-navigation {
         float: none;
         float: none;
第80行: 第72行:
         width: 100%;
         width: 100%;
     }
     }
   
     .pvz-navigation .nav-table {
     .pvz-navigation .nav-table {
         display: flex;
         display: flex;
第88行: 第79行:
         width: 100%;
         width: 100%;
     }
     }
   
     .pvz-navigation .nav-table tbody {
     .pvz-navigation .nav-table tbody {
         display: contents;
         display: contents;
     }
     }
   
     .pvz-navigation .nav-table tr {
     .pvz-navigation .nav-table tr {
         display: contents;
         display: contents;
     }
     }
   
     .pvz-navigation .nav-table td {
     .pvz-navigation .nav-table td {
         display: block;
         display: block;
第104行: 第92行:
         box-sizing: border-box;
         box-sizing: border-box;
     }
     }
   
     .pvz-navigation .nav-table td img {
     .pvz-navigation .nav-table td img {
         width: 100%;
         width: 100%;
第110行: 第97行:
         height: auto;
         height: auto;
     }
     }
   
     .pvz-navigation .nav-title {
     .pvz-navigation .nav-title {
         font-size: 1.2em;
         font-size: 1.2em;
     }
     }
}
}
@media screen and (max-width: 480px) {
@media screen and (max-width: 480px) {
     .gallery-card,
     .gallery-card,
第123行: 第108行:
}
}


/* 图片悬停 */
a img {
a img {
     transition: transform 0.3s ease;
     transition: transform 0.3s ease;
}
}
a img:hover {
a img:hover {
     transform: scale(1.08);
     transform: scale(1.08);
第132行: 第117行:
     position: relative;
     position: relative;
}
}
.card a img,
.card a img,
.swiper a img,
.swiper a img,
第141行: 第125行:
     transition: none;
     transition: none;
}
}
.card a img:hover,
.card a img:hover,
.swiper a img:hover,
.swiper a img:hover,
第151行: 第134行:
}
}


/* === 表格响应式 === */
/* 表格响应式 */
@media screen and (min-width: 769px) {
@media screen and (min-width: 769px) {
  .responsive-fixed-grid {
    .responsive-fixed-grid {
    width: auto;
        width: auto;
    margin: 0 auto;
        margin: 0 auto;
    table-layout: fixed;
        table-layout: fixed;
  }
    }
 
    .responsive-fixed-grid td {
  .responsive-fixed-grid td {
        width: 20%;
    width: 20%;
        padding: 5px;
    padding: 5px;
        text-align: center;
    text-align: center;
        box-sizing: border-box;
    box-sizing: border-box;
    }
  }
    .responsive-fixed-grid td img {
 
        max-width: 100%;
  .responsive-fixed-grid td img {
        height: auto;
    max-width: 100%;
    }
    height: auto;
  }
}
}
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
  .responsive-fixed-grid {
    .responsive-fixed-grid {
    display: flex;
        display: flex;
    flex-wrap: wrap;
        flex-wrap: wrap;
    justify-content: center;
        justify-content: center;
    gap: 5px;
        gap: 5px;
    width: 100%;
        width: 100%;
  }
    }
 
    .responsive-fixed-grid tbody,
  .responsive-fixed-grid tbody,
    .responsive-fixed-grid tr {
  .responsive-fixed-grid tr {
        display: contents;
    display: contents;
    }
  }
    .responsive-fixed-grid td {
 
        display: block;
  .responsive-fixed-grid td {
        flex: 0 1 auto;
    display: block;
        max-width: calc(33.33% - 6px);
    flex: 0 1 auto;
        width: auto;
    max-width: calc(33.33% - 6px);
        padding: 3px;
    width: auto;
        text-align: center;
    padding: 3px;
        box-sizing: border-box;
    text-align: center;
    }
    box-sizing: border-box;
    .responsive-fixed-grid td img {
  }
        max-width: 100%;
 
        height: auto;
  .responsive-fixed-grid td img {
        display: block;
    max-width: 100%;
    }
    height: auto;
    display: block;
  }
}
}
@media screen and (max-width: 480px) {
@media screen and (max-width: 480px) {
  .responsive-fixed-grid td {
    .responsive-fixed-grid td {
    max-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
  }
    }
}
}


第214行: 第190行:
     max-width: 750px;
     max-width: 750px;
}
}
img {
img {
     max-width: 100%;
     max-width: 100%;
     height: auto;
     height: auto;
}
}
.responsive-two-columns {
.responsive-two-columns {
     padding-left: 50px;
     padding-left: 50px;
     box-sizing: border-box;
     box-sizing: border-box;
}
}
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     .responsive-two-columns {
     .responsive-two-columns {
第230行: 第203行:
     }
     }
}
}
@media screen and (min-width: 769px) {
@media screen and (min-width: 769px) {
     .responsive-two-columns {
     .responsive-two-columns {
第236行: 第208行:
     }
     }
}
}
.responsive-img img {
.responsive-img img {
     max-width: 100%;
     max-width: 100%;
第276行: 第247行:
.pvzhe-card.hidden-card { display: none; }
.pvzhe-card.hidden-card { display: none; }


/* 编辑数昵称标签 */
/* 昵称标签 */
.user-title-tag {
.user-title-tag {
     display: inline-block;
     display: inline-block;
第290行: 第261行:
}
}


/* 版本更新公告弹窗样式 */
/* 版本公告 */
.update-notice-content {
.update-notice-content { font-family: sans-serif; color: #333; }
    font-family: sans-serif;
    color: #333;
}
.update-version {
.update-version {
     font-size: 22px;
     font-size: 22px; font-weight: bold; color: #2c3e50;
    font-weight: bold;
     margin-bottom: 5px; text-align: center;
    color: #2c3e50;
     margin-bottom: 5px;
    text-align: center;
}
}
.update-date {
.update-date {
     font-size: 13px;
     font-size: 13px; color: #888; text-align: center; margin-bottom: 15px;
    color: #888;
    text-align: center;
    margin-bottom: 15px;
}
.update-notice-content ul {
    list-style: none;
    padding: 0;
}
}
.update-notice-content ul { list-style: none; padding: 0; }
.update-notice-content ul li {
.update-notice-content ul li {
     padding: 6px 0;
     padding: 6px 0; border-bottom: 1px solid #eee; font-size: 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
}


/* 返回顶部按钮 */
/* 返回顶部 */
#back-to-top {
#back-to-top {
     position: fixed;
     position: fixed; bottom: 40px; right: 30px;
    bottom: 40px;
     background: #4CAF50; color: #fff; border: none;
    right: 30px;
     border-radius: 50%; width: 45px; height: 45px;
     background: #4CAF50;
     font-size: 22px; cursor: pointer; display: none;
    color: #fff;
     z-index: 9999; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: none;
     border-radius: 50%;
    width: 45px;
    height: 45px;
     font-size: 22px;
    cursor: pointer;
    display: none;
     z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
     transition: opacity 0.3s, transform 0.3s;
     transition: opacity 0.3s, transform 0.3s;
}
}
#back-to-top:hover {
#back-to-top:hover { background: #45a049; transform: scale(1.1); }
    background: #45a049;
    transform: scale(1.1);
}


/* 私信系统样式 */
/* 私信 */
.msg-badge {
.msg-badge {
     position: fixed;
     position: fixed; bottom: 20px; left: 20px;
    bottom: 20px;
     background: #f44336; color: #fff; border-radius: 50%;
    left: 20px;
     width: 20px; height: 20px; font-size: 12px;
     background: #f44336;
     text-align: center; line-height: 20px; cursor: pointer;
    color: #fff;
     z-index: 100001; display: none;
    border-radius: 50%;
     width: 20px;
    height: 20px;
    font-size: 12px;
     text-align: center;
    line-height: 20px;
    cursor: pointer;
     z-index: 100001;
    display: none;
     box-shadow: 0 2px 6px rgba(0,0,0,0.3);
     box-shadow: 0 2px 6px rgba(0,0,0,0.3);
     animation: msgPulse 2s infinite;
     animation: msgPulse 2s infinite;
第365行: 第301行:
}
}
.msg-overlay {
.msg-overlay {
     position: fixed;
     position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    top: 0;
     background: rgba(0,0,0,0.5); z-index: 100000;
    left: 0;
     display: flex; align-items: center; justify-content: center;
    width: 100%;
    height: 100%;
     background: rgba(0,0,0,0.5);
    z-index: 100000;
     display: flex;
    align-items: center;
    justify-content: center;
}
}
.msg-box {
.msg-box {
     background: #fff;
     background: #fff; border-radius: 12px; padding: 25px;
    border-radius: 12px;
     max-width: 500px; width: 90%; max-height: 70vh;
    padding: 25px;
     overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4);
     max-width: 500px;
    width: 90%;
    max-height: 70vh;
     overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.msg-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.msg-sender {
    font-weight: bold;
    color: #333;
}
.msg-time {
    font-size: 11px;
    color: #999;
    margin-left: 8px;
}
.msg-text {
    margin-top: 4px;
    color: #555;
    word-break: break-word;
}
.msg-actions {
    margin-top: 4px;
}
}
.msg-item { border-bottom: 1px solid #eee; padding: 10px 0; }
.msg-sender { font-weight: bold; color: #333; }
.msg-time { font-size: 11px; color: #999; margin-left: 8px; }
.msg-text { margin-top: 4px; color: #555; word-break: break-word; }
.msg-actions { margin-top: 4px; }
.msg-actions button {
.msg-actions button {
     font-size: 11px;
     font-size: 11px; padding: 2px 8px; margin-right: 5px;
    padding: 2px 8px;
     cursor: pointer; border: 1px solid #ccc; border-radius: 3px; background: #f9f9f9;
    margin-right: 5px;
     cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #f9f9f9;
}
.msg-item.unread {
    background: #fffde7;
}
}
.msg-item.unread { background: #fffde7; }
.msg-send-btn {
.msg-send-btn {
     margin-left: 8px;
     margin-left: 8px; font-size: 12px; padding: 2px 10px;
    font-size: 12px;
     cursor: pointer; border: 1px solid #4CAF50; border-radius: 4px;
    padding: 2px 10px;
     background: #4CAF50; color: #fff; vertical-align: middle;
     cursor: pointer;
    border: 1px solid #4CAF50;
    border-radius: 4px;
     background: #4CAF50;
    color: #fff;
    vertical-align: middle;
}
.msg-send-btn:hover {
    background: #45a049;
}
}
.msg-send-btn:hover { background: #45a049; }
.msg-textarea {
.msg-textarea {
     width: 100%;
     width: 100%; height: 80px; padding: 8px;
    height: 80px;
     border: 1px solid #ccc; border-radius: 6px;
    padding: 8px;
     resize: vertical; font-size: 14px; margin-top: 10px; box-sizing: border-box;
     border: 1px solid #ccc;
    border-radius: 6px;
     resize: vertical;
    font-size: 14px;
    margin-top: 10px;
    box-sizing: border-box;
}
.msg-loading {
    text-align: center;
    color: #999;
    padding: 20px;
}
}
.msg-loading { text-align: center; color: #999; padding: 20px; }


/* 好友系统 */
/* 好友 */
.friend-btn {
.friend-btn {
     margin-left: 8px;
     margin-left: 8px; font-size: 12px; padding: 4px 12px;
    font-size: 12px;
     cursor: pointer; border: none; border-radius: 4px; color: #fff; vertical-align: middle;
    padding: 4px 12px;
     cursor: pointer;
    border: none;
    border-radius: 4px;
    color: #fff;
    vertical-align: middle;
}
}
.friend-add-btn { background: #4CAF50; }
.friend-add-btn { background: #4CAF50; }
第469行: 第346行:
.friend-reject-btn { background: #f44336; font-size: 11px; padding: 2px 8px; cursor: pointer; border: none; color: #fff; border-radius: 3px; }
.friend-reject-btn { background: #f44336; font-size: 11px; padding: 2px 8px; cursor: pointer; border: none; color: #fff; border-radius: 3px; }
.friend-list-item {
.friend-list-item {
     display: inline-block;
     display: inline-block; margin: 4px 8px 4px 0; padding: 4px 10px;
    margin: 4px 8px 4px 0;
     background: #f5f5f5; border-radius: 16px; font-size: 13px;
    padding: 4px 10px;
     background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
}
}
.friend-list-item a { text-decoration: none; }
.friend-list-item a { text-decoration: none; }
.friend-list-item .friend-remove {
.friend-list-item .friend-remove { margin-left: 6px; color: #999; cursor: pointer; font-size: 14px; }
    margin-left: 6px;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}
.friend-list-item .friend-remove:hover { color: #f44336; }
.friend-list-item .friend-remove:hover { color: #f44336; }
.friend-request-item {
.friend-request-item {
     padding: 8px;
     padding: 8px; border-bottom: 1px solid #eee;
    border-bottom: 1px solid #eee;
     display: flex; align-items: center; justify-content: space-between;
     display: flex;
    align-items: center;
    justify-content: space-between;
}
}
.friend-overlay {
.friend-overlay {
     position: fixed;
     position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    top: 0; left: 0;
     background: rgba(0,0,0,0.5); z-index: 100000;
    width: 100%; height: 100%;
     display: flex; align-items: center; justify-content: center;
     background: rgba(0,0,0,0.5);
    z-index: 100000;
     display: flex;
    align-items: center;
    justify-content: center;
}
}
.friend-dialog {
.friend-dialog {
     background: #fff;
     background: #fff; border-radius: 12px; padding: 25px;
    border-radius: 12px;
     max-width: 450px; width: 90%; max-height: 70vh;
    padding: 25px;
     overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4);
     max-width: 450px;
    width: 90%;
    max-height: 70vh;
     overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
}
.friend-count {
.friend-count {
     display: inline-block;
     display: inline-block; background: #e0e0e0; color: #555;
    background: #e0e0e0;
     border-radius: 12px; padding: 1px 8px; font-size: 12px; margin-left: 6px;
    color: #555;
     border-radius: 12px;
    padding: 1px 8px;
    font-size: 12px;
    margin-left: 6px;
}
}


/* Wiki 宠物 */
/* Wiki 宠物 */
.wiki-pet {
.wiki-pet {
     position: fixed;
     position: fixed; bottom: 20px; left: 50px;
    bottom: 20px;
     z-index: 9998; cursor: pointer; user-select: none; transition: transform 0.2s;
    left: 50px;
     z-index: 9998;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s;
}
.wiki-pet img {
    width: 100px;
    height: auto;
    display: block;
    image-rendering: auto;
}
.wiki-pet:active {
    transform: scale(0.95);
}
.wiki-pet.petting {
    animation: petBounce 0.6s ease;
}
}
.wiki-pet img { width: 100px; height: auto; display: block; image-rendering: auto; }
.wiki-pet:active { transform: scale(0.95); }
.wiki-pet.petting { animation: petBounce 0.6s ease; }
@keyframes petBounce {
@keyframes petBounce {
     0%, 100% { transform: scale(1); }
     0%, 100% { transform: scale(1); }
第549行: 第385行:
     70% { transform: scale(1.05) translateY(-5px); }
     70% { transform: scale(1.05) translateY(-5px); }
}
}
.wiki-pet.attacking {
.wiki-pet.attacking { animation: petAttack 0.3s ease; }
    animation: petAttack 0.3s ease;
}
@keyframes petAttack {
@keyframes petAttack {
     0% { transform: scale(1) translateX(0); }
     0% { transform: scale(1) translateX(0); }
第557行: 第391行:
     100% { transform: scale(1) translateX(0); }
     100% { transform: scale(1) translateX(0); }
}
}
.pet-affection {
.pet-affection {
     position: absolute;
     position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    bottom: 100%;
     margin-bottom: 8px; background: rgba(0,0,0,0.7); color: #fff;
    left: 50%;
     padding: 3px 8px; border-radius: 10px; font-size: 11px;
    transform: translateX(-50%);
     white-space: nowrap; opacity: 0; transition: opacity 0.3s;
     margin-bottom: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
     padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
     white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}
.wiki-pet:hover .pet-affection {
    opacity: 1;
}
}
 
.wiki-pet:hover .pet-affection { opacity: 1; }
.pet-tooltip {
.pet-tooltip {
     position: absolute;
     position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    bottom: 100%;
     margin-bottom: 28px; background: rgba(0,0,0,0.8); color: #fff;
    left: 50%;
     padding: 6px 12px; border-radius: 12px; font-size: 12px;
    transform: translateX(-50%);
     white-space: nowrap; opacity: 0; transition: opacity 0.3s; pointer-events: none;
     margin-bottom: 28px;
    background: rgba(0,0,0,0.8);
    color: #fff;
     padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
     white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.wiki-pet:hover .pet-tooltip {
    opacity: 1;
}
}
 
.wiki-pet:hover .pet-tooltip { opacity: 1; }
.pet-heart {
.pet-heart {
     position: fixed;
     position: fixed; pointer-events: none;
    pointer-events: none;
     animation: floatUp 1.5s ease-out forwards; font-size: 20px; z-index: 9999;
     animation: floatUp 1.5s ease-out forwards;
    font-size: 20px;
    z-index: 9999;
}
}
@keyframes floatUp {
@keyframes floatUp {
第608行: 第413行:
     100% { opacity: 0; transform: translateY(-60px) scale(1.5); }
     100% { opacity: 0; transform: translateY(-60px) scale(1.5); }
}
}
 
.wiki-pet.level-up { animation: levelUpGlow 0.8s ease; }
.wiki-pet.level-up {
    animation: levelUpGlow 0.8s ease;
}
@keyframes levelUpGlow {
@keyframes levelUpGlow {
     0%, 100% { filter: drop-shadow(0 0 5px gold); }
     0%, 100% { filter: drop-shadow(0 0 5px gold); }
     50% { filter: drop-shadow(0 0 20px gold) brightness(1.3); }
     50% { filter: drop-shadow(0 0 20px gold) brightness(1.3); }
}
}
.pet-switch-btn {
.pet-switch-btn {
     position: absolute;
     position: absolute; bottom: -5px; right: -5px;
    bottom: -5px;
     width: 24px; height: 24px; background: rgba(0,0,0,0.6); color: #fff;
    right: -5px;
     border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
     width: 24px;
     font-size: 12px; cursor: pointer; z-index: 10; display: none;
    height: 24px;
     text-align: center; line-height: 22px; transition: transform 0.2s;
    background: rgba(0,0,0,0.6);
    color: #fff;
     border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
     font-size: 12px;
    cursor: pointer;
    z-index: 10;
    display: none;
     text-align: center;
    line-height: 22px;
    transition: transform 0.2s;
}
.pet-switch-btn:hover {
    transform: scale(1.2);
    background: rgba(0,0,0,0.8);
}
}
.pet-switch-btn:hover { transform: scale(1.2); background: rgba(0,0,0,0.8); }
.wiki-pet:hover .pet-switch-btn,
.wiki-pet:hover .pet-switch-btn,
.wiki-pet.touching .pet-switch-btn {
.wiki-pet.touching .pet-switch-btn { display: block; }
    display: block;
}
 
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     .wiki-pet {
     .wiki-pet { bottom: 60px; left: 10px; }
        bottom: 60px;
     .wiki-pet img { width: 70px; }
        left: 10px;
    }
     .wiki-pet img {
        width: 70px;
    }
}
}


/* 阅读位置记忆开关 */
/* 阅读位置开关 */
.readposition-switch {
.readposition-switch {
     display: flex;
     display: flex; align-items: center; gap: 10px; padding: 12px 0;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}
.readposition-switch .readposition-label-text {
    font-size: 14px;
    font-weight: 500;
}
.readposition-switch .readposition-label-desc {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
}
.readposition-switch .readposition-label-text { font-size: 14px; font-weight: 500; }
.readposition-switch .readposition-label-desc { font-size: 12px; color: #888; margin-top: 2px; }


/* 卡片计数 */
.card-counter {
.card-counter {
     display: inline-block;
     display: inline-block; background: #4CAF50; color: #fff;
    background: #4CAF50;
     padding: 4px 12px; border-radius: 12px; font-size: 13px; margin-bottom: 8px;
    color: #fff;
     padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 8px;
}
}


.pvzhe-card {
/* 卡片悬停 */
    transition: box-shadow 0.3s, transform 0.3s;
.pvzhe-card { transition: box-shadow 0.3s, transform 0.3s; }
}
.pvzhe-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.2); transform: translateY(-3px); }
.pvzhe-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}


/* 翻书过渡 */
/* 页面切换动画 */
body {
body {
     animation: pageFlipIn 0.5s ease-out;
     animation: swooshIn 0.3s ease-out;
    transform-origin: left center;
}
}
@keyframes pageFlipIn {
@keyframes swooshIn {
     0% {
     0% {
         opacity: 0;
         opacity: 0;
         transform: perspective(1200px) rotateY(-15deg);
         transform: translateX(30px) scale(0.95);
     }
     }
     100% {
     100% {
         opacity: 1;
         opacity: 1;
         transform: perspective(1200px) rotateY(0deg);
         transform: translateX(0) scale(1);
     }
     }
}
}


body.page-flip-out {
body.page-flip-out {
     animation: pageFlipOut 0.4s ease-in forwards;
     animation: swooshOut 0.2s ease-in forwards;
}
}
@keyframes pageFlipOut {
@keyframes swooshOut {
     0% {
     0% {
         opacity: 1;
         opacity: 1;
         transform: perspective(1200px) rotateY(0deg);
         transform: translateX(0) scale(1);
     }
     }
     100% {
     100% {
         opacity: 0;
         opacity: 0;
         transform: perspective(1200px) rotateY(15deg);
         transform: translateX(-20px) scale(0.97);
     }
     }
}
}


/* 卡通体 */
/* 字体 */
.font-cartoon {
.font-cartoon {
     font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
     font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
}
}
.font-cartoon-italic {
.font-cartoon-italic {
     font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
     font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
     font-style: italic !important;
     font-style: italic !important;
}
}
.font-handwrite {
.font-handwrite {
     font-family: 'STXingkai', '华文行楷', 'STKaiti', '楷体', sans-serif !important;
     font-family: 'STXingkai', '华文行楷', 'STKaiti', '楷体', sans-serif !important;
}
}
.font-fzjianzhi {
.font-fzjianzhi {
     font-family: 'FZJianZhi', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
     font-family: 'FZJianZhi', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
}
}
@font-face {
@font-face {
     font-family: 'Huakang POP2 W9';
     font-family: 'Huakang POP2 W9';
     src: url('https://new.pvzhe.wiki/images/3/37/%E5%8D%8E%E5%BA%B7POP2%E4%BD%93W9.woff2') format('woff2');
     src: url('https://new.pvzhe.wiki/images/3/37/%E5%8D%8E%E5%BA%B7POP2%E4%BD%93W9.woff2') format('woff2');
     font-weight: normal;
     font-weight: normal; font-style: normal; font-display: swap;
    font-style: normal;
    font-display: swap;
}
}
.font-huapop {
.font-huapop {
     font-family: 'Huakang POP2 W9', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif !important;
     font-family: 'Huakang POP2 W9', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif !important;
}
}
@font-face {
@font-face {
     font-family: 'FZKaTong';
     font-family: 'FZKaTong';
     src: url('https://new.pvzhe.wiki/images/a/a4/%E6%96%B9%E6%AD%A3%E5%8D%A1%E9%80%9A%E7%AE%80%E4%BD%93.woff2') format('woff2');
     src: url('https://new.pvzhe.wiki/images/a/a4/%E6%96%B9%E6%AD%A3%E5%8D%A1%E9%80%9A%E7%AE%80%E4%BD%93.woff2') format('woff2');
     font-weight: normal;
     font-weight: normal; font-style: normal; font-display: swap;
    font-style: normal;
    font-display: swap;
}
}
.font-fzkatong {
.font-fzkatong {
     font-family: 'FZKaTong', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif !important;
     font-family: 'FZKaTong', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif !important;
}
}


/* 卡片整体点击 */
/* 卡片点击 */
.pvzhe-card {
.pvzhe-card { position: relative; }
    position: relative;
}
.pvzhe-card-image a {
.pvzhe-card-image a {
     position: absolute;
     position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    top: 0;
     display: block; z-index: 1; background: transparent !important;
    left: 0;
    width: 100%;
    height: 100%;
     display: block;
    z-index: 1;
    background: transparent !important;
}
.pvzhe-card-image a img {
    position: relative;
    z-index: -1;
}
.pvzhe-card-name {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
}
.pvzhe-card-image a img { position: relative; z-index: -1; }
.pvzhe-card-name { position: relative; z-index: 2; pointer-events: none; }


/* 浏览量文字 */
/* 浏览量 */
.citizen-page-info:contains("citizen-page-info-viewcount") {
.citizen-page-info:contains("citizen-page-info-viewcount") {
     font-size: 12px;
     font-size: 12px; color: #888;
    color: #888;
}
}

2026年7月7日 (二) 10:05的版本

/* 电脑端样式 */
.responsive-two-columns .left-col {
    width: 320px;
    vertical-align: top;
}
.responsive-two-columns .right-col {
    vertical-align: top;
    padding-left: 20px;
}

/* 响应式图片卡片样式 */
.gallery-card {
    position: relative;
    width: calc(50% - 5px);
    max-width: 500px;
    text-align: center;
}
.gallery-card-small {
    position: relative;
    width: calc(50% - 5px);
    max-width: 150px;
    text-align: center;
}
.gallery-card img,
.gallery-card-small img {
    width: 100%;
    height: auto;
}
.image-overlay {
    position: absolute;
    bottom: 30px;
    left: 10px;
    text-align: left;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px;
    border-radius: 4px;
}
.flex-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    align-items: flex-start;
}

/* 手机端响应式 */
@media screen and (max-width: 768px) {
    .responsive-two-columns,
    .responsive-two-columns tbody,
    .responsive-two-columns tr,
    .responsive-two-columns td {
        display: block;
        width: 100%;
    }
    .responsive-two-columns .right-col {
        padding-left: 0;
        margin-top: 20px;
    }
    .responsive-two-columns img {
        max-width: 100%;
        height: auto;
    }
    .gallery-card,
    .gallery-card-small {
        width: calc(50% - 5px);
        max-width: none;
    }
    .pvz-navigation {
        float: none;
        max-width: 100%;
        width: 100%;
    }
    .pvz-navigation .nav-table {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
    }
    .pvz-navigation .nav-table tbody {
        display: contents;
    }
    .pvz-navigation .nav-table tr {
        display: contents;
    }
    .pvz-navigation .nav-table td {
        display: block;
        flex: 0 0 calc(33.33% - 5px);
        width: auto !important;
        padding: 4px;
        box-sizing: border-box;
    }
    .pvz-navigation .nav-table td img {
        width: 100%;
        max-width: 120px;
        height: auto;
    }
    .pvz-navigation .nav-title {
        font-size: 1.2em;
    }
}
@media screen and (max-width: 480px) {
    .gallery-card,
    .gallery-card-small {
        width: 100%;
    }
}

/* 图片悬停 */
a img {
    transition: transform 0.3s ease;
}
a img:hover {
    transform: scale(1.08);
    z-index: 10;
    position: relative;
}
.card a img,
.swiper a img,
.carousel a img,
.slider a img,
.owl-carousel a img,
.flexslider a img {
    transition: none;
}
.card a img:hover,
.swiper a img:hover,
.carousel a img:hover,
.slider a img:hover,
.owl-carousel a img:hover,
.flexslider a img:hover {
    transform: none;
}

/* 表格响应式 */
@media screen and (min-width: 769px) {
    .responsive-fixed-grid {
        width: auto;
        margin: 0 auto;
        table-layout: fixed;
    }
    .responsive-fixed-grid td {
        width: 20%;
        padding: 5px;
        text-align: center;
        box-sizing: border-box;
    }
    .responsive-fixed-grid td img {
        max-width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .responsive-fixed-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
    }
    .responsive-fixed-grid tbody,
    .responsive-fixed-grid tr {
        display: contents;
    }
    .responsive-fixed-grid td {
        display: block;
        flex: 0 1 auto;
        max-width: calc(33.33% - 6px);
        width: auto;
        padding: 3px;
        text-align: center;
        box-sizing: border-box;
    }
    .responsive-fixed-grid td img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}
@media screen and (max-width: 480px) {
    .responsive-fixed-grid td {
        max-width: calc(50% - 5px);
    }
}

.responsive-img {
    width: 100%;
    height: auto;
    max-width: 750px;
}
img {
    max-width: 100%;
    height: auto;
}
.responsive-two-columns {
    padding-left: 50px;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .responsive-two-columns {
        padding-left: 0 !important;
    }
}
@media screen and (min-width: 769px) {
    .responsive-two-columns {
        margin-left: -50px !important;
    }
}
.responsive-img img {
    max-width: 100%;
    height: auto;
}

/* 等级颜色 */
.bronze-user   { color: #CD7F32 !important; font-weight: bold; }
.silver-user   { color: #0000FF !important; font-weight: bold; }
.platinum-user { color: #EE82EE !important; font-weight: bold; }
.gold-user     { color: #FFD700 !important; font-weight: bold; }
.rainbow-user  { color: #FFD700 !important; font-weight: bold; }

/* 状态圆点 */
.user-status-dot {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; margin-left: 4px; vertical-align: middle;
}
.status-online  { background-color: #4CAF50; }
.status-away    { background-color: #FF9800; }
.status-offline { background-color: #9E9E9E; }

/* 师徒标签 */
.user-tag {
    display: inline-block; font-size: 0.75em; padding: 0px 4px;
    margin-left: 4px; border-radius: 3px; vertical-align: middle;
    font-weight: normal;
}
.user-tag-mentor { background: #4CAF50; color: white; }
.user-tag-newbie { background: #FF9800; color: white; }

/* 等级图标 */
.user-level-icons {
    margin-left: 2px; font-size: 0.9em; vertical-align: middle;
    white-space: nowrap;
}

/* 卡片筛选隐藏 */
.pvzhe-card.hidden-card { display: none; }

/* 昵称标签 */
.user-title-tag {
    display: inline-block;
    font-size: 0.75em;
    padding: 1px 5px;
    margin-left: 4px;
    border-radius: 4px;
    vertical-align: middle;
    font-weight: normal;
    background: #f0f0f0;
    color: #555;
    white-space: nowrap;
}

/* 版本公告 */
.update-notice-content { font-family: sans-serif; color: #333; }
.update-version {
    font-size: 22px; font-weight: bold; color: #2c3e50;
    margin-bottom: 5px; text-align: center;
}
.update-date {
    font-size: 13px; color: #888; text-align: center; margin-bottom: 15px;
}
.update-notice-content ul { list-style: none; padding: 0; }
.update-notice-content ul li {
    padding: 6px 0; border-bottom: 1px solid #eee; font-size: 15px;
}

/* 返回顶部 */
#back-to-top {
    position: fixed; bottom: 40px; right: 30px;
    background: #4CAF50; color: #fff; border: none;
    border-radius: 50%; width: 45px; height: 45px;
    font-size: 22px; cursor: pointer; display: none;
    z-index: 9999; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: opacity 0.3s, transform 0.3s;
}
#back-to-top:hover { background: #45a049; transform: scale(1.1); }

/* 私信 */
.msg-badge {
    position: fixed; bottom: 20px; left: 20px;
    background: #f44336; color: #fff; border-radius: 50%;
    width: 20px; height: 20px; font-size: 12px;
    text-align: center; line-height: 20px; cursor: pointer;
    z-index: 100001; display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: msgPulse 2s infinite;
}
@keyframes msgPulse {
    0%, 100% { box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 2px 16px rgba(244,67,54,0.6); }
}
.msg-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 100000;
    display: flex; align-items: center; justify-content: center;
}
.msg-box {
    background: #fff; border-radius: 12px; padding: 25px;
    max-width: 500px; width: 90%; max-height: 70vh;
    overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.msg-item { border-bottom: 1px solid #eee; padding: 10px 0; }
.msg-sender { font-weight: bold; color: #333; }
.msg-time { font-size: 11px; color: #999; margin-left: 8px; }
.msg-text { margin-top: 4px; color: #555; word-break: break-word; }
.msg-actions { margin-top: 4px; }
.msg-actions button {
    font-size: 11px; padding: 2px 8px; margin-right: 5px;
    cursor: pointer; border: 1px solid #ccc; border-radius: 3px; background: #f9f9f9;
}
.msg-item.unread { background: #fffde7; }
.msg-send-btn {
    margin-left: 8px; font-size: 12px; padding: 2px 10px;
    cursor: pointer; border: 1px solid #4CAF50; border-radius: 4px;
    background: #4CAF50; color: #fff; vertical-align: middle;
}
.msg-send-btn:hover { background: #45a049; }
.msg-textarea {
    width: 100%; height: 80px; padding: 8px;
    border: 1px solid #ccc; border-radius: 6px;
    resize: vertical; font-size: 14px; margin-top: 10px; box-sizing: border-box;
}
.msg-loading { text-align: center; color: #999; padding: 20px; }

/* 好友 */
.friend-btn {
    margin-left: 8px; font-size: 12px; padding: 4px 12px;
    cursor: pointer; border: none; border-radius: 4px; color: #fff; vertical-align: middle;
}
.friend-add-btn { background: #4CAF50; }
.friend-add-btn:hover { background: #45a049; }
.friend-added-btn { background: #2196F3; }
.friend-added-btn:hover { background: #1e88e5; }
.friend-pending-btn { background: #FF9800; cursor: not-allowed; }
.friend-accept-btn { background: #4CAF50; font-size: 11px; padding: 2px 8px; cursor: pointer; border: none; color: #fff; border-radius: 3px; margin-right: 5px; }
.friend-reject-btn { background: #f44336; font-size: 11px; padding: 2px 8px; cursor: pointer; border: none; color: #fff; border-radius: 3px; }
.friend-list-item {
    display: inline-block; margin: 4px 8px 4px 0; padding: 4px 10px;
    background: #f5f5f5; border-radius: 16px; font-size: 13px;
}
.friend-list-item a { text-decoration: none; }
.friend-list-item .friend-remove { margin-left: 6px; color: #999; cursor: pointer; font-size: 14px; }
.friend-list-item .friend-remove:hover { color: #f44336; }
.friend-request-item {
    padding: 8px; border-bottom: 1px solid #eee;
    display: flex; align-items: center; justify-content: space-between;
}
.friend-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 100000;
    display: flex; align-items: center; justify-content: center;
}
.friend-dialog {
    background: #fff; border-radius: 12px; padding: 25px;
    max-width: 450px; width: 90%; max-height: 70vh;
    overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.friend-count {
    display: inline-block; background: #e0e0e0; color: #555;
    border-radius: 12px; padding: 1px 8px; font-size: 12px; margin-left: 6px;
}

/* Wiki 宠物 */
.wiki-pet {
    position: fixed; bottom: 20px; left: 50px;
    z-index: 9998; cursor: pointer; user-select: none; transition: transform 0.2s;
}
.wiki-pet img { width: 100px; height: auto; display: block; image-rendering: auto; }
.wiki-pet:active { transform: scale(0.95); }
.wiki-pet.petting { animation: petBounce 0.6s ease; }
@keyframes petBounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.15) translateY(-10px); }
    50% { transform: scale(0.95) translateY(0); }
    70% { transform: scale(1.05) translateY(-5px); }
}
.wiki-pet.attacking { animation: petAttack 0.3s ease; }
@keyframes petAttack {
    0% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.1) translateX(-30px); }
    100% { transform: scale(1) translateX(0); }
}
.pet-affection {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    margin-bottom: 8px; background: rgba(0,0,0,0.7); color: #fff;
    padding: 3px 8px; border-radius: 10px; font-size: 11px;
    white-space: nowrap; opacity: 0; transition: opacity 0.3s;
}
.wiki-pet:hover .pet-affection { opacity: 1; }
.pet-tooltip {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    margin-bottom: 28px; background: rgba(0,0,0,0.8); color: #fff;
    padding: 6px 12px; border-radius: 12px; font-size: 12px;
    white-space: nowrap; opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.wiki-pet:hover .pet-tooltip { opacity: 1; }
.pet-heart {
    position: fixed; pointer-events: none;
    animation: floatUp 1.5s ease-out forwards; font-size: 20px; z-index: 9999;
}
@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(1.5); }
}
.wiki-pet.level-up { animation: levelUpGlow 0.8s ease; }
@keyframes levelUpGlow {
    0%, 100% { filter: drop-shadow(0 0 5px gold); }
    50% { filter: drop-shadow(0 0 20px gold) brightness(1.3); }
}
.pet-switch-btn {
    position: absolute; bottom: -5px; right: -5px;
    width: 24px; height: 24px; background: rgba(0,0,0,0.6); color: #fff;
    border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    font-size: 12px; cursor: pointer; z-index: 10; display: none;
    text-align: center; line-height: 22px; transition: transform 0.2s;
}
.pet-switch-btn:hover { transform: scale(1.2); background: rgba(0,0,0,0.8); }
.wiki-pet:hover .pet-switch-btn,
.wiki-pet.touching .pet-switch-btn { display: block; }
@media screen and (max-width: 768px) {
    .wiki-pet { bottom: 60px; left: 10px; }
    .wiki-pet img { width: 70px; }
}

/* 阅读位置开关 */
.readposition-switch {
    display: flex; align-items: center; gap: 10px; padding: 12px 0;
}
.readposition-switch .readposition-label-text { font-size: 14px; font-weight: 500; }
.readposition-switch .readposition-label-desc { font-size: 12px; color: #888; margin-top: 2px; }

/* 卡片计数 */
.card-counter {
    display: inline-block; background: #4CAF50; color: #fff;
    padding: 4px 12px; border-radius: 12px; font-size: 13px; margin-bottom: 8px;
}

/* 卡片悬停 */
.pvzhe-card { transition: box-shadow 0.3s, transform 0.3s; }
.pvzhe-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.2); transform: translateY(-3px); }

/* 页面切换动画 */
body {
    animation: swooshIn 0.3s ease-out;
}
@keyframes swooshIn {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

body.page-flip-out {
    animation: swooshOut 0.2s ease-in forwards;
}
@keyframes swooshOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px) scale(0.97);
    }
}

/* 字体 */
.font-cartoon {
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
}
.font-cartoon-italic {
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif !important;
    font-style: italic !important;
}
.font-handwrite {
    font-family: 'STXingkai', '华文行楷', 'STKaiti', '楷体', sans-serif !important;
}
.font-fzjianzhi {
    font-family: 'FZJianZhi', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
}
@font-face {
    font-family: 'Huakang POP2 W9';
    src: url('https://new.pvzhe.wiki/images/3/37/%E5%8D%8E%E5%BA%B7POP2%E4%BD%93W9.woff2') format('woff2');
    font-weight: normal; font-style: normal; font-display: swap;
}
.font-huapop {
    font-family: 'Huakang POP2 W9', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif !important;
}
@font-face {
    font-family: 'FZKaTong';
    src: url('https://new.pvzhe.wiki/images/a/a4/%E6%96%B9%E6%AD%A3%E5%8D%A1%E9%80%9A%E7%AE%80%E4%BD%93.woff2') format('woff2');
    font-weight: normal; font-style: normal; font-display: swap;
}
.font-fzkatong {
    font-family: 'FZKaTong', 'PingFang SC', 'Microsoft YaHei', cursive, sans-serif !important;
}

/* 卡片点击 */
.pvzhe-card { position: relative; }
.pvzhe-card-image a {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: block; z-index: 1; background: transparent !important;
}
.pvzhe-card-image a img { position: relative; z-index: -1; }
.pvzhe-card-name { position: relative; z-index: 2; pointer-events: none; }

/* 浏览量 */
.citizen-page-info:contains("citizen-page-info-viewcount") {
    font-size: 12px; color: #888;
}