.my-pre-match-details-container {
  width: 1856px;
  height: 720px;
  margin: 0 32px 32px 32px;

  display: flex;
  flex-direction: column;

  border-radius: 10px;
  background: linear-gradient(180deg, #310102 0%, #741a22 50%, #330002 100%);

  overflow: hidden;
}

.my-pre-match-details-container-header {
  width: 100%;
  height: 48px;
  padding: 0 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;

  font-size: 24px;

  background: linear-gradient(180deg, #ffc300 0%, #5f3314 63.94%, #c59429 100%);
}

.my-pre-match-details-container-body {
  width: 100%;
  flex: 1;
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 16px;

  /* Enable internal scroll; min-height:0 so flexbox allows overflow */
  overflow-y: auto;
  min-height: 0;
}

.my-pre-match-details-container-body .my-main-market {
  width: 100%;
  height: 226px;

  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.my-pre-match-details-container-body .my-main-market .my-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 10px;
  border: 4px solid #fcfcc7;
  background: linear-gradient(180deg, #ffc300 0%, #5f3314 63.94%, #c59429 100%);

  position: relative;
}

.my-option.selected-market {
  background: linear-gradient(
    180deg,
    #310102 0%,
    #741a22 50%,
    #330002 100%
  ) !important;
}

/* Accordion container */
.my-markets-accordion-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.my-market-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.my-market-accordion-header {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 4px solid #fcfcc7;
  border-radius: 5px;
  padding: 0 16px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffc300 0%, #5f3314 63.94%, #c59429 100%);
  position: relative;
  user-select: none;
  box-sizing: border-box;
  flex-shrink: 0;
}

.my-market-accordion-header .accordion-arrow {
  transition: transform 0.25s ease;
}

.my-market-accordion-header.open .accordion-arrow {
  transform: rotate(180deg);
}

.my-market-accordion-title {
  font-size: 24px;
  color: #fff;
  line-height: 1;
}

.my-market-accordion-body {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.my-market-selection {
  flex: 0 0 calc((100% - 3 * 16px) / 4);
  max-width: calc((100% - 3 * 16px) / 4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  min-height: 72px;
  border: 4px solid #fcfcc7;
  border-radius: 5px;
  background: linear-gradient(180deg, #ffc300 0%, #5f3314 63.94%, #c59429 100%);
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
}

.my-market-selection-name {
  font-size: 30px;
  line-height: 1.2;
}

.my-market-selection-odd {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  line-height: 1.2;
  width: fit-content;
  height: 36px;
  text-align: center;
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .my-pre-match-details-container {
    width: 1016px;
    height: 1438px;
  }

  .my-market-selection {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}
