
/* CAROMY SHOT CARD REFRESH V03 */
/* Actual markup: .caromy-card-actions-row */

/* 카드 기본 여백 */
#resultCards .shot-card {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 13px 12px 11px !important;
  overflow: visible !important;
}

/* 헤더 */
#resultCards .shot-card .shot-card-top {
  margin-bottom: 10px !important;
  gap: 8px !important;
}

#resultCards .shot-card .shot-card-top h3 {
  font-size: clamp(21px, 5.1vw, 27px) !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
  letter-spacing: -.045em !important;
  margin: 4px 0 6px !important;
}

#resultCards .shot-card .shot-card-mascot {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
}

/* 두께 / 당점 / 세기 */
#resultCards .shot-card .shot-specs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 9px 0 !important;
}

#resultCards .shot-card .shot-specs .caromy-spec {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 10px 4px 9px !important;
  border-radius: 15px !important;
}

#resultCards .shot-card .shot-specs .caromy-spec-value {
  font-weight: 850 !important;
  line-height: 1.18 !important;
}

/* 테이블 미리보기 */
#resultCards .shot-card .result-stage {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 9px 0 !important;
  padding: 0 !important;
}

#resultCards .shot-card .result-stage canvas {
  display: block !important;
  max-width: 100% !important;
}

/* 핵심: 실제 공략카드 하단 3개 버튼 */
#resultCards .shot-card .caromy-card-actions-row {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.35fr)
    minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 7px !important;
  margin: 9px 0 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
}

/* 세 버튼의 높이, 모양, 정렬 통일 */
#resultCards .shot-card .caromy-card-actions-row > button {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  width: 100% !important;
  min-width: 0 !important;
  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;

  margin: 0 !important;
  padding: 9px 4px !important;
  border: 1px solid #b3dfd2 !important;
  border-radius: 16px !important;
  background: #e7f7f1 !important;
  color: #08735d !important;
  box-shadow: none !important;

  font-family: inherit !important;
  font-size: clamp(13px, 3.6vw, 17px) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer !important;
}

/* 아이콘: 재생 */
#resultCards .shot-card
.caromy-card-actions-row > .play-btn
span[aria-hidden="true"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 33px !important;
  line-height: 1 !important;
  height: 35px !important;
}

/* 아이콘: 강의영상보기 */
#resultCards .shot-card
.caromy-card-actions-row .lesson-link-btn
.caromy-card-action-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 33px !important;
  line-height: 1 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  flex: 0 0 36px !important;
}

/* 아이콘: 시타하기 (기존 큐 SVG) */
#resultCards .shot-card
.caromy-card-actions-row .caromy-shot-try-btn
svg.caromy-card-action-icon {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  transform: none !important;
}

/* 버튼 글씨 */
#resultCards .shot-card
.caromy-card-actions-row .caromy-card-action-label,
#resultCards .shot-card
.caromy-card-actions-row .play-btn span:not([aria-hidden]) {
  font-size: clamp(13px, 3.5vw, 17px) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

/* 하단 안내문은 작게 유지하되 불필요한 여백 축소 */
#resultCards .shot-card .shot-card-note {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
}

/* 가로 넘기기는 유지, 카드 높이는 콘텐츠 기준 */
@media (max-width: 820px) {
  #resultCards.result-cards {
    align-items: flex-start !important;
    overflow-x: auto !important;
    padding-top: 2px !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
  }

  #resultCards > .shot-card {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 390px) {
  #resultCards .shot-card .caromy-card-actions-row {
    gap: 5px !important;
  }

  #resultCards .shot-card .caromy-card-actions-row > button {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    padding: 7px 2px !important;
  }
}
