/* Photographic cards, score graphs, avatars, and softer surfaces */
.hero {
  background: #081a32;
}

/* Display-copy overrides */
.expert-profile__label,
.expert-profile p,
.external-cta { font-size: 0 !important; }

.expert-profile__label::after {
  content: "予想師プロフィール";
  font-size: 11px;
}

.expert-profile p::after {
  content: "競艇歴30年。選手の癖・モーター相場・展示気配を独自に数値化し、長年のデータ分析から予想を組み立てるベテラン予想師。";
  font-size: 13px;
}

.external-cta::before {
  content: "予想師のおすすめ情報を見る";
  font-size: 19px;
}

.external-cta span { font-size: 19px; }

.expert-profile h2 { font-size: 0 !important; }
.expert-profile h2::before {
  content: "黒木 恒一";
  font-size: 24px;
}
.expert-profile h2::after {
  content: "（くろき こういち）";
  margin-left: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.expert-profile h2 small { display: none !important; }

@media (max-width: 600px) {
  .expert-profile p::after { font-size: 12px; }
  .external-cta::before, .external-cta span { font-size: 16px; }
  .expert-profile h2::before { font-size: 19px; }
  .expert-profile h2::after { margin-left: 4px; font-size: 10px; }
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 28, .88) 0%, rgba(5, 13, 28, .63) 43%, rgba(5, 13, 28, .12) 76%);
  pointer-events: none;
  display: none;
}

.hero::after { display: none; }

.hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy { z-index: 2; }

.hero-photo--pc {
  top: 58px;
  height: calc(100% - 58px);
}

.hero-photo--mobile { display: none; }

@media (min-width: 601px) {
  .hero-copy, .hero .badge { display: none; }
}

.expert-profile {
  position: relative;
  padding: 24px 30px 26px;
  color: #fff;
  background: linear-gradient(125deg, #07101f, #152a47 72%, #0b182a);
  border-top: 3px solid #d8a929;
  border-bottom: 1px solid rgba(231, 198, 94, .42);
}

.expert-profile__label {
  display: inline-block;
  margin-bottom: 13px;
  padding: 4px 12px;
  color: #17213a;
  background: linear-gradient(90deg, #f3d87a, #bf8618);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.expert-profile__body {
  display: flex;
  align-items: center;
  gap: 17px;
}

.expert-profile__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: transparent;
  border: 2px solid #d6aa33;
  border-radius: 50%;
  background-color: #080f1d;
  background-image: url("assets/kanzaki-profile-v9.png");
  background-repeat: no-repeat;
  background-position: 50% 4%;
  background-size: 165% auto;
  box-shadow: 0 0 0 4px rgba(216, 169, 41, .12);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0;
  font-weight: 900;
}

.expert-profile h2 {
  margin: 0 0 8px;
  color: #f5d15c;
  font-size: 24px;
  letter-spacing: .04em;
}

.expert-profile h2 small {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.expert-profile p {
  margin: 0;
  color: #e5eaf1;
  font-size: 13px;
  line-height: 1.85;
}

.site-photo {
  position: relative;
  height: 270px;
  margin: 0;
  overflow: hidden;
  background: #0d1b2a;
}

.site-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 30, .82), rgba(6, 15, 30, .14) 58%, rgba(6, 15, 30, .02));
  pointer-events: none;
}

.site-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#rank-2 .site-photo img { object-position: 58% center; }
#rank-4 .site-photo img { object-position: center; }

#rank-1 .site-photo {
  height: 430px;
  background: #070b15;
}

#rank-1 .site-photo img {
  object-fit: contain;
  object-position: center;
}

#rank-2 .site-photo img,
#rank-3 .site-photo img {
  object-position: center top;
}

.table-box table { min-width: 650px; }
.external-cta { background: linear-gradient(#22c873, #079b55); }

.site-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

.site-photo figcaption small {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.site-photo figcaption strong {
  font-size: 36px;
  line-height: 1;
  letter-spacing: .08em;
}

.score-chart {
  margin: 20px;
  padding: 20px;
  border: 1px solid #dbe2eb;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7fafc, #eef3f7);
}

.score-chart__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6dee8;
}

.score-chart__head h3 { margin: 0; font-size: 18px; }
.score-chart__head small { color: #6c7583; font-size: 10px; }
.metrics { display: grid; gap: 11px; }
.metric { display: grid; grid-template-columns: 72px 1fr 30px; align-items: center; gap: 10px; }
.metric > span { color: #354052; font-size: 12px; font-weight: 900; }
.metric > b { color: #e3343c; font-size: 14px; text-align: right; }
.track { height: 10px; overflow: hidden; border-radius: 999px; background: #d8e0e9; box-shadow: inset 0 1px 2px #73839925; }
.track i { display: block; width: var(--score); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1486d1, #10b96a); box-shadow: 0 0 8px #0fa26755; }

/* Unified person silhouette for reviews */
.review > div > span {
  position: relative;
  overflow: hidden;
  color: transparent !important;
  background: linear-gradient(145deg, #1c8fd0, #075889) !important;
  box-shadow: 0 3px 9px #07588933;
}

.review > div > span::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.review > div > span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 34px;
  height: 22px;
  border-radius: 18px 18px 8px 8px;
  background: #fff;
  transform: translateX(-50%);
}

/* Softer blocks */
.card { overflow: hidden; border-radius: 16px; }
.card-head { overflow: hidden; }
.compare, .intro, .guide { border-radius: 18px; }
.table-box { border-radius: 12px; }
.rank-nav { border-radius: 0 0 12px 12px; }
.rank-nav a { border-radius: 8px; }
.benefit { margin: 12px 17px 0; border-radius: 10px; }
.body li { border-radius: 0 9px 9px 0; }
.review { overflow: hidden; border-radius: 12px; }
.guide article { border-radius: 12px; }
.closing a, .cta { border-radius: 10px; }
.closing h2 { white-space: nowrap; font-size: clamp(22px, 4.1vw, 34px); }

/* No.1 extended editorial content */
.rank1-feature {
  margin: 24px 18px 20px;
  overflow: hidden;
  border: 1px solid #d8b448;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(30, 25, 10, .12);
}

.rank1-feature__title {
  padding: 26px 24px 24px;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 85% 10%, rgba(232,190,70,.35), transparent 35%), linear-gradient(135deg, #11192d, #26334c);
}

.rank1-feature__title > span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 13px;
  color: #261c05;
  border-radius: 30px;
  background: linear-gradient(90deg, #ffe99a, #c9971f);
  font-size: 11px;
  font-weight: 900;
}

.rank1-feature__title h2 {
  margin: 0 0 10px;
  color: #ffe170;
  font-size: 29px;
  line-height: 1.25;
}

.rank1-feature__title p {
  max-width: 610px;
  margin: auto;
  color: #e8edf5;
  font-size: 13px;
  line-height: 1.85;
}

.asset-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
  background: #f5f1e5;
}

.asset-strengths article {
  position: relative;
  padding: 20px 14px 16px;
  border-top: 4px solid #c89820;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(62,45,7,.09);
}

.asset-strengths article > b {
  position: absolute;
  top: 8px;
  right: 10px;
  color: rgba(199,151,30,.18);
  font-size: 36px;
}

.asset-strengths h3 {
  position: relative;
  margin: 0 0 10px;
  color: #17213a;
  font-size: 17px;
  line-height: 1.45;
}

.asset-strengths p {
  margin: 0;
  color: #555f6e;
  font-size: 11px;
  line-height: 1.75;
}

.asset-results {
  margin: 24px 18px 18px;
  padding: 24px 20px 20px;
  overflow: hidden;
  border: 1px solid #36445d;
  border-radius: 12px;
  background: linear-gradient(180deg, #0a1325, #151f35);
  box-shadow: 0 7px 18px rgba(8,15,28,.2);
}

.asset-results__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 17px;
  padding: 14px 18px;
  color: #fff;
  border: 1px solid rgba(255,215,92,.55);
  border-radius: 10px;
  background: linear-gradient(105deg, rgba(112,10,18,.72), rgba(24,34,54,.94) 43%, rgba(91,60,4,.72));
  box-shadow: inset 0 0 18px rgba(255,207,61,.13), 0 5px 14px rgba(0,0,0,.28);
}

.asset-results__head > span {
  padding: 5px 8px;
  color: #17213a;
  border-radius: 4px;
  background: #f2cf58;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.asset-results__head h3 {
  position: relative;
  margin: 0;
  color: #ffe270;
  font-size: 26px;
  letter-spacing: .03em;
  text-shadow: 0 2px 0 #6b4200, 0 0 11px rgba(255,213,74,.7);
}
.asset-results__head h3::before { content: "◆"; margin-right: 7px; color: #ff4b4f; font-size: 17px; text-shadow: 0 0 8px #f33; }
.asset-results__head h3::after { content: "公開中"; display: inline-block; margin-left: 9px; padding: 3px 7px; color: #fff; border-radius: 4px; background: #d4101c; font-size: 9px; vertical-align: middle; text-shadow: none; transform: rotate(-3deg); }
.asset-results__head p { margin: 3px 0 0; color: #aeb8ca; font-size: 10px; }

#rank-1 .review > div + div { border-top: 1px dashed #d7b653; }

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

.result-grid article {
  position: relative;
  aspect-ratio: 1043 / 1938;
  overflow: hidden;
  border: 1px solid #35435c;
  border-radius: 9px;
  background-color: #07101f;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.result-grid article:nth-child(1) { background-image: url("assets/asset-result-tsu-v11.png"); }
.result-grid article:nth-child(2) { background-image: url("assets/asset-result-suminoe-v11.png"); }
.result-grid article:nth-child(3) { background-image: url("assets/asset-result-heiwajima-v11.png"); }
.result-grid article > div,
.result-grid article > p,
.result-grid article > dl { display: none !important; }

.result-grid article::before {
  content: "的中!!";
  position: absolute;
  z-index: 2;
  top: clamp(7px, 1vw, 12px);
  right: clamp(7px, 1vw, 12px);
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 72px);
  aspect-ratio: 1;
  padding: 0;
  color: #fff6b0;
  background: radial-gradient(circle at 38% 30%, #ff5a5f, #d30c17 57%, #8d040c 100%);
  clip-path: polygon(50% 0%,57% 10%,67% 3%,71% 15%,83% 11%,83% 24%,96% 24%,90% 36%,100% 42%,89% 50%,100% 58%,89% 64%,96% 76%,83% 76%,83% 89%,71% 85%,67% 97%,57% 90%,50% 100%,43% 90%,33% 97%,29% 85%,17% 89%,17% 76%,4% 76%,10% 64%,0% 58%,11% 50%,0% 42%,10% 36%,4% 24%,17% 24%,17% 11%,29% 15%,33% 3%,43% 10%);
  filter: drop-shadow(0 4px 4px rgba(92,0,5,.4));
  font-size: clamp(11px, 1.15vw, 14px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  text-shadow: 0 1px 1px #610006;
  transform: rotate(-7deg);
}

.result-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  color: #fff;
  background: #1d2a42;
}

.result-grid article > div strong { font-size: 13px; }
.result-grid article > div small { color: #f3cf57; font-size: 9px; }
.result-grid article > p { margin: 13px 0 8px; text-align: center; color: #17213a; font-size: 22px; font-weight: 900; letter-spacing: .08em; }
.result-grid dl { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 10px 13px; padding-top: 8px; border-top: 1px solid #e1e4e9; }
.result-grid dt { color: #687284; font-size: 9px; }
.result-grid dd { margin: 0; color: #d72f36; font-size: 17px; font-weight: 900; }
.result-note { display: none; }
.rank1-feature > .cta { margin: 18px; }

@media (max-width: 600px) {
  .rank1-feature { margin: 20px 10px 16px; border-radius: 12px; }
  .rank1-feature__title { padding: 23px 16px 21px; }
  .rank1-feature__title h2 { font-size: 24px; }
  .rank1-feature__title p { font-size: 12px; }
  .asset-strengths, .result-grid { grid-template-columns: 1fr; }
  .asset-strengths { padding: 14px; }
  .asset-strengths article { padding: 18px 15px 15px; }
  .asset-strengths h3 br { display: none; }
  .asset-results { padding: 22px 14px 17px; }
  .asset-results { margin: 20px 12px 15px; }
  .asset-results__head { justify-content: flex-start; }
  .asset-results__head h3 { font-size: 19px; }
  .result-grid { gap: 18px; }
  .result-grid article::before {
    top: clamp(8px, 2.5vw, 14px);
    right: clamp(8px, 2.5vw, 14px);
    width: clamp(92px, 30vw, 128px);
    font-size: clamp(18px, 5.7vw, 24px);
  }
}

@media (max-width: 600px) {
  .hero { height: calc(100vw + 58px); max-height: 658px; }
  .hero-photo--pc { display: none; }
  .hero-copy, .hero .badge { display: none; }
  .hero-photo--mobile {
    display: block;
    top: 58px;
    height: calc(100% - 58px);
    object-fit: cover;
    object-position: center;
  }
  .hero::before { display: none; }
  .expert-profile { padding: 20px 17px 22px; }
  .expert-profile__label { margin-bottom: 12px; }
  .expert-profile__body { align-items: flex-start; gap: 12px; }
  .expert-profile__mark { width: 48px; height: 48px; font-size: 22px; }
  .expert-profile h2 { margin-bottom: 7px; font-size: 19px; }
  .expert-profile h2 { white-space: nowrap; }
  .expert-profile h2 small { display: inline; margin-left: 3px; font-size: 10px; }
  .expert-profile p { font-size: 12px; line-height: 1.8; }
  .site-photo { height: 210px; }
  #rank-1 .site-photo { height: 360px; }
  .site-photo figcaption { left: 18px; bottom: 18px; }
  .site-photo figcaption strong { font-size: 28px; }
  .score-chart { margin: 14px; padding: 15px; border-radius: 12px; }
  .score-chart__head { display: block; }
  .score-chart__head small { display: block; margin-top: 4px; }
  .metric { grid-template-columns: 62px 1fr 27px; gap: 7px; }
  .metric > span { font-size: 10px; }
  .card { border-radius: 13px; }
}
