/* K-1 CLASSICS — final site-wide readability layer */

:root {
  --k1-bg: #f3f5f8;
  --k1-surface: #ffffff;
  --k1-surface-soft: #f7f9fc;
  --k1-surface-blue: #edf3ff;
  --k1-text: #172033;
  --k1-text-soft: #526176;
  --k1-text-muted: #66758a;
  --k1-navy: #11182c;
  --k1-navy-2: #192641;
  --k1-blue: #0969da;
  --k1-blue-hover: #0755b5;
  --k1-blue-focus: #75a7ff;
  --k1-border: #dfe5ed;
  --k1-border-strong: #c8d2df;
  --k1-win: #08764f;
  --k1-loss: #a9362a;
  --k1-draw: #75531b;
  --k1-radius-sm: 8px;
  --k1-radius: 12px;
  --k1-radius-lg: 16px;
  --k1-shadow-sm: 0 1px 3px rgba(17, 24, 44, 0.06);
  --k1-shadow: 0 10px 30px rgba(17, 24, 44, 0.08);
  --k1-content: 1180px;
  --k1-reading: 780px;
  --k1-font-sans:
    Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body.k1-site {
  min-width: 0 !important;
  margin: 0 !important;
  background: var(--k1-bg) !important;
  color: var(--k1-text) !important;
  font-family: var(--k1-font-sans) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.k1-site :where(
  header, nav, main, article, section, aside, footer,
  div, span, p, a, font, strong, b, em, small, label,
  h1, h2, h3, h4, h5, h6,
  ul, ol, li, dl, dt, dd,
  table, caption, thead, tbody, tfoot, tr, th, td,
  button, input, select, option, textarea
) {
  font-family: var(--k1-font-sans) !important;
}

body.k1-site.has-fixed-navbar {
  padding-top: 72px !important;
}

body.k1-site.has-archive-header {
  padding-top: 0 !important;
}

body.k1-site *,
body.k1-site *::before,
body.k1-site *::after {
  box-sizing: border-box;
}

body.k1-site img,
body.k1-site picture,
body.k1-site svg,
body.k1-site iframe,
body.k1-site embed,
body.k1-site object,
body.k1-site video {
  max-width: 100% !important;
  height: auto;
}

body.k1-site p,
body.k1-site li,
body.k1-site dd,
body.k1-site td {
  color: inherit;
}

body.k1-site a {
  color: var(--k1-blue);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.08em;
}

body.k1-site a.profile-event-link {
  color: var(--k1-blue-hover) !important;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(9, 105, 218, 0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

body.k1-site a.profile-event-link:hover,
body.k1-site a.profile-event-link:focus-visible {
  color: var(--k1-blue) !important;
  text-decoration-color: currentColor;
}

body.k1-site a:hover {
  color: var(--k1-blue-hover);
}

body.k1-site :focus-visible {
  outline: 3px solid var(--k1-blue-focus) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

body.k1-site ::selection {
  background: #cfe0ff;
  color: var(--k1-navy);
}

body.k1-site .text-muted,
body.k1-site .art-meta,
body.k1-site .crumbs {
  color: var(--k1-text-muted) !important;
}

/* Site shell */

body.k1-site .container {
  width: min(calc(100% - 32px), var(--k1-content)) !important;
  max-width: var(--k1-content) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.k1-site .navbar {
  min-height: 68px;
  padding: 0.45rem 0 !important;
  background: linear-gradient(135deg, var(--k1-navy), var(--k1-navy-2)) !important;
  border: 0 !important;
  border-bottom: 3px solid var(--k1-blue) !important;
  box-shadow: 0 4px 18px rgba(12, 19, 37, 0.18) !important;
}

body.k1-site .navbar .navbar-brand {
  color: #fff !important;
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
}

body.k1-site .navbar .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.78rem !important;
  color: #d9e2f1 !important;
  font-size: 0.92rem;
  font-weight: 650;
  border-radius: 7px;
}

body.k1-site .navbar .nav-link:hover,
body.k1-site .navbar .nav-link.active,
body.k1-site .navbar .nav-link[aria-current="page"] {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

body.k1-site .navbar .dropdown-menu {
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-sm);
  box-shadow: var(--k1-shadow);
}

body.k1-site .navbar .dropdown-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  color: var(--k1-text) !important;
  white-space: normal;
  border-radius: 6px;
}

body.k1-site .navbar .dropdown-item:hover,
body.k1-site .navbar .dropdown-item:focus {
  background: var(--k1-surface-blue);
  color: var(--k1-blue-hover) !important;
}

.archive-site-header {
  position: sticky;
  z-index: 1030;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--k1-navy), var(--k1-navy-2));
  border-bottom: 3px solid var(--k1-blue);
  box-shadow: 0 4px 18px rgba(12, 19, 37, 0.18);
}

.archive-site-header__inner {
  width: min(calc(100% - 32px), var(--k1-content));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.archive-site-header__brand {
  color: #fff !important;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  white-space: nowrap;
}

.archive-site-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-site-header__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.72rem;
  color: #d9e2f1 !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 7px;
}

.archive-site-header__nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Main surfaces and headings */

body.k1-site .content-card,
body.k1-site .event-card,
body.k1-site .champ-card,
body.k1-site .art-body {
  background: var(--k1-surface) !important;
  border: 1px solid var(--k1-border) !important;
  border-radius: var(--k1-radius-lg) !important;
  box-shadow: var(--k1-shadow-sm) !important;
}

body.k1-site .content-card {
  padding: 0 !important;
  overflow: hidden;
}

body.k1-site .content-card > .card-body {
  padding: clamp(22px, 3vw, 38px) !important;
}

body.k1-site .event-card,
body.k1-site .champ-card {
  padding: clamp(20px, 2.5vw, 32px) !important;
}

body.k1-site .card-title,
body.k1-site .card-title-lg,
body.k1-site .event-card > h2,
body.k1-site .champ-card > h2 {
  margin: 0 0 24px !important;
  padding: 0 0 12px !important;
  color: var(--k1-navy) !important;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.015em;
  border: 0 !important;
  border-bottom: 3px solid var(--k1-blue) !important;
}

body.k1-site h1,
body.k1-site h2,
body.k1-site h3,
body.k1-site h4 {
  color: var(--k1-navy);
  line-height: 1.4;
}

body.k1-site h3 {
  margin: 34px 0 16px !important;
  padding-left: 13px !important;
  color: var(--k1-navy) !important;
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  border-left: 4px solid var(--k1-blue) !important;
}

body.k1-site .ui-body-a {
  padding: clamp(18px, 2.5vw, 26px) !important;
  background: var(--k1-surface-soft) !important;
  color: var(--k1-text) !important;
  font-size: 1rem !important;
  line-height: 1.82 !important;
  border: 1px solid var(--k1-border) !important;
  border-left: 4px solid var(--k1-blue) !important;
  border-radius: var(--k1-radius-sm) !important;
}

/* Tables */

body.k1-site .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--k1-border-strong) transparent;
  -webkit-overflow-scrolling: touch;
}

body.k1-site .table {
  --bs-table-color: var(--k1-text);
  width: 100%;
  margin-bottom: 1rem;
  color: var(--k1-text) !important;
  font-size: 0.94rem !important;
  line-height: 1.55;
  border-color: var(--k1-border) !important;
}

body.k1-site .table th {
  padding: 11px 14px !important;
  background: #edf1f6 !important;
  color: #3e4c60 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  border-color: var(--k1-border-strong) !important;
}

body.k1-site .table td {
  padding: 11px 14px !important;
  color: var(--k1-text) !important;
  vertical-align: middle !important;
  border-color: var(--k1-border) !important;
}

body.k1-site .table tbody tr:hover > td {
  background-color: #f2f6ff !important;
}

/* Year navigation and event lists */

body.k1-site.page-year-index .page-header {
  padding: 34px 0 28px !important;
  background: linear-gradient(135deg, var(--k1-navy), #20395f) !important;
}

body.k1-site.page-year-index .page-header h1 {
  color: #fff !important;
}

body.k1-site.page-year-index .page-header p {
  color: #b9c8dd !important;
}

body.k1-site.page-year-index .year-nav {
  margin: 20px 0 24px !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px !important;
}

body.k1-site.page-year-index .year-nav a {
  min-width: 64px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px !important;
  background: #fff !important;
  color: var(--k1-navy) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  text-decoration: none;
  border: 1px solid var(--k1-border) !important;
  border-radius: var(--k1-radius-sm) !important;
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.page-year-index .year-nav a:hover,
body.k1-site.page-year-index .year-nav a.active {
  background: var(--k1-blue) !important;
  color: #fff !important;
  border-color: var(--k1-blue) !important;
}

body.k1-site.page-year-index .event-table {
  width: 100% !important;
  margin: 0 !important;
  color: var(--k1-text) !important;
  table-layout: fixed;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.k1-site.page-year-index .event-table > tbody > tr > td {
  padding: 10px clamp(14px, 3vw, 28px) !important;
  background: #fff !important;
  color: var(--k1-text) !important;
  text-align: center;
  white-space: normal !important;
  border: 0 !important;
  border-right: 1px solid var(--k1-border) !important;
  border-left: 1px solid var(--k1-border) !important;
  border-radius: 0 !important;
}

body.k1-site.page-year-index .event-table > tbody > tr.is-event-summary > td {
  padding: 18px 20px !important;
  background: linear-gradient(135deg, #e9f0ff, #f3f6ff) !important;
  color: var(--k1-navy) !important;
  font-size: clamp(1rem, 2vw, 1.18rem) !important;
  font-weight: 850 !important;
  line-height: 1.65 !important;
  letter-spacing: 0.04em;
  border: 1px solid #d6e1f6 !important;
  border-radius: var(--k1-radius) !important;
}

body.k1-site.page-year-index .event-table.archive-event-list > tbody > tr.is-event-link > td {
  padding: 13px 16px !important;
  background: #fff !important;
  color: var(--k1-text) !important;
  text-align: left;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
  border-bottom: 1px solid var(--k1-border) !important;
}

body.k1-site.page-year-index .event-table.archive-event-list > tbody > tr.is-event-summary + tr.is-event-link > td {
  padding-top: 18px !important;
}

body.k1-site.page-year-index .event-table.archive-event-list > tbody > tr.is-event-link:hover > td {
  background: #f2f6ff !important;
}

body.k1-site.page-year-index .event-table.archive-event-list a {
  font-weight: 750;
}

body.k1-site.page-year-index .event-table > tbody > tr.is-bout-label > td {
  padding-top: 20px !important;
  padding-bottom: 8px !important;
  background: #fff !important;
  color: #43516a !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  border-top: 14px solid #fff !important;
}

body.k1-site.page-year-index .event-table > tbody > tr.is-matchup > td {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  background: var(--k1-surface-blue) !important;
  color: var(--k1-navy) !important;
  font-size: clamp(0.96rem, 1.8vw, 1.08rem) !important;
  font-weight: 850 !important;
  line-height: 1.7 !important;
  border-color: #cfdbef !important;
}

body.k1-site.page-year-index .event-table > tbody > tr.is-result > td {
  padding-top: 9px !important;
  padding-bottom: 14px !important;
  background: var(--k1-surface-soft) !important;
  color: #46556a !important;
  font-size: 0.92rem !important;
  font-weight: 650 !important;
  border-bottom: 1px solid var(--k1-border) !important;
  border-radius: 0 0 var(--k1-radius-sm) var(--k1-radius-sm) !important;
}

body.k1-site.page-year-index .event-table > tbody > tr.is-divider,
body.k1-site.page-year-index .event-table > tbody > tr.is-archive-spacer {
  display: none !important;
}

/* Event detail pages */

body.k1-site.page-event-detail .event-detail-main {
  margin-top: clamp(24px, 4vw, 42px) !important;
  margin-bottom: 40px !important;
}

body.k1-site.page-event-detail .event-detail-main .content-card {
  overflow: visible;
}

body.k1-site.page-event-detail .event-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 8px 13px;
  background: var(--k1-surface-blue);
  color: var(--k1-blue-hover);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #cfdbef;
  border-radius: var(--k1-radius-sm);
}

body.k1-site.page-event-detail .event-back-link:hover {
  background: #dfeaff;
}

body.k1-site.page-event-detail .event-info {
  background: linear-gradient(135deg, var(--k1-navy), #20395f) !important;
  border-radius: var(--k1-radius) !important;
}

body.k1-site.page-event-detail .fight-card-block {
  border-color: var(--k1-border) !important;
  border-radius: var(--k1-radius) !important;
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.page-event-detail .fight-title {
  background: var(--k1-surface-blue) !important;
  color: var(--k1-navy) !important;
  border-bottom-color: #d7e1f2 !important;
}

body.k1-site.page-event-detail .fight-matchup .fighter {
  color: var(--k1-text);
}

body.k1-site.page-event-detail .fight-matchup .fighter.winner {
  color: var(--k1-win);
}

body.k1-site.page-event-detail .fight-matchup .fighter.loser {
  color: var(--k1-text-soft);
}

body.k1-site.page-event-detail .fight-result {
  background: var(--k1-surface-soft) !important;
  color: var(--k1-text-soft) !important;
}

body.k1-site.page-event-detail .archive-source-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  background: #f7f9fc;
  color: var(--k1-text-soft);
  font-size: 0.86rem;
  line-height: 1.7;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-sm);
}

body.k1-site.page-event-detail .event-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 30px;
  overflow: hidden;
  background: #344b70;
  border: 1px solid #344b70;
  border-radius: var(--k1-radius);
}

body.k1-site.page-event-detail .event-summary > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--k1-navy), #20395f);
  color: #fff;
}

body.k1-site.page-event-detail .event-summary dt {
  color: #aebbd0;
  font-weight: 650;
}

body.k1-site.page-event-detail .event-summary dd {
  margin: 0;
  font-weight: 800;
}

body.k1-site.page-event-detail .event-bouts {
  margin-top: 28px;
}

body.k1-site.page-event-detail .event-bout-list {
  display: grid;
  gap: 12px;
}

body.k1-site.page-event-detail .event-bout {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-sm);
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.page-event-detail .event-bout__number,
body.k1-site.page-event-detail .event-bout__method {
  padding: 9px 14px;
  background: var(--k1-surface-blue);
  color: var(--k1-text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

body.k1-site.page-event-detail .event-bout__matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  text-align: center;
}

body.k1-site.page-event-detail .event-bout__matchup strong:first-child {
  text-align: left;
}

body.k1-site.page-event-detail .event-bout__matchup strong:last-child {
  text-align: right;
}

body.k1-site.page-event-detail .archive-coverage-note {
  margin-top: 14px;
  color: var(--k1-text-soft);
  font-size: 0.84rem;
}

body.k1-site.page-event-detail .archive-original-detail {
  width: 100%;
  overflow: hidden;
}

body.k1-site.page-event-detail .archive-swiffy-stage {
  width: min(100%, 1200px) !important;
  height: auto !important;
  aspect-ratio: var(--archive-swf-aspect, 8 / 5);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-sm);
}

body.k1-site.page-event-detail .archive-swiffy-stage > div,
body.k1-site.page-event-detail .archive-swiffy-stage > svg {
  width: 100% !important;
  height: 100% !important;
}

/*
 * Some Swiffy snapshots preserved the result sheet but lost the Flash actions
 * behind the checkbox-like rail. The SVG viewBox is narrowed by the design
 * normalizer so only the readable result column remains.
 */
body.k1-site.page-event-detail #swiffycontainer.archive-static-result {
  width: min(100%, 1200px) !important;
  height: auto !important;
  aspect-ratio: var(--archive-static-result-aspect) !important;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-sm);
}

body.k1-site.page-event-detail #swiffycontainer.archive-static-result > div,
body.k1-site.page-event-detail #swiffycontainer.archive-static-result > svg {
  width: 100% !important;
  height: 100% !important;
}

body.k1-site.page-event-detail #swiffycontainer.archive-static-result svg {
  display: block;
}

body.k1-site.page-event-detail .container:has(.archive-swf-stage) {
  width: min(calc(100% - 32px), 1440px) !important;
  max-width: 1440px !important;
}

body.k1-site.page-event-detail .ui-body-a:has(.archive-swf-stage) {
  padding: clamp(10px, 1.5vw, 16px) !important;
  overflow: hidden;
  background: #eef2f7 !important;
}

body.k1-site .archive-swf-stage {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--k1-border-strong);
  border-radius: var(--k1-radius-sm);
  box-shadow: 0 4px 18px rgba(17, 24, 44, 0.08);
}

body.k1-site .archive-swf-stage > object,
body.k1-site .archive-swf-stage > embed,
body.k1-site .archive-swf-stage > ruffle-object,
body.k1-site .archive-swf-stage > ruffle-embed,
body.k1-site .archive-swf-stage > ruffle-player {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: var(--archive-swf-aspect, 8 / 5);
  margin: 0 auto !important;
  border: 0 !important;
}

@media (max-width: 720px) {
  body.k1-site.page-event-detail .event-summary {
    grid-template-columns: 1fr;
  }

  body.k1-site.page-event-detail .event-bout__matchup {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.k1-site.page-event-detail .event-bout__matchup strong,
  body.k1-site.page-event-detail .event-bout__matchup strong:first-child,
  body.k1-site.page-event-detail .event-bout__matchup strong:last-child {
    text-align: center;
  }
}

/* Profiles */

body.k1-site.page-profile .content-card {
  max-width: 1160px;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.k1-site.page-profile .archive-profile-overview--modern {
  align-items: stretch !important;
  margin: 0 0 42px !important;
  padding: clamp(18px, 2.5vw, 28px);
  background: var(--k1-surface-soft);
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-lg);
}

body.k1-site.page-profile .archive-profile-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.k1-site.page-profile .content-card .card-text > .row img,
body.k1-site.page-profile .content-card table img {
  width: min(100%, 240px) !important;
  max-width: 240px !important;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--k1-border) !important;
  border-radius: var(--k1-radius) !important;
  box-shadow: 0 8px 24px rgba(17, 24, 44, 0.1);
}

body.k1-site.page-profile .archive-profile-overview--modern .archive-profile-summary > .card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--k1-border) !important;
  border-radius: var(--k1-radius) !important;
  box-shadow: var(--k1-shadow-sm) !important;
}

body.k1-site.page-profile .content-card .list-group {
  overflow: hidden;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius);
}

body.k1-site.page-profile .content-card .list-group-item {
  padding: 13px 16px !important;
  background: #fff !important;
  color: var(--k1-text) !important;
  border-color: var(--k1-border) !important;
}

body.k1-site.page-profile .content-card .list-group-item:hover {
  background: #f4f7fd !important;
}

body.k1-site.page-profile.profile-language-ja
  .archive-profile-summary .list-group-item strong:first-child {
  display: inline-block;
  min-width: 7.5em;
  color: var(--k1-blue-hover) !important;
}

body.k1-site.page-profile .archive-profile-section-title {
  margin-top: 36px !important;
  margin-bottom: 16px !important;
}

body.k1-site.page-profile .archive-profile-fights-list {
  border-radius: var(--k1-radius-lg);
  box-shadow: var(--k1-shadow-sm) !important;
}

body.k1-site.page-profile .archive-profile-fights-list > .list-group-item {
  padding: 17px 18px !important;
}

body.k1-site.page-profile .content-card .table.table-bordered {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

body.k1-site.page-profile .content-card .table.table-bordered > tbody > tr > td,
body.k1-site.page-profile .content-card .table.table-bordered > tbody > tr:first-child > td,
body.k1-site.page-profile .content-card .table.table-bordered > tbody > tr:last-child > td {
  padding: 16px !important;
  background: #fff !important;
  color: var(--k1-text) !important;
  font-size: 0.95rem !important;
  text-align: left;
  border: 1px solid var(--k1-border) !important;
  border-radius: 0 !important;
}

body.k1-site.page-profile .archive-profile-overview-frame {
  margin-bottom: 42px !important;
  overflow: visible;
  background: var(--k1-surface-soft);
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-lg);
}

body.k1-site.page-profile
  .content-card .table.table-bordered.archive-profile-overview {
  display: block;
  margin: 0 !important;
  border: 0 !important;
}

body.k1-site.page-profile
  .content-card .archive-profile-overview > caption {
  display: none;
}

body.k1-site.page-profile
  .content-card .archive-profile-overview > tbody,
body.k1-site.page-profile
  .content-card .archive-profile-overview > tbody > tr {
  display: block;
  width: 100%;
}

body.k1-site.page-profile
  .content-card .archive-profile-overview > tbody > tr {
  display: grid;
  grid-template-columns: minmax(230px, 31%) minmax(0, 1fr);
}

body.k1-site.page-profile
  .content-card .table.table-bordered.archive-profile-overview
  > tbody > tr > td {
  border: 0 !important;
}

body.k1-site.page-profile
  .content-card .archive-profile-overview .archive-profile-photo {
  padding: clamp(22px, 3vw, 34px) !important;
  background: #eef2f7 !important;
  border-right: 1px solid var(--k1-border) !important;
}

body.k1-site.page-profile
  .content-card .archive-profile-overview .archive-profile-summary {
  padding: clamp(20px, 3vw, 34px) !important;
  background: #fff !important;
}

body.k1-site.page-profile
  .archive-profile-summary-block {
  margin: 0 !important;
  padding: 15px 0;
  color: var(--k1-text) !important;
  font-size: 0.98rem;
  font-weight: 500 !important;
  line-height: 1.85;
  border-bottom: 1px solid var(--k1-border);
}

body.k1-site.page-profile
  .archive-profile-summary-block:first-child {
  padding-top: 0;
  color: var(--k1-navy) !important;
  font-size: 1.08rem;
  font-weight: 750 !important;
}

body.k1-site.page-profile
  .archive-profile-summary-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.k1-site.page-profile .archive-profile-fights-frame {
  overflow-x: auto;
}

body.k1-site.page-profile
  .content-card .table.table-bordered.archive-profile-fights {
  min-width: 940px;
  margin: 0 !important;
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  border: 0 !important;
}

body.k1-site.page-profile
  .archive-profile-fights > caption {
  caption-side: top;
  padding: 0 0 13px 14px;
  color: var(--k1-navy);
  font-size: 1.18rem;
  font-weight: 850;
  text-align: left;
  border-left: 4px solid var(--k1-blue);
}

body.k1-site.page-profile
  .archive-profile-fights > thead th {
  padding: 10px 12px;
  background: var(--k1-navy-2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-align: left;
  border: 0;
}

body.k1-site.page-profile
  .content-card .table.table-bordered.archive-profile-fights
  > tbody > tr > td {
  padding: 13px 12px !important;
  background: #fff !important;
  color: var(--k1-text) !important;
  font-size: 0.88rem !important;
  line-height: 1.55;
  vertical-align: middle;
  border-width: 1px 0 !important;
  border-style: solid !important;
  border-color: var(--k1-border) !important;
}

body.k1-site.page-profile
  .archive-profile-fights > tbody > tr:hover > td {
  background: #f7faff !important;
}

body.k1-site.page-profile
  .archive-profile-fights > tbody > tr > td:first-child {
  border-left-width: 1px !important;
  border-radius: var(--k1-radius-sm) 0 0 var(--k1-radius-sm) !important;
}

body.k1-site.page-profile
  .archive-profile-fights > tbody > tr > td:last-child {
  border-right-width: 1px !important;
  border-radius: 0 var(--k1-radius-sm) var(--k1-radius-sm) 0 !important;
}

body.k1-site.page-profile
  .archive-profile-fights td[data-profile-column="day"],
body.k1-site.page-profile
  .archive-profile-fights td[data-profile-column="month"],
body.k1-site.page-profile
  .archive-profile-fights td[data-profile-column="year"] {
  width: 58px;
  color: var(--k1-text-soft) !important;
  text-align: center;
  white-space: nowrap;
}

body.k1-site.page-profile
  .archive-profile-fights td[data-profile-column="event"] {
  min-width: 270px;
  font-weight: 650;
}

body.k1-site.page-profile
  .archive-profile-fights td[data-profile-column="result"] {
  width: 54px;
  color: #fff !important;
  font-weight: 850;
  text-align: center;
}

body.k1-site.page-profile
  .archive-profile-fights tr.is-winner td[data-profile-column="result"] {
  background: var(--k1-win) !important;
}

body.k1-site.page-profile
  .archive-profile-fights tr.is-loser td[data-profile-column="result"] {
  background: var(--k1-loss) !important;
}

body.k1-site.page-profile
  .archive-profile-fights tr.is-draw td[data-profile-column="result"] {
  background: var(--k1-draw) !important;
}

body.k1-site.page-profile
  .archive-profile-fights td[data-profile-column="opponent"] {
  min-width: 190px;
  font-weight: 750;
}

body.k1-site.page-profile .archive-profile-empty {
  margin: 0;
  padding: 34px 24px;
  background: var(--k1-surface-soft);
  color: var(--k1-text-soft);
  text-align: center;
  border: 1px dashed var(--k1-border-strong);
  border-radius: var(--k1-radius);
}

body.k1-site.page-profile .archive-source-note {
  color: #334155;
  line-height: 1.7;
  border-color: #b9d4fa;
}

/* Profile indexes */

body.k1-site.page-profile-index .fighter-jp-card,
body.k1-site.page-profile-index .fighter-en-card {
  min-height: 82px;
  background: #fff !important;
  border-color: var(--k1-border) !important;
  border-radius: var(--k1-radius) !important;
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.page-profile-index .fighter-jp-card:hover,
body.k1-site.page-profile-index .fighter-en-card:hover {
  transform: translateY(-2px);
  border-color: #8eb6f2 !important;
  box-shadow: 0 8px 22px rgba(17, 24, 44, 0.09);
}

body.k1-site.page-profile-index input,
body.k1-site.page-profile-index select {
  min-height: 44px;
  color: var(--k1-text);
  border-color: var(--k1-border-strong);
  border-radius: var(--k1-radius-sm);
}

/* Legacy reports */

body.k1-site.page-report {
  padding-top: 0 !important;
}

body.k1-site.page-report > .container {
  max-width: 960px !important;
  margin-top: 24px !important;
  padding: clamp(18px, 3vw, 32px) !important;
  background: #fff !important;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-lg) !important;
  box-shadow: var(--k1-shadow-sm) !important;
}

body.k1-site.page-report table,
body.k1-site.page-report tbody,
body.k1-site.page-report tr,
body.k1-site.page-report td {
  max-width: 100%;
}

body.k1-site.page-report .table,
body.k1-site.page-report .table.text-nowrap {
  white-space: normal !important;
}

body.k1-site.page-report .table-responsive .table.table-bordered,
body.k1-site.page-report .table-responsive .table.table-bordered > tbody > tr > td {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

body.k1-site.page-report .table-responsive .table.table-bordered > tbody > tr.is-report-bout-heading > td {
  padding: 11px 14px !important;
  background: var(--k1-navy-2) !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  border: 0 !important;
}

body.k1-site.page-report .table-responsive .table.table-bordered > tbody > tr.is-report-matchup > td {
  padding: 13px 12px !important;
  background: var(--k1-surface-blue) !important;
  color: var(--k1-text) !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  border-color: #d6e0f0 !important;
}

body.k1-site.page-report .table-responsive .table.table-bordered > tbody > tr.is-report-result > td {
  padding: 9px 12px !important;
  background: var(--k1-surface-soft) !important;
  color: #405067 !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  border-color: var(--k1-border) !important;
}

body.k1-site.page-report .style4,
body.k1-site.page-report .style5,
body.k1-site.page-report .style6,
body.k1-site.page-report .style7,
body.k1-site.page-report .style9 {
  color: inherit !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

body.k1-site.page-report img.is-archive-spacer-image,
body.k1-site.page-report tr.is-archive-spacer {
  display: none !important;
}

/* Articles and long-form documents */

body.k1-site.page-article .art-body,
body.k1-site.page-legacy-document dl,
body.k1-site.page-legacy-document .content-card .card-text {
  font-size: 1rem !important;
  line-height: 1.9 !important;
}

body.k1-site.page-article .art-body {
  max-width: var(--k1-reading);
  margin-right: auto !important;
  margin-left: auto !important;
  padding: clamp(22px, 4vw, 42px) !important;
}

body.k1-site.page-article .art-body p {
  margin-bottom: 1.25em;
}

body.k1-site.page-legacy-document:not(.has-fixed-navbar) > .container {
  margin-top: 24px !important;
  margin-bottom: 32px !important;
  padding: clamp(18px, 3vw, 32px) !important;
  background: #fff;
  border: 1px solid var(--k1-border);
  border-radius: var(--k1-radius-lg);
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.page-legacy-document dl {
  margin-bottom: 1.4rem;
}

body.k1-site.page-legacy-document dt {
  margin-bottom: 0.35rem;
}

/* Footer/network area */

body.k1-site .site-footer {
  margin-top: 40px !important;
  padding: 22px 16px !important;
  background: var(--k1-navy) !important;
  color: #b9c7da !important;
}

body.k1-site .sister-sites {
  width: 100% !important;
  max-width: none !important;
  margin: 40px 0 0 !important;
  padding: 24px 16px !important;
  background: var(--k1-navy) !important;
  color: #c4cfdf !important;
  border: 0 !important;
  border-top: 1px solid #273551 !important;
}

body.k1-site .site-footer + .sister-sites {
  margin-top: 0 !important;
}

body.k1-site .sister-sites > div:first-child {
  color: #aebbd0 !important;
}

body.k1-site .sister-sites nav {
  max-width: var(--k1-content);
  margin: 0 auto;
}

body.k1-site .sister-sites a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 5px 4px;
}

/* Classes assigned by site-readability.js */

body.k1-site tr.is-archive-spacer {
  display: none !important;
}

body.k1-site img.is-archive-spacer-image {
  display: none !important;
}

body.k1-site .is-winner {
  color: var(--k1-win) !important;
  font-weight: 800 !important;
}

body.k1-site .is-loser {
  color: var(--k1-loss) !important;
}

body.k1-site .is-draw {
  color: var(--k1-draw) !important;
  font-weight: 750 !important;
}

@media (max-width: 991.98px) {
  body.k1-site.has-fixed-navbar {
    padding-top: 66px !important;
  }

  body.k1-site .navbar {
    min-height: 63px;
  }

  body.k1-site .navbar-collapse {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px 0 12px;
  }

  .archive-site-header__inner {
    min-height: 0;
    padding: 9px 0 8px;
    flex-wrap: wrap;
  }

  .archive-site-header__nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body.k1-site.page-profile .content-card .table.table-bordered > tbody > tr > td {
    display: block;
    width: 100%;
  }

  body.k1-site.page-profile
    .content-card .archive-profile-overview > tbody > tr {
    display: block;
  }

  body.k1-site.page-profile
    .content-card .archive-profile-overview .archive-profile-photo {
    border-right: 0 !important;
    border-bottom: 1px solid var(--k1-border) !important;
  }

  body.k1-site.page-profile .archive-profile-fights-frame {
    overflow: visible;
  }

  body.k1-site.page-profile
    .content-card .table.table-bordered.archive-profile-fights {
    display: block;
    min-width: 0;
  }

  body.k1-site.page-profile
    .archive-profile-fights > thead {
    display: none;
  }

  body.k1-site.page-profile
    .archive-profile-fights > tbody {
    display: grid;
    gap: 12px;
  }

  body.k1-site.page-profile
    .archive-profile-fights > tbody > tr {
    display: grid;
    grid-template-columns: minmax(72px, 0.32fr) minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--k1-border);
    border-radius: var(--k1-radius);
    box-shadow: var(--k1-shadow-sm);
  }

  body.k1-site.page-profile
    .archive-profile-fights > tbody > tr::before {
    grid-column: 1 / -1;
    content: attr(data-profile-date) " — " attr(data-profile-event);
    padding: 11px 13px;
    background: var(--k1-surface-blue);
    color: var(--k1-navy);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.5;
  }

  body.k1-site.page-profile
    .content-card .table.table-bordered.archive-profile-fights
    > tbody > tr > td {
    display: grid;
    grid-template-columns: minmax(76px, 0.38fr) minmax(0, 1fr);
    grid-column: 1 / -1;
    width: 100% !important;
    padding: 10px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--k1-border) !important;
    border-radius: 0 !important;
    text-align: left;
  }

  body.k1-site.page-profile
    .archive-profile-fights > tbody > tr > td::before {
    content: attr(data-label);
    color: var(--k1-text-muted);
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
  }

  body.k1-site.page-profile
    .archive-profile-fights td[data-profile-column="day"],
  body.k1-site.page-profile
    .archive-profile-fights td[data-profile-column="month"],
  body.k1-site.page-profile
    .archive-profile-fights td[data-profile-column="year"],
  body.k1-site.page-profile
    .archive-profile-fights td[data-profile-column="event"] {
    display: none !important;
  }

  body.k1-site.page-profile
    .archive-profile-fights td[data-profile-column="result"] {
    color: #fff !important;
  }
}

/* Integrated K-1 Fight Classics archive */

body.k1-site.fight-integrated {
  --fg: var(--k1-text);
  --fg-strong: var(--k1-navy);
  --muted: var(--k1-text-muted);
  --bg: var(--k1-bg);
  --card: var(--k1-surface);
  --card-hover: var(--k1-surface-blue);
  --border: var(--k1-border);
  --border-strong: var(--k1-border-strong);
  --accent: var(--k1-blue);
  --accent-dark: var(--k1-blue-hover);
  --ink: var(--k1-navy);
  --win: var(--k1-win);
  --loss: var(--k1-loss);
  --draw: var(--k1-draw);
}

body.k1-site.fight-integrated > .site-header {
  position: relative;
  top: auto;
  z-index: 20;
  background: linear-gradient(135deg, #18233c, #22375d);
  border-bottom-color: var(--k1-blue);
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.fight-integrated > .site-header .container {
  min-height: 64px;
}

body.k1-site.fight-integrated > .site-header .brand span {
  color: #8fc0ff;
}

body.k1-site.fight-integrated > .site-header .site-nav a {
  color: #d9e2f1;
}

body.k1-site.fight-integrated > main.container {
  width: min(calc(100% - 32px), var(--k1-content)) !important;
  padding: 0 !important;
}

body.k1-site.fight-integrated .article {
  width: 100%;
  max-width: none;
  border-color: var(--k1-border);
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.fight-integrated .hero {
  margin-top: 0;
  background:
    radial-gradient(ellipse at center top, rgba(9, 105, 218, 0.28), transparent 62%),
    linear-gradient(135deg, var(--k1-navy), var(--k1-navy-2));
}

body.k1-site.fight-integrated .card,
body.k1-site.fight-integrated .news-list li,
body.k1-site.fight-integrated .stat {
  box-shadow: var(--k1-shadow-sm);
}

body.k1-site.fight-integrated .fight-history th {
  background: var(--k1-surface-blue);
  color: var(--k1-text-soft);
}

body.k1-site.fight-integrated .fight-history tr:hover,
body.k1-site.fight-integrated .champ-table tr:hover,
body.k1-site.fight-integrated .rank-table tr:hover {
  background: var(--k1-surface-blue);
}

@media (max-width: 640px) {
  body.k1-site {
    font-size: 15.5px !important;
  }

  body.k1-site .container {
    width: min(calc(100% - 20px), var(--k1-content)) !important;
  }

  .archive-site-header__inner {
    width: calc(100% - 20px);
    min-height: 64px;
    gap: 10px;
  }

  .archive-site-header__brand {
    font-size: 0.95rem;
  }

  .archive-site-header__nav {
    gap: 2px;
  }

  .archive-site-header__nav a {
    padding: 0.48rem 0.52rem;
    font-size: 0.78rem;
  }

  body.k1-site .content-card > .card-body,
  body.k1-site .event-card,
  body.k1-site .champ-card {
    padding: 18px !important;
  }

  body.k1-site.page-profile .archive-profile-overview--modern {
    margin-bottom: 30px !important;
    padding: 16px;
  }

  body.k1-site.page-profile.profile-language-ja
    .archive-profile-summary .list-group-item strong:first-child {
    display: block;
    min-width: 0;
    margin-bottom: 3px;
  }

  body.k1-site.page-year-index .year-nav {
    margin-right: -10px !important;
    margin-left: -10px !important;
    padding: 2px 10px 10px;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  body.k1-site.page-year-index .year-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  body.k1-site.page-year-index .event-table > tbody > tr > td {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body.k1-site.page-year-index .event-table > tbody > tr.is-matchup > td {
    font-size: 0.94rem !important;
  }

  body.k1-site.page-report > .container {
    width: calc(100% - 16px) !important;
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: var(--k1-radius) !important;
  }

  body.k1-site.page-report .table-responsive .table.table-bordered > tbody > tr.is-report-matchup > td {
    display: block;
    width: 100% !important;
    text-align: center !important;
  }

  body.k1-site .sister-sites nav {
    gap: 4px 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.k1-site *,
  body.k1-site *::before,
  body.k1-site *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body.k1-site {
    background: #fff !important;
    color: #000 !important;
  }

  body.k1-site .navbar,
  body.k1-site .archive-site-header,
  body.k1-site .sister-sites,
  body.k1-site .site-footer,
  body.k1-site .year-nav {
    display: none !important;
  }

  body.k1-site .content-card,
  body.k1-site .event-card,
  body.k1-site .art-body,
  body.k1-site .page-report > .container {
    border: 0 !important;
    box-shadow: none !important;
  }
}
