打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Rin留言 | 贡献
邀约卡片新增A/B/C/D四种红色装饰方案CSS (via update-page on MediaWiki MCP Server)
Rin留言 | 贡献
邀约卡片:重写四套色块风格,红色收小,高度起伏,像素进度条 (via update-page on MediaWiki MCP Server)
第668行: 第668行:
}
}


/* ---- 票券列表:横向均匀分布 ---- */
/* ---- 票券列表:底部对齐,产生高低起伏感 ---- */
.card_content_date-list {
.card_content_date-list {
     display: flex;
     display: flex;
     flex-wrap: nowrap;
     flex-wrap: nowrap;
     align-items: stretch; /* 让有图片的卡片和没有的高度一致 */
     align-items: flex-end; /* 底部对齐 → 高的和矮的自然起伏 */
     justify-content: space-between;
     justify-content: space-between;
     gap: 12px;
     gap: 12px;
第683行: 第683行:
.card_content_date-item {
.card_content_date-item {
     width: calc(20% - 10px);
     width: calc(20% - 10px);
     min-width: 110px;
     min-width: 100px;
     max-width: 200px;
     max-width: 190px;
     flex-shrink: 0;
     flex-shrink: 0;


第691行: 第691行:
     -webkit-backdrop-filter: blur(10px) saturate(130%);
     -webkit-backdrop-filter: blur(10px) saturate(130%);
     border: 1px solid rgba(255, 255, 255, 0.55);
     border: 1px solid rgba(255, 255, 255, 0.55);
     border-radius: 6px;
     border-radius: 4px;
     box-shadow:
     box-shadow:
         0 4px 18px rgba(0, 0, 0, 0.10),
         0 4px 18px rgba(0, 0, 0, 0.10),
第699行: 第699行:
     overflow: hidden;
     overflow: hidden;
     color: #1a1a1f;
     color: #1a1a1f;
    /* 重置旧的顶部强调线,各方案自行处理 */
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}
}


/* 重置旧的左侧竖条(各方案自行决定要不要) */
/* 清空旧的伪元素默认,各方案自行定义 */
.card_content_date-item::before {
.card_content_date-item::before,
.card_content_date-item::after {
     content: none;
     content: none;
}
}


/* ---- 卡片内容区 ---- */
/* ---- 卡片内容区(基础) ---- */
.card_content_date-body {
.card_content_date-body {
     padding: 10px 10px 28px;
     padding: 10px 10px 12px;
     position: relative;
     position: relative;
     min-height: 70px;
     min-height: 64px;
}
}


/* ---- 占位图 ---- */
/* ---- 占位图(有图卡片使用) ---- */
.card_content_date-img {
.card_content_date-img {
     width: 100%;
     width: 100%;
     aspect-ratio: 4 / 3;
     aspect-ratio: 3 / 2;
     background: linear-gradient(
     background: linear-gradient(
         135deg,
         135deg,
第726行: 第724行:
         rgba(120, 100, 140, 0.25) 100%
         rgba(120, 100, 140, 0.25) 100%
     );
     );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: rgba(80, 60, 100, 0.4);
    letter-spacing: 1px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.3);
     border-bottom: 1px solid rgba(255, 255, 255, 0.3);
     flex-shrink: 0;
     flex-shrink: 0;
}
}


/* ---- 大数字装饰(基础,各方案可覆盖) ---- */
/* 序号基础(各方案可覆盖) */
.card_content_date-num {
.card_content_date-num {
     position: absolute;
     display: block;
    top: 4px;
    left: 6px;
     font-family: 'Georgia', serif;
     font-family: 'Georgia', serif;
     font-size: 2.6rem;
     font-size: 1.6rem;
     font-weight: 700;
     font-weight: 700;
     font-style: italic;
     font-style: italic;
     color: rgba(237, 65, 65, 0.12);
     color: rgba(237, 65, 65, 0.18);
     line-height: 1;
     line-height: 1;
     user-select: none;
     user-select: none;
     letter-spacing: -1px;
     letter-spacing: -0.5px;
    z-index: 0;
}
}


/* Story / END 标签(基础) */
/* Story/END 标签基础 */
.card_content_date-label {
.card_content_date-label {
     position: absolute;
     display: block;
    right: 8px;
     font-size: 0.58rem;
    bottom: 7px;
     color: rgba(80, 60, 100, 0.4);
     font-size: 0.6rem;
     letter-spacing: 2px;
     color: rgba(80, 60, 100, 0.45);
     letter-spacing: 1.8px;
     text-transform: uppercase;
     text-transform: uppercase;
     z-index: 1;
     margin-top: 2px;
}
 
/* END 标签用强调色区分 */
.card_content_date-item:last-child .card_content_date-label {
    color: rgba(237, 65, 65, 0.6);
    font-weight: 600;
}
}




/* ================================================== */
/* ================================================== */
/* ---- 方案 A:左上角红色实心角标 + 白色序号 ---- */
/* ---- 方案 A:左上角极小红色方块 + 序号 ---- */
/* ================================================== */
/* ================================================== */
/*
/*
  * 左上角用 clip-path 三角形红色色块做角标
  * 卡片左上角一个 6×6 的小红方块(::before),
  * 序号用绝对定位白色大字压在上面
  * 序号正常显示在 body 里,不透明度略高。
* 整体干净,红色只是极小一个点。
  */
  */
.card_content_date-item--style-a {
.card_content_date-item--style-a {
第782行: 第764行:
}
}


/* 左上角红色三角角标 */
/* 左上角小红方块 */
.card_content_date-item--style-a::before {
.card_content_date-item--style-a::before {
     content: "";
     content: "";
     position: absolute;
     position: absolute;
     top: 0;
     top: 8px;
     left: 0;
     left: 8px;
     width: 64px;
     width: 6px;
     height: 64px;
     height: 6px;
     background: #ed4141;
     background: #ed4141;
     clip-path: polygon(0 0, 100% 0, 0 100%);
     border-radius: 1px;
     z-index: 1;
     z-index: 1;
}
}


/* 序号:白色,压在三角上 */
/* 序号缩进避开方块 */
.card_content_date-item--style-a .card_content_date-body {
    padding-left: 20px;
}
 
/* 序号正常,轻微红色 */
.card_content_date-item--style-a .card_content_date-num {
.card_content_date-item--style-a .card_content_date-num {
     color: #ffffff;
     color: rgba(237, 65, 65, 0.22);
     font-size: 1.4rem;
     font-size: 1.5rem;
    top: 5px;
    left: 5px;
    z-index: 2;
    font-style: normal;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
}


/* label 保持右下 */
/* label 正常 */
.card_content_date-item--style-a .card_content_date-label {
.card_content_date-item--style-a .card_content_date-label {
     color: rgba(80, 60, 100, 0.5);
     color: rgba(80, 60, 100, 0.38);
}
}




/* ================================================== */
/* ================================================== */
/* ---- 方案 B:底部红色进度条 ---- */
/* ---- 方案 B:像素风进度条(有图卡片使用) ---- */
/* ================================================== */
/* ================================================== */
/*
/*
  * 用 ::after 在卡片底部画红色进度条
  * .card_content_date-pixels 是一行小方块,
  * --p20 / --p100 控制宽度,表示进度
* .px 是空格(透明),.px.on 是实心红色方块。
  * 进度条放在 body 底部,高度视觉上来自图片。
  */
  */
.card_content_date-item--style-b {
.card_content_date-item--style-b {
    display: flex;
    flex-direction: column;
     border-top: 1px solid rgba(255, 255, 255, 0.55);
     border-top: 1px solid rgba(255, 255, 255, 0.55);
}
}


/* 底部进度条底轨(灰色) */
/* 像素进度条容器 */
.card_content_date-item--style-b::before {
.card_content_date-pixels {
     content: "";
     display: flex;
     position: absolute;
     gap: 2px;
     bottom: 0;
     align-items: center;
    left: 0;
     margin-top: 6px;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
     z-index: 1;
}
}


/* 进度填充(红色,宽度由 modifier 控制) */
/* 单个像素格 */
.card_content_date-item--style-b::after {
.card_content_date-pixels .px {
     content: "";
     display: inline-block;
     position: absolute;
     width: 5px;
    bottom: 0;
     height: 5px;
    left: 0;
     background: rgba(0, 0, 0, 0.10); /* 空格:淡灰 */
     height: 3px;
     border-radius: 1px;
     background: linear-gradient(to right, #ed4141, #ff7676);
     flex-shrink: 0;
     border-radius: 0 2px 2px 0;
     z-index: 2;
    transition: width 0.4s ease;
}
}


/* 02:20% 进度 */
/* 实心格(已解锁/进度) */
.card_content_date-item--p20::after { width: 20%; }
.card_content_date-pixels .px.on {
    background: #ed4141;
}


/* 05:100% 进度(END 满格) */
/* END 卡片的满格进度条颜色稍深 */
.card_content_date-item--p100::after { width: 100%; border-radius: 0; }
.card_content_date-item--end .card_content_date-pixels .px.on {
    background: #c0392b;
}


/* 序号保持半透明大字装饰 */
/* 序号:淡化,和图片叠在一起只当装饰 */
.card_content_date-item--style-b .card_content_date-num {
.card_content_date-item--style-b .card_content_date-num {
     color: rgba(237, 65, 65, 0.12);
     color: rgba(237, 65, 65, 0.15);
    font-size: 1.4rem;
}
 
/* END label 用红色 */
.card_content_date-item--end .card_content_date-label {
    color: rgba(237, 65, 65, 0.55);
    font-weight: 600;
    letter-spacing: 2.5px;
}
}




/* ================================================== */
/* ================================================== */
/* ---- 方案 C:右上角切角红色三角 + 标签入三角 ---- */
/* ---- 方案 C:两端小色块夹住文字(▓▓ 03 Story ▓▓) ---- */
/* ================================================== */
/* ================================================== */
/*
/*
  * 右上角用 ::after 做红色三角,label 绝对定位压在三角上变白色
  * .card_content_date-bracket 是横排容器,
* .bracket-block 是左右两端的小红色块,
* .bracket-num 和 .bracket-label 是中间的文字。
  */
  */
.card_content_date-item--style-c {
.card_content_date-item--style-c {
     border-top: 1px solid rgba(255, 255, 255, 0.55);
     border-top: 2px solid rgba(237, 65, 65, 0.25); /* 顶部细红线点缀 */
}
 
/* 括号式横排容器:垂直居中布局 */
.card_content_date-bracket {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
}
}


/* 右上角红色三角 */
/* 两端小色块 */
.card_content_date-item--style-c::after {
.bracket-block {
     content: "";
     display: inline-block;
    position: absolute;
     width: 5px;
    top: 0;
     height: 14px;
    right: 0;
     width: 56px;
     height: 56px;
     background: #ed4141;
     background: #ed4141;
     clip-path: polygon(100% 0, 0 0, 100% 100%);
     border-radius: 1px;
     z-index: 1;
    flex-shrink: 0;
     opacity: 0.7;
}
}


/* 序号:半透明大字装饰,左下角 */
/* 右侧色块稍窄,形成不对称感 */
.card_content_date-item--style-c .card_content_date-num {
.bracket-block--r {
     color: rgba(237, 65, 65, 0.13);
     width: 3px;
     font-size: 2.8rem;
     height: 10px;
     bottom: 20px;
     opacity: 0.4;
    top: auto;
    left: 6px;
}
}


/* label 压在三角上,白色竖排感 */
/* 序号 */
.card_content_date-item--style-c .card_content_date-label {
.bracket-num {
     top: 5px;
     font-family: 'Georgia', serif;
     right: 5px;
     font-size: 1.3rem;
    bottom: auto;
    color: #ffffff;
     font-weight: 700;
     font-weight: 700;
    font-style: italic;
    color: rgba(237, 65, 65, 0.5);
    line-height: 1;
    letter-spacing: -0.5px;
}
/* 标签 */
.bracket-label {
     font-size: 0.55rem;
     font-size: 0.55rem;
     letter-spacing: 1.5px;
    color: rgba(80, 60, 100, 0.4);
     z-index: 2;
     letter-spacing: 2px;
     writing-mode: vertical-rl; /* 竖排,更贴合三角形状 */
     text-transform: uppercase;
    text-orientation: mixed;
     flex: 1; /* 撑开让右边色块靠右 */
}
}




/* ================================================== */
/* ================================================== */
/* ---- 方案 D:顶部红色宽色带,序号+标签都在里面 ---- */
/* ---- 方案 D:右上角单个小红方块点缀 ---- */
/* ================================================== */
/* ================================================== */
/*
/*
  * .card_content_date-band 是方案D专用顶部色带容器
  * 简洁版:只在右上角放一个小红色方块(::after),
  * 序号和label都移入band,body区域留空做高度占位
  * 序号和 label 自然排布,没有其他红色。
  */
  */
.card_content_date-item--style-d {
.card_content_date-item--style-d {
     border-top: none; /* 色带取代顶部边框 */
     border-top: 1px solid rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
}
}


/* 顶部红色色带 */
/* 右上角小红方块 */
.card_content_date-band {
.card_content_date-item--style-d::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
     background: #ed4141;
     background: #ed4141;
     padding: 8px 10px 6px;
     border-radius: 1px;
    position: relative;
     z-index: 1;
     flex-shrink: 0;
}
}


/* 色带内的序号:白色,较小 */
/* 序号 */
.card_content_date-item--style-d .card_content_date-num {
.card_content_date-item--style-d .card_content_date-num {
    position: static;    /* 脱离 absolute,随 band 流排 */
     color: rgba(237, 65, 65, 0.20);
    display: inline-block;
     font-size: 1.5rem;
    font-size: 1.6rem;
     color: rgba(255, 255, 255, 0.9);
     font-style: normal;
    line-height: 1;
    letter-spacing: -0.5px;
}
}


/* 色带内的标签:白色,右对齐绝对定位 */
/* label */
.card_content_date-item--style-d .card_content_date-label {
.card_content_date-item--style-d .card_content_date-label {
    position: absolute;
     color: rgba(80, 60, 100, 0.38);
    right: 8px;
    bottom: 6px;
     color: rgba(255, 255, 255, 0.75);
    font-size: 0.55rem;
    letter-spacing: 2px;
}
 
/* body 区域:不需要显示数字,只做高度 */
.card_content_date-body--no-num {
    flex: 1;
    min-height: 50px;
    padding: 0;
}
}


第996行: 第984行:
         justify-content: flex-start;
         justify-content: flex-start;
         gap: 10px;
         gap: 10px;
        align-items: flex-start; /* 小屏取消起伏,整齐排列 */
     }
     }
     .card_content_date-item {
     .card_content_date-item {

2026年3月5日 (四) 21:31的版本

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

/* 全局 */

/* 字体 */
/* Regular */
@font-face {
  font-family: 'AlibabaPuHuiTi';
  src: url('/resources/assets/fonts/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'AlibabaPuHuiTi';
  src: url('/resources/assets/fonts/AlibabaPuHuiTi-3-85-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;

  /* 色相:暖粉 */
  --color-progressive-oklch__h: 15 !important;

  /* 正文字亮度 */
  --color-base-oklch__l: 92% !important;
  --color-base-oklch__c: 0.03 !important;

  /* 次级文字 */
  --color-subtle-oklch__l: 75% !important;
  --color-subtle-oklch__c: 0.025 !important;

  /* 强调文字 */
  --color-emphasized-oklch__l: 98% !important;
  --color-emphasized-oklch__c: 0.04 !important;
}

/* 背景相关 */
html {
  background: none;
  /* 禁止整个页面横向滚动 */
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(
      circle at 50% 30%,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url("/images/b/b5/Banner.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  font-family: 'AlibabaPuHuiTi', sans-serif;

  /* 禁止横向滚动 */
  overflow-x: hidden;
}


/* 遮罩 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 用遮罩控制模糊范围 */
  mask-image: radial-gradient(
    circle at 50% 30%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,1) 100%
  );

  -webkit-mask-image: radial-gradient(
    circle at 50% 30%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,1) 100%
  );
}

/* 去掉主题偏移 */
.citizen-page-container {
	padding-inline:unset!important;
}

/* 修复编辑背景 */
.editor.ace_editor.ace-tm {
    background: black;
    
     /* 恢复原来的冷色调 */
  --color-progressive-oklch__h: 262.29;
  
  --color-base-oklch__l: 20%;
  --color-base-oklch__c: 0.09;

  --color-subtle-oklch__l: 35%;
  --color-subtle-oklch__c: 0.11;

  --color-emphasized-oklch__l: 5%;
  --color-emphasized-oklch__c: 0.07;

}
.mw-body-content .CodeMirror {
	background-color:var(--color-surface-0);
}



/* 侧边栏 */
.citizen-header {
	background-color:rgba(255,255,255,0.2);
	backdrop-filter:blur(10px);
}


/* footer  */
.citizen-footer {
	background-color:unset;
}



/* --------------------------------------------------卡面界面相关--------------------------------------------------- */
/** card_ **/
/* 全屏卡面 */
.card_fullscreen-img {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.card_fullscreen-img img {
    width: 105%;
    height: 105%;
    object-fit: cover;
    display: block;

    transform: translateY(0px) scale(1);
    transition: transform 0.8s cubic-bezier(.22,.61,.36,1);
}

.card_fullscreen-img.scrolled img {
    transform: translateY(-10px) scale(1.015);
}

/* 暗角 */
.card_fullscreen-img::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,0.2) 35%,
            rgba(0,0,0,0.65) 100%
        );

    opacity: 0; /* 默认没有 */
    transition: opacity 0.8s cubic-bezier(.22,.61,.36,1);
}

.card_fullscreen-img.scrolled::after{
    opacity: 1;
}


/* 正文背景*/

.card_content-background {
        position: relative;
        padding: 120px 0 0;   /* 左右 padding 交由 inner 处理 */
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.62) 35%, rgba(255, 255, 255, 0.54) 100%);
    backdrop-filter: blur(15px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    border-radius: 100vw 100vw 0 0 / 2.4em 2.4em 0 0;
    border-top: thin solid rgb(255 235 240 / 68%);
    box-shadow: 0 -40px 80px -45px rgba(0, 0, 0, 0.25), 0 -2px 6px rgb(255 255 255 / 13%), 0 -4px 14px rgba(255, 180, 200, 0.18), inset 0 1px 0 rgb(255 255 255 / 0%), inset 0 -30px 60px rgba(0, 0, 0, 0.04);
}
.card_content-background::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;

    background:
        radial-gradient(
            120% 70% at 50% -18%,
            rgba(255,255,255,0.95) 0%,
            rgba(255,230,235,0.65) 18%,
            rgba(255,200,215,0.35) 30%,
            rgba(255,200,215,0.15) 40%,
            rgba(255,200,215,0) 55%
        );

    mix-blend-mode: screen;
    opacity: 0.6;
}
.card_content-background::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;

    box-shadow:
        0 -1px 0 rgba(255,255,255,0.95),        /* 主亮线 */
        0 -2px 4px rgba(255,220,230,0.6),      /* 柔粉扩散 */
        0 -4px 10px rgba(255,180,200,0.25);    /* 外围粉光 */

    opacity: 0.7;
}

/* 居中包裹层 */
/* 大屏:max-width 限制 + 轻微偏左(margin 右多于左),左右自适应边距 */
.card_content-inner {
    max-width: 1900px;
    margin: 0 auto 0 clamp(0px, 4vw, 160px); /* 超宽时整体偏左 */
    padding: 0 clamp(40px, 10vw, 240px) 120px;
}

.card_content{
    color:#1a1a1f;
    margin:0;
}



/* 卡面名&信息 */
.card_content_name-icon img {
	background:black;
}

/* 情报 */
.card_content_info{
    display: flex;
    align-items: center; /* 垂直居中 */
    width:100%;
    gap:18px;
    margin-left:2px;
}

.card_content_info-item{
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 给除了最后一个以外的 item 加竖线 */
.card_content_info-item:not(:last-child)::after{
    content: "";
    position: absolute;
    left:40px;
    top: 50%;
    transform: translateY(-50%);

    width: 1px;
    height: 60%; /* 控制线的高度 */

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
}

/* --------------------------------------------------卡面界面相关(续)--------------------------------------------------- */

/* 全局强调色 */
.card_accent { color: #ed4141; }
.card_accent--type { color: #ed4141; margin-left: 4px; }

/* 大框架容器 */
.card_content-container {
    width: 100vw;
    margin-top: -30vh;
    position: relative;
    transform: translate(-50%);
    left: 50%;
    /* 防止内容撑出横向滚动 */
    overflow-x: hidden;
}

/* 正文布局 */
.card_content--layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap; /* 小屏自动折叠 */
}

/* 左栏:默认 sticky */
.card_content_left {
    position: sticky;
    top: 320px;
    transform: translateY(-220px);
    flex: 0 0 380px;
    min-width: 0;
}

/* 卡名区域 */
.card_content_name-container { width: 100%; }
.card_content_name-row { display: flex; margin-left: 2px; }
.card_content_name-classtext { font-size: large; margin-left: 6px; }
.card_content_name-icon--ml { margin-left: 8px; }
.card_content_name-text {
    font-family: serif;
    font-weight: bold;
    font-size: xx-large;
    margin-top: 4px;
}

/* 区块标题通用 */
.card_content-item-title {
    font-size: x-large;
    font-family: serif;
    font-weight: bold;
}
.card_content-item-title--mt { margin-top: 36px; }
.card_content-item-subtitle {
    font-size: small;
    margin-left: 8px;
}

/* 区块分隔线 */
.card_content-item-hr {
    width: 50px;
    height: 2px;
    background: #ff7676;
    margin-bottom: 4px;
}
.card_content-item-hr--mb12 { margin-bottom: 12px; }

/* 属性 */
.card_content_attribute-item {
    width: 240px;
    display: flex;
    justify-content: space-between;
}
.card_content_attribute-title {
    display: flex;
    gap: 4px;
    align-items: center;
}
.card_content_attribute-icon {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
}

/* 右栏 */
.card_content_right {
    flex: 1 1 520px;
    min-width: 0;
}

/* ---- 技能卡片 ---- */
/* 默认上下排列(描述在上,升级在下),到足够宽时才切换为左右 */
.card_content_skill-card {
    width: 100%;
    max-width: 1100px;   /* 超宽屏给更大空间 */
    display: flex;
    flex-direction: column; /* 默认上下 */
    gap: 20px;
    align-items: flex-start;
    background: #ffffff14;
    padding: 12px;
    border-radius: 5px;
}
.card_content_skill-gap { height: 18px; }

/* 技能卡左侧描述区 */
.card_content_skill-left {
    width: 100%;         /* 上下排时占满 */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* 技能标题行 */
.card_content_skill-title {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.card_content_skill-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
.card_content_skill-title-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.card_content_skill-name {
    font-family: serif;
    font-weight: bold;
}
.card_content_skill-meta {
    font-size: small;
    color: grey;
    margin-top: -2px;
}
.card_content_skill-meta-val { margin-left: 6px; }

/* 技能标签(群攻/单体等) */
.card_content_skill-tags {
    display: flex;
    gap: 4px;
    line-height: 0.9;
    margin-top: 6px;
}
.card_content_skill-tag {
    font-size: small;
    background: #000000a3;
    color: #ffffff;
    padding: 4px;
}

/* 技能效果描述 */
.card_content_skill_effect {
    margin-top: 8px;
    line-height: 1.3;
    font-size: 0.9rem;
}

/* ---- 技能升级表格(通用) ---- */
.card_content_skill-upgrade {
    width: 100%;        /* 上下排时占满宽度 */
    min-width: 0;
    /* 内容超出卡片宽度时才出现横向滚动条 */
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* 默认 8 列(终结技 Lv.2~9);每列最小 44px */
.card_content_skill-upgrade-grid {
    display: grid;
    grid-template-columns: auto repeat(8, minmax(44px, 1fr));
    gap: 2px;
    font-size: 0.78rem;
    align-items: center;
    min-width: max-content; /* 防止列被压缩,超出时由父级滚动条处理 */
}
/* 9 列变体(普攻 / 被动 Lv.2~10) */
.card_content_skill-upgrade-grid--10 {
    grid-template-columns: auto repeat(9, minmax(44px, 1fr));
}
/* 表头等级数字 */
.card_content_skill-upgrade-lv {
    display: flex;
    justify-content: center;
    color: #aaa;
    font-size: 0.75rem;
    font-weight: bold;
}
/* 行首角标标签容器 */
.card_content_skill-upgrade-row-label {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    padding-right: 18px;
}
/* 行首角标圆圈数字 */
.card_content_skill-upgrade-badge {
    width: 18px;
    height: 18px;
    background: #ffaaaa;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 18px;
    display: inline-block;
    flex-shrink: 0;
}
/* 行首角标文字 */
.card_content_skill-upgrade-badge-text {
    margin-left: 4px;
    color: #ffb347;
    font-size: 0.75rem;
    font-weight: bold;
}
/* 行首角标箭头(错位) */
.card_content_skill-upgrade-arrow {
    position: absolute;
    right: 0;
    top: -6px;
    color: #ff7676;
    font-size: 0.8rem;
    line-height: 1;
}
/* 数值格 */
.card_content_skill-upgrade-val {
    text-align: center;
    padding: 4px 0;
}
/* 无变化格 */
.card_content_skill-upgrade-val--null { color: #aaa; }

/* ---- 觉醒 ---- */
.card_content_feat-ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}
.card_content_feat-list {
    padding: 0.8rem 0;
    margin-bottom: 0.8rem;
}
.card_content_feat-row {
    display: flex;
    align-items: center;
}
.card_content_feat-stage-wrap {
    position: relative;
    margin-right: 2rem;
}
.card_content_feat-stage {
    position: absolute;
    top: -12px;
    left: 2px;
    font-size: 0.7rem;
    letter-spacing: 1px;
}
.card_content_feat-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.card_content_feat-stage-cn {
    font-size: 0.8rem;
    margin-right: 0.5rem;
    font-family: serif;
}

/* ---- 小传 ---- */
.card_content_story { margin-top: 80px; }

/* 小传 header:默认横排(标题在左,时间轴在右) */
.card_content_story-header {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.card_content_story-header-left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0; /* 不压缩标题区 */
}
.card_content_story-header-spacer { margin-top: 36px; }
.card_content_story-toggle {
    font-size: 1rem;
    color: #ff7676;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.5px;
}
.card_content_story-timeline {
    position: relative;
    max-width: 820px;
    padding-left: 44px;
    overflow: hidden;
    transition: opacity .25s ease, transform .25s ease, max-height .35s ease;
    opacity: 1;
    transform: translateY(0);
    max-height: 5000px;
}

/* ---- 时间轴 ---- */
.card_timeline { position: relative; }
.card_timeline-line {
    position: absolute;
    left: 16px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(0, 0, 0, 0.06);
}
.card_timeline-item {
    position: relative;
    margin-bottom: 60px;
}
.card_timeline-item--last { margin-bottom: 0; }
.card_timeline-dot {
    position: absolute;
    left: -30px;
    top: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid #ff7676;
    background: #fff;
    border-radius: 50%;
}
.card_timeline-unlock {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.card_timeline-title { margin-bottom: 14px; }
.card_timeline-numeral {
    font-family: serif;
    font-size: 1.15rem;
    font-weight: bold;
    color: #ff7676;
}
.card_timeline-chapter {
    margin: 0 6px;
    font-weight: 600;
}
.card_timeline-label {
    font-size: 0.75rem;
    color: #aaa;
    margin-left: 6px;
}
.card_timeline-body {
    line-height: 1.95;
    font-size: 0.95rem;
    color: #292929;
    text-align: justify;
}

/* ================================================== */
/* ---- 邀约模块(card_content_date-*) ---- */
/* ================================================== */

/* 邀约区块容器 */
.card_content_date {
    margin-top: 80px;
}

/* 票券轨道 */
.card_content_date-track {
    position: relative;
    padding: 8px 0 40px;
}

/* ---- 票券列表:底部对齐,产生高低起伏感 ---- */
.card_content_date-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end; /* 底部对齐 → 高的和矮的自然起伏 */
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---- 单张邀约卡片(基础样式,所有卡片共用) ---- */
.card_content_date-item {
    width: calc(20% - 10px);
    min-width: 100px;
    max-width: 190px;
    flex-shrink: 0;

    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.10),
        0 1px 3px rgba(255, 255, 255, 0.4) inset;

    position: relative;
    overflow: hidden;
    color: #1a1a1f;
}

/* 清空旧的伪元素默认,各方案自行定义 */
.card_content_date-item::before,
.card_content_date-item::after {
    content: none;
}

/* ---- 卡片内容区(基础) ---- */
.card_content_date-body {
    padding: 10px 10px 12px;
    position: relative;
    min-height: 64px;
}

/* ---- 占位图(有图卡片使用) ---- */
.card_content_date-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: linear-gradient(
        135deg,
        rgba(200, 185, 210, 0.55) 0%,
        rgba(160, 140, 180, 0.35) 50%,
        rgba(120, 100, 140, 0.25) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* 序号基础(各方案可覆盖) */
.card_content_date-num {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    color: rgba(237, 65, 65, 0.18);
    line-height: 1;
    user-select: none;
    letter-spacing: -0.5px;
}

/* Story/END 标签基础 */
.card_content_date-label {
    display: block;
    font-size: 0.58rem;
    color: rgba(80, 60, 100, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}


/* ================================================== */
/* ---- 方案 A:左上角极小红色方块 + 序号 ---- */
/* ================================================== */
/*
 * 卡片左上角一个 6×6 的小红方块(::before),
 * 序号正常显示在 body 里,不透明度略高。
 * 整体干净,红色只是极小一个点。
 */
.card_content_date-item--style-a {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}

/* 左上角小红方块 */
.card_content_date-item--style-a::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #ed4141;
    border-radius: 1px;
    z-index: 1;
}

/* 序号缩进避开方块 */
.card_content_date-item--style-a .card_content_date-body {
    padding-left: 20px;
}

/* 序号正常,轻微红色 */
.card_content_date-item--style-a .card_content_date-num {
    color: rgba(237, 65, 65, 0.22);
    font-size: 1.5rem;
}

/* label 正常 */
.card_content_date-item--style-a .card_content_date-label {
    color: rgba(80, 60, 100, 0.38);
}


/* ================================================== */
/* ---- 方案 B:像素风进度条(有图卡片使用) ---- */
/* ================================================== */
/*
 * .card_content_date-pixels 是一行小方块,
 * .px 是空格(透明),.px.on 是实心红色方块。
 * 进度条放在 body 底部,高度视觉上来自图片。
 */
.card_content_date-item--style-b {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}

/* 像素进度条容器 */
.card_content_date-pixels {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-top: 6px;
}

/* 单个像素格 */
.card_content_date-pixels .px {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.10); /* 空格:淡灰 */
    border-radius: 1px;
    flex-shrink: 0;
}

/* 实心格(已解锁/进度) */
.card_content_date-pixels .px.on {
    background: #ed4141;
}

/* END 卡片的满格进度条颜色稍深 */
.card_content_date-item--end .card_content_date-pixels .px.on {
    background: #c0392b;
}

/* 序号:淡化,和图片叠在一起只当装饰 */
.card_content_date-item--style-b .card_content_date-num {
    color: rgba(237, 65, 65, 0.15);
    font-size: 1.4rem;
}

/* END label 用红色 */
.card_content_date-item--end .card_content_date-label {
    color: rgba(237, 65, 65, 0.55);
    font-weight: 600;
    letter-spacing: 2.5px;
}


/* ================================================== */
/* ---- 方案 C:两端小色块夹住文字(▓▓ 03 Story ▓▓) ---- */
/* ================================================== */
/*
 * .card_content_date-bracket 是横排容器,
 * .bracket-block 是左右两端的小红色块,
 * .bracket-num 和 .bracket-label 是中间的文字。
 */
.card_content_date-item--style-c {
    border-top: 2px solid rgba(237, 65, 65, 0.25); /* 顶部细红线点缀 */
}

/* 括号式横排容器:垂直居中布局 */
.card_content_date-bracket {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
}

/* 两端小色块 */
.bracket-block {
    display: inline-block;
    width: 5px;
    height: 14px;
    background: #ed4141;
    border-radius: 1px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* 右侧色块稍窄,形成不对称感 */
.bracket-block--r {
    width: 3px;
    height: 10px;
    opacity: 0.4;
}

/* 序号 */
.bracket-num {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    color: rgba(237, 65, 65, 0.5);
    line-height: 1;
    letter-spacing: -0.5px;
}

/* 标签 */
.bracket-label {
    font-size: 0.55rem;
    color: rgba(80, 60, 100, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    flex: 1; /* 撑开让右边色块靠右 */
}


/* ================================================== */
/* ---- 方案 D:右上角单个小红方块点缀 ---- */
/* ================================================== */
/*
 * 简洁版:只在右上角放一个小红色方块(::after),
 * 序号和 label 自然排布,没有其他红色。
 */
.card_content_date-item--style-d {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}

/* 右上角小红方块 */
.card_content_date-item--style-d::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #ed4141;
    border-radius: 1px;
    z-index: 1;
}

/* 序号 */
.card_content_date-item--style-d .card_content_date-num {
    color: rgba(237, 65, 65, 0.20);
    font-size: 1.5rem;
}

/* label */
.card_content_date-item--style-d .card_content_date-label {
    color: rgba(80, 60, 100, 0.38);
}


/* ================================================== */
/* ---- 响应式断点 ---- */
/* ================================================== */

/* ≤1399px:左栏取消 sticky,两栏上下排列 */
@media (max-width: 1399px) {
    .card_content_left {
        position: static;
        transform: none;
        flex: 1 1 100%;
    }
    .card_content_right {
        flex: 1 1 100%;
    }
}

/* ≤900px:小传 header 从左右改为上下排列 */
@media (max-width: 900px) {
    .card_content_story-header {
        flex-direction: column;
    }
    .card_content_story-header-spacer {
        display: none;
    }
    .card_content_story-timeline {
        max-width: 100%;
        margin-top: 16px;
    }
}

/* ≤600px:极小屏,边距收窄;邀约改为两列 */
@media (max-width: 600px) {
    .card_content-inner {
        padding: 0 20px 80px;
    }
    .card_content_date-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        align-items: flex-start; /* 小屏取消起伏,整齐排列 */
    }
    .card_content_date-item {
        width: calc(50% - 5px);
        min-width: unset;
        max-width: unset;
    }
}

/* ≥1400px:右栏有足够宽度,技能卡内部切换为左右布局 */
@media (min-width: 1400px) {
    .card_content_skill-card {
        flex-direction: row;
        align-items: flex-start;
    }
    .card_content_skill-left {
        width: 340px;
        flex-shrink: 0;
    }
    .card_content_skill-upgrade {
        flex: 1;
    }
}