.comp-detail-tabs-wrap {
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.comp-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 8px 0;
    list-style: none;
    margin: 0;
}

.comp-detail-tab-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.comp-detail-tab-btn:hover {
    color: rgb(31, 67, 119);
}

.comp-detail-tab-btn.is-active {
    color: rgb(31, 67, 119);
    border-bottom-color: rgb(31, 67, 119);
}

.comp-detail-tab-panel {
    display: none;
}

.comp-detail-tab-panel.is-active {
    display: block;
}

.comp-detail-tab-panel .comp-card {
    margin-bottom: 24px;
}

.comp-entry-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.comp-entry-room-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.comp-entry-room-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.comp-entry-room-body {
    padding: 12px;
    font-size: 0.85rem;
}

.comp-entry-room-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.comp-entry-room-meta {
    color: #6b7280;
    margin-bottom: 6px;
    line-height: 1.45;
}

.comp-entry-room-status {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.comp-entry-room-status-approved { background: #dcfce7; color: #166534; }
.comp-entry-room-status-pending { background: #fef3c7; color: #92400e; }
.comp-entry-room-status-rejected { background: #fee2e2; color: #991b1b; }

.comp-entry-room-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef1f6;
}

.comp-entry-room-like,
.comp-entry-room-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.comp-entry-room-like:hover,
.comp-entry-room-share:hover {
    color: rgb(31, 67, 119);
    border-color: rgba(31, 67, 119, 0.25);
}

.comp-entry-room-like.is-liked {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.comp-profile-link {
    color: rgb(31, 67, 119);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.comp-profile-link:hover {
    border-bottom-color: rgba(31, 67, 119, 0.45);
}

.comp-entry-room-media-link {
    display: block;
}

.comp-entry-room-title-link {
    color: inherit;
    text-decoration: none;
}

.comp-entry-room-title-link:hover .comp-entry-room-title {
    color: rgb(31, 67, 119);
}

.comp-entry-room-details-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgb(31, 67, 119);
    text-decoration: none;
}

.comp-entry-room-details-link:hover {
    text-decoration: underline;
}

.comp-entry-room-card {
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.comp-entry-room-card:hover {
    border-color: rgba(31, 67, 119, 0.35);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.comp-submission-detail {
    padding: 32px 16px 56px;
    background: #f8fafc;
}

.comp-submission-detail-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.comp-submission-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: rgb(31, 67, 119);
    font-weight: 600;
    text-decoration: none;
}

.comp-submission-back:hover {
    text-decoration: underline;
}

.comp-submission-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: start;
}

.comp-submission-detail-media {
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.comp-submission-detail-media img {
    width: 100%;
    display: block;
    max-height: 72vh;
    object-fit: contain;
    background: #0f172a;
}

.comp-submission-detail-info {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}

.comp-submission-detail-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin: 0 0 8px;
    color: #111827;
}

.comp-submission-detail-meta {
    color: #6b7280;
    font-size: 0.92rem;
    margin: 0 0 10px;
    line-height: 1.5;
}

.comp-submission-detail-desc {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.comp-submission-scores-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef1f6;
}

.comp-submission-scores-block h2 {
    font-size: 1rem;
    margin: 0 0 10px;
    color: #111827;
}

.comp-submission-scores-block h3 {
    font-size: 0.85rem;
    margin: 12px 0 6px;
    color: #374151;
}

.comp-submission-score-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.comp-submission-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.comp-submission-ai-grid div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comp-submission-ai-grid span {
    font-size: 0.75rem;
    color: #6b7280;
}

.comp-submission-ai-grid strong {
    font-size: 1rem;
    color: #111827;
}

.comp-submission-award-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comp-submission-award-list li {
    margin-bottom: 6px;
    color: rgb(31, 67, 119);
    font-weight: 600;
    font-size: 0.9rem;
}

.comp-submission-feedback p {
    margin: 0 0 8px;
    color: #4b5563;
    font-size: 0.88rem;
    line-height: 1.5;
}

.comp-submission-empty {
    margin: 0;
    color: #9ca3af;
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .comp-submission-detail-grid {
        grid-template-columns: 1fr;
    }
}

.comp-results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.comp-results-stat {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.comp-results-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(31, 67, 119);
}

.comp-results-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 4px;
}

.comp-jury-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.comp-jury-detail-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.comp-jury-detail-card img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f9fafb;
}

.comp-archive-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-archive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.comp-archive-item a {
    color: rgb(31, 67, 119);
    font-weight: 600;
    text-decoration: none;
}

.comp-archive-item a:hover {
    text-decoration: underline;
}

.comp-tab-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #6b7280;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .comp-detail-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}
