/* 双色球 / 大乐透：当日期选 + 分享 */
.lt-batch-bar {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.lt-batch-bar.is-visible { display: flex; }
.lt-batch-time { font-size: 13px; color: #6b7280; font-weight: 700; }
.lt-btn-share {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.lt-btn-share:active { opacity: 0.9; }
.lt-btn-scheme-batch {
  background: #fff;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.lt-line-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.lt-line-balls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.lt-btn-add-scheme {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}
.lt-btn-add-scheme:active { opacity: 0.85; }
.lt-btn-remove-scheme {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #fecaca;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}
.lt-btn-remove-scheme:active { opacity: 0.85; }
.lt-scheme {
  margin: 16px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fffbeb;
  overflow: hidden;
}
.lt-scheme > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  color: #92400e;
  list-style: none;
}
.lt-scheme > summary::-webkit-details-marker { display: none; }
.lt-scheme-count {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #d97706;
  color: #fff;
  font-size: 12px;
  margin-left: 4px;
}
.lt-scheme-body { padding: 0 12px 12px; }
.lt-scheme-empty {
  font-size: 13px;
  color: #9ca3af;
  padding: 8px 0;
}
.lt-scheme-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #fde68a;
}
.lt-scheme-item:last-child { border-bottom: none; }
.lt-scheme-line {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  word-break: break-all;
}
.lt-scheme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.lt-btn-scheme-copy {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.lt-toast {
  position: fixed;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%) translateY(12px);
  max-width: min(90%, 320px);
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.lt-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.lt-today {
  margin: 16px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}
.lt-today > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  color: #111827;
  list-style: none;
}
.lt-today > summary::-webkit-details-marker { display: none; }
.lt-today-count {
  display: inline-block;
  min-width: 1.5em;
  text-align: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #e64141;
  color: #fff;
  font-size: 12px;
  margin-left: 4px;
}
.lt-today-body { padding: 0 12px 12px; }
.lt-today-empty {
  font-size: 13px;
  color: #9ca3af;
  padding: 8px 0;
}
.lt-today-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.lt-today-item:last-child { border-bottom: none; }
.lt-today-meta { flex: 1 1 140px; font-size: 13px; color: #374151; }
.lt-today-meta b { color: #111827; }
.lt-today-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.lt-btn-sm {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lt-btn-sm--primary { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }
.lt-btn-clear-today {
  margin-top: 10px;
  font-size: 12px;
  color: #b91c1c;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 4px 0;
}

/* 规则说明：默认展示摘要，展开查看完整规则与奖级表 */
.lt-rules-wrap { margin-top: 30px; }
.lt-rules-fold {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.lt-rules-fold__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lt-rules-fold__summary::-webkit-details-marker { display: none; }
.lt-rules-fold__peek {
  width: 100%;
}
.lt-rules-fold__peek h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #1d4ed8;
}
.lt-rules-fold__peek p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #374151;
}
.lt-rules-fold__toggle {
  align-self: flex-end;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #2563eb;
  user-select: none;
  white-space: nowrap;
}
.lt-rules-fold__toggle-less { display: none; }
.lt-rules-fold[open] .lt-rules-fold__toggle-more { display: none; }
.lt-rules-fold[open] .lt-rules-fold__toggle-less { display: inline; }
.lt-rules-fold__body {
  padding: 0 16px 16px;
  border-top: 1px dashed #e5e7eb;
}
.lt-rules-fold__body h3 {
  margin: 14px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #1d4ed8;
}
.lt-rules-fold__body ul {
  margin: 0 0 4px 20px;
  line-height: 1.65;
}
.lt-rules-fold__body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}
.lt-page-disclaimer {
  margin-top: 12px;
}
.lt-lottery-crosslink {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  line-height: 1.5;
}
.lt-lottery-crosslink a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}
.lt-lottery-crosslink a:hover {
  text-decoration: underline;
}

/* 自定义确认弹窗 */
.lt-confirm {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lt-confirm[hidden] { display: none !important; }
.lt-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.lt-confirm__box {
  position: relative;
  width: min(100%, 320px);
  padding: 18px 16px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}
.lt-confirm__title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}
.lt-confirm__message {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 16px;
}
.lt-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.lt-confirm__btn {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.lt-confirm__btn--cancel {
  background: #f3f4f6;
  color: #374151;
}
.lt-confirm__btn--ok {
  background: #dc2626;
  color: #fff;
}
