.elementor-58072 .elementor-element.elementor-element-b9498e9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-58072 .elementor-element.elementor-element-0f15e5a{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;}.elementor-58072 .elementor-element.elementor-element-e0c0a4f.elementor-element{--flex-grow:1;--flex-shrink:1;}.elementor-58072 .elementor-element.elementor-element-e3f7cea{--spacer-size:39px;}.elementor-58072 .elementor-element.elementor-element-305971b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-58072 .elementor-element.elementor-element-bcd809c{margin:-10px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}/* Start custom CSS *//* =========================
   入賞リザルト CSS（安定版）
   ========================= */

/* 共通 */
.result-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* 各カード */
.result-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 順位 */
.result-rank {
  font-size: 20px;
  font-weight: 400;
  margin-right: 6px;
}

/* 名前（高さ固定） */
.result-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 9em;

  /* ★ここが重要：2行分の高さを常に確保 */
  min-height: calc(1.3em * 2);

  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 写真 */
.result-image-wrapper {
  margin-top: 1px;     /* ← ここで距離を調整 */
  margin-bottom: 20px;
}

.result-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   スマホ（3列）
   ========================= */
@media (max-width: 768px) {

  .result-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 12px;
  }

  /* 1st〜9thは縦に大きく */
  .result-item:nth-child(-n+9) {
    grid-column: 1 / -1;
  }

  /* 10位以下はコンパクト */
  .result-item:nth-child(n+10) .result-rank,
  .result-item:nth-child(n+10) .result-name {
    font-size: 14px;
  }
}/* End custom CSS */