/* RIZIN風プロフィールUI（Python生成HTML / PHP生成HTML 共通） */
.rizin-profile-wrapper{
  display:flex; gap:24px; align-items:stretch;
  background: linear-gradient(135deg, #0b0f1a 0%, #090909 55%, #0b0f1a 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  overflow:hidden;
  margin: 0 0 28px;
  position:relative;
}
.rizin-profile-wrapper:before{
  content:""; position:absolute; inset:-40px -80px auto auto;
  width:240px; height:240px;
  background: radial-gradient(circle at 30% 30%, rgba(218,23,37,.45), transparent 60%);
  transform: rotate(12deg);
  pointer-events:none;
}
.rizin-photo{
  flex:0 0 260px; position:relative;
  background: linear-gradient(180deg, rgba(218,23,37,.35), rgba(0,0,0,0));
}
.rizin-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter: contrast(1.05) saturate(1.05);
}
.rizin-info{ flex:1; padding:18px 18px 16px; color:#fff; font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif; }
.rizin-name-area{ margin:0 0 12px; }
.rizin-name{ font-weight:900; letter-spacing:.02em; line-height:1.05; font-size:34px; margin:0; text-transform:none; }
/* breakingdown 階級タグ（参考: BreakingDown Ranking） */
.kkg-weight-class-tag{
  display:inline-block;
  margin:6px 0 8px;
  padding:6px 14px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  color:#f87171;
  background:rgba(220,38,38,.2);
  border:1px solid rgba(220,38,38,.4);
  border-radius:9999px;
}
.rizin-roma{ margin:4px 0 0; color:rgba(255,255,255,.75); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:12px; }
.rizin-specs{
  display:grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap:10px; margin: 10px 0 14px;
}
.rizin-spec{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius:12px;
  padding:10px 10px 9px;
}
.rizin-spec__label{ display:block; font-size:11px; color:rgba(255,255,255,.65); font-weight:700; letter-spacing:.08em; }
.rizin-spec__value{ display:block; font-size:14px; font-weight:900; margin-top:2px; }
.rizin-record-area{
  margin-top:8px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top:12px;
}
.rizin-record-title{
  font-size:12px; letter-spacing:.14em; font-weight:900;
  color: rgba(255,215,0,.9);
  margin:0 0 6px;
}
.rizin-record{
  font-size:24px; font-weight:900; letter-spacing:.03em; margin:0;
}
.rizin-record strong{ color:#fff; }
.rizin-breakdown{
  margin:6px 0 0; font-size:12px; color: rgba(255,255,255,.80); font-weight:700;
}
.rizin-profile-detail{
  margin-top:14px; padding-top:12px; border-top:1px solid rgba(255,255,255,.10);
  font-size:13px; line-height:1.5;
}
.rizin-profile-detail__row{ margin-bottom:8px; }
.rizin-profile-detail__row:last-child{ margin-bottom:0; }
.rizin-profile-detail__label{ display:inline-block; width:5.5em; color:rgba(255,255,255,.65); font-weight:800; letter-spacing:.04em; vertical-align:top; }
.rizin-profile-detail__value{ color:rgba(255,255,255,.92); font-weight:700; }
.rizin-profile-detail__value a{ color:#d4af37; text-decoration:none; }
.rizin-profile-detail__value a:hover{ text-decoration:underline; color:#ffd24a; }
@media (max-width:768px){
  .rizin-profile-wrapper{ flex-direction:column; }
  .rizin-photo{ flex:0 0 auto; height:260px; }
  .rizin-specs{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rizin-name{ font-size:28px; }
  .rizin-profile-detail{ font-size:12px; }
  .rizin-profile-detail__label{ width:5em; }
}

/* RIZIN風: FIGHTER STATS（斜めカットゲージ）
 * .rizin-stat-label は .rizin-fighter-stats の4パネル（style.css）とクラス名が共用のため、
 * ゲージ行は必ず .rizin-stats-container 配下に限定する。
 */
.rizin-stats-container{
  margin: 0 0 28px;
  padding: 16px;
  background:#111;
  border:1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  color:#fff;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}
.rizin-stats-container .rizin-section-title{
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: .10em;
  font-size: 14px;
  color: rgba(255,215,0,.9);
}
.rizin-stats-container .rizin-stat-row{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  align-items:center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.rizin-stats-container .rizin-stat-row:first-of-type{ border-top: none; }
.rizin-stats-container .rizin-stat-label{
  display:flex;
  flex-direction:column;
  gap: 4px;
}
.rizin-stats-container .rizin-stat-label .jp-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
}
.rizin-stats-container .rizin-stat-label .stat-value{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.1;
}
.rizin-stats-container .rizin-stat-bar-track{
  background:#333;
  height: 16px;
  border-radius: 10px;
  overflow:hidden;
  transform: skewX(-15deg);
  border: 1px solid rgba(255,255,255,.10);
}
.rizin-stats-container .rizin-stat-bar-fill{
  height:100%;
  background: linear-gradient(90deg, #d90000 0%, #7a0000 70%, #3a0000 100%);
  transform: skewX(15deg);
  transform-origin: left;
  box-shadow: 0 0 24px rgba(217,0,0,.25);
}
@media (max-width:768px){
  .rizin-stats-container .rizin-stat-row{ grid-template-columns: 1fr; gap: 10px; }
  .rizin-stats-container .rizin-stat-bar-track{ height: 14px; }
  .rizin-stats-container .rizin-stat-label .stat-value{ font-size: 16px; }
}

/* ヒーロー内の出身リンク行（PHP/Python 共通） */
.rizin-profile-wrapper .rizin-born{
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.rizin-profile-wrapper .rizin-born a{
  color: #d4af37;
  text-decoration: none;
}
.rizin-profile-wrapper .rizin-born a:hover{
  text-decoration: underline;
  color: #ffd24a;
}

/* ==========================================================================
   選手本文ブロック（Python page.py / ショートコード）
   ※ functions.php は singular で rizin.css のみ enqueue するため、
      style.css にだけ書いてある .fighter-description 等はここにも必要。
   ========================================================================== */

.fighter-profile.fighter-profile--modern{
  max-width: 1000px;
  width: 100%;
  min-width: 0;
  margin: 0 auto 2rem;
  box-sizing: border-box;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: rgba(255,255,255,.92);
}

.fighter-profile--modern section.fighter-description,
.fighter-profile--modern section.fighter-income,
.fighter-profile--modern section.recent-fight{
  margin: 0 0 22px;
  padding: 18px 20px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  color: rgba(255,255,255,.92);
}

.fighter-profile--modern section.fighter-description h2,
.fighter-profile--modern section.fighter-income h2,
.fighter-profile--modern section.recent-fight h2{
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #f87171;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 8px;
}

.fighter-profile--modern .fighter-summary-block{
  margin: 0;
}

.fighter-profile--modern .fighter-summary-block p,
.fighter-profile--modern section.fighter-description p{
  margin: 0 0 .65em;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
}

.fighter-profile--modern .fighter-summary-block p:last-child,
.fighter-profile--modern section.fighter-description p:last-child{
  margin-bottom: 0;
}

.fighter-profile--modern p.fighter-summary{
  color: rgba(255,255,255,.9);
}

.fighter-profile--modern .fighter-income__text{
  margin: 0;
  font-size: 15px;
}

.fighter-profile--modern .fighter-income__value{
  font-weight: 800;
  color: #fde047;
}

.fighter-profile--modern section.recent-fight p{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.fighter-profile--modern section.recent-fight strong.win{
  color: #4ade80;
}

.fighter-profile--modern section.recent-fight strong.loss{
  color: #fb7185;
}

/* 獲得タイトル + DB/SNS（champions / KKG_FIGHTER_SNS） */
.fighter-profile--modern .champions{
  padding: 16px 18px;
  margin: 0 0 22px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}

.fighter-profile--modern .champions .description-text,
.fighter-profile--modern > .description-text{
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}

.fighter-profile--modern .champions ul{
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(255,255,255,.88);
}

.fighter-profile--modern .fighter-sns{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 18px;
  align-items: center;
}

.fighter-profile--modern .description-text + .fighter-sns{
  margin-top: 4px;
}

.fighter-profile--modern .fighter-sns .flowbtn{
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.fighter-profile--modern .fighter-sns .flowbtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  background: rgba(255,255,255,.1);
}

.fighter-profile--modern .fighter-sns .flowbtn svg{
  width: 22px;
  height: 22px;
}

.fighter-profile--modern .fighter-sns .flowbtn div{
  display: none;
}

/* 戦績・関連の見出し（.c-title は style.css に依存しない） */
.fighter-profile--modern .c-title{
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f87171;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 768px){
  .fighter-profile--modern section.fighter-description,
  .fighter-profile--modern section.fighter-income,
  .fighter-profile--modern section.recent-fight,
  .fighter-profile--modern .champions{
    padding: 14px 16px;
  }
}
