/* /Layout/MainLayout.razor.rz.scp.css */
.judge-layout[b-4ymfks0dpn] {
    --judge-header-height: 102px;
    min-height: 100vh;
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.judge-header[b-4ymfks0dpn] {
    position: relative;
    z-index: 20;
    min-height: 102px;
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2f2f35;
    background: #151515;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34);
}

.judge-header-left[b-4ymfks0dpn],
.judge-header-right[b-4ymfks0dpn] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.judge-header-right[b-4ymfks0dpn] {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-right: 170px;
}

.judge-header-right-stacked[b-4ymfks0dpn] {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
}

.judge-logo[b-4ymfks0dpn] {
    height: 92px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.judge-brand-text[b-4ymfks0dpn] {
    display: grid;
    gap: 2px;
    line-height: 1;
}

.judge-brand-text strong[b-4ymfks0dpn] {
    color: #f04b55;
    font-size: 1.02rem;
    letter-spacing: 0.04em;
}

.judge-brand-text span[b-4ymfks0dpn] {
    color: #d1d5db;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-dot[b-4ymfks0dpn] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
    cursor: help;
}

.status-dot-ok[b-4ymfks0dpn] {
    background: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.15);
}

.status-dot-warn[b-4ymfks0dpn] {
    background: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15);
}

.status-corner[b-4ymfks0dpn] {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: 10px;
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #4b4b54;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f2025, #18191d);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.header-link[b-4ymfks0dpn] {
    color: #f3f4f6;
    border: 1px solid #444;
    border-radius: 999px;
    background: #202124;
    padding: 8px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.header-link:hover[b-4ymfks0dpn] {
    background: #2a2a2e;
    border-color: #5b5b61;
}

.header-actions[b-4ymfks0dpn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 4px;
    border: 1px solid #45454d;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f2025, #18191d);
}

.header-actions-with-status[b-4ymfks0dpn] {
    margin-left: 0;
}

.judge-header-status-box[b-4ymfks0dpn] {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    border: 1px solid #45454d;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f2025, #18191d);
    margin-right: 8px;
}

.judge-header-right-stacked .judge-header-status-box[b-4ymfks0dpn] {
    margin-right: 0;
}

.header-actions .header-link[b-4ymfks0dpn] {
    border: 0;
    background: transparent;
    min-height: 40px;
    padding: 8px 11px;
}

.header-actions .header-link:hover[b-4ymfks0dpn] {
    background: #2a2d34;
    border-color: transparent;
}

.header-link-danger[b-4ymfks0dpn] {
    border: 1px solid #9f3943 !important;
    background: #341b20 !important;
    color: #ffd9dd;
}

.header-link-danger:hover[b-4ymfks0dpn] {
    border-color: #bf4a55 !important;
    background: #48262d !important;
}

.judge-main[b-4ymfks0dpn] {
    flex: 1;
    padding: clamp(10px, 1.3vw, 18px);
}

.judge-live-status-strip-header[b-4ymfks0dpn] {
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    padding-left: 0;
}

.global-navigation-progress[b-4ymfks0dpn] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    overflow: hidden;
    z-index: 118;
    background: rgba(240, 75, 85, 0.18);
}

.global-navigation-progress-bar[b-4ymfks0dpn] {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ed2024, #f37278);
    animation: global-navigation-progress-indeterminate-b-4ymfks0dpn 1.15s ease-in-out infinite;
}

@keyframes global-navigation-progress-indeterminate-b-4ymfks0dpn {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(320%);
    }
}

@media (max-width: 820px) {
    .judge-layout[b-4ymfks0dpn] {
        --judge-header-height: 84px;
    }

    .judge-header[b-4ymfks0dpn] {
        padding: 6px 8px;
        min-height: 84px;
    }

    .judge-logo[b-4ymfks0dpn] {
        height: 68px;
    }

    .header-link[b-4ymfks0dpn],
    .status-corner[b-4ymfks0dpn] {
        padding: 8px 10px;
    }

    .header-actions[b-4ymfks0dpn] {
        padding: 3px;
    }

    .header-actions-with-status[b-4ymfks0dpn] {
        margin-left: 0;
    }

    .judge-header-status-box[b-4ymfks0dpn] {
        padding: 3px 5px;
        margin-right: 6px;
    }

    .judge-brand-text strong[b-4ymfks0dpn] {
        font-size: 0.95rem;
    }

    .judge-brand-text span[b-4ymfks0dpn] {
        font-size: 0.72rem;
    }
}

@media (pointer: coarse) {
    .judge-layout[b-4ymfks0dpn] {
        --judge-header-height: 96px;
    }

    .judge-header[b-4ymfks0dpn] {
        min-height: 96px;
        padding: 8px 12px;
    }

    .header-link[b-4ymfks0dpn],
    .status-corner[b-4ymfks0dpn] {
        min-height: 48px;
    }
}

@media (max-width: 620px) {
    .judge-header-status-box[b-4ymfks0dpn] {
        display: none;
    }

    .judge-header-right[b-4ymfks0dpn] {
        padding-right: 0;
    }

    .status-corner[b-4ymfks0dpn] {
        top: calc(env(safe-area-inset-top, 0px) + 6px);
        right: 8px;
        gap: 8px;
        padding: 8px 10px;
    }
}
