.result-summary.jlt-root {
  display: block !important;
  max-width: 990px;
  margin: 20px auto 0;
  padding: 0;
}

.jlt-shell {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  background: linear-gradient(145deg, #050505, #17120a);
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
}

.jlt-banner {
  padding: 18px;
  border-bottom: 2px solid var(--gold);
  background: linear-gradient(90deg, #080808, #a86d00, #f6c344, #a86d00, #080808);
  color: #080604;
  text-align: center;
}

.jlt-banner strong {
  display: block;
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: 1px;
}

.jlt-banner span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 3px;
}

.jlt-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 13px 15px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.jlt-scroll { overflow-x: auto; }

.jlt-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #0d0d0d;
  color: #fff;
}

.jlt-table th,
.jlt-table td {
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.16);
  text-align: center;
  font-weight: 850;
}

.jlt-table th {
  background: #8a5900;
  color: #ffd700;
  font-size: 13px;
  text-transform: uppercase;
}

.jlt-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.jlt-table tbody tr:hover { background: rgba(246,195,68,.10); }

.jlt-number {
  color: var(--gold);
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 1000;
  letter-spacing: 4px;
  text-shadow: 0 0 12px rgba(246,195,68,.38);
}

.jlt-market {
  text-align: left !important;
  padding-left: 18px !important;
  white-space: pre-line;
  color: #ffd700;
  line-height: 1.55;
}

.jlt-market strong { display: block; color: var(--gold); font-size: 16px; }
.jlt-market small { color: var(--muted); font-size: 11px; }

.jlt-section-title {
  margin: 36px 0 13px;
  color: var(--gold);
  font-size: clamp(22px, 4vw, 31px);
  text-align: center;
}

.jlt-date {
  padding: 13px;
  color: #ffd700;
  font-weight: 900;
  text-align: center;
}

.jlt-history-number {
  color: #fff;
  font-weight: 900;
}

.jlt-root > .jlt-scroll {
  overflow: hidden;
  border: 1px solid rgba(255,215,0,.34);
  border-radius: 14px;
}

.jlt-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 17px;
}

.jlt-mini-title {
  padding: 12px;
  background: linear-gradient(90deg, #17120a, #a86d00, #17120a);
  color: #fff;
  font-weight: 1000;
  text-align: center;
}

.jlt-history-grid .jlt-table { min-width: 470px; }

.jlt-prizes {
  width: min(760px, calc(100% - 30px));
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid rgba(168,109,0,.38);
  border-radius: 13px;
  background: #f2f2f2;
  color: #100b04;
}

.jlt-prize-row {
  display: grid;
  grid-template-columns: minmax(145px,.8fr) 1.2fr;
  border-bottom: 1px solid rgba(168,109,0,.38);
}

.jlt-prize-row:last-child { border-bottom: 0; }
.jlt-prize-row span { padding: 14px; text-align: center; font-weight: 1000; }
.jlt-prize-row span:first-child { background: #8a5900; color: #fff; }
.jlt-prize-row span:last-child { font-size: 24px; letter-spacing: 5px; }

.jlt-subtitle {
  padding: 11px;
  background: #8a5900;
  color: #ffd700;
  font-weight: 1000;
  text-align: center;
}

.jlt-number-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  background: #eee;
  color: #150e03;
}

.jlt-number-grid span {
  padding: 12px 8px;
  border: 1px solid rgba(168,109,0,.38);
  font-weight: 1000;
  text-align: center;
}

.jlt-balls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  padding: 25px 16px;
}

.jlt-ball {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #130c02;
  font-size: 18px;
  font-weight: 1000;
  box-shadow: 0 0 14px rgba(246,195,68,.52);
}

.jlt-ball-plus { background: #fff; color: #a86d00; }

.jlt-result4d {
  padding: 0 20px 24px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  text-align: center;
}

.jlt-hk-heading {
  margin: 28px 0 8px;
  color: #fff;
  font-size: clamp(20px,3vw,27px);
  text-align: left;
}

.jlt-hk-shell {
  margin-top: 0;
  padding-bottom: 12px;
}

.jlt-hk-banner h2 {
  margin: 0;
  color: #080604;
  font-size: 21px;
  line-height: 1.05;
}

.jlt-hk-status {
  padding: 10px;
  color: #ffd700;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.jlt-result-card {
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 19px 12px 18px;
  border-radius: 13px;
  background: linear-gradient(#fff,#eee);
  color: #17000e;
  text-align: center;
}

.jlt-market-label {
  color: #8a5900;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 1px;
}

.jlt-main-number {
  margin-top: 2px;
  font-size: clamp(42px,7vw,60px);
  font-weight: 1000;
  line-height: 1.15;
  letter-spacing: 8px;
}

.jlt-result-date {
  margin: 2px 0 14px;
  font-size: 13px;
  font-weight: 900;
}

.jlt-result-card .jlt-prizes {
  width: min(580px,100%);
  margin-bottom: 0;
}

.jlt-live {
  display: none;
  margin-left: 6px;
  color: #39ff14;
  font-size: 11px;
}

.jlt-live.is-live { display: inline; }
.jlt-live.is-live::before {
  content: '';
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 9px #39ff14;
  animation: jltPulse 1s infinite alternate;
}

@keyframes jltPulse { from { opacity: .4; transform: scale(.85); } to { opacity: 1; transform: scale(1.15); } }

@media (max-width: 780px) {
  .jlt-history-grid { grid-template-columns: 1fr; }
  .jlt-number-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  .result-summary.jlt-root { margin-top: 15px; }
  .jlt-shell { border-radius: 13px; }
  .jlt-banner span { font-size: 11px; letter-spacing: 2px; }
  .jlt-table th,.jlt-table td { padding: 11px 8px; font-size: 12px; }
  .jlt-number { font-size: 17px; letter-spacing: 2px; }
  .jlt-prize-row { grid-template-columns: 125px 1fr; }
  .jlt-prize-row span { padding: 12px 8px; }
  .jlt-prize-row span:last-child { font-size: 20px; letter-spacing: 3px; }
}
