/**
 * 前台统一补充样式（非后台）
 * 在 template/global/app.css（Tailwind）之后加载。
 * 已合并原 info-detail.css，并包含信息图集滑动、主题色按钮、弹窗表单等，
 * 不再依赖 mymps-legacy.css / information.css / button.css。
 */
.mymps-page-info .information_bd {
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  text-align: left;
}

.full .mymps-page-info .information_bd {
  width: 100% !important;
  max-width: 100% !important;
}

.mymps-page-info .information_bd .bd_left {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  border: none !important;
  background: transparent !important;
  height: auto !important;
}

.mymps-page-info .information_bd .bd_right {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  padding-top: 0 !important;
}

.mymps-page-info .information_title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.35 !important;
  overflow: visible !important;
}

.mymps-page-info .information_time {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: inherit !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.mymps-page-info .information_time span {
  float: none !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

.mymps-page-info .bd_lefter {
  margin: 0 !important;
  overflow: visible !important;
  height: auto !important;
}

.info-detail-shell .extra_contact {
  margin-top: 0 !important;
  overflow: visible !important;
  line-height: inherit;
}

.info-detail-shell .extra_contact .extra,
.info-detail-shell .extra_contact .contact {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.info-detail-shell .extra_contact .contact li {
  max-width: 100% !important;
  overflow: visible !important;
  height: auto !important;
}

.info-detail-shell .extra_contact .contact span {
  display: inline-block;
  min-width: 5rem;
  text-align: left;
  margin-right: 0.5rem;
  height: auto;
  line-height: 1.5;
  vertical-align: top;
}

.info-detail-shell .zoombox {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100% !important;
  max-width: min(100%, 380px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 16px !important;
  box-sizing: border-box;
}

.info-detail-shell .zoompic {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 140px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.info-detail-shell .zoompic img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(52vh, 320px) !important;
  object-fit: contain;
}

.info-detail-shell .sliderbox {
  height: auto !important;
  min-height: 72px;
  overflow: hidden !important;
  margin-top: 10px !important;
}

.info-detail-shell .maincon {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

.info-detail-shell .view_hd {
  margin-top: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: inherit !important;
  border-bottom: none !important;
}

.info-detail-shell .view_hd .now {
  float: none !important;
  height: auto !important;
  line-height: inherit !important;
}

.info-detail-shell .contacter {
  overflow: visible !important;
  height: auto !important;
  border-top-style: dashed;
}

.info-detail-shell .notice {
  padding: 0.75rem 1rem !important;
  background: rgb(248 250 252) !important;
  background-image: none !important;
  max-width: none !important;
  height: auto !important;
  overflow: visible !important;
}

.mymps-page-info .bd_left_foot {
  width: 100% !important;
  height: auto !important;
  line-height: 1.6 !important;
  text-indent: 0 !important;
  background: none !important;
  background-image: none !important;
}

.mymps-page-info aside .boxx {
  padding: 0 !important;
  margin-bottom: 0 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgb(226 232 240 / 0.8) !important;
  background-color: #fff !important;
  overflow: visible !important;
  height: auto !important;
}

.mymps-page-info aside .boxx.overflow-hidden {
  overflow: hidden !important;
}

.mymps-page-info aside .boxer {
  padding: 0 !important;
  margin-bottom: 0 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgb(226 232 240 / 0.8) !important;
  background-color: #fff !important;
  overflow: visible !important;
  height: auto !important;
}

.mymps-page-info aside .boxer.overflow-hidden {
  overflow: hidden !important;
}

.mymps-page-info .boxer_hd span {
  float: none !important;
  display: inline !important;
  height: auto !important;
  line-height: inherit !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.info-detail-shell .view_hd ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-detail-shell .relates ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mymps-page-info .boxer_bd.short ul li {
  float: none !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
  text-indent: 0 !important;
  background: none !important;
}

.mymps-page-info .relates li {
  float: none !important;
  width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  overflow: visible !important;
  border-bottom: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mymps-page-info .relates li .relateimg,
.mymps-page-info .relates li .relatetit,
.mymps-page-info .relates li .relatedat {
  float: none !important;
  width: auto !important;
  display: block !important;
}

.mymps-page-info .relates li .relatetit {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

.mymps-page-info .relates li .relatedat {
  flex-shrink: 0 !important;
  margin-top: 0 !important;
}

.mymps-page-info .relates li .relatetit .tit {
  float: none !important;
}

.mymps-page-info .relates li .relatetit .cat {
  float: none !important;
}

.mymps-page-info a.viewmore {
  display: inline-flex !important;
  margin-top: 0 !important;
  width: auto !important;
  line-height: inherit !important;
}

.info-detail-shell .zhaopiner {
  float: none !important;
  width: 100% !important;
  overflow: visible !important;
}

.mymps-page-info .boxer .boxer_bd > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mymps-page-info .boxer .boxer_bd > ul > li {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  line-height: 1.5 !important;
  text-indent: 0 !important;
  background: none !important;
  padding: 0.4rem 0 !important;
  border-bottom: 1px solid #f1f5f9;
}

.mymps-page-info .boxer .boxer_bd > ul > li:last-child {
  border-bottom: none;
}

/* ========== 信息图集缩略图条（原 information.css，路径相对 template/global） ========== */
.info-detail-shell .zoompic {
  background: url(../../images/information/loading.gif) no-repeat 50% 50%;
}

.info-detail-shell .sliderbox .arrow-btn {
  margin-top: 13px;
  width: 38px;
  height: 45px;
  background: url(../../images/information/arrow-btn.png) no-repeat;
  border: 0;
  flex-shrink: 0;
}

.info-detail-shell .sliderbox #btn-left {
  float: left;
  background-position: 0 0;
  cursor: pointer;
}

.info-detail-shell .sliderbox #btn-left.dasabled {
  background-position: 0 -41px;
  cursor: default;
  opacity: 0.65;
}

.info-detail-shell .sliderbox #btn-right {
  float: right;
  background-position: -38px 0;
  cursor: pointer;
}

.info-detail-shell .sliderbox #btn-right.dasabled {
  background-position: -38px -41px;
  cursor: default;
  opacity: 0.65;
}

.info-detail-shell .sliderbox .sliderr {
  position: relative;
  float: left;
  display: inline;
  overflow: hidden;
  margin: 0 0 0 1px;
  width: 202px;
  height: 105px;
}

.info-detail-shell .sliderbox .sliderr ul {
  position: absolute;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-detail-shell .sliderbox .sliderr li {
  float: left;
  width: 67px;
  height: 70px;
  text-align: center;
  list-style: none;
}

.info-detail-shell .sliderbox .sliderr li img {
  border: solid 2px #dfdfdf;
  width: 58px;
  height: 55px;
  vertical-align: middle;
}

.info-detail-shell .sliderbox .sliderr li.currentt img {
  border: solid 2px #ff6900;
}

/* 置顶角标背景（body 上 .sy_zhiding 等类名） */
.mymps-page-info .sy_zhiding {
  background-image: url(../../images/information/sy_zhiding.gif);
  background-position: 97% 0;
  background-repeat: no-repeat;
}

.mymps-page-info .dl_zhiding {
  background-image: url(../../images/information/dl_zhiding.gif);
  background-position: 97% 0;
  background-repeat: no-repeat;
}

.mymps-page-info .xl_zhiding {
  background-image: url(../../images/information/xl_zhiding.gif);
  background-position: 97% 0;
  background-repeat: no-repeat;
}

.mymps-page-info .tuijian {
  background-image: url(../../images/information/tuijian.gif);
  background-position: 97% 0;
  background-repeat: no-repeat;
}

/* 主题色「查看联系方式」._bm（body.blue / .green / .orange / .red） */
.blue .extra_contact .contact .qqbm a._bm,
body.blue .extra_contact .contact .qqbm a._bm {
  background-color: #3592e2;
}

.blue .extra_contact .contact .qqbm a._bm:hover,
body.blue .extra_contact .contact .qqbm a._bm:hover {
  background-color: #2283d4;
}

.green .extra_contact .contact .qqbm a._bm,
body.green .extra_contact .contact .qqbm a._bm {
  background-color: #42b712;
}

.green .extra_contact .contact .qqbm a._bm:hover,
body.green .extra_contact .contact .qqbm a._bm:hover {
  background-color: #47c510;
}

.orange .extra_contact .contact .qqbm a._bm,
body.orange .extra_contact .contact .qqbm a._bm {
  background-color: #f78015;
}

.orange .extra_contact .contact .qqbm a._bm:hover,
body.orange .extra_contact .contact .qqbm a._bm:hover {
  background-color: #ff8800;
}

.red .extra_contact .contact .qqbm a._bm,
body.red .extra_contact .contact .qqbm a._bm {
  background-color: #c40000;
}

.red .extra_contact .contact .qqbm a._bm:hover,
body.red .extra_contact .contact .qqbm a._bm:hover {
  background-color: #d5303a;
}

.extra_contact .contact .qqbm a._bm {
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

.extra_contact .contact .qqbm a._bm:hover {
  text-decoration: none;
}

.extra_contact .contact .tel.red,
.extra_contact .contact font.tel.red {
  color: #dc2626;
  font-weight: 700;
}

.extra_contact .contact a._chat {
  margin-left: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.2rem 0.6rem;
  font-size: 0.875rem;
  text-decoration: none;
  color: #334155;
}

.extra_contact .contact a._chat:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.extra_contact .contact .qqbm a._qq {
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  margin-left: 0.35rem;
}

.extra_contact .contact .qqbm a._qq:hover {
  background: #dc2626;
  color: #fff;
  text-decoration: none;
}

/* ========== box.php 弹窗：替代 button.css 常用控件 ========== */
input.input,
input.text {
  box-sizing: border-box;
  width: 100%;
  max-width: 14rem;
  height: 2.25rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0f172a;
  vertical-align: middle;
}

input.input:focus,
input.text:focus {
  outline: none;
  border-color: #2dd4bf;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.25);
}

input.input-large {
  max-width: 16rem;
}

textarea.input {
  height: auto;
  min-height: 4rem;
  padding: 0.5rem 0.6rem;
}

input.checkbox {
  width: auto;
  height: auto;
  margin-right: 0.35rem;
  vertical-align: middle;
  border: none;
}

img.authcode {
  display: block;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  max-width: 100%;
  height: auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  cursor: pointer;
}

input.mymps,
button.mymps,
input[type="submit"].mymps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 1rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #0d9488;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

input.mymps:hover,
button.mymps:hover,
input[type="submit"].mymps:hover {
  background-color: #0f766e;
}

input.mymps.mini,
button.mymps.mini,
input.mini.mymps {
  min-height: 2rem;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

input.gray,
input.gray.mini,
button.gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

input.gray:hover,
input.gray.mini:hover,
button.gray:hover {
  background: #e2e8f0 !important;
}

/* 置顶弹窗样式见 template/global/zhiding.css，仅在 box/upgrade.html 中引用，避免污染全站 body */

/* ========== 发布信息 · 选择分类（多级折叠 + 步骤条） ========== */
.mymps-post-pick .post-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #64748b;
}

.mymps-post-pick .post-steps .post-step-num {
  display: inline-flex;
  height: 1.75rem;
  min-width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

.mymps-post-pick .post-steps .is-current {
  font-weight: 600;
  color: #0f766e;
}

.mymps-post-pick .post-steps .is-current .post-step-num {
  background: #0d9488;
  color: #fff;
}

.mymps-post-pick details.mymps-cat-group {
  margin-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.mymps-post-pick details.mymps-cat-group summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
}

.mymps-post-pick details.mymps-cat-group summary::-webkit-details-marker {
  display: none;
}

.mymps-post-pick details.mymps-cat-group summary::after {
  content: "";
  float: right;
  margin-top: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.mymps-post-pick details.mymps-cat-group[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.55rem;
}

.mymps-post-pick .mymps-cat-children {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
  .mymps-post-pick .mymps-cat-children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mymps-post-pick .mymps-cat-children a {
  display: block;
  border-radius: 0.5rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f766e;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mymps-post-pick .mymps-cat-children a:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.mymps-post-pick .post-cat-search {
  margin-top: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem;
}

.mymps-post-pick .post-cat-search .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

.mymps-post-pick .post-cat-search label {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.mymps-post-pick .post-cat-search .pstxt {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.mymps-post-pick .post-cat-search .psbtn {
  cursor: pointer;
  border-radius: 0.5rem;
  border: none;
  background: #0d9488;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.mymps-post-pick .post-cat-search .psbtn:hover {
  background: #0f766e;
}

.mymps-post-pick .backall {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.mymps-post-pick .backall a {
  color: #0f766e;
  font-weight: 500;
}

.mymps-post-pick .backall a:hover {
  text-decoration: underline;
}

/* ========== 会员注册第二步（formlogin / 步骤条） ========== */
.registerpart .step2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  color: #64748b;
}

@media (min-width: 640px) {
  .registerpart .step2 {
    font-size: 0.875rem;
  }
}

.registerpart .step2 span.cur {
  font-weight: 600;
  color: #0f766e;
}

.registerpart .step2 a {
  color: #0d9488;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.registerpart .partname {
  margin: 1.25rem 0 0.75rem;
}

.registerpart .partname .li1 a {
  display: inline-block;
  border-radius: 0.5rem;
  background: #f0fdfa;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f766e;
}

.registerpart .partname .li1 a.current {
  background: #ccfbf1;
}

.registerpart table.formlogin {
  width: 100%;
  border-collapse: collapse;
}

.registerpart .formlogin .tdright {
  width: 7.5rem;
  padding: 0.65rem 0.5rem 0.65rem 0;
  vertical-align: top;
  text-align: right;
  font-size: 0.875rem;
  color: #475569;
}

@media (min-width: 640px) {
  .registerpart .formlogin .tdright {
    width: 9rem;
  }
}

.registerpart .formlogin td:not(.tdright) {
  padding: 0.5rem 0;
}

.registerpart .formlogin input.input,
.registerpart .formlogin input.input-large,
.registerpart .formlogin input.input-small {
  max-width: 22rem;
}

.registerpart input.go_reg,
.registerpart input#agreereg {
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  background: #0d9488;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
}

.registerpart input.go_reg:hover,
.registerpart input#agreereg:hover {
  background: #0f766e;
}

.registerpart .pw_check {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.registerpart .pw_check span strong {
  color: #ea580c;
}

.registerpart .qfont {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.registerpart #sendmsg,
.registerpart input#sendmsg {
  margin-top: 0.35rem;
  cursor: pointer;
  border-radius: 0.375rem;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  color: #334155;
}

.registerpart #sendmsg:hover {
  background: #e2e8f0;
}

.registerpart .xiyi {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.75rem;
}

.registerpart #xieyi,
.registerpart .xieye_nr {
  max-height: 14rem;
  overflow: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #475569;
}

.registerpart .xieye_nr p {
  margin-bottom: 0.75rem;
}

.registerpart .c_orange {
  color: #ea580c;
}

/* 会员协议正文（富文本 / Word 粘贴）：正常渲染 HTML，避免撑破弹窗 */
.agreement-doc-body {
  word-break: break-word;
}
.agreement-doc-body img {
  max-width: 100%;
  height: auto;
}
.agreement-doc-body table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

/* 会员协议弹窗：不依赖 Tailwind 任意类；fixed 挂在 body 上避免被父级 transform 影响 */
.mymps-agreement-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

.mymps-agreement-modal.mymps-agreement-modal--open {
  display: flex;
}

.mymps-agreement-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.mymps-agreement-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 42rem;
  max-height: min(90vh, 40rem);
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mymps-agreement-modal__head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.mymps-agreement-modal__title {
  margin: 0;
  min-width: 0;
  flex: 1;
  padding-right: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}

.mymps-agreement-modal__close {
  flex-shrink: 0;
  margin: 0;
  padding: 0.375rem 0.625rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.mymps-agreement-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.mymps-agreement-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #1e293b;
  -webkit-overflow-scrolling: touch;
}

.mymps-agreement-modal__foot {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  text-align: right;
  border-top: 1px solid #f1f5f9;
}

.mymps-agreement-modal__btn {
  display: inline-block;
  margin: 0;
  padding: 0.625rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: #0d9488;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.mymps-agreement-modal__btn:hover {
  background: #0f766e;
}

/* ========== 前台信息发布页：压过 legacy post.css / mymps-legacy 中的 .publish-detail 固定宽高 ========== */
.mymps-page-publish .publish-detail {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1e293b;
}

.mymps-page-publish .publish-detail textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 280px !important;
  box-sizing: border-box;
}

.mymps-page-publish .publish-detail .tox-tinymce {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.mymps-page-publish .p-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.mymps-page-publish .p-label {
  flex: 0 0 7.5rem;
  max-width: 100%;
  font-weight: 500;
  color: #475569;
  padding-top: 0.35rem;
}

.mymps-page-publish .publish-detail-item {
  flex: 1 1 12rem;
  min-width: 0;
}

.mymps-page-publish .step2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  color: #64748b;
}

.mymps-page-publish .step2 span.cur {
  color: #0f766e;
  font-weight: 600;
}

.mymps-page-publish .fabu1,
.mymps-page-publish input.fabu1 {
  min-height: 2.75rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.75rem;
  border: 0;
  background: #0d9488 !important;
  color: #fff !important;
  font-weight: 600;
  cursor: pointer;
}

.mymps-page-publish .fabu1:hover {
  background: #0f766e !important;
}

.mymps-page-publish .mymps-multi-img-wrap,
.mymps-page-publish .mymps-multi-img-editor {
  width: 100%;
  max-width: 36rem;
}

.mymps-page-publish .mymps-multi-img-drop {
  cursor: pointer;
}

.mymps-page-publish .mymps-multi-img-drop:focus-within {
  border-color: rgb(94 234 212 / 0.9);
  background-color: rgb(240 253 250 / 0.5);
}

/* ========== 顶部 #iflogin：开通会员按钮 + 悬停下拉卡片（由 iflogin.js 注入，勿用 Tailwind 写在 JS 里） ========== */
#iflogin {
  overflow: visible !important;
  position: relative;
  z-index: 51;
}

.mymps-iflogin-levelup-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.mymps-iflogin-levelup-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid #475569;
  background: linear-gradient(180deg, #475569 0%, #334155 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.mymps-iflogin-levelup-trigger::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fbbf24'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1h14v1z'/%3E%3C/svg%3E");
}

.mymps-iflogin-levelup-trigger:hover,
.mymps-iflogin-levelup-wrap:hover .mymps-iflogin-levelup-trigger {
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
  border-color: #64748b;
}

.mymps-iflogin-levelup-dd {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 17rem;
  max-width: 22rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  padding: 0.45rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

.mymps-iflogin-levelup-wrap:hover .mymps-iflogin-levelup-dd,
.mymps-iflogin-levelup-wrap:focus-within .mymps-iflogin-levelup-dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mymps-iflogin-lu-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.65rem;
  padding: 0.85rem 0.9rem 0.95rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mymps-iflogin-lu-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.mymps-iflogin-lu-card--gold {
  background: linear-gradient(135deg, #fff7e6 0%, #fde68a 45%, #fbbf24 100%);
  color: #78350f;
}

.mymps-iflogin-lu-card--diamond {
  background: linear-gradient(135deg, #1e293b 0%, #312e81 55%, #4c1d95 100%);
  color: #f1f5f9;
}

.mymps-iflogin-lu-card--default {
  background: linear-gradient(135deg, #ecfdf5 0%, #ccfbf1 50%, #99f6e4 100%);
  color: #134e4a;
}

.mymps-iflogin-lu-card__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mymps-iflogin-lu-card__list {
  margin: 0 0 0.65rem;
  padding: 0 0 0 1.1rem;
  font-size: 0.75rem;
  line-height: 1.55;
  text-align: left;
}

.mymps-iflogin-lu-card__list li {
  margin-bottom: 0.15rem;
}

.mymps-iflogin-lu-card__cta {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mymps-iflogin-lu-card--gold .mymps-iflogin-lu-card__cta {
  background: linear-gradient(90deg, #ea580c, #dc2626);
  color: #fff;
}

.mymps-iflogin-lu-card--diamond .mymps-iflogin-lu-card__cta {
  background: linear-gradient(90deg, #fde68a, #fcd34d);
  color: #422006;
}

.mymps-iflogin-lu-card--default .mymps-iflogin-lu-card__cta {
  background: linear-gradient(90deg, #0d9488, #0f766e);
  color: #fff;
}