:root { --primary: #ff4757; --bg: #fdfefe; --glass: rgba(255, 255, 255, 0.85); --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); } 
/* ✅ 배경 변경: 헬스케어 앱 특유의 깨끗한 톤 + 정밀한 격자무늬 + 은은한 메디컬 블루/레드 조명 */
body { margin: 0; overflow: hidden; background-color: var(--bg); font-family: 'Pretendard', sans-serif; color: #2d3436; background-image: radial-gradient(circle at 10% 20%, rgba(9, 132, 227, 0.08), transparent 40%), radial-gradient(circle at 90% 80%, rgba(255, 71, 87, 0.05), transparent 40%), linear-gradient(rgba(45, 52, 54, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 52, 54, 0.03) 1px, transparent 1px); background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px; } 
canvas { display: block; touch-action: none; } 
#header { position: absolute; top: 0; left: 0; width: 100%; height: 70px; background: rgba(255,255,255,0.7); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; box-sizing: border-box; z-index: 100; border-bottom: 1px solid rgba(0,0,0,0.05); } 
.logo { font-size: 24px; font-weight: 900; color: var(--primary); letter-spacing: -1px; cursor: pointer; flex-shrink: 0; } 
.logo span { color: #2d3436; } 
.header-right { display: flex; align-items: center; justify-content: flex-end; height: 100%; gap: 15px; } 
.nav-menu { display: flex; align-items: center; gap: 5px; height: 100%; } 
.dropdown { position: relative; display: flex; align-items: center; height: 100%; cursor: pointer; } 
.drop-btn { font-size: 15px; font-weight: 500; cursor: pointer; color: #636e72; white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 0 15px; height: 100%; position: relative; transition: color 0.3s ease; background: transparent; border: none;} 
.drop-btn::after { content: ''; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--primary); transition: width 0.3s ease;}
@media (hover: hover) and (pointer: fine) { .drop-btn:hover { color: #2d3436; font-weight: 700; } .drop-btn:hover::after { width: 60%; } }
.search-container { position: relative; display: flex; align-items: center; margin-right: 10px; height: 100%; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #a4b0be; pointer-events: none; }
#global-search { box-sizing: border-box; height: 36px; padding: 0 15px 0 38px; border-radius: 20px; border: 1px solid #dfe6e9; background: rgba(255,255,255,0.6); font-size: 13px; font-family: inherit; width: 150px; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); outline: none; color: #2d3436;}
#global-search.active { width: 220px; border-color: #b2bec3; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.badge { background: #ffeaa7; color: #d63031; font-size: 9px; padding: 2px 5px; border-radius: 5px; margin-left: 2px;} 
.overlay-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(248, 250, 255, 0.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; box-sizing: border-box; } 
.modal-box { background: white; padding: 30px; border-radius: 20px; box-shadow: var(--shadow); text-align: center; width: 100%; max-width: 420px; max-height: 85vh; overflow-y: auto; } 
.btn-main { background: var(--primary); color: white; border: none; padding: 15px; border-radius: 12px; font-weight: bold; cursor: pointer; margin-bottom: 20px; width: 100%; font-size: 15px; transition: 0.2s;} 
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3); } 
.btn-secondary { background: #eee; color: #2d3436; border: none; padding: 15px; border-radius: 12px; font-weight: bold; cursor: pointer; width: 100%; font-size: 15px; transition: 0.2s;}
.btn-secondary:hover { background: #e2e6ea; }
#detail-panel { position: absolute; top: 70px; right: 0; width: 550px; height: calc(100% - 70px); background: var(--glass); backdrop-filter: blur(25px); box-shadow: var(--shadow); display: none; flex-direction: column; z-index: 50; border-left: 1px solid rgba(0,0,0,0.05); }
.post-item { background: white; padding: 18px; border-radius: 16px; margin-bottom: 12px; cursor: pointer; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition:0.2s;} 
.toast { background: rgba(45, 52, 54, 0.95); color: white; padding: 14px 28px; border-radius: 30px; font-size: 14px; font-weight: bold; }
.auth-section { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid rgba(0,0,0,0.1); flex-shrink: 0; height: 100%; } 
.btn-login { background: white; color: var(--primary); border: 1px solid var(--primary); padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: bold; cursor: pointer; transition: 0.2s; white-space: nowrap;} 
.btn-login:hover { background: var(--primary); color: white; } 
.btn-logout { background: none; color: #a4b0be; border: none; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0;} 
.user-name { font-size: 13px; font-weight: bold; color: #2d3436; white-space: nowrap;} 
.notice-box { background: #f1f2f6; padding: 18px; border-radius: 14px; text-align: left; font-size: 12px; color: #636e72; line-height: 1.6; margin-bottom: 20px; word-break: keep-all;} 
.nickname-input { width: 100%; padding: 15px; border-radius: 12px; border: 2px solid #eee; outline: none; margin-bottom: 15px; font-size: 15px; text-align: center; box-sizing: border-box; transition: 0.2s;} 
.nickname-input:focus { border-color: var(--primary); } 
#controls-guide { position: absolute; bottom: 65px; left: 25px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); padding: 15px 20px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05); z-index: 90; width: 230px; font-size: 12px; transition: opacity 0.3s;} 
.guide-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; color: var(--primary); } 
.guide-content p { margin: 6px 0; display: flex; align-items: center; } 
.guide-content span { background: #f1f2f6; padding: 3px 7px; border-radius: 6px; margin-right: 8px; font-weight: 800; font-size: 10px; } 
.guide-footer label { display: flex; align-items: center; font-size: 11px; color: #636e72; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; cursor: pointer;} 
#drag-handle-wrapper { display: none; padding: 15px 0; cursor: grab; justify-content: center; touch-action: none; } 
#drag-handle { width: 40px; height: 5px; background: #c8d6e5; border-radius: 10px; pointer-events: none;} 
.panel-content { padding: 10px 35px 30px 35px; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; overflow-y: auto; } 
#detail-title { font-size: 26px; font-weight: bold; color: var(--primary); margin-bottom: 15px; margin-top: 0;} 
#part-image-placeholder { width: 100%; min-height: 180px; max-height: 180px; background: #f8faff; border-radius: 14px; border: 2px dashed #dcdde1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #718093; font-size: 13px; font-weight: 600; text-align: center; margin-bottom: 20px; flex-shrink: 0; overflow: hidden; transition: 0.3s;} 
.view-section { display: none; flex-direction: column; } 
.view-section.active { display: flex; } 
.post-item:hover { border-color:var(--primary); }
.post-item-meta { font-size: 11px; color: #a4b0be; margin-bottom: 8px; display: flex; align-items: center; gap: 6px;} 
.part-badge { background: #f1f2f6; padding: 3px 6px; border-radius: 4px; color: #2d3436; font-weight: bold; } 
.back-btn { color: #a4b0be; cursor: pointer; font-size: 13px; margin-bottom: 15px; font-weight: bold; display: block; transition:0.2s;} 
.back-btn:hover { color:var(--primary); }
input[type="text"], textarea, select { padding: 15px; border-radius: 12px; border: 1px solid #ddd; outline: none; margin-bottom: 10px; font-family: inherit; font-size: 14px; width: 100%; box-sizing: border-box;} 
textarea { resize: none; height: 120px; } 
.comment-item { padding: 12px; background: #f1f2f6; border-radius: 10px; margin-bottom: 8px; font-size: 13px; } 
.comment-meta { font-size: 10px; color: #a4b0be; margin-bottom: 3px; display: flex; align-items: center; gap: 5px;} 

.tag-btn { background:#f1f2f6; border:none; padding:8px 14px; border-radius:20px; font-size:13px; color:#636e72; cursor:pointer; transition:0.2s; white-space:nowrap;}
.tag-btn.active { background:var(--primary); color:white; font-weight:bold; box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2);}
.tag-badge { background:#fff1f2; color:var(--primary); font-size:11px; font-weight:bold; padding:3px 8px; border-radius:10px; margin-right:4px;}

.sort-btn { font-size: 13px; color: #a4b0be; cursor: pointer; font-weight: bold; transition: 0.2s; padding: 4px 8px; border-radius: 6px;} 
.sort-btn.active { color: var(--primary); background: #fff1f2; }
.sort-btn:hover:not(.active) { color: #2d3436; }

#hero-intro { position: absolute; top: 120px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; pointer-events: none; transition: opacity 0.3s; width: 100%; }
#hero-intro h1 { font-size: 32px; color: var(--primary); margin: 0 0 10px 0; font-weight: 900; text-shadow: 0 2px 15px rgba(255,255,255,0.9); letter-spacing:-1px;}
#hero-intro p { font-size: 15px; color: #2d3436; font-weight: 700; margin: 0; background: rgba(255,255,255,0.85); padding: 8px 20px; border-radius: 20px; display: inline-block; backdrop-filter: blur(10px); box-shadow: var(--shadow);}

#camera-controls { position: absolute; right: 30px; bottom: 70px; display: flex; flex-direction: column; gap: 12px; z-index: 10; transition: opacity 0.3s; }
.cam-btn { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.05); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; color: #636e72; transition: 0.2s; }
.cam-btn:hover { background: var(--primary); color: white; transform: translateY(-2px);}

#live-ticker-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); border-top: 1px solid rgba(0,0,0,0.05); z-index: 40; display: flex; align-items: center; overflow: hidden; transition: opacity 0.3s; }
.ticker-title { background: var(--primary); color: white; font-size: 11px; font-weight: 900; padding: 0 15px; height: 100%; display: flex; align-items: center; z-index: 2; box-shadow: 2px 0 10px rgba(0,0,0,0.1); white-space: nowrap; flex-shrink:0;}
.ticker-wrapper { flex: 1; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 25s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }
.ticker-item { font-size: 13px; font-weight: 600; color: #2d3436; margin-right: 50px; cursor: pointer; }
.ticker-item:hover { color: var(--primary); text-decoration: underline; }
.ticker-part { color: var(--primary); margin-right: 5px; font-weight:800;}

.pubmed-card { background: #fff; border: 1px solid #e1e8ed; border-radius: 10px; padding: 12px 15px; margin-bottom: 8px; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.pubmed-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(255, 71, 87, 0.08); transform: translateY(-2px); }
.pubmed-title-ko { font-size: 14px; font-weight: 800; color: #2d3436; margin-bottom: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pubmed-title-en { font-size: 11px; font-weight: 500; color: #636e72; margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-style: italic; }
.pubmed-meta { font-size: 11px; color: #a4b0be; }

.pubmed-search-btn { background:var(--primary); color:white; border:none; font-weight:bold; cursor:pointer; font-size:13px; transition:0.2s; box-sizing:border-box;}
.pubmed-search-btn:hover { background:#ff3043; box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2); }
.pubmed-refresh-btn { background:white; color:#636e72; border:1px solid #dcdde1; font-weight:bold; cursor:pointer; transition:0.2s; box-sizing:border-box;}
.pubmed-refresh-btn:hover { background:#f1f2f6; color:#2d3436; border-color:#b2bec3; }

.lang-btn { padding: 8px 16px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 13px; outline:none; }

input[type=range] { -webkit-appearance: none; width: 100%; margin: 10px 0; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; margin-top: -8px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; cursor: pointer; background: #eee; border-radius: 4px; }
.diary-item { background: white; padding: 15px; border-radius: 12px; margin-bottom: 10px; border: 1px solid #eee; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.02);}
.diary-meta { font-size: 11px; color: #a4b0be; font-weight: bold; }
.pain-score-badge { display: inline-block; padding: 4px 8px; border-radius: 10px; font-weight: 900; font-size: 12px; color: white; }

@media (max-width: 768px) { 
    #header { padding: 0 10px; gap: 5px; } 
    .logo { font-size: 18px; margin-right: auto; } 
    .header-right { justify-content: flex-start; flex: 1; padding-right: 10px; gap: 5px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; } 
    .header-right::-webkit-scrollbar { display: none; }
    .nav-menu, .auth-section, .search-container { flex-shrink: 0; }
    .nav-menu { gap: 0; } 
    .drop-btn { font-size: 13px; padding: 0 10px; border-bottom-width: 2px; } 
    .drop-btn::after { display: none; }
    
    .search-container { margin-right: 5px; }
    #global-search { width: 100px; font-size: 12px; padding: 8px 12px 8px 30px; }
    #global-search:focus { width: 130px; }
    .search-icon { left: 10px; width: 14px; height: 14px; }

    .badge { font-size: 8px; padding: 2px 3px; margin-left: 2px;} 
    .auth-section { padding-left: 6px; gap: 4px; border-left: 1px solid #eee; margin-left: 0; } 
    .btn-login { padding: 5px 8px; font-size: 11px; border-radius: 15px;} 
    .user-name { font-size: 11px; }
    .btn-logout { font-size: 10px; }
    #detail-panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 50%; border-left: none; border-top: 1px solid rgba(0,0,0,0.1); border-radius: 24px 24px 0 0; will-change: height; } 
    #drag-handle-wrapper { display: flex; } 
    .panel-content { padding: 0 20px 30px 20px; } 
    #controls-guide { bottom: auto; top: 80px; left: auto; right: 10px; width: 160px; font-size: 10px; padding: 12px; } 
    .modal-box { padding: 25px 20px; } 
    .notice-box { font-size: 11px; padding: 15px; } 
    #part-image-placeholder { min-height: 120px; max-height: 120px; } 
    #hero-intro { top: 90px; }
    #hero-intro h1 { font-size: 22px; }
    #hero-intro p { font-size: 12px; padding: 6px 12px; }
    #camera-controls { right: 10px; bottom: 50px; gap: 8px;}
    .cam-btn { width: 38px; height: 38px; font-size: 10px; }
}

/* ==========================================
   🆕 통합 로그인 모달 및 헤더 UI 스타일
   ========================================== */
.hidden { display: none !important; }

#auth-container { display: flex; align-items: center; }
.btn-login-outline {
    background: transparent; border: 1.5px solid #ff4757; color: #ff4757;
    padding: 8px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-login-outline:hover { background: #ff4757; color: white; }
.btn-text { background: none; border: none; color: #a4b0be; cursor: pointer; text-decoration: underline; font-size: 13px; margin-left: 5px; }
.user-name { font-size: 14px; color: #2d3436; }

/* 모달창 전체 배경 블러 처리 */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center; z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}
.modal-box {
    background: white; width: 100%; max-width: 360px; padding: 40px 30px; border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); position: relative; animation: slideUp 0.3s ease-out;
}
.close-icon { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 18px; color: #a4b0be; cursor: pointer; }
.modal-header { text-align: center; margin-bottom: 30px; }
.modal-logo { font-size: 28px; font-weight: 800; color: #2d3436; margin-bottom: 5px; }
.modal-header p { font-size: 13px; color: #636e72; margin: 0; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 12px; font-weight: 600; color: #2d3436; margin-bottom: 5px; }
.input-group input { width: 100%; padding: 12px; box-sizing: border-box; border: 1px solid #dfe6e9; border-radius: 12px; font-size: 14px; background: #f8f9fa; transition: 0.3s; }
.input-group input:focus { border-color: #ff4757; outline: none; background: white; box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1); }
.btn-login-submit { width: 100%; background: #ff4757; color: white; border: none; padding: 14px; border-radius: 12px; font-size: 15px; font-weight: bold; cursor: pointer; margin-top: 10px; transition: 0.3s; }
.btn-login-submit:hover { background: #ff6b81; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3); }
.modal-footer { margin-top: 20px; text-align: center; font-size: 12px; color: #636e72; }
.modal-footer a { color: #ff4757; font-weight: bold; text-decoration: none; margin-left: 5px; }


/* ==========================================
   스킨 모드: 피부유형 자가 테스트 UI (수정완료)
   ========================================== */

/* 스킨 오버레이 (배경 분리 현상 해결 및 단일 톤 통일) */
.skin-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(20, 25, 30, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    padding-top: 15vh; 
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    z-index: 99999;
    box-sizing: border-box;
}

/* 중앙 팝업 카드 */
.skin-card {
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5); 
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); 
    width: 100%;
    max-width: 450px;
    max-height: 80vh; 
    overflow-y: auto; 
    text-align: center;
    animation: slideUpFade 0.4s ease forwards;
    box-sizing: border-box;
    margin: 0; 
}

/* 팝업 내부 스크롤바 디자인 */
.skin-card::-webkit-scrollbar { width: 6px; }
.skin-card::-webkit-scrollbar-track { background: transparent; }
.skin-card::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

.skin-card h2 { font-size: 22px; color: #2d3436; margin-bottom: 15px; }
.skin-card p { color: #636e72; font-size: 14px; line-height: 1.6; margin-bottom: 30px; }

/* 버튼 스타일 */
.btn-group { display: flex; flex-direction: column; gap: 12px; }
.btn-primary {
    background: var(--primary, #ff4757);
    color: white; border: none; padding: 16px; border-radius: 12px;
    font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3); }
.btn-secondary {
    background: rgba(241, 242, 246, 0.8); color: #747d8c; border: none; padding: 16px; border-radius: 12px;
    font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s;
}
.btn-secondary:hover { background: rgba(223, 228, 234, 0.9); color: #2f3542; }

/* 테스트 옵션 버튼 */
.options-group { display: flex; flex-direction: column; gap: 10px; margin-top: 25px; }
.option-btn {
    background: rgba(255, 255, 255, 0.6); border: 1px solid #dfe4ea; padding: 16px; border-radius: 12px;
    font-size: 14px; cursor: pointer; transition: 0.2s; color: #2d3436; text-align: left;
}
.option-btn:hover { border-color: var(--primary, #ff4757); background: #fff0f1; color: var(--primary, #ff4757); }

/* 프로그레스 바 */
.progress-bar { width: 100%; background: #f1f2f6; height: 6px; border-radius: 3px; margin-bottom: 20px; overflow: hidden;}
.progress-fill { height: 100%; background: var(--primary, #ff4757); width: 0%; transition: width 0.3s ease; }

/* ==========================================
   건너뛰기 알림 위젯 & 모달 버튼
   ========================================== */

/* 우측 하단 플로팅 위젯 */
.skip-widget {
    position: fixed;
    bottom: 30px; 
    right: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 90;
    animation: slideInRight 0.4s ease forwards;
}

.skip-widget-text { display: flex; flex-direction: column; text-align: left; }
.skip-widget-text strong { font-size: 13px; color: #2d3436; margin-bottom: 3px; }
.skip-widget-text span { font-size: 11px; color: #636e72; line-height: 1.3; }

.btn-sm-primary {
    background: var(--primary, #ff4757);
    color: white; border: none; padding: 10px 16px; border-radius: 10px;
    font-size: 12px; font-weight: bold; cursor: pointer; transition: 0.2s; white-space: nowrap;
}
.btn-sm-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3); }

/* 한 번 보고 창 닫기 텍스트 버튼 */
.btn-text {
    background: transparent; border: none; color: #a4b0be; font-size: 13px;
    text-decoration: underline; cursor: pointer; padding: 10px; transition: 0.2s; width: 100%; text-align: center;
}
.btn-text:hover { color: #636e72; }

/* 미션 리스트 (결과창 내부) */
.mission-list h4 { margin-bottom: 12px; color: #2d3436; font-size: 15px; }
.mission-card {
    background: rgba(255, 255, 255, 0.7); border: 1px solid #eee; padding: 15px; border-radius: 16px;
    display: flex; align-items: center; gap: 15px; margin-bottom: 10px; cursor: pointer; transition: 0.2s;
}
.mission-card:hover { border-color: var(--primary, #ff4757); transform: translateX(5px); box-shadow: 0 4px 12px rgba(0,0,0,0.05);}
.mission-icon { font-size: 24px; }
.mission-text { display: flex; flex-direction: column; gap: 4px; }
.mission-text strong { color: #2d3436; font-size: 13px; }
.mission-text span { color: #a4b0be; font-size: 11px; }

@media (max-width: 768px) {
    .skip-widget { bottom: 85px; right: 10px; left: 10px; justify-content: space-between; }
}

@keyframes slideInRight { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }