/* 集梦影视 · 签到领免费（免费券） */

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

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

/* ══════ 顶部：券 + 进度 ══════ */
.jm-dly-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  background: linear-gradient(135deg, rgba(255,128,200,.16), rgba(167,139,250,.06) 55%, transparent), #101a31;
  border: 1px solid rgba(255,128,200,.32);
  border-radius: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.jm-dly-hero .left { display: flex; align-items: center; gap: 18px; }

.jm-dly-hero .coupon-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,128,200,.22), rgba(167,139,250,.1));
  border: 1px solid rgba(255,128,200,.4);
}
.jm-dly-hero .coupon-box .num {
  font-size: 40px;
  font-weight: 900;
  color: #ff80c8;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(255,128,200,.45);
}
.jm-dly-hero .coupon-box .unit {
  font-size: 14px;
  font-weight: 800;
  color: #b9a0c8;
}

.jm-dly-hero .txt b {
  display: block;
  color: #edf3ff;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 5px;
}
.jm-dly-hero .txt i {
  display: block;
  color: #8fa4c8;
  font-size: 12px;
  font-style: normal;
}

.jm-dly-hero .right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.jm-dly-hero .streak {
  color: #8fa4c8;
  font-size: 12.5px;
}
.jm-dly-hero .streak b { color: #ffc857; font-size: 17px; font-weight: 900; }

.jm-dly-hero .next {
  color: #6b7899;
  font-size: 11.5px;
}
.jm-dly-hero .next b { color: #34e0ff; font-size: 14px; font-weight: 900; }

.jm-dly-hero .go-sign {
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3f8cff, #34e0ff);
  color: #06121f !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  transition: .15s;
  white-space: nowrap;
}
.jm-dly-hero .go-sign:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(63,140,255,.45);
}

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

/* ══════ 门槛提示 ══════ */
.jm-dly-gate {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255,200,87,.07);
  border: 1px dashed rgba(255,200,87,.35);
  border-radius: 13px;
  margin-bottom: 14px;
}
.jm-dly-gate .ic { font-size: 26px; line-height: 1; }
.jm-dly-gate div { flex: 1; }
.jm-dly-gate b { display: block; color: #ffc857; font-size: 13.5px; font-weight: 900; margin-bottom: 4px; }
.jm-dly-gate i { display: block; color: #a8925a; font-size: 12px; font-style: normal; }
.jm-dly-gate a {
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255,200,87,.18);
  border: 1px solid rgba(255,200,87,.45);
  color: #ffc857 !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.jm-dly-gate a:hover { background: rgba(255,200,87,.3); }

/* ══════ 规则步骤 ══════ */
.jm-dly-rule {
  padding: 20px 24px;
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 16px;
  margin-bottom: 18px;
}
.jm-dly-rule h3 {
  color: #edf3ff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 16px;
}

.jm-dly-rule .steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jm-dly-rule .st {
  flex: 1;
  min-width: 130px;
  padding: 14px 12px;
  background: #0b1222;
  border: 1px solid #24314f;
  border-radius: 11px;
  text-align: center;
}
.jm-dly-rule .st .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(52,224,255,.15);
  color: #34e0ff;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}
.jm-dly-rule .st b {
  display: block;
  color: #c9d6f0;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 4px;
}
.jm-dly-rule .st i {
  display: block;
  color: #5d6b8c;
  font-size: 10.5px;
  font-style: normal;
}

.jm-dly-rule .st.hl {
  background: linear-gradient(135deg, rgba(255,128,200,.14), rgba(167,139,250,.06));
  border-color: rgba(255,128,200,.42);
}
.jm-dly-rule .st.hl .n {
  background: rgba(255,128,200,.2);
  color: #ff80c8;
  font-size: 14px;
}
.jm-dly-rule .st.hl b { color: #ff80c8; }

.jm-dly-rule .ar {
  color: #3d4a68;
  font-size: 14px;
  flex-shrink: 0;
}

/* ══════ 区块标题 ══════ */
.jm-dly-sechd {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 14px;
}
.jm-dly-sechd b { color: #edf3ff; font-size: 15px; font-weight: 900; }
.jm-dly-sechd span { color: #6b7899; font-size: 12px; }

/* ══════ 资源卡 ══════ */
.jm-dly-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jm-dly-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 14px;
  transition: .16s;
}
.jm-dly-card:hover {
  border-color: rgba(255,128,200,.42);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.38);
}
.jm-dly-card.owned {
  opacity: .68;
  border-color: rgba(74,222,128,.3);
}

.jm-dly-card .cov {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 108px;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2a4a, #101a30);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.jm-dly-card .cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jm-dly-card .cov .noimg { font-size: 24px; opacity: .35; }

.jm-dly-card .cov .badge {
  position: absolute;
  top: 0; left: 0;
  padding: 2px 9px;
  border-radius: 0 0 7px 0;
  font-size: 10px;
  font-weight: 900;
  background: rgba(255,128,200,.94);
  color: #2b0a1e;
}
.jm-dly-card .cov .badge.owned {
  background: rgba(74,222,128,.94);
  color: #052e16;
}

.jm-dly-card .bd {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jm-dly-card .ttl {
  color: #edf3ff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.jm-dly-card .ttl:hover { color: #34e0ff !important; }
.jm-dly-card .sub {
  color: #6b7899;
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jm-dly-card .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
}
.jm-dly-card .meta .fname { color: #5d6b8c; }
.jm-dly-card .meta .price {
  padding: 1px 8px;
  border-radius: 5px;
  background: rgba(255,200,87,.12);
  color: #ffc857;
  font-weight: 800;
}

.jm-dly-card .act { flex-shrink: 0; }
.jm-dly-card .frm { margin: 0; }

.jm-dly-card .btn-claim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff80c8, #a78bfa);
  color: #2b0a1e;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  transition: .15s;
  box-shadow: 0 5px 16px rgba(255,128,200,.32);
  white-space: nowrap;
}
.jm-dly-card .btn-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(255,128,200,.48);
}
.jm-dly-card .btn-claim em {
  font-style: normal;
  font-size: 9.5px;
  opacity: .75;
}
.jm-dly-card .btn-claim.loading { opacity: .7; pointer-events: none; }

.jm-dly-card .btn-lock {
  display: block;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid #24314f;
  color: #5d6b8c;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.jm-dly-card .btn-done {
  display: block;
  padding: 10px 22px;
  border-radius: 10px;
  background: rgba(74,222,128,.13);
  border: 1px solid rgba(74,222,128,.38);
  color: #4ade80 !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.jm-dly-card .btn-done:hover { background: rgba(74,222,128,.24); }

/* ══════ 空状态 ══════ */
.jm-dly-empty {
  padding: 54px 20px;
  text-align: center;
  background: #101a31;
  border: 1px dashed #24314f;
  border-radius: 14px;
}
.jm-dly-empty .ic { display: block; font-size: 40px; margin-bottom: 12px; opacity: .4; }
.jm-dly-empty b { display: block; color: #c9d6f0; font-size: 14px; margin-bottom: 16px; }
.jm-dly-empty a {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3f8cff, #34e0ff);
  color: #06121f !important;
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none !important;
}

/* ══════ 底部规则 ══════ */
.jm-dly-note {
  margin-top: 22px;
  padding: 18px 22px;
  background: rgba(52,224,255,.03);
  border: 1px dashed rgba(52,224,255,.2);
  border-radius: 14px;
}
.jm-dly-note h4 { color: #34e0ff; font-size: 12.5px; font-weight: 900; margin-bottom: 10px; }
.jm-dly-note ul { list-style: none; margin: 0; padding: 0; }
.jm-dly-note li {
  color: #8fa4c8;
  font-size: 11.5px;
  line-height: 2;
  padding-left: 15px;
  position: relative;
}
.jm-dly-note li b { color: #ffc857; font-weight: 900; }
.jm-dly-note li::before { content: "·"; position: absolute; left: 4px; color: #34e0ff; font-weight: 900; }

/* ══════ 移动端 ══════ */
@media (max-width: 700px) {
  .jm-dly { padding: 16px 12px 60px; }
  .jm-dly-hero {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .jm-dly-hero .left { gap: 14px; }
  .jm-dly-hero .coupon-box { padding: 11px 18px; }
  .jm-dly-hero .coupon-box .num { font-size: 32px; }
  .jm-dly-hero .right { justify-content: space-between; }
  .jm-dly-hero .go-sign { padding: 10px 18px; }

  .jm-dly-rule .steps { flex-direction: column; }
  .jm-dly-rule .st { width: 100%; }
  .jm-dly-rule .ar { display: none; }

  .jm-dly-card { flex-wrap: wrap; gap: 11px; padding: 12px; }
  .jm-dly-card .cov { width: 66px; height: 88px; }
  .jm-dly-card .bd { flex: 1 1 calc(100% - 78px); }
  .jm-dly-card .act { width: 100%; }
  .jm-dly-card .btn-claim,
  .jm-dly-card .btn-done,
  .jm-dly-card .btn-lock {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .jm-dly-card .btn-claim { flex-direction: row; gap: 8px; padding: 11px; }
}


/* ══════ 我的免费券列表 ══════ */
.jm-dly-coupons {
	margin: 16px 0;
	padding: 18px 20px;
	background: #101a31;
	border: 1px solid rgba(255,200,87,.28);
	border-radius: 14px;
}
.jm-dly-coupons h3 {
	font-size: 14px;
	font-weight: 900;
	color: #edf3ff;
	margin: 0 0 14px;
	padding-bottom: 11px;
	border-bottom: 1px solid rgba(36,49,79,.6);
}
.jm-dly-coupons .cp-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.jm-dly-coupons .cp-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(255,200,87,.06);
	border: 1px solid rgba(255,200,87,.2);
}
.jm-dly-coupons .cp-ic {
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
}
.jm-dly-coupons .cp-bd {
	flex: 1;
	min-width: 0;
}
.jm-dly-coupons .cp-bd b {
	display: block;
	font-size: 12.5px;
	font-weight: 800;
	color: #ffc857;
	margin-bottom: 3px;
}
.jm-dly-coupons .cp-bd i {
	display: block;
	font-style: normal;
	font-size: 10.5px;
	color: #6b7899;
}
.jm-dly-coupons .cp-go {
	flex: 0 0 auto;
	font-size: 10.5px;
	font-weight: 700;
	color: #8fa4c8;
}
@media (max-width: 768px) {
	.jm-dly-coupons { padding: 14px 16px; }
	.jm-dly-coupons .cp-go { display: none; }
}
