/* Generated by node resource/kkce/scripts/build-css.cjs. Edit the source files below. */

/* Source: css/ad.css */
/* ===== kkce 全站广告位样式 =====
 * 汇总自 ads.css / header-1-advertisement.css / fixed.css 及各页面 CSS。
 * 注：.topAdd / .topAddBox 各页面定义不一致，已保留在原文件未动。
 */
img{
  display: block;
}
.ad_l {
  position: fixed;
  top: 45%;
  margin: -180px 0 0 -710px;
  left: 50%;
  width: 100px;
  height: 360px;
  z-index: 99;
  /* 修复 iOS Safari position:fixed 渲染异常 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.ad_r {
  position: fixed;
  top: 45%;
  margin: -180px -710px 0 0;
  right: 50%;
  width: 100px;
  height: 360px;
  z-index: 99;
  /* 修复 iOS Safari position:fixed 渲染异常 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
/* 优先匹配手机端（不受viewport:1300影响） */
@media (max-device-width: 768px), 
       (min-resolution: 2dppx) and (max-width: 1450px),
       (hover: none) and (pointer: coarse) {
  .ad_r {
    top: 20%;
  }
  .ad_l {
    top: 20%;
  }
}

.fixedImg {
  width: 100px;
  height: 360px;
  display: block;
  object-fit: cover;
  background-color: #f5f5f5; /* 图片加载前的占位色 */
}

.ad_01 {
  z-index: 2;
  font-size: 12px;
  position: absolute !important;
  right: 0;
  top: 0;
  display: inline-block;
  padding: 3px 5px;
  line-height: 12px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
}

.closeAd {
  background-color: #c1c1c1;
  color: #fff;
  text-align: center;
  width: 100px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  cursor: pointer;
}

/* ===== 全站广告位样式（从各页面 CSS 提取收敛） =====
   原分散于 Bccdn.css / detect.css / index.css / mod_header.css / batch*.css /
   website_maintenance_record.css，现统一收敛到 fixed.css（全站引用）。
   注：topAdd / topAddBox 各页面定义不一致、ads-container / ad-item 会给 16 个广告页
   新增样式，故这两组保留在原文件未动。 */

.page04d2 {
  margin: 10px auto 0;
  overflow: hidden;
  justify-content: space-between;
  position: relative;
  width: 1200px;
}
.ad_api {width: 1200px;
  height: 50px;
  color: #fff;
  /* line-height: 60px; */
  text-align: center;
  margin: 0 auto;}
.ad_api img {position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 1200px;
  height: 100%;}
.ad_api strong {transition: all 0.5s;
  display: inline-block;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;}
.ad_api:hover strong {transform: scale(1.03, 1.03);}
.ad_api font {font-size: 12px;
  border-radius: 12px;
  display: inline-block;
  padding: 0px 12px;
  border: 1px solid #fff;
  line-height: 22px;}
.bocead02 {justify-content: space-between;
  width: 1200px;
  margin: 5px auto;
  flex-wrap: wrap;}
.ad_10 a p :not(:last-child) {position: relative;
  z-index: 2;}
.ad_10 a {display: block;
  width: 291px;
  height: 86px;
  color: #fff;
  font-size: 16px;
  padding: 16px 20px;
  box-sizing: border-box;
  position: relative;
  /* margin-bottom: 20px; */}
.ad_10 .detail {font-size: 12px;
  border-radius: 4px;
  display: inline-block;
  padding: 0px 12px;
  border: 1px solid #fff;
  line-height: 22px;
  float: right;
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;}
.ad_10 a img {display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 86px;}
.ad_02 {z-index: 2;
  font-size: 12px;
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  padding: 3px 5px;
  line-height: 12px;
  background: rgba(225, 225, 231, 0.1);
  color: #fff;}
.colAd {width: 100%;
  display: flex; 
  justify-content: space-evenly;
  flex-wrap: wrap;}
.colAd p {line-height: 30px;
  color: #20a0ff;
  font-size: 13px;
  text-align: center;}
.rank_col3_ad {width: 1200px;
  /* margin: 20px auto; */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* 可选：兼容性更好 */
  /* margin-bottom: 15px; */}
.rank_col3_ad > div {position: relative;
  width: 386px;
  height: 60px;}
.rank_col3_ad img {width: 100%;
  height: 100%;
  display: block;}
.colAd3 {color: #20a0ff;
  display: inline-block;
  line-height: 30px;
  text-align: center;
  padding-left: 5px;
  width: 220px;}
.colAd3ss {color: red;
  display: inline-block;
  line-height: 30px;
  text-align: center;
  padding-left: 5px;
  width: 220px;}
.ad_04 {font-size: 14px;
  display: inline-block;
  padding: 3px 5px;
  line-height: 12px;
  background: rgba(37, 37, 53, 0.1);
  color: #fff;}
.ad {margin: 5px auto;
    overflow: hidden;
    justify-content: space-between;
    position: relative;
    width: 1200px;
    display: flex;
    /* padding-bottom: 15px; */}
.topad a {display: block;
    width: 597px;
    height: 50px;
    color: #fff;
    font-size: 16px;
    padding: 16px 20px;
    box-sizing: border-box;
    position: relative;}
.topad img {position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 597px;
    height: 50px;}
.ads {margin: 0px auto;
        overflow: hidden;
        justify-content: space-between;
        position: relative;
        width: 1200px;
        display: flex;
        /* padding-bottom: 10px; */}
.wmr-ads {margin-bottom: 24px;}

/* ===== 从各页面 CSS 提取收敛（各页面定义一致的部分） ===== */

.topAdd {
  /* margin-top: 40px; */
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.topAddBox {
  width: 580px;
  position: relative;
}

.topAdd img {
  width: 100%;
  height: 60px;
}

.ps-main #ad_20 {
  margin-bottom: 20px;
}

.topAddBox a img {
  width: 100%;
  height: 100%;
}

/* Source: css/website_maintenance_record.css */
body {
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

/* 主容器 */
.wmr-main {
    max-width: 1200px;
    margin: 10px auto;
    /* padding: 0 20px 40px; */
}

/* ===== Banner（通栏，参照 maintenance-weihujilu） ===== */
.banner-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 18% 50%, rgba(120, 175, 255, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 95% 50%, rgba(40, 110, 230, 0.65) 0%, transparent 65%),
        linear-gradient(105deg, #2F66E6 0%, #3B7BFF 45%, #4F8FFF 75%, #2F66E6 100%);
    height: 280px;
    color: #fff;
    display: flex;
    align-items: center;
}

/* 顶部高光线 */
.banner-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.6) 70%,
        transparent 100%
    );
}

/* 装饰：弧形波纹 */
.banner-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.04) 30%,
        transparent 60%
    );
    pointer-events: none;
}

.banner-arc {
    position: absolute;
    bottom: -50%;
    left: 40%;
    width: 800px;
    height: 800px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.banner-arc.a2 {
    left: 55%;
    width: 600px;
    height: 600px;
    border-color: rgba(255, 255, 255, 0.08);
}

/* 右侧 3D 装饰插画（SVG） */
.banner-deco {
    position: absolute;
    right: 16%;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 220px;
    pointer-events: none;
    opacity: 0.95;
}

.banner-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 0 240px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.banner-text {
    max-width: 560px;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-text .p {
    font-size: 38px;
    /* font-weight: 700; */
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(20, 60, 160, 0.25);
}

.banner-text .p + p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 8px;
}

/* 赞助商 */
.wmr-sponsor {
    margin-top: 40px;
}

.wmr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px 20px;
}

/* 时间轴 */
.wmr-timeline {
    position: relative;
    padding-left: 220px;
}

.wmr-timeline::before {
    content: '';
    position: absolute;
    left: 155px;
    top: 10px;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 30%, #e2e8f0 100%);
    border-radius: 3px;
}

.wmr-item {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: wmrFadeIn 0.5s ease forwards;
}

.wmr-item:nth-child(1) { animation-delay: 0.1s; }
.wmr-item:nth-child(2) { animation-delay: 0.2s; }
.wmr-item:nth-child(3) { animation-delay: 0.3s; }
.wmr-item:nth-child(4) { animation-delay: 0.4s; }
.wmr-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes wmrFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 日期区域 */
.wmr-date {
    position: absolute;
    left: -190px;
    top: 8px;
    width: 150px;
    /* text-align: right; */
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    font-family: 'SF Mono', 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.wmr-date .wmr-year {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
}

.wmr-date .wmr-day {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
}

/* 圆点 - 大的圆环 */
.wmr-dot {
    position: absolute;
    left: -76px;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.wmr-item:hover .wmr-dot {
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: scale(1.15);
}

.wmr-item.type-optimize .wmr-dot {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 2px 8px rgba(16, 185, 129, 0.3);
}

.wmr-item.type-optimize:hover .wmr-dot {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2), 0 4px 12px rgba(16, 185, 129, 0.4);
}

.wmr-item.type-bugfix .wmr-dot {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15), 0 2px 8px rgba(245, 158, 11, 0.3);
}

.wmr-item.type-bugfix:hover .wmr-dot {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.2), 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* 内容卡片 */
.wmr-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    /* transition: all 0.3s ease; */
    position: relative;
    overflow: hidden;
}

.wmr-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3b82f6;
    border-radius: 16px 0 0 16px;
}

.wmr-item.type-optimize .wmr-card::before {
    background: #10b981;
}

.wmr-item.type-bugfix .wmr-card::before {
    background: #f59e0b;
}

/* .wmr-item:hover .wmr-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
} */

/* 卡片头部 */
.wmr-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

/* 标签 */
.wmr-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wmr-tag.feature {
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.wmr-tag.optimize {
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
}

.wmr-tag.bugfix {
    color: #d97706;
    background: #fffbeb;
    border: 1px solid #fef3c7;
}

.wmr-tag-icon {
    font-size: 10px;
}

.wmr-tag-icon.feature::before {
    content: '✦';
}

.wmr-tag-icon.optimize::before {
    content: '▲';
    font-size: 8px;
}

.wmr-tag-icon.bugfix::before {
    content: '◆';
    font-size: 8px;
}

/* 卡片时间副标题 */
.wmr-card-time {
    font-size: 13px;
    color: #94a3b8;
    font-family: 'SF Mono', 'Courier New', monospace;
}

/* 标题 */
.wmr-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* 列表 */
.wmr-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    counter-reset: item;
}

.wmr-card-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.wmr-card-list li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 查看详情按钮 */
.wmr-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.wmr-btn-detail:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.wmr-btn-detail::after {
    content: '→';
    transition: transform 0.2s;
}

.wmr-btn-detail:hover::after {
    transform: translateX(3px);
}

/* 回到顶部 */
.wmr-backtop {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    z-index: 100;
    font-size: 13px;
    color: #64748b;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
    opacity: 0;
    visibility: hidden;
}

.wmr-backtop:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.wmr-backtop.visible {
    opacity: 1;
    visibility: visible;
}

.wmr-empty {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-size: 15px;
    padding: 28px 32px;
    text-align: center;
}

/* 响应式 */
@media (max-width: 900px) {
    .banner-inner { padding: 0 24px 0 120px; }
    .banner-text h1 { font-size: 26px; }
    .banner-deco { width: 220px; right: 2%; opacity: 0.7; }
}

@media (max-width: 600px) {
    .banner-wrap { height: auto; padding: 36px 0; }
    .banner-inner { padding: 0 16px; justify-content: center; }
    .banner-deco { display: none; }
}

@media (max-width: 768px) {
    .wmr-timeline {
        padding-left: 60px;
    }

    .wmr-timeline::before {
        left: 24px;
    }

    .wmr-date {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .wmr-dot {
        left: -50px;
        width: 20px;
        height: 20px;
        border-width: 3px;
    }
}

/* Source: shared/css/responsive.css */
/* Keep the PC layout; desktop-view.js fits it to smaller screens. */
:root {
  --kkce-desktop-gutter: 16px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Bound the PC canvas on phones; hidden menus must not enlarge the page when zooming.
   clip preserves the page's vertical scrolling, sticky headings and native pinch panning. */
html.kkce-desktop-fit body {
  overflow-x: clip;
}

.index-header .nav-item-hover.dropdown.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .index-header .nav-item-hover.dropdown:not(.is-open) .mega-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
