
/* Jr.Athlete Ver.0.9.8 Team HERO Cards */

.ja095-card {
  position: relative;
}

.ja098-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 210px;
  text-align: center;
  background:
    linear-gradient(135deg,#0c1d35,#284b70);
}

.ja098-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,15,32,.36),
    rgba(5,15,32,.68)
  );
  pointer-events: none;
}

.ja098-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ja098-watermark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%,-50%) rotate(-9deg);
  color: rgba(255,255,255,.10);
  font-size: clamp(36px,4vw,64px);
  font-weight: 900;
  letter-spacing: -.07em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.ja098-visual-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 25px 16px;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,.55);
}

.ja098-team-name {
  display: block;
  font-size: clamp(17px,1.75vw,24px);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ja098-sport-name {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

.ja098-no-photo {
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(95,143,194,.50),transparent 50%
    ),
    linear-gradient(135deg,#09182d,#234768);
}

.ja098-no-photo::before {
  content: "";
  position: absolute;
  inset: -30%;
  transform: rotate(-25deg);
  border-right: 24px solid rgba(218,32,67,.45);
  pointer-events: none;
}

.ja098-visual .ja098-watermark,
.ja098-visual .ja098-visual-content {
  box-sizing: border-box;
}

.ja095-card:hover .ja098-visual img {
  transform: scale(1.055);
}

@media(max-width:700px) {
  .ja098-visual {
    height: 210px;
  }
  .ja098-team-name {
    font-size: 22px;
  }
  .ja098-watermark {
    font-size: 49px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ja098-visual img {
    transition: none;
  }
}


/* JA_SPORT_LABEL_098A
   競技カテゴリーの視認性改善
*/

.ja098-visual-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 24px 18px;
}

.ja098-team-name {
  display: block;
  color: #fff;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-shadow:
    0 2px 10px rgba(0,0,0,.9),
    0 4px 22px rgba(0,0,0,.55);
}

.ja098-sport-name {
  display: inline-block;
  width: auto;
  max-width: 95%;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #172b46;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
  text-shadow: none;
  overflow-wrap: anywhere;
  box-shadow: 0 3px 15px rgba(0,0,0,.22);
  box-sizing: border-box;
}

.ja098-visual::after {
  background: linear-gradient(
    180deg,
    rgba(5,15,32,.40),
    rgba(5,15,32,.68)
  );
}

@media (max-width: 700px) {
  .ja098-visual-content {
    gap: 11px;
    padding: 20px 13px;
  }

  .ja098-sport-name {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* JA_SPORT_LABEL_098B - 控えめな競技ラベル */
.ja098-visual-content {
  gap: 8px;
}

.ja098-sport-name {
  margin: 0;
  padding: 4px 11px;
  max-width: 90%;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(10,25,45,.68);
  color: rgba(255,255,255,.94);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: none;
  box-shadow: none;
  backdrop-filter: blur(4px);
}

