:root {
    color-scheme: dark;
    --bg: #05090d;
    --panel: #0d1219;
    --panel-2: #111923;
    --line: #263646;
    --text: #f4fbff;
    --muted: #9fb0bf;
    --cyan: #39d9ff;
    --blue: #1168ff;
    --yellow: #ffe500;
    --green: #39d9ff;
    --danger: #ff5068;
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    padding-bottom: 124px;
    background:
        radial-gradient(circle at 50% 10%, rgba(57, 217, 255, 0.12), transparent 30%),
        radial-gradient(circle at 80% 42%, rgba(107, 63, 160, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(3, 8, 12, 0.48), rgba(5, 9, 13, 0.92) 620px),
        url("assets/hintergrund.png") center top / cover no-repeat,
        #05090d;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(57, 217, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 217, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, transparent, rgba(0, 0, 0, 0.34) 72%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
}

.page {
    width: min(1440px, calc(100% - 36px));
    margin: 0 auto;
    padding: 18px 0 46px;
}

.hero {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid rgba(57, 217, 255, 0.3);
}

.hero.compact {
    min-height: 300px;
}

.nav,
.section-head,
.actions,
.card-actions,
.stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.nav {
    position: relative;
    min-height: 72px;
    padding: 10px 14px;
    border: 1px solid rgba(57, 217, 255, 0.14);
    border-radius: 999px;
    background: rgba(5, 10, 16, 0.46);
    backdrop-filter: blur(10px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
}

.nav > .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 999px;
    filter: drop-shadow(0 0 18px rgba(57, 217, 255, 0.48));
}

.home-page .brand img {
    width: 108px;
    height: 108px;
}

.home-hero {
    min-height: 360px;
    border-bottom: 1px solid rgba(57, 217, 255, 0.28);
}

.home-hero .nav {
    min-height: 88px;
}

.home-hero-center {
    display: grid;
    justify-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 42px 0 52px;
    text-align: center;
}

.home-menu {
    position: relative;
    margin-left: auto;
    margin-right: 94px;
    top: 0;
    z-index: 5;
}

.home-menu summary {
    display: grid;
    place-items: center;
    gap: 2px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(57, 217, 255, 0.42);
    border-radius: 999px;
    background: rgba(8, 15, 24, 0.82);
    box-shadow: 0 0 24px rgba(57, 217, 255, 0.18);
    cursor: pointer;
    list-style: none;
}

.home-menu summary::-webkit-details-marker {
    display: none;
}

.home-menu summary span {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(57, 217, 255, 0.72);
}

.home-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    gap: 8px;
    width: 184px;
    padding: 10px;
    border: 1px solid rgba(57, 217, 255, 0.36);
    border-radius: 8px;
    background: rgba(7, 14, 22, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 28px rgba(57, 217, 255, 0.12);
}

.home-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 7px;
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
}

.home-menu-panel a:hover {
    color: #001018;
    background: var(--yellow);
    border-color: var(--yellow);
}

.home-logo-orbit {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(220px, 30vw, 360px);
    height: clamp(220px, 30vw, 360px);
    margin-bottom: 22px;
}

.home-logo-orbit::before,
.home-logo-orbit::after,
.home-logo-orbit span {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.home-logo-orbit::before {
    inset: 0;
    border: 1px solid rgba(57, 217, 255, 0.28);
    box-shadow: 0 0 44px rgba(57, 217, 255, 0.08) inset;
}

.home-logo-orbit::after {
    inset: 14%;
    border: 1px solid rgba(107, 63, 160, 0.45);
}

.home-logo-orbit span {
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(57, 217, 255, 0.85);
    transform: translateX(-50%);
}

.home-logo-orbit img {
    position: relative;
    z-index: 1;
    width: clamp(130px, 18vw, 220px);
    height: clamp(130px, 18vw, 220px);
    border-radius: 999px;
    object-fit: cover;
    filter: drop-shadow(0 0 32px rgba(57, 217, 255, 0.68));
}

.home-hero-center h1 {
    margin: 0 0 8px;
    padding-bottom: 6px;
    font-size: clamp(62px, 7.6vw, 108px);
    line-height: 1.08;
    letter-spacing: 0;
    background: linear-gradient(90deg, #f7fbff 0%, #bff5ff 28%, #63e5ff 58%, #78baff 82%, #aeb8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(215, 246, 255, 0.16);
    text-shadow: 0 0 36px rgba(57, 217, 255, 0.24);
}

.home-kicker {
    color: #dff8ff !important;
    font-size: clamp(18px, 1.8vw, 28px) !important;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-hero-center p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.45;
}

.hero-copy {
    max-width: 860px;
    padding: 50px 0 46px;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 28px;
    align-items: end;
}

.hero-content .hero-copy {
    max-width: 900px;
}

.hero-rule-wrap {
    display: grid;
    grid-template-columns: 132px minmax(220px, 320px);
    gap: 22px;
    align-items: center;
    justify-self: end;
    margin-bottom: 46px;
}

.hero-rule-logo {
    width: 132px;
    height: 132px;
    border-radius: 999px;
    object-fit: cover;
    filter: drop-shadow(0 0 24px rgba(57, 217, 255, 0.62));
}

.hero-rule-card {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid rgba(57, 217, 255, 0.62);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 43, 70, 0.84), rgba(7, 16, 24, 0.88)),
        rgba(7, 16, 24, 0.88);
    box-shadow:
        0 0 0 1px rgba(57, 217, 255, 0.12) inset,
        0 0 28px rgba(57, 217, 255, 0.22);
}

.hero-rule-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-rule-card strong {
    display: block;
    margin-top: 8px;
    color: var(--cyan);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 0 18px rgba(57, 217, 255, 0.35);
}

.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(44px, 8vw, 92px);
    line-height: 0.95;
}

.compact h1 {
    font-size: clamp(38px, 6vw, 68px);
}

h2 {
    margin-bottom: 0;
    font-size: 26px;
}

h3 {
    margin-bottom: 0;
    font-size: 22px;
}

p,
.muted,
.hint,
small {
    color: var(--muted);
}

.panel {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(57, 217, 255, 0.20);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(14, 21, 31, 0.88), rgba(9, 14, 21, 0.92)),
        var(--panel);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.20);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: linear-gradient(180deg, #fff100, var(--yellow));
    color: #05090d;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 229, 0, 0.18);
}

.button:disabled {
    opacity: 0.62;
    cursor: wait;
}

.report-form.is-submitting {
    opacity: 0.82;
}

.button.ghost {
    border-color: rgba(57, 217, 255, 0.24);
    background: rgba(10, 16, 24, 0.82);
    color: var(--text);
}

.button.ghost:hover {
    border-color: rgba(57, 217, 255, 0.56);
    background: rgba(16, 31, 43, 0.90);
    box-shadow: 0 10px 24px rgba(57, 217, 255, 0.10);
}

.button.compact {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.button.danger {
    border-color: rgba(255, 80, 104, 0.7);
    background: rgba(255, 80, 104, 0.16);
    color: #ffd7dd;
}

.button.danger:hover {
    background: rgba(255, 80, 104, 0.28);
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(57, 217, 255, 0.32);
    border-radius: 999px;
    background: rgba(7, 16, 24, 0.82);
    color: var(--yellow);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(57, 217, 255, 0.16);
}

.icon-button:hover {
    border-color: var(--yellow);
    background: rgba(255, 229, 0, 0.12);
}

.nav-admin {
    margin-left: auto;
}

.language-switch {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 50;
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 999px;
    background: rgba(5, 9, 13, 0.72);
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    opacity: 0.62;
}

.language-switch a.active {
    background: rgba(255, 229, 0, 0.16);
    opacity: 1;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.home-tournaments-panel {
    margin-top: 22px;
}

.metamodz-ad {
    position: relative;
    display: grid;
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 118px;
    margin: 16px 0 20px;
    padding: 22px 24px 20px;
    overflow: hidden;
    border: 1px solid rgba(177, 171, 255, 0.42);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 0%, rgba(177, 171, 255, 0.14), transparent 34%),
        radial-gradient(circle at 88% 50%, rgba(107, 63, 160, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(8, 13, 20, 0.92), rgba(21, 13, 34, 0.86));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.20), 0 0 24px rgba(107, 63, 160, 0.12);
    color: var(--text);
    text-decoration: none;
}

.metamodz-ad-label {
    position: absolute;
    top: 10px;
    left: 24px;
    z-index: 2;
    color: rgba(177, 171, 255, 0.92);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.metamodz-ad:hover {
    border-color: rgba(177, 171, 255, 0.72);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26), 0 0 38px rgba(177, 171, 255, 0.2);
}

.metamodz-ad-brand {
    width: 100%;
    height: 70px;
    min-height: 0;
    margin: 8px 0 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: left center;
}

.metamodz-ad .fragger-brand [data-fragger-animation] {
    transform: scale(1.08);
}

.metamodz-ad-copy {
    min-width: 0;
    padding-top: 8px;
}

.metamodz-ad-copy h2 {
    margin: 0 0 4px;
    color: #f5f1ff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.05;
}

.metamodz-ad-copy strong {
    display: block;
    color: #b1abff;
    font-size: 15px;
    font-weight: 950;
}

.metamodz-ad-copy p {
    max-width: 720px;
    margin: 6px 0 0;
    color: rgba(225, 232, 245, 0.72);
    font-size: 14px;
    line-height: 1.35;
}

.metamodz-ad-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(177, 171, 255, 0.64);
    border-radius: 8px;
    background: linear-gradient(135deg, #b1abff, #6b3fa0);
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 0 22px rgba(177, 171, 255, 0.18);
}

.ranking-metamodz-ad {
    margin-top: 22px;
    margin-bottom: 18px;
}

.home-metamodz-ad {
    margin-top: 0;
}

.network-ad {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: min(820px, calc(100% - 28px));
    min-height: 112px;
    margin: 0;
    padding: 18px 18px 8px;
    overflow: hidden;
    transform: translateX(-50%);
    border: 1px solid rgba(57, 217, 255, 0.38);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(8, 14, 22, 0.94), rgba(4, 9, 15, 0.94)),
        rgba(4, 10, 16, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 0 28px rgba(57, 217, 255, 0.13);
    backdrop-filter: blur(10px);
}

.network-ad > span {
    position: absolute;
    top: 5px;
    left: 16px;
    color: rgba(190, 207, 225, 0.7);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.network-ad-close {
    position: absolute;
    top: 5px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(57, 217, 255, 0.48);
    border-radius: 6px;
    background: rgba(5, 11, 18, 0.92);
    color: #f4fbff;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(57, 217, 255, 0.16);
}

.network-ad-close:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.network-ad iframe {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
}

.network-ad-wide {
    min-height: 112px;
}

.network-ad-wide iframe {
    width: min(100%, 728px);
    height: 90px;
}

.network-ad-native {
    min-height: 150px;
}

.network-ad-native iframe {
    min-height: 128px;
}

.home-tournament-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 380px));
    justify-content: start;
}

.home-tournament-grid .tournament-card {
    min-height: 154px;
}

.home-tournament-grid .tournament-card h3 {
    font-size: clamp(21px, 1.6vw, 26px);
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.home-ranking-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0;
    padding: 20px;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 0%, rgba(57, 217, 255, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(9, 18, 28, 0.92), rgba(8, 13, 20, 0.94));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), 0 0 30px rgba(57, 217, 255, 0.06);
}

.home-ranking-panel h2 {
    margin-bottom: 8px;
    font-size: clamp(26px, 2.2vw, 34px);
}

.home-ranking-panel p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--muted);
}

.home-ranking-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.home-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.home-social-card {
    min-height: 174px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(57, 217, 255, 0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 14% 0%, rgba(57, 217, 255, 0.13), transparent 34%),
        linear-gradient(145deg, rgba(14, 24, 35, 0.92), rgba(7, 12, 19, 0.96));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.home-social-card h2 {
    margin-bottom: 8px;
    font-size: clamp(23px, 1.9vw, 29px);
}

.home-social-card p {
    color: var(--muted);
    line-height: 1.45;
}

.home-social-card-discord {
    border-color: rgba(177, 171, 255, 0.36);
    background:
        radial-gradient(circle at 18% 0%, rgba(177, 171, 255, 0.20), transparent 38%),
        linear-gradient(145deg, rgba(30, 20, 54, 0.78), rgba(8, 13, 20, 0.96));
}

.home-social-card-x {
    border-color: rgba(57, 217, 255, 0.34);
}

.home-faq-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(57, 217, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(7, 16, 24, 0.92), rgba(13, 18, 25, 0.82));
}

.home-faq-panel h2 {
    margin: 8px 0;
    font-size: clamp(28px, 3vw, 42px);
}

.home-faq-panel p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
}

.home-route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 14px;
}

.home-route-card {
    min-height: 202px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid rgba(57, 217, 255, 0.22);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 0%, rgba(57, 217, 255, 0.14), transparent 36%),
        linear-gradient(145deg, rgba(17, 29, 41, 0.92), rgba(9, 14, 21, 0.96));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.home-route-card:hover {
    transform: translateY(-2px);
    border-color: rgba(57, 217, 255, 0.42);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), 0 0 28px rgba(57, 217, 255, 0.08);
}

.home-route-card h2 {
    margin-bottom: 8px;
    font-size: clamp(24px, 2vw, 28px);
}

.home-route-card p {
    margin-bottom: 18px;
    line-height: 1.45;
}

.discord-card {
    border-color: rgba(177, 171, 255, 0.48);
    background:
        radial-gradient(circle at 24% 0%, rgba(177, 171, 255, 0.22), transparent 40%),
        linear-gradient(135deg, rgba(107, 63, 160, 0.2), rgba(17, 25, 35, 0.94));
}

.home-discord-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid rgba(177, 171, 255, 0.30);
    border-radius: 8px;
    background:
        radial-gradient(circle at 78% 0%, rgba(177, 171, 255, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(10, 16, 24, 0.88), rgba(33, 20, 56, 0.66));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
}

.home-discord-panel h2 {
    margin-bottom: 6px;
    font-size: clamp(24px, 2vw, 29px);
}

.home-discord-panel p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.home-social-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 10% 0%, rgba(57, 217, 255, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(7, 16, 24, 0.90), rgba(8, 28, 40, 0.70));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), 0 0 28px rgba(57, 217, 255, 0.06);
}

.home-social-panel h2 {
    margin-bottom: 6px;
    font-size: clamp(22px, 1.9vw, 28px);
}

.home-social-panel p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.social-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.x-button {
    gap: 10px;
    color: #04101a;
    background: linear-gradient(135deg, #f7fbff 0%, #7cecff 54%, #39d9ff 100%);
    border-color: rgba(124, 236, 255, 0.72);
    box-shadow: 0 0 22px rgba(57, 217, 255, 0.24);
}

.x-button:hover {
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(57, 217, 255, 0.34);
}

.compact-socials {
    margin-top: auto;
}

.home-community-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.discord-button {
    gap: 10px;
    background: #5865f2;
    color: #fff;
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.22);
}

.discord-icon {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.tournament-card,
.empty-state {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0% 0%, rgba(57, 217, 255, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(18, 27, 39, 0.90), rgba(8, 13, 20, 0.95));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.tournament-card:hover {
    transform: translateY(-2px);
    border-color: rgba(57, 217, 255, 0.44);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24), 0 0 24px rgba(57, 217, 255, 0.08);
}

.tournament-card h3 {
    margin-top: 4px;
    font-size: 21px;
}

.tournament-card .stats {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 18px;
    margin-bottom: 34px;
}

.tournament-card .stats span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 999px;
    background: rgba(57, 217, 255, 0.07);
    color: #c8e9f7;
    font-size: 13px;
    font-weight: 800;
}

.admin-tournament-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -12px 0 18px;
    padding: 10px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 999px;
    background: rgba(4, 10, 16, 0.56);
}

.admin-section-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(57, 217, 255, 0.20);
    border-radius: 999px;
    background: rgba(10, 18, 28, 0.78);
    color: var(--text);
    font-weight: 900;
}

.admin-section-nav a:hover,
.admin-section-nav a.active {
    border-color: rgba(57, 217, 255, 0.72);
    background: rgba(57, 217, 255, 0.16);
    color: var(--cyan);
}

.admin-hub-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 20px;
    border: 1px solid rgba(57, 217, 255, 0.32);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 0%, rgba(57, 217, 255, 0.16), transparent 38%),
        rgba(7, 16, 24, 0.78);
}

.admin-hub-card h3 {
    margin: 0;
    font-size: 24px;
}

.admin-hub-card .button {
    justify-self: start;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.admin-stats-grid article {
    padding: 14px;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.72);
}

.admin-stats-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-stats-grid b {
    color: var(--cyan);
    font-size: 28px;
    line-height: 1;
}

.admin-users-panel {
    display: grid;
    gap: 14px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(57, 217, 255, 0.22);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.62);
}

.admin-user-create-form,
.admin-user-edit-form,
.admin-user-row {
    display: grid;
    gap: 10px;
}

.admin-user-create-form {
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
    align-items: end;
}

.admin-user-list {
    display: grid;
    gap: 10px;
}

.admin-user-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    padding: 12px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 8px;
    background: rgba(4, 10, 16, 0.72);
}

.admin-user-edit-form {
    grid-template-columns: minmax(180px, 1fr) minmax(140px, 180px) auto auto;
    align-items: end;
}

.user-password-state {
    align-self: center;
    min-width: 120px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.faq-page .faq-hero {
    min-height: 280px;
}

.faq-panel {
    display: grid;
    gap: 18px;
}

.faq-list,
.admin-faq-list {
    display: grid;
    gap: 12px;
}

.faq-item,
.admin-faq-create,
.admin-faq-entry {
    border: 1px solid rgba(57, 217, 255, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(57, 217, 255, 0.08), transparent 32%),
        rgba(4, 10, 16, 0.72);
    overflow: hidden;
}

.faq-item summary,
.admin-faq-create summary,
.admin-faq-entry summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    color: var(--text);
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker,
.admin-faq-create summary::-webkit-details-marker,
.admin-faq-entry summary::-webkit-details-marker {
    display: none;
}

.faq-item summary b,
.admin-faq-create summary b {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 999px;
    color: var(--cyan);
}

.admin-faq-entry summary {
    align-items: flex-start;
}

.admin-faq-entry summary small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
    line-height: 1.65;
}

.faq-answer p,
.faq-answer ul,
.faq-answer h3 {
    margin: 0 0 12px;
}

.faq-answer ul {
    padding-left: 20px;
}

.faq-answer strong,
.faq-answer h3 {
    color: var(--text);
}

.admin-faq-panel {
    display: grid;
    gap: 14px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(57, 217, 255, 0.22);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.62);
}

.admin-faq-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 140px;
    gap: 12px;
    padding: 14px;
}

.admin-faq-form textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-faq-form label:has(textarea) {
    grid-column: 1 / -1;
}

.checkbox-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-line input {
    width: auto;
}

.faq-form-actions,
.faq-delete-form {
    display: flex;
    align-items: end;
    justify-content: flex-end;
}

.faq-delete-form {
    padding: 0 14px 14px;
}

.admin-tournament-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.72);
}

.admin-tournament-row h3 {
    margin-bottom: 8px;
}

.ranking-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 28px;
    align-items: end;
}

.ranking-live-card {
    margin-bottom: 44px;
    padding: 20px;
    border: 1px solid rgba(57, 217, 255, 0.42);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(57, 217, 255, 0.12), rgba(107, 63, 160, 0.14)),
        rgba(7, 16, 24, 0.82);
    box-shadow: 0 0 28px rgba(57, 217, 255, 0.14);
}

.ranking-live-card span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(57, 217, 255, 0.82);
}

.ranking-live-card strong {
    font-weight: 950;
}

.ranking-live-card small {
    display: block;
    margin-top: 8px;
}

.ranking-control-panel {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(260px, 430px);
    gap: 18px;
    align-items: end;
    margin: 22px 0;
}

.ranking-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ranking-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(57, 217, 255, 0.22);
    border-radius: 999px;
    background: rgba(7, 16, 24, 0.78);
    color: var(--muted);
    font-weight: 950;
    text-decoration: none;
}

.ranking-tabs a.active {
    border-color: rgba(57, 217, 255, 0.78);
    background: var(--cyan);
    color: #031017;
    box-shadow: 0 0 18px rgba(57, 217, 255, 0.22);
}

.ranking-search span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ranking-search input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.76);
    color: var(--text);
    font: inherit;
    font-weight: 800;
}

.ranking-panel {
    overflow: hidden;
}

.leaderboard-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.leaderboard-title img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(57, 217, 255, 0.72);
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(57, 217, 255, 0.24);
}

.ranking-board {
    display: grid;
    grid-template-columns: repeat(16, minmax(170px, 1fr));
    gap: 8px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.ranking-tier {
    min-height: 520px;
    border: 1px solid rgba(57, 217, 255, 0.26);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(57, 217, 255, 0.12), rgba(7, 16, 24, 0.66)),
        rgba(7, 16, 24, 0.86);
}

.ranking-tier-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-tier-head div {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.ranking-tier-head span,
.ranking-player > span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 7px;
    background: rgba(57, 217, 255, 0.16);
    color: var(--cyan);
    font-weight: 950;
}

.ranking-tier-head strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-tier-head small {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.ranking-player-list {
    display: grid;
    gap: 7px;
    padding: 8px;
}

.ranking-player {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
}

.ranking-player strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-player small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
}

.ranking-empty {
    margin: 10px 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.ranking-tier.is-filter-empty {
    opacity: 0.35;
}

.ranking-tier.tier-low {
    border-color: rgba(57, 217, 255, 0.26);
}

.ranking-tier.tier-cyan,
.ranking-tier.tier-blue {
    border-color: rgba(57, 217, 255, 0.52);
}

.ranking-tier.tier-purple {
    border-color: rgba(177, 171, 255, 0.5);
    background:
        linear-gradient(180deg, rgba(107, 63, 160, 0.22), rgba(7, 16, 24, 0.7)),
        rgba(7, 16, 24, 0.86);
}

.ranking-tier.tier-pink {
    border-color: rgba(255, 80, 160, 0.38);
    background:
        linear-gradient(180deg, rgba(255, 80, 160, 0.13), rgba(7, 16, 24, 0.7)),
        rgba(7, 16, 24, 0.86);
}

.ranking-tier.tier-gold {
    border-color: rgba(255, 229, 0, 0.48);
    background:
        linear-gradient(180deg, rgba(255, 229, 0, 0.12), rgba(7, 16, 24, 0.7)),
        rgba(7, 16, 24, 0.86);
}

.ranking-tier.tier-purple .ranking-tier-head span,
.ranking-tier.tier-purple .ranking-player > span {
    background: rgba(177, 171, 255, 0.18);
    color: #b1abff;
}

.ranking-tier.tier-pink .ranking-tier-head span,
.ranking-tier.tier-pink .ranking-player > span {
    background: rgba(255, 80, 160, 0.16);
    color: #ff80c8;
}

.ranking-tier.tier-gold .ranking-tier-head span,
.ranking-tier.tier-gold .ranking-player > span {
    background: rgba(255, 229, 0, 0.18);
    color: var(--yellow);
}

.division-elite .ranking-tier-head span {
    background: rgba(255, 229, 0, 0.18);
    color: var(--yellow);
}

.ranking-board-sections .division-elite .ranking-tier.tier-purple .ranking-tier-head span {
    background: rgba(255, 229, 0, 0.18);
    color: var(--yellow);
}

.ranking-board-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
}

.ranking-division {
    overflow: hidden;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 12px;
    background:
        radial-gradient(circle at 16% 0%, rgba(57, 217, 255, 0.18), transparent 36%),
        linear-gradient(135deg, rgba(7, 16, 24, 0.92), rgba(13, 18, 25, 0.92));
}

.ranking-division-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
}

.ranking-division-head div {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.ranking-division-head img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    filter: drop-shadow(0 0 12px currentColor);
}

.ranking-division-head strong {
    overflow: hidden;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 950;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ranking-division-head span {
    flex: 0 0 auto;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 950;
}

.ranking-rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.ranking-board-sections .ranking-tier {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: rgba(5, 9, 13, 0.88);
}

.ranking-board-sections .ranking-tier-head {
    min-height: 58px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
}

.ranking-board-sections .ranking-player-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding: 10px;
}

.ranking-board-sections .ranking-player {
    border-radius: 6px;
    min-height: 34px;
    scroll-margin: 160px 0 170px;
}

.ranking-board.is-searching .ranking-player {
    transition: opacity 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ranking-player.is-search-dim {
    opacity: 0.22;
    filter: grayscale(0.7) brightness(0.62);
}

.ranking-player.is-search-match {
    position: relative;
    z-index: 2;
    opacity: 1;
    filter: none;
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.36), 0 0 22px rgba(57, 217, 255, 0.7);
    transform: translateY(-1px);
}

.division-elite {
    color: #19aef4;
    border-color: rgba(25, 174, 244, 0.58);
}

.division-challenger {
    color: #ff2b20;
    border-color: rgba(255, 43, 32, 0.58);
}

.division-adversary {
    color: #d5bf22;
    border-color: rgba(213, 191, 34, 0.58);
}

.division-rookie {
    color: #72ff00;
    border-color: rgba(114, 255, 0, 0.58);
}

.division-elite .ranking-player {
    background: #0ea5e9;
    color: #ffffff;
}

.division-challenger .ranking-player {
    background: #e1251b;
    color: #ffffff;
}

.division-adversary .ranking-player {
    background:
        linear-gradient(135deg, rgba(126, 111, 0, 0.98), rgba(88, 78, 0, 0.96));
    border-color: rgba(255, 229, 0, 0.42);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 229, 0, 0.08);
}

.division-rookie .ranking-player {
    background:
        linear-gradient(135deg, rgba(39, 150, 0, 0.98), rgba(27, 108, 0, 0.96));
    border-color: rgba(114, 255, 0, 0.34);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(114, 255, 0, 0.08);
}

.division-elite .ranking-player > span,
.division-challenger .ranking-player > span {
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

.division-adversary .ranking-player > span,
.division-rookie .ranking-player > span {
    background: rgba(0, 0, 0, 0.14);
    color: #05090d;
}

.division-elite .ranking-player small,
.division-challenger .ranking-player small {
    color: rgba(255, 255, 255, 0.75);
}

.division-adversary .ranking-player small,
.division-rookie .ranking-player small {
    color: rgba(255, 255, 255, 0.72);
}

.ranking-management {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.ranking-quick-move-panel {
    border-color: rgba(57, 217, 255, 0.4);
    background:
        radial-gradient(circle at 12% 0%, rgba(57, 217, 255, 0.14), transparent 42%),
        rgba(7, 16, 24, 0.82);
}

.ranking-move-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.ranking-move-form .wide {
    grid-column: span 2;
}

.ranking-delete-selected-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.ranking-editor-form,
.ranking-inline-form {
    display: grid;
    gap: 10px;
}

.ranking-editor-form {
    grid-template-columns: minmax(130px, 190px) repeat(5, minmax(130px, 1fr)) auto;
    align-items: end;
}

.ranking-editor-form .wide {
    grid-column: 1 / -2;
}

.ranking-move-form label span,
.ranking-editor-form label span,
.ranking-inline-form label span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.ranking-admin-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.ranking-admin-list-details {
    padding: 0;
    overflow: hidden;
}

.ranking-admin-list-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
}

.ranking-admin-list-details > summary::-webkit-details-marker {
    display: none;
}

.ranking-admin-list-details > summary span {
    color: var(--text);
    font-size: 24px;
    font-weight: 950;
}

.ranking-admin-list-details > summary strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(57, 217, 255, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.ranking-admin-list-details[open] > summary {
    border-bottom: 1px solid var(--line);
}

.ranking-admin-list-details[open] > summary strong {
    color: var(--yellow);
    border-color: rgba(255, 229, 0, 0.45);
    background: rgba(255, 229, 0, 0.1);
}

.ranking-admin-list-details .ranking-admin-list-head,
.ranking-admin-list-details .ranking-admin-list {
    margin-right: 22px;
    margin-left: 22px;
}

.ranking-admin-list-details .ranking-admin-list-head {
    margin-top: 20px;
}

.ranking-admin-list-details .ranking-admin-list {
    margin-bottom: 22px;
}

.ranking-admin-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.68);
}

.ranking-inline-form {
    grid-template-columns: minmax(150px, 190px) minmax(160px, 1fr) repeat(4, minmax(130px, 0.85fr)) minmax(180px, 1fr) auto;
    align-items: center;
}

.ranking-move-form input,
.ranking-move-form select,
.ranking-editor-form input,
.ranking-editor-form select,
.ranking-inline-form input,
.ranking-inline-form select {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #071018;
    color: var(--text);
    font: inherit;
    font-weight: 800;
}

.ranking-player strong a {
    color: inherit;
    text-decoration: none;
}

.ranking-player strong a:hover {
    text-decoration: underline;
}

.ranking-player-name-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ranking-social-links {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ranking-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(3, 8, 13, 0.42);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.ranking-social-link:hover {
    border-color: rgba(255, 229, 0, 0.72);
    background: rgba(255, 229, 0, 0.12);
    transform: translateY(-1px);
}

.ranking-social-link img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.ranking-social-x img {
    filter: invert(1);
}

.ranking-active-toggle-form {
    display: inline-flex;
    margin: 0;
}

.ranking-active-toggle-form button {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(57, 217, 255, 0.58);
    border-radius: 999px;
    background: rgba(57, 217, 255, 0.12);
    color: var(--cyan);
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
}

.ranking-active-toggle-form button:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.ranking-player.is-inactive-ranking-player {
    opacity: 0.48;
    filter: grayscale(0.55);
    outline: 1px dashed rgba(255, 255, 255, 0.28);
}

.ranking-player.is-inactive-ranking-player .ranking-active-toggle-form button {
    border-color: rgba(255, 229, 0, 0.68);
    background: rgba(255, 229, 0, 0.14);
    color: var(--yellow);
}

.ranking-inactive-label {
    color: #ff9aa7;
}

.ranking-admin-row:target {
    border-color: rgba(255, 229, 0, 0.85);
    box-shadow: 0 0 0 1px rgba(255, 229, 0, 0.4), 0 0 24px rgba(255, 229, 0, 0.16);
}

.ranking-history-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.ranking-history-list article {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.62);
}

.ranking-history-list strong,
.ranking-history-list small {
    display: block;
}

.ranking-history-list small {
    margin-top: 4px;
    color: var(--muted);
}

.ranking-history-list p {
    margin: 0;
    color: var(--text);
}

.ranking-history-delete-form {
    margin: 0;
}

.stats {
    justify-content: flex-start;
    color: var(--muted);
}

.round-details {
    margin-top: 10px;
}

.round-details summary {
    width: max-content;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.round-detail-table {
    min-width: 560px;
    margin-top: 10px;
    border: 1px solid rgba(57, 217, 255, 0.18);
    background: rgba(5, 9, 13, 0.38);
}

.round-detail-table th,
.round-detail-table td {
    padding: 8px;
    font-size: 12px;
}

.leaderboard-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.view-toggle {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(7, 16, 24, 0.78);
}

.view-toggle button {
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.view-toggle button.active {
    background: var(--yellow);
    color: #05090d;
}

.leaderboard-view {
    display: none;
}

.leaderboard-view.active {
    display: block;
}

.leaderboard:not(.show-all-teams) .leaderboard-extra {
    display: none;
}

.leaderboard-more-card,
.leaderboard-more-row td {
    padding: 10px 0 4px;
    text-align: center;
}

.leaderboard-more-card .button,
.leaderboard-more-row .button {
    min-width: min(100%, 260px);
    border-color: rgba(57, 217, 255, 0.48);
    box-shadow: 0 0 14px rgba(57, 217, 255, 0.12);
}

.team-card-board.active {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.team-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: #14161a;
    contain: layout paint;
}

.team-card.is-matchpoint {
    border-color: rgba(57, 217, 255, 0.78);
    background:
        linear-gradient(90deg, #082b46, #0d151f 38%, #14161a),
        #14161a;
    box-shadow:
        0 0 0 1px rgba(57, 217, 255, 0.16) inset,
        0 0 14px rgba(57, 217, 255, 0.18);
}

.team-card.is-matchpoint summary {
    background: linear-gradient(90deg, rgba(57, 217, 255, 0.12), transparent 58%);
}

.team-card.is-winner {
    border-color: rgba(255, 229, 0, 0.82);
    background:
        linear-gradient(90deg, #4e410a, #0d151f 38%, #14161a),
        #14161a;
    box-shadow:
        0 0 0 1px rgba(255, 229, 0, 0.18) inset,
        0 0 16px rgba(255, 229, 0, 0.18);
}

.team-card summary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 72px;
    padding: 0 18px 0 0;
    cursor: pointer;
    list-style: none;
}

.team-card summary::-webkit-details-marker {
    display: none;
}

.team-card-rank {
    align-self: stretch;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #05090d;
    font-size: 20px;
    font-weight: 950;
}

.team-card.podium-1 .team-card-rank {
    background: var(--yellow);
}

.team-card.podium-2 .team-card-rank {
    background: #d8dde4;
}

.team-card.podium-3 .team-card-rank {
    background: #c07a2d;
}

.team-card-main {
    min-width: 0;
}

.team-card-main strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 19px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-card-main small {
    display: block;
    margin-top: 4px;
}

.team-card summary > b {
    color: var(--green);
    font-size: 25px;
    font-weight: 950;
}

.team-card-rounds {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 10px 16px 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    contain: layout paint;
}

.round-pill {
    flex: 0 0 128px;
    min-height: 112px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: #071018;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.round-pill span,
.round-pill small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.round-pill b {
    display: block;
    margin: 18px 0 6px;
    color: var(--green);
    font-size: 21px;
    text-align: right;
}

.form-grid,
.report-form,
.placement-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
}

.placement-grid {
    margin-top: 16px;
}

label span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #071018;
}

.checkbox-field input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--cyan);
}

.checkbox-field span {
    margin-bottom: 0;
    color: var(--text);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #071018;
    color: var(--text);
    padding: 10px;
    font: inherit;
}

textarea {
    min-height: 220px;
    resize: vertical;
}

.wide {
    display: block;
    margin-top: 16px;
}

.hint {
    margin-top: 10px;
}

.link-box,
.team-link-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-box input {
    flex: 1;
}

.team-link-list {
    align-items: stretch;
    flex-direction: column;
    margin-top: 16px;
}

.team-link-list label {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.team-link-list label span {
    margin-bottom: 0;
}

.copy-all-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.copy-status {
    color: var(--green);
    font-weight: 800;
}

.created-panel {
    border-color: rgba(57, 217, 255, 0.5);
    background: linear-gradient(135deg, rgba(57, 217, 255, 0.08), rgba(13, 18, 25, 0.95));
}

.danger-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-color: rgba(255, 80, 104, 0.45);
    background: linear-gradient(135deg, rgba(255, 80, 104, 0.08), rgba(13, 18, 25, 0.95));
}

.notice {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--panel-2);
    border: 1px solid var(--line);
}

.notice.success {
    border-color: rgba(57, 217, 255, 0.45);
}

.notice.error {
    border-color: rgba(255, 80, 104, 0.6);
    color: #ffd7dd;
}

.team-warning-notice {
    border-color: rgba(255, 80, 104, 0.9);
    background: linear-gradient(135deg, rgba(255, 80, 104, 0.2), rgba(18, 8, 12, 0.94));
    color: #ffd7dd;
    font-weight: 900;
}

.notice.warning {
    border-color: rgba(255, 229, 0, 0.65);
    color: #fff7a8;
}

.dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.34fr);
    gap: 18px;
    align-items: start;
}















.table-wrap {
    overflow-x: auto;
    margin-top: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(38, 54, 70, 0.75);
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

td:nth-child(n+3),
th:nth-child(n+3) {
    text-align: right;
}

td small {
    display: block;
    margin-top: 4px;
}

.matchpoint-row {
    background: rgba(57, 217, 255, 0.08);
}

.winner-row {
    background: rgba(255, 229, 0, 0.13);
}

.sheet-page {
    max-width: 1920px;
}

.sheet-panel {
    background: rgba(8, 13, 19, 0.94);
}

.sheet-wrap {
    overflow: auto;
    margin-top: 18px;
    border: 1px solid rgba(57, 217, 255, 0.28);
    border-radius: 8px;
    background: #071018;
}

.online-sheet {
    min-width: 1500px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.online-sheet th,
.online-sheet td {
    min-width: 58px;
    padding: 7px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.online-sheet th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #06234a;
    color: #eef6ff;
    text-align: center;
}

.online-sheet .sheet-info,
.online-sheet .sheet-game,
.online-sheet .sheet-total {
    background: #021f4d;
    color: #ffffff;
}

.online-sheet .sheet-game {
    border-left: 10px solid #d9dee6;
}

.online-sheet td:nth-child(1),
.online-sheet td:nth-child(2),
.online-sheet td:nth-child(3),
.online-sheet td:nth-child(4) {
    background: rgba(168, 207, 238, 0.18);
}

.online-sheet td strong {
    color: #ffffff;
}

.admin-edited-row {
    background: rgba(57, 217, 255, 0.12);
}

.admin-edited-row td {
    border-bottom-color: rgba(57, 217, 255, 0.35);
}

.confirmed-row {
    background: rgba(57, 217, 255, 0.08);
}

.fragger-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.fragger-brand {
    position: relative;
    display: block;
    aspect-ratio: 2.7 / 1;
    margin: -4px 0 16px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    contain: layout paint;
    cursor: pointer;
    text-decoration: none;
}

.fragger-brand img,
.fragger-brand video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.fragger-brand video,
.fragger-brand [data-fragger-animation] {
    opacity: 0;
}

.fragger-brand.is-playing [data-fragger-logo] {
    opacity: 0;
}

.fragger-brand.is-playing video,
.fragger-brand.is-playing [data-fragger-animation] {
    opacity: 1;
}

.fragger-brand [data-fragger-animation] {
    transform: scale(1.5);
}

.metamodz-ad .metamodz-ad-brand {
    width: 100%;
    height: 70px;
    min-height: 0;
    margin: 8px 0 0;
    aspect-ratio: auto;
    overflow: hidden;
    object-fit: contain;
    object-position: left center;
}

.metamodz-ad .metamodz-ad-brand [data-fragger-animation] {
    transform: scale(1.08);
}

.fragger {
    display: grid;
    grid-template-columns: 46px 1fr 58px;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(38, 54, 70, 0.72);
    border-radius: 8px;
    background: #071018;
    contain: layout paint;
}

.fragger.top-fragger-winner {
    border-color: rgba(177, 171, 255, 0.88);
    background:
        linear-gradient(90deg, #4b2f75, #071018),
        #071018;
    box-shadow:
        0 0 0 1px rgba(177, 171, 255, 0.18) inset,
        0 0 24px rgba(107, 63, 160, 0.32);
}

.fragger.top-fragger-winner span,
.fragger.top-fragger-winner b {
    color: #b1abff;
}

.fragger small {
    grid-column: 2;
}

.fragger b {
    grid-row: 1 / span 2;
    grid-column: 3;
    color: var(--green);
    text-align: right;
}

.report-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
}

.team-switch {
    grid-column: 1;
}

.report-form {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.wide-input {
    grid-column: span 2;
}

.upload-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.upload-field label {
    min-width: 0;
}

.paste-button {
    min-height: 42px;
    white-space: nowrap;
}

.team-timer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(360px, 1.4fr);
    gap: 18px;
    align-items: center;
}

.report-panel + .team-timer {
    display: none;
}

.timer-display {
    min-width: 180px;
    padding: 16px 18px;
    border: 1px solid rgba(57, 217, 255, 0.38);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.78);
    color: var(--yellow);
    font-size: 34px;
    font-weight: 900;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.timer-running .timer-display {
    color: var(--green);
}

.timer-done .timer-display {
    color: var(--danger);
}

.timer-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(90px, 1fr)) repeat(2, auto);
    gap: 12px;
    align-items: end;
}

.timer-controls input {
    min-width: 90px;
}

.admin-login-panel {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.admin-login-form {
    display: grid;
    gap: 14px;
}

.text-link {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
}

.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px 20px 20px;
    background: rgba(0, 0, 0, 0.86);
}

.image-lightbox[hidden] {
    display: none;
}

.round-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.78);
}

.round-modal[hidden] {
    display: none;
}

.round-modal article {
    position: relative;
    width: min(520px, 96vw);
    padding: 26px;
    border: 1px solid rgba(57, 217, 255, 0.45);
    border-radius: 8px;
    background: rgba(7, 16, 24, 0.96);
    box-shadow: 0 0 34px rgba(57, 217, 255, 0.18);
}

.round-modal h2 {
    text-align: center;
}

.round-modal-placement,
.round-modal-total {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 18px 0;
}

.round-modal-placement span,
.round-modal-total span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.round-modal-placement b {
    color: var(--yellow);
    font-size: 58px;
    line-height: 1;
}

.round-modal-total b {
    color: var(--green);
    font-size: 42px;
    line-height: 1;
}

.round-modal-players {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.round-modal-players div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(38, 54, 70, 0.72);
    border-radius: 8px;
    background: rgba(5, 9, 13, 0.7);
}

.round-modal-players b {
    color: var(--yellow);
}

.image-lightbox img {
    max-width: min(1200px, 96vw);
    max-height: 86vh;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #05090d;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--yellow);
    color: #05090d;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.admin-create-report-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
    align-items: end;
    margin-top: 18px;
}

.admin-create-report-panel {
    padding: 0;
}

.admin-create-report-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 0 18px;
    cursor: pointer;
    list-style: none;
}

.admin-create-report-panel summary::-webkit-details-marker {
    display: none;
}

.admin-create-report-panel summary span {
    margin-bottom: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.admin-create-report-panel summary b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(17, 25, 35, 0.86);
    color: var(--text);
    font-size: 14px;
}

.admin-create-report-panel[open] summary {
    border-bottom: 1px solid rgba(38, 54, 70, 0.75);
}

.admin-create-report-panel[open] summary b {
    color: var(--yellow);
}

.admin-create-report-panel > p,
.admin-create-report-panel > form {
    margin-left: 18px;
    margin-right: 18px;
}

.admin-create-report-panel > p {
    margin-top: 16px;
}

.admin-create-report-panel > form {
    margin-bottom: 18px;
}

.admin-create-report-form .wide-input {
    grid-column: span 2;
    margin-top: 0;
}

.admin-create-report-form button {
    justify-self: start;
}

.report-admin-table input,
.report-admin-table select {
    min-width: 84px;
}

.inline-kill-field {
    display: block;
    min-width: 110px;
}

.inline-kill-field span {
    margin-bottom: 5px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
}

.report-admin-table .button {
    min-height: 36px;
    padding: 0 12px;
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.warning-action {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 6px;
    align-items: center;
    flex: 1 0 100%;
    min-width: 260px;
}

.warning-badge {
    grid-column: 1 / -1;
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border: 1px solid rgba(255, 80, 104, 0.65);
    border-radius: 999px;
    background: rgba(255, 80, 104, 0.16);
    color: #ffd7dd;
    font-size: 11px;
    font-weight: 900;
}

.report-filter-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0;
}

.report-filter-bar .button {
    min-height: 42px;
}

.empty-state {
    grid-column: 1 / -1;
    align-items: flex-start;
}

code {
    color: var(--cyan);
}

.site-footer {
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 34px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--cyan);
}

.impressum-page {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.impressum-page h2 {
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--text);
}

.impressum-page h2:first-child {
    margin-top: 0;
}

.impressum-page h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 18px;
}

.impressum-page p {
    max-width: 980px;
    margin-bottom: 12px;
}

.paste-hint {
    align-self: center;
    margin-bottom: 0;
}

.paste-hint:empty {
    display: none;
}

.paste-hint.paste-error {
    color: #ffd7dd;
}

body.stream-body {
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
}

.stream-page {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 18px;
    background: transparent;
    pointer-events: none;
}

.stream-shell {
    position: relative;
    width: min(560px, 100%);
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.stream-header,
.stream-board-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.stream-header {
    padding-left: 6px;
    padding-right: 6px;
    border-bottom: 0;
    background: transparent;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.92);
}

.stream-feature {
    position: absolute;
    inset: 46px 12px 12px;
    overflow: hidden;
}

.stream-rank-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 24px 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
}

.stream-rank-1 {
    animation: streamFeatureOne 60s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stream-rank-2 {
    animation: streamFeatureTwo 60s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stream-rank-3 {
    animation: streamFeatureThree 60s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stream-rank {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: var(--yellow);
    color: #05090d;
    font-size: 25px;
    font-weight: 950;
    box-shadow: 0 0 22px rgba(255, 229, 0, 0.34);
}

.stream-rank-card strong,
.stream-row strong {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 9px;
    overflow: hidden;
    color: var(--text);
    font-weight: 950;
}

.stream-rank-card strong {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: clamp(28px, 6vw, 46px);
    line-height: 0.98;
    text-shadow:
        0 3px 0 rgba(0, 0, 0, 0.78),
        0 0 18px rgba(57, 217, 255, 0.45);
}

.stream-rank-card strong span:not(.stream-name-separator),
.stream-row strong span:not(.stream-name-separator) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stream-rank-card strong span:not(.stream-name-separator) {
    max-width: 100%;
}

.stream-row strong span:not(.stream-name-separator) {
    max-width: 42%;
}

.stream-name-separator {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.stream-feature-name {
    min-width: 0;
}

.stream-feature-name em {
    display: inline-flex;
    margin-top: 12px;
    padding: 4px 8px;
    border: 1px solid rgba(57, 217, 255, 0.5);
    border-radius: 999px;
    color: var(--green);
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
    background: rgba(8, 22, 31, 0.52);
    box-shadow: 0 0 16px rgba(57, 217, 255, 0.18);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.stream-points {
    align-self: flex-start;
    text-align: left;
}

.stream-points b {
    display: block;
    color: var(--yellow);
    font-size: clamp(34px, 7vw, 56px);
    line-height: 1;
    text-shadow:
        0 3px 0 rgba(0, 0, 0, 0.82),
        0 0 20px rgba(255, 229, 0, 0.45);
}

.stream-points span {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.stream-board-title {
    position: absolute;
    top: 46px;
    left: 12px;
    right: 12px;
    margin: 0 6px;
    padding: 9px 0;
    border-bottom: 0;
    opacity: 0;
    animation: streamBoardPhase 60s infinite linear;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.92);
}

.stream-board-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stream-board {
    position: absolute;
    inset: 90px 0 0;
    height: auto;
    overflow: hidden;
    opacity: 0;
    animation: streamBoardPhase 60s infinite linear;
}

.stream-scroll {
    animation: streamScroll 60s linear infinite;
}

.stream-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 118px;
    gap: 10px;
    align-items: center;
    min-height: 54px;
    margin: 0 6px 8px;
    padding: 7px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.stream-row span {
    color: var(--cyan);
    font-size: 18px;
    font-weight: 950;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.86),
        0 0 12px rgba(57, 217, 255, 0.5);
}

.stream-row strong {
    font-size: clamp(16px, 3.2vw, 23px);
    min-width: 0;
    gap: 0 8px;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.86),
        0 0 12px rgba(57, 217, 255, 0.28);
}

.stream-row b {
    color: var(--yellow);
    text-align: right;
    white-space: nowrap;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.86),
        0 0 14px rgba(255, 229, 0, 0.45);
}

.stream-row em {
    grid-column: 2 / 4;
    margin-top: -5px;
    color: var(--green);
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    text-align: right;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.9);
}

.stream-row em:empty {
    display: none;
}

@keyframes streamFeatureOne {
    0%, 2% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    5%, 15% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    20%, 100% {
        opacity: 0;
        transform: translateY(-24px) scale(0.96);
    }
}

@keyframes streamFeatureTwo {
    0%, 19% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    22%, 32% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    37%, 100% {
        opacity: 0;
        transform: translateY(-24px) scale(0.96);
    }
}

@keyframes streamFeatureThree {
    0%, 36% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    39%, 49% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    54%, 100% {
        opacity: 0;
        transform: translateY(-24px) scale(0.96);
    }
}

@keyframes streamBoardPhase {
    0%, 54% {
        opacity: 0;
    }
    58%, 96% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes streamScroll {
    0%, 56% {
        transform: translateY(0);
    }
    96%, 100% {
        transform: translateY(calc(var(--stream-count) * -62px));
    }
}

@media (max-width: 1000px) {
    .dashboard,
    .hero-content,
    .ranking-hero-layout,
    .ranking-control-panel,
    .ranking-management,
    .home-route-grid,
    .home-community-split,
    .home-social-grid,
    .report-panel,
    .team-timer,
    .report-form,
    .form-grid,
    .admin-stats-grid,
    .admin-user-create-form,
    .admin-user-edit-form,
    .admin-user-row,
    .admin-faq-form,
    .placement-grid,
    .report-filter-bar,
    .admin-create-report-form,
    .admin-hub-grid,
    .team-link-list label {
        grid-template-columns: 1fr;
    }

    .ranking-editor-form,
    .ranking-inline-form,
    .ranking-move-form,
    .ranking-history-list article,
    .ranking-admin-row {
        grid-template-columns: 1fr;
    }

    .ranking-board {
        grid-template-columns: repeat(16, minmax(190px, 220px));
    }

    .ranking-board-sections {
        grid-template-columns: 1fr;
    }

    .ranking-board-sections .ranking-player-list {
        grid-template-columns: 1fr;
    }

    .report-form,
    .team-switch,
    .wide-input,
    .admin-create-report-form .wide-input {
        grid-column: auto;
        grid-row: auto;
    }

    .timer-controls {
        grid-template-columns: repeat(2, minmax(90px, 1fr));
    }

    .hero-rule-wrap {
        justify-self: start;
        margin-bottom: 30px;
    }

    .team-card summary {
        grid-template-columns: 54px minmax(0, 1fr);
        padding-right: 12px;
    }

    .team-card summary > b {
        grid-column: 2;
        justify-self: start;
        font-size: 22px;
    }

    .team-card-rounds {
        padding-left: 10px;
    }

    .home-ranking-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-faq-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-ranking-actions,
    .home-social-card .button,
    .home-faq-panel .button {
        width: 100%;
    }

    .home-ranking-actions {
        justify-content: flex-start;
    }

    .metamodz-ad {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
        min-height: 0;
        padding: 24px 16px 16px;
    }

    .metamodz-ad .metamodz-ad-brand {
        width: min(260px, 100%);
        height: 56px;
    }

    .metamodz-ad-cta {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .page {
        width: min(100% - 20px, 1500px);
    }

    .nav,
    .section-head,
    .card-actions,
    .link-box {
        align-items: stretch;
        flex-direction: column;
    }

    .nav {
        align-items: flex-end;
        min-height: 72px;
    }

    .nav > .brand {
        top: 0;
        transform: translateX(-50%);
    }

    .brand img {
        width: 72px;
        height: 72px;
    }

    .home-page .brand img {
        width: 92px;
        height: 92px;
    }

    .hero,
    .hero.compact {
        min-height: 0;
    }

    .home-hero {
        min-height: 0;
    }

    .home-hero-center {
        padding: 26px 0 42px;
    }

    .home-hero-center h1 {
        font-size: clamp(46px, 14vw, 62px);
    }

    .home-hero-center p {
        font-size: 15px;
    }

    .home-actions,
    .social-actions {
        width: 100%;
    }

    .home-actions .button,
    .social-actions .button {
        width: 100%;
    }

    .home-logo-orbit {
        width: 220px;
        height: 220px;
    }

    .hero-copy {
        padding: 44px 0 30px;
    }

    .panel {
        padding: 16px;
    }

    .timer-display {
        min-width: 0;
        font-size: 28px;
    }

    .ranking-live-card {
        margin-bottom: 20px;
    }

    .leaderboard-tools {
        align-items: flex-start;
        flex-direction: column;
    }





    .hero-rule-wrap {
        grid-template-columns: 92px minmax(0, 1fr);
        width: 100%;
    }

    .hero-rule-logo {
        width: 92px;
        height: 92px;
    }
}
