/* ===== eis_d25_012 v2 现代版（基于原模板改造） ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font: 13px/1.6 'Microsoft YaHei', 'PingFang SC', Tahoma, sans-serif;
  color: #444;
  background: #b3d8f1 url(img/banner_bg.jpg) center top no-repeat;
  background-size: 100% auto;
  background-attachment: fixed;
  overflow-x: hidden;
}
a { color: #2b7acd; text-decoration: none; }
a:hover { color: #ff7800; text-decoration: underline; }
img { border: 0; vertical-align: middle; max-width: 100%; }
ul, ol { list-style: none; }
.cl::after { content: ""; display: block; clear: both; }
.cl { zoom: 1; }
.wp { width: 1100px; max-width: 100%; margin: 0 auto; position: relative; box-sizing: border-box; }
.z { float: left; }
.y { float: right; }
.pipe { color: #ccc; margin: 0 6px; }
.center { text-align: center; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }

/* ===== 顶部 sky banner ===== */
.sky {
  position: relative;
  height: 660px;
  background: transparent;
  overflow: visible;
}
/* 当图未加载完时，背景用蓝渐变顶住 */
.sky::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(124,192,232,0.35) 0%,
    rgba(163,212,237,0.2) 40%,
    rgba(197,227,240,0.05) 100%);
  z-index: -1;
}

/* 远景云 - 用真实头图后不显示 */
.cloud { display: none; }
.cloud.c1 { width: 140px; height: 40px; top: 60px;  left: -200px; animation-duration: 60s; }
.cloud.c2 { width: 100px; height: 30px; top: 140px; left: -300px; animation-duration: 80s; animation-delay: -20s; }
.cloud.c3 { width: 180px; height: 50px; top: 220px; left: -400px; animation-duration: 100s; animation-delay: -50s; }
.cloud.c4 { width: 120px; height: 35px; top: 90px;  left: -200px; animation-duration: 70s; animation-delay: -10s; }
@keyframes cloudMove {
  from { transform: translateX(0); }
  to   { transform: translateX(2400px); }
}

/* 星星 */
.stars { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px #fff, 0 0 12px #fff;
  animation: twinkle 2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50%      { opacity: 1;   transform: scale(1.4); }
}

/* logo - 居中放在头图中央大树前 */
.sky-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
.sky-logo h1 {
  font-size: 96px;
  color: #fff;
  text-shadow:
    0 0 12px rgba(135,206,250,0.9),
    0 0 28px rgba(135,206,250,0.7),
    0 0 48px rgba(135,206,250,0.5),
    0 3px 6px rgba(0,80,150,0.6);
  letter-spacing: 12px;
  font-weight: bold;
  font-family: 'Microsoft YaHei', 'STKaiti', 'KaiTi', serif;
  position: relative;
  display: inline-block;
  padding-left: 12px;
}
.sky-logo h1::before, .sky-logo h1::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: #fff;
  text-shadow: 0 0 10px #fff, 0 0 20px #ffeb99;
  animation: spin 4s linear infinite;
}
.sky-logo h1::before { left: -60px; }
.sky-logo h1::after  { right: -48px; animation-direction: reverse; }
@keyframes spin { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }

.sky-logo .url {
  font-size: 18px;
  color: #fff;
  letter-spacing: 4px;
  margin-top: 12px;
  text-shadow: 0 1px 3px rgba(0,80,150,0.7);
  opacity: 0.95;
}
.sky-logo .mascot {
  position: absolute;
  left: -110px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px; height: 100px;
  background: url(img/mascot_pet.png) center/contain no-repeat;
  animation: bounce 1.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(calc(-50% - 12px)) scale(1.1); }
}

/* 角色 - 大图：避开头图中央大树+城堡，原图 W/H = 0.7 (剑士) / 0.57 (红衣) */
/* 两个角色目标高 420px：剑士 294x420，红衣 240x420（与剑士等高） */
.char {
  position: absolute;
  z-index: 4;
  pointer-events: auto;
  transition: opacity 0.4s;
}
.char-left  {
  top: 22%;
  left: 2.5%;
  width: 294px;
  animation: floatY 4s ease-in-out infinite;
}
.char-right {
  top: 24%;
  right: 2.5%;
  width: 240px;
  animation: floatY 4.5s ease-in-out infinite -1.5s;
}
.char img { width: 100%; height: auto; display: block; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* 登录框已移除 */

/* ===== 主卡片 ===== */
.main-card {
  position: relative;
  margin: -160px auto 0;
  width: 1100px;
  max-width: 100%;
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 50, 100, 0.25);
  z-index: 10;
  padding: 16px 20px 20px;
  backdrop-filter: blur(2px);
}
/* 会员页 / 发帖页 / 内容页 不要 -160px 上提 */
.main-card.post-card { margin-top: 0; }

/* 顶部 tab */
.tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e9f0;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.tab {
  padding: 6px 18px;
  margin-right: 6px;
  color: #2b7acd;
  font-size: 14px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover { background: #e8f1f9; }
.tab.active {
  background: linear-gradient(180deg, #4a9be0, #2b7acd);
  color: #fff;
  box-shadow: 0 2px 6px rgba(43,122,205,0.3);
}
.tabs .y a {
  font-size: 12px;
  color: #888;
  margin-left: 14px;
}
.tabs .y a:hover { color: #ff7800; }

/* 搜索条 */
.search-bar {
  display: flex;
  background: #f3f8fc;
  border: 1px solid #c5dceb;
  border-radius: 20px;
  padding: 4px 6px 4px 14px;
  align-items: center;
  margin-bottom: 14px;
}
.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 6px 0;
  font-size: 13px;
  outline: none;
}
.search-bar .hot { font-size: 12px; color: #888; margin-right: 10px; }
.search-bar .hot a { margin: 0 4px; }
.search-bar button {
  background: #2b7acd;
  color: #fff;
  border: 0;
  padding: 6px 18px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
}
.search-bar button:hover { background: #ff7800; transform: translateY(-1px); }

/* 统计行 */
.stat-row {
  font-size: 12px;
  color: #888;
  padding: 6px 0;
  border-bottom: 1px dashed #e0e9f0;
}
.stat-row strong { color: #2b7acd; }

/* 主题链接行 */
.topic-row {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #e0e9f0;
}
.topic-row a { margin-right: 18px; color: #ff7800; }
.topic-row a:hover { color: #d35400; }

/* 登录提示 */
.login-tip {
  font-size: 12px;
  color: #888;
  padding: 8px 0;
  border-bottom: 1px dashed #e0e9f0;
}
.login-tip a { color: #2b7acd; }

/* 活动三卡 */
/* ===== 板块页头（白底深字） ===== */
.forum-head {
  background: #fff;
  border: 1px solid #c5dceb;
  border-left: 5px solid #2b7acd;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 18px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.forum-head h2 {
  font-size: 22px;
  color: #2b7acd;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.forum-head h2 .fa { color: #ff7800; }
.forum-head .forum-desc {
  color: #444;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.forum-head .forum-mod {
  color: #666;
  font-size: 13px;
  margin-bottom: 14px;
}
.forum-head .forum-mod a {
  color: #2b7acd;
  margin: 0 6px;
}
.forum-head .forum-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed #c5dceb;
}

/* ===== 主内容区：左侧活动 banner + 右侧扫码 ===== */
.main-aside {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  margin: 18px 0 22px;
}
.main-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.aside-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 扫码卡片 */
.qr-card {
  background: #fff;
  border: 1px solid #e6edf3;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 50, 100, 0.04);
}
.qr-card h3 {
  font-size: 14px;
  color: #2b7acd;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e6edf3;
}
.qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.qr-item {
  text-align: center;
}
.qr-img {
  width: 100%;
  aspect-ratio: 1;
  background: #f8fafc;
  border: 1px solid #e6edf3;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.qr-img img { width: 100%; height: 100%; object-fit: cover; }
.qr-placeholder {
  color: #aaa;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
}
.qr-label {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}
.qr-tip {
  font-size: 12px;
  color: #999;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* ===== 活动倒计时 - 大块 banner 式 ===== */
.events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 22px;
}
.event {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  padding: 18px 18px 16px;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #4a9be0 0%, #2b7acd 100%);
  box-shadow: 0 4px 12px rgba(43,122,205,0.25);
  transition: transform .25s, box-shadow .25s;
}
.event:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43,122,205,0.35);
}
.event::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}
.event::after {
  content: "";
  position: absolute;
  bottom: -30px; left: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.event-icon {
  position: absolute;
  right: 14px; bottom: 12px;
  font-size: 64px;
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
}
.event-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(255,255,255,0.28);
  border-radius: 20px;
  font-size: 11px;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  font-weight: bold;
}
.event h3 {
  font-size: 20px;
  font-weight: bold;
  color: #fff !important;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.event p {
  font-size: 13px;
  color: #fff !important;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  opacity: 0.95;
}
.event .countdown {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.28);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: bold;
  color: #fff !important;
  text-align: center;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
/* 进度条：活动进度可视化 */
.event .progress {
  position: relative;
  z-index: 2;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.event .progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 60%;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}
/* 三种主题色 */
.event.green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 4px 12px rgba(16,185,129,0.28);
}
.event.green:hover { box-shadow: 0 10px 24px rgba(16,185,129,0.4); }
.event.orange {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.event.orange:hover { box-shadow: 0 10px 24px rgba(245,158,11,0.42); }
.event.orange h3,
.event.orange p,
.event.orange .countdown { color: #fff !important; }
.event.orange .countdown { background: rgba(0,0,0,0.18); }
.event.orange p { color: rgba(255,255,255,0.9) !important; }

/* 板块列表 */
.bm-title { font-size: 14px; color: #2b7acd; font-weight: bold; padding: 10px 0 6px; }
.bm-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.bm-table th, .bm-table td {
  padding: 10px 8px;
  border-bottom: 1px dashed #e0e9f0;
  font-size: 13px;
  vertical-align: middle;
}
.bm-table th {
  background: #f3f8fc;
  white-space: nowrap;
  color: #2b7acd;
  font-weight: normal;
  text-align: left;
}
.bm-table th.y, .bm-table td.y { text-align: right; }
/* 关键:表格单元格禁用全局 .y 的 float:right,否则列脱离文档流导致虚线/表头断开 */
.bm-table th.y, .bm-table td.y { float: none; }
.bm-table tr { transition: all .2s; }
.bm-table tr:hover td { background: #fafcff; }
.bm-table .ico { width: 70px; padding: 4px 8px; }
.bm-table .ico a { display: block; width: 50px; height: 50px; overflow: hidden; border-radius: 8px; }
.bm-table .ico img {
  width: 50px; height: 50px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f4fc, #c5dceb);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .3s;
}
.bm-table tr:hover .ico img { transform: rotate(-8deg) scale(1.1); }
.bm-table h2 a { color: #2b7acd; font-size: 14px; }
.bm-table h2 a:hover { color: #ff7800; }
.bm-table .desc { color: #888; font-size: 12px; margin-top: 2px; }
.bm-table .num { color: #ff7800; font-weight: bold; width: 80px; }
.bm-table .by { font-size: 12px; color: #888; width: 300px; }
.bm-table .by .lp-title { display: block; color: #2b7acd; font-size: 13px; margin-bottom: 3px; }
.bm-table .by .lp-title:hover { color: #ff7800; }
.bm-table .by .lp-time { color: #aaa; }
.bm-table .mods {
  width: 170px;
  font-size: 12px;
  color: #888;
}
.bm-table .mods a { color: #2b7acd; margin-right: 4px; }
.bm-table .mods a:hover { color: #ff7800; }

/* 在线 */
.online {
  background: #f8fafc;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 12px;
  color: #666;
}
.online h3 { font-size: 13px; color: #2b7acd; margin-bottom: 8px; }
.online strong { color: #ff7800; }

/* ===== 站内导航矩阵（参考站样式：6 列 × N 行小字链接） ===== */
.nav-grid {
  background: #fff;
  border: 1px solid #e6edf3;
  border-radius: 8px;
  margin-top: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 50, 100, 0.04);
}
/* 顶部 nav-grid：去掉"导航"标题、外边距缩小、和搜索框贴一起 */
.nav-grid-top {
  margin: 12px 0 0;
  border-radius: 6px;
  border: 1px solid #e6edf3;
}
.nav-grid-top h3 { display: none; }
.nav-grid h3 {
  font-size: 14px;
  color: #2b7acd;
  font-weight: bold;
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e6edf3;
  margin: 0;
}
.nav-grid table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.nav-grid td {
  padding: 8px 6px;
  border-right: 1px solid #f0f4f8;
  border-bottom: 1px solid #f0f4f8;
  text-align: center;
  font-size: 13px;
  transition: background 0.2s;
}
.nav-grid td:last-child { border-right: none; }
.nav-grid tr:last-child td { border-bottom: none; }
.nav-grid td:hover { background: #f8fafc; }
.nav-grid td a {
  color: #555;
  text-decoration: none;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  transition: color 0.2s;
}
.nav-grid td a:hover { color: #2b7acd; }
.nav-grid td a .fa {
  color: #2b7acd;
  margin-right: 4px;
  font-size: 12px;
  opacity: 0.7;
}
.nav-grid td a:hover .fa { opacity: 1; }
/* 彩色磁贴内:图标白色、稍大、不透明 */
.nav-grid-top td a .fa {
  color: #fff;
  font-size: 14px;
  opacity: 1;
}

/* ===== 发帖表单 ===== */
.post-form .form-row { margin-bottom: 14px; }
.post-form label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.post-form label .req { color: #ff7800; margin-right: 2px; }
.post-form select {
  padding: 9px 12px;
  border: 1px solid #dfe9f2;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  min-width: 240px;
  outline: none;
}
.post-form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #dfe9f2;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border .2s;
}
.post-form input[type="text"]:focus { border-color: #9ec7ea; }
.editor-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 7px 8px;
  background: #f5f9fc;
  border: 1px solid #dfe9f2;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.editor-bar button {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  color: #555;
  font-size: 13px;
  cursor: pointer;
}
.editor-bar button:hover { background: #e3eef8; color: #2b7acd; }
.editor-bar .sep { width: 1px; height: 20px; background: #d8e4ee; margin: 5px 4px; }
.editor-area {
  width: 100%;
  box-sizing: border-box;
  min-height: 300px;
  padding: 12px;
  border: 1px solid #dfe9f2;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 14px;
  line-height: 1.8;
  font-family: inherit;
  resize: vertical;
  outline: none;
}
.editor-area:focus { border-color: #9ec7ea; }
.post-actions { margin-top: 18px; display: flex; gap: 12px; align-items: center; }
.btn-primary {
  padding: 10px 40px;
  background: linear-gradient(180deg, #4a9be0, #2b7acd);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all .2s;
}
.btn-primary:hover { background: linear-gradient(180deg, #ff9a3d, #ff7800); transform: translateY(-1px); }
.btn-ghost {
  padding: 10px 24px;
  background: #f1f5f9;
  color: #666;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.btn-ghost:hover { background: #e2e8f0; }
.post-tip { font-size: 12px; color: #aaa; }

/* 发帖页:场景图背景 + 透明输入控件 */
.post-card {
  position: relative;
  background: linear-gradient(180deg, #e8f3ff 0%, #f4faff 45%, #ffffff 100%);
}
.post-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a9be0, #2dd4bf, #a3e635, #fbbf24, #f87171, #c084fc);
  border-radius: 12px 12px 0 0;
}
/* 背景图挂在 #postbox（post.htm 真实存在的容器）。
   设计稿的 .post-form 包装层在 Discuz 官方表单结构里不存在，故选择器双写兼容 */
.post-card #postbox,
.post-card .post-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(243, 250, 255, 0.62) 45%, rgba(255, 255, 255, 0.78) 100%),
    url(img/post_bg.jpg?v=2) center / cover no-repeat;
  border: 1px solid #d5e6f3;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 2px 14px rgba(43, 122, 205, 0.12);
}
.post-card .post-form label {
  color: #2b527a;
  text-shadow: none;
}
.post-card .post-form select,
.post-card .post-form input[type="text"] {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #b9d4e8;
  color: #2b527a;
}
.post-card .post-form select option { color: #333; background: #fff; }
.post-card .post-form input[type="text"]::placeholder { color: #8aa9c2; }
.post-card .post-form input[type="text"]:focus,
.post-card .post-form select:focus {
  border-color: #5b9bd5;
  background: rgba(255, 255, 255, 0.92);
}
.post-card .editor-bar {
  background: rgba(255, 255, 255, 0.6);
  border-color: #c4dbec;
}
.post-card .editor-bar button { color: #4a6a8a; }
.post-card .editor-bar button:hover { background: rgba(91, 155, 213, 0.18); color: #2b7acd; }
.post-card .editor-bar .sep { background: #c4dbec; }
.post-card .editor-area {
  background: rgba(255, 255, 255, 0.72);
  border-color: #b9d4e8;
  color: #2b527a;
  text-shadow: none;
}
.post-card .editor-area::placeholder { color: #8aa9c2; }
.post-card .editor-area:focus { border-color: #5b9bd5; background: rgba(255, 255, 255, 0.88); }
.post-card .post-tip {
  color: #7d99b0;
  text-shadow: none;
}
.post-card .btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: #2b527a;
}
.post-card .btn-ghost:hover { background: #ffffff; }

/* ---------- 发帖页编辑器透明化：让 #postbox 的场景背景透出来 ----------
   官方 editor.css 把 .edt .area / .edt .pt（编辑器正文）设为 {WRAPBG}（白底），
   会把背景图整个盖住；这里在 post-card 作用域内改为半透明白，
   文字依然清晰可读，背景图从整块白底下透出来。 */
.post-card .edt { background: transparent; }
.post-card .edt .bar,
.post-card .edt .bbar,
.post-card .edt .cst { background: rgba(243, 248, 252, 0.82); }
.post-card .edt .area { background: rgba(255, 255, 255, 0.30) !important; padding: 4px; }
.post-card .edt .area .pt,
.post-card .edt textarea.pt {
  background: transparent !important;
  border: none;
  font-size: 14px;
  color: #2c3e50;
}
.post-card .edt .area .pt:focus { outline: none; }
/* 源码模式 textarea 同理透明 */
.post-card .editorrow, .post-card #rstnotice { background: transparent; }

/* ===== 导航彩色磁贴 =====
   用法:在 HTML 里给按钮加 class="nv-颜色名" 即可换色,增删按钮互不影响 */
.nav-grid-top td a {
  display: block;
  padding: 10px 6px;
  border-radius: 8px;
  color: #fff !important;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: transform .2s, box-shadow .2s;
}
.nav-grid-top td a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,30,60,0.22);
  color: #fff !important;
}
.nav-grid-top td a .fa {
  color: #fff;
  font-size: 14px;
  opacity: 1;
}
/* 12 色可选(通用按钮色类,其它页面也能用) */
.nv-blue   { background: linear-gradient(135deg, #4a9be0, #2b7acd); }
.nv-cyan   { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.nv-teal   { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.nv-green  { background: linear-gradient(135deg, #34d399, #059669); }
.nv-lime   { background: linear-gradient(135deg, #a3e635, #65a30d); }
.nv-gold   { background: linear-gradient(135deg, #fbbf24, #d97706); }
.nv-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.nv-red    { background: linear-gradient(135deg, #f87171, #dc2626); }
.nv-pink   { background: linear-gradient(135deg, #f472b6, #db2777); }
.nv-purple { background: linear-gradient(135deg, #c084fc, #9333ea); }
.nv-indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.nv-royal  { background: linear-gradient(135deg, #60a5fa, #2563eb); }
/* 占位格保持灰底 */
.nav-grid-top td.has-tbd a,
.nav-grid-top td .tbd { color: #bbb; }

/* "未完待续"占位样式：灰色、不可点、不变色 */
.nav-grid td.has-tbd {
  background: #fafbfc;
}
.nav-grid td .tbd {
  display: inline-block;
  padding: 2px 6px;
  color: #bbb;
  font-size: 13px;
  cursor: default;
  user-select: none;
}
.nav-grid td .tbd .fa {
  color: #ccc;
  margin-right: 4px;
  font-size: 12px;
}
.nav-grid td:hover .tbd { color: #bbb; }    /* hover 不变色 */
.nav-grid td.has-tbd:hover { background: #fafbfc; }   /* hover 不变蓝底 */

/* 友情链接 */
.links {
  background: #f8fafc;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 10px 0;
  font-size: 12px;
}
.links h3 { font-size: 13px; color: #2b7acd; margin-bottom: 8px; }
.links a { margin: 0 10px 4px 0; color: #2b7acd; }

/* ===== 草地 footer ===== */
.grass {
  position: relative;
  height: 220px;
  background:
    linear-gradient(180deg,
      rgba(124,194,90,0) 0%,
      rgba(91,161,64,0.45) 50%,
      rgba(58,126,42,0.6) 100%);
  margin-top: 20px;
  overflow: hidden;
}
/* 草 */
.grass::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background:
    radial-gradient(ellipse at 10% 100%, #4a9a36 0%, transparent 30%),
    radial-gradient(ellipse at 40% 100%, #3d8a2e 0%, transparent 35%),
    radial-gradient(ellipse at 80% 100%, #5fb044 0%, transparent 30%);
}
/* 草地装饰角色 - 用素材 */
.grass-deco {
  position: absolute;
  bottom: 0;
  height: 160px;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}
.grass-deco.gd-slime {
  left: 5%;
  width: 100px;
  background-image: url(img/monster_slime.png);
  animation: bounceSmall 2.5s ease-in-out infinite;
}
.grass-deco.gd-fire {
  right: 8%;
  width: 90px;
  background-image: url(img/monster_fire.png);
  animation: firePulse 1.5s ease-in-out infinite;
}
.grass-deco.gd-mantis {
  left: 35%;
  width: 110px;
  background-image: url(img/monster_mantis.png);
  animation: walkAround 16s linear infinite;
}
.grass-deco.gd-plant {
  right: 30%;
  width: 110px;
  background-image: url(img/monster_plant.png);
  animation: walkAround 20s linear infinite -10s;
}
@keyframes bounceSmall {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50%      { transform: translateY(-8px) scale(0.95, 1.05); }
}
@keyframes firePulse {
  0%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  50%      { transform: translateY(-4px) scale(1.05); filter: brightness(1.2); }
}
@keyframes walkAround {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(40px); }
  100% { transform: translateX(0); }
}

/* 小花 */
.flower {
  position: absolute;
  bottom: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff;
  animation: twinkle 3s ease-in-out infinite;
  z-index: 1;
}
.flower.f1 { left: 10%; bottom: 80px; background: #fff; }
.flower.f2 { left: 30%; bottom: 30px; background: #ffe066; }
.flower.f3 { left: 50%; bottom: 50px; background: #fff; }
.flower.f4 { left: 70%; bottom: 25px; background: #ffb3d9; }
.flower.f5 { left: 85%; bottom: 75px; background: #fff; }
.flower.f6 { left: 20%; bottom: 100px; background: #ffe066; }
.flower.f7 { left: 60%; bottom: 90px; background: #fff; }
.flower.f8 { left: 90%; bottom: 30px; background: #ffb3d9; }

/* 萤火虫 */
.firefly {
  position: absolute;
  width: 4px; height: 4px;
  background: #fff8a8;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff8a8, 0 0 16px #fff8a8;
  animation: firefly 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes firefly {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  25%      { opacity: 1; transform: translate(20px, -10px); }
  50%      { opacity: 0.4; transform: translate(-10px, -20px); }
  75%      { opacity: 1; transform: translate(15px, -5px); }
}

/* 光斑 */
.sparkle {
  position: absolute;
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.9);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  animation: twinkle 4s ease-in-out infinite;
  z-index: 1;
}

/* footer 版权 */
.copyright {
  background: #2b7acd;
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-size: 12px;
}
.copyright a { color: #fff; }
.copyright .pipe { color: rgba(255,255,255,0.5); }

/* ===== 左右两侧固定悬浮(滚过天空才显示,不遮挡人物) ===== */
.side-float {
  position: fixed;
  top: 34%;
  width: 260px;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  text-align: center;
  font-size: 13px;
  color: #555;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}
.side-float.left  { left: 10px; }
.side-float.right { right: 10px; }

/* ===== 左侧活动 banner(3 个竖排,与二维码同步显隐) ===== */
.side-events {
  position: fixed;
  left: 10px;
  top: 34%;
  width: 200px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}
.event.small {
  padding: 16px 12px 14px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,30,60,0.18);
}
.event.small h3 {
  font-size: 17px;
  margin: 8px 0 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  position: relative; z-index: 1;
}
.event.small .event-tag {
  font-size: 12px;
  padding: 2px 8px;
  position: relative; z-index: 1;
}
.event.small .countdown {
  font-size: 14px;
  margin-top: 8px;
  position: relative; z-index: 1;
}
.event.small .progress { display: none; }
.event.small .event-icon {
  font-size: 26px;
  opacity: 0.55;
  right: 10px; bottom: 8px;
  z-index: 1;
}
.side-float .qr {
  width: 240px; height: 240px;
  background: #f8f8f8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%),
    linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}
.side-float .qr img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  z-index: 1;
  position: relative;
}
.side-float .qr .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 11px;
  z-index: 0;
  background: rgba(248,248,248,0.85);
  pointer-events: none;
}
.side-float .close {
  position: absolute;
  top: -8px; right: -8px;
  width: 18px; height: 18px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  cursor: pointer;
  font-size: 12px;
  transition: transform .2s;
}
.side-float .close:hover { background: #ff7800; transform: rotate(90deg); }
.side-float .qq { color: #2b7acd; margin-top: 6px; }

/* 雪花 canvas */
#snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* 响应式 */
@media (max-width: 1100px) {
  .wp, .main-card { width: 100%; box-sizing: border-box; margin-left: 0; margin-right: 0; }
  .side-float { display: none; }
  .side-events { display: none; }
  .sky { height: auto; padding: 30px 0; min-height: 320px; background-size: cover; }
  .sky-logo { position: relative; top: 0; transform: none; margin: 0 auto 20px; }
  .sky-login { position: relative; margin: 0 auto; }
  .char { display: none; }
  .main-card { margin-top: 20px; }
  .events { grid-template-columns: 1fr; }
  .main-aside { grid-template-columns: 1fr; }
  .grass-deco { display: none; }
}

/* ============================================================
   eis 风格 —— 面包屑（替代官方 #pt 面包屑）
   ============================================================ */
.eis-crumb {
  padding: 10px 16px;
  margin: 8px 0 4px;
  font-size: 13px;
  color: #5b4a2f;
  background: linear-gradient(180deg, #fff8e0 0%, #fde4b3 100%);
  border: 1px solid #f0c870;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.eis-crumb a { color: #2b7acd; text-decoration: none; }
.eis-crumb a:hover { color: #ff7800; text-decoration: underline; }
.eis-crumb em { font-style: normal; margin: 0 4px; color: #c08828; }

/* ============================================================
   eis 风格 —— 通用表单容器（用于会员页 / 发帖页 / 找回密码）
   ============================================================ */
.eis-form-card {
  background: #fff;
  border: 1px solid #f0c870;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  margin: 14px 0;
  padding: 20px 24px;
  box-sizing: border-box;
}
.eis-form-card h2 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0c870;
  font-size: 18px;
  color: #ff7800;
  font-weight: 700;
}
.eis-form-card h2 small {
  float: right;
  font-size: 12px;
  color: #888;
  font-weight: normal;
}
.eis-form-card h2 small a { color: #2b7acd; }

/* 表单行 */
.eis-form-card .rfm { margin: 10px 0; }
.eis-form-card .rfm table { border-collapse: collapse; }
.eis-form-card .rfm th {
  width: 110px;
  text-align: right;
  padding: 6px 10px;
  color: #5b4a2f;
  font-size: 13px;
  font-weight: normal;
  vertical-align: top;
  line-height: 28px;
}
.eis-form-card .rfm td { padding: 6px 0; }
.eis-form-card .rfm .rq { color: #d33; margin-right: 3px; }

/* 输入框 */
.eis-form-card input.px,
.eis-form-card input[type=text],
.eis-form-card input[type=password],
.eis-form-card select {
  width: 260px;
  height: 30px;
  line-height: 30px;
  padding: 0 8px;
  border: 1px solid #d4a850;
  border-radius: 4px;
  background: #fffdf6;
  font-size: 13px;
  color: #5b4a2f;
  box-sizing: border-box;
  outline: none;
}
.eis-form-card input.px:focus,
.eis-form-card input[type=text]:focus,
.eis-form-card input[type=password]:focus,
.eis-form-card select:focus {
  border-color: #ff7800;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,120,0,.15);
}

/* 复选框 + 链接 */
.eis-form-card .tipcol { padding-left: 10px; }
.eis-form-card .tipcol a { color: #2b7acd; font-size: 12px; text-decoration: none; }
.eis-form-card .tipcol a:hover { color: #ff7800; text-decoration: underline; }

/* 提交按钮 */
.eis-form-card button.pn,
.eis-form-card input[type=submit].pn,
.eis-form-card .pn {
  background: linear-gradient(180deg, #ffb04a 0%, #ff7800 100%);
  color: #fff;
  border: 1px solid #d96b00;
  border-radius: 4px;
  padding: 7px 22px;
  min-height: 32px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(217,107,0,.3);
  transition: transform .12s, box-shadow .12s;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
}
/* 修正浏览器 button 默认 line-height 把文字顶出去 */
.eis-form-card button.pn { line-height: 1.4; padding-top: 6px; padding-bottom: 6px; }
.eis-form-card button.pn:hover,
.eis-form-card .pn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(217,107,0,.4);
}
.eis-form-card button.pn:active { transform: translateY(0); }

/* 蓝色主按钮（更醒目） */
.eis-btn-primary,
.eis-form-card .eis-btn-primary,
.eis-form-card button.eis-btn-primary,
.eis-form-card input.eis-btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #6cb6f5 0%, #2b7acd 100%);
  color: #fff !important;
  border: 1px solid #1f5fa8;
  border-radius: 4px;
  padding: 8px 28px;
  min-height: 34px;
  min-width: 110px;
  height: auto;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(31,95,168,.3);
  transition: transform .12s, box-shadow .12s, background .12s;
  box-sizing: border-box;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
}
.eis-form-card .rfm td button,
.eis-form-card .rfm td input[type=submit],
.eis-form-card .rfm td input[type=button] {
  vertical-align: middle;
  height: auto;
  min-height: 32px;
}
.eis-btn-primary:hover,
.eis-form-card .eis-btn-primary:hover,
.eis-form-card button.eis-btn-primary:hover,
.eis-form-card input.eis-btn-primary:hover {
  background: linear-gradient(180deg, #7fc1f7 0%, #1f6dde 100%);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(31,95,168,.4);
}
.eis-btn-primary:active,
.eis-form-card button.eis-btn-primary:active { transform: translateY(0); }

/* 提示信息条 */
.eis-form-card .alert_right {
  padding: 12px 16px;
  background: #fff8e0;
  border: 1px solid #f0c870;
  border-radius: 6px;
  color: #5b4a2f;
  font-size: 13px;
}
.eis-form-card .alert_btnleft { margin-top: 8px; }
.eis-form-card .alert_btnleft a { color: #2b7acd; }

/* 分割线 */
.eis-form-card hr.l {
  border: 0;
  border-top: 1px dashed #f0c870;
  margin: 12px 0;
}

/* 安全提问 / 验证码 容器 */
.eis-form-card .seccode { display: flex; align-items: center; gap: 8px; }
.eis-form-card .seccode img { height: 30px; border: 1px solid #d4a850; border-radius: 3px; }
.eis-form-card .seccode input { width: 90px; }

/* 登录/注册页左右分栏 */
.eis-form-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
}
.eis-form-side {
  background: #fff8e0;
  border: 1px solid #f0c870;
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  color: #5b4a2f;
  line-height: 1.7;
  box-sizing: border-box;
}
.eis-form-side h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #ff7800;
  border-bottom: 1px solid #f0c870;
  padding-bottom: 6px;
}
.eis-form-side a { color: #2b7acd; text-decoration: none; }
.eis-form-side a:hover { color: #ff7800; text-decoration: underline; }

/* 编辑器外层 */
.eis-editor-wrap {
  background: #fff;
  border: 1px solid #f0c870;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
}
.eis-editor-wrap .tb { background: #fff8e0; border-bottom: 1px solid #f0c870; padding: 6px 10px; border-radius: 6px 6px 0 0; }
.eis-editor-wrap .tb li { background: #fff; border: 1px solid #f0c870; margin-right: 4px; }
.eis-editor-wrap .tb li a { color: #5b4a2f; }
.eis-editor-wrap .tb li.a { background: #ff7800; }
.eis-editor-wrap .tb li.a a { color: #fff; }

@media (max-width: 760px) {
  .eis-form-row { grid-template-columns: 1fr; }
  .eis-form-card .rfm th { width: 80px; }
  .eis-form-card input.px,
  .eis-form-card input[type=text],
  .eis-form-card input[type=password] { width: 100%; }
}

/* ==========================================================================
   eis_d25_012 v2 ——【兼容层】Discuz 官方通用基础类
   --------------------------------------------------------------------------
   为什么必须有这一段：
   本模板只加载自己的 style.css，不加载 default/common/common.css。
   凡是官方页面（个人空间 / 设置中心 / 搜索 / 群组 / 排行榜 / 门户）
   以及本模板尚未覆盖而回落到 default 的页面，都会用到 .pn/.px/.bm/.sd
   /.mn/.xi1 这一套官方类。缺了它们 => 按钮没皮、输入框没框、两栏错位、
   内容溢出主卡片。这一段把它们全部"驯服"到 1060px 主卡片内。
   ========================================================================== */

/* ---------- 布局容器：全部压进主卡片，杜绝溢出 ---------- */
#wp { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0; box-sizing: border-box; }
.wp { width: 100%; max-width: 1060px; margin: 0 auto; box-sizing: border-box; }
.main-card #wp, .main-card .wp { width: 100%; max-width: 100%; }
#pt { width: 100%; box-sizing: border-box; overflow: hidden; }
.main-card > div, .main-card > table, .main-card > form, .main-card > ul,
.main-card > p, .main-card > h1, .main-card > h2, .main-card > h3 {
  max-width: 100%; box-sizing: border-box;
}
.main-card table { max-width: 100%; }
.main-card iframe, .main-card embed, .main-card video { max-width: 100%; }
.main-card pre, .main-card .blockcode { max-width: 100%; overflow-x: auto; }

/* ---------- 两栏/三栏布局（官方 .ct2 / .ct3 / .mn / .sd） ---------- */
.ct2, .ct3 { width: 100%; box-sizing: border-box; }
.ct2 .mn, .ct3 .mn { float: left; width: 100%; box-sizing: border-box; overflow: hidden; }
.ct2 .sd { float: right; width: 240px; margin-left: 20px; box-sizing: border-box; }
.ct3 .sd { float: right; width: 220px; margin-left: 16px; box-sizing: border-box; }
.ct2_a .mn, .ct2_a_r .mn { width: 100%; }
.ct2_a .sd, .ct2_a_r .sd { width: 240px; }
.mn { overflow: hidden; }
.sd { overflow: hidden; }
.ct2:after, .ct3:after, .mn:after, .sd:after, .cl:after {
  content: ""; display: block; clear: both; height: 0; visibility: hidden;
}
.appl { float: left; width: 150px; margin-right: 16px; box-sizing: border-box; }
.appr { overflow: hidden; }

/* ---------- 官方块容器 .bm ---------- */
.bm { margin-bottom: 12px; border: 1px solid #c5dceb; border-radius: 6px; background: #fff; overflow: hidden; }
.bm_h { padding: 8px 12px; background: linear-gradient(180deg, #f3f8fc, #e6f1f9); border-bottom: 1px solid #c5dceb; }
.bm_h h2, .bm_h h3 { font-size: 14px; font-weight: bold; color: #2b7acd; }
.bm_h .o { float: right; font-size: 12px; }
.bm_c { padding: 12px; background: #fff; overflow: hidden; }
.bm_c table { width: 100%; }
.bm_b { padding: 8px 12px; border-top: 1px solid #e0e9f0; background: #fafcff; }
.bmw { margin-bottom: 12px; }
.bml { float: left; }
.bmr { float: right; }
.bmw .bm_h { border-radius: 5px 5px 0 0; }
.fl { overflow: hidden; }
.fl .bm_h { cursor: pointer; }
.bw0 { border: 0 !important; background: transparent !important; }
.bw0_all { border: 0 !important; background: transparent !important; }

/* ---------- 表单通用（官方 .tfm / .rfm / .px 等） ---------- */
.tfm { width: 100%; }
.tfm th, .tfm td { padding: 8px 6px; vertical-align: top; }
.tfm th { width: 110px; text-align: right; color: #666; font-weight: normal; padding-top: 12px; }
.tfm td { color: #444; }
.rfm th { padding-top: 12px; }
.px, .pt {
  border: 1px solid #c5dceb; background: #fff; padding: 5px 8px; border-radius: 3px;
  font: 13px/1.5 'Microsoft YaHei', Tahoma, sans-serif; color: #444; outline: none;
  box-sizing: border-box; max-width: 100%;
}
.px:focus, .pt:focus { border-color: #2b7acd; box-shadow: 0 0 0 2px rgba(43,122,205,.1); }
textarea.px, textarea.pt { width: 100%; line-height: 1.7; }
select { border: 1px solid #c5dceb; background: #fff; padding: 4px 6px; border-radius: 3px; max-width: 100%; }
.p_fre { width: 210px; max-width: 100%; }
.psw_w { width: 210px; max-width: 100%; }
.p_tip { color: #999; font-size: 12px; padding: 4px 0 0; }
.p_chk { margin-top: 6px; }
.pc { margin-right: 4px; vertical-align: -2px; }
.pns { padding: 12px 0 0; }
.vm { vertical-align: middle; }
.hm { text-align: center; }
.f_c { display: inline-block; }
.nfl { float: left; }
.fsb { padding: 0; }
.d { float: right; }
.c { clear: both; }
.xg1, .xg1 a { color: #999 !important; }
.xg2 { color: #666 !important; }
.xi1, .xi1 a { color: #ff7800 !important; }
.xi2, .xi2 a { color: #2b7acd !important; }
.xi3 { color: #f26c4f !important; }
.xs0 { font-size: 12px; }
.xs1 { font-size: 13px; }
.xs2 { font-size: 15px; }
.xs3 { font-size: 17px; }
.xst { font-size: 14px; }
.xw0 { font-weight: 400; }
.xw1 { font-weight: 700; }
.xld a, .xst { color: #2b7acd; }
.xld a:hover, .xst:hover { color: #ff7800; }
.ntc_l, .ntc_s { color: #999; }
.mbn { margin-bottom: 8px; }
.mtm { margin-top: 8px; }
.mbm { margin-bottom: 8px; }
.mtw { margin-top: 16px; }
.mbw { margin-bottom: 16px; }
.ptm { padding-top: 8px; }
.pbm { padding-bottom: 8px; }
.ptn { padding-top: 4px; }
.mtn { margin-top: 4px; }
.mbn { margin-bottom: 4px; }
.mls, .ml { margin-left: 6px; }
.mrs, .mr { margin-right: 6px; }
.y { float: right; }
.z { float: left; }
.o { float: right; }
.hm { text-align: center; }
.rq { color: #f26c4f; margin-right: 3px; }
.pipe { color: #ccc; margin: 0 5px; }

/* ---------- 按钮（官方 .pn / .pnc / .pns / .btn） ----------
   这一段直接决定"按钮是否显示完整"，务必保留 */
.pn, .pnpost .pn {
  display: inline-block; height: 30px; line-height: 28px; padding: 0 18px;
  border: 1px solid #2b7acd; border-radius: 4px; vertical-align: middle;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff !important;
  font-size: 13px; text-align: center; cursor: pointer; white-space: nowrap;
  box-sizing: border-box; text-decoration: none; overflow: visible;
}
.pn:hover { background: linear-gradient(180deg, #5aa8ea, #3a86d4); color: #fff !important; text-decoration: none; }
.pn:active { background: linear-gradient(180deg, #2b7acd, #4a9be0); }
.pn span, .pn strong { display: inline-block; line-height: 28px; font-weight: normal; }
.pnc, a.pnc {
  display: inline-block; height: 30px; line-height: 28px; padding: 0 18px;
  border: 1px solid #2b7acd; border-radius: 4px; vertical-align: middle;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff !important;
  font-size: 13px; text-align: center; cursor: pointer; white-space: nowrap;
  box-sizing: border-box; text-decoration: none;
}
.pnc:hover { background: linear-gradient(180deg, #5aa8ea, #3a86d4); color: #fff !important; text-decoration: none; }
.pnvm { display: inline-block; vertical-align: middle; }
.pnplain { border: 1px solid #c5dceb; background: #fff; color: #2b7acd !important; }
.pnplain:hover { background: #f3f8fc; }
button.pn, button.pnc, input.pn, input.pnc { -webkit-appearance: none; appearance: none; }
.btn, .ktg { display: inline-block; }
/* 官方按钮里的 <em>/<span> 有时带背景图，这里去掉避免撑破 */
.pn em, .pnc em, .pn span, .pnc span { background: none !important; }

/* ---------- 分页（官方 .pg / .pgb / .pgs） ---------- */
.pg, .pgs { text-align: center; padding: 14px 0; clear: both; overflow: hidden; }
.pg a, .pg strong, .pgb a, .pg a.nxt, .pg label {
  display: inline-block; min-width: 30px; height: 30px; line-height: 28px; padding: 0 9px;
  margin: 0 2px; border: 1px solid #c5dceb; border-radius: 4px; background: #fff;
  color: #2b7acd; text-decoration: none; box-sizing: border-box; vertical-align: middle;
}
.pg strong { background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff; border-color: #2b7acd; }
.pg a:hover { background: #f3f8fc; text-decoration: none; }
.pg label { border: 0; }
.pgb a { float: left; }

/* ---------- 列表通用（官方 .xl / .xl1 / .ml 等） ---------- */
.xl, .xl1, .xl2 { overflow: hidden; }
.xl li, .xl1 li, .xl2 li { padding: 7px 0; border-bottom: 1px dashed #e0e9f0; overflow: hidden; }
.xl em, .xl1 em { float: right; color: #999; font-style: normal; font-size: 12px; }
.xld { margin-bottom: 10px; }
.mls li, .mrl li { display: inline-block; }
.ttp { margin-bottom: 12px; border-bottom: 2px solid #2b7acd; overflow: hidden; }
.ttp a, .ttp li { float: left; }
.ttp a { display: inline-block; padding: 8px 18px; margin-right: 4px; color: #2b7acd;
  border-radius: 6px 6px 0 0; font-size: 14px; }
.ttp a:hover { background: #e8f1f9; text-decoration: none; }
.ttp .a a, .ttp li.a a { background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff; }
.tbn { float: left; width: 140px; margin-right: 16px; }
.tbn ul { padding: 0; }
.tbn li { margin-bottom: 2px; }
.tbn li.a a { background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff; }
.tbn li a { display: block; padding: 8px 12px; border-radius: 4px; color: #444; }
.tbn li a:hover { background: #e8f1f9; text-decoration: none; }

/* ---------- 表格通用 ---------- */
.dt { width: 100%; border-collapse: collapse; }
.dt th, .dt td { padding: 8px; border-bottom: 1px solid #e0e9f0; font-size: 13px; }
.dt th { background: #f3f8fc; color: #2b7acd; font-weight: normal; text-align: left; }
.lk-col { overflow: hidden; }

/* ---------- 弹出层 / 提示 ---------- */
.p_pop, .p_pof, .fwin { border: 1px solid #c5dceb; border-radius: 6px; background: #fff;
  box-shadow: 0 6px 24px rgba(0,50,100,.18); padding: 10px; max-width: 100%; }
.p_opt { border-top: 1px solid #e0e9f0; padding-top: 8px; text-align: right; }
.tip { background: #fff8e0; border: 1px solid #f0c870; border-radius: 4px; padding: 8px 10px; color: #8a6d3b; }
.alert_error { background: #fdeaea; border: 1px solid #f0a0a0; color: #b03030; }
.alert_info { background: #eaf4fd; border: 1px solid #9ec9e8; color: #2b7acd; }
.alert_right { background: #eafaf1; border: 1px solid #8fd6b4; color: #1e8449; }

/* ---------- 编辑器 / 发帖页残留官方结构兜底 ---------- */
.editorrow { margin-bottom: 10px; }
.editorrow .edt { border: 1px solid #c5dceb; border-radius: 4px; }
.nvhm { color: #999; }
.pbt { margin-bottom: 10px; }
.pbt .ftid { padding: 5px 8px; border: 1px solid #c5dceb; border-radius: 3px; }
.exfm, .exfm table { width: 100%; }

/* ---------- 头像 / 用户卡 ---------- */
.avt { border-radius: 4px; }
.avt img { max-width: 100%; border-radius: 50%; }
.secqaa { margin: 8px 0; }

/* ---------- 官方页在窄屏下的兜底 ---------- */
@media (max-width: 1100px) {
  #wp, .wp { width: 100%; max-width: 100%; }
  .ct2 .sd, .ct3 .sd { float: none; width: 100%; margin: 12px 0 0; }
  .ct2 .mn, .ct3 .mn { float: none; width: 100%; }
  .tbn { float: none; width: 100%; margin: 0 0 12px; }
  .tbn li { display: inline-block; margin: 0 4px 4px 0; }
  .appl { float: none; width: 100%; margin: 0 0 12px; }
  .pn, .pnc { padding: 0 12px; font-size: 12px; }
}

/* ==========================================================================
   eis_d25_012 v2 ——【补齐】本模板自用但此前漏定义的 class
   ========================================================================== */

/* ---------- 天空横幅右上角登录卡（header.htm 用到，之前完全裸奔） ---------- */
.sky-login-card {
  position: absolute; right: 26px; top: 24px; z-index: 20;
  width: 292px; padding: 12px 14px 14px;
  background: rgba(255,255,255,.94);
  border: 1px solid #c5dceb; border-radius: 10px;
  box-shadow: 0 6px 22px rgba(0,60,120,.22);
  backdrop-filter: blur(2px); box-sizing: border-box;
}
.sky-login-msg { color: #b03030; font-size: 12px; line-height: 1.5; margin-bottom: 4px; }
.sky-login-msg:empty { margin: 0; }
.sky-login-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.sky-login-row:last-child { margin-bottom: 0; }
.sky-login-lbl {
  flex: 0 0 48px; font-size: 12px; color: #2b7acd; text-align: right; white-space: nowrap;
}
.sky-login-input {
  flex: 1 1 auto; min-width: 0; height: 28px; line-height: 26px; padding: 0 8px;
  border: 1px solid #c5dceb; border-radius: 4px; background: #fff; color: #444;
  font-size: 12px; outline: none; box-sizing: border-box;
}
.sky-login-input:focus { border-color: #2b7acd; box-shadow: 0 0 0 2px rgba(43,122,205,.1); }
.sky-login-check { flex: 0 0 auto; font-size: 11px; color: #666; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.sky-login-check input { margin: 0; vertical-align: -2px; }
.sky-login-link { font-size: 11px; color: #ff7800; white-space: nowrap; }
.sky-login-link:hover { color: #2b7acd; }
.sky-login-link-reg { margin-left: 4px; }
.sky-login-seccode {
  flex: 1 1 auto; min-width: 0; height: 28px; line-height: 26px; padding: 0 8px;
  border: 1px solid #c5dceb; border-radius: 4px; font-size: 12px; box-sizing: border-box;
}
.sky-login-btn {
  flex: 1 1 auto; height: 30px; line-height: 28px; padding: 0 16px;
  border: 1px solid #2b7acd; border-radius: 4px; cursor: pointer;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff;
  font-size: 13px; box-sizing: border-box; white-space: nowrap;
}
.sky-login-btn:hover { background: linear-gradient(180deg, #5aa8ea, #3a86d4); }
.sky-login-card .seccheck_img,
.sky-login-card .seccheck_txt { display: inline-block; vertical-align: middle; }
.sky-login-card img { max-width: 100%; vertical-align: middle; }

/* ---------- 天空横幅右上角"已登录"用户卡 ---------- */
.sky-user-card { display: flex; align-items: center; gap: 10px; }
.sky-user-avatar {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: #dfeaf5 url(img/mascot_pet.png) center/contain no-repeat;
  border: 2px solid #2b7acd; box-sizing: border-box;
}
.sky-user-info { min-width: 0; flex: 1 1 auto; }
.sky-user-name {
  font-size: 14px; font-weight: bold; color: #2b7acd; line-height: 1.4;
  max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sky-user-meta { font-size: 11px; color: #888; line-height: 1.6; }
.sky-user-meta a { color: #888; }
.sky-user-meta a:hover { color: #ff7800; }
.sky-user-meta span { margin: 0 3px; color: #ccc; }
.sky-user-admin { color: #ff7800 !important; }

/* ---------- 右上角用户小胶囊（header tabs 右侧） ---------- */
.eis-user-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 190px;
  height: 26px; line-height: 24px; padding: 0 12px; border-radius: 13px;
  background: #eef6fd; border: 1px solid #c5dceb; color: #2b7acd !important;
  font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eis-user-chip:hover { background: #e2eefa; text-decoration: none !important; }
.eis-user-dot {
  flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,.25);
}
.eis-user-chip.eis-login { background: linear-gradient(180deg, #4a9be0, #2b7acd);
  border-color: #2b7acd; color: #fff !important; }
.eis-user-chip.eis-login:hover { background: linear-gradient(180deg, #5aa8ea, #3a86d4); }

/* ---------- Tab 导航：允许换行，杜绝按钮被挤压/截断 ---------- */
.tabs { display: flex; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.tabs .tab { white-space: nowrap; flex: 0 0 auto; }
.tabs .y { margin-left: auto; flex: 0 0 auto; }

/* ---------- 主卡片内所有图片/媒体一律不撑破 ---------- */
.main-card img { max-width: 100%; height: auto; }
.main-card .bm-table img, .main-card .sub-tb img, .main-card .gd-table img { max-width: 100%; }

/* ---------- 板块表 / 帖子表：长标题不撑破 ---------- */
.bm-table, .sub-tb, .gd-table { table-layout: fixed; width: 100%; }
.bm-table td, .bm-table th, .sub-tb td, .sub-tb th, .gd-table td, .gd-table th {
  word-break: break-all; overflow-wrap: break-word;
}
.bm-table td.by, .sub-tb td.by, .gd-table td.gd-by { word-break: normal; }
.lp-title, .gd-t a {
  display: inline-block; max-width: 100%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 1100px) {
  .sky-login-card { position: relative; right: auto; top: auto; margin: 0 auto; }
  .sky-user-card { position: relative; right: auto; top: auto; margin: 0 auto; }
  .eis-user-chip { max-width: 120px; }
  .bm-table, .sub-tb, .gd-table { table-layout: auto; }
}

/* ==========================================================================
   eis_d25_012 v2 ——【页面专有样式】从设计稿各页抽出，统一放这里
   （原先散落在各模板的 <style> 内联块里，不利于维护，也容易覆盖不一致）
   ========================================================================== */

/* ---------- 官网首页 / 门户首页（portal.html） ---------- */
.hero {
  position: relative; text-align: center; padding: 46px 30px 34px;
  background: #fff; border-radius: 12px; margin: 14px 0 30px;
  box-shadow: 0 6px 28px rgba(0,50,100,.12);
}
.hero h2 { font-size: 32px; color: #2b7acd; margin-bottom: 12px; letter-spacing: 3px; }
.hero p  { font-size: 15px; color: #666; margin-bottom: 18px; }
.hero .entrance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.hero .entrance a {
  display: block; padding: 26px 16px; border-radius: 10px;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff;
  font-size: 16px; font-weight: bold; text-decoration: none;
  box-shadow: 0 4px 12px rgba(43,122,205,.3); transition: all .25s;
}
.hero .entrance a:hover {
  background: linear-gradient(180deg, #ff9a3d, #ff7800);
  transform: translateY(-4px); box-shadow: 0 8px 20px rgba(255,120,0,.4); color: #fff;
}
.hero .entrance a i { display: block; font-size: 34px; margin-bottom: 10px; }
.hero .entrance a.orange { background: linear-gradient(180deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(245,158,11,.3); }
.hero .entrance a.green  { background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 4px 12px rgba(16,185,129,.3); }

.info-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.info-card {
  background: #fff; border-radius: 8px; padding: 18px;
  border-left: 4px solid #2b7acd; box-shadow: 0 2px 8px rgba(0,0,0,.05);
  min-width: 0; word-break: break-word;
}
.info-card h3 { font-size: 15px; color: #2b7acd; margin-bottom: 8px; }
.info-card p { font-size: 13px; color: #666; line-height: 1.8; }

/* ---------- 游戏下载（download.html） ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }
.dl-card {
  background: #fff; border: 1px solid #c5dceb; border-radius: 10px;
  padding: 22px; position: relative; min-width: 0; transition: all .25s;
}
.dl-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.dl-card h3 { font-size: 17px; color: #2b7acd; margin-bottom: 8px; }
.dl-card .ver { display: inline-block; background: #e8f1f9; color: #2b7acd;
  padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-bottom: 10px; }
.dl-card .size { color: #ff7800; font-weight: bold; font-size: 14px; }
.dl-card p { font-size: 13px; color: #666; line-height: 1.8; margin: 8px 0; word-break: break-word; }
.dl-card .dl-btn {
  display: inline-block; padding: 9px 20px; margin: 4px 6px 0 0;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff;
  text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: bold;
  transition: all .2s; white-space: nowrap;
}
.dl-card .dl-btn:hover { background: linear-gradient(180deg, #ff9a3d, #ff7800); color: #fff; }
.dl-card .qr-mini {
  float: right; width: 92px; height: 92px; margin-left: 12px;
  background: #f8f8f8; border: 1px dashed #c5dceb; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa;
}
.dl-card.featured { border: 2px solid #ff7800; }
.dl-card.featured::before {
  content: "★ 推荐"; position: absolute; top: 12px; right: -34px;
  background: #ff7800; color: #fff; padding: 4px 40px;
  transform: rotate(45deg); font-size: 12px; font-weight: bold;
}
.dl-guide { background: #f3f8fc; border-radius: 8px; padding: 18px 20px; margin: 20px 0; }
.dl-guide h3 { font-size: 15px; color: #2b7acd; margin-bottom: 12px; }
.dl-guide ol { padding-left: 22px; }
.dl-guide ol li { margin-bottom: 7px; color: #555; font-size: 13px; word-break: break-word; }
.dl-guide code { background: #e8f1f9; padding: 1px 5px; border-radius: 3px; color: #2b7acd; }

/* ---------- 游戏活动（event.html） ---------- */
.event-detail {
  background: #fff; border: 1px solid #c5dceb; border-radius: 10px;
  padding: 26px 30px; margin: 18px 0; box-shadow: 0 2px 8px rgba(0,0,0,.05);
  scroll-margin-top: 20px; overflow: hidden;
}
.event-detail h2 {
  font-size: 21px; color: #2b7acd; padding-bottom: 12px;
  border-bottom: 2px solid #2b7acd; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.event-detail h2 .badge {
  font-size: 12px; padding: 3px 10px; background: #2b7acd;
  color: #fff; border-radius: 12px; font-weight: normal;
}
.event-detail.green h2 { color: #10b981; border-bottom-color: #10b981; }
.event-detail.green h2 .badge { background: #10b981; }
.event-detail.orange h2 { color: #f59e0b; border-bottom-color: #f59e0b; }
.event-detail.orange h2 .badge { background: #f59e0b; }
.event-detail .meta {
  display: flex; gap: 20px; flex-wrap: wrap; color: #666; font-size: 13px;
  margin-bottom: 16px; padding: 12px 16px; background: #f3f8fc; border-radius: 6px;
}
.event-detail .meta span i { color: #2b7acd; margin-right: 4px; }
.event-detail.green .meta span i { color: #10b981; }
.event-detail.orange .meta span i { color: #f59e0b; }
.event-detail .reward-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.event-detail .reward-item {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f1f9 100%);
  border: 1px solid #c5dceb; border-radius: 8px; padding: 12px 10px; text-align: center; min-width: 0;
}
.event-detail .reward-item .num {
  font-size: 20px; font-weight: bold; color: #ff7800;
  font-family: 'Courier New', monospace; word-break: break-all;
}
.event-detail .reward-item .name { font-size: 12px; color: #666; margin-top: 4px; }
.event-detail .desc { line-height: 1.9; color: #444; font-size: 14px; margin: 12px 0; word-break: break-word; }
.event-detail .desc strong { color: #ff7800; }
.event-detail .desc em { color: #2b7acd; font-style: normal; font-weight: bold; }
.event-detail.green .desc em { color: #10b981; }
.event-detail.orange .desc em { color: #f59e0b; }
.event-detail .join-btn {
  display: inline-block; padding: 9px 28px; margin-top: 8px;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff;
  border-radius: 4px; text-decoration: none; font-size: 15px; font-weight: bold;
  transition: all .2s; white-space: nowrap;
}
.event-detail .join-btn:hover {
  background: linear-gradient(180deg, #ff9a3d, #ff7800);
  transform: translateY(-1px); box-shadow: 0 4px 10px rgba(255,120,0,.3); color: #fff;
}
.event-detail.green .join-btn { background: linear-gradient(180deg, #34d399, #10b981); }
.event-detail.orange .join-btn { background: linear-gradient(180deg, #fbbf24, #f59e0b); }

/* ---------- 提示信息页 showmessage ---------- */
.eis-msg { text-align: center; padding: 34px 20px 30px; }
.eis-msg .icon { font-size: 46px; color: #2b7acd; margin-bottom: 14px; }
.eis-msg.error .icon { color: #e5533d; }
.eis-msg.right .icon { color: #10b981; }
.eis-msg h2 { font-size: 20px; color: #333; margin-bottom: 10px; word-break: break-word; }
.eis-msg .msgtext { font-size: 14px; color: #666; line-height: 1.9; margin: 10px 0 18px; word-break: break-word; }
.eis-msg .jump { font-size: 13px; color: #999; margin-top: 16px; }
.eis-msg .jump a { color: #2b7acd; }
.eis-msg .btns { margin-top: 18px; }
.eis-msg .btns a, .eis-msg .btns button {
  display: inline-block; height: 32px; line-height: 30px; padding: 0 20px; margin: 0 5px;
  border-radius: 4px; font-size: 14px; cursor: pointer; border: 1px solid #2b7acd;
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff; text-decoration: none;
}
.eis-msg .btns a:hover { background: linear-gradient(180deg, #5aa8ea, #3a86d4); color: #fff; text-decoration: none; }

/* ---------- 通用：页面标题 / 面包屑 ---------- */
.eis-page-title {
  font-size: 21px; color: #2b7acd; padding: 12px 0 10px;
  border-bottom: 2px solid #2b7acd; margin: 14px 0 4px;
}
.eis-sub-tip { color: #666; font-size: 13px; margin-bottom: 16px; }
.crumb, .eis-crumb { margin: -6px 0 12px; font-size: 12px; color: #888; }
.crumb a, .eis-crumb a { color: #2b7acd; }

/* ---------- 响应式：网格降列，杜绝挤压 ---------- */
@media (max-width: 1100px) {
  .hero .entrance, .info-block, .dl-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .event-detail .reward-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero h2 { font-size: 26px; letter-spacing: 1px; }
  .dl-card .qr-mini { float: none; margin: 0 0 10px; }
}
@media (max-width: 700px) {
  .hero .entrance, .info-block, .dl-grid, .event-detail .reward-list {
    grid-template-columns: 1fr;
  }
  .event-detail { padding: 18px 16px; }
  .hero h2 { font-size: 21px; }
}

/* ==================================================================
   【第五段】跨页共用类补齐（2026-09-05 终检）
   gd-empty / eis-search-result / eis-anno-wrap 在多个页面使用，
   不能只定义在单页内联 style 里；官方工具类（fastlg/tipwide/blr/
   flb/altw/tedt/area/nfl）供官方结构片段（浮动登录、注册提示、
   官方评论框）兜底，全部压进 1060px 主卡片，杜绝裸奔。
   ================================================================== */

/* ---------- 空状态提示（faq/announcement/darkroom/guide/portal/search 通用） ---------- */
.gd-empty {
  text-align: center; color: #999; padding: 34px 0; font-size: 13px;
}

/* ---------- 搜索结果容器 ---------- */
.eis-search-result { margin-top: 4px; }
.eis-search-result .tl { table-layout: fixed; width: 100%; }
.eis-search-result .tl td, .eis-search-result .tl th { word-wrap: break-word; overflow: hidden; }

/* ---------- 公告列表容器 ---------- */
.eis-anno-wrap { margin-top: 4px; }
.eis-anno-wrap .anno-item {
  background: #fff; border: 1px solid #ebe0c7; border-radius: 8px;
  padding: 14px 16px; margin-bottom: 12px;
}
.eis-anno-wrap .anno-item h2 { font-size: 15px; color: #2b7acd; margin-bottom: 6px; }
.eis-anno-wrap .anno-item .anno-date { color: #999; font-size: 12px; margin-bottom: 8px; }
.eis-anno-wrap .anno-item .anno-body { color: #444; font-size: 13px; line-height: 1.9; }

/* ---------- 官方结构兜底：浮动登录（login_simple） ---------- */
.fastlg { padding: 10px 0; }
.fastlg td { padding: 6px 4px; font-size: 13px; color: #444; }
.fastlg_l label { color: #444; cursor: pointer; }
.fastlg input.px, .fastlg input[class*="px"] {
  height: 30px; padding: 0 8px; border: 1px solid #c5dceb; border-radius: 3px; outline: none;
}
.fastlg input.px:focus { border-color: #2b7acd; }
.fastlg .pn { margin: 0 4px; }

/* ---------- 官方结构兜底：注册页提示 / 隐藏弹层 ---------- */
.tipwide { color: #666; font-size: 12px; line-height: 1.8; }
.tipwide .fa, .tipwide img { vertical-align: middle; }
.blr { border: 1px solid #c5dceb; border-radius: 8px; background: #fff; }
.nfl { }

/* ---------- 官方结构兜底：showmessage 弹窗标题/关闭 ---------- */
.flb { border-bottom: 1px solid #ebe0c7; margin-bottom: 10px; padding-bottom: 8px; }
.flb em { font-style: normal; font-size: 15px; color: #2b7acd; font-weight: bold; }
.flbc { color: #999; font-size: 12px; text-decoration: none; }
.flbc:hover { color: #ff7800; }
.altw { padding: 8px 0; }

/* ---------- 官方结构兜底：官方评论框（portal_comment） ---------- */
.tedt {
  border: 1px solid #c5dceb; border-radius: 4px; background: #fff; overflow: hidden;
}
.tedt .bar {
  background: #f3f8fc; border-bottom: 1px solid #c5dceb; padding: 4px 8px; font-size: 12px; color: #666;
}
.tedt .area { width: 100%; height: 76px; border: 0; padding: 8px; box-sizing: border-box;
  font-family: inherit; font-size: 13px; color: #444; outline: none; resize: vertical; }

/* ---------- 官方结构兜底：通用小按钮/复选 ---------- */
.pn em, .pnc em { font-style: normal; }
.pc { vertical-align: middle; }
.vm { vertical-align: middle; }

/* ---------- 终检确认：.wp 主容器兜底（官方缓存样式表会输出 width:1100px，
   这里以同级高优先级声明覆盖，保证不超出 1060px 主卡片） ---------- */
body .wp, #wp.wp {
  width: 100% !important; max-width: 1060px !important;
  box-sizing: border-box; margin-left: auto; margin-right: auto;
}


/* ---------- 发帖页设计稿 1:1：大标题 + 官方投票/属性表单 eis 化 ----------
   设计稿 newthread.html：h1 22px 蓝色粗体 + 2px 蓝色下边框；
   投票表单（post_poll）用官方 .exfm/.sinf/.sadd 结构，此前未定义导致裸奔跳戏 */
.eis-post-h1 {
  font-size: 22px; color: #2b7acd; font-weight: bold;
  padding: 14px 0 10px; border-bottom: 2px solid #2b7acd;
  margin: 6px 0 18px;
}
.eis-post-h1 .fa { margin-right: 6px; }

/* 官方发帖类型切换 tab（发新帖/投票/悬赏/辩论/活动/交易）eis 化 */
.post-card ul.tb { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #2b7acd; padding: 0 0 0; margin: 0 0 14px; list-style: none; }
.post-card ul.tb li { padding: 0; }
.post-card ul.tb li a {
  display: block; padding: 8px 18px; font-size: 13px; color: #2b7acd;
  border: 1px solid #c5dceb; border-bottom: 0; border-radius: 6px 6px 0 0;
  background: #fff; text-decoration: none; position: relative; top: 2px;
}
.post-card ul.tb li.a a, .post-card ul.tb li a:hover {
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff; border-color: #2b7acd;
}

/* 投票表单（post_poll）容器：与设计稿 post-form 同款半透明场景底 */
.post-card .exfm {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.80) 0%, rgba(243,250,255,0.70) 45%, rgba(255,255,255,0.84) 100%),
    url(img/post_bg.jpg?v=2) center / cover no-repeat;
  border: 1px solid #d5e6f3; border-radius: 10px;
  padding: 18px 20px; margin-bottom: 14px;
  box-shadow: 0 2px 14px rgba(43, 122, 205, 0.12);
}
.post-card .exfm h4 { font-size: 14px; color: #2b7acd; margin-bottom: 10px; }
.post-card .exfm .sinf, .post-card .exfm .sadd { box-sizing: border-box; }
.post-card .exfm .sinf { width: 58%; float: left; }
.post-card .exfm .sadd { width: 38%; float: right; background: rgba(243,248,252,0.9); border: 1px solid #d5e6f3; border-radius: 8px; padding: 12px 14px; }
.post-card .exfm .sadd p { margin-bottom: 10px; font-size: 13px; color: #444; }
.post-card .exfm .sadd label { color: #2b527a; }
.post-card .exfm::after { content: ""; display: block; clear: both; }
/* 投票选项输入行 */
.post-card .exfm p { margin-bottom: 8px; }
.post-card .exfm input.px { border: 1px solid #b9d4e8; border-radius: 4px; padding: 6px 8px; background: rgba(255,255,255,0.85); }
.post-card .exfm input.px:focus { border-color: #5b9bd5; outline: none; }
.post-card .exfm textarea.pt { border: 1px solid #b9d4e8; border-radius: 6px; padding: 10px; background: rgba(255,255,255,0.9); font-family: inherit; }
.post-card .exfm a.d { color: #d33; font-size: 12px; margin-right: 6px; }
.post-card .exfm a { color: #2b7acd; text-decoration: none; }
.post-card .exfm a:hover { color: #ff7800; }
/* 官方属性区（发帖选项三列小字段） */
.post-card .rfm .rq { color: #d33; }
/* 窄屏降列 */
@media (max-width: 800px) {
  .post-card .exfm .sinf { width: 100%; float: none; }
  .post-card .exfm .sadd { width: 100%; float: none; margin-top: 10px; }
}


/* ---------- 看帖页 v3：动态彩虹流光卡片（客户指定方向） ----------
   彩虹渐变在楼层/侧栏/快速回复卡片上持续流动，背景半透白保证可读 */

/* 彩虹流光 keyframes：background-position 循环平移 */
@keyframes eis-rainbow-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* 彩虹边框流动（conic 旋转备用） */
@keyframes eis-rainbow-spin {
  0%   { --eis-angle: 0deg; }
  100% { --eis-angle: 360deg; }
}

/* 楼层卡片：白色半透底 + 4px 动态彩虹流光顶边 */
.post-layout .post {
  position: relative;
  background: rgba(255,255,255,0.80);
  border: 1px solid #d5e6f3;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(43,122,205,0.12);
  overflow: hidden;
}
.post-layout .post::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    #ff5f6d 0%, #ffc371 14%, #ffd166 28%, #6dd400 42%,
    #43c6ac 56%, #4a9be0 70%, #a78bfa 84%, #ff5f6d 100%);
  background-size: 300% 100%;
  animation: eis-rainbow-flow 6s linear infinite;
}
/* 主楼：彩虹边框整圈流动（用双层伪元素实现），视觉焦点 */
.post-layout .post:first-child {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)) padding-box,
    linear-gradient(90deg, #ff5f6d, #ffc371, #ffd166, #6dd400, #43c6ac, #4a9be0, #a78bfa, #ff5f6d) border-box;
  background-size: auto, 300% 100%;
  animation: eis-rainbow-flow 6s linear infinite;
}
.post-layout .post:first-child::before { display: none; }

/* 作者栏：浅色底+柔和侧边，让彩虹边框唱主角 */
.post-layout .post .author {
  background: linear-gradient(180deg, #f0f7fd 0%, #e8f2fb 100%);
  border: 1px solid #d5e6f3;
  border-radius: 6px;
  box-shadow: none;
}
.post-layout .post .author .name { color: #1e5a99; }
.post-layout .post .author .role { color: #d97a1f; }

/* 楼层号 */
.post-layout .post-floor { color: #5b7fa6; }
.post-layout .post:first-child .post-floor { color: #2b7acd; }

/* 楼层操作按钮：hover 跟随彩虹 */
.post-layout .post-actions { border-top: 1px dashed #d5e6f3; }
.post-layout .post-actions .tab {
  border-radius: 15px;
  background: #fff;
  border: 1px solid #c5dceb;
  color: #2b7acd;
  transition: all 0.18s;
}
.post-layout .post-actions .tab:hover {
  background: linear-gradient(90deg, #ff5f6d, #ffc371, #ffd166, #6dd400, #43c6ac, #4a9be0, #a78bfa, #ff5f6d);
  background-size: 300% 100%;
  animation: eis-rainbow-flow 3s linear infinite;
  border-color: transparent; color: #fff; text-decoration: none;
  box-shadow: 0 3px 12px rgba(120,90,200,0.35);
}

/* 右栏三张卡：各配一条流动彩虹顶边（相位错开更灵动） */
.post-layout .right .online,
.post-layout .right .links {
  position: relative;
  background: rgba(255,255,255,0.82);
  border: 1px solid #d5e6f3;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(43,122,205,0.10);
  overflow: hidden;
  padding-top: 4px;
}
.post-layout .right .online::before,
.post-layout .right .links::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    #ff5f6d 0%, #ffc371 14%, #ffd166 28%, #6dd400 42%,
    #43c6ac 56%, #4a9be0 70%, #a78bfa 84%, #ff5f6d 100%);
  background-size: 300% 100%;
  animation: eis-rainbow-flow 6s linear infinite;
}
.post-layout .right .online::before { animation-delay: -1.5s; }
.post-layout .right .links:nth-of-type(1)::before { animation-delay: -3s; }
.post-layout .right .links:nth-of-type(2)::before { animation-delay: -4.5s; }
.post-layout .right .online a,
.post-layout .right .links a {
  display: block; padding: 5px 0 5px 14px; position: relative;
  color: #2b527a; border-radius: 4px;
}
.post-layout .right .online a::before,
.post-layout .right .links a::before {
  content: ""; position: absolute; left: 2px; top: 50%; margin-top: -3px;
  width: 5px; height: 5px; border-radius: 50%; background: #4a9be0;
}
.post-layout .right .online a:hover,
.post-layout .right .links a:hover { background: #f0f7fd; text-decoration: none; color: #2b7acd; }

/* 帖子统计行数字：渐变色字，随流动微变 */
.stat-row strong {
  background: linear-gradient(90deg, #ff5f6d, #ffc371, #43c6ac, #4a9be0, #a78bfa, #ff5f6d);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: eis-rainbow-flow 6s linear infinite;
  font-weight: bold;
}

/* 快速回复：动态彩虹边框整圈（同主楼工艺） */
.post-layout .quick-reply {
  position: relative;
  border: 2px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)) padding-box,
    linear-gradient(90deg, #43c6ac, #4a9be0, #a78bfa, #ff8fab, #43c6ac) border-box;
  background-size: auto, 300% 100%;
  animation: eis-rainbow-flow 6s linear infinite;
  box-shadow: 0 3px 16px rgba(43,122,205,0.12);
}
.post-layout .quick-reply h3 { color: #2b7acd; }
.post-layout .quick-reply textarea {
  background: rgba(255,255,255,0.9);
  border: 1px solid #c5dceb;
  border-radius: 4px;
}
.post-layout .quick-reply textarea:focus { border-color: #4a9be0; }
.post-layout .quick-reply .tab.active {
  background: linear-gradient(90deg, #43c6ac, #4a9be0, #a78bfa, #43c6ac);
  background-size: 300% 100%;
  animation: eis-rainbow-flow 3s linear infinite;
  border: none; color: #fff; border-radius: 15px;
}

/* 翻页按钮微透 */
.post-layout .pg a { background: rgba(255,255,255,0.85); }
.post-layout .pg a:hover { background: #f0f7fd; text-decoration: none; }

/* 尊重系统减弱动态偏好 */
@media (prefers-reduced-motion: reduce) {
  .post-layout .post, .post-layout .post:first-child, .post-layout .quick-reply,
  .post-layout .post-actions .tab:hover, .post-layout .right .online::before,
  .post-layout .right .links::before, .stat-row strong,
  .post-layout .quick-reply .tab.active { animation: none; }
}

/* 窄屏适配 */
@media (max-width: 800px) {
  .post-layout .post .author { float: none; width: auto; margin: 0 0 12px; text-align: left; }
  .post-layout .post .author img { float: left; margin-right: 12px; }
}


/* ---------- 发帖页设计稿 1:1（newthread.html 对齐） ----------
   结构：eis-crumb → eis-post-h1 → eis-form-row(标题label) → 官方表单
   样式目标：标题输入框全宽圆角、字数提示、编辑器工具栏圆角一体化、
   橙色星号、按钮 hover 上浮，全部取自设计稿 style.css 632-772 行 */

/* 帖子标题行：label（橙色星号 + 深蓝文字） */
.eis-form-row { margin-bottom: 6px; }
.eis-form-row label {
  display: block; font-size: 13px; color: #2b527a; margin-bottom: 6px;
}
.eis-form-row label .req { color: #ff7800; margin-right: 2px; }

/* 标题输入框（官方 .px 在 .pbt 内）：全宽 + 设计稿圆角样式 */
.post-card .pbt { margin-bottom: 14px; }
.post-card .pbt input.px,
.post-card .pbt #subject {
  width: 100% !important; box-sizing: border-box;
  padding: 11px 12px !important; height: auto !important;
  border: 1px solid #b9d4e8 !important; border-radius: 6px !important;
  font-size: 15px; color: #2b527a;
  background: rgba(255,255,255,0.85) !important;
  outline: none;
}
.post-card .pbt input.px::placeholder { color: #8aa9c2; }
.post-card .pbt input.px:focus {
  border-color: #5b9bd5 !important;
  background: rgba(255,255,255,0.95) !important;
}
.post-card .pbt #subjectchk { font-size: 12px; color: #7d99b0; margin-left: 10px; }
.post-card .pbt .ftid select { border-color: #b9d4e8; border-radius: 6px; }

/* 发帖类型 tab（ul.tb）：设计稿没有此元素，但保留官方功能、穿设计稿皮 */
.post-card ul.tb.cl { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 0; margin-bottom: 12px; }
.post-card ul.tb.cl li a {
  display: block; padding: 8px 18px; font-size: 13px; color: #2b7acd;
  border: 1px solid #c5dceb; border-bottom: 0; border-radius: 6px 6px 0 0;
  background: #fff; text-decoration: none;
}
.post-card ul.tb.cl li.a a, .post-card ul.tb.cl li a:hover {
  background: linear-gradient(180deg, #4a9be0, #2b7acd); color: #fff; border-color: #2b7acd;
}

/* 编辑器工具栏（.edt .bar）：设计稿 editor-bar 浅蓝底圆角顶 */
.post-card .edt .bar {
  border: 1px solid #c4dbec; border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
/* 编辑器工具栏按钮：统一小方块，hover 淡蓝（官方是文字链，收敛视觉） */
.post-card .edt .bar a {
  min-width: 24px; height: 24px; line-height: 24px;
  display: inline-block; text-align: center;
  border-radius: 4px; color: #4a6a8a; font-size: 12px;
  text-decoration: none;
}
.post-card .edt .bar a:hover {
  background: rgba(91,155,213,0.18); color: #2b7acd; text-decoration: none;
}

/* 编辑器正文区：底部圆角收口（顶部已在 bar 上做圆） */
.post-card .edt .area {
  border: 1px solid #c4dbec; border-top: 0;
  border-radius: 0 0 6px 6px;
}

/* 发布按钮行：post-actions 已有基础 flex；补充设计稿细节 */
.post-card .post-actions .post-tip {
  color: #7d99b0; font-size: 12px;
}
/* 发表帖子按钮：hover 橙色渐变 + 上浮（设计稿 705 行） */
.post-card .post-actions .eis-btn-primary:hover {
  background: linear-gradient(180deg, #ff9a3d, #ff7800) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,140,40,0.35);
}
/* 保存草稿 btn-ghost：设计稿 706 行 */
.post-card .post-actions .btn-ghost {
  padding: 10px 24px; background: #f1f5f9; color: #666;
  border: 0; border-radius: 4px; cursor: pointer; font-size: 14px;
}
.post-card .post-actions .btn-ghost:hover { background: #e2e8f0; }

/* 附加选项标签区（#post_extra_tb）：官方小标签 eis 化 */
.post-card #post_extra_tb label {
  height: 24px; line-height: 24px; margin-right: 4px;
  border: 1px solid #c5dceb; border-radius: 4px 4px 0 0;
  background: rgba(255,255,255,0.85); cursor: pointer;
}
.post-card #post_extra_tb label span {
  padding: 0 10px 0 20px; line-height: 24px; font-size: 12px; color: #2b527a;
  background: url(img/dot.gif) no-repeat 8px 8px;
}
.post-card #post_extra_tb label.a {
  border-color: #2b7acd; background: #eaf3fb; box-shadow: none;
}
.post-card #post_extra_tb span.a { background-image: url(img/dot_c.gif); color: #2b7acd; font-weight: bold; }

/* 属性区展开面板（.exfm 系）与投票表单统一半透场景底（前段已定义 .post-card .exfm） */

/* 附件上传面板（.p_pof.upf 弹层）：eis 化 */
.p_pof.upf {
  background: #fff; border: 1px solid #c5dceb; border-radius: 8px;
  box-shadow: 0 8px 30px rgba(30,80,140,0.25);
  overflow: hidden;
}
.p_pof .m_c { padding: 12px 16px; }
.p_pof ul.tb.tb_s { border-bottom: 1px solid #d5e6f3; background: #f3f8fc; margin: 0; padding: 0 8px; }
.p_pof ul.tb.tb_s li a { color: #2b7acd; padding: 8px 12px; display: inline-block; }
.p_pof ul.tb.tb_s li.current a { font-weight: bold; border-bottom: 2px solid #2b7acd; }
.p_pof .flbc { cursor: pointer; color: #d33; }
/* 上传列表行 */
.p_tbl table td { border-bottom: 1px solid #edf3f8; height: 30px; line-height: 24px; }
.upfl { max-height: 300px; overflow: auto; overflow-x: hidden; }
.upfl a { color: #2b7acd; }

/* 验证码区（seccheck）：半透卡片化 */
.post-card #seccheck .px {
  border: 1px solid #b9d4e8 !important; border-radius: 4px;
  background: rgba(255,255,255,0.85) !important;
}

/* 窄屏适配 */
@media (max-width: 800px) {
  .post-card .pbt input.px, .post-card .pbt #subject { font-size: 16px; }
  .post-card ul.tb.cl li a { padding: 7px 12px; }
}


/* ---------- 编辑器/附件面板官方类兜底（scan.py 报告 58 个，全部补齐） ----------
   提取自官方 common.css / editor.css / module.css，色值改为 eis 蓝系 */

/* 编辑器结构类 */
.edt .b1r, .edt .b2r { position: relative; float: left; padding: 0 3px; height: 44px; border-right: 1px solid #e3edf5; border-left: 1px solid #fdfefe; }
.edt .b2r p, .edt .b2r br { clear: both; }
.edt .esb p { float: left; width: 25px; clear: none; }
.edt .esbs p { float: left; clear: none; }
.edt .bar_swch { display: block; clear: both; }
.edt .b1r a { padding-top: 27px; width: 35px; height: 15px; text-align: center; font-size: 11px; font-family: Arial, PMingLiU, sans-serif; -webkit-text-size-adjust: none; }
.edt .b2r a { width: 20px; height: 20px; text-indent: -9999px; display: block; overflow: hidden; }
.edt .b2r a.dp { margin-right: 1px; padding-left: 2px; width: 78px; height: 20px; text-indent: 0; border: 1px solid #b9d4e8; background: #fff url(img/dot_c.gif) no-repeat 100% 0; display: inline-block; }
.edt .b2r a:hover.dp { border-color: #5b9bd5; }
.simpleedt .bar, .simpleedt .b1r, .simpleedt .b2r { height: 22px; }
.editortoolbar { display: none; }
.fnm { width: 130px !important; }
.fszm { width: 55px !important; line-height: normal; }
.fnm li, .fszm li { cursor: pointer; }
.fnm li a, .fszm li a { display: block; padding: 4px 10px; color: #444; }
.fnm li:hover, .fszm li:hover { background: #eaf3fb; }
.nbl { border-left: 0 !important; }
.nbr { border-right: 0 !important; }
.esb { font-size: 11px; }
.hasd {}
.hasd input { float: left; width: 121px; }
.hasd input.crl { padding: 0; width: 20px; height: 20px; background: none; border: 1px solid #b9d4e8; border-width: 1px 0 1px 1px; }
.hasd .spmediuminput { width: 115px; }
.hasd .dpbtn { float: left; }
.hasd label { float: left; }
.dpbtn { float: left; overflow: hidden; text-indent: -9999px; width: 21px; height: 21px; border: 1px solid #b9d4e8; border-left: 0; background: #fff url(img/dot.gif) no-repeat 100% 0; cursor: pointer; }
.dpbtn:hover { background-position: 100% -23px; }
.cur1 { cursor: pointer; }
.fldt { margin-bottom: 8px; }

/* 通用表单控件兜底 */
.px { border: 1px solid #b9d4e8; border-radius: 3px; background: rgba(255,255,255,0.9); color: #2b527a; padding: 2px 4px; line-height: 17px; height: 17px; }
.px.pxs { width: 30px !important; }
.pt { border: 1px solid #b9d4e8; border-radius: 3px; background: rgba(255,255,255,0.9); color: #2b527a; padding: 4px; }
.ps, select { border: 1px solid #b9d4e8; border-radius: 3px; background: rgba(255,255,255,0.9); color: #2b527a; padding: 2px; }
.pr, .pc { vertical-align: middle; margin: 0 5px 1px 0; padding: 0; }
.lb { margin-right: 20px; }
.rq { color: #d33; }
.pbn { padding-bottom: 5px !important; }
.fb { display: block; float: left; margin-right: 6px; height: 26px; line-height: 26px; white-space: nowrap; }
fieldset { margin: 0; padding: 0; border: 0; }
.notice { clear: both; margin: 5px 0; padding: 3px 5px 3px 20px; background: url(img/dot.gif) no-repeat 2px 6px; }
.bbs { border-bottom: 1px solid #d5e6f3 !important; }
.bbda { border-top: 1px dashed #d5e6f3; }
.s_clear { clear: both; }
.filedata { width: 90px; }
.flash, .filedata img { vertical-align: middle; }

/* sinf/sadd 深层布局（投票/属性面板 dl 结构） */
.sinf p, .sadd p { padding: 2px 0; height: 30px; line-height: 30px; }
.sinf .px, .sadd .px { width: 120px; }
.sinf { float: left; padding-right: 14px; width: 380px; border-right: 1px dashed #d5e6f3; box-sizing: border-box; max-width: 58%; }
.sinf h4 { padding: 6px 0; }
.sinf textarea { width: 368px; height: 80px; max-width: 100%; box-sizing: border-box; }
.sinf a.d { margin-top: 8px; }
.sinf object { vertical-align: middle; }
.sinf dl, .sadd dl { overflow: hidden; }
.sinf dl dt, .sadd dl dt { float: left; width: 75px; clear: left; }
.sinf dl dd, .sadd dl dd { margin-bottom: 10px; overflow: hidden; }
.sinf dl dd { width: 300px; max-width: 100%; box-sizing: border-box; }
.sinf dl dd strong { padding: 0 8px; }
.oinf { width: 270px !important; }

/* 发帖类型面板（specialpost 系） */
.specialpost { padding: 10px 0; }
.spimg { margin: 0 10px 0 0; width: 200px; border: 1px solid #b9cde0; }
.spmf { width: 300px; }
.spmf, .spmf3 { overflow: hidden; }
.spmf label, .spmf3 label { display: block; padding-top: 5px; }
.spmf em { float: left; width: 150px; }
.spmf3 em { float: left; margin-right: 12px; }
.spmf3 .px { margin: 0 !important; width: 72px; }
.sppoll { min-height: 60px; }

/* 附件表格列 */
.p_tbl { height: auto; line-height: 160%; border-bottom: none; }
.p_tbl table { table-layout: fixed; width: 100%; }
.p_tbl table td { height: 28px; line-height: 28px; border-bottom: 1px solid #edf3f8; }
.atnu { width: 16px; }
.atna {}
.atna p img, .attswf p img { vertical-align: middle; height: 16px; }
.atna .lighttxt, .attswf .lighttxt { color: #7d99b0 !important; }
.attpr { width: 40px; text-align: center; }
.attv .px, .attp .px { width: 25px; }
.attv { width: 100px; }
.atturl img { height: 20px !important; }
.attc { width: 20px; padding-top: 3px; }
.atds { width: 80px; text-align: center; }
.atds .px { width: 60px; }
.attp { text-align: center; width: 40px; }
.attach_preview { border: 1px solid #c5dceb; box-shadow: 0 0 5px rgba(96,96,96,0.3); }
.post_tablelist { width: 100%; border-collapse: collapse; }
.post_tablelist td, .post_tablelist th { padding: 4px 6px; }

/* 上传面板类 */
.upf { width: 500px; max-width: 92vw; }
.upnf { white-space: normal; }
.upbk { zoom: 1; }
.upfilelist { border-bottom: 1px dashed #d5e6f3; }
.imgl { margin-bottom: 5px; width: 100%; }
.imgl td { padding: 8px 0; text-align: center; vertical-align: bottom; }
.imgl tr:last-child td { border-bottom: none; }
.imgl img { border: 1px solid #7d99b0; max-width: 110px; }
.imgf .px { width: 106px; padding: 2px; height: 14px; line-height: 14px; }
.imgdeleted { opacity: 0.3; }

/* 弹窗结构类（tfm/fwin 内的圆角窗格） */
.tfm .fwin .t_l, .tfm .fwin .t_c, .tfm .fwin .t_r,
.tfm .fwin .m_c, .tfm .fwin .b_l, .tfm .fwin .b_c, .tfm .fwin .b_r { padding: 0; }
.tfm .fwin th { padding: 0; width: auto; }
.tfm .fwin .px { width: auto; }
.tfm .fwin .upfl table td { border-bottom: none; }
.t_l, .t_c, .t_r, .m_l, .m_c, .m_r, .b_l, .b_c, .b_r { overflow: hidden; }
.m_c { padding: 10px 16px; }
.popupfix { position: relative; }
.fieldset { border: 1px solid #d5e6f3; border-radius: 6px; padding: 8px 12px; margin: 8px 0; }
.tbms { padding: 10px 10px 10px 26px; border: 1px dashed #f0b8b8; background: rgba(255,244,244,0.9) url(img/dot.gif) no-repeat 10px 50%; border-radius: 4px; }
