.public-bonus-hunt-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 176, 0, .11), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, .10), transparent 25%),
    #090b10;
}

.public-hunt-main {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.public-hunt-current,
.public-hunt-history {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  background: rgba(16, 18, 25, .86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}


.public-hunt-current,
.public-hunt-history {
  margin-top: 24px;
  padding: 28px;
}

.public-hunt-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.public-hunt-section-head h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -.035em;
}

.public-hunt-section-head p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, .50);
  line-height: 1.6;
  text-align: right;
}

.public-hunt-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.public-hunt-summary article,
.public-hunt-100x-strip > div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, .035);
}

.public-hunt-summary span,
.public-hunt-100x-strip span {
  display: block;
  color: rgba(255, 255, 255, .43);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.public-hunt-summary strong,
.public-hunt-100x-strip strong {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: #fff;
  font-size: 1.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-hunt-summary article.is-profit strong {
  color: #65e590;
}

.public-hunt-summary article.is-loss strong {
  color: #ff7272;
}

.public-hunt-100x-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 20px;
}

.public-hunt-100x-strip > div {
  border-color: rgba(255, 176, 0, .13);
  background: rgba(255, 176, 0, .045);
}

.public-hunt-100x-strip strong {
  color: #ffd35a;
}

.public-hunt-list {
  display: grid;
  gap: 8px;
}

.public-hunt-list-head,
.public-hunt-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.65fr) minmax(120px, .8fr) 80px 82px 95px 95px 88px;
  gap: 10px;
  align-items: center;
}

.public-hunt-list-head {
  padding: 0 12px 4px;
  color: rgba(255, 255, 255, .34);
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.public-hunt-row {
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 15px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .025);
}

.public-hunt-row.is-super {
  border-color: rgba(255, 176, 0, .20);
  background: linear-gradient(90deg, rgba(255, 176, 0, .065), rgba(255, 255, 255, .02) 40%);
}

.public-hunt-game {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.public-hunt-game img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  object-fit: cover;
  background: rgba(255, 255, 255, .06);
}

.public-hunt-game strong,
.public-hunt-game small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-hunt-game strong {
  color: #fff;
  font-size: .86rem;
}

.public-hunt-game small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
}

.public-hunt-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, .82);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-hunt-manual-badge,
.public-hunt-type,
.public-hunt-status {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.public-hunt-manual-badge {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ffd84d, #ff8a00);
  color: #101010;
}

.public-hunt-type {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .60);
}

.public-hunt-type.is-super {
  background: rgba(255, 176, 0, .14);
  color: #ffd158;
}

.public-hunt-status {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .58);
}

.public-hunt-status.is-opened {
  background: rgba(34, 197, 94, .12);
  color: #65e590;
}

.public-hunt-value {
  color: rgba(255, 255, 255, .78);
  font-weight: 850;
}

.public-hunt-value.is-result {
  color: #fff;
}

.public-hunt-history-list {
  display: grid;
  gap: 12px;
}

.public-hunt-history-card {
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 17px;
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
}

.public-hunt-history-card summary {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(5, minmax(90px, .55fr)) 30px;
  gap: 12px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.public-hunt-history-card summary::-webkit-details-marker {
  display: none;
}

.public-hunt-history-title strong,
.public-hunt-history-title small,
.public-hunt-history-stat span,
.public-hunt-history-stat strong {
  display: block;
}

.public-hunt-history-title strong {
  color: #fff;
  font-size: .98rem;
}

.public-hunt-history-title small,
.public-hunt-history-stat span {
  color: rgba(255, 255, 255, .40);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.public-hunt-history-stat strong {
  margin-top: 5px;
  color: rgba(255, 255, 255, .82);
  font-size: .87rem;
}

.public-hunt-history-stat.is-profit strong {
  color: #65e590;
}

.public-hunt-history-stat.is-loss strong {
  color: #ff7272;
}

.public-hunt-history-arrow {
  color: rgba(255, 255, 255, .40);
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.public-hunt-history-card[open] .public-hunt-history-arrow {
  transform: rotate(90deg);
}

.public-hunt-history-content {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 12px;
}

.public-hunt-empty,
.public-hunt-error {
  border: 1px dashed rgba(255, 255, 255, .10);
  border-radius: 15px;
  padding: 28px;
  color: rgba(255, 255, 255, .48);
  text-align: center;
}

.public-hunt-error {
  border-color: rgba(239, 68, 68, .24);
  color: #ff8585;
}

@media (max-width: 1180px) {
  .public-hunt-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-hunt-list-head,
  .public-hunt-row {
    grid-template-columns: minmax(210px, 1.5fr) minmax(110px, .8fr) 75px 80px 90px 82px;
  }

  .public-hunt-list-head span:nth-child(4),
  .public-hunt-row > :nth-child(4) {
    display: none;
  }

  .public-hunt-history-card summary {
    grid-template-columns: minmax(170px, 1fr) repeat(3, minmax(85px, .5fr)) 30px;
  }

  .public-hunt-history-card summary .public-hunt-history-stat:nth-of-type(4),
  .public-hunt-history-card summary .public-hunt-history-stat:nth-of-type(5) {
    display: none;
  }
}

@media (max-width: 820px) {
  .public-hunt-main {
    width: min(100% - 24px, 1420px);
    padding-top: 24px;
  }

  .public-hunt-current,
  .public-hunt-history {
    padding: 18px;
  }

  .public-hunt-section-head {
    display: block;
  }

  .public-hunt-section-head p {
    margin-top: 10px;
    text-align: left;
  }

  .public-hunt-summary,
  .public-hunt-100x-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-hunt-list-head {
    display: none;
  }

  .public-hunt-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .public-hunt-game {
    grid-column: 1 / -1;
  }

  .public-hunt-row > *::before {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .32);
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .public-hunt-user::before { content: "Username"; }
  .public-hunt-type::before { content: "Type"; }
  .public-hunt-value.is-bet::before { content: "Bet"; }
  .public-hunt-value.is-multi::before { content: "Multiplier"; }
  .public-hunt-value.is-result::before { content: "Result"; }
  .public-hunt-status::before { content: "Status"; }

  .public-hunt-history-card summary {
    grid-template-columns: 1fr 30px;
  }

  .public-hunt-history-card summary .public-hunt-history-stat {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .public-hunt-current,
  .public-hunt-history {
    border-radius: 18px;
  }

  .public-hunt-summary,
  .public-hunt-100x-strip,
  .public-hunt-row {
    grid-template-columns: 1fr;
  }

  .public-hunt-game {
    grid-column: auto;
  }
}

/* Unified live + history session list */
.public-hunt-sessions {
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  padding: 28px;
  background: rgba(16, 18, 25, .86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.public-hunt-sessions-head {
  margin-bottom: 18px;
}

.public-hunt-session-list {
  display: grid;
  gap: 12px;
}

.public-hunt-session-card {
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 17px;
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
}

.public-hunt-live-session {
  border-color: rgba(255, 176, 0, .22);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 176, 0, .055), transparent 38%),
    rgba(255, 255, 255, .025);
}

.public-hunt-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.public-hunt-live-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.public-hunt-live-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.035em;
}

.public-hunt-session-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .66);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .09em;
}

.public-hunt-session-badge.is-live {
  background: rgba(34, 197, 94, .14);
  color: #71e89a;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .18);
}

.public-hunt-session-badge.is-waiting {
  background: rgba(255, 176, 0, .11);
  color: #ffd35a;
}

.public-hunt-live-meta {
  flex: 0 0 auto;
  text-align: right;
}

.public-hunt-live-meta strong,
.public-hunt-live-meta small {
  display: block;
}

.public-hunt-live-meta strong {
  color: #fff;
  font-size: .9rem;
}

.public-hunt-live-meta small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .42);
  font-size: .7rem;
}

.public-hunt-live-session .public-hunt-100x-strip {
  margin-bottom: 16px;
}

.public-hunt-list-shell {
  min-width: 0;
}

.public-hunt-list-scroll {
  display: grid;
  gap: 8px;
  max-height: 382px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.public-hunt-list-scroll:focus-visible {
  outline: 1px solid rgba(255, 176, 0, .45);
  outline-offset: 4px;
  border-radius: 12px;
}

.public-hunt-list-scroll::-webkit-scrollbar {
  width: 8px;
}

.public-hunt-list-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.public-hunt-list-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 176, 0, .32);
}

.public-hunt-list-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 176, 0, .32) rgba(255, 255, 255, .035);
}

.public-hunt-history-content .public-hunt-list-scroll {
  max-height: 382px;
}

@media (max-width: 820px) {
  .public-hunt-sessions {
    padding: 18px;
  }

  .public-hunt-live-session {
    padding: 16px;
  }

  .public-hunt-live-head {
    align-items: flex-start;
  }

  .public-hunt-live-head > div:first-child {
    align-items: flex-start;
  }

  .public-hunt-live-meta {
    text-align: right;
  }

  .public-hunt-list-scroll {
    max-height: 782px;
  }
}

@media (max-width: 520px) {
  .public-hunt-sessions {
    border-radius: 18px;
  }

  .public-hunt-live-head {
    display: block;
  }

  .public-hunt-live-head > div:first-child {
    display: block;
  }

  .public-hunt-live-head h2 {
    margin-top: 9px;
  }

  .public-hunt-live-meta {
    margin-top: 12px;
    text-align: left;
  }
}
