/* ตารางออกผลวันนี้ (lotto.html #ltDay · js/lotto-today.js) — เลย์เอาต์ตามรูปตัวอย่างที่ผู้ใช้ส่ง (แถว แถบสีซ้าย เวลา ชื่อ สถานะขวา)
   สีตามธีมเว็บ (ผู้ใช้สั่ง 24 พ.ย. 2026 "ทำสีให้ดูสวย"): ม่วงเข้ม + ชมพู #e8399a + ม่วง #8b5cf6 */
.ld {
  margin: 14px 0 18px; padding: 14px 12px 8px; border-radius: 18px; position: relative; overflow: hidden;
  background: radial-gradient(110% 70% at 100% 0%, rgba(232, 57, 154, .2), transparent 60%),
              radial-gradient(90% 70% at 0% 100%, rgba(139, 92, 246, .22), transparent 60%),
              linear-gradient(170deg, #241a4a, #160f2f);
  border: 1px solid rgba(167, 139, 250, .28);
  box-shadow: 0 18px 40px rgba(10, 4, 30, .45), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.ld-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px 6px; }
.ld-head h2 { margin: 0; font-size: 16px; font-weight: 600; color: #fff; }   /* ผู้ใช้สั่ง 24 พ.ย. "สีขาวปกติ" */
.ld-head small { font-size: 12.5px; color: #a99cc6; }
.ld-list { display: flex; flex-direction: column; }
.ld-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 14px; position: relative;
  border-bottom: 1px solid rgba(167, 139, 250, .12); transition: background .2s;
}
.ld-row:last-child { border-bottom: 0; }
.ld-row:hover { background: rgba(255, 255, 255, .03); }
.ld-row::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 4px; background: var(--bar); box-shadow: 0 0 10px var(--bar); }
.ld-time { font-size: 17px; font-weight: 600; min-width: 48px; color: #fff; font-variant-numeric: tabular-nums; }
.ld-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: #f2f0fa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-pill { flex: none; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; color: #e6dcff; background: rgba(139, 92, 246, .22); border: 1px solid rgba(167, 139, 250, .25); white-space: nowrap; }
.ld-res { flex: none; font-size: 11px; color: #a99cc6; white-space: nowrap; }
.ld-res b { font-size: 15px; font-weight: 600; margin: 0 7px 0 3px; letter-spacing: .5px; color: #fff; }
.ld-res b:last-child { margin-right: 0; color: #ff7cc0; }
.ld-row.done .ld-time { color: rgba(242, 240, 250, .5); }
.ld-row.wait {
  margin: 4px 0; border: 1px solid rgba(232, 57, 154, .6); border-radius: 14px;
  background: linear-gradient(90deg, rgba(232, 57, 154, .26), rgba(139, 92, 246, .14));
  box-shadow: 0 8px 24px rgba(232, 57, 154, .22);
}
.ld-row.wait .ld-time { color: #ffc2e2; }
.ld-pill.on {
  color: #fff; border-color: transparent; background: linear-gradient(90deg, #ff4fa8, #e8399a);
  box-shadow: 0 0 0 0 rgba(232, 57, 154, .6); animation: ld-ping 1.6s infinite;
}
@keyframes ld-ping { 70% { box-shadow: 0 0 0 7px rgba(232, 57, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 57, 154, 0); } }
@media (prefers-reduced-motion: reduce) { .ld-pill.on { animation: none; } }
@media (max-width: 400px) { .ld-row { gap: 9px; } .ld-time { font-size: 15px; min-width: 42px; } .ld-name { font-size: 13px; } .ld-res b { font-size: 14px; margin: 0 5px 0 2px; } }
