/* Dark ProWrestlingDB base layout */
:root {
    --page-bg: #0f172a;
    --header-bg: #051224f7;
    --panel-bg: #0b1224;
    --panel-bg-soft: #0f172a;
    --border: #1c2740;
    --border-strong: #ffffff1a;
    --text: #f4f7fb;
    --muted: #94a3b8;
    --muted-blue: #8aa2c7;
    --accent: #ff1d4873;
    --accent-strong: #9bbcff;
    --brand-gold: #d8b25c;
    --danger: #f87171;
    --success: #34d399;
    --link: #e5e7eb;
    --shadow:0 14px 34px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.04);
}

* {
    box-sizing: border-box;
}

img,
svg {
    max-width: 100%;
}

html {
    min-height: 100%;
    background: var(--page-bg);
}

body {
    margin: 0;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background: var(--page-bg);
    color: var(--text);
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-x: hidden;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--text);
}

h1 {
    margin-bottom: 22px;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 0px;
    font-size: 1.15rem;
    font-weight: 800;
}

h3 {
    font-size: 18px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--muted);
}

a {
    color: var(--link);
    text-decoration: none;
    font-weight: 800;
}

a:hover,
a:focus {
    color: var(--text);
    text-decoration: none;
    opacity:.78;
}

/* Shared site header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
}

/* Public home */
.home-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 430px;
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(216, 178, 92, 0.14), transparent 28%),
        linear-gradient(90deg, rgba(7, 12, 25, 0.92) 0%, rgba(7, 12, 25, 0.72) 45%, rgba(7, 12, 25, 0.38) 100%),
        linear-gradient(180deg, rgba(7, 12, 25, 0.04) 0%, rgba(8, 14, 29, 0.46) 48%, var(--panel-bg) 100%),
        url("../img/home-hero-arena.png") center / cover no-repeat;
    box-shadow: var(--shadow);
}

.home-hero-copy,
.home-hero-panel {
    position: relative;
    z-index: 1;
}

.home-hero-copy {
    width: min(1120px, 100%);
    margin: 0 auto;
    max-width: 1240px;
    padding: 56px 16px;
}

.home-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--muted-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.75rem;
}

.home-kicker img {
    width: 34px;
    height: auto;
}

.home-title {
    margin-bottom: 12px;
    color: var(--brand-gold);
    letter-spacing: 0;
    font-size: clamp(2.35rem, 6vw, 4.8rem);
    line-height: 0.95;
}

.home-lede {
    max-width: 1040px;
    margin-bottom: 26px;
    color: #dbe7f8;
    font-size: 1.1rem;
    font-weight: 700;
}

.home-search {
    max-width: 1120px;
}

.home-search label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 800;
}

.home-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(11, 18, 36, 0.84);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.home-search-row:focus-within {
    border-color: rgba(216, 178, 92, 0.72);
    box-shadow: 0 0 0 2px rgba(216, 178, 92, 0.12);
}

.home-search-row input {
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
    min-height: 72px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 1rem;
    box-shadow: none;
}

.home-search-row input:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.home-search-row input[type="search"]::-webkit-search-cancel-button {
    display: none;
    appearance: none;
}

.home-search-row .btn {
    min-width: 128px;
    margin: 12px;
    color: #0b1224;
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.home-search-row .btn:hover,
.home-search-row .btn:focus {
    color: #0b1224;
    background: #e8c66c;
    border-color: #e8c66c;
}

.home-search-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.home-search-shortcuts a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 0.82rem;
}

.home-search-shortcuts a:hover,
.home-search-shortcuts a:focus {
    border-color: rgba(216, 178, 92, 0.72);
    background: rgba(216, 178, 92, 0.18);
    opacity: 1;
}

.home-panel-label {
    color: var(--brand-gold);
    font-size: 1.15rem;
    font-weight: 800;
}

.home-hero-links {
    display: grid;
    gap: 10px;
}

.home-hero-links a,
.home-browse-link {
    display: block;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel-bg-soft);
}

.home-hero-links a {
    padding: 14px 16px;
}

.home-hero-links a:hover,
.home-hero-links a:focus,
.home-browse-link:hover,
.home-browse-link:focus {
    border-color: var(--border-strong);
    background: #152039;
    opacity: 1;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.dashboard-stat.home-stat {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: center;
    justify-items: center;
    min-height: 160px;
    padding: 24px 18px;
    text-align: center;
    color: var(--text);
}

.dashboard-stat.home-stat span {
    order: 2;
    color: var(--text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.15;
}

.home-stat:hover,
.home-stat:focus {
    border-color: rgba(216, 178, 92, 0.78);
    color: var(--text);
    box-shadow: 0 0 0 2px rgba(216, 178, 92, 0.10);
    opacity: 1;
}

.dashboard-stat.home-stat strong {
    order: 1;
    display: block;
    margin-left: 0;
    padding-left: 0;
    color: var(--brand-gold);
    font-size: clamp(2.6rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 24px rgba(216, 178, 92, 0.2);
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.home-feature-card {
    --feature-image: url("../img/home-hero-arena.png");
    --feature-position: center;
    position: relative;
    display: flex;
    min-height: 168px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(6, 11, 23, 0.16) 0%, rgba(6, 11, 23, 0.76) 58%, rgba(6, 11, 23, 0.94) 100%),
        linear-gradient(90deg, rgba(6, 11, 23, 0.86), rgba(6, 11, 23, 0.36)),
        var(--feature-image) var(--feature-position) / cover no-repeat;
    box-shadow: inset 0 -72px 96px rgba(5, 10, 22, 0.58);
    isolation: isolate;
}

.home-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 22% 0%, rgba(216, 178, 92, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(216, 178, 92, 0.18), transparent 42%);
    opacity: 0.62;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.home-feature-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--brand-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.75rem;
}

.home-feature-card strong {
    display: block;
    color: var(--text);
    max-width: 25rem;
    font-size: 1.05rem;
    line-height: 1.25;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.home-feature-card:hover,
.home-feature-card:focus {
    border-color: rgba(216, 178, 92, 0.68);
    background:
        linear-gradient(180deg, rgba(6, 11, 23, 0.08) 0%, rgba(6, 11, 23, 0.68) 56%, rgba(6, 11, 23, 0.92) 100%),
        linear-gradient(90deg, rgba(6, 11, 23, 0.82), rgba(6, 11, 23, 0.26)),
        var(--feature-image) var(--feature-position) / cover no-repeat;
    opacity: 1;
}

.home-feature-card:hover::before,
.home-feature-card:focus::before {
    opacity: 0.82;
    transform: scale(1.03);
}

.home-feature-card-wrestlers {
    --feature-image: url("../img/featured-1.webp");
    --feature-position: 50% 18%;
}

.home-feature-card-cards {
    --feature-position: 48% 58%;
    --feature-image: url("../img/featured-6.jpg");
}

.home-feature-card-teams {
    --feature-position: 68% 42%;
    --feature-image: url("../img/featured-2.webp");
}

.home-feature-card-championships {
    --feature-position: 54% 34%;
    --feature-image: url("../img/featured-4.webp");
}

.home-feature-card-promotions {
    --feature-position: 34% 48%;
    --feature-image: url("../img/featured-5.webp");
}

.home-feature-card-tournaments {
    --feature-position: 74% 30%;
    --feature-image: url("../img/featured-3.jpg");
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: start;
}

.home-recent-panel .section-head,
.home-browse-panel .section-head {
    margin-bottom: 18px;
}

.home-recent-panel .section-title,
.home-browse-panel .section-title {
    color: var(--brand-gold);
}

.home-recent-panel .btn-secondary {
    border-color: rgba(216, 178, 92, 0.38);
    color: var(--brand-gold);
}

.home-recent-panel .btn-secondary:hover,
.home-recent-panel .btn-secondary:focus {
    border-color: rgba(216, 178, 92, 0.76);
    background: rgba(216, 178, 92, 0.12);
    color: var(--brand-gold);
}

.home-card-row {
    position: relative;
    color: var(--text);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
}

.home-card-row:hover,
.home-card-row:focus {
    color: var(--text);
    opacity: 1;
}

.home-card-row::before,
.home-browse-link::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.home-card-row:hover,
.home-card-row:focus-within {
    border-color: rgba(216, 178, 92, 0.58);
}

.home-card-row:hover::before,
.home-card-row:focus-within::before,
.home-browse-link:hover::before,
.home-browse-link:focus::before {
    opacity: 1;
}

.home-card-count {
    min-width: 96px;
    text-align: right;
    color: var(--muted);
}

.home-card-count strong {
    display: block;
    color: var(--brand-gold);
    font-size: 1.7rem;
    line-height: 1;
}

.home-card-count span {
    font-weight: 700;
}

.home-browse-list {
    display: grid;
    gap: 12px;
}

.home-browse-link {
    position: relative;
    padding: 16px;
    overflow: hidden;
}

.home-browse-link span {
    display: block;
    margin-bottom: 4px;
    color: var(--brand-gold);
    font-weight: 800;
}

.home-browse-link small {
    display: block;
    color: #c8d2e2;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .home-grid {
        grid-template-columns: 1fr;
    }

    .home-stat-grid,
    .home-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-hero-copy,
    .home-hero-panel {
        padding: 22px;
    }

    .home-search-row,
    .home-card-row {
        grid-template-columns: 1fr;
    }

    .home-search-row .btn {
        width: 100%;
    }

    .home-stat-grid,
    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-card-count {
        min-width: 0;
        text-align: left;
    }
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--link);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.site-brand:hover,
.site-brand:focus {
    color: var(--text);
}

.site-logo {
    display: block;
    width: 52px;
    height: auto;
}

.site-brand-name {
    display: inline-block;
    color: var(--brand-gold);
    white-space: nowrap;
}

.site-version {
    color: var(--muted);
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.site-nav a {
    position: relative;
    letter-spacing:0.02em;
    text-transform:uppercase;
    font-size:0.75rem;
    font-weight:700;
    padding:8px 12px;
    border-radius:10px;
    color:#fff;
}

.site-nav a:hover,
.site-nav a:focus {
  background:rgba(216,178,92,0.10);
  color:var(--brand-gold);
  opacity:1;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav a:focus::after {
    transform: scaleX(1);
}

.site-menu-toggle {
    display: none;
    flex-shrink: 0;
    width: 44px;
    min-height: 44px;
    padding: 10px;
}

.site-menu-toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: var(--text);
}

.site-menu-toggle.is-open .site-menu-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-menu-toggle.is-open .site-menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle.is-open .site-menu-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Page layout */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.home-page .container {
    padding-top: 0;
}

.site-footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 16px;
}

.site-footer p {
    margin: 0;
}

.site-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel-bg-soft);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.site-social-links a:hover,
.site-social-links a:focus {
    border-color: var(--border-strong);
    color: var(--text);
    background: #151f33;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel-bg-soft);
    color: var(--text);
    font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a:focus {
    border-color: var(--border-strong);
    background: #151f33;
}

/* Reusable page heading card */
.page-hero,
.container > h1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 20px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel-bg);
    box-shadow: var(--shadow);
}

.page-hero-title,
.container > h1 {
    color: var(--text);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom:4px;
}

.page-hero-meta {
    margin-top: 6px;
    color: var(--muted);
    font-size:0.85rem;
    font-weight:500;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* Panels */
.panel {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel-bg);
}

.panel > :last-child {
    margin-bottom: 0;
}

/* Forms */
form {
    width: 100%;
    max-width: 760px;
    margin-bottom: 24px;
}

label {
    color: var(--text);
    font-weight: 800;
}

.required-marker {
    color: var(--accent);
}

input,
select,
textarea {
    width: 100%;
    max-width: 560px;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--page-bg);
    color: var(--text);
    font: inherit;
}

select {
    appearance: none;
    padding-right: 46px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

select option {
    background: var(--panel-bg-soft);
    color: var(--text);
}

select option:hover,
select option:focus,
select option:checked {
    background: #1a2740;
    color: var(--text);
}

.custom-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-top: 6px;
}

.custom-select-control {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
    padding: 10px 46px 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--page-bg);
    color: var(--text);
    cursor: pointer;
}

.custom-select-control:hover,
.custom-select-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 29, 72, 0.10);
}

.custom-select-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-value.is-placeholder {
    color: var(--muted);
}

.custom-select-clear {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 40px;
    width: 24px;
    height: 24px;
    padding: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 500;
    transform: translateY(-50%);
}

.custom-select-clear.is-visible {
    display: inline-flex;
}

.custom-select-clear:hover,
.custom-select-clear:focus {
    color: var(--text);
    background: transparent;
}

.custom-select-indicator {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    transform: translateY(-50%);
}

.custom-select.is-open .custom-select-indicator {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 260px;
    padding: 8px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-bg);
    box-shadow: var(--shadow);
}

.custom-select.is-open .custom-select-menu {
    display: grid;
    gap: 8px;
}

.custom-select-search {
    max-width: none;
    margin-top: 0;
    background: #111a2b;
}

.custom-select-options {
    display: grid;
    gap: 4px;
}

.custom-select-option {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-weight: 500;
    text-align: left;
}

.custom-select-option[hidden] {
    display: none;
}

.custom-select-option:hover,
.custom-select-option:focus,
.custom-select-option.is-selected {
    background: #202a3d;
    color: var(--text);
    outline: none;
}

.admin-upload-preview {
    display: block;
    width: 120px;
    aspect-ratio: 1;
    margin: 8px 0 12px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel-bg-soft);
}

.admin-file-input {
    max-width: 100%;
    padding: 8px;
    color: var(--muted);
    cursor: pointer;
}

.admin-file-input::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #182238;
    color: var(--text);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-file-input:hover::file-selector-button,
.admin-file-input:focus::file-selector-button {
    border-color: var(--accent-strong);
}

.custom-select-empty {
    display: none;
    padding: 9px 14px;
    color: var(--muted);
    font-weight: 600;
}

.custom-select-empty.is-visible {
    display: block;
}

textarea {
    min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 29, 72, 0.10);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    max-width: none;
    margin-right: 6px;
}

input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    border: 2px solid var(--border);
    border-radius: 5px;
    background: var(--surface);
    vertical-align: -3px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="checkbox"]:hover {
    border-color: rgba(255, 255, 255, 0.45);
}

input[type="checkbox"]:checked {
    border-color: var(--accent);
    background-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.8 2.7 8.3l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 29, 72, 0.18);
}

input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: inset 0 0 0 4px var(--surface);
    vertical-align: -3px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="radio"]:hover {
    border-color: rgba(255, 255, 255, 0.45);
}

input[type="radio"]:checked {
    border-color: var(--accent);
    background: var(--accent);
}

input[type="radio"]:focus {
    outline: none;
    box-shadow: inset 0 0 0 4px var(--surface), 0 0 0 3px rgba(255, 29, 72, 0.18);
}

input[type="radio"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.9;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
}

.number-stepper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-top: 6px;
}

.number-stepper input[type="number"] {
    max-width: none;
    margin-top: 0;
    padding-right: 44px;
}

.number-stepper-controls {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    display: grid;
    width: 34px;
    overflow: hidden;
    border-left: 1px solid var(--border-strong);
    border-radius: 0 9px 9px 0;
    background: var(--page-bg);
}

.number-stepper-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--page-bg);
    color: var(--text);
}

.number-stepper-button:hover,
.number-stepper-button:focus {
    background: #151f33;
    outline: none;
}

.number-stepper-button::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.number-stepper-button-up::before {
    border-bottom: 6px solid var(--text);
}

.number-stepper-button-down::before {
    border-top: 6px solid var(--text);
}

input[type="search"]::-webkit-search-decoration {
    appearance: none;
}

input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    width: 8px;
    height: 8px;
    cursor: pointer;
    background:
        linear-gradient(45deg, transparent 44%, var(--muted) 44%, var(--muted) 56%, transparent 56%),
        linear-gradient(-45deg, transparent 44%, var(--muted) 44%, var(--muted) 56%, transparent 56%);
}

input[type="search"]::-webkit-search-cancel-button:hover {
    background:
        linear-gradient(45deg, transparent 44%, var(--text) 44%, var(--text) 56%, transparent 56%),
        linear-gradient(-45deg, transparent 44%, var(--text) 44%, var(--text) 56%, transparent 56%);
}

input[list]::-webkit-calendar-picker-indicator {
    display: none !important;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.search-form {
    max-width: none;
    margin-bottom: 20px;
}

.search-form-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.search-form-row input {
    max-width: 420px;
}

.promotion-card-filters {
    margin-bottom: 32px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
}

.promotion-card-filters .search-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(190px, 1fr)) auto auto;
    align-items: end;
    gap: 18px;
}

.promotion-card-filter-field,
.promotion-card-filter-field select,
.promotion-card-filter-field .custom-select {
    width: 100%;
    max-width: none;
}

.promotion-card-filter-field .custom-select-menu {
    min-width: min(340px, calc(100vw - 48px));
}

@media (max-width: 900px) {
    .promotion-card-filters .search-form-row {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 560px) {
    .promotion-card-filters .search-form-row {
        grid-template-columns: 1fr;
    }

    .promotion-card-filters .btn,
    .promotion-card-filters .btn-secondary {
        width: 100%;
    }
}

/* Buttons and action links */
.btn,
.btn-secondary,
.btn-success,
.btn-danger,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #151f33;
    color: var(--text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.btn:hover,
.btn:focus,
.btn-secondary:hover,
.btn-secondary:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    color: var(--text);
    background: #1a2740;
}

.btn-secondary {
    color: var(--muted-blue);
}

.btn-success {
    border-color: rgba(52, 211, 153, 0.55);
    color: #bbf7d0;
    background: rgba(20, 83, 45, 0.45);
}

.btn-success:hover,
.btn-success:focus {
    border-color: var(--success);
    background: rgba(20, 83, 45, 0.7);
}

.btn-danger {
    border-color: rgba(248, 113, 113, 0.5);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.35);
}

.btn-danger:hover,
.btn-danger:focus {
    border-color: var(--danger);
    background: rgba(127, 29, 29, 0.6);
}

/* Tables */
table {
    width: 100%;
    margin-bottom: 24px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-bg);
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    background: #111a2b;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

td {
    color: var(--muted);
}

tr:last-child td {
    border-bottom: 0;
}

tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

td a {
    color: var(--accent-strong);
    font-weight: 700;
}

.table-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
}

.table-actions-heading,
.table-actions-cell {
    width: 220px;
    text-align: center;
    white-space: nowrap;
}

/* Div-based record lists for pages where cards read better than tables */
.record-list {
    display: grid;
    gap: 14px;
}

.record-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-bg-soft);
}

.record-main {
    min-width: 0;
}

.record-main > :last-child {
    margin-bottom: 0;
}

.record-title {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 800;
}

.record-title a {
    color: var(--text);
}

.flagged-record-title,
.wrestler-record-title {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    min-height: 24px;
    line-height: 1;
}

.flagged-record-title a,
.wrestler-record-title a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    min-width: 0;
    line-height: 1;
}

.country-flag {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 16px;
    border-radius: 999px;
    opacity: 0.95;
}

.venue-display {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-transform: none;
}

.venue-display .country-flag {
    align-self: center;
}

.detail-strip-item .venue-display span,
.venue-display span {
    color: inherit;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-transform: none;
}

.record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    color: var(--muted);
}

.compact-record-card {
    padding: 12px 14px;
}

.compact-record-card .record-main,
.compact-record-card .record-meta {
    display: flex;
    align-items: center;
}

.compact-record-card .record-title {
    margin: 0;
}

.event-card-record {
    align-items: flex-start;
}

.event-card-record .record-meta {
    gap: 12px;
    margin-top: 6px;
}

.record-actions {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 10px;
}

.record-actions form {
    width: auto;
    max-width: none;
    margin: 0;
}

.side-card {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
}

.side-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.side-card .record-main {
    flex: 1;
}

.side-participant-list {
    display: grid;
    gap: 0;
    margin-top: 16px;
    padding-top: 2px;
    border-top: 1px solid var(--border);
}

.side-participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.side-participant-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.side-participant-main {
    min-width: 0;
}

.side-participant-name {
    color: var(--text);
    font-weight: 800;
}

.side-participant-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.side-participant-actions .btn,
.side-participant-actions .btn-danger {
    min-height: 38px;
    padding: 8px 14px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.pagination-status {
    color: var(--muted);
    font-weight: 800;
}

.pagination-disabled {
    cursor: default;
    opacity: 0.45;
}

.pagination-disabled:hover,
.pagination-disabled:focus {
    background: #151f33;
    opacity: 0.45;
}

button.pagination-disabled,
button.pagination-disabled:hover,
button.pagination-disabled:focus {
    cursor: not-allowed;
}

.admin-index-empty {
    margin-top: 16px;
}

/* Messages */
.message,
p[style*="color: red"],
p[style*="color: green"] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel-bg-soft);
}

.message.error,
p[style*="color: red"] {
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca !important;
    background: rgba(127, 29, 29, 0.35);
}

.message.success,
p[style*="color: green"] {
    border-color: rgba(52, 211, 153, 0.45);
    color: #bbf7d0 !important;
    background: rgba(20, 83, 45, 0.35);
}

/* Small-screen comfort */
@media (max-width: 800px) {
    h1 {
        font-size: 2rem;
    }

    .page-hero,
    .container > h1 {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }

    .site-header-inner {
        position: relative;
        gap: 12px;
        padding: 18px 16px;
    }

    .site-brand {
        min-width: 0;
    }

    .site-logo {
        width: 44px;
    }

    .site-brand-name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-menu-toggle {
        display: inline-flex;
        align-items: center;
        flex-direction: column;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        z-index: 20;
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: var(--panel-bg);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .container {
        padding: 22px 14px 40px;
    }

    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 14px;
    }

    .admin-nav,
    .page-actions,
    .form-actions {
        justify-content: flex-start;
    }

    .panel {
        padding: 18px;
        border-radius: 14px;
    }

    form {
        max-width: none;
    }

    input,
    select,
    textarea,
    .custom-select {
        max-width: none;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .record-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }

    .record-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .side-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .side-participant-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .side-participant-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .site-brand-name {
        max-width: 180px;
    }

    .site-header-inner {
        padding: 14px 12px;
    }

    .site-nav {
        left: 12px;
        right: 12px;
    }

    .container {
        padding: 16px 10px 34px;
    }

    .page-hero,
    .container > h1,
    .panel {
        border-radius: 12px;
    }

    .page-hero-title,
    .container > h1 {
        font-size: 1.65rem;
    }

    .admin-nav,
    .page-actions,
    .form-actions,
    .record-actions {
        width: 100%;
    }

    .admin-nav a,
    .page-actions .btn,
    .record-actions .btn,
    .record-actions .btn-secondary,
    .record-actions .btn-danger,
    .side-participant-actions .btn,
    .side-participant-actions .btn-danger,
    button,
    input[type="submit"] {
        width: 100%;
    }

    .custom-select-clear {
        width: 24px;
    }

    .record-meta {
        flex-direction: column;
        gap: 2px;
    }

    .record-meta span {
        word-break: break-word;
    }

    .record-meta span:nth-child(2n) {
        display: none;
    }
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.warning {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--danger);
}

/* Dashboard */
.dashboard-hero {
    padding: 26px 28px;
}

.dashboard-panel {
    padding: 24px 22px;
}

.dashboard-subtitle {
    margin: 4px 0 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-stat,
.dashboard-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-bg-soft);
}

.dashboard-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 14px 18px;
}

.dashboard-stat span,
.dashboard-card h3 {
    color: var(--text);
    font-weight: 800;
}

.dashboard-stat strong {
    color: var(--muted);
    font-size: 1rem;
}

.card-detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.card-detail-stat {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 82px;
}

.card-detail-stat strong {
    line-height: 1.35;
}

.card-detail-span-2 {
    grid-column: span 2;
}

.card-detail-span-3 {
    grid-column: span 3;
}

.card-detail-span-4 {
    grid-column: span 4;
}

.detail-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 20px;
    padding: 4px 0;
}

.event-detail-strip {
    grid-template-columns:
        minmax(180px, max-content)
        minmax(140px, max-content)
        minmax(80px, max-content)
        minmax(320px, 1fr);
}

.detail-strip-item {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    padding: 12px 18px;
    border-left: 1px solid var(--border);
}

.detail-strip-item:first-child,
.detail-strip-row-start {
    border-left: 0;
    padding-left: 0;
}

.detail-strip-item span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.detail-strip-item strong {
    min-width: 0;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.detail-strip-item strong .venue-display,
.detail-strip-item strong .venue-display span,
.page-hero-meta .venue-display,
.page-hero-meta .venue-display span {
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: 0;
    line-height: inherit;
    text-transform: none;
}

.detail-strip-item strong a {
    color: inherit;
}

.detail-strip-item-wide {
    grid-column: span 2;
}

.detail-strip-item-full {
    grid-column: span 3;
}

.detail-strip-item-compact {
    justify-items: start;
}

.dashboard-jump {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: end;
    gap: 24px;
    max-width: none;
    margin: 0;
}

.dashboard-jump p {
    margin: 0;
}

.dashboard-jump input {
    max-width: none;
}

.dashboard-jump-links,
.dashboard-card-actions,
.dashboard-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-jump-links {
    justify-content: flex-end;
}

.dashboard-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 190px;
    padding: 20px 22px;
}

.dashboard-card.is-hidden {
    display: none;
}

.dashboard-card h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.dashboard-card p {
    margin-bottom: 14px;
}

.dashboard-card strong {
    color: var(--text);
}

.dashboard-card-actions {
    justify-content: flex-end;
}

.dashboard-link-grid {
    align-items: center;
}

.public-profile-panel {
    padding: 28px;
}

.public-profile-layout {
    display: grid;
    grid-template-columns: 160px repeat(4, minmax(0, 1fr));
    grid-template-areas:
        "image title title title title"
        "image status gender height weight"
        "birthplace birthplace born age debut";
    gap: 12px;
    align-items: stretch;
}

.public-profile-layout.no-profile-image {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
        "title title title title"
        "birthplace status gender height"
        "weight born age debut";
}

.public-profile-layout.location-profile-layout {
    grid-template-areas:
        "title title title title"
        "status gender height weight";
}

.championship-profile-layout {
    grid-template-areas:
        "image title title title title"
        "image status gender height height"
        "birthplace birthplace active-years weight weight";
}

.championship-profile-layout.is-inactive-championship {
    grid-template-columns: 160px repeat(6, minmax(0, 1fr));
    grid-template-areas:
        "image title title title title title title"
        "image status status gender gender active-years active-years"
        ". height height height weight weight weight";
}

.public-profile-image {
    display: grid;
    grid-area: image;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.85)),
        linear-gradient(135deg, rgba(148, 163, 184, 0.28), rgba(255, 29, 72, 0.18));
}

.public-profile-image span {
    color: var(--text);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.public-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-profile-image.is-deceased img {
    filter: grayscale(1);
}

.championship-profile-champion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    padding: 2px;
}

.championship-profile-champion-grid.is-two-champions {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    background: var(--border);
}

.championship-profile-champion-grid .championship-profile-champion-tile {
    display: grid;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.9)),
        linear-gradient(135deg, rgba(148, 163, 184, 0.22), rgba(255, 29, 72, 0.14));
}

.championship-profile-champion-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.championship-profile-champion-grid span {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.public-profile-head {
    grid-area: title;
    gap: 18px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.public-profile-title-flag {
    width: 24px;
    height: 24px;
}

.current-champion-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.current-champion-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.current-champion-pill {
    border: 1px solid rgba(216, 178, 92, 0.62);
    background: rgba(216, 178, 92, 0.12);
    color: var(--brand-gold);
}

.current-champion-pill a {
    color: inherit;
}

.public-profile-facts {
    display: contents;
}

.public-profile-facts .dashboard-stat:nth-child(1) {
    grid-area: status;
}

.public-profile-facts .dashboard-stat:nth-child(2) {
    grid-area: gender;
}

.public-profile-facts .dashboard-stat:nth-child(3) {
    grid-area: height;
}

.public-profile-facts .dashboard-stat:nth-child(4) {
    grid-area: weight;
}

.public-profile-facts .dashboard-stat:nth-child(5) {
    grid-area: born;
}

.public-profile-facts .dashboard-stat:nth-child(6) {
    grid-area: age;
}

.public-profile-facts .dashboard-stat:nth-child(7) {
    grid-area: debut;
}

.public-profile-facts .dashboard-stat {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.public-profile-facts {
    color: var(--text);
}

.promotion-active-years-stat {
    grid-column: born-start / age-end;
    grid-row: born-start / born-end;
}

.promotion-matches-stat {
    grid-area: debut;
}

.public-profile-birthplace-stat {
    align-items: flex-start;
    flex-direction: column;
    grid-area: birthplace;
    justify-content: center;
    min-height: 0;
}

.public-profile-birthplace-stat strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.championship-profile-most-reigns-stat {
    grid-area: height;
}

.championship-profile-longest-reign-stat {
    grid-area: weight;
}

.championship-profile-layout .public-profile-facts .championship-profile-active-years-stat {
    grid-area: active-years;
}

.championship-profile-most-reigns-stat,
.championship-profile-longest-reign-stat,
.championship-profile-active-years-stat {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.championship-profile-most-reigns-stat strong,
.championship-profile-longest-reign-stat strong {
    display: grid;
    gap: 2px;
    line-height: 1.25;
}

.championship-stat-primary {
    color: var(--text);
}

.championship-stat-primary a {
    color: inherit;
}

.championship-stat-primary .championship-reign-members,
.championship-stat-primary .championship-reign-separator {
    color: var(--muted);
}

.championship-stat-primary .championship-reign-members a {
    color: var(--text);
}

.championship-stat-secondary {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.public-profile-records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.public-profile-inline-detail {
    align-items: flex-start;
    flex-direction: column;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.public-profile-inline-detail strong {
    color: var(--muted);
    line-height: 1.4;
}

.public-profile-records .record-card {
    align-items: flex-start;
}

.public-profile-records .record-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tournament-edition-list {
    display: grid;
    gap: 26px;
}

.tournament-edition {
    display: grid;
    gap: 22px;
}

.tournament-edition + .tournament-edition {
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.tournament-edition-head {
    display: grid;
    gap: 8px;
}

.tournament-edition-head .record-title,
.tournament-edition-head .record-meta {
    margin: 0;
}

.tournament-round {
    display: grid;
    gap: 12px;
}

.tournament-round-title {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
}

.tournament-empty-round {
    margin: 0;
    color: var(--muted);
}

.recent-match-list {
    display: grid;
    gap: 14px;
}

.recent-match-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.28fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 14px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-bg-soft);
}

.event-match-list {
    display: grid;
    gap: 12px;
}

.event-match-groups {
    display: grid;
    gap: 22px;
}

.event-match-group-head {
    margin-bottom: 12px;
}

.event-match-card {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-bg-soft);
}

.event-match-number {
    display: flex;
    align-items: center;
    min-width: 0;
}

.event-match-result {
    min-height: 44px;
    padding-left: 16px;
}

.recent-match-event {
    display: grid;
    gap: 8px;
}

.recent-match-date,
.recent-match-championship {
    color: #d8e0ec;
    font-weight: 700;
    font-size: 0.95rem;
}

.recent-match-championship a {
    color: var(--brand-gold);
}

.recent-match-championship a:hover,
.recent-match-championship a:focus {
    color: #f0d58c;
}

/* Wrestler profile polish */
.wrestler-profile-page .container,
.promotion-profile-page .container,
.team-profile-page .container,
.championship-profile-page .container,
.card-profile-page .container,
.event-profile-page .container,
.user-profile-page .container {
    padding-top: 0;
}

.wrestler-profile-page .wrestler-profile-panel,
.promotion-profile-page .promotion-profile-panel,
.team-profile-page .team-profile-panel,
.championship-profile-page .championship-profile-panel,
.card-profile-page .card-profile-panel,
.event-profile-page .event-profile-panel,
.user-profile-page .user-profile-panel {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 44px max(20px, calc((100vw - 1240px) / 2 + 20px)) 38px;
    border-color: var(--border);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(11, 18, 36, 0.30) 0%, rgba(11, 18, 36, 0.72) 42%, var(--panel-bg) 76%),
        var(--panel-bg);
}

.wrestler-profile-page .wrestler-profile-panel::before,
.promotion-profile-page .promotion-profile-panel::before,
.team-profile-page .team-profile-panel::before,
.championship-profile-page .championship-profile-panel::before,
.card-profile-page .card-profile-panel::before,
.event-profile-page .event-profile-panel::before,
.user-profile-page .user-profile-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: min(520px, 82%);
    background:
        linear-gradient(90deg, rgba(7, 12, 25, 0.92) 0%, rgba(7, 12, 25, 0.72) 45%, rgba(7, 12, 25, 0.38) 100%),
        linear-gradient(180deg, rgba(7, 12, 25, 0.04) 0%, rgba(8, 14, 29, 0.46) 48%, var(--panel-bg) 100%),
        url("../img/home-hero-arena.png") center 34% / cover no-repeat;
    opacity: 0.95;
    pointer-events: none;
}

.wrestler-profile-page .wrestler-profile-panel::after,
.promotion-profile-page .promotion-profile-panel::after,
.team-profile-page .team-profile-panel::after,
.championship-profile-page .championship-profile-panel::after,
.card-profile-page .card-profile-panel::after,
.event-profile-page .event-profile-panel::after,
.user-profile-page .user-profile-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(216, 178, 92, 0.14), transparent 28%),
        linear-gradient(180deg, transparent 0%, rgba(11, 18, 36, 0.18) 38%, rgba(11, 18, 36, 0.78) 64%, var(--panel-bg) 86%);
    pointer-events: none;
}

.wrestler-profile-page .public-profile-layout,
.promotion-profile-page .public-profile-layout,
.team-profile-page .public-profile-layout,
.championship-profile-page .public-profile-layout,
.card-profile-page .public-profile-layout,
.event-profile-page .public-profile-layout,
.user-profile-page .public-profile-layout,
.wrestler-profile-page .public-profile-extra-facts,
.wrestler-profile-page .public-profile-inline-detail,
.team-profile-page .public-profile-inline-detail,
.wrestler-profile-page .public-profile-records,
.promotion-profile-page .public-profile-records,
.team-profile-page .public-profile-records {
    position: relative;
    z-index: 1;
}

.wrestler-profile-page .public-profile-layout,
.promotion-profile-page .public-profile-layout,
.team-profile-page .public-profile-layout,
.championship-profile-page .public-profile-layout,
.card-profile-page .public-profile-layout,
.event-profile-page .public-profile-layout,
.user-profile-page .public-profile-layout {
    column-gap: 18px;
    row-gap: 18px;
}

.promotion-profile-page .promotion-profile-layout {
    grid-template-areas:
        "image title title title title";
    align-items: center;
}

.wrestler-profile-page .public-profile-head,
.promotion-profile-page .public-profile-head,
.team-profile-page .public-profile-head,
.championship-profile-page .public-profile-head,
.card-profile-page .public-profile-head,
.event-profile-page .public-profile-head,
.user-profile-page .public-profile-head {
    align-items: flex-start;
    padding-top: 4px;
}

.promotion-profile-page .public-profile-head > div:first-child,
.team-profile-page .public-profile-head > div:first-child,
.championship-profile-page .public-profile-head > div:first-child,
.card-profile-page .public-profile-head > div:first-child,
.event-profile-page .public-profile-head > div:first-child,
.user-profile-page .public-profile-head > div:first-child {
    min-width: 0;
    max-width: 100%;
}

.card-profile-page .card-profile-layout,
.event-profile-page .event-profile-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-profile-page .card-profile-layout {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.event-profile-page .event-profile-layout {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-profile-page .card-profile-layout {
    grid-template-areas:
        "title title title title title"
        "promotion type date air-date matches"
        "venue venue event event duration";
}

.card-profile-page .card-profile-layout-no-promotions {
    grid-template-areas:
        "title title title title title"
        "type date air-date matches duration"
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-air-date {
    grid-template-areas:
        "title title title title title"
        "promotion type date matches duration"
        "venue venue event event event";
}

.card-profile-page .card-profile-layout-no-duration {
    grid-template-areas:
        "title title title title title"
        "promotion type date air-date matches"
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-duration {
    grid-template-areas:
        "title title title title title"
        "promotion type date matches ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date {
    grid-template-areas:
        "title title title title title"
        "type date matches duration ."
        "venue venue event event event";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-duration {
    grid-template-areas:
        "title title title title title"
        "type date air-date matches ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-duration {
    grid-template-areas:
        "title title title title title"
        "type date matches . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion date air-date matches duration"
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "date air-date matches duration ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion date matches duration ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-duration.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion date air-date matches ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "date matches duration . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-duration.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "date air-date matches . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-duration.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion date matches . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-duration.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "date matches . . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-single-date {
    grid-template-areas:
        "title title title title title"
        "promotion type date matches duration"
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-single-date {
    grid-template-areas:
        "title title title title title"
        "type date matches duration ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-single-date.card-profile-layout-no-duration {
    grid-template-areas:
        "title title title title title"
        "promotion type date matches ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-single-date.card-profile-layout-no-duration {
    grid-template-areas:
        "title title title title title"
        "type date matches . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-single-date.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion date matches duration ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-single-date.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "date matches duration . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-single-date.card-profile-layout-no-duration.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion date matches . ."
        "venue venue event event .";
}

.card-profile-page .card-profile-layout-no-promotions.card-profile-layout-single-date.card-profile-layout-no-duration.card-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "date matches . . ."
        "venue venue event event .";
}

.event-profile-page .event-profile-layout {
    grid-template-areas:
        "title title title title title"
        "promotion venue venue venue ."
        "type date matches . .";
}

.event-profile-page .event-profile-layout-multiple-promotions {
    grid-template-areas:
        "title title title title title"
        "promotion promotion venue venue venue"
        "type date matches . .";
}

.event-profile-page .event-profile-layout-no-promotions {
    grid-template-areas:
        "title title title title title"
        "venue venue venue . ."
        "type date matches . .";
}

.event-profile-page .event-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion venue venue venue ."
        "date matches . . .";
}

.event-profile-page .event-profile-layout-multiple-promotions.event-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "promotion promotion venue venue venue"
        "date matches . . .";
}

.event-profile-page .event-profile-layout-no-promotions.event-profile-layout-no-type {
    grid-template-areas:
        "title title title title title"
        "venue venue venue . ."
        "date matches . . .";
}

.user-profile-page .user-profile-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "title title title"
        "total ratings comments";
}

.user-profile-total-stat {
    grid-area: total;
}

.user-profile-rating-stat {
    grid-area: ratings;
}

.user-profile-comment-stat {
    grid-area: comments;
}

.card-profile-promotion-stat,
.event-profile-promotion-stat {
    grid-area: promotion;
}

.event-profile-type-stat {
    grid-area: type;
}

.card-profile-date-stat,
.event-profile-date-stat {
    grid-area: date;
}

.card-profile-air-date-stat {
    grid-area: air-date;
}

.card-profile-type-stat {
    grid-area: type;
}

.card-profile-matches-stat,
.event-profile-matches-stat {
    grid-area: matches;
}

.card-profile-duration-stat {
    grid-area: duration;
}

.card-profile-event-stat {
    grid-area: event;
}

.card-profile-venue-stat,
.event-profile-venue-stat {
    grid-area: venue;
}

@media (min-width: 901px) {
    .card-profile-page .card-profile-layout-has-event-venue.card-profile-layout-no-duration:not(.card-profile-layout-promote-venue) .card-profile-venue-stat {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .card-profile-page .card-profile-layout-has-event-venue.card-profile-layout-no-duration:not(.card-profile-layout-promote-venue) .card-profile-event-stat {
        grid-column: 3 / 6;
        grid-row: 3;
    }

    .card-profile-page .card-profile-layout-promote-venue .card-profile-venue-stat {
        grid-column: 4 / 6;
        grid-row: 2;
    }

    .card-profile-page .card-profile-layout-promote-venue .card-profile-event-stat {
        grid-column: 1 / 6;
        grid-row: 3;
    }
}

.card-profile-page .dashboard-stat,
.event-profile-page .dashboard-stat,
.user-profile-page .dashboard-stat {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 0;
}

.card-profile-page .public-profile-head,
.event-profile-page .public-profile-head,
.user-profile-page .public-profile-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.card-profile-page .public-profile-head .page-actions,
.event-profile-page .public-profile-head .page-actions,
.user-profile-page .public-profile-head .page-actions {
    flex-wrap: nowrap;
    justify-self: end;
    padding-top: 2px;
}

@media (min-width: 901px) {
    .card-profile-single-date-stat {
        grid-column: date-start / air-date-end;
    }
}

.wrestler-profile-page .public-profile-image,
.promotion-profile-page .public-profile-image,
.championship-profile-page .public-profile-image {
    border-color: rgba(216, 178, 92, 0.38);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
}

.wrestler-profile-page .public-profile-image {
    align-self: start;
    aspect-ratio: 3 / 4;
}

.wrestler-profile-page .public-profile-image img {
    object-position: center top;
}

.wrestler-profile-page .public-profile-image span,
.promotion-profile-page .public-profile-image span,
.championship-profile-page .public-profile-image span {
    color: var(--brand-gold);
}

.wrestler-profile-page .public-profile-head .page-hero-title,
.promotion-profile-page .public-profile-head .page-hero-title,
.team-profile-page .public-profile-head .page-hero-title,
.championship-profile-page .public-profile-head .page-hero-title,
.card-profile-page .public-profile-head .page-hero-title,
.event-profile-page .public-profile-head .page-hero-title,
.user-profile-page .public-profile-head .page-hero-title {
    margin-bottom: 8px;
    color: var(--brand-gold);
    font-size: clamp(2.35rem, 4.35vw, 3.95rem);
    line-height: 0.95;
    letter-spacing: 0;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.promotion-profile-page .public-profile-head .flagged-record-title {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.promotion-profile-page .promotion-profile-headquarters {
    margin-top: 10px;
    gap: 10px;
}

.promotion-profile-page .promotion-profile-headquarters > span {
    color: var(--brand-gold);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.promotion-profile-page .promotion-profile-headquarters strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 800;
    text-transform: none;
}

.promotion-profile-page .promotion-profile-headquarters a {
    display: inline-flex;
    align-items: center;
}

.wrestler-profile-page .public-profile-head .page-hero-meta,
.promotion-profile-page .public-profile-head .page-hero-meta,
.team-profile-page .public-profile-head .page-hero-meta,
.championship-profile-page .public-profile-head .page-hero-meta,
.card-profile-page .public-profile-head .page-hero-meta,
.event-profile-page .public-profile-head .page-hero-meta,
.user-profile-page .public-profile-head .page-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #d8e0ec;
    font-size: 1rem;
    font-weight: 800;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.wrestler-profile-page .page-hero-meta-divider {
    color: rgba(216, 178, 92, 0.58);
}

.wrestler-profile-page .page-hero-nationality {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.wrestler-profile-page .page-hero-nationality .country-flag {
    flex: 0 0 auto;
}

.wrestler-profile-page .public-profile-title-flag,
.promotion-profile-page .public-profile-title-flag {
    width: 30px;
    height: 30px;
    box-shadow: none;
}

.wrestler-profile-page .public-profile-head,
.wrestler-profile-page .public-profile-facts .dashboard-stat,
.wrestler-profile-page .public-profile-birthplace-stat,
.wrestler-profile-page .public-profile-image,
.promotion-profile-page .public-profile-head,
.promotion-profile-page .public-profile-facts .dashboard-stat,
.promotion-profile-page .public-profile-birthplace-stat,
.promotion-profile-page .public-profile-image,
.team-profile-page .public-profile-head,
.team-profile-page .public-profile-facts .dashboard-stat,
.team-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-inline-detail,
.championship-profile-page .public-profile-head,
.championship-profile-page .public-profile-facts .dashboard-stat,
.championship-profile-page .public-profile-birthplace-stat,
.championship-profile-page .public-profile-image,
.championship-profile-page .championship-profile-longest-reign-stat,
.card-profile-page .public-profile-head,
.card-profile-page .dashboard-stat,
.event-profile-page .public-profile-head,
.event-profile-page .dashboard-stat,
.user-profile-page .public-profile-head,
.user-profile-page .dashboard-stat {
    position: relative;
    z-index: 1;
}

.wrestler-profile-page .public-profile-head .btn,
.wrestler-profile-page .public-profile-head .btn-success,
.wrestler-profile-page .section-head .btn-secondary,
.wrestler-profile-page .section-head .btn,
.promotion-profile-page .public-profile-head .btn,
.promotion-profile-page .public-profile-head .btn-success,
.promotion-profile-page .section-head .btn-secondary,
.promotion-profile-page .section-head .btn,
.team-profile-page .public-profile-head .btn,
.team-profile-page .public-profile-head .btn-success,
.team-profile-page .section-head .btn-secondary,
.team-profile-page .section-head .btn,
.championship-profile-page .public-profile-head .btn,
.championship-profile-page .public-profile-head .btn-success,
.championship-profile-page .section-head .btn-secondary,
.championship-profile-page .section-head .btn,
.card-profile-page .public-profile-head .btn,
.card-profile-page .public-profile-head .btn-success,
.card-profile-page .section-head .btn-secondary,
.card-profile-page .section-head .btn,
.event-profile-page .public-profile-head .btn,
.event-profile-page .public-profile-head .btn-success,
.event-profile-page .section-head .btn-secondary,
.event-profile-page .section-head .btn,
.user-profile-page .public-profile-head .btn,
.user-profile-page .public-profile-head .btn-success,
.user-profile-page .section-head .btn-secondary,
.user-profile-page .section-head .btn {
    border-color: rgba(216, 178, 92, 0.34);
    color: var(--brand-gold);
}

.wrestler-profile-page .public-profile-head .btn:hover,
.wrestler-profile-page .public-profile-head .btn:focus,
.wrestler-profile-page .public-profile-head .btn-success:hover,
.wrestler-profile-page .public-profile-head .btn-success:focus,
.wrestler-profile-page .section-head .btn-secondary:hover,
.wrestler-profile-page .section-head .btn-secondary:focus,
.wrestler-profile-page .section-head .btn:hover,
.wrestler-profile-page .section-head .btn:focus,
.promotion-profile-page .public-profile-head .btn:hover,
.promotion-profile-page .public-profile-head .btn:focus,
.promotion-profile-page .public-profile-head .btn-success:hover,
.promotion-profile-page .public-profile-head .btn-success:focus,
.promotion-profile-page .section-head .btn-secondary:hover,
.promotion-profile-page .section-head .btn-secondary:focus,
.promotion-profile-page .section-head .btn:hover,
.promotion-profile-page .section-head .btn:focus,
.team-profile-page .public-profile-head .btn:hover,
.team-profile-page .public-profile-head .btn:focus,
.team-profile-page .public-profile-head .btn-success:hover,
.team-profile-page .public-profile-head .btn-success:focus,
.team-profile-page .section-head .btn-secondary:hover,
.team-profile-page .section-head .btn-secondary:focus,
.team-profile-page .section-head .btn:hover,
.team-profile-page .section-head .btn:focus,
.championship-profile-page .public-profile-head .btn:hover,
.championship-profile-page .public-profile-head .btn:focus,
.championship-profile-page .public-profile-head .btn-success:hover,
.championship-profile-page .public-profile-head .btn-success:focus,
.championship-profile-page .section-head .btn-secondary:hover,
.championship-profile-page .section-head .btn-secondary:focus,
.championship-profile-page .section-head .btn:hover,
.championship-profile-page .section-head .btn:focus,
.card-profile-page .public-profile-head .btn:hover,
.card-profile-page .public-profile-head .btn:focus,
.card-profile-page .public-profile-head .btn-success:hover,
.card-profile-page .public-profile-head .btn-success:focus,
.card-profile-page .section-head .btn-secondary:hover,
.card-profile-page .section-head .btn-secondary:focus,
.card-profile-page .section-head .btn:hover,
.card-profile-page .section-head .btn:focus,
.event-profile-page .public-profile-head .btn:hover,
.event-profile-page .public-profile-head .btn:focus,
.event-profile-page .public-profile-head .btn-success:hover,
.event-profile-page .public-profile-head .btn-success:focus,
.event-profile-page .section-head .btn-secondary:hover,
.event-profile-page .section-head .btn-secondary:focus,
.event-profile-page .section-head .btn:hover,
.event-profile-page .section-head .btn:focus,
.user-profile-page .public-profile-head .btn:hover,
.user-profile-page .public-profile-head .btn:focus,
.user-profile-page .public-profile-head .btn-success:hover,
.user-profile-page .public-profile-head .btn-success:focus,
.user-profile-page .section-head .btn-secondary:hover,
.user-profile-page .section-head .btn-secondary:focus,
.user-profile-page .section-head .btn:hover,
.user-profile-page .section-head .btn:focus {
    border-color: rgba(216, 178, 92, 0.78);
    background: rgba(216, 178, 92, 0.12);
    color: var(--brand-gold);
}

.wrestler-profile-page .public-profile-facts .dashboard-stat,
.wrestler-profile-page .public-profile-birthplace-stat,
.wrestler-profile-page .public-profile-inline-detail,
.promotion-profile-page .public-profile-facts .dashboard-stat,
.promotion-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-facts .dashboard-stat,
.team-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-inline-detail,
.championship-profile-page .public-profile-facts .dashboard-stat,
.championship-profile-page .public-profile-birthplace-stat,
.championship-profile-page .championship-profile-longest-reign-stat {
    border-color: rgba(216, 178, 92, 0.14);
    background: transparent;
}

.wrestler-profile-page .public-profile-extra-facts {
    display: grid;
    grid-template-columns: 160px repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
    margin-left: 0;
    width: 100%;
}

.wrestler-profile-page .public-profile-extra-facts .profile-inline-list-detail:nth-child(1) {
    grid-column: 1 / 3;
}

.wrestler-profile-page .public-profile-extra-facts .profile-inline-list-detail:nth-child(2) {
    grid-column: 3 / 4;
}

.wrestler-profile-page .profile-inline-list-detail {
    align-items: flex-start;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
    min-height: 0;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wrestler-profile-page .profile-inline-list-detail span {
    color: var(--brand-gold);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.wrestler-profile-page .profile-inline-list-detail strong {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.4;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
}

.wrestler-profile-page .profile-inline-list-detail strong a {
    color: inherit;
}

.wrestler-profile-page .profile-inline-list-detail strong a:hover,
.wrestler-profile-page .profile-inline-list-detail strong a:focus {
    color: var(--brand-gold);
}

.team-profile-page .public-profile-inline-detail {
    align-items: flex-start;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
    margin-top: 14px;
    margin-left: 18px;
    margin-right: 18px;
    padding: 0;
    box-shadow: none;
}

.team-profile-page .public-profile-inline-detail strong {
    line-height: 1.4;
}

@media (max-width: 900px) {
    .wrestler-profile-page .public-profile-extra-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-left: 0;
        width: 100%;
    }

    .wrestler-profile-page .public-profile-extra-facts .profile-inline-list-detail:nth-child(1),
    .wrestler-profile-page .public-profile-extra-facts .profile-inline-list-detail:nth-child(2) {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .wrestler-profile-page .public-profile-extra-facts {
        grid-template-columns: 1fr;
        margin-left: 0;
        width: 100%;
    }
}

.wrestler-profile-page .public-profile-facts .dashboard-stat,
.wrestler-profile-page .public-profile-birthplace-stat,
.promotion-profile-page .public-profile-facts .dashboard-stat,
.promotion-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-facts .dashboard-stat,
.team-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-inline-detail,
.championship-profile-page .public-profile-facts .dashboard-stat,
.championship-profile-page .public-profile-birthplace-stat,
.championship-profile-page .championship-profile-longest-reign-stat,
.card-profile-page .dashboard-stat,
.event-profile-page .dashboard-stat {
    border-radius: 0;
    border-width: 0;
    background: transparent;
    box-shadow: none;
}

.wrestler-profile-page .public-profile-facts .dashboard-stat strong,
.wrestler-profile-page .public-profile-birthplace-stat strong,
.promotion-profile-page .public-profile-facts .dashboard-stat strong,
.promotion-profile-page .public-profile-birthplace-stat strong,
.team-profile-page .public-profile-facts .dashboard-stat strong,
.team-profile-page .public-profile-birthplace-stat strong,
.team-profile-page .public-profile-inline-detail strong,
.championship-profile-page .public-profile-facts .dashboard-stat strong,
.championship-profile-page .public-profile-birthplace-stat strong,
.championship-profile-page .championship-profile-longest-reign-stat strong,
.card-profile-page .dashboard-stat strong,
.event-profile-page .dashboard-stat strong {
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
}

.wrestler-profile-page .public-profile-birthplace-stat,
.promotion-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-birthplace-stat,
.team-profile-page .public-profile-inline-detail,
.championship-profile-page .public-profile-birthplace-stat,
.championship-profile-page .championship-profile-longest-reign-stat,
.card-profile-page .public-profile-birthplace-stat,
.event-profile-page .public-profile-birthplace-stat {
    border-left: 0;
}

.wrestler-profile-page .public-profile-facts .dashboard-stat span,
.wrestler-profile-page .public-profile-birthplace-stat span,
.wrestler-profile-page .public-profile-inline-detail span,
.promotion-profile-page .public-profile-facts .dashboard-stat span,
.promotion-profile-page .public-profile-birthplace-stat span,
.team-profile-page .public-profile-facts .dashboard-stat span,
.team-profile-page .public-profile-birthplace-stat span,
.team-profile-page .public-profile-inline-detail span,
.championship-profile-page .public-profile-facts .dashboard-stat span,
.championship-profile-page .public-profile-birthplace-stat span,
.championship-profile-page .championship-profile-longest-reign-stat span,
.card-profile-page .dashboard-stat span,
.event-profile-page .dashboard-stat span {
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0;
}

.wrestler-profile-page .public-profile-facts .dashboard-stat strong,
.wrestler-profile-page .public-profile-birthplace-stat strong,
.wrestler-profile-page .public-profile-inline-detail strong,
.promotion-profile-page .public-profile-facts .dashboard-stat strong,
.promotion-profile-page .public-profile-birthplace-stat strong,
.team-profile-page .public-profile-facts .dashboard-stat strong,
.team-profile-page .public-profile-birthplace-stat strong,
.team-profile-page .public-profile-inline-detail strong,
.championship-profile-page .public-profile-facts .dashboard-stat strong,
.championship-profile-page .public-profile-birthplace-stat strong,
.championship-profile-page .championship-profile-longest-reign-stat strong,
.card-profile-page .dashboard-stat strong,
.event-profile-page .dashboard-stat strong {
    color: var(--text);
}

.wrestler-profile-page .public-profile-birthplace-stat strong,
.wrestler-profile-page .public-profile-birthplace-stat strong a,
.promotion-profile-page .public-profile-birthplace-stat strong,
.promotion-profile-page .public-profile-birthplace-stat strong a,
.team-profile-page .public-profile-birthplace-stat strong,
.team-profile-page .public-profile-birthplace-stat strong a,
.team-profile-page .public-profile-inline-detail strong,
.team-profile-page .public-profile-inline-detail strong a,
.championship-profile-page .public-profile-birthplace-stat strong,
.championship-profile-page .public-profile-birthplace-stat strong a,
.championship-profile-page .championship-profile-longest-reign-stat strong,
.championship-profile-page .championship-profile-longest-reign-stat strong a,
.card-profile-page .dashboard-stat strong,
.card-profile-page .dashboard-stat strong a,
.event-profile-page .dashboard-stat strong,
.event-profile-page .dashboard-stat strong a {
    text-transform: none;
}

.wrestler-profile-page .public-profile-birthplace-stat strong a,
.wrestler-profile-page .public-profile-inline-detail strong a,
.promotion-profile-page .public-profile-birthplace-stat strong a,
.team-profile-page .public-profile-birthplace-stat strong a,
.team-profile-page .public-profile-inline-detail strong a,
.championship-profile-page .public-profile-birthplace-stat strong a,
.championship-profile-page .championship-profile-longest-reign-stat strong a,
.card-profile-page .dashboard-stat strong a,
.event-profile-page .dashboard-stat strong a {
    color: var(--text);
}

.wrestler-profile-page .public-profile-birthplace-stat strong a:hover,
.wrestler-profile-page .public-profile-birthplace-stat strong a:focus,
.wrestler-profile-page .public-profile-inline-detail strong a:hover,
.wrestler-profile-page .public-profile-inline-detail strong a:focus,
.promotion-profile-page .public-profile-birthplace-stat strong a:hover,
.promotion-profile-page .public-profile-birthplace-stat strong a:focus,
.team-profile-page .public-profile-birthplace-stat strong a:hover,
.team-profile-page .public-profile-birthplace-stat strong a:focus,
.team-profile-page .public-profile-inline-detail strong a:hover,
.team-profile-page .public-profile-inline-detail strong a:focus,
.championship-profile-page .public-profile-birthplace-stat strong a:hover,
.championship-profile-page .public-profile-birthplace-stat strong a:focus,
.championship-profile-page .championship-profile-longest-reign-stat strong a:hover,
.championship-profile-page .championship-profile-longest-reign-stat strong a:focus,
.card-profile-page .dashboard-stat strong a:hover,
.card-profile-page .dashboard-stat strong a:focus,
.event-profile-page .dashboard-stat strong a:hover,
.event-profile-page .dashboard-stat strong a:focus {
    color: var(--brand-gold);
}

.wrestler-profile-page .public-profile-records .record-card,
.promotion-profile-page .public-profile-records .record-card,
.team-profile-page .public-profile-records .record-card {
    position: relative;
    overflow: hidden;
    border-color: transparent;
    background: transparent;
}

.wrestler-profile-page .public-profile-records,
.promotion-profile-page .public-profile-records,
.team-profile-page .public-profile-records {
    box-sizing: border-box;
    padding-right: 18px;
    padding-left: 18px;
}

.wrestler-profile-page .public-profile-records .record-card::before,
.promotion-profile-page .public-profile-records .record-card::before,
.team-profile-page .public-profile-records .record-card::before {
    content: none;
}

.wrestler-profile-page .public-profile-records .record-card:hover,
.wrestler-profile-page .public-profile-records .record-card:focus-within,
.promotion-profile-page .public-profile-records .record-card:hover,
.promotion-profile-page .public-profile-records .record-card:focus-within,
.team-profile-page .public-profile-records .record-card:hover,
.team-profile-page .public-profile-records .record-card:focus-within {
    border-color: transparent;
}

.wrestler-profile-page .wrestler-profile-match-marker,
.promotion-profile-page .promotion-profile-card-marker,
.team-profile-page .team-profile-match-marker {
    min-height: 0;
    padding: 14px 34px 12px 0;
}

.wrestler-profile-page .wrestler-profile-match-marker + .wrestler-profile-match-marker,
.promotion-profile-page .promotion-profile-card-marker + .promotion-profile-card-marker,
.team-profile-page .team-profile-match-marker + .team-profile-match-marker {
    position: relative;
    padding-left: 30px;
    border-left: 0;
}

.wrestler-profile-page .wrestler-profile-match-marker + .wrestler-profile-match-marker::after,
.promotion-profile-page .promotion-profile-card-marker + .promotion-profile-card-marker::after,
.team-profile-page .team-profile-match-marker + .team-profile-match-marker::after {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 12px;
    left: 0;
    width: 1px;
    background: rgba(155, 188, 255, 0.12);
    pointer-events: none;
}

.wrestler-profile-page .wrestler-profile-match-marker .record-title,
.promotion-profile-page .promotion-profile-card-marker .record-title,
.team-profile-page .team-profile-match-marker .record-title {
    margin-bottom: 10px;
    color: var(--brand-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.wrestler-profile-page .wrestler-profile-match-marker .record-meta,
.promotion-profile-page .promotion-profile-card-marker .record-meta,
.team-profile-page .team-profile-match-marker .record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.wrestler-profile-page .wrestler-profile-match-marker .record-meta span:first-child,
.promotion-profile-page .promotion-profile-card-marker .record-meta span:first-child,
.team-profile-page .team-profile-match-marker .record-meta span:first-child {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.wrestler-profile-page .profile-match-date,
.promotion-profile-page .profile-match-date,
.team-profile-page .profile-match-date {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.wrestler-profile-page .wrestler-profile-match-marker .record-meta span:not(:first-child),
.wrestler-profile-page .wrestler-profile-match-marker .record-meta span:not(:first-child) a,
.promotion-profile-page .promotion-profile-card-marker .record-meta span:not(:first-child),
.promotion-profile-page .promotion-profile-card-marker .record-meta span:not(:first-child) a,
.team-profile-page .team-profile-match-marker .record-meta span:not(:first-child),
.team-profile-page .team-profile-match-marker .record-meta span:not(:first-child) a {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
}

.wrestler-profile-page .profile-match-card-name,
.wrestler-profile-page .profile-match-card-name a,
.promotion-profile-page .profile-match-card-name,
.promotion-profile-page .profile-match-card-name a,
.team-profile-page .profile-match-card-name,
.team-profile-page .profile-match-card-name a {
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 800;
}

.wrestler-profile-page .wrestler-profile-match-marker .record-meta span:not(:first-child) a:hover,
.wrestler-profile-page .wrestler-profile-match-marker .record-meta span:not(:first-child) a:focus,
.wrestler-profile-page .profile-match-card-name a:hover,
.wrestler-profile-page .profile-match-card-name a:focus,
.promotion-profile-page .promotion-profile-card-marker .record-meta span:not(:first-child) a:hover,
.promotion-profile-page .promotion-profile-card-marker .record-meta span:not(:first-child) a:focus,
.promotion-profile-page .profile-match-card-name a:hover,
.promotion-profile-page .profile-match-card-name a:focus,
.team-profile-page .team-profile-match-marker .record-meta span:not(:first-child) a:hover,
.team-profile-page .team-profile-match-marker .record-meta span:not(:first-child) a:focus,
.team-profile-page .profile-match-card-name a:hover,
.team-profile-page .profile-match-card-name a:focus {
    color: var(--brand-gold);
}

.wrestler-profile-page .public-profile-records .record-title,
.promotion-profile-page .public-profile-records .record-title,
.team-profile-page .public-profile-records .record-title,
.wrestler-profile-page .section-title,
.promotion-profile-page .section-title,
.team-profile-page .section-title,
.championship-profile-page .section-title,
.card-profile-page .section-title,
.event-profile-page .section-title {
    color: var(--brand-gold);
}

.wrestler-profile-page .public-profile-records .record-meta {
    color: #d8e0ec;
}

.wrestler-profile-page > .container > .panel:not(.wrestler-profile-panel),
.wrestler-profile-page main.container > .panel:not(.wrestler-profile-panel),
.promotion-profile-page > .container > .panel:not(.promotion-profile-panel),
.promotion-profile-page main.container > .panel:not(.promotion-profile-panel),
.team-profile-page > .container > .panel:not(.team-profile-panel),
.team-profile-page main.container > .panel:not(.team-profile-panel),
.championship-profile-page > .container > .panel:not(.championship-profile-panel),
.championship-profile-page main.container > .panel:not(.championship-profile-panel),
.card-profile-page > .container > .panel:not(.card-profile-panel),
.card-profile-page main.container > .panel:not(.card-profile-panel),
.event-profile-page > .container > .panel:not(.event-profile-panel),
.event-profile-page main.container > .panel:not(.event-profile-panel) {
    border-color: rgba(216, 178, 92, 0.16);
}

.wrestler-profile-page .recent-match-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(155, 188, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(155, 188, 255, 0.05), rgba(155, 188, 255, 0.015)),
        transparent;
}

.card-profile-page .event-match-card,
.event-profile-page .event-match-card,
.event-profile-page .record-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(155, 188, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(155, 188, 255, 0.05), rgba(155, 188, 255, 0.015)),
        transparent;
}

.card-profile-page .event-match-list,
.event-profile-page .event-match-list {
    gap: 10px;
}

.card-profile-page .event-match-card,
.event-profile-page .event-match-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 76px;
    padding: 0;
}

.card-profile-page .event-match-card::before,
.event-profile-page .event-match-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: rgba(216, 178, 92, 0.42);
    opacity: 0;
    transition: opacity 160ms ease;
}

.card-profile-page .event-match-number,
.event-profile-page .event-match-number {
    align-items: stretch;
    justify-content: center;
    border-right: 1px solid rgba(155, 188, 255, 0.12);
    background: rgba(7, 12, 25, 0.18);
}

.card-profile-page .event-match-number .recent-match-card-name,
.event-profile-page .event-match-number .recent-match-card-name {
    display: grid;
    place-items: center;
    width: 100%;
    color: #d8e0ec;
    font-size: 0.9rem;
    font-weight: 800;
}

.card-profile-page .event-match-result.recent-match-result,
.event-profile-page .event-match-result.recent-match-result {
    min-height: 0;
    padding: 16px 20px;
    border-left: 0;
}

.card-profile-page .recent-match-championship,
.event-profile-page .recent-match-championship {
    color: var(--brand-gold);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
}

.card-profile-page .recent-match-summary,
.event-profile-page .recent-match-summary {
    color: #d8e0ec;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.card-profile-page .recent-match-summary span,
.event-profile-page .recent-match-summary span {
    color: var(--brand-gold);
}

.card-profile-page .event-match-card:hover,
.card-profile-page .event-match-card:focus-within,
.event-profile-page .event-match-card:hover,
.event-profile-page .event-match-card:focus-within,
.event-profile-page .record-card:hover,
.event-profile-page .record-card:focus-within {
    border-color: rgba(216, 178, 92, 0.38);
    background:
        linear-gradient(90deg, rgba(216, 178, 92, 0.075), rgba(155, 188, 255, 0.02)),
        transparent;
}

.card-profile-page .event-match-card:hover::before,
.card-profile-page .event-match-card:focus-within::before,
.event-profile-page .event-match-card:hover::before,
.event-profile-page .event-match-card:focus-within::before {
    opacity: 1;
}

.event-profile-page .event-card-record {
    align-items: stretch;
    min-height: 94px;
    padding: 0;
}

.event-profile-page .event-card-record::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.event-profile-page .event-card-record:hover::before,
.event-profile-page .event-card-record:focus-within::before {
    opacity: 1;
}

.event-profile-page .event-card-record .record-main {
    display: grid;
    align-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 22px;
}

.event-profile-page .event-card-record .record-title {
    margin: 0;
    color: #d8e0ec;
    font-size: 1rem;
    line-height: 1.25;
}

.event-profile-page .event-card-record .record-title a {
    color: inherit;
}

.event-profile-page .event-card-record .record-title a:hover,
.event-profile-page .event-card-record .record-title a:focus {
    color: var(--brand-gold);
}

.event-profile-page .event-card-record .record-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.event-profile-page .event-card-record .record-meta > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #9eb0c9;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
}

.event-profile-page .event-card-record .record-meta > span + span {
    padding-left: 14px;
}

.event-profile-page .event-card-record .record-meta > span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(216, 178, 92, 0.72);
    transform: translateY(-50%);
}

.event-profile-page .event-card-record .record-meta > span:last-child {
    color: var(--brand-gold);
}

.event-profile-page .event-card-record .venue-display,
.event-profile-page .event-card-record .venue-display span {
    color: inherit;
    font: inherit;
}

@media (max-width: 640px) {
    .event-profile-page .event-card-record {
        min-height: 0;
    }

    .event-profile-page .event-card-record .record-main {
        padding: 16px 18px;
    }

    .event-profile-page .event-card-record .record-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 10px;
    }

    .event-profile-page .event-card-record .record-meta > span,
    .event-profile-page .event-card-record .record-meta > span:nth-child(2n) {
        display: inline-flex;
    }
}

.promotion-profile-page .recent-match-card,
.promotion-profile-page #names .record-card,
.promotion-profile-page #championships .record-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(155, 188, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(155, 188, 255, 0.05), rgba(155, 188, 255, 0.015)),
        transparent;
}

.promotion-profile-page .recent-match-card:hover,
.promotion-profile-page .recent-match-card:focus-within,
.promotion-profile-page #names .record-card:hover,
.promotion-profile-page #names .record-card:focus-within,
.promotion-profile-page #championships .record-card:hover,
.promotion-profile-page #championships .record-card:focus-within {
    border-color: rgba(216, 178, 92, 0.38);
    background:
        linear-gradient(90deg, rgba(216, 178, 92, 0.075), rgba(155, 188, 255, 0.02)),
        transparent;
}

.promotion-profile-page .recent-match-card::before,
.promotion-profile-page #names .record-card::before,
.promotion-profile-page #championships .record-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.promotion-profile-page .recent-match-card:hover::before,
.promotion-profile-page .recent-match-card:focus-within::before,
.promotion-profile-page #names .record-card:hover::before,
.promotion-profile-page #names .record-card:focus-within::before,
.promotion-profile-page #championships .record-card:hover::before,
.promotion-profile-page #championships .record-card:focus-within::before {
    opacity: 1;
}

.promotion-profile-page :is(#cards, #names, #championships) {
    border-color: rgba(155, 188, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(155, 188, 255, 0.035), rgba(155, 188, 255, 0.01)),
        var(--panel-bg);
}

.promotion-profile-page :is(#cards, #names, #championships) .section-head,
.card-profile-page .panel:not(.card-profile-panel) .section-head,
.event-profile-page .panel:not(.event-profile-panel) .section-head {
    border-bottom-color: rgba(155, 188, 255, 0.14);
}

.community-page .panel:not(.user-profile-panel),
.user-profile-page > .container > .panel:not(.user-profile-panel),
.user-profile-page main.container > .panel:not(.user-profile-panel) {
    border-color: rgba(216, 178, 92, 0.16);
}

.community-page .section-head {
    border-bottom-color: rgba(155, 188, 255, 0.14);
}

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

.community-member-card {
    align-items: center;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.community-avatar {
    display: grid;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(216, 178, 92, 0.38);
    border-radius: 999px;
    background: rgba(216, 178, 92, 0.12);
    color: var(--brand-gold);
    font-size: 1.45rem;
    font-weight: 800;
}

.community-coming-grid .dashboard-card {
    min-height: 150px;
}

.user-contribution-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promotion-profile-page #names .record-list,
.promotion-profile-page #championships .record-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 14px;
}

.promotion-profile-page #names .record-card,
.promotion-profile-page #championships .record-card {
    display: flex;
    align-items: stretch;
    min-height: 116px;
    padding: 22px 24px;
}

.promotion-profile-page #names .record-main,
.promotion-profile-page #championships .record-main {
    display: grid;
    align-content: center;
    gap: 12px;
    width: 100%;
}

.promotion-profile-page #names .record-title,
.promotion-profile-page #championships .record-title {
    margin: 0;
    color: var(--text);
    font-size: 1.06rem;
    line-height: 1.3;
}

.promotion-profile-page #names .record-title a,
.promotion-profile-page #championships .record-title a {
    color: var(--text);
}

.promotion-profile-page #names .record-title a:hover,
.promotion-profile-page #names .record-title a:focus,
.promotion-profile-page #championships .record-title a:hover,
.promotion-profile-page #championships .record-title a:focus {
    color: var(--brand-gold);
}

.promotion-profile-page #names .record-meta,
.promotion-profile-page #championships .record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #d8e0ec;
}

.promotion-profile-page #names .record-meta span,
.promotion-profile-page #championships .record-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(155, 188, 255, 0.14);
    border-radius: 999px;
    background: rgba(155, 188, 255, 0.045);
    color: #d8e0ec;
    font-size: 0.78rem;
    font-weight: 800;
}

.promotion-profile-page #names .record-meta .promotion-name-short {
    border-color: rgba(216, 178, 92, 0.28);
    background: rgba(216, 178, 92, 0.08);
    color: var(--brand-gold);
}

.promotion-profile-page .recent-match-event {
    padding-right: 22px;
    border-right: 1px solid rgba(155, 188, 255, 0.12);
}

.promotion-profile-page .recent-match-result {
    padding-left: 0;
    border-left: 0;
}

.promotion-profile-page .recent-match-date,
.promotion-profile-page .recent-match-card-name,
.promotion-profile-page .recent-match-card-name a {
    color: #d8e0ec;
    font-size: 0.95rem;
}

.promotion-profile-page .recent-match-card-name a:hover,
.promotion-profile-page .recent-match-card-name a:focus {
    color: var(--brand-gold);
}

.promotion-profile-page .recent-match-summary,
.promotion-profile-page .recent-match-summary a,
.promotion-profile-page .recent-match-championship,
.promotion-profile-page .recent-match-championship a {
    color: #d8e0ec;
}

.promotion-profile-page .recent-match-result {
    gap: 6px;
}

.promotion-profile-page .recent-match-championship {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.promotion-profile-page .recent-match-championship .recent-match-context-label {
    display: block;
    margin-bottom: 2px;
    color: var(--brand-gold);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.promotion-profile-page .recent-match-championship .recent-match-versus,
.promotion-profile-page .recent-match-championship .recent-match-main-event-separator {
    color: var(--brand-gold);
}

.promotion-profile-page .recent-match-summary,
.promotion-profile-page .recent-match-summary a {
    color: #9aa9c0;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}

.promotion-profile-page .recent-match-summary a:hover,
.promotion-profile-page .recent-match-summary a:focus,
.promotion-profile-page .recent-match-championship a:hover,
.promotion-profile-page .recent-match-championship a:focus {
    color: var(--brand-gold);
}

.wrestler-profile-page .recent-match-card:hover,
.wrestler-profile-page .recent-match-card:focus-within {
    border-color: rgba(216, 178, 92, 0.38);
    background:
        linear-gradient(90deg, rgba(216, 178, 92, 0.075), rgba(155, 188, 255, 0.02)),
        transparent;
}

.wrestler-profile-page .recent-match-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.wrestler-profile-page .recent-match-card:hover::before,
.wrestler-profile-page .recent-match-card:focus-within::before {
    opacity: 1;
}

.wrestler-profile-page #matches {
    border-color: rgba(155, 188, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(155, 188, 255, 0.035), rgba(155, 188, 255, 0.01)),
        var(--panel-bg);
}

.wrestler-profile-page #matches .section-head {
    border-bottom-color: rgba(155, 188, 255, 0.14);
}

.wrestler-profile-page .recent-match-date,
.wrestler-profile-page .recent-match-card-name,
.wrestler-profile-page .recent-match-card-name a {
    color: #d8e0ec;
    font-size: 0.95rem;
}

.wrestler-profile-page .recent-match-card-name a:hover,
.wrestler-profile-page .recent-match-card-name a:focus {
    color: var(--brand-gold);
}

.wrestler-profile-page .recent-match-event {
    padding-right: 22px;
    border-right: 1px solid rgba(155, 188, 255, 0.12);
}

.wrestler-profile-page .recent-match-result {
    padding-left: 0;
    border-left: 0;
}

.wrestler-profile-page .recent-match-date {
    color: #d8e0ec;
    font-weight: 700;
}

.wrestler-profile-page .recent-match-summary {
    color: var(--brand-gold);
    font-size: 0.95rem;
}

.wrestler-profile-page .recent-match-summary a {
    color: #d8e0ec;
    font-size: 0.95rem;
}

.wrestler-profile-page .recent-match-summary a:hover,
.wrestler-profile-page .recent-match-summary a:focus {
    color: var(--brand-gold);
}

.card-profile-page .recent-match-card-name,
.card-profile-page .recent-match-card-name a,
.event-profile-page .recent-match-card-name,
.event-profile-page .recent-match-card-name a {
    color: #d8e0ec;
}

.card-profile-page .recent-match-card-name a:hover,
.card-profile-page .recent-match-card-name a:focus,
.event-profile-page .recent-match-card-name a:hover,
.event-profile-page .recent-match-card-name a:focus {
    color: var(--brand-gold);
}

.card-profile-page .recent-match-summary,
.card-profile-page .recent-match-summary a,
.event-profile-page .recent-match-summary,
.event-profile-page .recent-match-summary a {
    color: #d8e0ec;
}

.card-profile-page .recent-match-summary a:hover,
.card-profile-page .recent-match-summary a:focus,
.event-profile-page .recent-match-summary a:hover,
.event-profile-page .recent-match-summary a:focus {
    color: var(--brand-gold);
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) {
    border-color: rgba(155, 188, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(155, 188, 255, 0.035), rgba(155, 188, 255, 0.01)),
        var(--panel-bg);
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .section-head {
    border-bottom-color: rgba(155, 188, 255, 0.14);
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-list {
    gap: 12px;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-card {
    position: relative;
    overflow: hidden;
    align-items: center;
    min-height: 76px;
    padding: 18px 22px;
    border-color: rgba(155, 188, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(155, 188, 255, 0.05), rgba(155, 188, 255, 0.015)),
        transparent;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-main {
    display: flex;
    align-items: center;
    min-height: 40px;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-card:hover,
.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-card:focus-within {
    border-color: rgba(216, 178, 92, 0.38);
    background:
        linear-gradient(90deg, rgba(216, 178, 92, 0.075), rgba(155, 188, 255, 0.02)),
        transparent;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-card:hover::before,
.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-card:focus-within::before {
    opacity: 1;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-title {
    margin-bottom: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-title a {
    color: var(--text);
}

.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-title a:hover,
.wrestler-profile-page :is(#championships, #accomplishments, #tag-teams, #stables) .record-title a:focus {
    color: var(--brand-gold);
}

.wrestler-profile-page #accomplishments .record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.wrestler-profile-page #accomplishments .record-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(155, 188, 255, 0.14);
    border-radius: 999px;
    background: rgba(155, 188, 255, 0.045);
    color: #d8e0ec;
    font-size: 0.78rem;
    font-weight: 800;
}

.wrestler-profile-page .wrestler-general-stats {
    gap: 14px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* Public listing pages */
.public-list-hero {
    border-color: rgba(216, 178, 92, 0.22);
    background:
        linear-gradient(135deg, rgba(216, 178, 92, 0.10), rgba(155, 188, 255, 0.04)),
        var(--panel-bg);
}

.wrestlers-page .container,
.promotions-page .container,
.groups-page .container,
.championships-page .container {
    padding-top: 0;
}

.wrestlers-page .public-list-hero,
.promotions-page .public-list-hero,
.groups-page .public-list-hero,
.championships-page .public-list-hero {
    width: 100vw;
    min-height: 260px;
    display: flex;
    align-items: center;
    margin-left: calc(50% - 50vw);
    margin-bottom: 32px;
    padding: 46px max(16px, calc((100vw - 1240px) / 2 + 16px));
    border-color: var(--border);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(216, 178, 92, 0.14), transparent 28%),
        linear-gradient(90deg, rgba(7, 12, 25, 0.92) 0%, rgba(7, 12, 25, 0.72) 45%, rgba(7, 12, 25, 0.38) 100%),
        linear-gradient(180deg, rgba(7, 12, 25, 0.04) 0%, rgba(8, 14, 29, 0.46) 48%, var(--panel-bg) 100%),
        url("../img/home-hero-arena.png") center / cover no-repeat;
}

.wrestlers-page .public-list-hero > div,
.promotions-page .public-list-hero > div,
.groups-page .public-list-hero > div,
.championships-page .public-list-hero > div {
    width: min(1120px, 100%);
    max-width: none;
}

.wrestlers-page .public-list-hero .page-hero-title,
.promotions-page .public-list-hero .page-hero-title,
.groups-page .public-list-hero .page-hero-title,
.championships-page .public-list-hero .page-hero-title {
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    line-height: 0.95;
}

.groups-page .public-list-hero {
    align-content: center;
    flex-wrap: wrap;
}

.groups-page .public-list-hero .page-actions {
    width: min(1120px, 100%);
    justify-content: flex-start;
    margin-top: -12px;
}

.public-list-hero-search {
    max-width: 1120px;
    margin: 26px 0 0;
}

.public-list-hero-search .search-form-row {
    min-height: 72px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(11, 18, 36, 0.84);
    backdrop-filter: blur(8px);
}

.public-list-hero-search .search-form-row input {
    min-height: 70px;
}

.wrestler-list-panel > .section-head,
.promotion-list-panel > .section-head,
.group-list-panel > .section-head,
.championship-list-panel > .section-head {
    margin: 0;
    padding: 0;
    border: 0;
}

.public-list-hero .page-hero-title,
.public-list-panel .section-title {
    color: var(--brand-gold);
}

.public-list-hero .page-hero-meta {
    max-width: 760px;
    color: #d8e0ec;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.public-list-panel {
    border-color: var(--border);
}

.public-list-count {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(216, 178, 92, 0.28);
    border-radius: 999px;
    background: rgba(216, 178, 92, 0.08);
    color: var(--text);
    font-weight: 800;
}

.public-list-count strong {
    color: var(--brand-gold);
    font-size: 1.25rem;
    line-height: 1;
}

.public-list-count span {
    color: #d8e0ec;
}

.public-list-search {
    margin-bottom: 24px;
}

.public-list-search .search-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    margin-top: 6px;
    padding-right: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #081225;
    overflow: hidden;
}

.public-list-search .search-form-row:focus-within {
    border-color: rgba(216, 178, 92, 0.62);
    box-shadow: 0 0 0 2px rgba(216, 178, 92, 0.10);
}

.public-list-search .search-form-row input {
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
    max-width: none;
    min-height: 66px;
    padding: 18px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.public-list-search .search-form-row input:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.public-list-search .search-form-row input[type="search"]::-webkit-search-cancel-button {
    display: none;
    appearance: none;
}

.public-list-search .btn-secondary {
    min-width: 94px;
    border-color: rgba(216, 178, 92, 0.34);
    color: var(--brand-gold);
}

.public-list-search .btn-secondary:hover,
.public-list-search .btn-secondary:focus {
    border-color: rgba(216, 178, 92, 0.72);
    background: rgba(216, 178, 92, 0.12);
    color: var(--brand-gold);
}

.public-list-pagination {
    margin-top: 28px;
}

.public-list-pagination .pagination-status {
    color: #d8e0ec;
}

.public-list-pagination .btn-secondary {
    border-color: rgba(216, 178, 92, 0.34);
    color: var(--brand-gold);
}

.public-list-pagination .btn-secondary:hover,
.public-list-pagination .btn-secondary:focus {
    border-color: rgba(216, 178, 92, 0.72);
    background: rgba(216, 178, 92, 0.12);
    color: var(--brand-gold);
}

.public-list-record {
    position: relative;
    overflow: hidden;
    border-color: var(--border);
}

.public-list-record::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.public-list-record:hover,
.public-list-record:focus-within {
    border-color: rgba(216, 178, 92, 0.52);
}

.public-list-record:hover::before,
.public-list-record:focus-within::before {
    opacity: 1;
}

.public-list-record .record-title a {
    color: var(--text);
}

.public-list-record .record-title a:hover,
.public-list-record .record-title a:focus {
    color: var(--brand-gold);
}

.public-list-record .record-meta {
    color: #c8d2e2;
}

.public-list-record .record-meta a {
    color: #e6edf7;
}

.public-list-record .record-meta a:hover,
.public-list-record .record-meta a:focus {
    color: var(--brand-gold);
}

.wrestler-list-record {
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.55fr);
    gap: 28px;
    align-items: center;
    justify-content: stretch;
    min-height: 118px;
    padding: 24px 28px;
    color: var(--text);
}

.wrestler-list-record:hover,
.wrestler-list-record:focus {
    color: var(--text);
    opacity: 1;
}

.wrestler-list-record .record-main {
    min-width: 0;
}

.wrestler-list-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.wrestler-list-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border: 1px solid rgba(216, 178, 92, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(216, 178, 92, 0.12), rgba(155, 188, 255, 0.06)),
        #081225;
    color: var(--brand-gold);
    font-size: 1.45rem;
    font-weight: 800;
}

.wrestler-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrestler-list-record .wrestler-record-title {
    display: flex;
    font-size: 1.2rem;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
}

.wrestler-list-record:hover .wrestler-record-title,
.wrestler-list-record:focus .wrestler-record-title {
    color: var(--brand-gold);
}

.wrestler-list-record .wrestler-record-title > a:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrestler-list-record .country-flag {
    width: 24px;
    height: 16px;
}

.wrestler-list-facts {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1.35fr) minmax(0, 0.85fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
}

.wrestler-list-facts .record-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding-left: 14px;
    border-left: 1px solid rgba(216, 178, 92, 0.18);
}

.wrestler-list-facts .record-meta > span {
    color: var(--brand-gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.wrestler-list-facts .record-meta strong {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.wrestler-list-born {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.wrestler-list-born span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: none;
}

.promotion-list-record {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: center;
    justify-content: stretch;
    min-height: 118px;
    padding: 24px 28px;
    color: var(--text);
}

.promotion-list-record:hover,
.promotion-list-record:focus {
    color: var(--text);
    opacity: 1;
}

.promotion-list-record .record-main {
    min-width: 0;
}

.promotion-list-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.promotion-list-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid rgba(216, 178, 92, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(216, 178, 92, 0.12), rgba(155, 188, 255, 0.06)),
        #081225;
    color: var(--brand-gold);
    font-size: 1.55rem;
    font-weight: 800;
}

.promotion-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-list-name {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.promotion-list-record .promotion-record-title {
    display: block;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promotion-list-record:hover .promotion-record-title,
.promotion-list-record:focus .promotion-record-title {
    color: var(--brand-gold);
}

.promotion-list-facts {
    display: grid;
    grid-template-columns: minmax(120px, 0.48fr) minmax(260px, 1fr);
    gap: 14px;
    align-items: stretch;
    justify-content: end;
    width: 100%;
}

.promotion-list-facts .record-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    max-width: 520px;
    margin: 0;
    padding-left: 14px;
    border-left: 1px solid rgba(216, 178, 92, 0.18);
}

.promotion-list-facts .record-meta > span {
    color: var(--brand-gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.promotion-list-facts .record-meta strong {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.promotion-list-headquarters {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.promotion-list-headquarters span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-list-record,
.championship-list-record {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: center;
    justify-content: stretch;
    min-height: 118px;
    padding: 24px 28px;
    color: var(--text);
}

.group-list-record:hover,
.group-list-record:focus,
.championship-list-record:hover,
.championship-list-record:focus {
    color: var(--text);
    opacity: 1;
}

.group-list-record .record-main,
.championship-list-record .record-main {
    min-width: 0;
}

.group-list-identity,
.championship-list-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.group-list-avatar,
.championship-list-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(216, 178, 92, 0.34);
    border-radius: 8px;
    background: rgba(216, 178, 92, 0.08);
    color: var(--brand-gold);
    font-size: 1.55rem;
    font-weight: 800;
}

.group-record-title,
.championship-record-title {
    display: block;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-list-record:hover .group-record-title,
.group-list-record:focus .group-record-title,
.championship-list-record:hover .championship-record-title,
.championship-list-record:focus .championship-record-title {
    color: var(--brand-gold);
}

.championship-list-name {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.championship-list-subtitle {
    overflow: hidden;
    color: #9aa9c0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-list-facts,
.championship-list-facts {
    display: grid;
    grid-template-columns: minmax(120px, 0.48fr) minmax(260px, 1fr);
    gap: 14px;
    align-items: stretch;
    justify-content: end;
    width: 100%;
}

.championship-list-facts {
    grid-template-columns: minmax(110px, 0.42fr) minmax(220px, 0.8fr) minmax(180px, 0.72fr);
}

.group-list-facts .record-meta,
.championship-list-facts .record-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    max-width: 520px;
    margin: 0;
    padding-left: 14px;
    border-left: 1px solid rgba(216, 178, 92, 0.18);
}

.group-list-facts .record-meta > span,
.championship-list-facts .record-meta > span {
    color: var(--brand-gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.group-list-facts .record-meta strong,
.championship-list-facts .record-meta strong {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
}

@media (max-width: 980px) {
    .wrestler-list-record,
    .wrestler-list-facts,
    .promotion-list-record,
    .promotion-list-facts,
    .group-list-record,
    .group-list-facts,
    .championship-list-record,
    .championship-list-facts {
        grid-template-columns: 1fr;
    }

    .wrestler-list-facts .record-meta,
    .promotion-list-facts .record-meta,
    .group-list-facts .record-meta,
    .championship-list-facts .record-meta {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(216, 178, 92, 0.14);
        padding-top: 10px;
    }

    .promotion-list-facts .record-meta,
    .group-list-facts .record-meta,
    .championship-list-facts .record-meta {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .wrestler-list-record,
    .promotion-list-record,
    .group-list-record,
    .championship-list-record {
        grid-template-columns: 1fr;
        min-height: 88px;
        padding: 18px;
    }

    .wrestler-list-facts,
    .promotion-list-facts,
    .group-list-facts,
    .championship-list-facts {
        display: none;
    }
}

.recent-match-card-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--text);
    font-weight: 800;
}

.recent-match-card-name a {
    color: inherit;
    text-decoration: none;
}

.championship-reign-card {
    grid-template-columns: minmax(420px, 0.36fr) minmax(0, 1fr);
}

.championship-reign-card .recent-match-card-name {
    display: block;
    line-height: 1.45;
}

.championship-reign-card .recent-match-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.champion-marker {
    display: inline;
    margin-left: 2px;
    color: var(--brand-gold);
    font-size: 0.95em;
    font-weight: 800;
    line-height: inherit;
    white-space: nowrap;
}

.championship-partner-muted,
.partner-muted {
    color: var(--muted);
}

.championship-reign-champion,
.championship-reign-members,
.championship-reign-member-link,
.championship-reign-group-link,
.championship-reign-separator {
    display: inline;
}

.championship-reign-members {
    white-space: normal;
    color: var(--muted);
}

.championship-reign-separator {
    color: var(--muted);
    margin: 0 2px;
}

.championship-reign-members a {
    color: var(--text);
}

.recent-match-result {
    display: grid;
    align-content: center;
    gap: 8px;
    min-height: 56px;
    padding-left: 22px;
    border-left: 1px solid var(--border);
}

.recent-match-summary {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .public-profile-layout {
        grid-template-columns: 140px repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "image title title"
            "image status gender"
            "birthplace birthplace height"
            "weight born age"
            "debut debut debut";
        gap: 12px;
    }

    .promotion-profile-page .promotion-profile-layout {
        grid-template-areas:
            "image title title";
    }

    .public-profile-layout.no-profile-image {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "title title"
            "birthplace status"
            "gender height"
            "weight born"
            "age debut";
    }

    .public-profile-layout.location-profile-layout {
        grid-template-areas:
            "title title"
            "status gender"
            "height weight";
    }

    .championship-profile-layout {
        grid-template-areas:
            "image title title"
            "image status gender"
            "height height height"
            "birthplace active-years weight";
    }

    .championship-profile-layout.is-inactive-championship {
        grid-template-columns: 140px repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "image title title title title"
            "image status gender active-years active-years"
            "height height height weight weight";
    }

    .public-profile-records {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promotion-active-years-stat {
        grid-column: born-start / age-end;
        grid-row: born-start / born-end;
    }

    .promotion-matches-stat {
        grid-area: debut;
    }

    .card-profile-page .card-profile-layout,
    .event-profile-page .event-profile-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-profile-page .card-profile-layout {
        grid-template-areas:
            "title title"
            "promotion type"
            "date air-date"
            "matches duration"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-promotions {
        grid-template-areas:
            "title title"
            "type date"
            "air-date matches"
            "duration duration"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-air-date {
        grid-template-areas:
            "title title"
            "promotion type"
            "date matches"
            "duration duration"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-type {
        grid-template-areas:
            "title title"
            "promotion date"
            "air-date matches"
            "venue venue"
            "event duration";
    }

    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-type {
        grid-template-areas:
            "title title"
            "date air-date"
            "matches duration"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-duration {
        grid-template-areas:
            "title title"
            "promotion type"
            "date air-date"
            "matches matches"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-duration {
        grid-template-areas:
            "title title"
            "promotion type"
            "date matches"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-duration,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-duration {
        grid-template-areas:
            "title title"
            "type date"
            "matches matches"
            "venue venue"
            "event event";
    }

    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-duration.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-duration.card-profile-layout-no-type {
        grid-template-areas:
            "title title"
            "date matches"
            "venue venue"
            "event event";
    }

    .event-profile-page .event-profile-layout {
        grid-template-areas:
            "title title"
            "promotion type"
            "date matches"
            "venue venue";
    }

    .event-profile-page .event-profile-layout-no-promotions {
        grid-template-areas:
            "title title"
            "type date"
            "matches matches"
            "venue venue";
    }

    .event-profile-page .event-profile-layout-no-type {
        grid-template-areas:
            "title title"
            "promotion date"
            "matches matches"
            "venue venue";
    }

    .event-profile-page .event-profile-layout-no-promotions.event-profile-layout-no-type {
        grid-template-areas:
            "title title"
            "date matches"
            "venue venue";
    }

    .user-profile-page .user-profile-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "title title"
            "total ratings"
            "comments comments";
    }

    .recent-match-card {
        grid-template-columns: 1fr;
    }

    .wrestler-profile-page .recent-match-event {
        padding-right: 0;
        padding-bottom: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(155, 188, 255, 0.12);
    }

    .event-match-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .event-match-result.recent-match-result {
        padding-left: 16px;
        padding-top: 0;
        border-left: 1px solid var(--border);
        border-top: 0;
    }

    .recent-match-result {
        padding-left: 0;
        padding-top: 16px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .dashboard-stats,
    .detail-strip,
    .event-detail-strip,
    .card-detail-grid,
    .dashboard-card-grid,
    .community-stats,
    .user-contribution-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-strip {
        column-gap: 0;
        row-gap: 0;
    }

    .detail-strip-item {
        padding: 14px 18px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .detail-strip-item:nth-child(1),
    .detail-strip-item:nth-child(2) {
        border-top: 0;
    }

    .detail-strip-item:nth-child(odd) {
        padding-left: 0;
    }

    .detail-strip-item:nth-child(even) {
        border-left: 1px solid var(--border);
    }

    .card-detail-span-2,
    .card-detail-span-3,
    .card-detail-span-4,
    .detail-strip-item-wide,
    .detail-strip-item-full {
        grid-column: span 1;
    }

    .dashboard-jump {
        grid-template-columns: 1fr;
    }

    .dashboard-jump-links {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .public-profile-panel {
        padding: 18px;
    }

    .public-profile-layout,
    .public-profile-records {
        grid-template-columns: 1fr;
    }

    .wrestler-profile-page .wrestler-profile-match-marker,
    .promotion-profile-page .promotion-profile-card-marker,
    .team-profile-page .team-profile-match-marker {
        padding: 0;
    }

    .wrestler-profile-page .wrestler-profile-match-marker + .wrestler-profile-match-marker,
    .promotion-profile-page .promotion-profile-card-marker + .promotion-profile-card-marker,
    .team-profile-page .team-profile-match-marker + .team-profile-match-marker {
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid rgba(216, 178, 92, 0.16);
    }

    .wrestler-profile-page .wrestler-profile-match-marker + .wrestler-profile-match-marker::after,
    .promotion-profile-page .promotion-profile-card-marker + .promotion-profile-card-marker::after,
    .team-profile-page .team-profile-match-marker + .team-profile-match-marker::after {
        content: none;
    }

    .public-profile-layout {
        grid-template-areas:
            "image"
            "title"
            "birthplace"
            "status"
            "gender"
            "height"
            "weight"
            "born"
            "age"
            "debut";
    }

    .promotion-profile-page .promotion-profile-layout {
        grid-template-areas:
            "image"
            "title";
    }

    .public-profile-layout.no-profile-image {
        grid-template-areas:
            "title"
            "birthplace"
            "status"
            "gender"
            "height"
            "weight"
            "born"
            "age"
            "debut";
    }

    .public-profile-layout.location-profile-layout {
        grid-template-areas:
            "title"
            "status"
            "gender"
            "height"
            "weight";
    }

    .championship-profile-layout {
        grid-template-areas:
            "image"
            "title"
            "status"
            "gender"
            "height"
            "birthplace"
            "active-years"
            "weight";
    }

    .championship-profile-layout.is-inactive-championship {
        grid-template-areas:
            "image"
            "title"
            "status"
            "gender"
            "active-years"
            "height"
            "weight";
    }

    .public-profile-image {
        max-width: 210px;
    }

    .public-profile-head .page-actions,
    .public-profile-head .btn {
        width: 100%;
    }

    .promotion-active-years-stat {
        grid-area: born;
    }

    .promotion-matches-stat {
        grid-area: age;
    }

    .card-profile-page .card-profile-layout,
    .event-profile-page .event-profile-layout {
        grid-template-areas:
            "title"
            "promotion"
            "type"
            "date"
            "air-date"
            "matches"
            "duration"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-promotions {
        grid-template-areas:
            "title"
            "type"
            "date"
            "air-date"
            "matches"
            "duration"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-air-date {
        grid-template-areas:
            "title"
            "promotion"
            "type"
            "date"
            "matches"
            "duration"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-duration {
        grid-template-areas:
            "title"
            "promotion"
            "type"
            "date"
            "air-date"
            "matches"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-duration {
        grid-template-areas:
            "title"
            "promotion"
            "type"
            "date"
            "matches"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-duration,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-duration {
        grid-template-areas:
            "title"
            "type"
            "date"
            "matches"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-duration.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-air-date.card-profile-layout-no-duration.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-duration.card-profile-layout-no-type,
    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-air-date.card-profile-layout-no-duration.card-profile-layout-no-type {
        grid-template-areas:
            "title"
            "promotion"
            "date"
            "air-date"
            "matches"
            "duration"
            "venue"
            "event";
    }

    .card-profile-page .card-profile-layout-no-promotions.card-profile-layout-no-type {
        grid-template-areas:
            "title"
            "date"
            "air-date"
            "matches"
            "duration"
            "venue"
            "event";
    }

    .event-profile-page .event-profile-layout {
        grid-template-areas:
            "title"
            "promotion"
            "type"
            "date"
            "matches"
            "venue";
    }

    .event-profile-page .event-profile-layout-no-promotions {
        grid-template-areas:
            "title"
            "type"
            "date"
            "matches"
            "venue";
    }

    .event-profile-page .event-profile-layout-no-type {
        grid-template-areas:
            "title"
            "promotion"
            "date"
            "matches"
            "venue";
    }

    .event-profile-page .event-profile-layout-no-promotions.event-profile-layout-no-type {
        grid-template-areas:
            "title"
            "date"
            "matches"
            "venue";
    }

    .user-profile-page .user-profile-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "total"
            "ratings"
            "comments";
    }

    .card-profile-page .public-profile-head,
    .event-profile-page .public-profile-head,
    .user-profile-page .public-profile-head {
        grid-template-columns: 1fr;
    }

    .card-profile-page .public-profile-head .page-actions,
    .event-profile-page .public-profile-head .page-actions,
    .user-profile-page .public-profile-head .page-actions {
        justify-self: stretch;
        flex-wrap: wrap;
        padding-top: 0;
    }

    .recent-match-result {
        min-height: 0;
        padding-top: 0;
        border-top: 0;
    }

    .event-match-card {
        grid-template-columns: 1fr;
    }

    .event-match-result {
        padding-left: 0;
        padding-top: 0;
        border-left: 0;
    }

    .recent-match-card {
        gap: 12px;
    }

    .dashboard-stats,
    .detail-strip,
    .event-detail-strip,
    .card-detail-grid,
    .dashboard-card-grid,
    .community-stats,
    .user-contribution-stats {
        grid-template-columns: 1fr;
    }

    .community-member-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .detail-strip-item,
    .detail-strip-item:nth-child(odd),
    .detail-strip-item:nth-child(even) {
        padding: 12px 0;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .detail-strip-item:first-child {
        border-top: 0;
    }

    .dashboard-card-actions,
    .dashboard-link-grid,
    .dashboard-jump-links {
        width: 100%;
    }

    .dashboard-card-actions .btn,
    .dashboard-card-actions .btn-success,
    .dashboard-link-grid .btn,
    .dashboard-jump-links .btn {
        width: 100%;
    }
}
