/*全局*/
/* 2026-11-23 用户要求：全站文字上下更紧凑（行高 25 → 21） */
body{
  width:100%;
  height:100%;
  line-height: 23px;
  font-size: 16px;
  background-color: #ffffff;
  color: #000;
  font-family:"Microsoft YaHei","微软雅黑","黑体","SimHei",sans-serif;
}

/*按钮/输入框默认不继承字体，强制统一为全局字体*/
button,input,select,textarea{
  font-family:inherit;
  font-size: 16px;
}

/*行内表单：让按钮跟文字同一行（不换行挤压）*/
form.inline{
  display:inline;
}

/*统一排版：段落无段距（与场景页一致）、标题同字号、表格紧排、图片自适应*/
p{
  margin: 0;
  padding: 0;
}
h2,h3,h4,h5{
  margin: 2px 0 1px 0;
  font-size: 16px;
  font-weight: normal;
}
/*全站不加粗（纯文字风格）*/
b,strong{
  font-weight: normal;
}
/*普通按钮也做成文字样式（登录页等有独立 class 的按钮不受影响）*/
button{
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: #0000ee;
  font: inherit;
  line-height: 23px;
  cursor: pointer;
  /* 2026-11-12：手机/微信内置浏览器会把 <button> 按系统控件画成带边框的方块（看着像输入框），
   * 这里彻底去掉原生外观，保证战斗页/技能栏等处的按钮就是一行可点的文字 */
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  box-shadow: none;
  /* 注意：这里不要设 text-align，否则登录页那种「整行按钮」的文字会贴左边 */
}
button:hover{
  color: #527F76;
  background-color: #F0F8FF;
}
td,th{
  padding: 0;
  border: 0;
}
table{
  border-collapse: collapse;
}
td,th{
  vertical-align: top;
  line-height: 23px;
}
img{
  max-width: 100%;
  height: auto;
}
small{
  font-size: 16px;
}
/*次要信息灰字（未集齐/未生效等）*/
.grey{
  color: #888;
}

/*游戏 logo（页面内小图：满幅彩色图，直接显示）*/
.logo-img{
  border-radius: 8px;
}
ul,ol{
  margin: 0;
  padding-left: 1.2em;
}
li{
  margin: 0;
  line-height: 23px;
}

/*表格单元格里的表单自动行内：穿戴/使用/收纳/出售这类按钮不再各占一行*/
td form{
  display: inline;
}

/*战斗结算标题（胜利绿 / 失败红）*/
/* 2026-11-18 用户要求：胜利标题字号与正文**完全一致**（颜色不变，去掉字间距） */
.win-title{
  color: #0a7d32;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 25px;
}
.lose-title{
  color: #c0392b;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 4px;
  line-height: 40px;
}

/*血条 / 法力条（战斗页）：方块格样式、无底色（2026-11-07 用户指定，方块 8px + 间隔 2px）*/
.bar{
  display: block;
  width: 146px;
  max-width: 100%;
  height: 10px;
  margin: 3px 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: hidden;
}
.bar i{
  display: block;
  height: 100%;
  border-radius: 0;
  background-repeat: repeat-x;
  background-size: 10px 100%;
}
.bar.hp i{
  background-image: linear-gradient(90deg, #c0392b 0 8px, rgba(0, 0, 0, 0) 8px 10px);
}
.bar.mp i{
  background-image: linear-gradient(90deg, #2a5fb0 0 8px, rgba(0, 0, 0, 0) 8px 10px);
}
.bar.dead i{
  background-image: linear-gradient(90deg, #bbbbbb 0 8px, rgba(0, 0, 0, 0) 8px 10px);
}
/*战斗记录里的招式/伤害着色*/
.flog-skill{
  color: #8a4a12;
}
.flog-dmg{
  color: #a52020;
}

/*纯文字按钮：外观与普通链接一致（用于「+」「重置」「改名」这类行内操作）*/
button.link{
  background: none;
  border: 0;
  padding: 0;
  /* 2026-11-12 修「资料页功能行竖线参差」：<a> 有 3px 2px 的 margin，button 以前是 0，
   * 同一行里链接和按钮的间距不一样，导致 | 的位置错开。这里与 a 保持一致。
   * 另外把 button 从 inline-block 改成 inline，和 <a> 完全同类，基线不会再差一两个像素。 */
  display: inline;
  margin: 0;
  color: #0000ee;
  /* 2026-11-11：button 的字体度量默认与正文不同，是「按钮和链接同一行却高低不齐」的根本原因，
   * 这里强制继承字体，再单独定字号，保证和 <a> 完全一致 */
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  /* 2026-11-11 修：原来写死 line-height:25px，和旁边的普通链接不在同一基线，
   * 导致「捐献 签到 屠龙」这类同行混排时按钮上下错位 */
  line-height: inherit;
  vertical-align: baseline;
  text-decoration: underline;   /* 与普通链接一致，带下划线 */
}
button.link:hover{
  color: #527F76;
  background-color: #F0F8FF;
}

/*正常，未访问过的链接
 * 2026-11-23 用户要求：颜色改成标准链接蓝（#0000ee）+ 下划线；左右外边距去掉（更紧凑） */
a:link{
  color: #0000ee;
  font-size: 16px;
  margin: 0;
  text-decoration: underline;
}

a:visited{
  color: #0000ee;
  text-decoration: underline;
}

/*当用户鼠标放在链接上时（2026-11-23：颜色保持链接蓝，只加浅底，别变灰绿）*/
a:hover{
  color: #0000ee;
  font-size: 16px;
  background-color: #F0F8FF;
  margin: 0;
}

/*链接被点击的那一刻*/
a:active{
  color: #0000ee;
  font-size: 16px;
  background-color: #F0F8FF;
  margin: 0;
}

/*顶部加载进度条已于 2026-11-07 按用户要求移除（含 #topbar 相关样式）*/

/*彩虹渐变*/
.masked{
  display: inline;
  width: 200px;
  height: 22px;
  background-image: -webkit-linear-gradient(left, #3498db, #f47920 10%, #d71345 20%, #f7acbc 30%, #ffd400 40%, #3498db 50%, #f47920 60%, #d71345 70%, #f7acbc 80%, #ffd400 90%, #3498db);
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-size: 200% 100%;
  animation: masked-animation 4s infinite linear;
}

/*橙红称号*/
.chenghao_ys{
  display: inline;
  width: 200px;
  height: 22px;
  background-image: -webkit-linear-gradient(left, #ffa080, #ffa060 10%, #ffa040 20%, #ffa020 30%, #ffa0a0 40%, #ffa080 50%, #ffa060 80%, #ffa040 70%, #ffa020 80%, #ffa000 90%, #ffff00);
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-size: 200% 100%;
  animation: masked-animation 4s infinite linear;
}

/*深红称号*/
.chenghao_ys1{
  display: inline;
  width: 200px;
  height: 22px;
  background-image: -webkit-linear-gradient(left, #ff0080, #ff0060 10%, #ff0040 20%, #ff0020 30%, #ff00a0 40%, #ff0080 50%, #ff0060 80%, #ff0040 70%, #ff0020 80%, #ff0000 90%, #ffff00);
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-size: 200% 100%;
  animation: masked-animation 4s infinite linear;
}

/*渐变动画（仅保留一份）*/
@keyframes masked-animation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/*黄色高亮*/
.lmma{
  color:#ffff00;
}

/*提示红色（2026-11-06）：失败/不足类提示、错误文案统一用这个类，不再用「失败：」前缀*/
.t-red{
  color:#c00000;
}

/*进度绿色（2026-11-06）：经验百分比等*/
.t-green{
  color:#1a8f3c;
}

/*金黄色（2026-11-07）：重塑词条等*/
.t-gold{
  color:#b8860b;
}

/* 物品名点开弹窗（2026-11-14 按用户参考图新增）
 * 纯 CSS 实现：label 点一下切换 checkbox，浮层跟着显示 / 再点一次关掉，不用 JS、也不跳页
 * 用法见 inc/core.php 的 itemTip()：
 *   <span class="itip-wrap"><label class="itip-name" for="id">名字</label>
 *     <input type="checkbox" class="itip-cb" id="id"><span class="itip-box">…行…</span></span>
 * 用在：装备列表 / 可穿戴列表 / GM 查看物品 / 塑造装备选择 / 打孔选择 */
.itip-wrap{
  position:relative;
  display:inline;
}
.itip-cb{
  position:absolute;
  left:-9999px;
  top:0;
  width:1px;
  height:1px;
  opacity:0;
}
.itip-name{
  cursor:pointer;
  color:#0000ee;
  text-decoration:underline;
}
.itip-box{
  display:none;
  position:absolute;
  left:0;
  top:1.6em;
  z-index:120;
  width:250px;
  max-height:320px;
  overflow:auto;
  box-sizing:border-box;
  background:#fff;
  color:#333;
  border:1px solid #8a8a8a;
  padding:8px 10px;
  font-size:13px;
  line-height:19px;
  white-space:normal;
  text-align:left;
  font-weight:normal;
  box-shadow:2px 2px 6px rgba(0,0,0,.25);
}
.itip-box .itip-t{
  color:#0000ee;
}
.itip-cb:checked ~ .itip-box{
  display:block;
}
/* 透明遮罩：勾选时铺满全屏，点任意空白处 = 点这个 label → 取消勾选 → 弹窗关闭
 * （2026-11-14 用户要求：不用回头再点一次物品名） */
.itip-mask{
  display:none;
}
.itip-cb:checked ~ .itip-mask{
  display:block;
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom:0;
  z-index:110;
  background:transparent;
  cursor:default;
}

/* ===== 2026-11-20 旧手机浏览器兼容（老 WebKit） =====
 * 现象：<button> 去掉原生外观后，部分老安卓/老微信内核里点击区域塌成一条线，
 *       文字看着正常、点了没反应（新浏览器正常）。这里补最小点击区，行内排版几乎看不出变化。
 */
button, button.link{
  padding: 3px 1px;
  min-height: 1.4em;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  touch-action: manipulation;
}

/* 2026-11-21 成就页弹窗改用装备列表同一套 .itip-* 样式（见上方 278 行注释），
 * 这里不再需要 .ach-tip，已删除。 */

/* ============================================================
 * 2026-11-23 用户提供的「彩色字体」样式（照老页游 waifu 皮肤）
 * 用途：公告 / 玩家名字 / 活动标题上加 class 就能出渐变动画字
 * 常用：.caise5 .caise10 .caise13 .caise22 .caise30 .yanse20 .xyanse1 .masked
 * ============================================================ */
.masked, .masked1, .masked2, .yanse20 {
    display: inline;
    width: 200px;
    height: 22px;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 100%;
    animation: masked-animation 4s infinite linear;
}
.masked {
    background-image: -webkit-linear-gradient(left, #3498db, #f47920 10%, #d71345 20%, #f7acbc 30%,
        #ffd400 40%, #3498db 50%, #f47920 60%, #d71345 70%, #f7acbc 80%, #ffd400 90%, #3498db);
}
.masked1 {
    background-image: -webkit-linear-gradient(left, #ff0080, #ff0060 10%, #ff0040 20%, #ff0020 30%,
        #ff00a0 40%, #ff0080 50%, #ff0060 80%, #ff0040 70%, #ff0020 80%, #ff0000 90%, #ffff00);
}
.masked2 {
    background-image: -webkit-linear-gradient(left, #ffa080, #ffa060 10%, #ffa040 20%, #ffa020 30%,
        #ffa0a0 40%, #ffa080 50%, #ffa060 80%, #ffa040 70%, #ffa020 80%, #ffa000 90%, #ffff00);
}
@keyframes masked-animation {
    0% { background-position: 0 0; }
    100% { background-position: -100% 0; }
}
.lmma { color: #ffff00; }
.caise_jt {
    background-image: -webkit-gradient(linear, left top, right top,
        color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff),
        color-stop(0.6, #2f2), color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22));
    color: transparent;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -ms-background-clip: text;
    -o-background-clip: text;
    background-clip: text;
}
.caise3 {
    color: #f2f;
    background: -webkit-linear-gradient(180deg, #f2f, #fbd7c6, #fdefac, #bfb5dd, #bed5f5);
    background: -moz-linear-gradient(90deg, #4169E1, #fbd7c6, #fdefac, #bfb5dd, #bed5f5);
    background: -ms-linear-gradient(90deg, #4169E1, #fbd7c6, #fdefac, #bfb5dd, #bed5f5);
    background: -o-linear-gradient(90deg, #4169E1, #fbd7c6, #fdefac, #bfb5dd, #bed5f5);
    background: linear-gradient(90deg, #4169E1, #fbd7c6, #fdefac, #bfb5dd, #bed5f5);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: ran 5s linear infinite;
}
@keyframes ran {
    from { background-position: 0 0; }
    to { background-position: 200px 0; }
}
.caise4 {
    color: aqua;
    letter-spacing: 0;
    text-shadow: 0px 1px 0px #999, 0px 1px 0px #888, 0px 1px 0px #777, 0px 1px 0px #666,
        0px 1px 0px #555, 0px 1px 0px #444, 0px 1px 0px #333, 0px 1px 7px #001135;
}
.caise5, .caise10 {
    background-image: linear-gradient(160deg, #9ed900, #789262, #a4e2c6, #00e079, #a4e2c6, #789262,
        #9ed900, #789262, #a4e2c6, #00e079, #a4e2c6, #789262, #9ed900);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-animation: ani29 5s infinite;
    animation: ani29 5s infinite;
}
@-webkit-keyframes ani29 {
    0% { background-position: 0 0; }
    100% { background-position: -120px 0; }
}
@keyframes ani29 {
    0% { background-position: 0 0; }
    100% { background-position: -120px 0; }
}
.caise33 {
    color: #FF0000;
    text-shadow: 0px 1px 0px #FFCDD2, 0px 1px 0px #FF6B6B, 0px 1px 0px #FF2D2D, 0px 1px 0px #FF0000,
        0px 1px 0px #CC0000, 0px 1px 4px #990000, 0px 4px 20px rgba(255, 50, 50, 0.6);
}
.caise7 {
    --interval: 1s;
    text-shadow: 0 0 5px var(--color1), 0 0 5px var(--color2), 0 0 5px var(--color3), 0 0 5px var(--color4);
    will-change: filter, color;
    filter: saturate(60%);
    animation: flicker steps(100) var(--interval) 1s infinite;
}
.caise7:nth-of-type(1) { color: white; --color1: azure; --color2: orangered; --color3: mediumblue; --color4: dodgerblue; }
.caise7:nth-of-type(2) { color: lightpink; --color1: pink; --color2: mediumblue; --color3: dodgerblue; --color4: azure; }
.caise7:nth-of-type(3) { color: lightyellow; --color1: white; --color2: dodgerblue; --color3: green; --color4: mediumblue; }
.caise7:nth-of-type(4) { color: lightyellow; --color1: gold; --color2: dodgerblue; --color3: pink; --color4: azure; }
.caise7:nth-of-type(5) { color: azure; --color1: azure; --color2: aqua; --color3: dodgerblue; --color4: blue; }
.caise7:nth-of-type(6) { color: azure; --color1: green; --color2: pink; --color3: dodgerblue; --color4: green; }
.caise7:nth-of-type(7) { color: lightyellow; --color1: yellow; --color2: orange; --color3: pink; --color4: purple; }
.caise7:nth-of-type(8) { color: yellow; --color1: yellow; --color2: pink; --color3: azure; --color4: pink; }
.caise7:nth-of-type(9) { color: lightyellow; --color1: yellow; --color2: gold; --color3: azure; --color4: pink; }
@keyframes flicker {
    50% { color: white; filter: saturate(200%) hue-rotate(90deg); }
}
.caise8 {
    width: 195px;
    white-space: nowrap;
    background-image: -webkit-linear-gradient(left, #fbff00, #ff7600 10%, #ff0000 20%, #CC00CC 30%,
        #CCCCFF 40%, #00FFFF 50%, #CCCCFF 60%, #cc0000 70%, #ccff00 80%, #ff0404 90%, #fff000 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-background-size: 200% 100%;
    background-size: 200% 100%;
    animation: ani34 4s forwards infinite;
    text-shadow: 0px 1px 1px red;
    font-weight: bold;
}
@keyframes ani34 {
    10%, 60%, 75%, 100% { text-shadow: 0px 1px 1px red; }
    70% { text-shadow: 1px 2px 2px red; opacity: 0.8; }
}
.caise9 {
    width: 200px;
    background-image: -webkit-linear-gradient(right, #da6085, #ff00eb 20%, #ff0076 30%, #f3df7a 50%,
        #f3df7a 60%, #ff00e0 90%, #da6085);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.5;
    animation: ani35 3s forwards infinite;
}
@keyframes ani35 {
    10% { opacity: 1; background-position: 0 0; }
    40% { opacity: 1; background-position: 100% 0; }
    60% { opacity: 0.5; background-position: 0 0; }
    80% { transform: translate(0) scale(1.1); opacity: 0; }
    100% { transform: translate(0) scale(1); opacity: 1; background-position: -100% 0; }
}
.caise11 {
    background-image: -webkit-linear-gradient(left, #da6085, #d7ede1 10%, #014872 20%, #131c85 30%,
        #60f3ab 40%, #f3df7a 50%, #131c85 60%, #a0eacf 70%, #d7ede1 80%, #014872 90%, #da6085);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 60% 30%;
    -webkit-animation: elvis 4s linear infinite;
    animation: elvis 4s linear infinite;
}
@-webkit-keyframes elvis {
    0% { background-position: 0 0; }
    50% { background-position: -50% 0; }
}
@keyframes elvis {
    0% { background-position: 0 0; }
    50% { background-position: -50% 0; }
}
.caise12 {
    color: #f35626;
    background-image: -webkit-linear-gradient(45deg, #f35626, #feab3a);
    background-image: linear-gradient(45deg, #f35626, #feab3a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: ani26 3s infinite linear;
    animation: ani26 3s infinite linear;
}
@-webkit-keyframes ani26 {
    from { -webkit-filter: hue-rotate(0deg); }
    to { -webkit-filter: hue-rotate(-360deg); }
}
@keyframes ani26 {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(-360deg); }
}
.caise13, .caise22, .caise30, .yanse19 {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-background-size: 200% 100%;
    background-size: 200% 100%;
    -webkit-animation: xucheng 3s linear infinite;
    animation: xucheng 3s linear infinite;
}
.caise13 {
    background-image: -webkit-linear-gradient(left, #0A0218, #11064C 10%, #FD250F 20%, #FE5803 30%,
        #c48ade 40%, #AA1B61 50%, #544CA4 60%, #AA1B61 70%, #FD250F 80%, #11064C 90%, #0A0218 100%);
}
.caise22 {
    background-image: -webkit-linear-gradient(left, #322050, #0a7656 10%, #fe24e2 20%, #FE5803 30%,
        #5a107c 40%, #8c25db 50%, #0e5230 60%, #AA1B61 70%, #124f63 80%, #e0c3fc 90%, #a8edea 100%);
}
.caise30 {
    background-image: -webkit-linear-gradient(left, #ff0000, #00ff00 10%, #0000ff 20%, #ffff00 30%,
        #ff00ff 40%, #00ffff 50%, #ffa500 60%, #800080 70%, #008080 80%, #ffc0cb 90%, #ffffcc 100%);
}
.yanse19 {
    background-image: -webkit-linear-gradient(left, #7345b1, #4923a2 10%, #d160ff 20%, #f083ff 30%,
        #9446f7 40%, #c877fe 50%, #5f26de 60%, #8858f2 70%, #5114b3 80%, #b393ff 90%, #9d7bff 100%);
}
@-webkit-keyframes xucheng {
    0% { background-position: 0 0; }
    100% { background-position: -100% 0; }
}
@keyframes xucheng {
    0% { background-position: 0 0; }
    100% { background-position: -100% 0; }
}
.yanse20 {
    background-image: -webkit-linear-gradient(left, #ff80b8, #ff60b6 10%, #ff40b4 20%, #ff20b2 30%,
        #ae00ff 40%, #ae80ff 50%, #ae60ff 80%, #ae40ff 70%, #ae20ff 80%, #ae10ff 90%, #ff00b0);
}
.yanse21 {
    color: #001135;
    letter-spacing: 0;
    text-shadow: 1px 1px 0px rgba(255, 0, 0, 0.5), 2px 2px 0px rgba(255, 165, 0, 0.5);
    animation: float-shadow 2s ease-in-out infinite alternate, rainbow-color 5s linear infinite;
}
@keyframes float-shadow {
    0% { text-shadow: 1px 1px 0px rgba(255, 0, 0, 0.5), 2px 2px 0px rgba(255, 165, 0, 0.5); }
    100% { text-shadow: 2px 2px 3px rgba(255, 0, 0, 0.5), 3px 3px 3px rgba(255, 165, 0, 0.5); }
}
@keyframes rainbow-color {
    0% { color: #ff0000; }
    14% { color: #ff7f00; }
    28% { color: #ffff00; }
    42% { color: #00ff00; }
    57% { color: #0000ff; }
    71% { color: #4b0082; }
    85% { color: #9400d3; }
    100% { color: #ff0000; }
}
.yanse22, .yanse23, .yanse24, .yanse25, .yanse26, .yanse27, .yanse28, .yanse29 {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 100%;
    animation: xucheng-anim 5s linear infinite;
}
.yanse22 {
    background-image: linear-gradient(to right, #ffd700, #daa520 20%, #ffd700 40%, #daa520 60%,
        #ffd700 80%, #daa520 100%);
}
.yanse23 {
    background-image: linear-gradient(to right, #ec77ab, #7873f5 20%, #ec77ab 40%, #7873f5 60%,
        #ec77ab 80%, #7873f5 100%);
}
.yanse24 {
    background-image: linear-gradient(to right, #6a11cb, #2575fc 20%, #6a11cb 40%, #2575fc 60%,
        #6a11cb 80%, #2575fc 100%);
    animation-duration: 4s;
}
.yanse25 {
    background-image: linear-gradient(to right, #ff7e5f, #feb47b 20%, #ff7e5f 40%, #feb47b 60%,
        #ff7e5f 80%, #feb47b 100%);
}
.yanse26 {
    background-image: linear-gradient(to right, #ff416c, #ff4b2b 20%, #ff416c 40%, #ff4b2b 60%,
        #ff416c 80%, #ff4b2b 100%);
}
.yanse27 {
    background-image: linear-gradient(to right, #a8e063, #56ab2f 20%, #a8e063 40%, #56ab2f 60%,
        #a8e063 80%, #56ab2f 100%);
    animation-duration: 6s;
}
.yanse28 {
    background-image: linear-gradient(to right, #00c6ff, #0072ff 20%, #00c6ff 40%, #0072ff 60%,
        #00c6ff 80%, #0072ff 100%);
    animation-duration: 4s;
}
.yanse29 {
    background-image: linear-gradient(to right, #ff9a9e, #fad0c4 20%, #fbc2eb 40%, #a6c1ee 60%,
        #fbc2eb 80%, #ff9a9e 100%);
}
@keyframes xucheng-anim {
    0% { background-position: 0 0; }
    100% { background-position: -100% 0; }
}
.xyanse1 {
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 16px;
    font-weight: bold;
    animation: rainbow-animation 5s linear infinite;
    background-size: 200% 100%;
}
@keyframes rainbow-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.xyanse2 {
    color: #fff;
    text-shadow: 1px 1px 0 #ccc, 2px 2px 0 #bbb, 3px 3px 0 #aaa, 4px 4px 0 #999, 5px 5px 5px rgba(0, 0, 0, 0.5);
    font-size: 16px;
    font-weight: bold;
}
.xyanse3 {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #0ff, 0 0 80px #0ff,
        0 0 90px #0ff, 0 0 100px #0ff, 0 0 150px #0ff;
    font-size: 16px;
    animation: neon-flicker 1.5s infinite alternate;
}
.xyanse4 {
    color: #b5b5b5;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0px 1px 0px #c5c5c5, 0px 2px 0px #b5b5b5, 0px 3px 0px #a5a5a5, 0px 4px 0px #959595,
        0px 5px 0px #858585, 0px 6px 5px rgba(0, 0, 0, 0.6), 0px 10px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #e5e5e5, #b5b5b5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #0ff, 0 0 80px #0ff,
            0 0 90px #0ff, 0 0 100px #0ff, 0 0 150px #0ff;
    }
    20%, 24%, 55% { text-shadow: none; }
}
.caise14, .caise15 {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: bold;
}
.caise14 {
    background-color: rgba(250, 126, 35, 1);
    text-shadow: rgba(255, 5, 5, 0.3) 0 3px 3px, rgba(255, 0, 0, 0.2) 5px 3px 6px;
}
.caise15 {
    background-color: rgba(173, 158, 85, 1);
    text-shadow: rgba(255, 215, 5, 0.8) 0 3px 3px, rgba(255, 241, 0, 0.3) 4px 3px 5px;
}

/* ============================================================
 * 2026-11-24 彩名（仙玉购买的外观）：名字颜色 / 称号 / 头像框 / 聊天标签
 * ★ 名字颜色必须用 !important —— 上面 a:link{color:#0000ee} 的特异性(0,1,1)
 *   比单个 class(0,1,0) 高，不加 !important 会被盖回链接蓝。
 * ★ class 必须加在 <a> 本身，不能套在外层 span 上（同理）。
 * ★ 渐变款在不支持 background-clip:text 的老内核里回落成纯色，避免文字消失。
 * ============================================================ */

/* ---- 初级昵称（纯色） ---- */
.cn1  { color: #c026d3 !important; }
.cn2  { color: #0d9488 !important; }
.cn3  { color: #dc2626 !important; }
.cn4  { color: #b8860b !important; text-shadow: 0 0 2px rgba(184, 134, 11, .5); }
.cn5  { color: #7c3aed !important; text-shadow: 0 0 3px rgba(124, 58, 237, .45); }
.cn6  { color: #64748b !important; text-shadow: 0 0 2px rgba(148, 163, 184, .9); }

/* ---- 中级昵称（纯色 + 微光） ---- */
.cn7  { color: #ff6a00 !important; text-shadow: 0 0 3px rgba(255, 106, 0, .45); }
.cn8  { color: #0891b2 !important; text-shadow: 0 0 3px rgba(8, 145, 178, .4); }
.cn9  { color: #d946ef !important; text-shadow: 0 0 3px rgba(217, 70, 239, .4); }
.cn10 { color: #d97706 !important; text-shadow: 0 0 3px rgba(245, 158, 11, .5); }
.cn11 { color: #0284c7 !important; text-shadow: 0 0 3px rgba(14, 165, 233, .45); }
.cn12 { color: #e11d48 !important; text-shadow: 0 0 3px rgba(225, 29, 72, .4); }
.cn13 { color: #6d28d9 !important; text-shadow: 0 0 3px rgba(109, 40, 217, .45); }

/* ---- 高级 / 炫彩（渐变流动）：先给纯色兜底 ---- */
.cn14 { color: #e11d48 !important; }
.cn15 { color: #16a34a !important; }
.cn16 { color: #db2777 !important; }
.cn17 { color: #0891b2 !important; }
.cn18 { color: #b91c1c !important; }
.cn19 { color: #4f46e5 !important; }
.cn20 { color: #c026d3 !important; }
.cn21 { color: #4338ca !important; }
.cn22 { color: #65a30d !important; }
.cn23 { color: #db2777 !important; }
.cn24 { color: #dc2626 !important; }
.cn25 { color: #0891b2 !important; }
.cn26 { color: #7c3aed !important; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .cn14, .cn15, .cn16, .cn17, .cn18, .cn19, .cn20, .cn21, .cn22, .cn23, .cn24, .cn25, .cn26 {
        color: transparent !important;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        background-size: 200% 100%;
        background-repeat: repeat;
        text-shadow: none;
        animation: cos-name-flow 6s linear infinite;
    }
    .cn14 { background-image: linear-gradient(90deg, #ff2d55, #ff9500, #ffd60a, #34c759, #0a84ff, #bf5af2, #ff2d55); }
    .cn15 { background-image: linear-gradient(90deg, #a3e635, #22c55e, #14b8a6, #a3e635); }
    .cn16 { background-image: linear-gradient(90deg, #f472b6, #fb923c, #fde68a, #f472b6); }
    .cn17 { background-image: linear-gradient(90deg, #a5f3fc, #38bdf8, #818cf8, #a5f3fc); }
    .cn18 { background-image: linear-gradient(90deg, #fca5a5, #ef4444, #f59e0b, #fca5a5); }
    .cn19 { background-image: linear-gradient(90deg, #c4b5fd, #6366f1, #0ea5e9, #c4b5fd); }
    .cn20 { background-image: linear-gradient(90deg, #ff0000, #ff9500, #ffee00, #00ff6a, #00d4ff, #4d5dff, #d400ff, #ff0000); }
    /* 2026-11-25 新增炫彩：星海 / 萤火 / 霓虹 / 血焰 / 冰魄 / 紫微 */
    .cn21 { background-image: linear-gradient(90deg, #0b1026, #3b82f6, #a5b4fc, #8b5cf6, #0b1026); animation-duration: 9s; }
    .cn22 {
        background-image: linear-gradient(90deg, #a3e635, #fde047, #4ade80, #a3e635);
        animation: cos-name-flow 7s linear infinite, cos-name-pulse 1.8s ease-in-out infinite alternate;
    }
    .cn23 {
        background-image: linear-gradient(90deg, #22d3ee, #a855f7, #f472b6, #22d3ee);
        animation: cos-name-flow 4s linear infinite, cos-name-flicker 3.2s steps(1, end) infinite;
    }
    .cn24 { background-image: linear-gradient(90deg, #7f1d1d, #ef4444, #f97316, #fde047, #ef4444, #7f1d1d); animation-duration: 5s; }
    .cn25 { background-image: linear-gradient(90deg, #e0f2fe, #38bdf8, #a5f3fc, #e0f2fe); animation-duration: 8s; }
    .cn26 { background-image: linear-gradient(90deg, #6d28d9, #c084fc, #fbbf24, #c084fc, #6d28d9); animation-duration: 6s; }
}

@keyframes cos-name-flow {
    0%   { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

/* 萤火：明暗呼吸 */
@keyframes cos-name-pulse {
    0%   { filter: brightness(1); }
    100% { filter: brightness(1.5); }
}

/* 霓虹：断续闪灯 */
@keyframes cos-name-flicker {
    0%, 18%, 22%, 24%, 54%, 56%, 100% { opacity: 1; }
    20%, 23%, 55% { opacity: .3; }
}

/* ---- 称号（名字前的方括号，可点可不点） ----
 * 2026-11-27 用户要求：称号不要「加粗 + 变大」的观感 → 去掉 ti4~ti9 的 text-shadow，
 * 只保留纯色，字号/字重跟正文一致。 */
.ti1 { color: #1a1a1a !important; }
.ti2 { color: #1a1a1a !important; }
.ti3 { color: #1a1a1a !important; }
.ti4 { color: #1a1a1a !important; }
.ti5 { color: #1a1a1a !important; }
.ti6 { color: #1a1a1a !important; }
.ti7 { color: #1a1a1a !important; }
.ti8 { color: #1a1a1a !important; }
.ti9 { color: #1a1a1a !important; }

/* ---- 聊天颜色（2026-11-27：替代原「聊天标签」，买后世界频道自己那一行整行变色） ---- */
/* 说明：整行 div 加 cc* 类，行内链接也要一起变色（a:link 特异性更高，必须带 !important） */
.cc1, .cc1 a:link, .cc1 a:visited { color: #b8860b !important; }
.cc2, .cc2 a:link, .cc2 a:visited { color: #7c3aed !important; }
.cc3, .cc3 a:link, .cc3 a:visited { color: #c81e1e !important; }
.cc4, .cc4 a:link, .cc4 a:visited { color: #0e7490 !important; }

/* ---- 头像框（套在 72×72 头像 img 上） ---- */
.pf1 { border: 2px solid #b0825a !important; padding: 2px; background: #fff; }
.pf2 { border: 2px solid #94a3b8 !important; padding: 2px; background: #fff; }
.pf3 { border: 3px solid #d4af37 !important; padding: 2px; background: #fff; box-shadow: 0 0 4px rgba(212, 175, 55, .8); }
.pf4 { border: 3px solid #8b5cf6 !important; padding: 2px; background: #fff; box-shadow: 0 0 5px rgba(139, 92, 246, .75); }
.pf5 { border: 4px double #b91c1c !important; padding: 2px; background: #fff; box-shadow: 0 0 6px rgba(185, 28, 28, .7); }
.pf6 { border: 3px solid #0ea5e9 !important; padding: 2px; background: #fff; box-shadow: 0 0 6px rgba(14, 165, 233, .85); }

/* ============================================================
 * 2026-11-27 动态头像框（第三版：流光绕框）
 * 用户口径：要的是「流光绕着框一圈一圈地变」，不是电弧乱闪；
 *   金环保持金色呼吸光。
 * ★ 结构：<span class="pfw pfw4"><img class="pf4" ...></span>
 *   img 上仍带 pf* → 流光层没加载出来时自动退回原来的静态边框。
 * ★ 流光层 = assets/pf-flow-1/2/3.svg：SVG 内用 SMIL 动画让光带沿边框跑，
 *   外圈柔光 + 亮芯 + 白色光点，颜色紫 / 金红 / 蓝紫各一份。
 * ★ 2026-11-27 用户要求「不要双层框，只留里面会动的那层」：删掉描金环（::after），
 *   只保留这一层流光 + 边框本身的颜色，头像辉光也压弱一档。
 * ★ CSS 只做 opacity / box-shadow 呼吸，不用 filter，老安卓也不掉帧。
 * ============================================================ */
/* 只留一点点上下间距，光带不会贴到称号行 */
.pfw { position: relative; display: inline-block; line-height: 0; margin: 4px 0 2px; }
.pfw > img { position: relative; z-index: 2; }

/* 单层动态框：光带沿边框跑（SVG 内部 SMIL 动画），贴在框边压在 img 之上 */
.pfw::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* 紫晶：紫光带 */
.pfw4::before {
    background-image: url("pf-flow-1.svg");
    animation: pfw-flow-breathe 2.6s ease-in-out infinite;
}
.pfw4 > img { animation: pfw-glow-violet 2.6s ease-in-out infinite; }

/* 龙纹：金红光带 */
.pfw5::before {
    background-image: url("pf-flow-2.svg");
    animation: pfw-flow-breathe 2.8s ease-in-out infinite;
}
.pfw5 > img { animation: pfw-glow-dragon 2.8s ease-in-out infinite; }

/* 星河：蓝紫光带（跑得最快） */
.pfw6::before {
    background-image: url("pf-flow-3.svg");
    animation: pfw-flow-breathe 2.1s ease-in-out infinite;
}
.pfw6 > img { animation: pfw-glow-star 2.1s ease-in-out infinite; }

/* 金环：金色呼吸光（静态框，不加流光） */
.pfw3 > img { animation: pfw-glow-gold 3.6s ease-in-out infinite; }

/* 流光层轻微呼吸，不抢光带的动势 */
@keyframes pfw-flow-breathe {
    0%, 100% { opacity: .82; }
    50% { opacity: 1; }
}
/* 框体辉光：压弱一档，主要靠光带表现（用户 2026-11-27：不要双层、别太花） */
@keyframes pfw-glow-violet {
    0%, 100% { box-shadow: 0 0 4px rgba(139, 92, 246, .5); }
    50% { box-shadow: 0 0 9px rgba(167, 139, 250, .8); }
}
@keyframes pfw-glow-dragon {
    0%, 100% { box-shadow: 0 0 4px rgba(185, 28, 28, .5); }
    50% { box-shadow: 0 0 9px rgba(251, 191, 36, .75); }
}
@keyframes pfw-glow-star {
    0%, 100% { box-shadow: 0 0 4px rgba(14, 165, 233, .5); }
    50% { box-shadow: 0 0 10px rgba(56, 189, 248, .85); }
}
@keyframes pfw-glow-gold {
    0%, 100% { box-shadow: 0 0 4px rgba(212, 175, 55, .45); }
    50% { box-shadow: 0 0 11px rgba(255, 215, 0, .95), 0 0 18px rgba(212, 175, 55, .55); }
}
/* 2026-11-30：彩虹动态字（.masked，点卷等物品名）在老安卓/老微信内核不支持
 * background-clip:text 时文字会变透明看不见 —— 这里退回单色紫红，保证能看清。 */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .masked {
    color: #c026d3 !important;
    -webkit-text-fill-color: #c026d3 !important;
    background-image: none !important;
    animation: none !important;
  }
}
