/* global rulles */
:root {
    --yt-primary: #D3201E;
    --yt-dark: #230707;
    --yt-secndary: #901A19;
    --yt-gray: #CCCCCC;
    --yt-light-gray: #EEEEEE;
    --dm-dark: #121212;
    --dm-dark2: #1e1e1e;
    --dm-dark3: #2e2e2e;
    --dm-white: #eee;
    --dm-white2: #e0e0e0;
    --dm-text: #959595;
}

.yt-primary {color: var(--yt-primary)!important}
.yt-dark {color: var(--yt-dark)}
.yt-secndary {color: var(--yt-secndary)!important}
.yt-gray {color: var(--yt-gray)}
.yt-light-gray {color: var(--yt-light-gray)!important}
.yt-dark-gray {color: #230707a3!important;}

.bg-yt-primary {background-color: var(--yt-primary)!important;}
.bg-yt-dark {background-color: var(--yt-dark)!important;}
.bg-yt-secondary {background-color: var(--yt-secndary)!important;}
.bg-yt-dark-gray {background: #230707a3!important;}

/* dark mode classes*/
.dm-bg-dark {background-color: var(--dm-dark)!important} /* forr body bg */
.dm-bg-dark2 {background-color: var(--dm-dark2)!important} /* for for sections bg*/
.dm-bg-dark3 {background-color: var(--dm-dark3)!important} /* for things like navbar + copyright section*/
.dm-bg-white {background-color: var(--dm-white)!important;}
.dm-bg-white2 {background-color: var(--dm-white2)!important;}
.dm-white {color: var(--dm-white)!important} /* for the titles */
.dm-white2 {color: var(--dm-white2)!important} /* for the secndry titles*/
.dm-text {color: var(--dm-text)!important} /* for the text */
.section_padding {padding-top: 5rem;padding-bottom: 5rem;}
.shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .4);
    transform: translate3d(0, -5px, 0);
    transition: all ease-in-out .3s;
}
body.dark #login_btn:hover {background-color: var(--dm-dark)!important;}
body.dark #login_from input::placeholder {
    color: var(--dm-white)!important;
}
/* header */
#navbarNav[x-cloak] {display: none !important;}
#navbarNav ul li a {
    color: #230707a3;
    font-weight: 700;
}
#navbarNav ul li a:hover {color: var(--yt-primary)}
#navbarNav .current-menu-item > a,
#navbarNav .current-menu-parent > a,
#navbarNav .current-menu-ancestor > a,
#navbarNav .current_page_item > a,
#navbarNav .current_page_parent > a,
#navbarNav .current_page_ancestor > a {
    color: var(--yt-primary) !important;
}
.main-header a:hover,
.main-header a:focus-visible {
    text-decoration: none !important;
}
body.dark #navbarNav ul li a {color: var(--dm-white2)}
body.dark #navbarNav .current-menu-item > a,
body.dark #navbarNav .current-menu-parent > a,
body.dark #navbarNav .current-menu-ancestor > a,
body.dark #navbarNav .current_page_item > a,
body.dark #navbarNav .current_page_parent > a,
body.dark #navbarNav .current_page_ancestor > a {
    color: var(--yt-primary) !important;
}
#navbarNav .yt-history-menu-item.yt-scroll-current > a {
    color: var(--yt-primary) !important;
}
#navbarNav .yt-home-menu-item.yt-scroll-inactive > a {
    color: #230707a3 !important;
}
body.dark #navbarNav .yt-home-menu-item.yt-scroll-inactive > a {
    color: var(--dm-white2) !important;
}
#navbarNav .dropdown-menu .dropdown-item:hover,
#navbarNav .dropdown-menu .dropdown-item:focus-visible,
#navbarNav .dropdown-menu .dropdown-item.active,
#navbarNav .dropdown-menu .current-menu-item > .dropdown-item,
#navbarNav .dropdown-menu .current_page_item > .dropdown-item {
    background-color: #6c757d !important;
    color: #fff !important;
    text-decoration: none !important;
}
body.dark #navbarNav .dropdown-menu {
    background-color: var(--dm-dark2);
}
body.dark #navbarNav .dropdown-menu .dropdown-item:hover,
body.dark #navbarNav .dropdown-menu .dropdown-item:focus-visible,
body.dark #navbarNav .dropdown-menu .dropdown-item.active,
body.dark #navbarNav .dropdown-menu .current-menu-item > .dropdown-item,
body.dark #navbarNav .dropdown-menu .current_page_item > .dropdown-item {
    background-color: #555 !important;
    color: #fff !important;
}
#navbarNav .dropdown-menu {
    margin-top: 0;
}
/* footer */
.social-links li a:hover{
    background-color: var(--data-hover-color);
    color: #fff!important;
    transition: all .3s;
}

.social-links .tooltip {
    background-color: var(--data-hover-color)!important;
}

.social-links .tooltip::before {
    color: var(--data-hover-color) !important;
}

/* fighters */
.fighters > a:hover {
    background-color: var(--yt-primary);
    color: white!important;
}

.tooltip-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
.tooltip {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    bottom: 130%;
    left: 50%;
    transform: translate(-50%, -20px);
}

.tooltip::before {
    content: "";
    border-top: 8px solid;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.tooltip-button:hover .tooltip::before {
    opacity: 1;
    bottom: -9px;
}

.active {transition-duration: .3s;background-color: var(--yt-primary)!important; color: white!important;}
.activateable:hover {transition-duration: .3s;background-color: var(--yt-primary); color: white;}
tr.expanded + tr {
    display: table-row!important;
}


/* Timeline */
.events-timeline::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 100%;
    background: var(--yt-primary);
    top: 0;
    left: 50%;
}

body.sm .events-timeline::after {
    left: 0;
}

body.sm .timeline-item:nth-child(odd),
body.sm .timeline-item:nth-child(even) {
    left: 0;
    padding: 0px 0px 20px 40px;
}


/* timeline */
.timeline-item:not(:first-child){
    margin-top: -80px;
}

body.sm .timeline-item:not(:first-child) {
    margin-top: 20px;
}

.timeline-item .mask {transition: all .3s ease-in-out;}
.timeline-item > a:hover .mask {background-color: rgba(144,25,25,.5)}

.timeline-item > a {overflow: hidden;}
.timeline-item::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #fff;
    border: 5px solid var(--yt-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

body.dark .timeline-item::after {background-color: var(--dm-dark2)!important;}

.timeline-item::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    border: medium solid var(--yt-primary);
    border-width: 10px 10px 10px 0;
}

.timeline-item:nth-child(odd){
    padding: 0px 0px 20px 40px;
    left: 50%;
}

.timeline-item:nth-child(even){
    padding: 0px 40px 20px 0px;
}

.timeline-item:nth-child(odd)::before{
    left: 30px;
    border-color: transparent var(--yt-primary) transparent transparent;
    right: 100%;
}

.timeline-item:nth-child(even)::before {
    right: 30px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--yt-primary);
}

body.sm .timeline-item:nth-child(even)::before {
    left: 21px;
    border-color: transparent var(--yt-primary) transparent transparent;
    right: 100%;
    border-width: 10px;
}

.timeline-item:nth-child(odd)::after,
body.sm .timeline-item:nth-child(even)::after{
    left: -9px;
}

.timeline-item:nth-child(even)::after{
    right: -16px;
}

.event-details {
    position: absolute;
    bottom: -100%;
    left: 10px;
    right: 10px;
    color: #fff;
    border-top: 2px solid var(--yt-primary);
    padding-top: 15px;
    transition: all .3s ease-in-out;
}

.timeline-item > a:hover .event-details {
    bottom: 10px;
}

/* blog */
.headline h5::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 2px;
    background: red;
    bottom: -10px;
    left: 0;
}

.Rp-posts {
    display: grid;
    column-gap: 5px;
    row-gap: 10px;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(2,200px);
}

body.md .Rp-posts,
body.sm .Rp-posts
{grid-template-columns: repeat(2,1fr);}

body.md .Rp-item:last-child,
body.sm .Rp-item:last-child
{grid-row: unset;}

.Rp-item > img {
    width: 100%;
}

.Rp-posts > div {
    overflow: hidden;
}

.Rp-item-deails {transition: all .3s ease-in-out;}
.Rp-item a.mask:hover {background-color: rgba(144,25,25,.6)!important;}

.Rp-item .h4 {
    font-size: 18px;
    color: #fff;
    margin-top: 4px;
}

.Rp-item:first-child .h4 {
    font-size: 25px;
}

.Rp-item:not(:first-child) p {
    font-size: 14px;
    display: none;
}

.Rp-item:first-child p {
    font-size: 16px;
}

.Rp-posts > div:first-child {
    grid-column: span 2;
    grid-row: span 2;
    max-height: 100%;
}

.Rp-posts > div:last-child {
    grid-row: 1;
}

.v-item:hover .v-icon {
    background: red!important;
}

.post-img {transition: all .2s ease-in-out;}
.post-img:hover {opacity: .7;}

/* Uniform card grids: long content is clamped instead of changing card height */
.yt-card-grid {
    place-items: stretch !important;
    align-items: stretch !important;
}
.yt-card-grid > .yt-uniform-card {
    flex-direction: column;
    width: 100% !important;
    max-width: 300px !important;
    height: 100%;
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
    justify-self: center;
    overflow: hidden;
}
.yt-card-grid .yt-card-media {
    width: 100% !important;
    height: 170px;
    min-height: 170px;
    max-height: 170px !important;
}
.yt-card-grid .yt-card-media a,
.yt-card-grid .yt-card-media img {
    display: block;
    width: 100%;
    height: 100%;
}
.yt-card-grid .yt-card-media img {
    object-fit: cover;
}
.yt-card-grid .yt-card-body {
    flex: 1 1 auto;
    min-height: 0;
}
.yt-card-grid .yt-card-title,
.yt-card-grid .yt-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}
.yt-news-grid .yt-card-title {
    min-height: 2.5em;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.yt-news-grid .yt-card-excerpt {
    min-height: 4.35em;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.yt-promotions-grid .yt-card-title {
    min-height: 2.5em;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.yt-card-grid .yt-card-action {
    margin-top: auto !important;
    padding-top: 12px;
}

/* Keep promotion actions close to their titles while retaining equal card heights */
.yt-promotions-grid .yt-card-action {
    margin-top: .5rem !important;
    padding-top: 0;
}

.single-post h5 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.single-post p {
    color: #888;
}

body.dark .single-post .tags a {
    border-color: #888!important;
    color: var(--dm-white2);
}

body.dark .single-post h1,
body.dark .single-post h2,
body.dark .single-post h3,
body.dark .single-post h4,
body.dark .single-post h5 {
    color: var(--dm-white2);
}

body.dark .single-post p {
    color: var(--dm-text);
}

body.sm .events_bouts td {
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 4px;
}

.table td {
    padding: 5px!important;
}

.bout_video > iframe {
    max-width: 100%!important;
}

.search-item-icon {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 20px;
    line-height: 35px;
}

.search-item:hover {
    background-color: #f0e7e7;
}

body.dark .search-item:hover {
    background-color: #2e2e2e;
}

.search_pagination a:first-of-type {
    margin-right: 8px;
}

.yt-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.sm .hide_on_mobile {
    display: none;
}

/* ===== YTBoxRec September 2026 UI refinements ===== */

/* Homepage hero slider */
.yt-hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    z-index: 101;
}
.yt-hero-slides,
.yt-hero-slide {
    position: absolute;
    inset: 0;
}
.yt-hero-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .65s ease-in-out;
    pointer-events: none;
}
.yt-hero-slide.is-active {
    opacity: 1;
}
.yt-hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .7);
    pointer-events: none;
}
.yt-hero-content {
    position: relative;
    z-index: 2;
    min-height: 600px;
    background: transparent !important;
}
.yt-hero-logo {
    width: 300px;
    max-width: 80vw;
}

/* Larger, heavier homepage countdown inspired by the original design */
.upcoming-event .timer {
    max-width: 1500px;
}
.upcoming-event .timer-item .circle {
    flex: 0 0 auto;
}
.upcoming-event .timer-item .countdown {
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.yt-upcoming-next-label,
.yt-upcoming-separator,
.yt-upcoming-versus {
    color: #000;
}

.yt-upcoming-versus {
    text-shadow: none;
}

.yt-upcoming-event-link {
    position: relative;
    display: inline-block;
    color: var(--yt-primary);
    background: transparent;
    padding: 0;
    text-decoration: none;
    animation: yt-event-link-attention 2.4s ease-in-out infinite;
}

.yt-upcoming-events-link {
    position: relative;
    display: inline-block;
    background: transparent;
    color: var(--yt-primary);
    padding: 0;
    text-decoration: none;
    animation: yt-event-link-attention 2.4s ease-in-out infinite;
}

.yt-upcoming-event-link::after,
.yt-upcoming-events-link::after {
    position: absolute;
    right: 0;
    bottom: -.12em;
    left: 0;
    height: 3px;
    background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.7px);
    background-position: left center;
    background-repeat: repeat-x;
    background-size: 6px 3px;
    content: '';
    transform: scaleX(.18);
    transform-origin: left center;
    animation: yt-event-link-underline 2.4s ease-in-out infinite;
}

@keyframes yt-event-link-attention {
    0%, 100% { text-shadow: 0 0 0 rgba(216, 31, 31, 0); }
    50% { text-shadow: 0 0 9px rgba(216, 31, 31, .34); }
}

@keyframes yt-event-link-underline {
    0%, 100% { opacity: .45; transform: scaleX(.18); }
    50% { opacity: 1; transform: scaleX(1); }
}

.yt-upcoming-event-summary {
    font-weight: 600;
}

.yt-upcoming-event-summary a,
.yt-upcoming-event-summary span {
    font-weight: inherit;
}

.yt-upcoming-events-link span {
    text-decoration: none;
}

.history_sec {
    scroll-margin-top: 90px;
}

.yt-rank-champion-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

/* Reusable Rankings archive and individual ranking pages */
.yt-rankings-archive,
.yt-ranking-single {
    color: var(--yt-dark);
}

.yt-rankings-intro p {
    color: #666;
}

.yt-ranking-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(135px, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.yt-ranking-filters label {
    min-width: 0;
    margin: 0;
}

.yt-ranking-filters label > span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 700;
}

.yt-ranking-filters select,
.yt-ranking-filters input {
    width: 100%;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    color: var(--yt-dark);
}

.yt-ranking-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.yt-ranking-entity-search {
    grid-template-columns: minmax(220px, 430px) auto auto;
    justify-content: center;
}

.yt-ranking-entity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.yt-ranking-entity-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.yt-ranking-entity-card.is-primary {
    border: 2px solid var(--yt-primary);
    box-shadow: 0 5px 18px rgba(219, 32, 32, .18);
}

.yt-ranking-pinned {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 4px;
    background: var(--yt-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.yt-ranking-entity-image {
    display: block;
    height: 190px;
    background: #111;
}

.yt-ranking-entity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.yt-ranking-entity-body {
    padding: 18px;
}

.yt-ranking-entity-body h2 {
    margin: 0 0 8px;
    font-size: 23px;
}

.yt-ranking-entity-body h2 a {
    color: var(--yt-dark);
}

.yt-ranking-entity-body > p {
    margin: 0 0 14px;
    color: #666;
    font-weight: 600;
}

.yt-ranking-entity-description {
    margin-bottom: 15px;
    color: #666;
}

.yt-ranking-entity-description p:last-child {
    margin-bottom: 0;
}

.yt-ranking-card {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.yt-ranking-card-image {
    display: block;
    height: 190px;
    background: #111;
}

.yt-ranking-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.yt-ranking-card-body {
    padding: 18px;
}

.yt-ranking-card-body h2 {
    margin: 7px 0 12px;
    font-size: 21px;
    line-height: 1.25;
}

.yt-ranking-card-body h2 a {
    color: var(--yt-dark);
}

.yt-ranking-entity {
    display: inline-block;
    color: var(--yt-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.yt-ranking-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 15px;
}

.yt-ranking-meta-chips span {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--yt-light-gray);
    color: #444;
    font-size: 12px;
    font-weight: 700;
}

.yt-rankings-empty {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
    font-weight: 600;
}

.yt-ranking-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.yt-ranking-header h1 {
    margin: 5px 0 12px;
}

.yt-ranking-organization-filters {
    grid-template-columns: repeat(3, minmax(150px, 1fr)) minmax(190px, 1.35fr) auto auto;
    margin-top: 24px;
}

.yt-entity-rankings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.yt-entity-ranking-panel {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .07);
}

.yt-entity-ranking-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
    padding: 18px;
    border-bottom: 1px solid #ddd;
}

.yt-entity-ranking-header h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.yt-entity-ranking-header h2 a {
    color: var(--yt-dark);
}

.yt-entity-ranking-header small {
    flex: 0 0 auto;
    color: #666;
}

.yt-entity-ranking-champion {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    min-height: 104px;
    padding: 16px 22px;
    border-bottom: 1px solid #e2cf83;
    background: #fff8dc;
    color: #765e08;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.yt-entity-ranking-champion a {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--yt-dark);
    font-size: 17px;
    text-transform: none;
}

.yt-entity-ranking-champion img {
    width: 56px;
    height: 68px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center top;
}

.yt-entity-ranking-champion > span {
    margin-left: auto;
    text-align: right;
}

.yt-entity-ranking-list {
    max-width: none;
    border: 0;
    border-radius: 0;
}

.yt-entity-ranking-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 66px;
}

.yt-entity-ranking-list .yt-ranking-number {
    font-size: 21px;
}

.yt-entity-ranking-list .yt-ranking-fighter {
    font-size: 16px;
}

.yt-entity-ranking-list .yt-ranking-fighter img {
    width: 42px;
    height: 52px;
}

.yt-ranking-details-link {
    display: block;
    padding: 13px 18px;
    border-top: 1px solid #ddd;
    color: #2463d4;
    font-weight: 700;
    text-align: right;
}

.yt-ranking-updated {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.yt-ranking-description {
    margin: 24px 0;
    max-width: 850px;
}

.yt-ranking-champion {
    margin: 28px 0;
    padding: 20px;
    border: 1px solid #d4ad32;
    border-radius: 8px;
    background: #fff8dc;
}

.yt-ranking-champion-label {
    margin-bottom: 12px;
    color: #765e08;
    font-weight: 800;
    text-transform: uppercase;
}

.yt-ranking-champion a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--yt-dark);
    font-size: 20px;
}

.yt-ranking-champion img {
    width: 72px;
    height: 88px;
    border-radius: 5px;
    object-fit: cover;
    object-position: center top;
}

.yt-ranking-list-section {
    margin: 28px 0;
}

.yt-ranking-list {
    max-width: 900px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.yt-ranking-list li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    min-height: 80px;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.yt-ranking-list li:last-child {
    border-bottom: 0;
}

.yt-ranking-number {
    font-size: 25px;
    font-weight: 800;
    text-align: center;
}

.yt-ranking-fighter {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 8px 14px;
    color: #2463d4;
    font-size: 18px;
}

.yt-ranking-fighter img {
    width: 52px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 4px;
    object-fit: cover;
    object-position: center top;
}

body.dark .yt-rankings-archive,
body.dark .yt-ranking-single {
    color: var(--dm-white);
}

body.dark .yt-rankings-intro p,
body.dark .yt-ranking-updated {
    color: var(--dm-text);
}

body.dark .yt-ranking-filters,
body.dark .yt-ranking-card,
body.dark .yt-ranking-entity-card,
body.dark .yt-entity-ranking-panel,
body.dark .yt-ranking-list li {
    border-color: #444;
    background: var(--dm-dark3);
}

body.dark .yt-ranking-filters select,
body.dark .yt-ranking-filters input {
    border-color: #555;
    background: var(--dm-dark2);
    color: var(--dm-white);
}

body.dark .yt-ranking-card-body h2 a,
body.dark .yt-ranking-champion a,
body.dark .yt-ranking-entity-body h2 a,
body.dark .yt-entity-ranking-header h2 a,
body.dark .yt-entity-ranking-champion a {
    color: var(--dm-white);
}

body.dark .yt-ranking-meta-chips span {
    background: #444;
    color: var(--dm-white2);
}

body.dark .yt-ranking-header,
body.dark .yt-entity-ranking-header,
body.dark .yt-ranking-details-link,
body.dark .yt-ranking-list,
body.dark .yt-ranking-list li {
    border-color: #444;
}

body.dark .yt-ranking-champion {
    border-color: #8a7225;
    background: #332d17;
}

body.dark .yt-ranking-champion-label {
    color: #e6c85c;
}

body.dark .yt-ranking-entity-body > p,
body.dark .yt-ranking-entity-description,
body.dark .yt-entity-ranking-header small {
    color: var(--dm-text);
}

body.dark .yt-entity-ranking-champion {
    border-color: #8a7225;
    background: #332d17;
    color: #e6c85c;
}

@media (max-width: 1199px) {
    .yt-ranking-filters {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

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

    .yt-ranking-organization-filters {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 767px) {
    .yt-ranking-filters,
    .yt-ranking-card-grid,
    .yt-ranking-entity-grid,
    .yt-entity-rankings-grid {
        grid-template-columns: 1fr;
    }

    .yt-ranking-header {
        flex-direction: column;
    }

    .yt-ranking-card-image {
        height: 220px;
    }

    .yt-ranking-entity-image {
        height: 220px;
    }

    .yt-entity-ranking-header {
        flex-direction: column;
    }
}

/* Consistent feedback for links and controls across every public page. */
a,
button,
[role="button"],
select,
input[type="button"],
input[type="submit"] {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease, filter .18s ease;
}

a:not(.btn):not(.text-white):not(.yt-home-fighter-card):not(.yt-last-five-badge):not(.yt-bout-action):not(.yt-bout-winner-link):hover,
a:not(.btn):not(.text-white):not(.yt-home-fighter-card):not(.yt-last-five-badge):not(.yt-bout-action):not(.yt-bout-winner-link):focus-visible {
    color: var(--yt-primary) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.yt-upcoming-event-link:hover,
.yt-upcoming-event-link:focus-visible,
.yt-upcoming-events-link:hover,
.yt-upcoming-events-link:focus-visible {
    text-decoration: none !important;
    opacity: 1;
    transform: translateY(-1px);
}

a:hover img,
a:focus-visible img {
    opacity: .88;
}

a:hover,
a:focus-visible {
    opacity: .86;
}

a img,
a > p,
a > span {
    transition: color .18s ease, opacity .18s ease, text-decoration-color .18s ease;
}

a:not(.btn):not(.text-white):not(.yt-home-fighter-card):not(.yt-last-five-badge):not(.yt-bout-action):not(.yt-bout-winner-link):hover > p,
a:not(.btn):not(.text-white):not(.yt-home-fighter-card):not(.yt-last-five-badge):not(.yt-bout-action):not(.yt-bout-winner-link):focus-visible > p,
a:not(.btn):not(.text-white):not(.yt-home-fighter-card):not(.yt-last-five-badge):not(.yt-bout-action):not(.yt-bout-winner-link):hover > span:not(.yt-last-five-badge),
a:not(.btn):not(.text-white):not(.yt-home-fighter-card):not(.yt-last-five-badge):not(.yt-bout-action):not(.yt-bout-winner-link):focus-visible > span:not(.yt-last-five-badge) {
    color: var(--yt-primary) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.yt-upcoming-event-link:hover > span,
.yt-upcoming-event-link:focus-visible > span,
.yt-upcoming-events-link:hover > span,
.yt-upcoming-events-link:focus-visible > span {
    text-decoration: none !important;
}

.yt-upcoming-event-link:hover > .yt-upcoming-versus,
.yt-upcoming-event-link:focus-visible > .yt-upcoming-versus {
    color: #000 !important;
}

@media (prefers-reduced-motion: reduce) {
    .yt-upcoming-event-link,
    .yt-upcoming-event-link::after,
    .yt-upcoming-events-link,
    .yt-upcoming-events-link::after {
        animation: none;
    }

    .yt-upcoming-event-link::after,
    .yt-upcoming-events-link::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

button:hover,
[role="button"]:hover,
select:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    filter: brightness(.92);
}

button:not(:disabled):hover,
[role="button"]:hover,
input[type="button"]:not(:disabled):hover,
input[type="submit"]:not(:disabled):hover {
    transform: translateY(-1px);
}

/* Matching floating buttons: dark/light mode and back-to-top */
.yt-floating-action {
    width: 44px;
    height: 44px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

/* Fighter archive filters */
.yt-fighter-filter-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.yt-compact-filter {
    width: auto !important;
    min-width: 165px;
    max-width: calc(100vw - 32px);
    height: 38px;
    min-height: 38px;
    padding: 5px 28px 5px 10px !important;
    font-size: 13px !important;
    text-align: left;
    margin: 0 !important;
    flex: 0 0 auto;
    white-space: nowrap;
    field-sizing: content;
}
#countries.yt-compact-filter {
    width: auto !important;
    min-width: 150px;
}
#divisions.yt-compact-filter {
    width: auto !important;
    min-width: 150px;
}
#gander.yt-compact-filter {
    width: auto !important;
    min-width: 92px;
}
.yt-fighter-filters-row {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.yt-fighter-search {
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}
.yt-fighter-search .form-control {
    flex: 0 0 150px;
    width: 150px;
    min-height: 38px;
    padding: 6px 10px;
    font-size: 13px;
}
.yt-icon-search-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

/* Reusable select that follows the currently selected text width */
.yt-content-select {
    width: auto !important;
    min-width: 90px;
    max-width: calc(100vw - 32px);
    height: 40px;
    min-height: 40px;
    padding: 6px 30px 6px 10px !important;
    font-size: 14px !important;
    white-space: nowrap;
    field-sizing: content;
}

/* Compact search in the main navigation */
.yt-main-search {
    align-items: center;
}
.yt-main-search .form-control {
    flex: 0 0 125px;
    width: 125px;
    height: 38px;
    padding: 6px 10px;
    font-size: 13px;
}

/* Promotions sort and live name/letter search */
.yt-promotions-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}
.yt-promotions-controls #sort_by {
    width: auto !important;
    min-width: 94px;
    max-width: calc(100vw - 32px);
    height: 38px;
    margin: 0;
    padding: 5px 28px 5px 10px !important;
    font-size: 13px;
    field-sizing: content;
}
.yt-promotions-search {
    align-items: center;
}
.yt-promotions-search .form-control {
    flex: 0 0 175px;
    width: 175px;
    height: 38px;
    padding: 6px 10px;
    font-size: 13px;
}
.yt-promotions-empty {
    grid-column: 1 / -1;
    width: 100%;
    margin: 30px 0;
    text-align: center;
}

/* Numbered promotion archive pagination with breathing room above the footer */
.yt-promotion-pagination {
    margin: 34px 0 48px;
}
.yt-promotion-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
.yt-promotion-pagination .page-numbers {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yt-primary);
    border-radius: 4px;
    color: var(--yt-primary);
    background: #fff;
}
.yt-promotion-pagination .page-numbers.current,
.yt-promotion-pagination a.page-numbers:hover {
    color: #fff;
    background: var(--yt-primary);
}
body.dark .yt-promotion-pagination .page-numbers {
    background: var(--dm-dark2);
}

/* Champions gender selection */
.yt-champions-gender-filter {
    display: flex;
    justify-content: center;
    width: max-content;
    max-width: 100%;
}
.yt-champions-gender-filter .form-select {
    width: auto !important;
    min-width: 94px;
    max-width: calc(100vw - 32px);
    height: 40px;
    min-height: 40px;
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    white-space: nowrap;
    field-sizing: content;
}

/* Events filters follow their selected option and wrap cleanly */
.yt-events-filters {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}
.yt-events-filters .yt-content-select {
    margin: 0;
}

/* Editable History content preserves readable paragraph spacing */
.history-content p {
    margin-bottom: 1.45rem;
}

/* Detail label/value rows on event and fighter profiles */
.yt-detail-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 8px;
    align-items: start;
    font-size: 14px;
    text-align: left;
}
.yt-detail-row > span:first-child {
    justify-self: start;
    text-align: left;
}
.yt-detail-row > span:last-child {
    justify-self: start;
    text-align: left;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}


/* Fighter profile: compact labels leave more width for values */
.single-fighters .yt-detail-row {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 7px;
}
.single-fighters .yt-detail-row > span:last-child {
    white-space: normal;
}

@media (max-width: 991.98px) {
    .yt-fighter-filter-controls {
        justify-content: center;
    }
    .yt-fighter-search {
        margin-top: 2px;
    }
}

@media (max-width: 767.98px) {
    .yt-hero-slider,
    .yt-hero-content {
        min-height: 520px;
    }
    .yt-fighter-filter-controls {
        display: flex;
        width: auto;
        max-width: 100%;
    }
    .yt-fighter-search {
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .yt-compact-filter {
        width: auto !important;
        min-width: 150px;
    }
    #countries.yt-compact-filter,
    #divisions.yt-compact-filter {
        width: auto !important;
        min-width: 145px;
    }
    #gander.yt-compact-filter {
        width: auto !important;
        min-width: 90px;
    }
    .yt-promotions-controls {
        justify-content: center;
    }
}
/* Bout detail refinements */
.yt-bout-winner-slot {
    min-height: 28px;
    margin-bottom: 6px;
}

.yt-bout-winner-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 4px;
    background: #16833d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .35px;
}

.yt-bout-method {
    line-height: 1.25;
    font-weight: 400;
}

.yt-bout-record {
    white-space: nowrap;
}

.yt-record-separator {
    color: inherit;
}

.yt-bout-comparison-table {
    width: 100%;
    table-layout: fixed;
}

.yt-bout-comparison-table .yt-bout-fighter-column {
    width: 42%;
}

.yt-bout-comparison-table .yt-bout-label-column {
    width: 16%;
}

.yt-bout-comparison-table td {
    padding-right: 8px;
    padding-left: 8px;
    text-align: center !important;
    vertical-align: middle;
}

.yt-bout-comparison-table .yt-bout-label {
    white-space: nowrap;
}

.yt-survivor-comparison-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.yt-survivor-comparison-table {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.yt-survivor-comparison-table th,
.yt-survivor-comparison-table td {
    padding: 8px;
    text-align: center !important;
    vertical-align: middle;
}

.yt-survivor-comparison-table .yt-survivor-comparison-label {
    width: 100px;
    font-weight: 700;
    white-space: nowrap;
}

.yt-survivor-fighter-name,
.yt-survivor-fighter-name a {
    font-weight: 700;
}

.yt-bout-championship {
    font-size: .92em;
    line-height: 1.3;
}

.yt-last-five-results {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.yt-last-five-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 23px;
    padding: 2px 4px;
    border-radius: 4px;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}

a.yt-last-five-badge:hover,
a.yt-last-five-badge:focus {
    color: #fff !important;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.yt-last-five-w { background: #16833d; }
.yt-last-five-l { background: var(--yt-primary); }
.yt-last-five-d { background: #1f96be; }
.yt-last-five-nc,
.yt-last-five-nd,
.yt-last-five-n-a { background: #6c757d; }
.yt-last-five-s,
.yt-last-five-tbd {
    background: #f2c94c;
    color: #222 !important;
}
.yt-last-five-empty {
    background: #adb5bd;
    color: #fff !important;
}

.yt-bout-meta p {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .65rem;
}

.bout_video {
    width: 100%;
    text-align: center;
}

.bout_video iframe,
.bout_video video,
.bout_video embed {
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 575.98px) {
    .yt-bout-comparison-table .yt-bout-fighter-column {
        width: 38%;
    }

    .yt-bout-comparison-table .yt-bout-label-column {
        width: 24%;
    }

    .yt-bout-comparison-table td {
        padding-right: 4px;
        padding-left: 4px;
    }

    .yt-last-five-results {
        gap: 2px;
    }

    .yt-last-five-badge {
        min-width: 20px;
        height: 21px;
        padding-right: 3px;
        padding-left: 3px;
        font-size: 10px;
    }
}

/* Fighter name and championship-count marker */
.yt-fighter-name-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 9px;
}

.yt-fighter-champion-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    flex: 0 0 auto;
    margin-top: 0;
    color: inherit;
    line-height: 1;
    text-decoration: none;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    transform: translateY(0);
}

.yt-fighter-champion-crown {
    position: relative;
    top: 0;
    font-size: 27px;
    line-height: 1;
}

.yt-fighter-champion-count {
    align-self: baseline;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
}

.yt-fighter-champion-mark:hover,
.yt-fighter-champion-mark:focus {
    color: inherit;
    transform: translateY(-1px);
}

/* Shared fighter, event and team bout-history tables */
.yt-bouts-table {
    width: 100%;
    table-layout: fixed;
}

.yt-bouts-table th,
.yt-bouts-table td {
    text-align: center !important;
    vertical-align: middle !important;
    overflow-wrap: anywhere;
}

.yt-bouts-table th {
    font-weight: 600;
}

.yt-bouts-table tbody td > a:not(.yt-bout-action),
.yt-bouts-table .yt-bout-participant {
    font-weight: 700;
}

.yt-bout-type {
    color: var(--yt-primary);
    font-weight: 700;
}

.yt-tag-team-observation {
    color: var(--yt-primary);
    font-weight: 700;
}

.yt-bout-type-select-wrap {
    display: inline-grid;
    max-width: 100%;
    grid-template-areas: "select";
    vertical-align: middle;
}

.yt-bout-type-select-wrap::after {
    content: attr(data-selected-text);
    visibility: hidden;
    grid-area: select;
    padding: 4px 30px 4px 8px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    white-space: pre;
}

.yt-bout-type-select {
    width: 100% !important;
    max-width: 100%;
    min-height: 32px;
    padding: 4px 28px 4px 8px !important;
    grid-area: select;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.yt-bout-winner-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.yt-bout-winner-link .yt-bout-result-badge {
    transition: filter .2s ease, transform .2s ease;
}

.yt-bout-winner-link:hover,
.yt-bout-winner-link:focus {
    text-decoration: none;
}

.yt-bout-winner-link:hover .yt-bout-result-badge,
.yt-bout-winner-link:focus .yt-bout-result-badge {
    color: #000 !important;
    background-color: #008800;
    filter: none;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
    transform: translateY(-1px);
}

.yt-event-bout-separator {
    max-width: 1180px;
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(214, 31, 31, .45);
}

.yt-event-bout-separator.is-first {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: 0;
}

.yt-bout-group-heading {
    padding-top: 1rem;
    border-top: 1px solid rgba(214, 31, 31, .35);
}

/* Team profiles use the registered fighters as the visual and detail source. */
.yt-team-member-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    align-items: start;
    gap: 10px;
    width: 100%;
}

.yt-team-member-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.yt-team-member-image {
    display: block;
    width: 100%;
    aspect-ratio: 10 / 13;
    max-height: 300px;
    object-fit: cover;
    object-position: center top;
    transition: opacity .2s ease, transform .2s ease;
}

.yt-team-member-card:hover .yt-team-member-image,
.yt-team-member-card:focus .yt-team-member-image {
    opacity: .88;
    transform: translateY(-2px);
}

.yt-team-member-placeholder {
    max-width: 230px;
    margin-right: auto;
    margin-left: auto;
}

.yt-bout-team-member-images {
    display: flex;
    width: 100%;
    max-width: 120px;
    height: 100px;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
}

.yt-bout-team-member-images img {
    display: block;
    min-width: 0;
    flex: 1 1 0;
    width: 0;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.yt-team-details-list {
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.yt-team-detail-row {
    display: grid;
    grid-template-columns: minmax(110px, .85fr) minmax(0, 1.15fr);
    align-items: start;
    column-gap: 16px;
}

.yt-team-detail-label {
    font-weight: 700;
}

.yt-team-detail-value {
    min-width: 0;
    justify-self: start;
    text-align: left;
    direction: ltr;
    overflow-wrap: anywhere;
}

.yt-team-member-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.yt-team-member-links a {
    font-weight: 700;
}

.yt-bout-expanded-row > td {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.yt-bout-expanded-content,
.yt-bout-expanded-details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.yt-bout-expanded-details {
    padding: 4px 12px;
    text-align: center;
    overflow-wrap: anywhere;
}

.yt-bout-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    min-width: 25px;
    height: 25px;
    padding: 0;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.yt-bout-result-badge-long {
    width: auto;
    max-width: 100%;
    padding-right: 7px;
    padding-left: 7px;
}

.yt-bout-result-w { background: #008800; }
.yt-bout-result-l { background: var(--yt-primary); }
.yt-bout-result-d { background: #1f96be; }
.yt-bout-result-nc,
.yt-bout-result-nd,
.yt-bout-result-n-a,
.yt-bout-result-unknown { background: #6c757d; }
.yt-bout-result-s,
.yt-bout-result-tbd {
    color: #222;
    background: #ffe600;
}

.yt-bout-actions-cell {
    width: 96px;
    min-width: 96px;
    padding-right: 4px !important;
    padding-left: 4px !important;
}

.yt-bout-actions {
    display: grid;
    grid-template-columns: repeat(3, 22px);
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.yt-bout-action-slot {
    display: inline-flex;
    width: 22px;
    height: 28px;
    align-items: center;
    justify-content: center;
}

.yt-bout-action,
.yt-bout-expand-button {
    display: inline-flex;
    width: 22px;
    height: 28px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #2864d7;
    background: transparent;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.yt-bout-expand-button {
    color: inherit;
}

/* Configurable three-card homepage Fighters showcase */
.yt-home-fighter-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 458 / 594;
    overflow: hidden;
    color: #fff;
    background: var(--yt-showcase-bg, #2b1010);
    text-decoration: none;
}

.yt-home-fighter-card:hover,
.yt-home-fighter-card:focus {
    color: #fff;
}

.yt-home-fighter-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

a.yt-home-fighter-card:hover .yt-home-fighter-image,
a.yt-home-fighter-card:focus .yt-home-fighter-image {
    transform: scale(1.015);
}

.yt-home-fighter-message {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 5vw, 42px);
    text-align: center;
    background: var(--yt-showcase-bg, #2b1010);
}

.yt-home-fighter-message.has-image {
    justify-content: flex-end;
    background: linear-gradient(transparent 35%, rgba(0, 0, 0, .82));
}

.yt-home-fighter-message h3 {
    margin-bottom: .6rem;
    color: inherit;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.yt-home-fighter-message p:last-child {
    margin-bottom: 0;
}

/* Reciprocal Rookie / official Fighter profile navigation */
.yt-profile-relationship {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.yt-profile-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #168447;
    border-radius: 999px;
    color: #116638;
    background: #eaf8f0;
    font-size: 13px;
    font-weight: 700;
}

.yt-linked-profile-button {
    font-weight: 700;
}

.yt-rookie-history-link {
    display: inline-flex;
    align-items: center;
    color: #2864d7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.yt-rookie-history-link:hover,
.yt-rookie-history-link:focus {
    color: #1748a8;
    text-decoration: underline;
}

body.dark .yt-profile-status-badge {
    border-color: #48c77f;
    color: #f2fff7;
    background: #145b35;
}

body.dark .yt-rookie-history-link,
body.dark .yt-rookie-history-link:hover,
body.dark .yt-rookie-history-link:focus {
    color: #8bb7ff;
}

@media (max-width: 767.98px) {
    .yt-fighter-name-row {
        justify-content: center;
    }

    .yt-bouts-table {
        /* Hidden desktop columns must not retain fixed-width shares on mobile. */
        table-layout: auto;
    }

    .yt-bouts-table th,
    .yt-bouts-table td {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 12px;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
    }

    .yt-bouts-table th {
        line-height: 1.2;
    }

    .yt-bout-expanded-row > td {
        width: auto;
        max-width: none;
        padding-right: 0 !important;
        padding-left: 0 !important;
        overflow: visible;
    }

    .yt-bout-expanded-content,
    .yt-bout-expanded-details {
        width: 100% !important;
        max-width: none;
        box-sizing: border-box;
    }

    .yt-bout-expanded-details {
        padding: 10px 8px;
        overflow-wrap: break-word;
    }

    .yt-bout-result-badge-long {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 25px;
        padding: 4px 5px;
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .yt-bout-actions-cell {
        width: 72px;
        min-width: 72px;
    }

    .yt-bout-actions {
        grid-template-columns: repeat(3, 20px);
        gap: 3px;
    }

    .yt-bout-action-slot,
    .yt-bout-action,
    .yt-bout-expand-button {
        width: 20px;
    }

    .yt-home-fighters-showcase {
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }
}
