/* 集梦影视 · 求片区 */

.jm-rq { max-width: 1200px; margin: 0 auto; padding: 22px 16px 80px; }

.jm-rq-crumb {
  display: flex; align-items: center; gap: 8px;
  color: #6b7899; font-size: 12.5px; margin-bottom: 18px;
}
.jm-rq-crumb a { color: #8b98b8 !important; text-decoration: none !important; }
.jm-rq-crumb a:hover { color: #34e0ff !important; }
.jm-rq-crumb b { color: #edf3ff; font-weight: 700; }
.jm-rq-crumb .sep { color: #3d4a68; }

/* 头部 */
.jm-rq-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,200,87,.14), rgba(255,128,200,.05) 60%, transparent), #101a31;
  border: 1px solid rgba(255,200,87,.32);
  border-radius: 18px; margin-bottom: 16px; flex-wrap: wrap;
}
.jm-rq-hero .left { display: flex; align-items: center; gap: 16px; }
.jm-rq-hero .ic { font-size: 36px; line-height: 1; }
.jm-rq-hero h1 { color: #edf3ff; font-size: 21px; font-weight: 900; margin: 0 0 5px; }
.jm-rq-hero p { color: #8fa4c8; font-size: 12.5px; margin: 0; }
.jm-rq-hero .stats { display: flex; gap: 24px; }
.jm-rq-hero .st { text-align: center; }
.jm-rq-hero .st b { display: block; font-size: 22px; font-weight: 900; line-height: 1.1; color: #ffc857; }
.jm-rq-hero .st b.green { color: #4ade80; }
.jm-rq-hero .st b.amber { color: #ff80c8; }
.jm-rq-hero .st span { color: #6b7899; font-size: 10.5px; }

/* 消息 */
.jm-rq-msg {
  padding: 13px 18px; border-radius: 11px; margin-bottom: 16px;
  font-size: 13px; font-weight: 700;
}
.jm-rq-msg.ok { background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.4); color: #4ade80; }
.jm-rq-msg.err { background: rgba(255,90,90,.13); border: 1px solid rgba(255,90,90,.4); color: #ff7b7b; }

/* 主布局 */
.jm-rq-main {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: start;
}

/* 工具栏 */
.rq-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 14px;
  background: #101a31; border: 1px solid #24314f; border-radius: 13px;
}
.rq-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.rq-tabs .tb {
  padding: 8px 16px; border-radius: 8px;
  background: #0b1222; border: 1px solid #24314f;
  color: #8fa4c8 !important; font-size: 12px; font-weight: 700;
  text-decoration: none !important; transition: .15s; white-space: nowrap;
}
.rq-tabs .tb:hover { border-color: rgba(255,200,87,.5); color: #ffc857 !important; }
.rq-tabs .tb.on {
  background: linear-gradient(135deg, rgba(255,200,87,.24), rgba(255,200,87,.08));
  border-color: #ffc857; color: #ffc857 !important;
}

.rq-sort { display: flex; gap: 12px; }
.rq-sort .so {
  color: #6b7899 !important; font-size: 11.5px; font-weight: 700;
  text-decoration: none !important; transition: .15s;
}
.rq-sort .so:hover { color: #34e0ff !important; }
.rq-sort .so.on { color: #34e0ff !important; }

/* 求片列表 */
.rq-items { display: flex; flex-direction: column; gap: 11px; }

.rq-item {
  padding: 16px 19px;
  background: #101a31; border: 1px solid #24314f; border-radius: 13px;
  transition: .15s;
}
.rq-item:hover { border-color: rgba(255,200,87,.4); }

.ri-hd { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; }
.ri-type {
  flex-shrink: 0; padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 900; white-space: nowrap;
}
.ri-type.movie { background: rgba(63,140,255,.18); color: #6db3ff; }
.ri-type.photo { background: rgba(255,128,200,.18); color: #ff80c8; }
.ri-type.game { background: rgba(167,139,250,.18); color: #c4b5fd; }

.ri-t {
  color: #edf3ff !important; font-size: 14px; font-weight: 800;
  text-decoration: none !important; line-height: 1.5;
  transition: .15s;
}
.ri-t:hover { color: #ffc857 !important; }

.ri-desc {
  color: #8fa4c8; font-size: 12px; line-height: 1.8;
  padding: 10px 14px; margin-bottom: 10px;
  background: #0b1222; border-radius: 9px;
  border-left: 3px solid rgba(255,200,87,.35);
}

.ri-ft {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 10.5px; color: #5d6b8c;
}
.ri-ft .ri-au { color: #8fa4c8; }
.ri-ft .inline { display: inline; margin: 0; }
.ri-ft .ri-del {
  padding: 3px 10px; border-radius: 6px;
  background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.3);
  color: #ff7b7b; font-size: 10px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.ri-ft .ri-del:hover { background: rgba(255,90,90,.22); }
.ri-ft .ri-go {
  margin-left: auto; color: #ffc857 !important;
  font-size: 11px; font-weight: 800; text-decoration: none !important;
}
.ri-ft .ri-go:hover { color: #ffa53c !important; }

/* 右侧 */
.jm-rq-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }

.rq-form {
  padding: 20px 22px;
  background: #101a31; border: 1px solid rgba(255,200,87,.3);
  border-radius: 15px;
}
.rq-form h2 {
  color: #ffc857; font-size: 15px; font-weight: 900;
  margin: 0 0 16px;
}
.rq-form .field { margin-bottom: 14px; }
.rq-form label {
  display: block; color: #8fa4c8; font-size: 11.5px;
  font-weight: 700; margin-bottom: 7px;
}
.rq-form label em { color: #ff7b7b; font-style: normal; }
.rq-form .inp {
  width: 100%; padding: 11px 14px;
  background: #0b1222; border: 2px solid #24314f; border-radius: 9px;
  color: #edf3ff; font-size: 12.5px; font-family: inherit;
  box-sizing: border-box; transition: .15s;
}
.rq-form .inp:focus { outline: none; border-color: #ffc857; }
.rq-form .inp::placeholder { color: #4a5878; }
.rq-form .ta { resize: vertical; line-height: 1.75; }

.type-pick { display: flex; gap: 7px; }
.type-pick .tp {
  flex: 1; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.type-pick .tp input { display: none; }
.type-pick .tp span {
  display: block; width: 100%; padding: 9px 4px;
  background: #0b1222; border: 1.5px solid #24314f; border-radius: 8px;
  color: #8fa4c8; font-size: 11px; font-weight: 700;
  text-align: center; transition: .15s;
}
.type-pick .tp input:checked + span {
  background: rgba(255,200,87,.16);
  border-color: #ffc857; color: #ffc857;
}

.rq-form .btn {
  width: 100%; padding: 12px; border-radius: 10px;
  background: linear-gradient(135deg, #ffc857, #ffa53c);
  border: 0; color: #2b1a00; font-size: 13px; font-weight: 900;
  cursor: pointer; font-family: inherit; transition: .15s;
}
.rq-form .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(255,200,87,.35); }

.rq-form .form-tip {
  margin-top: 10px; text-align: center;
  font-size: 10.5px; color: #5d6b8c;
}

/* 未登录 */
.rq-login {
  padding: 28px 22px; text-align: center;
  background: #101a31; border: 1px solid #24314f; border-radius: 15px;
}
.rq-login .ic { font-size: 32px; display: block; margin-bottom: 12px; }
.rq-login b { display: block; color: #edf3ff; font-size: 13.5px; font-weight: 900; margin-bottom: 16px; }
.rq-login .btn {
  display: block; width: 100%; padding: 12px; border-radius: 10px;
  font-size: 13px; font-weight: 900; text-decoration: none !important;
  margin-bottom: 9px; box-sizing: border-box;
  background: rgba(255,255,255,.06); border: 1px solid #24314f; color: #8fa4c8 !important;
  transition: .15s;
}
.rq-login .btn.primary {
  background: linear-gradient(135deg, #3f8cff, #34e0ff);
  border: 0; color: #06121f !important;
}
.rq-login .btn:hover { transform: translateY(-1px); }

/* 规则 */
.rq-rules {
  padding: 18px 20px;
  background: rgba(52,224,255,.03);
  border: 1px dashed rgba(52,224,255,.24);
  border-radius: 14px;
}
.rq-rules h3 {
  color: #34e0ff; font-size: 12.5px; font-weight: 900;
  margin: 0 0 11px;
}
.rq-rules ol {
  margin: 0; padding-left: 17px;
  font-size: 11px; color: #8fa4c8; line-height: 2;
}

/* 空状态 */
.rq-empty {
  padding: 60px 20px; text-align: center;
  background: #101a31; border: 1px dashed #24314f; border-radius: 14px;
}
.rq-empty .ic { font-size: 44px; opacity: .4; display: block; margin-bottom: 14px; }
.rq-empty b { display: block; color: #c9d6f0; font-size: 14px; font-weight: 800; margin-bottom: 7px; }
.rq-empty i { display: block; color: #5d6b8c; font-size: 11.5px; font-style: normal; }

/* 移动端 */
@media (max-width: 900px) {
  .jm-rq { padding: 16px 12px 60px; }
  .jm-rq-hero { padding: 18px; flex-direction: column; align-items: stretch; gap: 14px; }
  .jm-rq-hero .stats { justify-content: space-around; }
  .jm-rq-main { grid-template-columns: 1fr; }
  .jm-rq-side { position: static; }
  .rq-toolbar { flex-direction: column; align-items: stretch; }
  .rq-tabs { justify-content: center; }
  .rq-sort { justify-content: center; }
  .ri-ft { gap: 10px; }
  .ri-ft .ri-go { margin-left: 0; }
  .rq-form { padding: 16px; }
}


/* ══════════════════════════════════════════════════════════════
   ★ 悬赏功能
   ══════════════════════════════════════════════════════════════ */

/* 悬赏标签 */
.ri-bounty {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  background: rgba(255,200,87,.16);
  color: #ffc857;
}
.ri-bounty.done {
  background: rgba(74,222,128,.16);
  color: #4ade80;
}
.ri-bounty.taken {
  background: rgba(63,140,255,.16);
  color: #6db3ff;
}
.ri-bounty.cancelled {
  background: rgba(107,120,153,.16);
  color: #8fa4c8;
}

/* 悬赏按钮 */
.ri-ft .ri-take {
  padding: 4px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffc857, #ffa53c);
  border: 0;
  color: #2b1a00;
  font-size: 10.5px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  transition: .15s;
}
.ri-ft .ri-take:hover { transform: translateY(-1px); box-shadow: 0 3px 12px rgba(255,200,87,.4); }

.ri-ft .ri-done {
  padding: 4px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border: 0;
  color: #04220f;
  font-size: 10.5px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  transition: .15s;
}
.ri-ft .ri-done:hover { transform: translateY(-1px); }

/* 悬赏表单 */
.bounty-field {
  padding: 12px;
  background: rgba(255,200,87,.05);
  border: 1px solid rgba(255,200,87,.28);
  border-radius: 10px;
}
.bounty-field > label {
  color: #ffc857 !important;
}
.bounty-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.bounty-row .sel {
  flex: 0 0 42%;
  padding: 9px 10px;
  font-size: 11.5px;
  cursor: pointer;
}
.bounty-row .num {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.bounty-tip {
  font-size: 10.5px;
  color: #8a7a4a;
  line-height: 1.7;
}
.bounty-tip b { color: #ffc857; }

/* 统计金色 */
.jm-rq-hero .st b.gold { color: #ffc857; }
