/* 
 * Paw Star - Main Stylesheet (Light Mode / 주간 모드 전용)
 * Slogan: "반려동물도 스타가 될 수 있다."
 */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Outfit:wght@400;600;700;800;900&family=Pacifico&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    /* Light Mode Primary Palette */
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(241, 245, 249, 0.8);
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-gold: #d97706;
    --accent-gold-bg: #fffbeb;
    --accent-silver: #64748b;
    --accent-silver-bg: #f8fafc;
    --accent-bronze: #ea580c;
    --accent-bronze-bg: #fff7ed;
    --accent-purple: #7c3aed;
    --accent-pink: #e11d48;
    --accent-cyan: #0284c7;
    
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --gradient-silver: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    --gradient-bronze: linear-gradient(135deg, #ffedd5 0%, #fdba74 50%, #ea580c 100%);
    --gradient-rookie: linear-gradient(135deg, #c084fc 0%, #e879f9 100%);
    --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #e11d48 100%);
    
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(79, 70, 229, 0.15);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html {
    overflow-y: scroll;
    min-width: 1280px;
}

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    min-width: 1280px;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(225, 29, 72, 0.05) 0%, transparent 45%);
    background-attachment: fixed;
    line-height: 1.6;
}

/* 브라우저 스크롤바 선명 커스텀 디자인 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Header & Nav (Light Clean) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    padding: 0.8rem 2rem;
}

.nav-container {
    width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo .paw-icon {
    font-size: 2.2rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.3));
    animation: pulse 2.5s infinite ease-in-out;
}

.brand-text h1 {
    font-family: 'Pacifico', 'Dancing Script', cursive;
    font-size: 1.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.25));
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.78rem;
    color: var(--accent-purple);
    display: block;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.55rem 1.15rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-item a:hover {
    /* 마우스 오버 효과 제거 */
}

.nav-item a.active {
    background: var(--gradient-brand);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.nav-item a.active i,
.nav-item a.active i.fa-solid {
    color: #ffffff !important;
}

.btn-upload {
    background: #ffffff !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.btn-upload.active, .nav-item a.btn-upload.active {
    background: var(--gradient-brand) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
}

.btn-upload:hover {
    /* 마우스 오버 효과 제거 */
}

/* Contest Hero Banner & Glassmorphic Live Contest Block */
.contest-hero {
    width: 1280px;
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    margin: 2rem auto;
    padding: 2.5rem 3rem;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero-round-badge {
    color: #fde047;
    margin-right: 0.35rem;
    font-weight: 900;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.hero-main-info {
    flex: 1;
    max-width: 680px;
}

.contest-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 232, 255, 0.95));
    color: #6366f1;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    border: 1.5px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.2);
    letter-spacing: -0.01em;
}

.contest-badge-closed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.3rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.85));
    color: #cbd5e1;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.3);
    letter-spacing: -0.01em;
    backdrop-filter: blur(8px);
}

.contest-badge-closed i {
    color: #94a3b8;
    font-size: 1rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ef4444;
    animation: pulseDot 1.5s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
}

.hero-desc {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-hero-cta {
    padding: 0.85rem 1.8rem;
    border-radius: 30px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0f172a;
    font-weight: 900;
    font-size: 1.02rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.btn-hero-cta:hover {
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55);
    text-decoration: none;
}

.btn-hero-sec {
    padding: 0.85rem 1.6rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-sec:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

/* Glassmorphism Live Contest Info Block (우측 콘테스트 카드) */
.hero-contest-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contest-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fde047;
    text-transform: uppercase;
}

.contest-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.time-box {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.time-label {
    font-size: 0.75rem;
    color: #cbd5e1;
    font-weight: 700;
}

.time-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.dday-highlight-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(225, 29, 72, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dday-label {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dday-badge-large {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fef08a;
    text-shadow: 0 2px 10px rgba(250, 204, 21, 0.5);
    letter-spacing: 0.5px;
}

/* Score Evaluation Metric Guide Banner (Bottom of Post Grid) */
.score-metric-banner {
    max-width: 1280px;
    margin: 1.5rem auto 3.5rem auto;
    padding: 0.9rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-purple);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.metric-title {
    font-size: 0.92rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-items {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.metric-item {
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    font-weight: 600;
}

.metric-item strong {
    color: var(--accent-purple);
}

/* Filter Bar */
.filter-bar {
    width: 1280px;
    margin: 0 auto 2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.filter-left-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    width: 240px;
}

.select-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 14px;
    height: 51.05px;
    box-sizing: border-box;
    padding: 0 2.8rem 0 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.select-custom:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* 🏆 회차 상태별 (진행중 vs 종료) 셀렉트 박스 및 옵션 배경색 디자인 (단색 연한 연노랑 / 연한 회색) */
.select-custom.stat-in-progress,
.m-select-custom.stat-in-progress {
    background-color: #fefce8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23713f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #713f12 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.select-custom.stat-closed,
.m-select-custom.stat-closed {
    background-color: #f8fafc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #64748b !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

/* Option 항목별 배경색 및 폰트 구별 */
select.select-custom option.opt-in-progress,
select.m-select-custom option.opt-in-progress,
option.opt-in-progress {
    background-color: #fefce8 !important;
    color: #713f12 !important;
    font-weight: 800 !important;
}

select.select-custom option.opt-closed,
select.m-select-custom option.opt-closed,
option.opt-closed {
    background-color: #ffffff !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.tab-sort-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 51.05px;
    box-sizing: border-box;
    background: #ffffff;
    padding: 0.3rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    flex: 0 0 auto;
    transition: border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab-sort-group:hover {
    border-color: #6366f1;
}

.sort-btn {
    text-decoration: none;
    color: var(--text-secondary);
    height: 100%;
    box-sizing: border-box;
    padding: 0 1.1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sort-btn:hover:not(.active) {
    color: var(--accent-purple);
    border-color: #6366f1;
}

.sort-btn.active {
    background: var(--gradient-brand);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.3);
}


.search-box {
    position: relative;
    height: 51.05px;
    width: 165px;
}

.search-box input {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    height: 51.05px;
    box-sizing: border-box;
    padding: 0 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    width: 165px;
    transition: border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-box input:hover {
    border-color: #6366f1;
}

.search-box input:focus {
    width: 165px;
    border-color: #4f46e5;
    outline: none;
}



/* 독립된 검색 제출 아이콘 버튼 (빨간 표시 위치) */
.search-submit-btn {
    width: 51.05px;
    height: 51.05px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    color: #475569;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.search-submit-btn:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.search-submit-btn:active {
    transform: translateY(0);
}

/* Post Cards Grid (Clean Bright White Cards) */
.posts-grid {
    width: 1280px;
    margin: 0 auto 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1.25rem;
    box-sizing: border-box;
}

.post-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    transform: translateZ(0);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.08);
}

.post-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 12px 25px -5px rgba(124, 58, 237, 0.15);
}

.card-media {
    position: relative !important;
    width: 100% !important;
    height: 240px !important;
    overflow: hidden !important;
    background: transparent !important;
    border-top-left-radius: calc(var(--radius-md) - 1px) !important;
    border-top-right-radius: calc(var(--radius-md) - 1px) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

.card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-top-left-radius: calc(var(--radius-md) - 1px) !important;
    border-top-right-radius: calc(var(--radius-md) - 1px) !important;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.post-card:hover .card-media img {
    /* 오버 확대 효과 제거 */
}

/* Rank Ribbon 3D Metallic Emblem Badges (Transparent Crystal Shimmer Glass) */
.rank-ribbon {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.8rem;
    line-height: 1.2;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    z-index: 10;
    border: none !important;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

.rank-ribbon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: elegantShimmer 4.5s ease-in-out infinite;
    pointer-events: none;
}

.rank-ribbon i,
.rank-ribbon .pet-emoji-icon i {
    font-size: 0.9em !important;
    line-height: 1;
}

.rank-ribbon.rank-1 {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 50%, #fde047 100%) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #713f12 !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(253, 224, 71, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
}
.rank-ribbon.rank-1 i {
    color: #a16207 !important;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

.rank-ribbon.rank-2 {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0369a1 !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(125, 211, 252, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
}
.rank-ribbon.rank-2 i {
    color: #0284c7 !important;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

.rank-ribbon.rank-3 {
    background: linear-gradient(135deg, #f7fee7 0%, #ecfccb 50%, #d9f99d 100%) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #3f6212 !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(163, 230, 53, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
}
.rank-ribbon.rank-3 i {
    color: #65a30d !important;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

/* Custom Animal Monochrome Icon Select Dropdown Component */
.custom-pet-dropdown {
    position: relative;
    display: inline-block;
    user-select: none;
    width: 175px;
    height: 51.05px;
    z-index: 10;
}

.custom-pet-dropdown.open {
    z-index: 99999 !important;
}

.custom-pet-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    height: 51.05px;
    box-sizing: border-box;
    padding: 0 1.1rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-pet-trigger * {
    pointer-events: none;
}

.custom-pet-trigger:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15);
}

.custom-pet-trigger i.pet-icon {
    color: #475569;
    font-size: 0.95rem;
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-pet-trigger i.arrow-icon {
    color: #94a3b8;
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.custom-pet-dropdown.open .custom-pet-trigger i.arrow-icon {
    transform: rotate(180deg);
}

.custom-pet-options {
    position: absolute;
    top: calc(100% + 10px) !important;
    margin-top: 8px !important;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.25) !important;
    overflow-y: auto !important;
    max-height: 290px !important;
    display: none;
    flex-direction: column !important;
    gap: 0.2rem !important;
    padding: 0.45rem !important;
    z-index: 99999 !important;
}

.custom-pet-dropdown.open .custom-pet-options {
    display: flex !important;
    flex-direction: column !important;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-pet-option {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    white-space: nowrap !important;
    padding: 0.72rem 0.95rem !important;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b !important;
    background: #ffffff !important;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-pet-option i {
    color: #64748b;
    font-size: 0.95rem;
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-pet-option:hover {
    background: #f1f5f9 !important;
    color: #4f46e5 !important;
}

.custom-pet-option i {
    color: #64748b;
    font-size: 0.92rem;
    width: 1.1rem;
    text-align: center;
}

.custom-pet-option:hover {
    background: #f1f5f9;
    color: #4f46e5;
}

.custom-pet-option:hover i {
    color: #4f46e5;
}

.custom-pet-option.selected {
    background: #e0e7ff;
    color: #4338ca;
}

.custom-pet-option.selected i {
    color: #4338ca;
}

/* 🏆 회차 전용 커스텀 드롭다운 (우측 동물 콤보와 100% 동일한 고급 드랍다운 디자인) */
.custom-contest-dropdown {
    position: relative;
    display: inline-block;
    user-select: none;
    width: 385px;
    height: 51.05px;
    z-index: 101;
}

.custom-contest-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    height: 51.05px;
    box-sizing: border-box;
    padding: 0 1.1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

/* 진행중 회차 trigger 스타일 (단색 소프트 연노랑, 테두리 통일) */
.custom-contest-dropdown.stat-in-progress .custom-contest-trigger {
    background: #fefce8;
    border: 1.5px solid #cbd5e1;
    color: #713f12;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.custom-contest-dropdown.stat-in-progress .custom-contest-trigger:hover {
    background: #fef9c3;
    border-color: #6366f1;
}

/* 종료된 회차 trigger 스타일 (단색 소프트 연회색, 테두리 통일) */
.custom-contest-dropdown.stat-closed .custom-contest-trigger {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.custom-contest-dropdown.stat-closed .custom-contest-trigger:hover {
    background: #f1f5f9;
    border-color: #6366f1;
}

.custom-contest-trigger i.arrow-icon {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.custom-contest-dropdown.stat-in-progress .custom-contest-trigger i.arrow-icon {
    color: #854d0e;
}

.custom-contest-dropdown.stat-closed .custom-contest-trigger i.arrow-icon {
    color: #64748b;
}

.custom-contest-dropdown.open .custom-contest-trigger i.arrow-icon {
    transform: rotate(180deg);
}

/* 드랍다운 팝업 리스트 (custom-pet-options와 100% 동일) */
.custom-contest-options {
    position: absolute;
    top: calc(100% + 10px) !important;
    margin-top: 8px !important;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    display: none;
    flex-direction: column;
    padding: 0.45rem;
    z-index: 999;
}

.custom-contest-dropdown.open .custom-contest-options {
    display: flex;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 칩 스타일 (진행중 vs 종료) */
.status-chip {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.status-chip.in-progress {
    background: #ffffff;
    color: #854d0e;
    border: 1px solid #cbd5e1;
}

.status-chip.closed {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

/* 드롭다운 옵션 항목 */
.custom-contest-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.custom-contest-option.opt-in-progress {
    color: #854d0e;
}

.custom-contest-option.opt-closed {
    color: #475569;
}

.custom-contest-option:hover {
    background: #f1f5f9;
}

.custom-contest-option.opt-in-progress:hover {
    background: #fefce8;
}

.custom-contest-option.selected {
    background: #f1f5f9;
    color: #334155;
}

.custom-contest-option.opt-in-progress.selected {
    background: #fef08a;
    color: #713f12;
}

/* 🏷️ 회차 표시 (제X회) 전용 포인트 글자색 스타일 */
.round-badge-text {
    color: #4f46e5;
    font-weight: 900;
    margin-right: 0.2rem;
    display: inline-block;
}

.custom-contest-dropdown.stat-in-progress .round-badge-text,
.custom-contest-option.opt-in-progress .round-badge-text {
    color: #b45309;
}

.custom-contest-dropdown.stat-closed .round-badge-text,
.custom-contest-option.opt-closed .round-badge-text {
    color: #4f46e5;
}

/* 텍스트 말줄임 및 고정 너비 레이아웃 보장 */
.custom-contest-dropdown .selected-text,
.custom-contest-dropdown .option-text,
.custom-pet-dropdown .selected-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .custom-contest-dropdown,
    .custom-pet-dropdown {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #fef3c7;
    color: var(--accent-gold);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* 목록 카드 점수 배지 기본 (0점시 차분한 화이트/슬레이트 스타일) */
.card-total-score {
    margin-left: auto;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #94a3b8;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    box-shadow: none;
    transition: all 0.25s ease;
}

.card-total-score i {
    color: #94a3b8;
    transition: color 0.25s ease;
}

/* 점수가 1점 이상일 경우 (아주 연한 파스텔 노란색 젤리 배경 + 골드 채움) */
.card-total-score.has-score {
    background: #fefce8 !important;
    border: 1.5px solid #fde047 !important;
    color: #d97706 !important;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.15) !important;
}

.card-total-score.has-score i {
    color: #eab308 !important;
}

.author-img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border: 1px solid var(--border-light);
}

.author-detail {
    min-width: 0;
    overflow: hidden;
}

.author-detail .nickname {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-detail .pet-tag {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.author-detail .pet-tag span {
    white-space: nowrap;
}

.post-title {
    font-size: 1.08rem;
    font-weight: normal !important;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100%;
    display: block;
}

.post-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-actions {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
}

.action-btn {
    background: var(--bg-primary);
    border: 1.5px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.5rem 0.3rem;
    border-radius: 13px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    transition: var(--transition);
}

.action-btn i {
    font-size: 1.05rem;
}

.action-btn:hover {
    background: #ffffff;
    border-color: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.action-btn.btn-like:hover { color: var(--accent-pink); border-color: var(--accent-pink); }
.action-btn.btn-view:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
.action-btn.btn-comment:hover { color: var(--accent-gold); border-color: var(--accent-gold); }
.action-btn.btn-score:hover { color: var(--accent-gold); border-color: var(--accent-gold); }
.action-btn.btn-share { background: var(--bg-primary); border: 1.5px solid var(--border-light); color: var(--text-secondary); }
.action-btn.btn-share:hover { color: #10b981; border-color: #34d399; }

/* 상단 둥근 공유 아이콘 버튼 기본(비활성) & active(활성) 스타일 */
.btn-share-action {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-share-action:hover, .btn-share-action.active {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #10b981 !important;
}

/* 회차 목록 피드 카드 3요소 정보상자 마우스 오버 효과 & 손가락 커서 제거 */
.post-card .action-btn,
.m-feed-card .action-btn {
    cursor: default !important;
}

.post-card .action-btn:hover,
.m-feed-card .action-btn:hover {
    background: var(--bg-primary) !important;
    border-color: var(--border-light) !important;
    color: var(--text-secondary) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 좋아요 active 상태 스타일 */
.action-btn.btn-like.active, #detailBtnLike.active {
    background: #fff0f3 !important;
    border-color: #f43f5e !important;
    color: #e11d48 !important;
}
/* 실시간 4요소 버블 버튼 기본 (평가 미참여 시 차분한 비활성 톤) */
.detail-actions .action-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #94a3b8;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: none;
}

.detail-actions .action-btn i,
.detail-actions .action-btn span {
    color: #94a3b8;
    transition: color 0.25s ease;
}

/* 좋아요(Like) active 상태 스타일 (내가 투표/좋아요 평가 참여 시 파스텔 로즈 활성화) */
.action-btn.btn-like.active, #detailBtnLike.active {
    background: #ffe4e6 !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
    box-shadow: 0 3px 8px rgba(225, 29, 72, 0.15) !important;
}
.action-btn.btn-like.active i, #detailBtnLike.active i,
.action-btn.btn-like.active span, #detailBtnLike.active span {
    color: #e11d48 !important;
}

/* 하단 우측 원형 하트 버튼 active 상태 (소프트 핑크 파스텔 배경 + 진분홍 채운 하트) */
#detailHeartLikeBtn.active,
.btn-heart-action.active {
    background: #ffe4e6 !important;
    border-color: #fecdd3 !important;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.2) !important;
}
#detailHeartLikeBtn.active i,
.btn-heart-action.active i {
    color: #e11d48 !important;
}

/* 하단 우측 원형 공유 버튼 active 상태 (소프트 민트 파스텔 배경) */
#detailShareIconBtn.active,
.btn-share-action.active {
    background: #dcfce7 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
    box-shadow: 0 3px 10px rgba(21, 128, 61, 0.2) !important;
}
#detailShareIconBtn.active i,
.btn-share-action.active i {
    color: #15803d !important;
}

/* 댓글(Comment) active 상태 스타일 (내가 한줄댓글 평가 참여 시 파스텔 퍼플 활성화) */
.action-btn.btn-comment.active, #detailBtnComment.active {
    background: #f3e8ff !important;
    border-color: #e9d5ff !important;
    color: #7c3aed !important;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.15) !important;
}
.action-btn.btn-comment.active i, #detailBtnComment.active i,
.action-btn.btn-comment.active span, #detailBtnComment.active span {
    color: #7c3aed !important;
}

/* 조회(View) active 상태 스타일 (내가 읽기/조회 평가 참여 시 파스텔 블루 활성화) */
.action-btn.btn-view.active, #detailBtnView.active {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    color: #0284c7 !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15) !important;
}
.action-btn.btn-view.active i, #detailBtnView.active i,
.action-btn.btn-view.active span, #detailBtnView.active span {
    color: #0284c7 !important;
}

/* 공유(Share) active 상태 스타일 (내가 공유 평가 참여 시 파스텔 민트 활성화) */
.action-btn.btn-share.active, #detailBtnShare.active {
    background: #dcfce7 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
    box-shadow: 0 3px 8px rgba(21, 128, 61, 0.15) !important;
}
.action-btn.btn-share.active i, #detailBtnShare.active i,
.action-btn.btn-share.active span, #detailBtnShare.active span {
    color: #15803d !important;
}

.action-btn .score-plus {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Hall of Fame (Light Mode Podium) */
.hall-container {
    max-width: 1280px;
    margin: 2rem auto 4rem auto;
}

.hall-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hall-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* 🏆 TOP 3 카드 계단형 오프셋 배치 (스크린샷 3 100% 동일) */
.winners-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem;
    margin-top: 6.5rem !important;
    margin-bottom: 0 !important;
    align-items: flex-end !important;
    width: 100%;
    box-sizing: border-box;
}

.podium-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}

/* 🐾 패밀리 스타 전용: 세 카드의 본체 상단 테두리선 100% 완벽 수평 정렬 */
.family-podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 0;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.family-podium-grid .podium-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding-top: 0 !important;
    transform: none !important;
}

.family-podium-grid .podium-card,
.podium-card.family-podium-card {
    border: 1.5px solid #c084fc !important;
    background: #ffffff;
    box-shadow: inset 0 0 10px rgba(192, 132, 252, 0.35), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    animation: none !important;
    transform: none !important;
    position: relative;
}

.family-podium-grid .podium-card::after,
.podium-card.family-podium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 10px rgba(192, 132, 252, 0.35), inset 0 0 18px rgba(192, 132, 252, 0.18);
    pointer-events: none;
    z-index: 15;
}

.family-podium-grid.has-co-tabs .podium-card-wrapper,
.family-podium-grid:has(.co-tabs-top) .podium-card-wrapper {
    padding-top: 44px !important;
}

.family-podium-grid .co-tabs-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    z-index: 10;
}

/* 메인 챔피언 TOP 3 시상대 전용 카드 배치 (패밀리 스타 섹션에는 절대 영향 없음) */
.hall-container > .winners-podium > .podium-card-wrapper {
    position: relative;
}

.hall-container > .winners-podium > .podium-card-wrapper .co-tabs-top {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 0.65rem;
    z-index: 10;
}

.hall-container > .winners-podium > .podium-card-wrapper:nth-child(1) {
    transform: translateY(0);
    z-index: 4;
}

.hall-container > .winners-podium > .podium-card-wrapper:nth-child(2) {
    transform: translateY(-45px);
    z-index: 5;
}

.hall-container > .winners-podium > .podium-card-wrapper:nth-child(3) {
    transform: translateY(30px);
    z-index: 3;
}

/* 🏆 챔피언 TOP 3 시상대 단상 바디 (카드 밑줄과 step-front-panel 상단 간격 20px 1, 2, 3위 동일) */
.podium-stage-wrapper {
    position: relative;
    width: 100%;
    margin-top: -25px;
    margin-bottom: 4.5rem;
    padding: 0;
    box-sizing: border-box;
}

.podium-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 !important;
    align-items: flex-end;
    width: 100%;
    box-sizing: border-box;
}

.podium-step {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: none !important;
    box-shadow: 0 16px 36px rgba(109, 40, 217, 0.25);
    overflow: hidden;
    width: 100% !important;
    margin: 0 !important;
}

/* 2위 라이징스타 단상 (좌측 상단 모서리 살짝 라운드) */
.podium-step.step-2 {
    height: 110px;
    background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 50%, #4c1d95 100%);
    border-radius: 12px 0 0 0 !important;
    z-index: 1;
}

/* 1위 슈퍼스타 단상 (좌측 상단 & 우측 상단 모서리 살짝 라운드) */
.podium-step.step-1 {
    height: 155px;
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 45%, #4c1d95 100%);
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 20px 48px rgba(245, 158, 11, 0.35), 0 0 30px rgba(251, 191, 36, 0.45);
    z-index: 3;
}

/* 3위 브라이트스타 단상 (우측 상단 모서리 살짝 라운드) */
.podium-step.step-3 {
    height: 80px;
    background: linear-gradient(180deg, #6d28d9 0%, #5b21b6 50%, #3b0764 100%);
    border-radius: 0 12px 0 0 !important;
    z-index: 1;
}

/* 전면 패널 */
.step-front-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 0.15rem;
}

.step-rank-badge {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    transition: all 0.3s ease;
}

.step-rank-badge.gold {
    color: #ffffff;
    font-size: 2.7rem;
    text-shadow: 
        0 0 6px #ffffff,
        0 0 15px #fef08a,
        0 0 30px #facc15,
        0 0 45px #eab308,
        0 0 65px rgba(250, 204, 21, 1),
        0 0 90px rgba(234, 179, 8, 0.85);
    animation: neonBadgePulseGold 2.5s infinite alternate ease-in-out;
}

.step-rank-badge.silver {
    color: #ffffff;
    font-size: 2.1rem;
    text-shadow: 
        0 0 5px #ffffff,
        0 0 12px #e0f2fe,
        0 0 24px #38bdf8,
        0 0 40px #0284c7,
        0 0 60px rgba(56, 189, 248, 0.9);
    animation: neonBadgePulseSilver 2.8s infinite alternate ease-in-out;
}

.step-rank-badge.bronze {
    color: #ffffff;
    font-size: 2rem;
    text-shadow: 
        0 0 6px #ffffff,
        0 0 15px #ecfccb,
        0 0 30px #a3e635,
        0 0 45px #65a30d,
        0 0 65px rgba(163, 230, 53, 1),
        0 0 90px rgba(101, 163, 13, 0.85);
    animation: neonBadgePulseBronze 3.1s infinite alternate ease-in-out;
}

@keyframes neonBadgePulseGold {
    0%, 100% {
        text-shadow: 
            0 0 6px #ffffff,
            0 0 15px #fef08a,
            0 0 30px #facc15,
            0 0 45px #eab308,
            0 0 65px rgba(250, 204, 21, 1),
            0 0 90px rgba(234, 179, 8, 0.85);
    }
    50% {
        text-shadow: 
            0 0 10px #ffffff,
            0 0 20px #ffff00,
            0 0 38px #fde047,
            0 0 58px #facc15,
            0 0 85px rgba(250, 204, 21, 1),
            0 0 110px rgba(250, 204, 21, 0.95);
    }
}

@keyframes neonBadgePulseSilver {
    0%, 100% {
        text-shadow: 
            0 0 5px #ffffff,
            0 0 12px #e0f2fe,
            0 0 24px #38bdf8,
            0 0 40px #0284c7,
            0 0 60px rgba(56, 189, 248, 0.9);
    }
    50% {
        text-shadow: 
            0 0 8px #ffffff,
            0 0 16px #f0f9ff,
            0 0 32px #7dd3fc,
            0 0 52px #38bdf8,
            0 0 75px rgba(56, 189, 248, 1);
    }
}

@keyframes neonBadgePulseBronze {
    0%, 100% {
        text-shadow: 
            0 0 6px #ffffff,
            0 0 15px #ecfccb,
            0 0 30px #a3e635,
            0 0 45px #65a30d,
            0 0 65px rgba(163, 230, 53, 1),
            0 0 90px rgba(101, 163, 13, 0.85);
    }
    50% {
        text-shadow: 
            0 0 10px #ffffff,
            0 0 20px #f7fee7,
            0 0 38px #d9f99d,
            0 0 58px #a3e635,
            0 0 85px rgba(163, 230, 53, 1),
            0 0 110px rgba(101, 163, 13, 0.95);
    }
}

.step-rank-sub {
    font-family: 'Pacifico', 'Dancing Script', cursive;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.15;
    margin-top: 0.15rem;
    white-space: nowrap;
    letter-spacing: 0.8px;
    position: relative;
    transition: all 0.3s ease;
}

/* 1위 Super Star - Gold Neon Sign */
.step-rank-sub.gold {
    color: #ffffff;
    font-size: 1.45rem;
    text-shadow: 
        0 0 5px #ffffff,
        0 0 12px #fef08a,
        0 0 24px #facc15,
        0 0 38px #eab308,
        0 0 55px rgba(250, 204, 21, 0.95),
        0 0 75px rgba(234, 179, 8, 0.8);
    animation: neonPulseGold 2.5s infinite alternate ease-in-out;
}

/* 2위 Bright Star - Sky Blue Neon Sign */
.step-rank-sub.silver {
    color: #ffffff;
    font-size: 1.25rem;
    text-shadow: 
        0 0 4px #ffffff,
        0 0 8px #e0f2fe,
        0 0 16px #38bdf8,
        0 0 28px #0284c7,
        0 0 40px #0369a1,
        0 0 55px rgba(56, 189, 248, 0.85);
    animation: neonPulseSilver 2.8s infinite alternate ease-in-out;
}

/* 3위 Rising Star - Lime Green Neon Sign */
.step-rank-sub.bronze {
    color: #ffffff;
    font-size: 1.18rem;
    text-shadow: 
        0 0 5px #ffffff,
        0 0 12px #ecfccb,
        0 0 24px #a3e635,
        0 0 38px #65a30d,
        0 0 55px rgba(101, 163, 13, 0.95),
        0 0 75px rgba(77, 124, 15, 0.8);
    animation: neonPulseBronze 3.1s infinite alternate ease-in-out;
}

@keyframes neonPulseGold {
    0%, 100% {
        text-shadow: 
            0 0 5px #ffffff,
            0 0 12px #fef08a,
            0 0 24px #facc15,
            0 0 38px #eab308,
            0 0 55px rgba(250, 204, 21, 0.95),
            0 0 75px rgba(234, 179, 8, 0.8);
    }
    50% {
        text-shadow: 
            0 0 8px #ffffff,
            0 0 16px #ffff00,
            0 0 30px #fde047,
            0 0 48px #facc15,
            0 0 70px rgba(250, 204, 21, 1),
            0 0 95px rgba(250, 204, 21, 0.9);
    }
}

@keyframes neonPulseSilver {
    0%, 100% {
        text-shadow: 
            0 0 4px #ffffff,
            0 0 8px #e0f2fe,
            0 0 16px #38bdf8,
            0 0 28px #0284c7,
            0 0 40px #0369a1,
            0 0 55px rgba(56, 189, 248, 0.85);
    }
    50% {
        text-shadow: 
            0 0 6px #ffffff,
            0 0 12px #f0f9ff,
            0 0 22px #7dd3fc,
            0 0 36px #38bdf8,
            0 0 50px #0284c7,
            0 0 70px rgba(56, 189, 248, 0.95);
    }
}

@keyframes neonPulseBronze {
    0%, 100% {
        text-shadow: 
            0 0 5px #ffffff,
            0 0 12px #ecfccb,
            0 0 24px #a3e635,
            0 0 38px #65a30d,
            0 0 55px rgba(163, 230, 53, 0.95),
            0 0 75px rgba(101, 163, 13, 0.8);
    }
    50% {
        text-shadow: 
            0 0 8px #ffffff,
            0 0 16px #f7fee7,
            0 0 30px #d9f99d,
            0 0 48px #a3e635,
            0 0 70px rgba(163, 230, 53, 1),
            0 0 95px rgba(101, 163, 13, 0.9);
    }
}


.co-winner-wrapper {
    display: grid;
    grid-template-areas: "winner-card";
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.co-winner-content {
    grid-area: winner-card;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
}

.co-tabs {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    z-index: 10;
}

.co-tabs-top {
    margin-bottom: 0.65rem;
    padding: 0;
    width: 100%;
}

.podium-card {
    background: var(--bg-surface);
    border: 2px solid var(--border-light);
    border-radius: 20px !important;
    padding: 0;
    text-align: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100% !important;
    min-height: 520px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box !important;
}

/* 📷 모든 카드의 미디어(사진) 높이 */
.podium-media {
    position: relative;
    width: 100%;
    height: 290px !important;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0 !important;
    min-width: 0;
}

.podium-card.super-star .podium-media {
    height: 290px !important;
}

/* 📋 사진 아래 부분(podium-body): 넉넉하고 유연한 높이 */
.podium-body {
    padding: 1rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    gap: 0.45rem;
    flex: 1 !important;
    min-height: 230px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    min-width: 0;
    overflow: hidden;
}

.podium-card:hover {
    transform: none !important;
}

.winners-podium .podium-card.super-star,
.podium-card.super-star {
    border: 1.5px solid #facc15 !important;
    background: #ffffff;
    box-shadow: inset 0 0 10px rgba(250, 204, 21, 0.35), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transform: none;
    z-index: 10;
    animation: none !important;
    position: relative;
}

.winners-podium .podium-card.super-star::after,
.podium-card.super-star::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 12px rgba(250, 204, 21, 0.45), inset 0 0 22px rgba(250, 204, 21, 0.25);
    pointer-events: none;
    z-index: 15;
}

.winners-podium .podium-card.bright-star,
.podium-card.bright-star {
    border: 1.5px solid #38bdf8 !important;
    background: #ffffff;
    box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.35), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    animation: none !important;
    position: relative;
}

.winners-podium .podium-card.bright-star::after,
.podium-card.bright-star::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.45), inset 0 0 22px rgba(56, 189, 248, 0.25);
    pointer-events: none;
    z-index: 15;
}

.winners-podium .podium-card.rising-star,
.podium-card.rising-star {
    border: 1.5px solid #a3e635 !important;
    background: #ffffff;
    box-shadow: inset 0 0 10px rgba(163, 230, 53, 0.35), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    animation: none !important;
    position: relative;
}

.winners-podium .podium-card.rising-star::after,
.podium-card.rising-star::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 12px rgba(163, 230, 53, 0.45), inset 0 0 22px rgba(163, 230, 53, 0.25);
    pointer-events: none;
    z-index: 15;
}

@keyframes neonCardGlowGold {
    0%, 100% {
        border-color: #facc15 !important;
        box-shadow: 
            0 0 10px rgba(250, 204, 21, 0.75),
            0 0 20px rgba(254, 240, 138, 0.55),
            0 8px 25px rgba(250, 204, 21, 0.35),
            inset 0 0 8px rgba(254, 240, 138, 0.3) !important;
    }
    50% {
        border-color: #fde047 !important;
        box-shadow: 
            0 0 16px rgba(253, 224, 71, 0.9),
            0 0 28px rgba(250, 204, 21, 0.7),
            0 10px 30px rgba(250, 204, 21, 0.45),
            inset 0 0 12px rgba(253, 224, 71, 0.4) !important;
    }
}

@keyframes neonCardGlowSilver {
    0%, 100% {
        border-color: #38bdf8 !important;
        box-shadow: 
            0 0 10px rgba(56, 189, 248, 0.75),
            0 0 20px rgba(224, 242, 254, 0.55),
            0 8px 25px rgba(56, 189, 248, 0.35),
            inset 0 0 8px rgba(224, 242, 254, 0.3) !important;
    }
    50% {
        border-color: #7dd3fc !important;
        box-shadow: 
            0 0 16px rgba(125, 211, 252, 0.9),
            0 0 28px rgba(56, 189, 248, 0.7),
            0 10px 30px rgba(56, 189, 248, 0.45),
            inset 0 0 12px rgba(125, 211, 252, 0.4) !important;
    }
}

@keyframes neonCardGlowBronze {
    0%, 100% {
        border-color: #a3e635 !important;
        box-shadow: 
            0 0 10px rgba(163, 230, 53, 0.75),
            0 0 20px rgba(236, 252, 203, 0.55),
            0 8px 25px rgba(163, 230, 53, 0.35),
            inset 0 0 8px rgba(236, 252, 203, 0.3) !important;
    }
    50% {
        border-color: #d9f99d !important;
        box-shadow: 
            0 0 16px rgba(217, 249, 157, 0.9),
            0 0 28px rgba(163, 230, 53, 0.7),
            0 10px 30px rgba(163, 230, 53, 0.45),
            inset 0 0 12px rgba(217, 249, 157, 0.4) !important;
    }
}

/* 📋 명예의 전당 바디(podium-body): 럭셔리 배경 및 타이포그래피 */
.podium-body.hof-luxury-body {
    background: #ffffff !important;
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 1rem 1.15rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: none !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    box-sizing: border-box !important;
    min-width: 0;
    overflow: hidden;
}

/* 슈퍼스타 전용 배경 및 테두리 */
.podium-card.super-star .podium-body.hof-luxury-body {
    background: #ffffff !important;
    border-top: 1.5px solid #facc15 !important;
}

/* 라이징스타 전용 배경 및 테두리 */
.podium-card.rising-star .podium-body.hof-luxury-body {
    background: #ffffff !important;
    border-top: 1.5px solid #a3e635 !important;
}

/* 브라이트스타 전용 배경 및 테두리 */
.podium-card.bright-star .podium-body.hof-luxury-body {
    background: #ffffff !important;
    border-top: 1.5px solid #38bdf8 !important;
}

/* 👑 프로필 및 아바타 럭셔리 링 */
.hof-avatar-ring {
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.hof-avatar-img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #ffffff !important;
}

/* 🏷️ 럭셔리 펫 태그 캡슐 */
.hof-pet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.8rem;
    line-height: 1.2;
}

/* 📝 자랑글 제목 스페셜 타이포그래피 */
.hof-post-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    line-height: 1.35 !important;
    margin: 0.3rem 0 0.4rem 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    text-align: left !important;
}

/* 🌟 스파클링 총점수 배지 */
.hof-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.38) !important;
    letter-spacing: 0.02em;
}

/* 📊 럭셔리 수치 4분할 버튼 바 */
.hof-actions-bar {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem !important;
    padding-top: 0.55rem !important;
    border-top: 1px dashed rgba(203, 213, 225, 0.8) !important;
}

.hof-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.2rem 0.4rem 0.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.hof-action-item:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hof-action-item i {
    font-size: 0.9rem;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
}

.hof-action-item .count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
}

/* 내가 영향을 준/참여한 요소 활성화 파스텔 스타일 (대회 목록과 100% 동일한 비주얼) */
.hof-action-item.btn-view.active {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15) !important;
}
.hof-action-item.btn-view.active i,
.hof-action-item.btn-view.active .count {
    color: #0284c7 !important;
}

.hof-action-item.btn-like.active {
    background: #ffe4e6 !important;
    border-color: #fecdd3 !important;
    box-shadow: 0 3px 8px rgba(225, 29, 72, 0.15) !important;
}
.hof-action-item.btn-like.active i,
.hof-action-item.btn-like.active .count {
    color: #e11d48 !important;
}

.hof-action-item.btn-comment.active {
    background: #f3e8ff !important;
    border-color: #e9d5ff !important;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.15) !important;
}
.hof-action-item.btn-comment.active i,
.hof-action-item.btn-comment.active .count {
    color: #7c3aed !important;
}

.hof-action-item.btn-share.active {
    background: #dcfce7 !important;
    border-color: #bbf7d0 !important;
    box-shadow: 0 3px 8px rgba(21, 128, 61, 0.15) !important;
}
.hof-action-item.btn-share.active i,
.hof-action-item.btn-share.active .count {
    color: #15803d !important;
}

/* 🚫 빈 수상자 카드(empty-card) 스타일 */
.podium-card.empty-card {
    height: 100% !important;
    min-height: 520px !important;
    width: 100% !important;
    min-width: 0 !important;
}
.podium-card.empty-card .podium-media {
    height: 290px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}
.podium-card.empty-card .podium-body {
    flex: 1 !important;
    min-height: 230px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}

@keyframes medalShimmerGlow {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)) 
                drop-shadow(0 0 6px rgba(255, 255, 255, 0.6))
                brightness(1) contrast(1);
    }
    22% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) 
                drop-shadow(0 0 22px rgba(254, 240, 138, 0.95))
                brightness(1.38) contrast(1.12);
    }
    45% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95)) 
                drop-shadow(0 0 10px rgba(255, 255, 255, 0.7))
                brightness(1.05) contrast(1.02);
    }
}

.crown-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 2.7rem;
    margin: 0;
    line-height: 1;
    z-index: 3;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    animation: medalShimmerGlow 4.5s ease-in-out infinite;
}

/* 🏆 명예의 전당과 100% 동일한 메달 후광 번짐 & 애니메이션 효과 */
.hall-medal-effect {
    animation: medalShimmerGlow 4.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.95)) 
            drop-shadow(0 0 10px rgba(254, 240, 138, 0.75))
            brightness(1.05);
}

/* ==========================================================================
   🏆 명예의 전당 우측 상단 "... 스타" 럭셔리 뱃지 디자인 (Elegant Star Badge)
   ========================================================================== */
@keyframes elegantShimmer {
    0% {
        transform: translateX(-160%) rotate(25deg);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    42% {
        opacity: 0.9;
    }
    55%, 100% {
        transform: translateX(220%) rotate(25deg);
        opacity: 0;
    }
}

/* 과거 회차/수상작 배지 오버레이 (좌측 3D 메달 + 우측 텍스트 타이틀 배지 쌍 정렬) */
.award-badges-overlay {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    z-index: 10;
    pointer-events: none;
}
.award-badges-overlay .crown-badge {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}
.award-badges-overlay .winner-title-badge {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.winner-title-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.8rem;
    line-height: 1.2;
    letter-spacing: 0.2px;
    z-index: 5;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    user-select: none;
    box-sizing: border-box;
}

/* 럭셔리 은은한 크리스탈 광택 shimmer 레이어 */
.winner-title-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: elegantShimmer 4.5s ease-in-out infinite;
    pointer-events: none;
}

.winner-title-badge:hover,
.rank-ribbon:hover,
.m-card-badge:hover {
    transform: none !important;
}

.winner-title-badge i {
    font-size: 0.88rem;
    line-height: 1;
}

/* 🥇 1위 슈퍼스타 (밝은 노란색) */
.winner-title-badge.superstar-badge,
.super-star .winner-title-badge {
    background: linear-gradient(135deg, rgba(254, 249, 195, 0.95) 0%, rgba(254, 240, 138, 0.98) 50%, rgba(253, 224, 71, 0.95) 100%);
    color: #713f12;
    border: none;
    box-shadow: 0 4px 14px rgba(253, 224, 71, 0.45);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.95);
}
.winner-title-badge.superstar-badge i,
.super-star .winner-title-badge i {
    color: #a16207;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

/* 🥈 2위 브라이트스타 (밝은 하늘색) */
.winner-title-badge.brightstar-badge,
.bright-star .winner-title-badge {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.95) 0%, rgba(224, 242, 254, 0.98) 50%, rgba(186, 230, 253, 0.95) 100%);
    color: #0369a1;
    border: none;
    box-shadow: 0 4px 14px rgba(125, 211, 252, 0.45);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.95);
}
.winner-title-badge.brightstar-badge i,
.bright-star .winner-title-badge i {
    color: #0284c7;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

/* 🥉 3위 라이징스타 (밝은 연두색) */
.winner-title-badge.risingstar-badge,
.rising-star .winner-title-badge {
    background: linear-gradient(135deg, rgba(247, 254, 231, 0.95) 0%, rgba(236, 252, 203, 0.98) 50%, rgba(217, 249, 157, 0.95) 100%);
    color: #3f6212;
    border: none;
    box-shadow: 0 4px 14px rgba(163, 230, 53, 0.45);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.95);
}
.winner-title-badge.risingstar-badge i,
.rising-star .winner-title-badge i {
    color: #65a30d;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

/* 🐾 패밀리스타 (밝은 보라색) */
.winner-title-badge.family-badge,
.winner-title-badge.family-star-badge,
.podium-card:not(.super-star):not(.rising-star):not(.bright-star) .winner-title-badge {
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.95) 0%, rgba(233, 213, 255, 0.98) 50%, rgba(192, 132, 252, 0.95) 100%);
    color: #3b0764;
    border: none;
    box-shadow: 0 4px 14px rgba(192, 132, 252, 0.45);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.95);
}
.winner-title-badge.family-star-badge i,
.winner-title-badge.family-badge i,
.podium-card:not(.super-star):not(.rising-star):not(.bright-star) .winner-title-badge i {
    color: #7c3aed;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
    animation: none !important;
    transform: none !important;
}

/* 🐾 동물 아이콘 전용 - 슈퍼스타와 동일한 약한 흰색 빛(drop-shadow) 글로우 효과 적용 */
.pet-emoji-icon,
.winner-title-badge .pet-emoji-icon,
.m-card-badge .pet-emoji-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: inherit !important;
}
.pet-emoji-icon i,
.winner-title-badge .pet-emoji-icon i,
.m-card-badge .pet-emoji-icon i {
    color: inherit !important;
    font-size: 0.9em;
    filter: none !important;
}

/* 공동 수상 태그 (co-winner-tag) 우아한 통합 스타일 */
.winner-title-badge .co-winner-tag {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    color: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.12rem 0.45rem;
    border-radius: 12px;
    margin-left: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.winner-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    margin: 0;
    border: none;
    box-shadow: none;
    display: block;
}

.rookie-card {
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    border: 2px dashed var(--accent-purple);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-soft);
}

/* Profile Page */
.profile-card {
    width: 1280px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.65rem 2.25rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    position: relative;
}

.profile-avatar-container {
    flex-shrink: 0;
}

.avatar-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.profile-info-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.profile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-user-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-user-nickname {
    font-size: 1.7rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.user-role-chip {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.user-google-chip {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.profile-action-btns {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-mini-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mini-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 12px;
    font-size: 0.83rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.mini-stat-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.mini-stat-badge i {
    font-size: 0.9rem;
}

.mini-stat-badge.stat-posts i { color: #7c3aed; }
.mini-stat-badge.stat-score i { color: #d97706; }
.mini-stat-badge.stat-likes i { color: #e11d48; }
.mini-stat-badge.stat-awards i { color: #10b981; }

.mini-stat-badge span {
    color: #64748b;
}

.mini-stat-badge strong {
    color: #0f172a;
    font-weight: 800;
}


.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.85rem;
    background: #f3e8ff;
    border: 1px solid #d8b4fe;
    color: var(--accent-purple);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-right: 0.4rem;
    margin-top: 0.4rem;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-backdrop.show { display: flex; }

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 550px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 { font-size: 1.4rem; font-weight: 800; }
.btn-close { background: none; border: none; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-secondary); }
.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 400;
    font-family: inherit;
    outline: none;
}
.form-control:focus { border-color: var(--accent-purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
#detailCommentInput:focus,
#mDetailCommentInput:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid var(--accent-purple) !important;
}

/* Animations & Toast */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-brand);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .winners-podium { grid-template-columns: 1fr; }
    .hall-container > .winners-podium > .podium-card-wrapper { transform: none !important; }
    .hall-container > .winners-podium > .podium-card-wrapper .co-tabs-top { position: relative; bottom: auto; }
    .podium-stage-wrapper { margin-top: 0; }
    .podium-step.step-1 { height: 135px; }
    .podium-step.step-2 { height: 95px; }
    .podium-step.step-3 { height: 70px; }
    .step-rank-badge { font-size: 1.6rem; }
    .step-rank-badge.gold { font-size: 2.1rem; }
    .step-rank-sub { font-size: 0.95rem; }
    .step-rank-sub.gold { font-size: 1.15rem; }
    .step-rank-sub.silver { font-size: 0.95rem; }
    .step-rank-sub.bronze { font-size: 0.9rem; }
    .podium-card.super-star { transform: none; }
    .contest-hero { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
    .rookie-card { flex-direction: column; text-align: center; }
    .profile-card { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* ==========================================
 * Footer Styling (Light & Clean Modern)
 * ========================================== */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    margin-top: 4rem;
    padding: 3rem 2rem 3rem 2rem;
    color: var(--text-secondary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 2.1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.2rem;
}

.footer-brand .footer-logo-title {
    font-family: 'Pacifico', 'Dancing Script', cursive;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-brand .footer-slogan {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.footer-brand .footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gradient-brand);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* PC 프로필 카드 헤더 전용 소셜 버튼 스타일 */
.profile-social-links {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.2rem;
}

.profile-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1;
    padding: 0;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-social-btn.instagram {
    background: #fff0f5;
    color: #e1306c;
    border: 1.5px solid #fecdd3;
    box-shadow: 0 2px 6px rgba(225, 48, 108, 0.15);
}
.profile-social-btn.youtube {
    background: #ffeded;
    color: #ff0000;
    border: 1.5px solid #fecaca;
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.15);
}
.profile-social-btn.facebook {
    background: #eff6ff;
    color: #1877f2;
    border: 1.5px solid #bfdbfe;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
}
.profile-social-btn.blog {
    background: #f0fdf4;
    color: #03cf5d;
    border: 1.5px solid #bbf7d0;
    box-shadow: 0 2px 6px rgba(3, 207, 93, 0.15);
}

.profile-social-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
    transform: translateY(1px);
}

.profile-social-btn:hover {
    transform: translateY(-2px);
}

/* 1. Instagram: 인스타그램 그라데이션 */
.profile-social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4);
}

/* 2. YouTube: 유튜브 레드 */
.profile-social-btn.youtube:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

/* 3. Facebook: 페이스북 블루 */
.profile-social-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

/* 4. Blog: 블로그 그린 */
.profile-social-btn.blog:hover {
    background: #03cf5d;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(3, 207, 93, 0.4);
}

/* 🌟 명예의 전당 닉네임 우측 겹침(Stacked) 소셜 배지 아이콘 */
.sns-overlap-group {
    display: inline-flex;
    align-items: center;
}

.sns-overlap-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.6rem;
    text-decoration: none;
    position: relative;
    transform: translateY(1px);
}

.sns-overlap-item.instagram { background: #fff0f5; color: #e1306c; border: 0.8px solid #fecdd3; }
.sns-overlap-item.youtube   { background: #fef2f2; color: #ef4444; border: 0.8px solid #fecaca; }
.sns-overlap-item.facebook  { background: #eff6ff; color: #2563eb; border: 0.8px solid #bfdbfe; }
.sns-overlap-item.blog      { background: #f0fdf4; color: #16a34a; border: 0.8px solid #bbf7d0; }

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
    margin-top: 0.4rem;
}

.footer-prev-stars-col h4::after {
    display: none !important;
}

.footer-rank-slot-wrapper .footer-star-photo-item {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.footer-rank-slot-wrapper .footer-star-photo-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.award-badges-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.award-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

/* Pagination Styling */
.pagination-wrapper {
    max-width: 1280px;
    margin: 2rem auto 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.pagination-info strong {
    color: var(--accent-purple);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.page-link:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.page-link.active {
    background: var(--gradient-brand);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.page-link.prev, .page-link.next {
    padding: 0 1rem;
    gap: 0.4rem;
}

/* Post Detail Layer Popup Modal Styling - 항상 900x562 고정 규격 적용 */
.detail-modal-content {
    width: 900px !important;
    min-width: 900px !important;
    max-width: 900px !important;
    height: 562px !important;
    min-height: 562px !important;
    max-height: 562px !important;
    padding: 0 !important;
    position: relative;
    box-sizing: border-box !important;
}

.detail-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 30;
    background: #ffffff;
    color: var(--text-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-close:hover {
    background: #f8fafc;
    color: var(--accent-pink);
    border-color: rgba(244, 63, 94, 0.3);
    transform: scale(1.05);
}

.detail-modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 100% !important;
    height: 100% !important;
    min-height: 562px !important;
    max-height: 562px !important;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .detail-modal-body {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.detail-media-container {
    position: relative;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.detail-media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.detail-rank-badge .rank-ribbon {
    position: relative;
    top: 0;
    left: 0;
    white-space: nowrap;
}

.detail-info-container {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-y: overlay;
    scrollbar-gutter: stable;
    background: #ffffff;
}

#detailCommentList {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#detailCommentList::-webkit-scrollbar {
    display: none;
}

.detail-title {
    font-size: 1.25rem;
    font-weight: normal !important;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.detail-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 0 0 auto;
    word-break: break-all;
    white-space: pre-wrap;
}

.detail-actions {
    margin-top: 0.2rem;
    margin-bottom: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 0.85rem;
}

/* Edit Profile Button Styling */
.btn-edit-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 40px;
    padding: 0 1.25rem;
    box-sizing: border-box;
    border-radius: 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #e11d48 100%);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
    line-height: 1;
}

.btn-edit-profile:hover {
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.5);
    color: #ffffff;
}

.btn-edit-profile i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Save Profile Button Styling */
.btn-save-profile {
    width: 100%;
    margin-top: 1rem;
    padding: 0.95rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #e11d48 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    outline: none;
}

.btn-save-profile:hover {
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.5);
    color: #ffffff;
}

.trophy-row-item:hover {
    background-color: #faf5ff !important;
}

.btn-save-profile i {
    font-size: 1.05rem;
}

/* Logout Profile Button Styling */
.btn-logout-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 40px;
    padding: 0 1.1rem;
    box-sizing: border-box;
    border-radius: 24px;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.btn-logout-profile:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* Withdraw Profile Button Styling */
.btn-withdraw-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 40px;
    padding: 0 1.1rem;
    box-sizing: border-box;
    border-radius: 24px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #ef4444;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    outline: none;
}

.btn-withdraw-profile:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}


/* Modal Overscroll Contain */
.modal-backdrop, .detail-modal-content, .detail-info-container, .m-modal-backdrop, .m-modal-sheet {
    overscroll-behavior: contain;
}

/* Custom Stylish Toast Notification UI */
.paw-custom-toast-container {
    position: fixed;
    top: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(-25px);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.6rem;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    border: 1px solid rgba(244, 114, 182, 0.45);
    border-radius: 40px;
    box-shadow: 0 16px 40px rgba(244, 114, 182, 0.3);
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.paw-custom-toast-container.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.paw-custom-toast-icon {
    font-size: 1.2rem;
    color: #f472b6;
    animation: pulseIcon 1.5s infinite;
}

/* ❌ 모달 팝업 원형 닫기 버튼 공통 디자인 */
.btn-close {
    background: #f1f5f9 !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.btn-close:hover {
    background: #cbd5e1 !important;
    color: #0f172a !important;
    transform: scale(1.08);
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.input-invalid-shake {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25) !important;
    animation: fieldShake 0.4s ease-in-out;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* 🛡️ 카드 썸네일 및 팝업 모달 이미지 4개 모서리 서브픽셀 선/테두리 비침 방지 글로벌 픽스 */
.post-card,
.card-media,
.winner-card,
.hall-of-fame-card,
#detailImg,
#mDetailImg {
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    mask-image: -webkit-radial-gradient(white, black) !important;
    isolation: isolate;
}

.card-media img,
.post-card img,
#detailImg,
#mDetailImg {
    border-radius: inherit !important;
    clip-path: inset(0) !important;
}

/* PC 상세 모달 우측 스크롤 영역: 서서히 페이드 인/아웃(Fade Effect) 되는 파스텔 스크롤바 */
.detail-info-container {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
.detail-info-container.is-scrolling {
    scrollbar-color: rgba(244, 114, 182, 0.12) transparent;
}
.detail-info-container::-webkit-scrollbar {
    width: 4px;
}
.detail-info-container::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 50px;    /* 상단 표시선(닫기버튼 아래) 넘어오지 않게 안쪽 격리 */
    margin-bottom: 30px; /* 하단 표시선 넘어오지 않게 안쪽 격리 */
}
.detail-info-container::-webkit-scrollbar-thumb {
    background: rgba(244, 114, 182, 0) !important; /* 스크롤 안 할 땐 완전 투명 (0.45초 서서히 디졸브 페이드아웃) */
    opacity: 0 !important;
    border-radius: 10px;
    transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.detail-info-container.is-scrolling::-webkit-scrollbar-thumb {
    background: rgba(244, 114, 182, 0.12) !important; /* 스크롤 움직일 때 아주 옅은 파스텔 핑크(0.12)로 표출 */
    opacity: 1 !important;
    transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
