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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Rin留言 | 贡献
修复技能升级区溢出时加回横向滚动条;新增邀约模块样式 (via update-page on MediaWiki MCP Server)
Rin留言 | 贡献
禁止横向滚动;小传窄屏上下排布;邀约模块重新设计(SVG红线引导+简化卡片) (via update-page on MediaWiki MCP Server)
第43行: 第43行:
html {
html {
   background: none;
   background: none;
  /* 禁止整个页面横向滚动 */
  overflow-x: hidden;
}
}


第60行: 第62行:


   font-family: 'AlibabaPuHuiTi', sans-serif;
   font-family: 'AlibabaPuHuiTi', sans-serif;
  /* 禁止横向滚动 */
  overflow-x: hidden;
}
}


第294行: 第299行:
     transform: translate(-50%);
     transform: translate(-50%);
     left: 50%;
     left: 50%;
    /* 防止内容撑出横向滚动 */
    overflow-x: hidden;
}
}


第447行: 第454行:
     width: 100%;        /* 上下排时占满宽度 */
     width: 100%;        /* 上下排时占满宽度 */
     min-width: 0;
     min-width: 0;
     overflow-x: auto;   /* 内容超出时出现横向滚动条,不超出则不显示 */
    /* 内容超出卡片宽度时才出现横向滚动条,不超出则不显示 */
     overflow-x: auto;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
第560行: 第568行:
/* ---- 小传 ---- */
/* ---- 小传 ---- */
.card_content_story { margin-top: 80px; }
.card_content_story { margin-top: 80px; }
.card_content_story-header { display: flex; }
 
.card_content_story-header-left { display: flex; flex-direction: column; }
/* 小传 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-header-spacer { margin-top: 36px; }
.card_content_story-toggle {
.card_content_story-toggle {
第644行: 第662行:
}
}


/* 邀约票券列表:横向排列,允许换行 */
/* SVG 红线引导层:绝对定位覆盖在票券列表上方,pointer-events:none 不阻挡点击 */
.card_content_invite-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}
 
/* 票券列表外层:relative 用于 SVG 定位参考 */
.card_content_invite-track {
    position: relative;
    padding: 24px 0 60px;
}
 
/* 票券列表:横向排列,不换行,均匀分布 */
.card_content_invite-list {
.card_content_invite-list {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: nowrap;
     align-items: flex-start; /* 奇偶错位由各自 margin-top 控制 */
     align-items: flex-start;
     gap: 0 16px;
     gap: 0;
    padding: 20px 0 40px;
     list-style: none;
     list-style: none;
     margin: 0;
     margin: 0;
    padding: 0;
    /* 五张票均匀占满宽度 */
    justify-content: space-between;
}
}


/* 单张票券 */
/* 单张票券 */
.card_content_invite-item {
.card_content_invite-item {
     position: relative;
     /* 每张票约占 1/5,留少量间距 */
     width: 180px;
    width: calc(20% - 12px);
     background: #f5f0e8; /* 米白色票券底色 */
    min-width: 120px;
     max-width: 200px;
 
     background: #f7f3ed;
     color: #3a3028;
     color: #3a3028;


     /* 上下锯齿:用 radial-gradient 模拟撕裂边缘 */
     /* 简洁边框,无锯齿花纹 */
    /* 上边锯齿 */
     border: 1px solid rgba(160, 140, 120, 0.3);
    mask-image:
     border-radius: 3px;
        radial-gradient(circle at 50% 0%, transparent 7px, black 7px),  /* 顶部中心小孔(固定孔) */
     box-shadow:
        radial-gradient(ellipse 6px 6px at left  0px,  transparent 100%, black 100%),
        2px 6px 20px rgba(0,0,0,0.13),
        radial-gradient(ellipse 6px 6px at right 0px,  transparent 100%, black 100%);
        0 1px 3px rgba(0,0,0,0.08);
    /* 改用 clip-path + box-shadow 实现锯齿边缘更简洁 */
    /* 改为纯 CSS 锯齿 */
    -webkit-mask-image: none;
    mask-image: none;
 
    /* 用上下 border + repeating 伪元素实现锯齿 */
     border-left: 1px solid rgba(180,160,140,0.4);
     border-right: 1px solid rgba(180,160,140,0.4);
     box-shadow: 2px 4px 16px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.10);


     flex-shrink: 0;
     flex-shrink: 0;
}
    position: relative;


/* 锯齿边缘:用上下 SVG 锯齿条实现 */
    /* 顶部短线装饰(模拟票券打孔横线) */
/* 顶部锯齿 */
     border-top: 2px dashed rgba(160,140,120,0.35);
.card_content_invite-item::before {
     border-bottom: 2px dashed rgba(160,140,120,0.35);
    content: "";
     display: block;
    height: 8px;
    /* repeating radial-gradient 模拟锯齿 */
    background: radial-gradient(circle at 50% 0%, #f5f0e8 6px, transparent 6px),
                radial-gradient(circle at 50% 0%, rgba(180,160,140,0.35) 7px, transparent 7px);
     background-size: 14px 8px;
    background-color: rgba(180,160,140,0.25); /* 锯齿之间的缝隙颜色 */
}
 
/* 底部锯齿 */
.card_content_invite-item::after {
    content: "";
    display: block;
    height: 8px;
    background: radial-gradient(circle at 50% 100%, #f5f0e8 6px, transparent 6px),
                radial-gradient(circle at 50% 100%, rgba(180,160,140,0.35) 7px, transparent 7px);
    background-size: 14px 8px;
    background-color: rgba(180,160,140,0.25);
}
}


/* 奇数票券(01、03、05):正常位置 */
/* 奇数票(01/03/05):偏上 */
.card_content_invite-item:nth-child(odd) {
.card_content_invite-item:nth-child(odd) {
     margin-top: 0;
     margin-top: 0;
    align-self: flex-start;
}
}


/* 偶数票券(02、04):向下错位 */
/* 偶数票(02/04):偏下,形成错落感 */
.card_content_invite-item:nth-child(even) {
.card_content_invite-item:nth-child(even) {
     margin-top: 60px;
     margin-top: 70px;
    align-self: flex-start;
}
}


/* 票券内容区(锯齿之间的主体) */
/* 票券内容区 */
.card_content_invite-body {
.card_content_invite-body {
     padding: 12px 14px 16px;
     padding: 14px 12px 36px;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    min-height: 120px;
     position: relative;
     position: relative;
    min-height: 100px;
}
}


/* 票券序号(大字斜体) */
/* 票券大数字(背景水印感) */
.card_content_invite-num {
.card_content_invite-num {
     font-family: serif;
     font-family: 'Georgia', serif;
     font-size: 3rem;
     font-size: 3.2rem;
     font-weight: 700;
     font-weight: 700;
     font-style: italic;
     font-style: italic;
     color: rgba(100, 80, 60, 0.18); /* 浅色水印感 */
    /* 浅色,作为背景装饰 */
     color: rgba(90, 68, 50, 0.12);
     line-height: 1;
     line-height: 1;
     position: absolute;
     position: absolute;
     right: 10px;
     right: 8px;
     bottom: 28px;
     bottom: 24px;
     user-select: none;
     user-select: none;
    letter-spacing: -2px;
}
}


/* 票券标题 */
/* 票券标题 */
.card_content_invite-title {
.card_content_invite-title {
     font-size: 0.82rem;
     font-size: 0.8rem;
     font-weight: 700;
     font-weight: 600;
     letter-spacing: 0.5px;
     letter-spacing: 0.3px;
     color: #3a3028;
     color: #3a3028;
     margin-bottom: 4px;
     line-height: 1.4;
     line-height: 1.3;
     /* 避免被大数字遮住 */
    position: relative;
    z-index: 1;
}
}


/* 票券副标签(Story / END 等) */
/* Story / END 标签:右下角 */
.card_content_invite-label {
.card_content_invite-label {
     font-size: 0.68rem;
     font-size: 0.65rem;
     color: rgba(100,80,60,0.55);
     color: rgba(100, 78, 58, 0.5);
     letter-spacing: 1px;
     letter-spacing: 1.5px;
    text-transform: uppercase;
     position: absolute;
     position: absolute;
     right: 12px;
     right: 10px;
     bottom: 10px;
     bottom: 10px;
}
}


/* 票券图片区(02、04 有图) */
/* 票券图片占位区(替代 <img>,用 CSS 背景色模拟) */
.card_content_invite-img {
.card_content_invite-img-placeholder {
     width: 100%;
     width: 100%;
     aspect-ratio: 4/3;
     aspect-ratio: 4 / 3;
     object-fit: cover;
     /* 用柔和渐变模拟图片占位,有层次感 */
     display: block;
     background:
    margin-bottom: 0;
        linear-gradient(
}
            135deg,
 
            rgba(180, 160, 140, 0.25) 0%,
/* 票券顶部固定孔 */
            rgba(140, 120, 100, 0.18) 50%,
.card_content_invite-hole {
            rgba(100, 80, 60, 0.12) 100%
    width: 10px;
        );
     height: 10px;
     border-bottom: 1px solid rgba(160,140,120,0.2);
    background: rgba(180,160,140,0.35);
     display: flex;
     border-radius: 50%;
     align-items: center;
     margin: 0 auto;
     justify-content: center;
     position: relative;
     /* 占位文字 */
     top: -5px; /* 叠在顶部锯齿上 */
     font-size: 0.68rem;
     z-index: 1;
    color: rgba(100, 80, 60, 0.35);
    letter-spacing: 1px;
}
}


第794行: 第814行:
}
}


/* ≤600px:极小屏,边距收窄 */
/* ≤900px:小传 header 从左右改为上下排列 */
@media (max-width: 900px) {
    .card_content_story-header {
        flex-direction: column;
    }
    .card_content_story-header-spacer {
        display: none; /* 上下排时不需要 spacer */
    }
    .card_content_story-timeline {
        /* 上下排时时间轴撑满 */
        max-width: 100%;
        margin-top: 16px;
    }
}
 
/* ≤600px:极小屏,边距收窄;邀约票券改为两列 */
@media (max-width: 600px) {
@media (max-width: 600px) {
     .card_content-inner {
     .card_content-inner {
         padding: 0 20px 80px;
         padding: 0 20px 80px;
     }
     }
     /* 小屏邀约票券:稍微缩小,两列展示 */
     /* 小屏邀约:改为两列,取消错位 */
    .card_content_invite-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }
     .card_content_invite-item {
     .card_content_invite-item {
         width: calc(50% - 8px);
         width: calc(50% - 6px);
        min-width: unset;
        max-width: unset;
     }
     }
    /* 小屏取消错位,避免布局混乱 */
     .card_content_invite-item:nth-child(even) {
     .card_content_invite-item:nth-child(even) {
         margin-top: 0;
         margin-top: 0;
    }
    /* 小屏隐藏 SVG 红线(位置难以对齐) */
    .card_content_invite-svg {
        display: none;
     }
     }
}
}

2026年3月5日 (四) 20:15的版本

/* 这里放置的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_invite {
    margin-top: 80px;
}

/* SVG 红线引导层:绝对定位覆盖在票券列表上方,pointer-events:none 不阻挡点击 */
.card_content_invite-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

/* 票券列表外层:relative 用于 SVG 定位参考 */
.card_content_invite-track {
    position: relative;
    padding: 24px 0 60px;
}

/* 票券列表:横向排列,不换行,均匀分布 */
.card_content_invite-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    /* 五张票均匀占满宽度 */
    justify-content: space-between;
}

/* 单张票券 */
.card_content_invite-item {
    /* 每张票约占 1/5,留少量间距 */
    width: calc(20% - 12px);
    min-width: 120px;
    max-width: 200px;

    background: #f7f3ed;
    color: #3a3028;

    /* 简洁边框,无锯齿花纹 */
    border: 1px solid rgba(160, 140, 120, 0.3);
    border-radius: 3px;
    box-shadow:
        2px 6px 20px rgba(0,0,0,0.13),
        0 1px 3px rgba(0,0,0,0.08);

    flex-shrink: 0;
    position: relative;

    /* 顶部短线装饰(模拟票券打孔横线) */
    border-top: 2px dashed rgba(160,140,120,0.35);
    border-bottom: 2px dashed rgba(160,140,120,0.35);
}

/* 奇数票(01/03/05):偏上 */
.card_content_invite-item:nth-child(odd) {
    margin-top: 0;
    align-self: flex-start;
}

/* 偶数票(02/04):偏下,形成错落感 */
.card_content_invite-item:nth-child(even) {
    margin-top: 70px;
    align-self: flex-start;
}

/* 票券内容区 */
.card_content_invite-body {
    padding: 14px 12px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100px;
}

/* 票券大数字(背景水印感) */
.card_content_invite-num {
    font-family: 'Georgia', serif;
    font-size: 3.2rem;
    font-weight: 700;
    font-style: italic;
    /* 浅色,作为背景装饰 */
    color: rgba(90, 68, 50, 0.12);
    line-height: 1;
    position: absolute;
    right: 8px;
    bottom: 24px;
    user-select: none;
    letter-spacing: -2px;
}

/* 票券标题 */
.card_content_invite-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #3a3028;
    line-height: 1.4;
    /* 避免被大数字遮住 */
    position: relative;
    z-index: 1;
}

/* Story / END 标签:右下角 */
.card_content_invite-label {
    font-size: 0.65rem;
    color: rgba(100, 78, 58, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

/* 票券图片占位区(替代 <img>,用 CSS 背景色模拟) */
.card_content_invite-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* 用柔和渐变模拟图片占位,有层次感 */
    background:
        linear-gradient(
            135deg,
            rgba(180, 160, 140, 0.25) 0%,
            rgba(140, 120, 100, 0.18) 50%,
            rgba(100, 80, 60, 0.12) 100%
        );
    border-bottom: 1px solid rgba(160,140,120,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 占位文字 */
    font-size: 0.68rem;
    color: rgba(100, 80, 60, 0.35);
    letter-spacing: 1px;
}

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

/* ≤1399px:左栏取消 sticky,两栏上下排列 */
/* sticky 生效点与两栏左右切换点统一为 1400px,避免 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; /* 上下排时不需要 spacer */
    }
    .card_content_story-timeline {
        /* 上下排时时间轴撑满 */
        max-width: 100%;
        margin-top: 16px;
    }
}

/* ≤600px:极小屏,边距收窄;邀约票券改为两列 */
@media (max-width: 600px) {
    .card_content-inner {
        padding: 0 20px 80px;
    }
    /* 小屏邀约:改为两列,取消错位 */
    .card_content_invite-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }
    .card_content_invite-item {
        width: calc(50% - 6px);
        min-width: unset;
        max-width: unset;
    }
    .card_content_invite-item:nth-child(even) {
        margin-top: 0;
    }
    /* 小屏隐藏 SVG 红线(位置难以对齐) */
    .card_content_invite-svg {
        display: none;
    }
}

/* ≥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;                     /* 升级区占剩余空间 */
    }
}