.competition-main {
    background: #f6f8fb;
    padding-bottom: 32px;
}

.competition-main .banner-section {
    background: linear-gradient(135deg, #0066cc 0%, #2563eb 50%, #3b82f6 100%);
    max-width: 1200px;
    height: 350px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.competition-main .banner-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.competition-home-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.competition-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 32px;
}

.competition-main .job-list-layout {
    margin-top: 19px;
}

.competition-main .main-content-area {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.competition-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.competition-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
    cursor: pointer;
    position: relative;
    background: #fff;
}

.competition-card:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.competition-card .card-banner {
    background: linear-gradient(135deg, #0066cc 0%, #2563eb 60%, #3b82f6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 19px;
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.competition-card .card-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.14), transparent 35%);
}

.competition-card .card-banner.has-cover::before {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.18));
}

.competition-card .card-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-banner-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.4;
    padding: 0 6px;
}

.card-banner-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 5px;
}

.card-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    background: #94a3b8;
    color: #fff;
}

.status-running {
    background: #ff6b35;
}

.status-pending {
    background: #2563eb;
}

.status-finished {
    background: #94a3b8;
}

.competition-card .card-body {
    padding: 19px 24px;
}

.competition-card .card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 13px;
    line-height: 1.4;
    transition: color 0.2s;
}

.competition-card .card-title a {
    color: inherit;
    text-decoration: none;
}

.competition-card:hover .card-title {
    color: #2563eb;
}

.competition-card .card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-item,
.meta-item-last {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.meta-item-last {
    justify-content: space-between;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.meta-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.btn-apply {
    padding: 6px 19px;
    background: #2563eb;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-apply:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-apply.is-disabled,
.btn-apply.is-disabled:hover {
    background: #94a3b8;
    color: #fff;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.competition-empty {
    padding: 40px 16px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 768px) {
    .competition-main .banner-section {
        height: 220px;
    }

    .competition-container {
        padding: 0 16px 24px;
    }

    .competition-card {
        grid-template-columns: 1fr;
    }
}

.competition-detail-main {
    background: #f6f8fb;
    padding-bottom: 48px;
}

.competition-detail-main .breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #64748b;
}

.competition-detail-main .breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.competition-detail-main .breadcrumb a:hover {
    text-decoration: underline;
}

.competition-detail-main .breadcrumb .sep {
    color: #cbd5e1;
}

.detail-banner-shell {
    padding: 0 2rem;
}

.detail-banner {
    max-width: 1200px;
    height: 350px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0066cc 0%, #2563eb 50%, #3b82f6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.detail-banner.has-cover {
    background-color: #f6f6f6;
    /* background-size: cover; */
    background-position: center;
    background-repeat: no-repeat;
}

.detail-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 360px;
    height: 360px;
    /* background: rgba(255,255,255,0.06); */
    border-radius: 50%;
}

.detail-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -40px;
    width: 260px;
    height: 260px;
    /* background: rgba(255,255,255,0.04); */
    border-radius: 50%;
}

.detail-banner.has-cover::after {
    display: none;
}

.detail-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    text-align: center;
    color: #fff;
    padding: 0 2rem 2rem;
}

.detail-banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: min(900px, 100%);
    margin: 0;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.34);
}

.detail-banner-status {
    display: inline-block;
    margin-top: 0;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-banner-status.status-running {
    background: #FF6B35;
    color: #fff;
}

.detail-banner-status.status-pending {
    background: #2563EB;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.detail-banner-status.status-finished,
.detail-banner-status.status-unknown {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.info-section {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 2rem; */
    background: none;
}

.info-card {
    /* background: #fff; */
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem 2.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 2rem;
}

.info-main {
    flex: 1;
    min-width: 0;
}

.info-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 1.2rem 0;
    line-height: 1.5;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 2.5rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.info-label {
    flex-shrink: 0;
    color: #94a3b8;
    min-width: 70px;
    font-weight: 500;
}

.info-value {
    color: #1e293b;
}

.info-row.full {
    grid-column: 1 / -1;
}

.info-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-shrink: 0;
    padding-top: 0.3rem;
}

.competition-detail-main .btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 2rem;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.competition-detail-main .btn-apply:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.competition-detail-main .btn-apply.is-disabled,
.competition-detail-main .btn-apply.is-disabled:hover {
    background: #94a3b8;
    color: #fff;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.competition-detail-main .btn-vote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 2rem;
    background: #fff;
    color: #2563EB;
    border: 1.5px solid #2563EB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.competition-detail-main .btn-vote:hover {
    background: #EFF6FF;
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.6rem;
    justify-content: center;
}

.share-label {
    font-size: 0.78rem;
    color: #94a3b8;
}

.share-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.share-icon:hover {
    opacity: 0.7;
}

.share-wx {
    background: #07C160;
    color: #fff;
}

.share-wb {
    background: #E6162D;
    color: #fff;
}

.share-link {
    background: #E2E8F0;
    color: #64748b;
}

.tabs-section {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 2rem 3rem;
}

.tabs-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #F1F5F9;
    padding: 0 2.5rem;
    /* overflow-x: auto; */
}

.tab-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}

.tab-btn:hover {
    color: #2563EB;
}

.tab-btn.active {
    color: #2563EB;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2563EB;
    border-radius: 3px 3px 0 0;
}

.tab-panel {
    display: none;
    padding: 1.8rem 2.5rem;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #E8EDF3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    text-decoration: none;
}

.notice-item:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 14px rgba(37,99,235,0.10);
    transform: translateY(-2px);
}

.notice-item:hover .notice-title {
    color: #2563EB;
}

.notice-item.expanded {
    border-color: #2563EB;
    box-shadow: 0 4px 14px rgba(37,99,235,0.12);
    transform: none;
}

.notice-item.expanded .notice-title {
    color: #2563EB;
}

.notice-item.expanded .notice-arrow {
    transform: rotate(90deg);
}

.notice-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.notice-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563EB;
}

.notice-badge.has-cover {
    padding: 0;
    overflow: hidden;
}

.notice-badge-cover {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    object-fit: contain;
}

.notice-badge.badge-news {
    background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 100%);
    color: #D97706;
}

.notice-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.notice-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.notice-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-date {
    flex-shrink: 0;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-left: 1rem;
}

.notice-arrow {
    flex-shrink: 0;
    margin-left: 0.6rem;
    color: #cbd5e1;
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.notice-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    opacity: 0;
    background: #F8FAFC;
    border-radius: 0 0 10px 10px;
    border: 1px solid transparent;
    border-top: none;
    margin-top: 0;
}

.notice-detail.open {
    max-height: 600px;
    opacity: 1;
    padding: 1.5rem 1.8rem;
    border-color: #E8EDF3;
    margin-top: -1px;
}

.notice-detail-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.notice-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E8EDF3;
}

.notice-detail-body {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.85;
}

.notice-detail-body p {
    margin: 0 0 0.8rem 0;
}

.notice-detail-body p:last-child {
    margin-bottom: 0;
}

.notice-detail-close {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.2rem;
    padding: 0.4rem 1rem;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.notice-detail-close:hover {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.detail-body {
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.85;
}

.detail-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1E293B;
    margin: 1.5rem 0 0.8rem 0;
    padding-left: 0.8rem;
    border-left: 3px solid #2563EB;
}

.detail-body h4:first-child {
    margin-top: 0;
}

.detail-body p {
    margin: 0 0 0.9rem 0;
}

.detail-body ul {
    padding-left: 1.5rem;
    margin-bottom: 0.9rem;
}

.detail-body li {
    margin-bottom: 0.4rem;
}

.timeline {
    position: relative;
    padding-left: 1.8rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #E2E8F0;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.8rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563EB;
    border: 3px solid #DBEAFE;
}

.timeline-dot.done {
    background: #94a3b8;
    border-color: #E2E8F0;
}

.timeline-title {
    font-size: 0.93rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.timeline-time {
    font-size: 0.82rem;
    color: #94a3b8;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.file-item:hover {
    border-color: #2563EB;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.file-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.file-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1E293B;
    line-height: 1.4;
}

.file-size {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 2px;
}

.file-download {
    padding: 0.4rem 1rem;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.file-download:hover {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.tab-more {
    margin: 18px 0 0;
    text-align: right;
}

.tab-more a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    padding: 3vh 1rem;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.25s ease;
}

.modal-overlay.open {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    width: 100%;
    max-width: 920px;
    margin-bottom: 3vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2rem;
    border-bottom: 1px solid #F1F5F9;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1E293B;
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #2563EB;
    border-radius: 2px;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #E8EDF3;
    border-radius: 50%;
    background: #F8FAFC;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #EFF6FF;
    color: #2563EB;
    border-color: #BFDBFE;
}

.modal-body {
    padding: 1.8rem 2rem;
    max-height: 72vh;
    overflow-y: auto;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.2rem;
    padding-left: 0.8rem;
    border-left: 3px solid #2563EB;
    color: #1E293B;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-section-title span {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 400;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-label .required {
    color: #EF4444;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.55rem 0.9rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-sizing: border-box;
    background: #F8FAFC;
    color: #1E293B;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input:focus,
.form-select:focus {
    border-color: #2563EB;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #CBD5E1;
}

.form-select {
    appearance: none;
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
}

.upload-section {
    margin-top: 0.5rem;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}

.upload-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.upload-item.full {
    grid-column: 1 / -1;
}

.upload-label {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
}

.upload-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-input {
    flex: 1;
    padding: 0.5rem 0.8rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-sizing: border-box;
    background: #F8FAFC;
    color: #94a3b8;
    font-size: 0.82rem;
    outline: none;
}

.upload-input:focus {
    border-color: #2563EB;
    background: #fff;
}

.btn-upload,
.btn-preview {
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upload {
    border: 0;
    background: #2563EB;
    color: #fff;
}

.btn-upload:hover {
    background: #1d4ed8;
}

.btn-preview {
    border: 1px solid #E2E8F0;
    background: #fff;
    color: #64748b;
}

.btn-preview:hover {
    border-color: #BFDBFE;
    background: #EFF6FF;
    color: #2563EB;
}

.competition-apply-summary {
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.competition-apply-summary strong {
    display: block;
    margin-bottom: 6px;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
}

.competition-apply-summary span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.competition-track-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.competition-track-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.competition-track-option:hover,
.competition-track-option:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.competition-track-option input {
    margin-top: 3px;
    flex-shrink: 0;
}

.competition-track-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.competition-track-option strong {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.4;
}

.competition-track-option em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.competition-apply-form-section {
    margin-top: 24px;
}

.competition-apply-fields {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.competition-apply-fields .competition-field-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 6px 10px;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: none;
}

.competition-apply-fields .competition-field-row.is-editable,
.competition-apply-fields .table-card.is-editable {
    border-color: #bfdbfe;
    border-left: 3px solid #3b82f6;
    background: #ffffff;
}

.competition-apply-fields .competition-field-row.is-readonly,
.competition-apply-fields .table-card.is-readonly {
    border-color: #e2e8f0;
    border-left: 3px solid #cbd5e1;
    background: #f1f5f9;
}

.competition-apply-fields .competition-field-row.is-readonly .form-label {
    color: #64748b;
}

.competition-apply-fields .competition-field-row.is-readonly .form-input,
.competition-apply-fields .competition-field-row.is-readonly .form-select,
.competition-apply-fields .competition-field-row.is-readonly .field-control {
    border-color: #cbd5e1;
    background-color: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
    opacity: 1;
}

.competition-apply-fields .competition-field-row.is-editable:hover,
.competition-apply-fields .table-card.is-editable:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.competition-apply-fields .competition-field-row > .field-header {
    justify-content: flex-start;
    min-height: 36px;
    margin-bottom: 0;
}

.competition-apply-fields .competition-field-row > .field-header .form-label {
    white-space: nowrap;
}

.competition-apply-fields .competition-field-row > .js-competition-field,
.competition-apply-fields .competition-field-row > .field-tip,
.competition-apply-fields .competition-field-row > .field-children {
    grid-column: 2;
    min-width: 0;
}

.competition-apply-fields .competition-field-row > .field-tip,
.competition-apply-fields .competition-field-row > .field-children {
    margin-top: 0;
}

.field-card,
.table-card {
    min-width: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.field-card.is-hidden {
    display: none;
}

.field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.field-header h3 {
    margin: 0;
}

.readonly-flag,
.muted {
    color: #94a3b8;
    font-size: 13px;
}

.required {
    color: #ef4444;
    font-style: normal;
}

.field-control {
    width: 100%;
}

.textarea {
    min-height: 110px;
    resize: vertical;
}

.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.choice-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 14px;
}

.field-children {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding-left: 14px;
    border-left: 3px solid #e0ecff;
}

.field-line {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2563eb;
    font-weight: 700;
}

.field-line::before,
.field-line::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0));
}

.daterange-container {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.daterange-separator,
.daterange-today {
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
}

.daterange-today {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.linkage-container,
.major-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.field-tip {
    display: block;
    grid-column: 1 / -1;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.upload-box {
    display: grid;
    gap: 12px;
}

.competition-apply-fields .upload-status {
    min-height: 24px;
}

.competition-apply-fields .upload-empty {
    color: #64748b;
    font-size: 13px;
}

.competition-apply-fields .upload-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    word-break: break-all;
}

.competition-apply-fields .upload-file-chip a {
    color: inherit;
    text-decoration: none;
}

.competition-apply-fields .upload-file-chip a:hover {
    text-decoration: underline;
}

.competition-apply-fields .upload-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.competition-apply-fields .txsc-upload .preview-image {
    width: 84px;
    height: 119px;
}

.competition-apply-fields .upload-shell .layui-upload-drag {
    width: 100%;
    padding: 18px 16px;
    border-color: #c7d7fe;
    border-radius: 12px;
    box-sizing: border-box;
    background: #f8fbff;
}

.competition-apply-fields .upload-shell .layui-upload-drag .layui-icon {
    color: #2563eb;
    font-size: 30px;
}

.competition-apply-fields .upload-drag-title {
    margin-top: 6px;
    color: #334155;
    font-size: 14px;
}

.competition-apply-fields .upload-drag-hint {
    margin-top: 4px;
    color: #64748b !important;
    font-size: 12px;
}

.upload-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
}

.preview-image {
    width: 96px;
    height: 124px;
    object-fit: cover;
    border: 1px solid #dbe6f1;
    border-radius: 8px;
    background: #f8fafc;
}

.preview-meta {
    min-width: 0;
    color: #64748b;
    font-size: 13px;
    word-break: break-all;
}

.is-hidden {
    display: none !important;
}

.file-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    word-break: break-all;
}

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

.upload-actions input[type="file"] {
    max-width: 100%;
    color: #64748b;
    font-size: 13px;
}

.btn-link,
.btn-secondary {
    border: 0;
    background: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 13px;
}

.btn-link:hover,
.btn-secondary:hover {
    color: #1d4ed8;
}

.btn-link.danger {
    color: #dc2626;
}

.btn-secondary {
    padding: 6px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #eff6ff;
    font-weight: 600;
}

.table-shell {
    width: 100%;
    overflow-x: auto;
}

.dynamic-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
}

.dynamic-table th,
.dynamic-table td {
    padding: 10px;
    border: 1px solid #e2e8f0;
    vertical-align: top;
}

.dynamic-table th {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    background: #f8fafc;
}

.dynamic-table .actions-col {
    width: 86px;
    text-align: center;
    white-space: nowrap;
}

.competition-apply-message {
    padding: 36px 16px;
    color: #64748b;
    text-align: center;
    font-size: 15px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    border-top: 1px solid #F1F5F9;
}

.btn-modal-cancel,
.btn-modal-save {
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-cancel {
    padding: 0.6rem 1.5rem;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #64748b;
}

.btn-modal-cancel:hover {
    border-color: #CBD5E1;
    color: #475569;
}

.btn-modal-save {
    padding: 0.6rem 2rem;
    border: 0;
    background: #2563EB;
    color: #fff;
    font-weight: 600;
}

.btn-modal-save:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .competition-detail-main .breadcrumb,
    .detail-banner-shell,
    .info-section,
    .tabs-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .detail-banner {
        height: 240px;
    }

    .detail-banner-title {
        font-size: 22px;
    }

    .info-card {
        flex-direction: column;
        padding: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-actions {
        width: 100%;
    }

    .tabs-header {
        padding: 0 16px;
    }

    .tab-panel {
        padding: 20px 16px;
    }

    .notice-item {
        align-items: flex-start;
    }

    .modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .modal-box {
        max-width: none;
        min-height: 100vh;
        margin-bottom: 0;
        border-radius: 0;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .form-grid,
    .upload-grid,
    .competition-track-list {
        grid-template-columns: 1fr;
    }

    .competition-apply-fields .competition-field-row {
        grid-template-columns: 1fr;
    }

    .competition-apply-fields .competition-field-row > .field-header .form-label {
        white-space: normal;
    }

    .competition-apply-fields .competition-field-row > .js-competition-field,
    .competition-apply-fields .competition-field-row > .field-tip,
    .competition-apply-fields .competition-field-row > .field-children {
        grid-column: 1;
    }

    .daterange-container {
        grid-template-columns: 1fr;
    }

    .dynamic-table {
        min-width: 560px;
    }
}
