:root {
    --bg: #0c0f12;
    --panel: #151a1f;
    --panel-soft: #1d242b;
    --text: #f5f7f8;
    --muted: #a8b1b9;
    --line: #2b343d;
    --accent: #ff4d1f;
    --accent-text: #111400;
    --red: #e84a4a;
    --blue: #68b7ff;
    --radius: 8px;
    --shadow: 0 18px 48px rgba(0, 0, 0, .32);
    --font-body: Arial, Helvetica, sans-serif;
    --font-heading: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

input,
select,
textarea,
button {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(10px, 1.8vw, 22px);
    align-items: center;
    min-height: var(--header-height-desktop);
    padding: 14px clamp(16px, 5vw, 56px);
    background: rgba(12, 15, 18, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.home-page .site-header,
.match-detail-page .site-header,
.matches-page .site-header,
.contact-page .site-header {
    position: absolute;
    width: 100%;
    background: linear-gradient(180deg, rgba(5, 7, 9, .78), rgba(5, 7, 9, .18) 72%, transparent);
    border-bottom: 0;
    backdrop-filter: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    min-width: 0;
    font-weight: 800;
}

.brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-text);
    font-size: 13px;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 8px;
    color: var(--muted);
}

.site-nav a {
    white-space: nowrap;
}

.header-actions {
    display: flex;
    justify-self: start;
    gap: 12px;
    align-items: center;
    justify-content: end;
}

.site-nav a:hover,
.meta-link:hover,
.section-heading a:hover {
    color: var(--accent);
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 19, 23, .82);
    color: var(--text);
    cursor: pointer;
}

.icon-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.menu-toggle {
    display: none;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
}

.search-icon {
    position: relative;
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.search-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

.search-panel {
    position: absolute;
    top: calc(100% - 8px);
    right: clamp(16px, 5vw, 56px);
    z-index: 30;
    width: min(360px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 15, 18, .96);
    box-shadow: var(--shadow);
}

.search-panel[hidden] {
    display: none;
}

.search-form {
    display: flex;
    justify-self: end;
    width: 100%;
    min-width: 0;
}

.search-form input,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0f1317;
    color: var(--text);
    padding: 9px 11px;
}

.search-form input {
    border-radius: var(--radius) 0 0 var(--radius);
}

.search-form button {
    border: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--accent);
    color: var(--accent-text);
    min-width: 72px;
    padding: 0 12px;
    font-weight: 700;
    cursor: pointer;
}

.home-hero {
    position: relative;
    min-height: min(var(--hero-height-desktop), 82vh);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #050607;
}

.hero-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
}

.hero-slide.is-active {
    z-index: 1;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 9, .92), rgba(5, 7, 9, .55) 48%, rgba(5, 7, 9, .25)),
        linear-gradient(0deg, rgba(5, 7, 9, .92), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 32px));
    margin-inline: auto;
    min-height: min(var(--hero-height-desktop), 82vh);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: clamp(96px, 12vh, 140px) 0 88px;
}

.hero-content.fallback {
    display: grid;
    min-height: min(760px, 88vh);
    align-content: center;
    background:
        linear-gradient(90deg, rgba(12, 15, 18, .96), rgba(12, 15, 18, .68)),
        linear-gradient(135deg, #0c0f12, #202832 62%, #11171d);
}

.hero-content h1 {
    max-width: 720px;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.02;
}

.hero-content p:not(.eyebrow) {
    max-width: 620px;
    color: #d8e0e7;
    font-size: 18px;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    left: max(16px, calc((100vw - 720px) / 2));
    bottom: 78px;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 44px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: var(--accent);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    background: rgba(8, 11, 14, .62);
    color: var(--text);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-arrow:hover,
.hero-strip button:hover {
    border-color: var(--accent);
}

.hero-arrow.previous {
    left: max(18px, calc((100vw - 1280px) / 2));
}

.hero-arrow.next {
    right: max(18px, calc((100vw - 1280px) / 2));
}

.hero-strip {
    display: none;
}

.hero-strip button {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 9px;
    align-items: center;
    min-height: 58px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(12, 15, 18, .72);
    color: var(--text);
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(10px);
}

.hero-strip button.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 18%, rgba(12, 15, 18, .72));
}

.hero-strip img {
    width: 54px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
}

.hero-strip span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-scroll-hint {
    position: absolute;
    z-index: 2;
    right: max(16px, calc((100vw - 1180px) / 2));
    bottom: 42px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-title,
.section,
.detail-hero,
.profile-hero,
.watch-layout,
.match-page-layout {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.button {
    font-family: var(--font-heading);
}

h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .98;
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
}

.site-logo {
    width: var(--logo-desktop-width);
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.home-hero p:not(.eyebrow),
.page-title p,
.detail-hero p,
.profile-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--button-height);
    padding: 0 18px;
    border: 0;
    border-radius: var(--button-radius);
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

button,
.play-badge {
    text-transform: uppercase;
}

.button.secondary {
    background: var(--panel-soft);
    color: var(--text);
    border: 1px solid var(--line);
}

.section {
    padding: var(--section-spacing) 0;
}

.page-title {
    padding: 58px 0 18px;
}

.page-title h1 {
    font-size: clamp(38px, 6vw, 68px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 28px;
}

.section-heading a {
    color: var(--muted);
    font-weight: 700;
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--grid-gap);
}

.matches-grid {
    grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width), 1fr));
}

.events-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 28px;
}

.match-card,
.content-card,
.person-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #242c34, #101418);
}

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

.logo-thumb img {
    object-fit: contain;
    padding: 28px;
}

.play-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-text);
    font-size: 13px;
    font-weight: 800;
}

.card-body {
    padding: 16px;
}

.card-body h3,
.person-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.card-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-body p,
.person-card p {
    color: var(--muted);
    margin: 0 0 12px;
}

.meta-link {
    color: var(--muted);
    font-size: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: var(--radius);
    background: #26313a;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.fighters-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.fighters-list.large {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.person-card {
    padding: 16px;
}

.avatar {
    display: block;
    width: 92px;
    height: 92px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--panel-soft);
}

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

.watch-layout,
.match-page-layout {
    padding: 34px 0 10px;
}

.match-page-layout {
    display: grid;
    gap: 24px;
}

.match-hero {
    position: relative;
    min-height: min(560px, 72vh);
    overflow: hidden;
    background: #050607;
    border-bottom: 1px solid var(--line);
}

.match-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-hero-content {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 32px));
    min-height: min(560px, 72vh);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 0 72px;
}

.match-hero-content h1 {
    max-width: 720px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
}

.page-hero {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: #050607;
    border-bottom: 1px solid var(--line);
}

.page-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 440px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 0 64px;
}

.page-hero-content h1 {
    max-width: 780px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
}

.page-hero-content p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 19px;
}

.player-panel {
    aspect-ratio: 16 / 9;
    background: #050607;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.player-panel iframe,
.video-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.match-info,
.match-info-stack,
.detail-hero,
.profile-hero {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.match-info-stack {
    display: grid;
    gap: 20px;
}

.match-info-stack h1 {
    max-width: 980px;
    font-size: clamp(36px, 5.4vw, 68px);
    line-height: 1;
}

.fighter-versus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.fighter-versus article {
    display: grid;
    align-items: center;
    min-height: 96px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #10161b;
}

.match-description h2 {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.fighter-versus a,
.fighter-versus strong {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
}

.fighter-versus a:hover {
    color: var(--accent);
}

.fighter-versus > div {
    display: grid;
    place-items: center;
    width: 50px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px 14px;
    margin: 20px 0 0;
}

.match-detail-list {
    grid-template-columns: 140px 1fr;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
}

.match-description {
    max-width: 860px;
    padding-top: 4px;
}

.match-description h2 {
    margin: 0 0 10px;
}

.match-description p {
    margin: 0;
    color: #d8e0e7;
    font-size: 17px;
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
}

dd a {
    color: var(--blue);
}

.detail-hero,
.profile-hero {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 34px;
}

.profile-hero.no-image {
    grid-template-columns: minmax(0, 1fr);
}

.detail-hero > img,
.profile-hero > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--panel-soft);
}

.profile-hero > img {
    aspect-ratio: 1;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.meta-row span,
.meta-row a {
    padding: 7px 10px;
    border-radius: var(--radius);
    background: var(--panel-soft);
    color: var(--muted);
}

.result-row {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.result-row span,
.empty-state {
    color: var(--muted);
}

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

.pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.pagination-button {
    min-width: 132px;
    border: 1px solid var(--accent);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.pagination-button.previous {
    margin-right: auto;
}

.pagination-button.next {
    margin-left: auto;
}

.notice,
.empty-state {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-soft);
}

.notice.success {
    border-color: #6fdc87;
}

.notice.danger {
    border-color: var(--red);
    color: #ffb7b7;
}

.site-footer {
    padding: 34px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-inner {
    width: min(1180px, 100%);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
    justify-content: space-between;
}

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

.footer-logo {
    width: var(--footer-logo-width);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
}

.social-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-soft);
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
}

.social-button:hover {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

.social-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links .social-button:hover {
    color: var(--accent-text);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 20px;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: min(680px, calc(100% - 36px));
    padding: 16px;
    border: 1px solid var(--cookie-text);
    border-radius: var(--radius);
    background: var(--cookie-bg);
    color: var(--cookie-text);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .65);
    transform: translateX(-50%);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    min-width: 0;
    margin: 0;
    color: var(--cookie-text);
    overflow-wrap: anywhere;
}

.cookie-banner div {
    display: flex;
    gap: 10px;
}

.cookie-banner .button {
    background: var(--bg);
    color: var(--text);
}

.cookie-banner .button.secondary {
    background: transparent;
    color: var(--cookie-text);
    border-color: var(--cookie-text);
}

.settings-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.settings-tab-control {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.settings-tab {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
    user-select: none;
}

.settings-tab.is-active {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

.settings-panel {
    display: none;
}

.settings-panel.is-active {
    display: block;
}

#settings-tab-branding:checked ~ .settings-tabs [for="settings-tab-branding"],
#settings-tab-design:checked ~ .settings-tabs [for="settings-tab-design"],
#settings-tab-ui-elements:checked ~ .settings-tabs [for="settings-tab-ui-elements"],
#settings-tab-homepage:checked ~ .settings-tabs [for="settings-tab-homepage"],
#settings-tab-matches-page:checked ~ .settings-tabs [for="settings-tab-matches-page"],
#settings-tab-navigation:checked ~ .settings-tabs [for="settings-tab-navigation"],
#settings-tab-footer:checked ~ .settings-tabs [for="settings-tab-footer"],
#settings-tab-contact:checked ~ .settings-tabs [for="settings-tab-contact"],
#settings-tab-fighter-page:checked ~ .settings-tabs [for="settings-tab-fighter-page"],
#settings-tab-seo:checked ~ .settings-tabs [for="settings-tab-seo"],
#settings-tab-cookies:checked ~ .settings-tabs [for="settings-tab-cookies"],
#settings-tab-integrations:checked ~ .settings-tabs [for="settings-tab-integrations"],
#settings-tab-maintenance:checked ~ .settings-tabs [for="settings-tab-maintenance"] {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

#settings-tab-branding:checked ~ [data-settings-panel="branding"],
#settings-tab-design:checked ~ [data-settings-panel="design"],
#settings-tab-ui-elements:checked ~ [data-settings-panel="ui-elements"],
#settings-tab-homepage:checked ~ [data-settings-panel="homepage"],
#settings-tab-matches-page:checked ~ [data-settings-panel="matches-page"],
#settings-tab-navigation:checked ~ [data-settings-panel="navigation"],
#settings-tab-footer:checked ~ [data-settings-panel="footer"],
#settings-tab-contact:checked ~ [data-settings-panel="contact"],
#settings-tab-fighter-page:checked ~ [data-settings-panel="fighter-page"],
#settings-tab-seo:checked ~ [data-settings-panel="seo"],
#settings-tab-cookies:checked ~ [data-settings-panel="cookies"],
#settings-tab-integrations:checked ~ [data-settings-panel="integrations"],
#settings-tab-maintenance:checked ~ [data-settings-panel="maintenance"] {
    display: block;
}

.about-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-top: var(--section-spacing);
    padding: clamp(54px, 8vw, 112px) 16px;
    overflow: hidden;
    background: var(--about-bg, linear-gradient(135deg, #12181e, #050607));
    background-position: center;
    background-size: cover;
    border-block: 1px solid var(--line);
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(var(--about-overlay-rgb, 5, 7, 9), var(--about-overlay-opacity, .68));
}

.about-section-inner {
    width: min(1180px, 100%);
    max-width: 1180px;
    margin-inline: auto;
}

.about-section p:not(.eyebrow) {
    max-width: 780px;
    color: var(--about-text-color, var(--muted));
    font-size: 18px;
}

.about-section .button {
    margin-top: 14px;
}

.contact-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

.contact-layout {
    display: grid;
    justify-items: start;
}

.contact-form {
    width: min(720px, 100%);
    padding: clamp(20px, 4vw, 32px);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.maintenance-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.maintenance-screen {
    width: min(680px, 100%);
    text-align: center;
    padding: clamp(28px, 6vw, 56px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.maintenance-screen h1 {
    font-size: clamp(36px, 7vw, 68px);
}

.maintenance-screen p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.maintenance-logo {
    width: auto;
    max-width: 220px;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.install-required,
.admin-body {
    min-height: 100vh;
}

.install-card {
    width: min(540px, calc(100% - 32px));
    margin: 12vh auto;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

@media (max-width: 920px) {
    .site-header {
        grid-template-columns: 1fr auto;
        min-height: var(--header-height-mobile);
        padding: 16px 24px;
    }

    .brand {
        justify-self: start;
    }

    .menu-toggle {
        display: inline-grid;
        background: rgba(12, 15, 18, .78);
        border-color: rgba(255, 255, 255, .32);
        color: #fff;
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        padding-top: 10px;
    }

    .site-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        grid-column: auto;
        justify-self: end;
        justify-content: end;
        flex-wrap: wrap;
    }

    .search-panel {
        top: calc(100% + 4px);
        left: 24px;
        right: 24px;
        width: auto;
    }

    .watch-layout,
    .detail-hero,
    .profile-hero,
    .two-column,
    .search-results {
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: min(var(--hero-height-mobile), 86vh);
    }

    .hero-content {
        padding: 220px 0 96px;
    }

    .hero-dots {
        left: 72px;
        bottom: 40px;
    }

    .hero-arrow {
        top: auto;
        bottom: 24px;
        width: 42px;
        height: 42px;
        font-size: 34px;
        transform: none;
    }
}

@media (max-width: 700px) {
    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .cookie-banner div {
        flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    .site-header {
        gap: 14px;
        padding: 18px 24px;
    }

    h1 {
        font-size: 42px;
    }

    .site-logo {
        width: var(--logo-mobile-width);
        max-width: 100%;
        max-height: none;
    }

    .header-actions {
        gap: 8px;
    }

    .icon-button {
        width: 40px;
        height: 40px;
    }

    .search-form {
        width: 100%;
    }

    .home-hero {
        min-height: min(var(--hero-height-mobile), 86vh);
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(5, 7, 9, .9), rgba(5, 7, 9, .55)),
            linear-gradient(0deg, rgba(5, 7, 9, .96), rgba(5, 7, 9, .2) 58%);
    }

    .hero-content {
        padding: 220px 0 96px;
    }

    .hero-content h1 {
        max-width: min(280px, calc(100vw - 64px));
        font-size: clamp(24px, 6.8vw, 28px);
        line-height: 1.06;
        overflow-wrap: anywhere;
    }

    .cookie-banner p {
        font-size: 15px;
    }

    .hero-content p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-dots {
        left: 72px;
        bottom: 40px;
    }

    .hero-arrow.previous {
        left: 16px;
    }

    .hero-arrow.next {
        right: 16px;
    }

    .hero-scroll-hint {
        display: none;
    }

    .fighter-versus {
        grid-template-columns: 1fr;
    }

    .fighter-versus > div {
        width: 100%;
        min-height: 24px;
    }

    .match-info-stack h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    dl {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        left: 16px;
        right: auto;
        bottom: 16px;
        width: min(330px, calc(100vw - 32px));
        transform: none;
    }
}
