/* ============================================================
   oo电竞 · 服务规则与订单标准 1.4.3
   配色沿用客户端暗黑设计系统(--surface / --line / --txt),
   不引入新的色板,保证和「发布需求」「我的」等页看着是一套。
   高亮词用 .highlight(与 Vue 参考版同名,文案可互相搬)
   ============================================================ */

/* ---------- 页头 ---------- */
.rl-head { padding: 2px 2px 14px; }
.rl-h1 { font-size: 19px; font-weight: 800; color: #ffffff; letter-spacing: .3px; }
.rl-sub { font-size: 12.5px; color: var(--txt2); margin-top: 7px; line-height: 1.65; }

/* ---------- 手风琴 ---------- */
.rl-list { display: flex; flex-direction: column; gap: 10px; }
.rl-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.rl-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 14px; cursor: pointer; transition: background-color .25s;
}
.rl-hd:active { background: var(--surface2); }
.rl-t { font-size: 14.5px; font-weight: 700; color: var(--txt); }
.rl-ar { font-size: 11px; color: var(--txt3); transition: transform .3s ease; }
.rl-item.open .rl-ar { transform: rotate(180deg); }
.rl-item.open .rl-hd { background: var(--surface2); }

/* 展开区高度由 JS 按真实内容量出来,长文不会被截断 */
.rl-bd { max-height: 0; overflow: hidden; transition: max-height .34s ease; background: var(--bg2); }
.rl-inner { padding: 13px 14px 15px; border-top: 1px solid var(--line); }

.rl-rule { font-size: 13px; line-height: 1.75; color: #c9d1d9; }
.rl-rule + .rl-rule { margin-top: 11px; }
.rl-rule .highlight { color: var(--gold); font-weight: 700; }

/* ---------- 底部同意区 ---------- */
.rl-foot {
  margin-top: 16px; padding: 15px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.rl-chk { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--txt2); cursor: pointer; }
/* 自绘勾选框:各版本 WebView 里长得一样,不吃系统默认白底 */
.rl-chk input {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin: 0; flex: none;
  border: 1.5px solid var(--line2); border-radius: 5px;
  background: var(--bg2); position: relative;
}
.rl-chk input:checked { background: var(--grad); border-color: transparent; }
.rl-chk input:checked::after {
  content: ""; position: absolute; left: 5px; top: 1.5px;
  width: 5px; height: 10px;
  border: 2px solid #04121a; border-top: 0; border-left: 0;
  transform: rotate(45deg);
}
.rl-foot .btn { margin-top: 13px; }
.rl-stamp { text-align: center; margin-top: 9px; min-height: 15px; color: var(--txt3); }
