textarea,
input {
  font-family: inherit;
  outline: none;
  border: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

a {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

.gdMarkBox div,
.gdMarkBox input {
  box-sizing: border-box;
}

.gdMarkBox button {
  padding: 0 0;
}


.gdMarkBox {
  max-width: 58rem;
  margin: 0 auto;
}

.gdMarkBox .markTxt{
  padding: 20px 0 0 0;
}

.gdMarkBox ul li {
  margin: 0 0;
}

/* ========== 原有CSS (完整保留) ========== */
.gdMarkBox input:not([type="checkbox"], [type="radio"], [type="submit"], [type="color"], [type="button"], [type="reset"]),
select,
textarea,
textarea[type="text"] {
  padding: 0 0;

}

.gdMarkBox .babyTit {
  position: relative;
  top: -3px;
  color: #1C1E2C;
  padding-bottom: 0;
}

.gdMarkBox .gdMarkBoxTop .comTit strong {
  font-size: 24px;
  line-height: 28px;
  font-weight: bold;
}

.gdMarkBoxTop,
.gdMarkBoxBot {
  margin-bottom: 21px;
  padding: 15px 0 15px;
  border-radius: 20px;
  overflow: hidden;
}

.gdMarkBox .markNumber {
  display: flex;
  justify-content: space-between;
  padding: 1px 0 9px;
}

.gdMarkBox .numberL {
  float: left;
  pointer-events: none;
  margin-top: 6px;
  width: 153px;
  padding-right: 10px;
  height: 130px;
  font-size: 18px;
  line-height: 22px;
  color: #999;
}

.gdMarkBox .numberL p {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #999;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
}

.gdMarkBox .numberL p:first-child {
  margin-top: 0;
  font-size: 60px;
  line-height: 64px;
  color: #28282C;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gdMarkBox .numberL .scoreWrap {
  display: flex;
  justify-content: center;
  margin: 2px 3px 9px;
  position: relative;
}

.gdMarkBox .numberL .scoreWrap input[type="range"] {
  -webkit-appearance: none;
  width: 110px;
  margin: 0;
  outline: 0;
}

.gdMarkBox .numberL .scoreWrap input[type="range" i]::-webkit-slider-runnable-track {
  background: #FDC82A;
  -webkit-mask-size: 22px;
  height: 18px;
  -webkit-mask: url("../img/star.png");
  -webkit-mask-repeat: repeat-x;
}

.gdMarkBox .numberL .scoreWrap input[type="range" i]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 100%;
  box-shadow: 999px 0px 0px 999px #b5b5b5;
}

.gdMarkBox .numberL .scoreWrap input[type=range] {
  -webkit-mask: url("../img/star.png");
  -webkit-mask-size: 22px;
  height: 18px;
  -webkit-mask-repeat: repeat-x;
}

.gdMarkBox .numberL .scoreWrap input[type=range]::-moz-range-track {
  background: #FDC82A;
  height: inherit;
}

.gdMarkBox .numberL .scoreWrap input[type=range]::-moz-range-progress {
  background: #FDC82A;
  height: inherit;
}

.gdMarkBox .numberL .scoreWrap input[type=range]::-moz-range-thumb {
  width: 0;
  opacity: 0;
}

.gdMarkBox .scoreBox {
  display: flex;
  padding-left: 3px;
  margin: 15px 0 16px;
  color: #333;
  font-size: 16px;
  line-height: 31px;
}

.gdMarkBox .scoreBox span {
  color: #ccc;
  font-size: 14px;
  margin-left: 14px;
  padding-top: 1px;
  line-height: 30px;
}

.gdMarkBox .scoreSub {
  height: 31px;
  margin-left: 4px;
}

.gdMarkBox .scoreSub input[type="range"] {
  -webkit-appearance: none;
  width: 155px;
  margin: 0;
  outline: 0;
}

.gdMarkBox .scoreSub input[type="range" i]::-webkit-slider-runnable-track {
  background: #FDC82A;
  -webkit-mask-size: 31px;
  height: 31px;
  -webkit-mask: url("../img/bigstar.png");
  -webkit-mask-repeat: repeat-x;
}

.gdMarkBox .scoreSub input[type="range" i]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 100%;
  box-shadow: 999px 0px 0px 999px #b5b5b5;
}

.gdMarkBox .scoreSub input[type=range] {
  accent-color: #FDC82A;
  -webkit-mask: url("../img/bigstar.png");
  -webkit-mask-size: 31px;
  height: 31px;
  -webkit-mask-repeat: repeat-x;
}

.gdMarkBox .scoreSub input[type=range]::-moz-range-track {
  background: #FDC82A;
  height: inherit;
}

.gdMarkBox .scoreSub input[type=range]::-moz-range-progress {
  background: #FDC82A;
  height: inherit;
}

.gdMarkBox .scoreSub input[type=range]::-moz-range-thumb {
  width: 0;
  opacity: 0;
}

.gdMarkBox .numberR {
  position: relative;
  top: -8px;
  right: 2px;
  display: flex;
  font-size: 16px;
  line-height: 16px;
}

.gdMarkBox .numberR:before {
  content: "";
  position: relative;
  top: 8px;
  vertical-align: top;
  display: block;
  width: 90px;
  height: 126px;
  background: url(../img/comico.png) no-repeat;
  background-size: 1000px 1000px;
  background-position: -523px -119px;
}

.gdMarkBox .numberR ul li {
  display: flex;
  align-items: center;
  color: #999;
  font-size: 14px;
  line-height: 28px;
  height: 28px;
}

.gdMarkBox .numberR ul li:first-child {
  margin-top: 2px;
}

.gdMarkBox .numberR ul li .progressBg {
  margin-left: 14px;
  margin-right: 1px;
  width: 300px;
  height: 8px;
  background: #DFDFDF;
  border-radius: 4px;
  position: relative;
}

.gdMarkBox .numberR ul li .progressBg .progressInner {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  height: 8px;
  background: #B5B5B5;
  border-radius: 4px;
}

.gdMarkBox .numMenu {
  display: block;
  height: 32px;
  line-height: 32px;
  overflow: hidden;
  *zoom: 1;
}

.gdMarkBox .numMenu dt {
  float: left;
  position: relative;
  top: 1px;
  font-size: 24px;
  color: #000;
  font-weight: bold;
  line-height: 32px;
}

.gdMarkBox .numMenu dd {
  float: right;
  position: relative;
  top: 5px;
  margin-right: 15px;
}

.gdMarkBox .numMenu dd a {
  position: relative;
  font-size: 14px;
  color: #808080;
}

.gdMarkBox .numMenu dd a:after {
  content: "";
  position: relative;
  top: 2px;
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: #E6E6E6;
  margin: 0 16px;
}

.gdMarkBox .numMenu dd a:last-of-type:after {
  display: none;
}

.gdMarkBox .numMenu dd a.current {
  color: #FDC82A;
}

.gdMarkBox .userIcon {
  width: 40px;
  height: 40px;
  background-image: url(../img/userpic.png);
  background-repeat: no-repeat;
  background-size: 40px 40px;
}

.gdMarkBox .userIcon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.gdMarkBox .markTxt .inputWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gdMarkBox .markTxt textarea {
  width: 100%;
  ;
  margin-right: 2px;
  display: block;
  padding: 13px 15px;
  height: 82px;
  background: white;
  border-radius: 10px;
  resize: none;
  border: unset;
  font-size: 14px;
  color: #999;
  line-height: 20px;
  border: 1px solid #fac07d;
  box-shadow: none !important;
}

.gdMarkBox .markTxt .reBtn {
  position: relative;
  right: 4px;
  font-size: 16px;
  color: #fff;
  margin-top: 17px;
  width: 160px;
  height: 40px;
  background: #FDC82A;
  border-radius: 6px;
  border: none;
}

.gdMarkBox .scoreList {
  pointer-events: none;
  display: flex;
  margin: 1px 0 5px;
}

.gdMarkBox .scoreList input[type="range"] {
  -webkit-appearance: none;
  width: 70px;
  margin: 4px 4px 4px 0;
  outline: 0;
}

.gdMarkBox .scoreList input[type="range" i]::-webkit-slider-runnable-track {
  background: #FDC82A;
  height: 14px;
  -webkit-mask: url("../img/star.png");
  -webkit-mask-size: 14px;
  -webkit-mask-repeat: repeat-x;
}

.gdMarkBox .scoreList input[type="range" i]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 100%;
  box-shadow: 999px 0px 0px 999px #D2D7D9;
}

.gdMarkBox .scoreList input[type=range] {
  -webkit-mask: url("../img/litstar.png");
  -webkit-mask-size: 14px;
  -webkit-mask-repeat: repeat-x;
  height: 14px;
}

.gdMarkBox .scoreList input[type=range]::-moz-range-track {
  background: #FDC82A;
  height: inherit;
}

.gdMarkBox .scoreList input[type=range]::-moz-range-progress {
  background: #FDC82A;
  height: inherit;
}

.gdMarkBox .scoreList input[type=range]::-moz-range-thumb {
  width: 0;
  opacity: 0;
}

.gdMarkBox .huifu {
  position: absolute;
  right: 0;
  bottom: 0;
  ;
  margin-right: 5px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: 12px;
  color: #999;
}

.gdMarkBox .huifu span {
  position: relative;
  text-align: right;
}

.gdMarkBox .huifu span:before {
  content: "";
  margin-right: 2px;
  vertical-align: top;
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(../img/comico.png) no-repeat;
  background-size: 1000px 1000px;
  background-position: -574px -5px;
  ;
}

.gdMarkBox .markList {
  margin-top: 20px;
  color: #333;
}

.gdMarkBox .markList>ul {
  padding: 0 3px 0 1px;
}

.gdMarkBox .markList ul li>div {
  display: flex;
  padding: 10px 0;
  position: relative;
}

.gdMarkBox .markList ul li p {
  font-size: 14px;
  color: #333;
  line-height: 24px;
}

.gdMarkBox .markList ul li .userInfo {
  flex: 1;
  padding-left: 12px;
}

.gdMarkBox .markList ul li .userInfo p.tip {
  margin-top: -2px;
  font-size: 14px;
  color: #242424;
  white-space: nowrap;
  overflow: hidden;
  line-height: 20px;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
}

.gdMarkBox .markList ul li .userInfo span {
  line-height: 20px;
  font-size: 12px;
  font-weight: normal;
  color: #999;
}

.gdMarkBox .markList ul li ul {
  margin-left: 53px;
}

.gdMarkBox .markList ul li ul li>div {
  padding: 4px 0 8px;
}

.gdMarkBox .markList ul li ul li>div .scoreList {
  margin-left: -1px;
}

.gdMarkBox .markList ul li ul li .userIcon {
  position: relative;
  top: 5px;
  width: 25px;
  height: 25px;
  background-image: url(../img/userpic.png);
  background-repeat: no-repeat;
  background-size: 25px 25px;
}

.gdMarkBox .markList ul li ul li .userIcon img {
  position: relative;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.moreMark {
  display: block;
  position: relative;
  margin: 28px 3px 22px;
  height: 42px;
  font-size: 16px;
  color: #FFB731;
  line-height: 42px;
  background: rgba(255, 183, 49, 0.2);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
}

.gdMarkBox .comment-box {
  width: 100%;
}

.userName {
  display: flex;
  width: 100%;
  margin: 0;
  position: relative;
}

.userName input {
  display: block;
  border: 0;
  padding-left: 12px;
  width: 170px !important;
  line-height: 38px !important;
  height: 38px !important;
  background: rgba(255, 183, 49, 0.2) !important;
  border: 1px solid #FFB731 !important;
  border-radius: 6px !important;
  font-size: 14px;
  color: #999;
  outline: 0;
  text-overflow: ellipsis;
  margin-right: 10px;
  box-shadow: none !important;
}

.userName input[name="captcha"] {
  width: 100px;
}

.userName img {
  cursor: pointer;
  ;
  width: 160px !important;
  height: 40px !important;
  float: left !important;
  display: block;
  border-radius: 6px;
}

.counter {
  text-align: right;
  font-size: 14px;
  margin-top: 5px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
}

.counter.warning {
  color: red;
}

.error {
  position: relative;
  height: 20px;
  padding-right: 60px;
  text-align: right;
  line-height: 20px;
  color: red;
  font-size: 12px;
  margin-top: -20px;
  display: none;
}

.reply {
  position: relative;
  top: -1px;
  display: block;
  border: none;
  font-size: 12px;
  color: #999;
  margin-left: 10px;
  cursor: pointer;
  background: none;
}

.reply:hover {
  color: #FFB731;
}

.good {
  cursor: pointer;
}

/* ========== 自适应核心样式 (修复numberR宽度问题) ========== */
/* PC端容器宽度控制 */
.gdMarkBox {
  /* width: 90%; */
  /* max-width: 1200px; */
  /* margin: 23px auto; */
}

/* 移动端适配 (768px以下) */
@media (max-width: 768px) {

  /* 容器适配 */
  .gdMarkBox {
    width: 95%;
    margin: 15px auto;
  }

  .gdMarkBoxTop,
  .gdMarkBoxBot {
    padding: 15px 10px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
  }

  /* 评分统计区域 - 修复核心 */
  .gdMarkBox .markNumber {
    flex-direction: column;
    padding: 1px 0 15px;
    align-items: flex-start;
    /* 新增：确保子元素正常排列 */
  }

  .gdMarkBox .numberL {
    width: 100%;
    height: auto;
    margin-top: 0;
    padding-right: 0;
    margin-bottom: 20px;
    /* 增加间距 */
    float: none;
    /* 清除原有float影响 */
  }

  .gdMarkBox .numberL p:first-child {
    font-size: 48px;
    line-height: 52px;
  }

  /* 修复numberR宽度问题 */
  .gdMarkBox .numberR {
    /* position: static; */
    width: 100%;
    /* 强制100%宽度 */
    display: flex;
    align-items: flex-end;
  }

  .gdMarkBox .numberR:before {
    display: block;
    /* 移动端隐藏装饰图 */
    top: -24px;
  }

  /* 修复进度条容器 */
  .gdMarkBox .numberR ul {
    width: 60%;
    display: block;
  }

  .gdMarkBox .numberR ul li {
    display: flex;
    align-items: center;
    width: 100%;
    /* 列表项100%宽度 */
    margin-top: 0;
    /* 调整间距 */
  }

  .gdMarkBox .numberR ul li:first-child {
    margin-top: 0;
  }

  .gdMarkBox .numberR ul li .progressBg {
    width: 100%;
    /* 进度条容器100%宽度 */
    max-width: none;
    /* 取消最大宽度限制 */
    flex: 1;
    /* 自动填充剩余空间 */
    margin-left: 0;
    /* 移除左侧间距 */
    margin-right: 0;
    /* 移除右侧间距 */
  }

  /* 评分输入区域 */
  .gdMarkBox .scoreBox {
    flex-wrap: wrap;
    line-height: 28px;
    margin: 10px 0;
    padding-left: 0;
  }

  .gdMarkBox .scoreSub {
    flex: 1;
    width: 100%;
    margin-left: 0;
    /* margin-top: 5px; */
  }

  .gdMarkBox .scoreSub input[type="range"] {
    max-width: 200px;
  }

  .gdMarkBox .scoreBox span {
    margin-left: 0;
    display: block;
    text-align: left;
    padding-top: 0;
  }

  /* 评论输入区域 */
  .gdMarkBox .markTxt .inputWrap {
    padding-left: 0;
    align-items: stretch;
  }

  .gdMarkBox .markTxt textarea {
    width: 100%;
    max-width: none;
    height: 100px;
    margin-right: 0;
    padding: 10px 12px;
  }

  .userName {
    position: static;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    left: 0;
    /* 重置left值 */
  }

  .userName input {
    width: 100%;
    max-width: none;
    margin-right: 0;
    height: 44px;
    line-height: 44px;
  }

  .userName input[name="captcha"] {
    flex: 1;
    min-width: 100px;
  }

  .userName img {
    width: 100%;
    max-width: 150px;
    height: 44px;
    float: none;
  }

  .gdMarkBox .markTxt .reBtn {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  /* 评论列表筛选 */
  .gdMarkBox .numMenu {
    height: auto;
    display: flex;
    justify-content: space-between;
    line-height: 28px;
  }

  .gdMarkBox .numMenu dt {
    float: none;
    font-size: 18px;
    margin-bottom: 5px;
  }

  .gdMarkBox .numMenu dd {
    float: none;
    margin-right: 0;
    top: 0;
  }

  .gdMarkBox .numMenu dd a {
    font-size: 13px;
  }

  .gdMarkBox .numMenu dd a:after {
    margin: 0 10px;
  }

  /* 评论列表 */
  .gdMarkBox .markList ul li ul {
    margin-left: 30px;
  }

  .moreMark {
    margin: 20px 0;
    height: 40px;
    line-height: 40px;
  }
}

/* 小屏手机适配 (480px以下) */
@media (max-width: 480px) {
  .gdMarkBox .numberL p:first-child {
    font-size: 40px;
    line-height: 44px;
  }

  .gdMarkBox .gdMarkBoxTop .comTit strong {
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
  }

  .gdMarkBox .markTxt textarea {
    height: 120px;
  }

  /* 小屏进度条优化 */
  .gdMarkBox .numberR ul li .progressBg {
    max-width: 250px;
    /* 小屏限制最大宽度 */
  }
}