:root {
  --color-primary-700: #ff4ea3;
  --color-primary-500: #ff69ae;
  --color-primary-300: #ffbfd9;
  --color-primary-100: #ffe8f1;
  --color-primary-50: #fff6fa;
  --color-text-950: #241433;
  --color-text-900: #3d2b4f;
  --color-text-700: #6b557f;
  --color-text-500: #8e789f;
  --color-text-200: #cab8d4;
  --color-bg-dark: #241433;
  --color-bg-100: #fff1f7;
  --color-bg-white: #ffffff;
  --color-border: rgba(255, 132, 191, 0.24);
  --shadow-card: 0 24px 60px rgba(96, 42, 92, 0.08);
  --shadow-card-hover: 0 28px 72px rgba(96, 42, 92, 0.14);
  --shadow-button-hover: 0 18px 36px rgba(255, 78, 163, 0.28);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text-900);
  background:
    radial-gradient(circle at top left, rgba(255, 195, 225, 0.52), transparent 34%),
    radial-gradient(circle at top right, rgba(217, 196, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #fff7fb 0%, #fff3f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.narrow-container {
  width: min(calc(100% - 32px), 900px);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 132, 191, 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--color-primary-500);
  background: var(--color-primary-50);
  border: 1px solid rgba(255, 78, 163, 0.18);
}

.brand__mark--omega {
  font-size: 1.1rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__title,
.site-footer__title {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand__subtitle,
.site-footer__subtitle {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  color: var(--color-text-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand__subtitle--jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item a {
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav__item:first-child a {
  color: var(--color-primary-500);
}

.site-nav__item a:hover {
  color: var(--color-primary-500);
}

.site-nav__item a:focus-visible,
.brand:focus-visible,
.hero-action:focus-visible,
.top-race-card__link:focus-visible,
.top-member-card__link:focus-visible,
.top-media-item__link:focus-visible,
.top-article-item__link:focus-visible,
.content-list__link:focus-visible,
.site-footer__link-list a:focus-visible,
.site-footer__social:focus-visible {
  outline: 2px solid rgba(255, 105, 174, 0.5);
  outline-offset: 4px;
}

.site-header__status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffe7f2;
  color: var(--color-primary-500);
  font-size: 0.625rem;
  font-weight: 700;
}

.live-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary-500);
}

.site-header__status-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-500);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle__line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text-900);
  margin: 5px 0;
}

.site-main {
  padding-bottom: 0;
}

.post-type-archive-race_prediction .site-main,
.single-race_prediction .site-main {
  background: #fffafc;
}

.single-race_prediction .site-main {
  background: #fff6fa;
}

.top-hero {
  padding: 24px 0 44px;
}

.top-hero__inner,
.top-content-columns,
.two-column-grid,
.character-hero {
  display: grid;
  gap: 40px;
}

.top-hero__inner,
.character-hero {
  grid-template-columns: minmax(0, 640px) minmax(0, 600px);
  align-items: center;
}

.top-hero__copy {
  display: grid;
  gap: 32px;
  padding-top: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid rgba(255, 132, 191, 0.36);
  border-radius: var(--radius-pill);
  color: var(--color-primary-500);
  background: rgba(255, 255, 255, 0.72);
}

.hero-badge__label,
.hero-badge__sub,
.top-section__eyebrow,
.top-content-column__label strong,
.eyebrow {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge__divider {
  width: 12px;
  height: 1px;
  background: currentColor;
}

.hero-badge__sub {
  color: var(--color-text-900);
}

.top-hero__heading {
  display: grid;
  gap: 16px;
}

.top-hero__title,
.section-header__title,
.character-hero h1,
.race-headline h2,
.top-section__title {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text-950);
}

.top-hero__title {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.top-hero__title span {
  color: var(--color-primary-500);
}

.top-hero__lead,
.section-header__body,
.editor-content,
.pick-row p,
.content-list__item p {
  margin: 0;
  color: var(--color-text-700);
  line-height: 1.75;
}

.top-hero__lead {
  max-width: 620px;
  font-size: 1.125rem;
}

.top-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
}

.hero-action--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-500), #ff7abc);
  box-shadow: 0 16px 34px rgba(255, 78, 163, 0.22);
}

.hero-action--secondary {
  color: var(--color-primary-500);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 132, 191, 0.34);
}

.hero-action:hover {
  transform: translateY(-2px);
}

.hero-action--primary:hover {
  box-shadow: var(--shadow-button-hover);
  filter: saturate(1.06);
}

.hero-action--secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 105, 174, 0.5);
  box-shadow: 0 14px 28px rgba(96, 42, 92, 0.08);
}

.top-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 680px;
  overflow: visible;
}

.top-hero__image {
  width: min(100%, 720px);
  max-height: 720px;
  object-fit: contain;
  object-position: center bottom;
}

.top-hero__placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  width: 100%;
  height: 680px;
  padding: 40px;
  border: 1px dashed rgba(255, 132, 191, 0.48);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.top-hero__placeholder-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary-500), #c794ff);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.top-section,
.section,
.page-header {
  padding: 80px 0 0;
}

.top-section--bordered {
  border-top: 1px solid rgba(255, 132, 191, 0.18);
}

.top-section__header {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
}

.top-section__eyebrow,
.eyebrow {
  margin: 0;
  color: var(--color-primary-500);
}

.top-section__title,
.section-header__title,
.character-hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
}

.top-race-grid,
.top-member-grid {
  display: grid;
  gap: 24px;
}

.top-race-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-member-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-race-card,
.top-member-card,
.top-media-item,
.top-article-item,
.card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.24s ease,
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.top-race-card__link,
.top-member-card__link,
.top-media-item__link,
.top-article-item__link,
.content-list__link {
  display: block;
}

.top-race-card:hover,
.top-member-card:hover,
.top-media-item:hover,
.top-article-item:hover,
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(255, 105, 174, 0.32);
}

.top-race-card__link:hover h3,
.top-member-card__link:hover h3,
.top-media-item__link:hover h3,
.top-article-item__link:hover h3,
.content-list__link:hover h3,
.site-footer__link-list a:hover {
  color: var(--color-primary-500);
}

.top-race-card__link:hover .top-race-card__footer strong,
.content-list__link:hover .content-list__arrow {
  transform: translateX(2px);
}

.top-race-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #ffe7f2;
}

.top-race-card__meta,
.top-race-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-race-card__grade {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 132, 191, 0.58);
  background: rgba(255, 219, 236, 0.88);
  color: #d6457d;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
}

.top-race-card__course,
.top-race-card__status,
.top-race-card__body p,
.top-member-card__specialty,
.top-member-card__quote,
.top-media-item__meta,
.top-article-item__date,
.breadcrumbs__list {
  color: var(--color-text-700);
  font-size: 0.82rem;
}

.top-race-card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary-500);
}

.top-race-card__body {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.top-race-card__body h3,
.top-member-card__body h3,
.top-media-item__body h3,
.top-article-item__link h3,
.content-list__item h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--color-text-950);
}

.top-race-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--color-primary-50);
}

.top-race-card__footer strong {
  color: var(--color-primary-500);
  font-family: "Outfit", sans-serif;
}

.top-member-card__visual {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #45356e 0%, #273f6e 48%, #0c3d5a 100%);
}

.top-member-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.32s ease;
}

.top-member-card__fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 78, 163, 0.28), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(130, 203, 255, 0.24), transparent 22%),
    linear-gradient(135deg, #2a2549, #0f3551);
}

.top-member-card__role {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 216, 235, 0.92);
  color: var(--color-primary-500);
  font-size: 0.72rem;
  font-weight: 700;
}

.top-member-card__link:hover .top-member-card__image {
  transform: scale(1.04);
}

.top-member-card__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.top-member-card__quote {
  margin: 0;
  line-height: 1.7;
}

.top-content-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.blog-archive-header,
.blog-single-header {
  padding-top: 24px;
}

.blog-archive-intro {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.blog-archive-intro .section-header {
  margin-bottom: 0;
}

.blog-archive-intro__body {
  margin: 0;
  color: #a07898;
  font-size: 0.95rem;
  line-height: 1.9;
}

.blog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.blog-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #6b4f80;
  font-size: 0.82rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-category-chip:hover,
.blog-category-chip:focus-visible,
.blog-category-chip.is-active {
  background: #ff6bad;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 107, 173, 0.18);
}

.blog-archive-section,
.blog-single-section {
  padding: 28px 0 80px;
}

.blog-featured-card,
.blog-single-card {
  overflow: hidden;
  border: 1px solid #f9d0e8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(255, 183, 217, 0.25);
}

.blog-featured-card__link {
  display: grid;
  grid-template-columns: 580px minmax(0, 1fr);
  color: inherit;
}

.blog-featured-card__media,
.blog-single-card__hero {
  background: linear-gradient(135deg, #352c53 0%, #1e466d 56%, #0f5e6f 100%);
}

.blog-featured-card__media {
  min-height: 360px;
}

.blog-featured-card__media img,
.blog-featured-card__fallback,
.blog-card__media img,
.blog-card__fallback,
.blog-single-card__hero img,
.blog-single-card__hero-fallback,
.blog-related-card__media img,
.blog-related-card__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-card__fallback,
.blog-card__fallback,
.blog-single-card__hero-fallback,
.blog-related-card__fallback {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 116, 179, 0.24), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(157, 214, 255, 0.26), transparent 20%),
    linear-gradient(135deg, #2c2549, #184563 60%, #0d646c);
}

.blog-featured-card__body {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 40px;
}

.blog-featured-card__meta,
.blog-card__meta,
.blog-related-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-featured-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #ff6bae;
  border-radius: 4px;
  background: #ffe8f3;
  color: #ff6bae;
  font-size: 0.68rem;
  font-weight: 700;
}

.blog-badge--featured {
  background: #ff6bae;
  color: #fff;
}

.blog-featured-card__date,
.blog-card__date,
.blog-related-card__meta p {
  color: #a07898;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
}

.blog-featured-card__body h2,
.blog-single-card__header h1 {
  margin: 0;
  color: #3d2b4f;
}

.blog-featured-card__body h2 {
  font-size: 1.9rem;
  line-height: 1.4;
}

.blog-featured-card__excerpt,
.blog-card__excerpt {
  margin: 0;
  color: #6b5080;
  line-height: 1.6;
}

.blog-featured-card__excerpt {
  font-size: 0.9rem;
}

.blog-featured-card__footer,
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-author-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.blog-author-inline--compact {
  gap: 8px;
}

.blog-author-inline__avatar,
.blog-author-profile__avatar {
  flex: 0 0 auto;
}

.blog-author-inline__avatar img,
.blog-author-inline__avatar-fallback {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.blog-author-inline--compact .blog-author-inline__avatar img,
.blog-author-inline--compact .blog-author-inline__avatar-fallback {
  width: 24px;
  height: 24px;
}

.blog-author-inline__avatar-fallback,
.blog-author-profile__avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff7ab7 0%, #8f88ff 100%);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.blog-author-inline__copy {
  display: grid;
  gap: 2px;
}

.blog-author-inline__name,
.blog-author-inline__role,
.blog-author-profile__name,
.blog-author-profile__role,
.blog-author-profile__text {
  margin: 0;
}

.blog-author-inline__name,
.blog-author-profile__name {
  color: #3d2b4f;
  font-size: 0.85rem;
  font-weight: 700;
}

.blog-author-inline__role,
.blog-author-profile__role {
  color: #a07898;
  font-size: 0.68rem;
}

.blog-link-inline {
  color: #ff6bae;
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-archive-divider,
.blog-single-related__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-archive-divider {
  margin: 32px 0 0;
}

.blog-archive-divider h2,
.blog-single-related__title-row h2 {
  margin: 0;
  color: #3d2b4f;
}

.blog-archive-divider h2 {
  font-size: 1.1rem;
}

.blog-archive-divider__line {
  flex: 1 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(249, 208, 232, 1) 0%, rgba(249, 208, 232, 0) 100%);
}

.blog-card-grid,
.blog-single-related__grid {
  display: grid;
  gap: 24px;
}

.blog-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.blog-card,
.blog-related-card {
  overflow: hidden;
  border: 1px solid #f9d0e8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 16px rgba(255, 183, 217, 0.25);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.blog-card:hover,
.blog-related-card:hover,
.blog-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 174, 0.32);
  box-shadow: 0 14px 28px rgba(255, 183, 217, 0.28);
}

.blog-card__link,
.blog-related-card__link {
  display: grid;
  height: 100%;
  color: inherit;
}

.blog-card__media {
  height: 180px;
}

.blog-card__body,
.blog-related-card__body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.blog-card__body h3,
.blog-related-card__body h3 {
  margin: 0;
  color: #3d2b4f;
  line-height: 1.4;
}

.blog-card__body h3 {
  font-size: 1rem;
}

.blog-card__excerpt {
  font-size: 0.82rem;
}

.blog-empty-state {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #f9d0e8;
  border-radius: 12px;
  background: #fff;
  color: #a07898;
}

.blog-pagination {
  margin-top: 40px;
}

.blog-pagination .nav-links,
.blog-archive-section .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.blog-pagination .page-numbers,
.blog-archive-section .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  color: #6b4f80;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.blog-pagination .page-numbers.current,
.blog-archive-section .page-numbers.current {
  background: #ff6bad;
  color: #fff;
}

.blog-single-section .container {
  max-width: 1280px;
}

.blog-single-card__hero {
  height: 400px;
}

.blog-single-card__body {
  display: grid;
  gap: 40px;
  padding: 48px;
}

.blog-single-card__header {
  display: grid;
  gap: 16px;
}

.blog-single-card__category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 6px 12px;
  border: 1px solid #ff6bae;
  border-radius: 20px;
  background: #ffd6ec;
  color: #ff6bae;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.blog-single-card__header h1 {
  font-size: clamp(2rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
}

.blog-single-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: #a07898;
  font-size: 0.875rem;
}

.blog-single-card__meta p {
  margin: 0;
}

.blog-single-card__divider {
  height: 1px;
  background: #f9d0e8;
}

.blog-single-article {
  color: #6b5080;
}

.blog-single-card {
  border: 1px solid #f9d0e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.blog-single-card__hero img,
.blog-single-card__hero-fallback {
  display: block;
}

.blog-author-inline {
  gap: 12px;
}

.blog-author-inline__avatar img,
.blog-author-inline__avatar-fallback {
  width: 36px;
  height: 36px;
}

.blog-author-inline__name {
  font-size: 0.875rem;
}

.blog-single-article > *:first-child {
  margin-top: 0;
}

.blog-single-article > * {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-single-article > * + * {
  margin-top: 32px;
}

.blog-single-article p,
.blog-single-article li {
  color: #6b5080;
  font-size: 1rem;
  line-height: 1.7;
}

.blog-single-article h2,
.blog-single-article h3 {
  position: relative;
  color: #3d2b4f;
}

.blog-single-article h2 {
  padding-left: 16px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.blog-single-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 18px;
  border-radius: 0;
  background: #ff6bae;
  transform: translateY(-50%);
}

.blog-single-article h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
}

.blog-single-article blockquote,
.blog-single-article .wp-block-quote {
  margin: 0;
  padding: 24px;
  border: 1px solid #f9d0e8;
  border-radius: 16px;
  background: #fff;
  color: #6b5080;
}

.blog-single-article blockquote p,
.blog-single-article .wp-block-quote p {
  margin: 0;
}

.blog-single-article blockquote p + p,
.blog-single-article .wp-block-quote p + p {
  margin-top: 12px;
}

.blog-single-article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #f9d0e8;
  border-radius: 20px;
}

.blog-single-article th,
.blog-single-article td {
  padding: 15px 16px;
  border-top: 1px solid rgba(249, 208, 232, 0.65);
  text-align: left;
}

.blog-single-article tr:first-child th,
.blog-single-article tr:first-child td {
  border-top: 0;
}

.blog-single-article th {
  background: #fff0f7;
  color: #d4447a;
  font-size: 0.875rem;
  font-weight: 700;
}

.blog-single-article td {
  color: #6b5080;
  font-size: 0.9375rem;
}

.blog-single-article figure,
.blog-single-article img {
  max-width: 100%;
}

.blog-single-article figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.blog-single-article img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-single-article figcaption {
  color: #a07898;
  font-size: 0.75rem;
  line-height: 1.4;
}

.blog-single-article ul,
.blog-single-article ol {
  display: grid;
  gap: 12px;
  padding-left: 1.375rem;
}

.blog-related-links,
.blog-author-profile {
  border: 1px solid #f9d0e8;
  border-radius: 16px;
}

.blog-related-links {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: none;
}

.blog-related-links__title-row,
.blog-single-related__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-related-links__title-row span,
.blog-single-related__title-row span {
  width: 4px;
  height: 18px;
  border-radius: 0;
  background: #ff6bae;
}

.blog-related-links__title-row p {
  margin: 0;
  color: #3d2b4f;
  font-size: 0.875rem;
  font-weight: 700;
}

.blog-related-links__list {
  display: grid;
  gap: 10px;
}

.blog-related-links__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #f9d0e8;
  border-radius: 12px;
  background: #fff5fb;
  color: #3d2b4f;
  font-size: 0.875rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.blog-related-links__item:hover,
.blog-related-links__item:focus-visible {
  background: #fff0f7;
  border-color: #ffb7d9;
  box-shadow: 0 10px 20px rgba(255, 183, 217, 0.18);
  transform: translateY(-1px);
}

.blog-related-links__item:hover span,
.blog-related-links__item:focus-visible span {
  color: #ff6bae;
}

.blog-related-links__item strong {
  margin-left: auto;
  color: #ff6bae;
  transition: transform 0.2s ease;
}

.blog-related-links__item:hover strong,
.blog-related-links__item:focus-visible strong {
  transform: translateX(2px);
}

.blog-author-profile {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #fff5fb;
  box-shadow: none;
}

.blog-author-profile__avatar img,
.blog-author-profile__avatar-fallback {
  width: 96px;
  height: 96px;
  border-radius: 999px;
}

.blog-author-profile__body {
  display: grid;
  gap: 8px;
}

.blog-author-profile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.blog-author-profile__role {
  color: #d4447a;
  font-weight: 700;
}

.blog-author-profile__text {
  color: #6b5080;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.blog-author-profile__link {
  color: #ff6bae;
  font-size: 0.8125rem;
  font-weight: 700;
}

.blog-single-related {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.blog-single-related__title-row h2 {
  font-size: 1.375rem;
  line-height: 1.2;
}

.blog-single-related__grid {
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-related-card__media {
  height: 160px;
}

.blog-related-card {
  border: 1px solid #f9d0e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.blog-related-card__body h3 {
  font-size: 0.94rem;
  line-height: 1.45;
}

.article-note-box {
  padding: 24px;
  border: 1px solid #ff6bae;
  border-radius: 24px;
  background: #fff0f7;
}

.article-note-box p {
  color: #3d2b4f;
}

.article-note-box strong {
  color: #ff6bae;
}

.top-content-column {
  display: grid;
  gap: 20px;
  align-content: start;
}

.top-content-column__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-content-column__label span {
  width: 3px;
  height: 12px;
  background: var(--color-primary-500);
}

.top-content-list {
  display: grid;
  gap: 16px;
}

.top-media-item__link {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.top-media-item__thumb,
.top-media-item__thumb img {
  width: 160px;
  height: 90px;
}

.top-media-item__thumb img {
  object-fit: cover;
  transition: transform 0.32s ease;
}

.top-media-item__poster {
  display: grid;
  place-items: center;
  width: 160px;
  height: 90px;
  background: linear-gradient(135deg, #1d263d, #466173);
  color: #f5fbff;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.top-media-item__body {
  display: grid;
  gap: 10px;
  align-content: center;
}

.top-media-item__link:hover .top-media-item__thumb img {
  transform: scale(1.05);
}

.top-media-item__body h3,
.top-article-item__link h3 {
  font-size: 0.95rem;
}

.top-media-item__meta,
.top-article-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.top-article-item__link {
  display: grid;
  gap: 12px;
  min-height: 75px;
  padding: 16px;
}

.top-article-item__category {
  color: var(--color-primary-500);
  font-size: 0.72rem;
  font-weight: 700;
}

.top-media-item--placeholder,
.top-article-item--placeholder {
  background: rgba(255, 255, 255, 0.72);
}

.top-media-item--placeholder .top-media-item__poster {
  background: linear-gradient(135deg, #f4dbe7, #f6edf3);
  color: var(--color-text-700);
}

.top-media-item--placeholder h3,
.top-article-item--placeholder h3 {
  color: var(--color-text-700);
}

.card-grid,
.content-list {
  display: grid;
  gap: 24px;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--two,
.two-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-sm > * + * {
  margin-top: 12px;
}

.stack-md > * + * {
  margin-top: 16px;
}

.stack-lg > * + * {
  margin-top: 24px;
}

.breadcrumbs__list,
.spec-list,
.pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-header {
  margin-bottom: 24px;
}

.page-header .section-header {
  margin-bottom: 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  color: var(--color-text-200);
}

.pill,
.race-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.pill {
  color: var(--color-primary-500);
  background: var(--color-primary-50);
}

.race-card__status {
  color: var(--color-primary-500);
  background: rgba(255, 231, 242, 0.9);
}

.race-card__status--結果確定 {
  color: #7a3c8b;
  background: rgba(228, 219, 255, 0.94);
}

.race-card__head,
.race-headline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.race-card__link,
.character-card__link {
  display: grid;
  height: 100%;
  color: inherit;
}

.character-card__media {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, rgba(90, 64, 118, 0.98), rgba(41, 84, 133, 0.92));
}

.character-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-card__fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 128, 191, 0.28), transparent 16%),
    radial-gradient(circle at 82% 22%, rgba(144, 221, 255, 0.22), transparent 18%),
    linear-gradient(135deg, #342b53 0%, #223d69 54%, #0d4f65 100%);
}

.character-archive-header {
  padding-top: 24px;
}

.character-archive-intro {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.character-archive-intro .section-header {
  margin-bottom: 0;
}

.character-archive-intro__body {
  margin: 0;
  color: #a07898;
  font-size: 0.95rem;
  line-height: 1.9;
}

.character-archive-section {
  padding: 40px 0 88px;
}

.character-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.character-card {
  overflow: hidden;
  border: 1.5px solid #f9d0e8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(255, 183, 217, 0.25);
  transition:
    box-shadow 0.24s ease,
    transform 0.24s ease,
    border-color 0.24s ease;
}

.character-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 174, 0.44);
  box-shadow: 0 18px 40px rgba(255, 173, 213, 0.34);
}

.character-card__role {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #ff8ec2;
  border-radius: 6px;
  background: rgba(255, 232, 243, 0.95);
  color: #ff6bae;
  font-size: 0.7rem;
  font-weight: 700;
}

.character-card__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.character-card__title-group {
  display: grid;
  gap: 4px;
}

.character-card__title-group h3 {
  margin: 0;
  color: #3d2b4f;
  font-size: 1.25rem;
  line-height: 1.35;
}

.character-card__name-en {
  margin: 0;
  color: #ff6bae;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.character-card__meta,
.character-card__quote {
  margin: 0;
}

.character-card__meta {
  color: #a07898;
  font-size: 0.81rem;
  font-weight: 700;
}

.character-card__quote {
  color: #6b5080;
  font-size: 0.78rem;
  line-height: 1.7;
}

.character-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.character-stat-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.character-stat-badge--pink {
  background: #ffe8f3;
  color: #ff6bae;
}

.character-stat-badge--lavender {
  background: #ede8ff;
  color: #6050a0;
}

.character-card__cta {
  justify-self: end;
  color: #ff6bae;
  font-size: 0.82rem;
  font-weight: 700;
}

.character-profile-header {
  padding-top: 24px;
}

.character-profile-hero {
  position: relative;
  padding: 40px 0 64px;
}

.character-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6% 18%, rgba(255, 189, 224, 0.32), transparent 18%),
    radial-gradient(circle at 86% 24%, rgba(218, 204, 255, 0.35), transparent 20%),
    #fff5fb;
  pointer-events: none;
}

.character-profile-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.character-profile-card {
  overflow: hidden;
  border: 1.5px solid #f9d0e8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(255, 183, 217, 0.25);
}

.character-profile-card__media {
  height: 440px;
  background: linear-gradient(135deg, rgba(82, 58, 109, 0.98), rgba(45, 102, 150, 0.9));
}

.character-profile-card__media img,
.character-profile-card__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-profile-card__fallback {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 102, 170, 0.26), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(146, 220, 255, 0.24), transparent 20%),
    linear-gradient(135deg, #342b53, #0b4962);
}

.character-profile-card__body {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: #fff0f7;
}

.character-profile-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.character-profile-card__role {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid #ff8ec2;
  border-radius: 6px;
  background: #ffe8f3;
  color: #ff6bae;
  font-size: 0.7rem;
  font-weight: 700;
}

.character-profile-card__role-en {
  margin: 0;
  color: #a07898;
  font-size: 0.81rem;
  font-weight: 700;
}

.character-profile-card__intro {
  margin: 0;
  color: #6b5080;
  font-size: 0.82rem;
  line-height: 1.75;
}

.character-profile-main {
  display: grid;
  gap: 28px;
  align-content: start;
}

.character-profile-heading {
  display: grid;
  gap: 12px;
}

.character-profile-heading__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #ff8ec2;
  border-radius: 999px;
  background: #ffd6ec;
  color: #3d2b4f;
  font-size: 0.72rem;
  font-weight: 700;
}

.character-profile-heading__badge span:first-child {
  color: #ff6bae;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.character-profile-heading__divider {
  width: 12px;
  height: 1px;
  background: #ff8ec2;
}

.character-profile-heading__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
}

.character-profile-heading__name-row h1 {
  margin: 0;
  color: #3d2b4f;
  font-size: clamp(2.4rem, 4vw, 2.75rem);
  line-height: 1.12;
}

.character-profile-heading__name-en {
  margin: 0;
  color: #ff6bae;
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.character-profile-heading__specialty {
  margin: 0;
  color: #a07898;
  font-size: 1rem;
  font-weight: 700;
}

.character-profile-quote {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid #f9d0e8;
  background: rgba(255, 255, 255, 0.9);
  color: #ff6bae;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
}

.character-profile-section-title {
  margin: 0;
  color: #3d2b4f;
  font-size: 1.1rem;
}

.character-profile-details {
  display: grid;
  gap: 16px;
}

.character-profile-details__grid {
  display: grid;
  gap: 16px;
}

.character-detail-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #f9d0e8;
  border-radius: 12px;
  background: #fff;
}

.character-detail-card__label,
.character-detail-card__title,
.character-detail-card__body {
  margin: 0;
}

.character-detail-card__label {
  color: #a07898;
  font-size: 0.81rem;
  font-weight: 700;
}

.character-detail-card__title {
  color: #3d2b4f;
  font-size: 0.95rem;
  font-weight: 700;
}

.character-detail-card__body {
  color: #a07898;
  font-size: 0.8rem;
  line-height: 1.7;
}

.character-parameter-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
  border-radius: 16px;
  background: #ffe8f3;
}

.character-parameter-panel__title {
  margin: 0;
  color: #ff6bae;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.character-parameter-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.character-parameter {
  display: grid;
  gap: 6px;
}

.character-parameter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #3d2b4f;
  font-size: 0.75rem;
  font-weight: 700;
}

.character-parameter__head strong {
  color: #ff6bae;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
}

.character-parameter__track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #fff;
}

.character-parameter__fill {
  height: 100%;
  border-radius: inherit;
  background: #ff6bae;
}

.character-article-section {
  padding: 64px 0 80px;
  border-top: 1px solid #f9d0e8;
  border-bottom: 1px solid #f9d0e8;
  background: #fff;
}

.character-article-section__title {
  margin: 8px 0 0;
  color: #3d2b4f;
  font-size: 1.9rem;
  line-height: 1.3;
}

.character-article-section__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.character-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
}

.character-article-card,
.character-article-empty {
  border: 1px solid #f9d0e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(255, 183, 217, 0.18);
}

.character-article-empty {
  grid-column: 1 / -1;
  padding: 28px;
  color: #a07898;
}

.character-article-card__link {
  display: grid;
  height: 100%;
  color: inherit;
}

.character-article-card__thumb {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: linear-gradient(135deg, rgba(99, 76, 123, 0.98), rgba(255, 232, 243, 0.88));
}

.character-article-card__thumb img,
.character-article-card__thumb-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-article-card__thumb-fallback {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 115, 184, 0.24), transparent 18%),
    radial-gradient(circle at 84% 24%, rgba(167, 151, 255, 0.26), transparent 22%),
    linear-gradient(135deg, #efe4ff, #ffe8f3);
}

.character-article-card__grade,
.character-article-card__date {
  position: absolute;
  left: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.character-article-card__grade {
  top: 12px;
  background: rgba(255, 240, 247, 0.92);
  color: #ff6bae;
}

.character-article-card__date {
  bottom: 12px;
  background: rgba(61, 43, 79, 0.72);
  color: #fff;
}

.character-article-card__body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.character-article-card__headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.character-article-card__headline h3,
.race-card h3 {
  margin: 0;
}

.character-article-card__headline h3 {
  color: #3d2b4f;
  font-size: 1.15rem;
  line-height: 1.35;
}

.character-article-card__course {
  margin: 6px 0 0;
  color: #a07898;
  font-size: 0.76rem;
  font-weight: 500;
}

.character-article-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #ff8ec2;
  border-radius: 999px;
  background: #ffe8f3;
  color: #ff6bae;
  font-size: 0.82rem;
  font-weight: 700;
}

.character-article-card__picks {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #f9d0e8;
  border-radius: 16px;
  background: #fff5fb;
}

.character-article-pick {
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.character-article-pick__mark {
  color: #a07898;
  font-size: 0.88rem;
  font-weight: 900;
}

.character-article-pick__horse-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #f9d0e8;
  border-radius: 8px;
  background: #fff5f9;
  color: #a07898;
  font-size: 0.75rem;
  font-weight: 700;
}

.character-article-pick__horse-number--primary {
  border-color: #ffd6ec;
  background: #ff6bae;
  color: #fff;
}

.character-article-pick__horse-number--gold {
  border-color: #fbbf24;
  background: #fde68a;
  color: #92400e;
}

.character-article-pick__horse-number--blue {
  border-color: #bfdbfe;
  background: #dbeafe;
  color: #2563eb;
}

.character-article-pick__horse-number--rose {
  border-color: #fecdd3;
  background: #ffe4e6;
  color: #e11d48;
}

.character-article-pick__horse {
  min-width: 0;
  color: #3d2b4f;
  font-size: 0.82rem;
  font-weight: 700;
}

.character-article-pick__odds {
  color: #e0708a;
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
}

.character-article-pick__odds small {
  margin-left: 2px;
  color: #a07898;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.72rem;
}

.character-article-card__footer {
  display: grid;
  gap: 12px;
}

.character-article-card__confidence {
  display: grid;
  gap: 6px;
}

.character-article-card__confidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #a07898;
  font-size: 0.76rem;
}

.character-article-card__confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}

.character-article-card__confidence-pill--high,
.character-article-card__confidence-fill--high {
  background: #22c55e;
}

.character-article-card__confidence-pill--mid,
.character-article-card__confidence-fill--mid {
  background: #f59e0b;
}

.character-article-card__confidence-pill--low,
.character-article-card__confidence-fill--low {
  background: #fb7185;
}

.character-article-card__confidence-track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #fde68a;
}

.character-article-card__confidence-fill {
  height: 100%;
  border-radius: inherit;
}

.character-article-card__cta {
  justify-self: end;
  color: #ff6bae;
  font-size: 0.82rem;
  font-weight: 700;
}

.content-list__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.content-list__arrow {
  font-size: 1.5rem;
  color: var(--color-primary-500);
}

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

.meta-item {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 244, 249, 0.88);
}

.meta-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text-700);
  font-size: 0.85rem;
}

.notice-banner {
  padding: 14px 20px;
  border: 1px solid rgba(255, 132, 191, 0.24);
  border-radius: var(--radius-md);
  color: var(--color-primary-500);
  background: rgba(255, 246, 250, 0.95);
}

.pick-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 64px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 132, 191, 0.14);
}

.pick-row:last-child {
  border-bottom: 0;
}

.pick-row__type,
.pick-row__level {
  font-weight: 700;
}

.pick-row__type {
  color: var(--color-primary-500);
}

.results-table {
  display: grid;
  gap: 2px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 132, 191, 0.14);
}

.results-table__row {
  display: grid;
  grid-template-columns: 80px 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-bg-white);
  align-items: center;
}

.results-table__row--head {
  font-weight: 700;
  background: var(--color-bg-100);
}

.quote-block {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--color-primary-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 239, 246, 0.88);
  color: var(--color-text-900);
}

.spec-list {
  display: grid;
  gap: 12px;
}

.spec-list__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 132, 191, 0.14);
}

.spec-list__row span {
  color: var(--color-text-700);
}

.editor-content > *:first-child {
  margin-top: 0;
}

.editor-content > *:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 80px;
  padding: 64px 0 40px;
  color: var(--color-text-900);
  background: rgba(255, 241, 247, 0.9);
  border-top: 1px solid rgba(255, 132, 191, 0.18);
}

.post-type-archive-race_prediction .site-footer,
.single-race_prediction .site-footer {
  margin-top: 0;
}

.site-footer__inner {
  display: grid;
  gap: 48px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: flex-start;
}

.site-footer__intro {
  max-width: 360px;
  display: grid;
  gap: 16px;
}

.site-footer__logo {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
}

.site-footer__description {
  margin: 0;
  color: var(--color-text-700);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  gap: 64px;
}

.site-footer__link-group {
  display: grid;
  gap: 16px;
}

.site-footer__link-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-950);
}

.site-footer__link-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link-list a {
  color: var(--color-text-700);
  font-size: 0.8125rem;
}

.site-footer__link-list a:hover {
  color: var(--color-primary-500);
  transform: translateX(2px);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 132, 191, 0.18);
}

.site-footer__copy {
  color: #c4a0b8;
  font-size: 0.75rem;
}

.site-footer__socials {
  display: flex;
  gap: 16px;
}

.site-footer__social {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffe7f2;
  color: var(--color-primary-500);
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.site-footer__social:hover {
  background: var(--color-primary-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 78, 163, 0.18);
}

.brand:hover {
  opacity: 0.92;
}

.breadcrumbs__item a:hover {
  color: var(--color-primary-500);
}

.race-archive-hero,
.race-single-hero {
  padding: 28px 0 0;
  background: rgba(255, 244, 250, 0.78);
}

.single-race_prediction .race-single-hero {
  padding: 18px 0 0;
  background: #fff6fa;
}

.race-archive-hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
}

.race-archive-hero__title,
.race-single-hero__title {
  margin: 0;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text-950);
}

.race-date-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.race-date-switcher__arrow,
.race-date-switcher__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6f5a7f;
  font-size: 0.875rem;
  font-weight: 700;
}

.race-date-switcher__arrow {
  width: 30px;
  padding: 0;
  color: var(--color-primary-500);
  background: rgba(255, 232, 241, 0.72);
}

.race-date-switcher__arrow.is-disabled {
  color: #d8bfd0;
  background: rgba(255, 245, 250, 0.72);
  pointer-events: none;
}

.race-date-switcher__chip.is-active,
.race-date-switcher__chip:hover {
  color: #fff;
  background: #ff6bad;
}

.race-venue-tabs {
  display: flex;
  gap: 0;
  margin-top: 24px;
  border-bottom: 1px solid rgba(255, 132, 191, 0.18);
}

.race-venue-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 132, 191, 0.18);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f3e8ef;
  color: #a07898;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.race-venue-tabs__item + .race-venue-tabs__item {
  margin-left: -1px;
}

.race-venue-tabs__item.is-active {
  background: #fff;
  color: var(--color-primary-500);
  font-weight: 700;
}

.race-venue-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ede0e8;
  color: #c4a0c0;
  font-family: "Outfit", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
}

.race-venue-tabs__item.is-active .race-venue-tabs__badge {
  background: #ffe8f3;
  color: var(--color-primary-500);
}

.race-archive-content,
.race-single-content {
  padding: 28px 0 72px;
}

.post-type-archive-race_prediction .race-archive-content,
.single-race_prediction .race-single-content {
  background: #fff;
  border-top: 1px solid rgba(255, 132, 191, 0.12);
}

.single-race_prediction .race-single-content {
  background: #fff6fa;
  border-top: 0;
}

.post-type-archive-race_prediction .race-archive-content > .container,
.single-race_prediction .race-single-content > .container {
  width: min(calc(100% - 40px), 1240px);
}

.race-info-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 36px;
  padding: 10px 20px;
  margin-bottom: 28px;
  border: 1px solid #ff8ec2;
  border-radius: 8px;
  background: #ffe8f3;
}

.race-info-banner__message {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ff6bae;
  font-size: 0.8125rem;
  font-weight: 700;
}

.race-info-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary-500);
}

.race-info-banner__time {
  color: #a07898;
  font-size: 0.75rem;
}

.race-table-card,
.race-panel {
  border: 1px solid rgba(255, 132, 191, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(126, 70, 108, 0.07);
}

.race-table-card {
  --race-agent-count: 4;
  --race-agent-column-width: 255px;
  --race-table-width: calc(80px + 180px + (var(--race-agent-count) * var(--race-agent-column-width)));
  overflow: hidden;
}

.race-table-card__header,
.race-table-row {
  display: grid;
  width: var(--race-table-width);
  grid-template-columns: 80px 180px repeat(var(--race-agent-count), minmax(0, var(--race-agent-column-width)));
}

.race-table-card__header {
  background: #3d2b4f;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.race-table-card__header > div {
  padding: 12px 8px;
}

.race-table-card__header > div:nth-child(n + 3) {
  color: #ffb7d9;
}

.race-table-card__agent-head-short {
  display: none;
}

.race-table-row {
  align-items: stretch;
  min-height: 91px;
  border-top: 1px solid rgba(255, 132, 191, 0.18);
  background: rgba(255, 255, 255, 1);
}

.race-table-row.is-finalized {
  background: #f7fff9;
  box-shadow: inset 2px 0 0 #26b778;
}

.race-table-row:hover {
  background: rgba(255, 249, 252, 0.98);
}

.race-table-row__race,
.race-table-row__meta,
.race-agent-cell {
  padding: 12px 12px;
}

.race-table-row__race {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
}

.race-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fff0f7;
  color: var(--color-text-900);
  font-family: "Outfit", sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
}

.race-table-row__flag {
  color: #16a065;
  font-size: 0.72rem;
  font-weight: 800;
}

.race-table-row__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.race-table-row__title {
  color: var(--color-text-950);
  font-size: 0.875rem;
  font-weight: 800;
}

.race-table-row__sub {
  margin: 0;
  color: #9a7f9f;
  font-size: 0.6875rem;
  line-height: 1.2;
}

.race-agent-cell {
  display: flex;
  align-items: center;
}

.race-agent-cell__label {
  display: none;
}

.race-agent-cell__link {
  display: block;
  width: 100%;
}

.race-agent-cell__inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 6px;
  width: 100%;
  padding: 0;
  background: transparent;
}

.race-agent-cell__inner--empty {
  display: flex;
  justify-content: center;
  min-height: 44px;
  color: var(--color-text-500);
}

.race-agent-cell__mark,
.race-pick-mark {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: var(--color-primary-500);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  background: #ffe0f0;
}

.race-agent-cell__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.race-agent-cell__horse {
  color: var(--color-text-950);
  font-size: 0.8125rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.race-agent-cell__meta {
  display: flex;
  gap: 4px;
  margin-top: 0;
  color: #a07898;
  font-size: 0.625rem;
}

.race-agent-cell__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 19px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ebf7ee;
  color: #0f8a50;
  font-weight: 800;
}

.race-agent-cell__inner--blue .race-agent-cell__mark {
  color: #5b7fff;
  background: #e0e8ff;
}

.race-agent-cell__inner--gold .race-agent-cell__mark {
  color: #d4900a;
  background: #fff5d6;
}

.race-agent-cell__inner--lavender .race-agent-cell__mark {
  color: #9186eb;
  background: #ece7ff;
}

.race-agent-cell__inner--rose .race-agent-cell__mark {
  color: #ff2f8f;
  background: #ffd5e8;
  box-shadow: 0 10px 24px rgba(255, 47, 143, 0.18);
}

.race-pick-row--primary .race-pick-mark {
  color: #ff5e98;
  background: #ffe0f0;
}

.race-pick-row--blue .race-pick-mark {
  color: #5a7cf3;
  background: #e0e8ff;
}

.race-pick-row--gold .race-pick-mark {
  color: #d99400;
  background: #fff5d6;
}

.race-pick-row--lavender .race-pick-mark {
  color: #8a7ae6;
  background: #ede8ff;
}

.race-pick-row--rose .race-pick-mark {
  color: #d53e8d;
  background: #ffe0f2;
}

.race-agent-cell__inner--blue .race-agent-cell__score {
  background: #fef3c7;
  color: #b45309;
}

.race-agent-cell__inner--gold .race-agent-cell__score,
.race-agent-cell__inner--rose .race-agent-cell__score {
  background: #fee2e2;
  color: #dc2626;
}

.race-agent-cell__inner--lavender .race-agent-cell__score {
  background: #efe9ff;
  color: #7a5ce0;
}

.race-agent-cell__mark {
  grid-row: 1 / span 2;
}

.race-agent-cell__placeholder {
  color: #b89cad;
  font-size: 0.75rem;
}

.race-agent-cell__inner--empty {
  border-radius: 12px;
  background: rgba(255, 245, 250, 0.72);
}

.race-agent-cell__link:hover .race-agent-cell__horse,
.race-agent-cell__link:focus-visible .race-agent-cell__horse {
  color: var(--color-primary-500);
}

.race-agent-cell__link:hover .race-agent-cell__mark,
.race-agent-cell__link:focus-visible .race-agent-cell__mark {
  transform: scale(1.04);
  box-shadow: 0 10px 20px rgba(255, 105, 174, 0.14);
}

.race-agent-cell__link:focus-visible {
  outline: 2px solid rgba(255, 105, 174, 0.5);
  outline-offset: 4px;
  border-radius: 10px;
}

.race-table-empty,
.race-panel__empty {
  padding: 28px;
  color: var(--color-text-700);
}

.race-single-stack {
  display: grid;
  gap: 18px;
}

.race-panel {
  max-width: 100%;
  min-width: 0;
  padding: 22px 22px 20px;
}

.race-panel--basic {
  padding-bottom: 16px;
}

.race-panel--copy p,
.race-confidence__body {
  margin: 0;
  color: #7f6d90;
  font-size: 0.8rem;
  line-height: 1.85;
}

.race-panel__head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.race-panel__head h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-950);
}

.race-panel__head--between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.race-section-label {
  position: relative;
  padding-left: 16px;
  color: #ff71ab;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.race-section-label::before,
.race-section-kicker__bar {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: #ff71ab;
}

.race-section-kicker {
  position: relative;
  padding-left: 16px;
}

.race-section-kicker h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-text-950);
}

.race-section-kicker__bar {
  top: 2px;
}

.race-grade-badge,
.race-confidence__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ff71ab;
  background: #ffeaf4;
  font-size: 0.74rem;
  font-weight: 800;
}

.race-basic-hero {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 18px;
}

.race-basic-hero__image {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.race-result-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 192, 128, 0.36);
  border-radius: 12px;
  color: #17a46a;
  background: rgba(240, 255, 247, 0.94);
  font-size: 0.8rem;
  font-weight: 700;
}

.race-result-banner__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.75rem;
}

.race-basic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}

.race-basic-grid__item {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 244, 249, 0.9);
}

.race-basic-grid__item span {
  display: block;
  margin-bottom: 5px;
  color: #ff80b9;
  font-size: 0.7rem;
  font-weight: 700;
}

.race-basic-grid__item strong {
  min-width: 0;
  color: var(--color-text-950);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.race-pick-list {
  display: grid;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.race-pick-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #ffbcdc;
  background: #fff0f7;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.race-pick-row--blue {
  border-color: #c2d0ff;
  background: #f0f4ff;
}

.race-pick-row--gold {
  border-color: #ffe5a0;
  background: #fffbf0;
}

.race-pick-row--lavender {
  border-color: #d8d0f5;
  background: #f7f5ff;
}

.race-pick-row--rose {
  border-color: #f5b8dc;
  background: #fff0f8;
}

.race-pick-row__main {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  min-width: 0;
}

.race-pick-row__copy {
  min-width: 0;
}

.race-pick-row__copy h3 {
  margin: 0 0 6px;
  color: var(--color-text-950);
  font-size: 0.96rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.race-pick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #9f8aa4;
  font-size: 0.68rem;
}

.race-pick-tag,
.ticket-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #f7bfd9;
  color: #ee5e99;
  background: #ffeaf4;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
}

.race-pick-row--blue .race-pick-tag {
  color: #4460cc;
  background: #d6e0ff;
}

.race-pick-row--gold .race-pick-tag {
  color: #a06808;
  background: #ffe8a0;
}

.race-pick-row--lavender .race-pick-tag {
  color: #6050a0;
  background: #ded8ff;
}

.race-pick-row--rose .race-pick-tag {
  color: #a0206a;
  background: #ffd0ea;
}

.race-pick-result {
  color: #9c88a6;
  font-weight: 600;
}

.race-pick-scores {
  display: grid;
  grid-template-columns: repeat(5, minmax(56px, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.race-score-pill {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 54px;
  max-width: 100%;
  padding: 8px 6px;
  border-radius: 10px;
  background: #ffe8f5;
  overflow: hidden;
}

.race-score-pill span {
  color: #c2aec0;
  font-size: 0.62rem;
  font-weight: 700;
}

.race-score-pill strong {
  color: #19a56c;
  font-size: 0.88rem;
}

.race-score-pill--primary {
  background: #ffe8f5;
}

.race-score-pill--primary span {
  color: #caa4bb;
}

.race-score-pill--blue {
  background: #e8edff;
}

.race-score-pill--blue span {
  color: #a9b4de;
}

.race-score-pill--gold {
  background: #fff3d0;
}

.race-score-pill--gold span {
  color: #d8ba79;
}

.race-score-pill--lavender {
  background: #ede8ff;
}

.race-score-pill--lavender span {
  color: #b8aee1;
}

.race-score-pill--rose {
  background: #ffe8f5;
}

.race-score-pill--rose span {
  color: #caa4bb;
}

.race-score-pill--neutral {
  background: rgba(255, 255, 255, 0.92);
}

.race-score-pill--neutral span {
  color: #b899b0;
}

.race-score-pill--high strong {
  color: #38b977;
}

.race-score-pill--mid strong {
  color: #eba036;
}

.race-score-pill--low strong {
  color: #ef7195;
}

.race-data-table {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 132, 191, 0.22);
  border-radius: 18px;
}

.race-data-table__head,
.race-data-table__row {
  display: grid;
  align-items: center;
  min-width: 0;
}

.race-data-table__head > span,
.race-data-table__row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.race-data-table--results .race-data-table__head,
.race-data-table--results .race-data-table__row {
  grid-template-columns: 96px 96px minmax(0, 2fr) 140px 140px 100px;
}

.race-data-table--bets-result .race-data-table__head,
.race-data-table--bets-result .race-data-table__row {
  grid-template-columns: 92px 146px 112px 88px 118px minmax(0, 1.75fr);
}

.race-data-table--bets-plan .race-data-table__head,
.race-data-table--bets-plan .race-data-table__row {
  grid-template-columns: 112px 160px 112px minmax(0, 1fr);
}

.race-data-table__head {
  padding: 10px 14px;
  background: #fff0f6;
  color: #ff76b0;
  font-size: 0.7rem;
  font-weight: 700;
}

.race-data-table__row {
  padding: 11px 14px;
  border-top: 1px solid rgba(255, 132, 191, 0.16);
  color: #59486d;
  font-size: 0.78rem;
  line-height: 1.35;
}

.race-place-badge {
  color: #ff71a9;
  font-weight: 800;
}

.race-bet-result {
  color: #26b274;
  font-weight: 800;
}

.race-bet-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  background: #e9fbf2;
  color: var(--color-text-900);
  font-size: 0.78rem;
  font-weight: 700;
}

.race-bet-summary__roi {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #23b676;
  color: #fff;
  font-size: 0.72rem;
}

.race-data-table--bets-result .race-data-table__row span:nth-child(3),
.race-data-table--bets-result .race-data-table__row span:nth-child(5) {
  color: #6f5a7f;
}

.race-data-table--bets-result .race-data-table__row span:nth-child(5) {
  font-weight: 700;
}

.race-data-table--bets-result .race-data-table__row span:last-child {
  color: #9e8aa8;
  font-size: 0.72rem;
}

.race-entry-table-section {
  width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid #ffd6ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(255, 132, 191, 0.12);
}

.race-entry-table-section__head {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.race-entry-table-section__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff4aa0;
  font-family: "DM Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.2;
}

.race-entry-table-section__bar {
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: #ff5c9c;
}

.race-entry-table-section__head h2 {
  margin: 0;
  color: #171228;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.race-entry-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #ffd6ec;
  border-radius: 10px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.race-entry-table-scroll:focus-visible {
  outline: 2px solid #ff86bd;
  outline-offset: 3px;
}

.race-entry-table {
  display: grid;
  width: max(1113px, 100%);
  min-width: 1113px;
  color: #171228;
  font-size: 0.75rem;
}

.race-entry-table__row {
  display: grid;
  grid-template-columns: 35px 44px 44px minmax(140px, 1fr) 75px repeat(5, 45px) repeat(5, 110px);
  min-height: 91px;
  border-top: 0;
}

.race-entry-table__row:nth-child(odd):not(.race-entry-table__row--head) {
  background: #fbfbfc;
}

.race-entry-table__row--head {
  min-height: 36px;
  border-top: 0;
  background: #f3f3f5;
  color: #8f7da0;
  font-size: 0.6875rem;
  font-weight: 800;
}

.race-entry-table__row > div {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 6px 8px;
  border-left: 0;
  overflow: hidden;
}

.race-entry-table__row > div:first-child {
  border-left: 0;
}

.race-entry-table__row--head > div {
  justify-content: center;
  padding: 0 8px;
}

.race-entry-table__row--head > div:nth-child(4),
.race-entry-table__row--head > div:nth-child(5) {
  justify-content: flex-start;
}

.race-entry-table__mark,
.race-entry-table__horse-number,
.race-entry-table__score {
  justify-content: center;
  font-weight: 700;
}

.race-entry-table__mark {
  color: #b8a9c4;
  font-size: 1rem;
  font-weight: 600;
}

.race-entry-table__frame-number {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #f2f2f2;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.race-entry-table__frame-number--1 {
  border-color: #171228;
  background: #fff;
  color: #171228;
}

.race-entry-table__frame-number--2 {
  background: #17223f;
}

.race-entry-table__frame-number--3 {
  background: #f04452;
}

.race-entry-table__frame-number--4 {
  background: #3b82f6;
}

.race-entry-table__frame-number--5 {
  background: #f59e0b;
  color: #171228;
}

.race-entry-table__frame-number--6 {
  background: #10b981;
  color: #171228;
}

.race-entry-table__frame-number--7 {
  background: #f97316;
  color: #171228;
}

.race-entry-table__frame-number--8 {
  background: #ec4899;
}

.race-entry-table__horse-name,
.race-entry-table__jockey {
  color: #171228;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.race-entry-table__jockey {
  font-weight: 500;
}

.race-entry-table__score--high {
  color: #1f9d62;
}

.race-entry-table__score--mid {
  color: #d98a1c;
}

.race-entry-table__score--low {
  color: #d94d78;
}

.race-entry-table__muted {
  width: 100%;
  color: #b5b5b5;
  text-align: center;
}

.race-entry-table-past {
  display: grid !important;
  align-content: center;
  gap: 4px;
  justify-items: center;
  padding: 6px 8px !important;
  color: #241433;
}

.race-entry-table-past__top,
.race-entry-table-past__course,
.race-entry-table-past__result {
  display: flex;
  align-items: center;
  min-width: 0;
}

.race-entry-table-past__top {
  justify-content: center;
  gap: 8px;
  color: #8e789f;
  font-size: 0.625rem;
}

.race-entry-table-past__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 70px;
  min-height: 17px;
  padding: 2px 10px;
  border-radius: 20px;
  background: #ffe8a0;
  color: #a06808;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1;
}

.race-entry-table-past__course {
  justify-content: center;
  gap: 8px;
  min-height: 17px;
  width: 100%;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ebf7ee;
  color: #241433;
  font-size: 0.625rem;
  line-height: normal;
  white-space: nowrap;
}

.race-entry-table-past__course span:first-child {
  color: #0f8a50;
  font-size: 0.6875rem;
  font-weight: 700;
}

.race-entry-table-past__course span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.race-entry-table-past__finish {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  color: #2b2b2b;
  font-weight: 800;
  line-height: 1;
}

.race-entry-table-past__finish-number {
  font-size: 1rem;
  line-height: 1;
}

.race-entry-table-past__finish-unit {
  font-size: 0.625rem;
  line-height: 1.1;
}

.race-entry-table-past__result {
  justify-content: space-between;
  width: 100%;
  gap: 2px;
  color: #241433;
  font-size: 0.625rem;
}

.race-entry-table-past__score {
  display: grid;
  place-items: center;
  gap: 1px;
  width: 46px;
  min-height: 37px;
  padding: 4px 2px;
  border-radius: 12px;
  background: #fff3f8;
}

.race-entry-table-past__score span {
  color: #c07090;
  font-size: 0.5625rem;
  font-weight: 400;
  line-height: 1;
}

.race-entry-table-past__score strong {
  color: #3daa6b;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}

.writer-card {
  padding: 26px 22px 24px;
}

.post-type-archive-race_prediction .race-archive-hero + .race-archive-content,
.single-race_prediction .race-single-hero + .race-single-content {
  box-shadow: inset 0 1px 0 rgba(255, 132, 191, 0.06);
}

.writer-card__label {
  position: relative;
  padding-left: 16px;
  margin-bottom: 18px;
  color: #ff71ab;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.writer-card__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff71ab;
  transform: translateY(-50%);
}

.writer-card__content {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
}

.writer-card__avatar {
  flex: 0 0 72px;
}

.writer-card__avatar-image,
.writer-card__avatar-placeholder {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
}

.writer-card__avatar-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff77b8 0%, #8f88ff 100%);
}

.writer-card__details {
  min-width: 0;
}

.writer-card__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.writer-card__name {
  min-width: 0;
  margin: 0;
  color: var(--color-text-950);
  font-size: 1.1rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.writer-card__name-en {
  color: #9b91a9;
  font-size: 0.74rem;
}

.writer-card__role {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ff71ab;
  background: #ffe8f3;
  font-size: 0.66rem;
  font-weight: 700;
}

.writer-card__specialty,
.writer-card__quote {
  margin: 0 0 6px;
  color: #7e6d8e;
  font-size: 0.78rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.writer-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  color: #978ea7;
  font-size: 0.76rem;
}

.writer-card__stats strong {
  color: #ff71ab;
  font-weight: 800;
}

.race-confidence {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-bottom: 12px;
}

.race-confidence__meter {
  position: relative;
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f7d5e7;
}

.race-confidence__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #16a065 0%, #1ebf7f 100%);
}

@media (prefers-reduced-motion: reduce) {
  a,
  .hero-action,
  .top-race-card,
  .top-member-card,
  .top-media-item,
  .top-article-item,
  .card,
  .top-member-card__image,
  .top-media-item__thumb img,
  .site-footer__social {
    transition: none;
  }

  .hero-action:hover,
  .top-race-card:hover,
  .top-member-card:hover,
  .top-media-item:hover,
  .top-article-item:hover,
  .card:hover,
  .site-footer__social:hover,
  .site-footer__link-list a:hover {
    transform: none;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .top-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-featured-card__link {
    grid-template-columns: 1fr;
  }

  .blog-featured-card__media {
    min-height: 300px;
  }

  .blog-card-grid,
  .blog-single-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .character-profile-hero__inner {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 32px;
  }

  .character-parameter-panel {
    grid-template-columns: 1fr;
  }

  .character-parameter-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .character-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .race-table-card__header,
  .race-table-row {
    --race-agent-column-width: 180px;
    --race-table-width: calc(72px + 320px + (var(--race-agent-count) * var(--race-agent-column-width)));
    grid-template-columns: 72px minmax(0, 1.1fr) repeat(var(--race-agent-count), minmax(180px, 1fr));
  }

  .race-pick-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 1024px) {
  .top-hero__inner,
  .top-content-columns,
  .card-grid--three,
  .card-grid--two,
  .top-race-grid,
  .two-column-grid,
  .hero-section__inner,
  .blog-card-grid,
  .blog-single-related__grid,
  .character-hero,
  .character-profile-hero__inner,
  .character-card-grid {
    grid-template-columns: 1fr;
  }

  .top-hero__visual {
    min-height: 0;
  }

  .top-hero__image {
    width: min(100%, 640px);
    max-height: 640px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .race-archive-hero__row,
  .race-info-banner,
  .race-panel__head--between,
  .race-confidence,
  .race-bet-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .race-venue-tabs {
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .race-table-card {
    overflow-x: auto;
  }

  .race-table-card__header,
  .race-table-row {
    min-width: var(--race-table-width);
  }

  .post-type-archive-race_prediction .race-archive-content > .container,
  .single-race_prediction .race-single-content > .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .race-basic-grid,
  .race-pick-scores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .race-data-table {
    overflow-x: auto;
  }

  .race-data-table__head,
  .race-data-table__row {
    min-width: 960px;
  }

  .writer-card__content {
    flex-direction: column;
  }

  .site-footer__inner {
    gap: 32px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer__links {
    gap: 40px;
  }

  .blog-featured-card__body,
  .blog-single-card__body {
    padding: 32px;
  }

  .blog-author-profile {
    align-items: flex-start;
  }

  .character-profile-card {
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  .brand__title,
  .site-footer__title {
    font-size: 1rem;
  }

  .brand__subtitle,
  .site-footer__subtitle {
    font-size: 0.64rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-header__status {
    display: none;
  }

  .top-member-grid,
  .meta-grid,
  .results-table__row,
  .pick-row,
  .content-list__link,
  .top-media-item__link,
  .character-parameter-panel__grid,
  .character-article-grid {
    grid-template-columns: 1fr;
  }

  .top-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .race-archive-hero,
  .race-single-hero {
    padding-top: 24px;
  }

  .race-archive-content,
  .race-single-content {
    padding: 24px 0 48px;
  }

  .post-type-archive-race_prediction .race-archive-content > .container,
  .single-race_prediction .race-single-content > .container {
    width: min(calc(100% - 24px), 1240px);
  }

  .top-hero__inner,
  .top-content-columns,
  .character-hero {
    gap: 24px;
  }

  .blog-archive-section,
  .blog-single-section {
    padding: 24px 0 56px;
  }

  .blog-category-chips {
    gap: 8px;
  }

  .blog-category-chip {
    min-height: 34px;
    padding: 7px 14px;
    font-size: 0.76rem;
  }

  .blog-featured-card__media,
  .blog-single-card__hero {
    min-height: 220px;
    height: 220px;
  }

  .blog-featured-card__body,
  .blog-card__body,
  .blog-single-card__body,
  .blog-related-card__body {
    padding: 20px;
  }

  .blog-featured-card__body h2,
  .blog-single-card__header h1 {
    font-size: 1.5rem;
  }

  .blog-featured-card__footer,
  .blog-card__footer,
  .blog-author-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-single-card__meta {
    gap: 10px;
    font-size: 0.78rem;
  }

  .blog-single-article p,
  .blog-single-article li {
    font-size: 0.92rem;
  }

  .blog-related-links,
  .blog-author-profile {
    padding: 18px;
  }

  .character-archive-section {
    padding-bottom: 56px;
  }

  .character-profile-hero {
    padding: 24px 0 40px;
  }

  .character-profile-card__media {
    height: 360px;
  }

  .character-profile-heading__name-row {
    gap: 8px;
  }

  .character-profile-heading__name-en {
    font-size: 1rem;
  }

  .character-profile-quote {
    font-size: 0.95rem;
  }

  .character-article-section {
    padding: 48px 0 56px;
  }

  .top-hero__copy {
    gap: 20px;
  }

  .top-hero__title {
    font-size: 2.125rem;
    line-height: 1.2;
  }

  .top-hero__lead {
    max-width: none;
    font-size: 0.8125rem;
    line-height: 1.54;
  }

  .top-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-action {
    width: 100%;
    min-height: 41px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.875rem;
  }

  .top-hero__visual {
    min-height: 0;
    justify-content: center;
    align-items: center;
  }

  .top-hero__image {
    width: min(244px, 68.2vw);
    max-width: 244px;
    max-height: none;
  }

  .top-hero__placeholder {
    min-height: 336px;
    height: 336px;
    border-radius: 20px;
  }

  .hero-badge {
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #ffd6ec;
    border-color: #ff8ec2;
  }

  .hero-badge__label,
  .hero-badge__sub {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
  }

  .hero-badge__divider {
    width: 6px;
  }

  .top-section,
  .section,
  .page-header {
    padding-top: 24px;
  }

  .top-section__header {
    gap: 4px;
    margin-bottom: 16px;
  }

  .top-section__title {
    font-size: 1.5rem;
    line-height: 1.35;
  }

  .top-section__eyebrow,
  .top-content-column__label strong {
    font-size: 0.6875rem;
  }

  .top-race-grid,
  .top-member-grid,
  .top-content-list {
    gap: 12px;
  }

  .top-race-card__body,
  .top-member-card__body,
  .top-media-item__body,
  .top-article-item__link {
    padding: 16px;
  }

  .top-member-card {
    min-height: 160px;
  }

  .top-member-card__visual {
    height: 92px;
    min-height: 92px;
  }

  .top-member-card__body {
    align-content: start;
    gap: 4px;
    padding: 9px 10px 10px;
    min-height: 68px;
  }

  .top-race-card__body {
    gap: 12px;
  }

  .top-race-card__body h3,
  .top-member-card__body h3 {
    font-size: 0.8125rem;
    line-height: 1.25;
  }

  .top-member-card__body h3 {
    min-height: calc(0.8125rem * 1.2 * 2);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .top-member-card__role {
    top: 10px;
    left: 10px;
    min-height: 13px;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 0.625rem;
  }

  .top-member-card__quote,
  .top-member-card__specialty,
  .top-media-item__meta,
  .top-article-item__date {
    font-size: 0.625rem;
    line-height: 1.2;
  }

  .top-member-card__specialty {
    min-height: calc(0.625rem * 1.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-member-card__quote {
    display: none;
  }

  .top-media-item__body h3,
  .top-article-item__link h3 {
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .top-content-column {
    gap: 12px;
  }

  .top-section--bordered {
    padding-bottom: 16px;
  }

  .site-footer {
    margin-top: 40px;
    padding: 32px 0 24px;
    background: #ffe8f3;
    border-top-color: #f9d0e8;
  }

  .site-footer__inner {
    gap: 24px;
  }

  .site-footer__top {
    gap: 24px;
  }

  .site-footer__intro {
    max-width: none;
    gap: 12px;
  }

  .site-footer__logo {
    font-size: 1.375rem;
    line-height: 1.25;
  }

  .site-footer__description {
    font-size: 0.6875rem;
    line-height: 1.5;
  }

  .site-footer__links {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 40px;
  }

  .site-footer__link-group {
    gap: 8px;
  }

  .site-footer__link-title {
    font-size: 0.75rem;
  }

  .site-footer__link-list {
    gap: 8px;
  }

  .site-footer__link-list a {
    font-size: 0.6875rem;
  }

  .site-footer__bottom {
    gap: 12px;
    padding-top: 16px;
    border-top-color: #f9d0e8;
  }

  .site-footer__copy {
    font-size: 0.625rem;
    line-height: 1.3;
  }

  .site-footer__socials {
    gap: 8px;
  }

  .site-footer__social {
    width: 28px;
    height: 28px;
    border: 1px solid #f9d0e8;
    background: #fff;
    font-size: 0.625rem;
  }

  .race-date-switcher {
    flex-wrap: wrap;
    gap: 10px;
  }

  .race-venue-tabs {
    margin-top: 18px;
    padding-bottom: 0;
    border-bottom: 0;
    gap: 10px;
  }

  .race-venue-tabs__item {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 132, 191, 0.18);
    border-radius: 14px;
  }

  .race-info-banner {
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .race-info-banner__message {
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .race-info-banner__time {
    font-size: 0.86rem;
  }

  .race-table-card {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .race-table-card__header {
    display: none;
  }

  .race-table-row {
    width: auto;
    min-width: 0;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 132, 191, 0.22);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(126, 70, 108, 0.08);
  }

  .race-table-row__race {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 10px;
  }

  .race-table-row__meta {
    padding: 0 18px 16px;
  }

  .race-table-row__title {
    font-size: 1.5rem;
    line-height: 1.15;
  }

  .race-table-row__sub {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .race-agent-cell {
    display: grid;
    gap: 8px;
    padding: 0 18px 14px;
  }

  .race-agent-cell:last-child {
    padding-bottom: 18px;
  }

  .race-agent-cell__label {
    display: block;
    color: #9c86a3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .race-agent-cell__inner {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
  }

  .race-agent-cell__inner--empty {
    min-height: 52px;
  }

  .race-agent-cell__horse {
    font-size: 0.98rem;
  }

  .race-agent-cell__meta {
    font-size: 0.74rem;
  }

  .race-basic-grid,
  .race-pick-scores {
    grid-template-columns: 1fr;
  }

  .race-basic-hero__image {
    height: 180px;
  }

  .race-panel {
    border-radius: 18px;
  }

  .race-single-hero__title {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }

  .race-panel__head {
    gap: 10px;
  }

  .race-pick-row__main {
    align-items: flex-start;
  }

  .race-pick-row {
    padding: 14px;
    border-radius: 16px;
  }

  .race-pick-row__copy h3 {
    font-size: 0.92rem;
  }

  .race-score-pill {
    min-width: 0;
    padding: 7px 6px;
  }

  .race-data-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .race-data-table__head,
  .race-data-table__row {
    min-width: 700px;
  }

  .race-data-table--results .race-data-table__head,
  .race-data-table--results .race-data-table__row {
    grid-template-columns: 72px 72px minmax(180px, 1.5fr) 88px 88px 72px;
  }

  .race-data-table--bets-result .race-data-table__head,
  .race-data-table--bets-result .race-data-table__row {
    grid-template-columns: 80px 108px 92px 64px 92px minmax(180px, 1.5fr);
  }

  .race-data-table--bets-plan .race-data-table__head,
  .race-data-table--bets-plan .race-data-table__row {
    grid-template-columns: 88px 120px 92px minmax(180px, 1fr);
  }

  .race-bet-summary {
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.74rem;
  }

  .writer-card {
    padding: 22px 18px;
  }

  .writer-card__avatar-image,
  .writer-card__avatar-placeholder {
    width: 64px;
    height: 64px;
  }

  .writer-card__name-row {
    gap: 8px;
  }

  .writer-card__name {
    font-size: 1rem;
  }

  .race-panel__head h2,
  .race-section-kicker h2 {
    font-size: 1.4rem;
  }

  .top-media-item__thumb,
  .top-media-item__thumb img,
  .top-media-item__poster {
    width: 100%;
    height: 180px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .top-hero,
  .top-section,
  .section,
  .page-header {
    padding-top: 48px;
  }

  .card {
    padding: 20px;
  }

  .site-footer__links,
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-nav {
    left: 10px;
    right: 10px;
  }

  .top-hero {
    padding: 16px 0 24px;
  }

  .hero-badge {
    flex-wrap: nowrap;
    row-gap: 0;
  }

  .top-section,
  .section,
  .page-header {
    padding-top: 24px;
  }

  .top-section__title,
  .race-single-hero__title,
  .race-archive-hero__title {
    font-size: 1.5rem;
  }

  .top-hero__inner,
  .top-content-columns,
  .character-hero {
    gap: 20px;
  }

  .top-hero__heading {
    gap: 10px;
  }

  .top-hero__visual {
    min-height: 336px;
  }

  .top-member-card__visual {
    min-height: 92px;
  }

  .site-footer__links {
    gap: 28px;
  }

  .single-race_prediction .breadcrumbs__list {
    gap: 4px;
    font-size: 0.68rem;
  }

  .single-race_prediction .breadcrumbs__item:not(:last-child)::after {
    margin-left: 4px;
  }

  .single-race_prediction .race-single-hero {
    padding-top: 12px;
  }

  .single-race_prediction .race-single-content {
    padding: 16px 0 36px;
  }

  .single-race_prediction .race-single-stack {
    gap: 14px;
  }

  .single-race_prediction .race-panel {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 16px;
    border-radius: 16px;
  }

  .single-race_prediction .race-panel__head {
    gap: 6px;
    margin-bottom: 12px;
  }

  .single-race_prediction .race-panel__head--between {
    flex-direction: row;
    align-items: center;
  }

  .single-race_prediction .race-section-kicker,
  .single-race_prediction .race-section-label {
    padding-left: 12px;
  }

  .single-race_prediction .race-section-label {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .single-race_prediction .race-section-label::before,
  .single-race_prediction .race-section-kicker__bar {
    width: 2px;
    height: 12px;
    top: 1px;
  }

  .single-race_prediction .race-section-kicker h2,
  .single-race_prediction .race-panel__head h2 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .single-race_prediction .race-grade-badge,
  .single-race_prediction .race-confidence__pill {
    min-height: 22px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .single-race_prediction .race-result-banner {
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 12px;
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .single-race_prediction .race-result-banner__icon {
    width: 16px;
    height: 16px;
    font-size: 0.62rem;
  }

  .single-race_prediction .race-basic-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .single-race_prediction .race-basic-grid__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ffe8f3;
    min-width: 0;
  }

  .single-race_prediction .race-basic-grid__item span {
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .single-race_prediction .race-basic-grid__item strong {
    min-width: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .single-race_prediction .race-pick-list {
    gap: 10px;
  }

  .single-race_prediction .race-pick-row {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
  }

  .single-race_prediction .race-pick-row__main,
  .single-race_prediction .race-pick-row__copy {
    min-width: 0;
  }

  .single-race_prediction .race-pick-row__copy h3 {
    margin-bottom: 4px;
    font-size: 0.82rem;
  }

  .single-race_prediction .race-pick-badges {
    gap: 4px;
    font-size: 0.62rem;
  }

  .single-race_prediction .race-pick-tag {
    min-height: 18px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  .single-race_prediction .race-pick-result {
    font-size: 0.68rem;
  }

  .single-race_prediction .race-pick-scores {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    min-width: 0;
  }

  .single-race_prediction .race-score-pill {
    min-width: 0;
    padding: 4px 2px;
    border-radius: 8px;
  }

  .single-race_prediction .race-score-pill span {
    font-size: 0.48rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .single-race_prediction .race-score-pill strong {
    font-size: 0.68rem;
  }

  .single-race_prediction .race-data-table {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
  }

  .single-race_prediction .race-data-table__head {
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.56rem;
  }

  .single-race_prediction .race-data-table__row {
    min-width: 0;
    padding: 10px;
    font-size: 0.66rem;
  }

  .single-race_prediction .race-data-table__head > span,
  .single-race_prediction .race-data-table__row > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .single-race_prediction .race-data-table--results .race-data-table__head,
  .single-race_prediction .race-data-table--results .race-data-table__row {
    grid-template-columns: 34px 28px minmax(0, 1fr) 38px 16px;
  }

  .single-race_prediction .race-data-table--results .race-data-table__head span:nth-child(4),
  .single-race_prediction .race-data-table--results .race-data-table__row span:nth-child(4) {
    text-align: right;
  }

  .single-race_prediction .race-data-table--results .race-data-table__head span:nth-child(5),
  .single-race_prediction .race-data-table--results .race-data-table__row span:nth-child(5) {
    display: none;
  }

  .single-race_prediction .race-data-table--results .race-data-table__head span:last-child,
  .single-race_prediction .race-data-table--results .race-data-table__row span:last-child {
    text-align: center;
  }

  .single-race_prediction .race-data-table--results .race-place-badge {
    font-size: 0.68rem;
  }

  .single-race_prediction .race-data-table--bets-result {
    border: 0;
    background: transparent;
  }

  .single-race_prediction .race-data-table--bets-plan {
    border: 0;
    background: transparent;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__head,
  .single-race_prediction .race-data-table--bets-plan .race-data-table__head {
    display: none;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row,
  .single-race_prediction .race-data-table--bets-plan .race-data-table__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 132, 191, 0.16);
    border-radius: 8px;
    background: #fafafa;
  }

  .single-race_prediction .race-data-table--bets-plan .race-data-table__row > span:nth-child(1),
  .single-race_prediction .race-data-table--bets-plan .race-data-table__row > span:nth-child(2),
  .single-race_prediction .race-data-table--bets-plan .race-data-table__row > span:nth-child(4) {
    grid-column: 1;
  }

  .single-race_prediction .race-data-table--bets-plan .race-data-table__row > span:nth-child(3) {
    grid-column: 2;
    justify-self: end;
    color: #d4447a;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: right;
  }

  .single-race_prediction .race-data-table--bets-plan .race-data-table__row > span:nth-child(2) {
    color: #d4447a;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .single-race_prediction .race-data-table--bets-plan .race-data-table__row > span:nth-child(4) {
    color: #a07898;
    font-size: 0.62rem;
    line-height: 1.45;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(1),
  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(2),
  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(3),
  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(6) {
    grid-column: 1;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(4),
  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(5) {
    grid-column: 2;
    justify-self: end;
    text-align: right;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(1) {
    align-self: start;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(2) {
    color: #d4447a;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(3),
  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(6) {
    color: #a07898;
    font-size: 0.62rem;
  }

  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(4),
  .single-race_prediction .race-data-table--bets-result .race-data-table__row > span:nth-child(5) {
    font-size: 0.72rem;
    font-weight: 800;
  }

  .single-race_prediction .ticket-pill {
    min-height: 18px;
    padding: 0 7px;
    font-size: 0.58rem;
  }

  .single-race_prediction .race-bet-summary {
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  .single-race_prediction .race-bet-summary__roi {
    min-height: 20px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .single-race_prediction .race-entry-table-section {
    padding: 16px;
    border: 1px solid #ffd6ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(255, 132, 191, 0.12);
  }

  .single-race_prediction .race-entry-table-section__head {
    margin-bottom: 16px;
  }

  .single-race_prediction .race-entry-table-section__label {
    font-size: 0.6875rem;
  }

  .single-race_prediction .race-entry-table-section__head h2 {
    font-size: 1.08rem;
  }

  .single-race_prediction .race-entry-table {
    font-size: 0.72rem;
  }

  .single-race_prediction .race-confidence {
    gap: 8px;
    width: 100%;
  }

  .single-race_prediction .race-panel--confidence {
    border-color: #ff6bae;
    background: #ffe8f3;
  }

  .single-race_prediction .race-panel--confidence .race-panel__head {
    margin-bottom: 10px;
  }

  .single-race_prediction .race-panel--confidence .race-panel__head h2 {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .single-race_prediction .race-panel--confidence .race-confidence__pill {
    order: -1;
    align-self: flex-start;
    min-height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    color: #0f8a50;
    background: #ebf7ee;
    font-size: 0.62rem;
    font-weight: 700;
  }

  .single-race_prediction .race-confidence__meter {
    width: 100%;
    flex: none;
    height: 8px;
    border-radius: 999px;
    background: #ffffff;
  }

  .single-race_prediction .race-confidence__fill {
    background: #10b981;
  }

  .single-race_prediction .race-confidence__body {
    color: #a07898;
    font-size: 0.62rem;
    line-height: 1.5;
  }

  .single-race_prediction .writer-card {
    padding: 14px 16px;
  }

  .single-race_prediction .writer-card__label {
    margin-bottom: 12px;
    font-size: 0.62rem;
  }

  .single-race_prediction .writer-card__avatar-image,
  .single-race_prediction .writer-card__avatar-placeholder {
    width: 52px;
    height: 52px;
  }

  .single-race_prediction .writer-card__name {
    font-size: 0.92rem;
  }

  .single-race_prediction .writer-card__name-en,
  .single-race_prediction .writer-card__role,
  .single-race_prediction .writer-card__stats,
  .single-race_prediction .writer-card__specialty,
  .single-race_prediction .writer-card__quote {
    font-size: 0.66rem;
  }

  .single-race_prediction .site-footer {
    margin-top: 0;
  }

  .single-race_prediction .site-footer__top {
    gap: 18px;
  }

  .single-race_prediction .site-footer__description,
  .single-race_prediction .site-footer__link-list a,
  .single-race_prediction .site-footer__copy {
    font-size: 0.68rem;
  }

  .race-date-switcher {
    display: grid;
    grid-template-columns: 28px repeat(3, minmax(0, 1fr)) 28px;
    align-items: center;
    width: 100%;
  }

  .race-date-switcher__chip {
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .race-date-switcher__arrow {
    justify-self: center;
  }

  .post-type-archive-race_prediction .race-archive-content {
    padding: 16px 0 36px;
  }

  .post-type-archive-race_prediction .race-info-banner {
    gap: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 8px;
  }

  .post-type-archive-race_prediction .race-info-banner__message {
    gap: 8px;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .post-type-archive-race_prediction .race-info-banner__time {
    align-self: flex-end;
    font-size: 0.62rem;
  }

  .post-type-archive-race_prediction .race-table-card {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .post-type-archive-race_prediction .race-table-card__header,
  .post-type-archive-race_prediction .race-table-row {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1.7fr) repeat(var(--race-agent-count), minmax(0, 46px));
  }

  .post-type-archive-race_prediction .race-table-card__header {
    display: grid;
    align-items: center;
    padding: 8px;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 68, 153, 0.08);
    color: #8c8594;
    font-size: 0.62rem;
    font-weight: 700;
  }

  .post-type-archive-race_prediction .race-table-card__header > div {
    padding: 0;
  }

  .post-type-archive-race_prediction .race-table-card__header > div:nth-child(2) {
    display: none;
  }

  .post-type-archive-race_prediction .race-table-card__agent-head {
    display: grid;
    place-items: center;
    color: #ff5c9c;
  }

  .post-type-archive-race_prediction .race-table-card__agent-head-full {
    display: none;
  }

  .post-type-archive-race_prediction .race-table-card__agent-head-short {
    display: inline;
  }

  .post-type-archive-race_prediction .race-table-row {
    min-height: 0;
    gap: 0;
    margin-bottom: 0;
    padding: 0 8px;
    border: 0;
    border-bottom: 0.5px solid rgba(235, 227, 237, 0.8);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
  }

  .post-type-archive-race_prediction .race-table-row:nth-child(odd) {
    background: rgba(255, 245, 250, 0.72);
  }

  .post-type-archive-race_prediction .race-table-row.is-finalized {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
  }

  .post-type-archive-race_prediction .race-table-row__race {
    display: none;
  }

  .post-type-archive-race_prediction .race-table-row__meta {
    padding: 8px 0;
    gap: 2px;
  }

  .post-type-archive-race_prediction .race-table-row__title {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .post-type-archive-race_prediction .race-table-row__sub {
    font-size: 0.55rem;
    line-height: 1.2;
  }

  .post-type-archive-race_prediction .race-agent-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
  }

  .post-type-archive-race_prediction .race-agent-cell__label,
  .post-type-archive-race_prediction .race-agent-cell__horse,
  .post-type-archive-race_prediction .race-agent-cell__meta span:first-child {
    display: none;
  }

  .post-type-archive-race_prediction .race-agent-cell__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1px;
    padding: 2px 0;
  }

  .post-type-archive-race_prediction .race-agent-cell__mark {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    font-size: 0.9rem;
    line-height: 1;
    box-shadow: none;
  }

  .post-type-archive-race_prediction .race-agent-cell__body {
    align-items: center;
  }

  .post-type-archive-race_prediction .race-agent-cell__meta {
    margin-top: 0;
    font-size: 0.48rem;
    line-height: 1;
  }

  .post-type-archive-race_prediction .race-agent-cell__score {
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #8c8594;
    font-size: 0.48rem;
    font-weight: 600;
  }

  .post-type-archive-race_prediction .race-agent-cell__inner--blue .race-agent-cell__score,
  .post-type-archive-race_prediction .race-agent-cell__inner--gold .race-agent-cell__score,
  .post-type-archive-race_prediction .race-agent-cell__inner--lavender .race-agent-cell__score,
  .post-type-archive-race_prediction .race-agent-cell__inner--rose .race-agent-cell__score {
    background: transparent;
    color: #8c8594;
  }

  .post-type-archive-race_prediction .race-agent-cell__inner--empty {
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .post-type-archive-race_prediction .race-agent-cell__placeholder {
    font-size: 0.54rem;
    color: #b2abb8;
  }

  .race-venue-tabs__name {
    font-size: 0.82rem;
  }

  .race-number-badge {
    min-width: 40px;
    min-height: 28px;
    font-size: 0.95rem;
  }

  .race-table-row__title {
    font-size: 1.28rem;
  }

  .race-table-row__sub {
    font-size: 0.84rem;
  }

  .race-agent-cell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .race-agent-cell:last-child {
    padding-bottom: 14px;
  }

  .race-agent-cell__mark,
  .race-pick-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .race-pick-row {
    gap: 14px;
    padding: 12px;
  }

  .race-pick-row__main {
    gap: 12px;
  }

  .race-score-pill span {
    font-size: 0.58rem;
  }

  .race-score-pill strong {
    font-size: 0.8rem;
  }

  .race-panel__head h2,
  .race-section-kicker h2 {
    font-size: 1.2rem;
  }

  .race-panel--copy p,
  .race-confidence__body,
  .writer-card__specialty,
  .writer-card__quote {
    font-size: 0.76rem;
  }

  .site-footer__socials {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
