.results-page { padding: 0 0 76px; background: #f3f4f6; }
.results-hero { border-bottom: 1px solid var(--line); background: #fff; }
.results-hero-inner { min-height: 230px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.results-hero h1 { margin: 0; font-size: 36px; line-height: 1.25; letter-spacing: -.05em; font-weight: 850; }
.results-hero h1 + span { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.results-hero .breadcrumb a { color: inherit; text-decoration: none; }
.results-hero-shortcut { display: grid; justify-items: end; gap: 9px; }
.results-hero-shortcut > span { color: #7f8791; font-size: 11px; font-weight: 750; }
.results-archive { margin-top: 34px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 14px 42px rgba(39,43,49,.07); }
.draw-table { border-top: 0; }
.draw-table-head, .draw-list-row { display: grid; grid-template-columns: 86px 330px minmax(260px, 1fr) 122px 108px; align-items: center; column-gap: 18px; }
.draw-table-head { min-height: 42px; padding: 0 28px; border-bottom: 1px solid #dfe2e5; background: #fafafa; color: #747a81; font-size: 10px; text-align: center; }
.draw-list-row { position: relative; min-height: 130px; padding: 16px 28px; border-bottom: 1px solid #e1e4e7; background: #fff; }
.draw-list-row:last-child { border-bottom: 0; }
.draw-list-row.latest { background: #fffaf8; }
.draw-list-row.latest::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #f45140; }
.draw-list-round { display: grid; justify-items: center; gap: 7px; }
.draw-list-round span { border-radius: 999px; background: #f45140; padding: 4px 7px; color: #fff; font-size: 8px; font-weight: 900; }
.draw-list-round strong { font-size: 16px; font-weight: 750; }
.draw-number-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.draw-number-row .result-ball { width: 34px; height: 34px; flex: 0 0 34px; font-size: 11px; box-shadow: 0 6px 11px rgba(29,35,40,.17), 0 1px 3px rgba(29,35,40,.08); }
.draw-number-row > i { margin: 0 3px; color: #777d84; font-size: 17px; font-style: normal; font-weight: 700; }
.draw-list-prizes { width: min(100%, 260px); justify-self: center; display: grid; }
.list-prize-line { min-height: 29px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 5px; border-bottom: 1px solid #e9ebed; color: #6f757c; font-size: 11px; }
.list-prize-line:last-child { border-bottom: 0; }
.list-prize-line span { font-weight: 700; }
.list-prize-line strong { font-weight: 600; }
.list-prize-line small { color: #8bc8ea; font-size: 9px; font-weight: 700; }
.list-prize-1 { color: #1f252b; }
.list-prize-1 strong { font-size: 13px; font-weight: 850; }
.draw-list-date { text-align: center; color: #333940; font-size: 12px; }
.draw-list-action { display: flex; justify-content: center; }
.draw-list-action a { min-width: 88px; height: 42px; border: 1px solid #d9dde1; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #252a30; font-size: 11px; font-weight: 800; text-decoration: none; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.draw-list-action a:hover { border-color: #f45140; background: #fff5f2; color: #e64636; }
.results-notice { margin: 18px 30px 22px; color: #92969c; font-size: 9px; line-height: 1.6; }

.results-pagination {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-top: 1px solid #e4e6e8;
  background: #fff;
}
.results-pagination button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe2e6;
  border-radius: 50%;
  background: #fff;
  color: #30353b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.results-pagination button:hover:not(:disabled) {
  border-color: #f45140;
  background: #fff5f2;
  color: #e64636;
}
.results-pagination button:disabled {
  border-color: #eceef0;
  color: #c7cbd0;
  cursor: default;
}
.results-pagination strong {
  min-width: 58px;
  color: #4d535b;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}
.results-pagination strong span {
  color: #20252b;
}


.detail-hero .results-hero-inner { min-height: 200px; }
.result-detail-card { margin-top: 34px; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 14px 42px rgba(39,43,49,.07); }
.detail-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid #e4e6e8; }
.detail-card-head p { margin: 0 0 7px; color: #f45140; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.detail-card-head h2 { margin: 0; font-size: 24px; letter-spacing: -.045em; }
.detail-card-head h2 + span { display: block; margin-top: 8px; color: #90959c; font-size: 11px; }
.detail-card-head > a { height: 38px; border: 1px solid #dfe2e5; border-radius: 6px; display: inline-flex; align-items: center; padding: 0 15px; color: #555b62; font-size: 10px; font-weight: 750; text-decoration: none; }
.detail-winning-numbers { min-height: 150px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.detail-winning-numbers .result-ball { width: 50px; height: 50px; font-size: 15px; box-shadow: 0 9px 16px rgba(29,35,40,.18), 0 2px 4px rgba(29,35,40,.08); }
.detail-winning-numbers > i { margin: 0 7px; color: #9da2a8; font-size: 28px; font-style: normal; font-weight: 600; }
.detail-bonus { display: grid; justify-items: center; gap: 5px; }
.detail-bonus small { color: #92969c; font-size: 9px; }
.draw-stat-row { padding: 16px 20px; display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 10px; background: #f7f7f5; }
.draw-stat-row > div { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid #e4e5e2; }
.draw-stat-row > div:last-child { border-right: 0; }
.draw-stat-row span { color: #92969c; font-size: 9px; }
.draw-stat-row strong { font-size: 12px; }
.prize-result-block, .store-result-block { margin-top: 25px; }
.store-result-head { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.store-result-head h3 { margin: 0; font-size: 15px; letter-spacing: -.03em; }
.store-result-head span { color: #969aa0; font-size: 9px; }
.result-table-wrap { overflow: hidden; border: 1px solid #e2e4e7; border-radius: 11px; }
.prize-result-table, .store-result-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.prize-result-table th, .store-result-table th { height: 38px; background: #f4f5f6; color: #696e75; font-size: 9px; font-weight: 800; text-align: left; }
.prize-result-table td, .store-result-table td { height: 43px; border-top: 1px solid #eceef0; color: #555a61; font-size: 10px; }
.prize-result-table th, .prize-result-table td, .store-result-table th, .store-result-table td { padding: 0 14px; }
.prize-result-table th:first-child, .prize-result-table td:first-child { width: 90px; text-align: center; }
.prize-result-table th:nth-child(2), .prize-result-table td:nth-child(2) { width: 170px; text-align: center; }
.prize-result-table th:nth-child(3), .prize-result-table td:nth-child(3) { width: 205px; text-align: right; }
.prize-result-table th:last-child, .prize-result-table td:last-child { text-align: right; }
.prize-result-table td strong { color: #30343a; font-size: 11px; }
.rank-tag { min-width: 34px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; color: #fff; font-size: 9px; font-weight: 900; }
.rank-1 { background: #ef5149; }
.rank-2 { background: #20a83b; }
.rank-3 { background: #4e74cf; }
.rank-4 { background: #f39b16; }
.rank-5 { background: #6d8a96; }
.store-result-table th:first-child, .store-result-table td:first-child { width: 210px; }
.store-result-table th:nth-child(2):not(:last-child), .store-result-table td:nth-child(2):not(:last-child) { width: 90px; text-align: center; }
.store-result-table th:last-child, .store-result-table td:last-child { width: 70px; text-align: center; }
.store-result-table a { color: var(--green); font-size: 9px; font-weight: 800; text-decoration: none; }
.method-tag { min-width: 34px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 8px; font-weight: 850; }
.method-tag.auto { background: #fff0ed; color: var(--green); }
.method-tag.manual { background: #f0f1f3; color: #666b72; }
.round-pager { margin-top: 30px; padding-top: 22px; border-top: 1px solid #e4e6e8; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.round-pager > a { min-height: 62px; border: 1px solid #e1e4e7; border-radius: 9px; display: grid; align-content: center; gap: 4px; padding: 0 18px; color: #22272d; text-decoration: none; }
.round-pager > a:last-child { justify-items: end; }
.round-pager span { color: #999ea4; font-size: 9px; }
.round-pager strong { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1160px) {
  .draw-table-head, .draw-list-row { grid-template-columns: 70px 290px minmax(235px, 1fr) 108px 94px; column-gap: 10px; padding-left: 18px; padding-right: 18px; }
  .draw-number-row { gap: 5px; }
  .draw-number-row .result-ball { width: 31px; height: 31px; flex-basis: 31px; }
  .draw-list-action a { min-width: 82px; }
}
