@font-face {
    font-family: "Pretendard-Regular";
    src: url("https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff")
        format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* 배경색 */
    --bg-color: #ffffff;
    --bg-light: #f4f4f4;
    --bg-heavy-light: #e9e9e9;

    /* 상태 컬러 */
    --success-color: #2ecc71; /* 초록색 계열 */
    --danger-color: #e74c3c; /* 빨간색 계열 */
    --warning-color: #f1c40f; /* 노란색 계열 */
    --info-color: #3498db; /* 파란색 계열 */

    /* 텍스트 & 보더 */
    --text-color: #2c3e50; /* 진한 텍스트 */
    --text-light: #ffffff; /* 밝은 텍스트 */
    --text-muted: #7f8c8d; /* 흐린 텍스트 */
    --border-color: #bdc3c7; /* 보더 */

    /* 강조색 */
    --accent-color: #ffa726; /* 주황색 계열 */
    --accent-hover-color: #ff9100; /* 진한 주황색 */
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Pretendard-Regular", sans-serif;
    background-color: var(--bg-light);
}

body {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    /* -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
}

button {
    font-family: "Pretendard-Regular", sans-serif;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    background-color: var(--bg-color);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

main {
    flex: 1;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

.custom-alert {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.alert-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
    text-align: center;
}

#alert-message {
    margin: 10px 0;
    white-space: pre-wrap;
}

.alert-button {
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#alert-no {
    background-color: #f44336;
}

#alert-yes {
    background-color: #4caf50;
}

button {
    cursor: pointer;
}

.primary-btn.inline-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    width: fit-content;
    font-size: 14px;
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    width: fit-content;
    font-size: 14px;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    transform: translateY(-1px);
}

.danger-btn {
    background-color: var(--danger-color);
    color: var(--text-light);
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    width: fit-content;
    font-size: 0.9rem;
}

.header-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
    margin-left: 8px;
    flex-wrap: wrap;
}

.header-title {
    flex: 1;
}

.header-title h1 {
    margin-bottom: 5px;
    font-size: 26px;
}

.header-btns {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.message.clickable {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.message .close-button {
    cursor: pointer;
    margin-left: 10px;
    font-size: 20px;
    color: #c73939;
}

.message .close-button:hover {
    color: #9c0101;
}

.sub-nav.competition-sub-nav {
    display: none;
}

.sub-nav-content.competition-sub-nav-content {
    flex-direction: row;
    padding: 5px 20px;
    flex-wrap: wrap;
    row-gap: 8px;
}

@media (max-width: 730px) {
    .sub-nav-content.competition-sub-nav-content {
        font-size: 0.9rem;
    }
}

.loading {
    opacity: 0.5;
    cursor: wait;
}

div.jQBracket .team {
    height: 22px;
}

div.jQBracket .team div.score {
    display: none;
}

.fc-timegrid-event .fc-event-time {
    display: none;
}

.fc-timegrid-slot.custom-slot-height {
    height: 50px !important;
}

.fc-event.non-editable-event {
    opacity: 0.6;
}

.banner-image-container {
    display: none;
    background-color: white;
    width: 100%;
    aspect-ratio: 10 / 1;
    min-height: 30px;
    max-height: 50px;
    overflow: hidden;
    position: relative;
    justify-content: center;
    align-items: center;
}

@media (max-width: 400px) {
    .header-title h1 {
        font-size: 20px;
    }
    .header-title p {
        font-size: 14px;
    }

    .secondary-btn,
    .primary-btn.inline-btn {
        padding: 8px 12px;
    }
}

/* Footer 스타일 */
footer {
    flex-shrink: 0;
    background-color: var(--text-color);
    padding: 40px 0 20px;
    color: #e5e7eb;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
}

.download-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.download-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.download-link i {
    margin-right: 8px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    grid-column: 1 / -1;
}

/* 모바일 반응형 */
@media (max-width: 600px) {
    footer {
        padding: 30px 0 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section:not(:last-child) {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .download-link {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 0;
        padding-top: 15px;
        border-top: none;
    }
}

/* 네비게이션 기본 스타일 */
nav {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper .sub-nav {
    background-color: var(--primary-color);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 로고 영역 */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    height: 100%;
}

img.squash-logo {
    height: 40px;
}

.logo div {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 5px;
}

.logo_text {
    font-size: 14px;
    font-weight: 400;
    color: white;
    margin-top: 3px;
}

/* 모바일 토글 버튼 */
.nav-toggle {
    display: none;
    align-items: center;
    background: none;
    border: none;
    padding: 8px;
    color: white;
    cursor: pointer;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* 네비게이션 링크 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-greeting {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.login-button {
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-button:hover {
    background-color: white;
    color: var(--primary-color);
}

.logout-button {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    background: transparent;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.logout-button:hover {
    border-color: white;
    color: white;
}

.logout-button option {
    color: var(--text-color);
}

.contact-button {
    background-color: white;
    color: var(--primary-hover-color);
}

.contact-button:hover {
    color: var(--primary-hover-color);
}

/* 서브 네비게이션 */
.sub-nav::-webkit-scrollbar {
    display: none;
}

.sub-nav.competition-sub-nav,
.sub-nav.home-sub-nav {
    background-color: white;
}

.sub-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.sub-nav-link {
    padding: 12px 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.sub-nav-link:hover {
    color: var(--primary-color);
}

.sub-nav-link.active {
    color: var(--primary-color);
}

/* 모바일 대응 스타일 */
@media (max-width: 850px) {
    .nav-content {
        flex-wrap: nowrap;
        position: relative;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-hover-color);
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .logout-form {
        width: 100%;
    }

    .logout-button,
    .login-button {
        width: 100%;
        text-align: center;
        margin: 4px 0;
        box-sizing: border-box;
    }
}

@media (max-width: 500px) {
    .nav-content {
        padding: 8px;
    }

    .logo {
        height: 45px;
    }

    .logo_text {
        font-size: 12px;
    }

    .sub-nav-content {
        padding: 0 12px;
    }

    .sub-nav-link {
        padding: 12px 0;
        font-size: 13px;
    }

    .header-with-button {
        flex-direction: column;
    }
}

.sub-nav-content.competition-sub-nav-content .sub-nav-link {
    position: relative;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.sub-nav-content.competition-sub-nav-content .sub-nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--primary-color-10);
}

.sub-nav-content.competition-sub-nav-content .sub-nav-link:hover {
    background-color: var(--primary-color-10);
    color: var(--primary-color);
}

/* 모바일 대응 */
@media (max-width: 730px) {
    .sub-nav-content.competition-sub-nav-content {
        gap: 8px;
        padding: 8px 20px;
    }

    .sub-nav-content.competition-sub-nav-content .sub-nav-link {
        padding: 6px 12px;
    }
}

@media (max-width: 500px) {
    .sub-nav-content.competition-sub-nav-content .sub-nav-link {
        padding: 6px;
    }
}

/* 뒤로가기 버튼 */
.back-btn {
    display: block;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    margin: 4rem 0;
    transition: color 0.2s ease;
}

@media (max-width: 500px) {
    .back-btn {
        margin: 3rem 0;
    }
}

.back-btn:hover {
    color: var(--text-color);
}

/* 메인 버튼 */
.primary-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.primary-btn:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-1px);
}

.primary-btn.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.primary-btn.btn-light:hover {
    background-color: var(--bg-light);
}

.messages {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 1;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
}

.message::before {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.message.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

.message.success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.message.error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z'/%3E%3C/svg%3E");
}

.message.info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border-left: 4px solid #3498db;
}

.message.info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.message.warning {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f39c12;
    border-left: 4px solid #f1c40f;
}

.message.warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1c40f'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 필요한 경우 자동 숨김 애니메이션 */
.message.hide {
    opacity: 0;
    transform: translateX(-100%);
}

/* 모바일 대응 */
@media (max-width: 480px) {
    .message {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* 헤더버튼 */
.header-title h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    white-space: nowrap;
}

.header-title p {
    font-size: 16px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .header-title h1 {
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .header-with-button {
        align-items: start;
    }
}

/* 검색 및 필터 영역 */
.query-container {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.division-select-form select {
    min-width: 200px;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: white;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.2s ease;
}

.division-select-form select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 86, 178, 0.1);
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-container input {
    width: 100%;
    padding: 10px 16px;
    padding-right: 44px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.search-container input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 86, 178, 0.1);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--text-muted);
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-button:hover {
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .query-container {
        flex-direction: column;
        gap: 12px;
    }

    .search-container {
        min-width: 100%;
    }

    .division-select-form select {
        width: 100%;
    }
}

/* bracket */
div.jQBracket {
    font-family: "Pretendard-Regular", sans-serif !important;
}

div.jQBracket .team {
    background-color: white !important;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s ease;
    height: 32px !important;
}

div.jQBracket .team:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(34, 86, 178, 0.1);
}

div.jQBracket .team .label {
    height: 100% !important;
    display: flex;
    align-items: center;
    padding: 3px 10px !important;
}

/* 대회 개최 순서 */
.step-indicator {
    background: white;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .step-indicator {
        margin-bottom: 2rem;
    }
}

.step-indicator h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 20px 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 16px;
    gap: 8px;
    flex-wrap: wrap;
}

.steps-container::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.step-link:not(.disabled):hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.step-link.disabled {
    cursor: not-allowed;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.3s ease;
    word-break: keep-all;
}

/* Active step */
.step.active .step-number {
    background: white;
    border-color: var(--primary-color);
    border-width: 3px;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step.active .step-title {
    color: var(--primary-color);
    font-weight: 700;
    transform: scale(1.05);
}

.step.active .step-link:not(.disabled):hover {
    background-color: rgba(34, 86, 178, 0.05);
}

/* Completed step */
.step.completed .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    z-index: 999;
}

.step.completed .step-title {
    color: var(--text-color);
}

.step.completed::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
}

.step.completed .step-link:not(.disabled):hover {
    background-color: var(--primary-color-10);
}

.step-description {
    background-color: var(--primary-color-10);
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .step-indicator h2 {
        font-size: 16px;
    }

    .step-title {
        font-size: 12px;
    }

    .step-indicator {
        padding: 20px;
    }
}

/* 페이지네이션 스타일 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-link:hover:not(.disabled):not(.current) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(34, 86, 178, 0.05);
}

.pagination-link.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* 대회 개최 배너 */
.host-banner {
    background-color: rgba(34, 86, 178, 0.08);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(34, 86, 178, 0.15);
}

.host-banner-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--primary-color);
}

.host-banner-button {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.host-banner-button:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-1px);
}

.host-banner-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.host-banner-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.host-banner.hidden {
    display: none;
}

@media (max-width: 600px) {
    .host-banner-content {
        font-size: 13px;
    }

    .host-banner-button {
        padding: 4px 10px;
        font-size: 12px;
    }
}

.host-button {
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.host-button::before {
    content: "대회 개최를 원하시나요?";
    font-size: 12px;
    margin-right: 8px;
    opacity: 0.85;
    display: inline-block;
}

.host-button:hover {
    background-color: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .host-button {
        width: 100%;
        text-align: center;
        margin: 4px 0;
        box-sizing: border-box;
        justify-content: center;
    }
}

/* 테이블 가이드 텍스트 */
.table-guide {
    margin-bottom: 12px;
    padding: 12px 16px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid var(--primary-color-10);
    border-left: 4px solid var(--primary-color);
    font-size: 14px;
    color: #475569;
    background-color: var(--primary-color-5);
}

.table-guide ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.table-guide li {
    position: relative;
    padding: 4px 0;
}

.table-guide li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--primary-hover-color);
}

.set-language-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-container {
    display: flex;
    gap: 16px;
}

.nav-links .user-greeting {
    display: none;
}

@media (max-width: 730px) {
    .set-language-container {
        gap: 0;
    }

    .nav-link-container {
        gap: 0;
    }

    .set-language-container .user-greeting {
        display: none;
    }

    .nav-links .user-greeting {
        display: block;
        text-align: center;
    }
}

/* 앱 배너 스타일 */
.app-banner {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(34, 86, 178, 0.15);
}

.app-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.app-banner-link:hover {
    opacity: 0.9;
}

.app-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 150px;
    object-fit: cover;
    background-color: rgba(34, 86, 178, 0.05);
}

.app-banner-image[src=""],
.app-banner-image:not([src]) {
    display: none;
}

@media (max-width: 600px) {
    .app-banner-image {
        max-height: 100px;
    }
}
