/* 投诉举报页样式：自带基础变量与页头页脚样式，
   即使 ../css/style.css 未加载也能正常显示，方便本地直接打开预览。 */
:root {
  --ink: #141a23;
  --ink-deep: #0e131a;
  --ink-soft: #5c6672;
  --gold: #d9a21b;
  --gold-deep: #b8860f;
  --gold-soft: #f2d071;
  --gold-tint: #fbf3df;
  --orange: #ff6a3d;
  --line: #e7dfcd;
  --cream: #fdfaf3;
  --white: #fff;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.yl-wrap {
  width: auto;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}
.yl-i {
  font-size: 1.12em;
  font-style: normal;
  line-height: 1;
}
.yl-header {
  position: -webkit-sticky;
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.yl-headerBar {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.yl-logo {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
}
.yl-logo img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.yl-logo span {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.yl-logo small {
  display: block;
  margin-top: 3px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.yl-btnHeader {
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.yl-footer {
  padding: 34px 0 24px;
  border-top: 16px solid var(--gold);
  color: #d8dde4;
  background: var(--ink-deep);
  font-size: 11px;
  line-height: 1.8;
}
.yl-footer .yl-wrap {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.yl-footer b {
  color: var(--white);
  font-size: 12px;
}
.yl-footerMeta {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  opacity: 0.72;
}

/* ---------- 正文 ---------- */
.yl-legal {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0 72px;
}
.yl-legalHead {
  margin-bottom: 30px;
  text-align: center;
}
.yl-legalHead h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
}
.yl-legalHead p {
  margin: 0;
  color: #8b95a1;
  font-size: 14px;
}
.yl-legalCard {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(20, 26, 35, 0.08);
}
.yl-formMessage {
  display: none;
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}
.yl-formMessage.is-visible {
  display: block;
}
.yl-formMessage.is-error {
  color: #8a2f21;
  border: 1px solid #f3c3b8;
  background: #fdece8;
}
.yl-formMessage.is-success {
  color: #6b4d05;
  border: 1px solid var(--gold-soft);
  background: var(--gold-tint);
}
.yl-formGroup {
  margin-bottom: 24px;
}
.yl-formLabel {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}
.yl-req {
  margin-right: 4px;
  color: #ff4d4f;
}
.yl-hint {
  display: block;
  margin: 0 0 8px;
  color: #8b95a1;
  font-size: 12px;
  line-height: 1.7;
}
.yl-radioGroup {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.yl-radio {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  cursor: pointer;
}
.yl-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
}
.yl-radio span {
  font-size: 14px;
}
.yl-legalCard textarea,
.yl-legalCard input[type="text"] {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}
.yl-legalCard textarea {
  height: 150px;
  resize: none;
}
.yl-legalCard input[type="text"] {
  height: 48px;
}
.yl-legalCard textarea:focus,
.yl-legalCard input[type="text"]:focus {
  border-color: var(--gold);
}
.yl-legalCard textarea::placeholder,
.yl-legalCard input[type="text"]::placeholder {
  color: #b3bac3;
}
.yl-buttonGroup {
  display: -webkit-flex;
  display: flex;
  gap: 16px;
  margin-top: 28px;
}
.yl-submit {
  min-width: 140px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-size: 15px;
  font-weight: 800;
}
.yl-submit:hover {
  background: var(--gold-soft);
}

/* 正文内容块 */
.yl-legalBlock {
  margin-top: 34px;
}
.yl-legalBlock h2 {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  font-size: 17px;
  line-height: 1.4;
}
.yl-legalList {
  margin: 0;
  padding: 0;
  list-style: none;
}
.yl-legalList li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}
.yl-legalList li::before {
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}
.yl-legalSteps {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yl-legalSteps li {
  flex: 1 1 240px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}
.yl-legalSteps b {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-deep);
  font-size: 13px;
}
.yl-legalSteps span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

@media (max-width: 576px) {
  .yl-legal {
    padding: 24px 0 54px;
  }
  .yl-legalHead h1 {
    font-size: 23px;
  }
  .yl-legalCard {
    padding: 20px 16px;
  }
  .yl-logo {
    font-size: 17px;
  }
  .yl-logo img {
    width: 40px;
    height: 40px;
  }
  .yl-btnHeader {
    padding: 0 14px;
    font-size: 12px;
  }
  .yl-radioGroup {
    gap: 6px 14px;
  }
  .yl-radio {
    min-height: 42px;
  }
  .yl-radio span {
    font-size: 14px;
  }
  .yl-buttonGroup {
    flex-direction: column;
  }
  .yl-submit {
    width: 100%;
  }
  .yl-footer .yl-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .yl-footerMeta {
    align-items: flex-start;
    text-align: left;
  }
}
