:root {
    --primary: #ff8fa3; --primary-dark: #e86b81; --bg: #fdfbfb;
    --card-bg: #ffffff; --text: #505050; --text-light: #888;
    --border: #eee; --divider: #eee;
    --gold: #ffc107; --silver: #b0b0b0; --bronze: #cd7f32;
    --total-bg: #fff0f3; --input-bg: #ffffff; --shadow: rgba(0,0,0,0.05);
}

[data-theme="dark"] {
    --primary: #ff8fa3; --primary-dark: #ffb3c1; --bg: #121212;
    --card-bg: #1e1e1e; --text: #e0e0e0; --text-light: #aaa;
    --border: #333; --divider: #333;
    --total-bg: #2a1a1e; --input-bg: #2c2c2c; --shadow: rgba(0,0,0,0.3);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Prompt', sans-serif; background-color: var(--bg); color: var(--text);
    margin: 0; padding: 20px 10px; display: flex; flex-direction: column; align-items: center;
    padding-bottom: 120px; transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

h1 {
    font-family: 'Prompt', sans-serif; font-weight: 700; color: var(--primary);
    font-size: 1.8rem; margin: 0 0 0 0; text-align: center;
    letter-spacing: -0.5px; text-transform: uppercase;
}

.copyright {
    font-size: 0.5rem; color: var(--text-light); text-align: center;
    margin: 2px 0 10px 0; font-weight: 400;
}

.desc { margin-bottom: 25px; text-align: center; color: var(--text-light); font-size: 1.1rem; font-weight: 500; }

.theme-toggle {
    position: absolute; top: 20px; right: 20px; background: var(--card-bg);
    border: 1px solid var(--border); color: var(--text); padding: 8px; border-radius: 50%;
    cursor: pointer; font-size: 1.2rem; display: flex; box-shadow: 0 2px 10px var(--shadow);
    z-index: 800;
}

/* --- Falling Hearts --- */
.heart-fall {
    position: fixed; top: -10vh; z-index: -1;
    user-select: none; pointer-events: none;
    animation: fall linear forwards; opacity: 0.8;
        pointer-events: none;
}
@keyframes fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* --- Banner & Video --- */
.banner-container {
    width: 100%; max-width: 800px; height: 200px; 
    margin: 0 0 25px; border-radius: 20px; overflow: hidden; position: relative;
    background-color: #eee; box-shadow: 0 10px 20px rgba(255, 143, 163, 0.15);
}
.banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 1s; z-index: 1; }
.banner-img.active { opacity: 1; }

.banner-container.video-active .banner-img { opacity: 0 !important; }

.banner-video-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 5; opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}
.banner-container.video-active .banner-video-container { opacity: 1; pointer-events: auto; }
.banner-video-container iframe { width: 100%; height: 100%; border: none; }

.banner-play-wrapper { position: absolute; bottom: 15px; right: 15px; z-index: 10; display: flex; align-items: center; }
.banner-play-btn {
    width: 50px; height: 50px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 143, 163, 0.6);
    transition: transform 0.2s, background-color 0.3s; animation: pulseBtn 2s infinite;
}
.banner-play-btn:hover { transform: scale(1.1); background: var(--primary-dark); }
.banner-container.video-active .banner-play-btn { animation: none; background: rgba(0,0,0,0.6); box-shadow: none; }

.banner-play-bubble {
    background: white; color: var(--primary); padding: 8px 15px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700; margin-right: 12px; position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); white-space: nowrap;
    animation: floatBubble 3s ease-in-out infinite; transition: opacity 0.5s, transform 0.5s;
}
.banner-play-bubble::after {
    content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    border-left: 7px solid white; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.banner-container.video-active .banner-play-bubble { opacity: 0; transform: translateX(10px); pointer-events: none; }

@keyframes pulseBtn { 0% { box-shadow: 0 0 0 0 rgba(255, 143, 163, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(255, 143, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 143, 163, 0); } }
@keyframes floatBubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (max-width: 600px) { .banner-container { height: 160px; margin-bottom: 20px; } .banner-play-btn { width: 45px; height: 45px; font-size: 1.5rem; } .banner-play-bubble { font-size: 0.75rem; padding: 6px 12px; } }

/* --- Components --- */
.section-divider-text { width: 100%; max-width: 800px; text-align: left; margin-bottom: 15px; line-height: 1.3; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.text-line-1 { font-size: 0.9rem; color: var(--text-light); font-weight: 300;}
.text-line-2 { font-size: 1.4rem; color: var(--primary); font-weight: 700; }

.highlight-section { width: 100%; max-width: 800px; margin-bottom: 20px; }
.highlight-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
.tab-btn { padding: 6px 16px; border-radius: 30px; border: 1px solid var(--border); background: var(--card-bg); color: var(--text-light); cursor: pointer; font-size: 0.8rem; transition: 0.3s; }
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.top3-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.rank-card { background: var(--card-bg); border-radius: 15px; padding: 15px; text-align: center; position: relative; border: 1px solid var(--border); min-width: 0; cursor: pointer; transition: transform 0.2s; box-shadow: 0 4px 10px var(--shadow); }
.rank-card:active { transform: scale(0.95); }
.rank-badge { position: absolute; top: 0; left: 0; padding: 4px 8px; font-size: 0.7rem; color: white; border-bottom-right-radius: 10px; font-weight: 600; }
.rank-1 .rank-badge { background: var(--gold); } .rank-2 .rank-badge { background: var(--silver); } .rank-3 .rank-badge { background: var(--bronze); }
.rank-event { font-size: 0.9rem; font-weight: 500; margin: 15px 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.rank-count { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.rank-date { font-size: 0.7rem; color: var(--text-light); }
@media (max-width: 600px) { .top3-container { gap: 5px; } .rank-card { padding: 12px 5px 8px 5px; border-radius: 10px; } .rank-badge { font-size: 0.6rem; padding: 2px 6px; } .rank-count { font-size: 0.9rem; margin-top: 5px; } .rank-event { font-size: 0.7rem; margin: 5px 0 2px; } .rank-date { font-size: 0.6rem; } }

.countdown-box { width: 100%; max-width: 800px; background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%); border-radius: 12px; padding: 10px 20px; color: white; margin-bottom: 10px; display: none; align-items: center; justify-content: space-between; gap: 15px; box-shadow: 0 5px 15px rgba(255, 154, 158, 0.2); animation: slideDown 0.5s ease; }
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cd-left { text-align: left; } .cd-title { font-size: 0.65rem; opacity: 0.9; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; } .cd-event { font-size: 0.95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.cd-timer { display: flex; gap: 10px; } .cd-unit { display: flex; flex-direction: column; align-items: center; } .cd-num { font-size: 1.1rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; } .cd-label { font-size: 0.5rem; opacity: 0.8; margin-top: 1px; }
@media (max-width: 600px) { .countdown-box { flex-direction: column; text-align: center; padding: 12px; gap: 8px;} .cd-left { text-align: center; } .cd-event { max-width: 100%; font-size: 1rem; } }

.summary-group { width: 100%; max-width: 800px; margin-bottom: 30px; }
.total-stats-container { width: 100%; background: var(--total-bg); border: 1px dashed var(--primary); border-radius: 15px; padding: 15px; margin-bottom: 10px; text-align: center; display: none; }
.total-label { font-size: 0.8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; } .total-number { font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; } .total-since { font-size: 0.75rem; color: var(--text-light); margin-top: 5px; }
.mission-container { width: 100%; background: var(--card-bg); border-radius: 15px; padding: 15px 20px; box-shadow: 0 5px 15px var(--shadow); display: none; border: 1px solid var(--border); }
.mission-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text); } .mission-target { color: var(--primary); font-weight: 700; }
.progress-track { width: 100%; height: 12px; background: var(--border); border-radius: 10px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%); width: 0%; border-radius: 10px; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.progress-fill::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg) translateX(-150%); animation: shimmer 2s infinite; }
@keyframes shimmer { 100% { transform: skewX(-20deg) translateX(150%); } } .mission-text { font-size: 0.75rem; color: var(--text-light); margin-top: 5px; text-align: right; }

.controls-container { width: 100%; max-width: 800px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.search-box { position: relative; width: 100%; flex: 1 1 100%; }
input { width: 100%; padding: 10px 15px 10px 35px; border-radius: 12px; border: 1px solid var(--border); font-family: 'Prompt', sans-serif; outline: none; background: var(--input-bg); color: var(--text); } input:focus { border-color: var(--primary); }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
select { flex: 1; min-width: 120px; padding: 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--input-bg); color: var(--text); font-family: 'Prompt', sans-serif; outline: none; }
@media (min-width: 768px) { .search-box { flex: 2; width: auto; } select { flex: 1; } }

.stats-container { width: 100%; max-width: 800px; }
.month-divider { font-size: 0.85rem; color: var(--text-light); margin: 20px 0 8px; font-weight: 500; display: flex; align-items: center; gap: 10px; } .month-divider::after { content: ''; flex: 1; height: 1px; background: var(--divider); }
.stat-card { background: var(--card-bg); border-radius: 12px; padding: 12px 15px; margin-bottom: 8px; border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; transition: transform 0.2s; box-shadow: 0 2px 5px var(--shadow); }
.stat-card:active { transform: scale(0.98); }
.event-left { flex: 1; min-width: 0; } .event-title { font-size: 0.9rem; font-weight: 500; color: var(--text); margin-bottom: 3px; overflow-wrap: anywhere; word-break: break-word; line-height: 1.3; }
.event-meta { display: flex; gap: 8px; align-items: center; font-size: 0.75rem; color: var(--text-light); flex-wrap: wrap; }
.category-badge { padding: 1px 6px; border-radius: 4px; background: var(--border); color: var(--text-light); font-size: 0.65rem; }
.count-right { text-align: right; flex-shrink: 0; } .count-val { font-size: 1rem; font-weight: 600; color: var(--primary); } .count-lbl { font-size: 0.6rem; color: var(--text-light); text-transform: uppercase; }

.floating-chart-btn { position: fixed; bottom: 90px; right: 25px; width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 50%; color: white; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 15px rgba(255, 143, 163, 0.4); cursor: pointer; z-index: 900; font-size: 1.5rem; transition: transform 0.2s; }
.floating-chart-btn:hover { transform: scale(1.1); } .floating-chart-btn:active { transform: scale(0.95); }

.social-footer {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
    background: var(--card-bg); border-top: 1px solid var(--border);
    display: flex; justify-content: center; align-items: center; gap: 25px;
    z-index: 950; box-shadow: 0 -5px 15px var(--shadow);
}
.social-link { color: var(--text-light); font-size: 1.5rem; transition: 0.2s; }
.social-link:hover { color: var(--primary); transform: translateY(-3px); }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: none; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(3px); }
.modal-content { background: var(--card-bg); width: 90%; max-width: 380px; border-radius: 20px; padding: 25px 20px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: zoomIn 0.2s ease; border: 1px solid var(--border); color: var(--text); }
.modal-credit { font-size: 0.65rem; color: var(--text-light); text-align: right; margin-top: 15px; font-style: italic; opacity: 0.7; }
.chart-modal-content { width: 95%; max-width: 600px; padding: 20px; height: 400px; display: flex; flex-direction: column; background: white; color: #333; }
@keyframes zoomIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-btn { position: absolute; top: 15px; right: 15px; cursor: pointer; color: var(--text-light); font-size: 1.5rem; line-height: 1;}

#loading { margin-top: 40px; color: var(--text-light); font-size: 0.9rem; }
.no-result { text-align: center; color: var(--text-light); margin-top: 40px; display: none; }

/* --- 📸 Gallery Styles (เพิ่มใหม่) --- */
.gallery-grid {
    width: 100%; max-width: 1000px;
    display: grid; grid-template-columns: repeat(2, 1fr); /* มือถือแสดง 2 รูปต่อแถว */
    gap: 10px; padding: 10px; margin-bottom: 20px;
}
@media(min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; } /* จอใหญ่แสดง 4 รูป */
}

.gallery-item {
    position: relative; overflow: hidden; border-radius: 12px;
    box-shadow: 0 4px 10px var(--shadow); cursor: pointer; 
    aspect-ratio: 3/4; /* อัตราส่วนรูปแนวตั้ง */
    background-color: var(--card-bg);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }

.gallery-caption {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white; padding: 10px; font-size: 0.8rem; font-weight: 500;
    transform: translateY(100%); transition: transform 0.3s;
}
/* แสดงชื่อลุคเมื่อเอาเมาส์ชี้ หรือในมือถืออาจจะโชว์ตลอดก็ได้ถ้าต้องการ */
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* --- 🔥 Floating Action Button (Menu) 🔥 --- */
.fab-container {
    position: fixed; bottom: 90px; right: 25px;
    z-index: 900; display: flex; flex-direction: column; align-items: flex-end;
    pointer-events: none; /* ให้พื้นที่ว่างๆ ทะลุผ่านได้ */
}

/* ปุ่มกลมๆ (ทั้ง Main และ Mini) */
.fab-btn {
    border-radius: 50%; color: white;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; transition: 0.3s;
    pointer-events: auto; /* ปุ่ม Main ต้องกดได้เสมอ */
}

/* ปุ่มหลัก (Main) */
.fab-btn.main {
    width: 55px; height: 55px; font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 2;
}
.fab-btn.main:hover { transform: scale(1.1); }
.fab-btn.main.active { transform: rotate(45deg); background: #555; }

/* ปุ่มย่อย (Mini) */
.fab-btn.mini {
    width: 45px; height: 45px; font-size: 1.2rem;
    background: var(--card-bg); color: var(--primary);
    border: 1px solid var(--primary);
}
.fab-btn.mini:hover { background: var(--primary); color: white; }

/* กลุ่มตัวเลือก (ซ่อนไว้ก่อน) */
.fab-options {
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
    margin-bottom: 10px; opacity: 0;
    transform: translateY(20px); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; /* กล่องเมนูย่อย ห้ามกด */
}

/* เมื่อเปิดเมนู (แสดงผล) */
.fab-container.active .fab-options {
    opacity: 1;
    transform: translateY(0);
}

/* แถวของแต่ละตัวเลือก (ที่เป็น Link หรือ Div) */
.fab-item {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    pointer-events: none; /* ✨ แก้ไข 1: ปกติห้ามกดลิงก์ */
}

/* ปิดการกดที่ปุ่ม mini ด้วย (เพราะ class fab-btn มันสั่ง auto ไว้) */
.fab-options .fab-btn {
    pointer-events: none; /* ✨ แก้ไข 2: ปกติห้ามกดปุ่มเล็ก */
}

/* ✨ แก้ไข 3: เมื่อเปิดเมนู (active) ถึงจะยอมให้กดได้ */
.fab-container.active .fab-item,
.fab-container.active .fab-options .fab-btn {
    pointer-events: auto;
}

.fab-item:hover .fab-label { opacity: 1; transform: translateX(0); }

/* ป้ายข้อความ (Label) */
.fab-label {
    background: rgba(0,0,0,0.7); color: white;
    padding: 5px 12px; border-radius: 6px; font-size: 0.8rem;
    white-space: nowrap; backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- 👤 Profile Page Styles --- */

/* Profile Card */
.profile-card {
    background: var(--card-bg); width: 100%; max-width: 600px;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border); margin-bottom: 20px;
    text-align: center; padding-bottom: 20px;
}
.profile-img-container {
    width: 100%; height: 250px; overflow: hidden;
}
.profile-img-container img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
}
.profile-info { padding: 20px; }
.profile-info h2 { color: var(--primary); margin: 0; font-size: 1.5rem; letter-spacing: -0.5px; }
.nickname { color: var(--text-light); margin: 5px 0 20px; font-weight: 300; font-size: 1rem; }

.info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px;
    text-align: left; background: var(--total-bg); padding: 15px; border-radius: 12px;
}
.info-item { display: flex; flex-direction: column; }
.info-item .label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; }
.info-item .value { font-size: 0.95rem; color: var(--text); font-weight: 600; }

.hashtags span {
    display: inline-block; background: var(--border); color: var(--text-light);
    padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; margin: 3px;
}

/* Timeline */
.timeline-container {
    width: 100%; max-width: 600px; position: relative;
    padding-left: 20px; border-left: 2px solid var(--border);
    margin-left: 10px;
}
.timeline-item {
    position: relative; margin-bottom: 30px; padding-left: 20px;
}
.timeline-item::before {
    content: ''; position: absolute; left: -26px; top: 5px;
    width: 14px; height: 14px; background: var(--primary);
    border: 3px solid var(--card-bg); border-radius: 50%;
    box-shadow: 0 0 0 2px var(--border);
}
.timeline-date {
    font-size: 0.75rem; color: var(--primary); font-weight: 700;
    margin-bottom: 5px; letter-spacing: 1px;
}
.timeline-content {
    background: var(--card-bg); padding: 15px; border-radius: 12px;
    border: 1px solid var(--border); box-shadow: 0 2px 5px var(--shadow);
}
.timeline-content h3 { margin: 0 0 5px; font-size: 1rem; color: var(--text); }
.timeline-content p { margin: 0; font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }

/* --- Active State for FAB Menu --- */
.fab-btn.mini.current {
    background: var(--primary); 
    color: white; 
    border-color: var(--primary);
    cursor: default;
    pointer-events: none; /* ห้ามกดซ้ำ */
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

/* ---⬇️ ปุ่ม Load More แบบใหม่ (สวยขึ้น) --- */
        #loadMoreContainer {
            text-align: center;
            padding: 30px 20px 50px; /* เว้นระยะห่างบนล่างให้สวยงาม */
            clear: both;
        }

        .load-more-btn {
            background: var(--card-bg); /* พื้นหลังตามธีม */
            color: var(--primary); /* ตัวหนังสือสีหลัก */
            border: 2px solid var(--primary); /* ขอบสีหลัก */
            padding: 12px 35px;
            border-radius: 50px; /* ทรงแคปซูล */
            font-family: 'Prompt', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 15px var(--shadow);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* เด้งสมูทๆ */
            display: inline-flex;
            align-items: center;
            gap: 10px; /* ระยะห่างไอคอนกับตัวหนังสือ */
        }

        /* ตอนเอาเมาส์ชี้ */
        .load-more-btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px); /* ลอยขึ้นนิดนึง */
            box-shadow: 0 10px 25px rgba(255, 143, 163, 0.4); /* เงาฟุ้งๆ สีชมพู */
        }
        
        /* ตอนกด */
        .load-more-btn:active {
            transform: scale(0.95); /* ยุบลงนิดนึง */
        }

        /* ปรับเงาตอน Dark Mode */
        [data-theme="dark"] .load-more-btn:hover {
             box-shadow: 0 10px 25px rgba(255, 143, 163, 0.2);
        }

/* --- 🎨 สีหมวดหมู่ (Category Colors) --- */

/* 1. คอนเสิร์ต (สีชมพูเข้ม/แดง) */
.cat-concert { 
    background: #fce4ec; color: #ad1457; border: 1px solid #f8bbd0; 
}

/* 2. เกม (สีเขียว) */
.cat-gaming { 
    background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; 
}

/* 3. คอนเทนต์ (สีฟ้า) */
.cat-content { 
    background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; 
}

/* 4. งานอีเวนต์ (สีส้ม) */
.cat-event { 
    background: #fff3e0; color: #ef6c00; border: 1px solid #ffe0b2; 
}

/* 5. fansign (สีม่วง) */
.cat-fansign { 
    background: #e1f5fe; color: #0288d1; border: 1px solid #b3e5fc; 
}

/* 6. แฟชั่น (สีเหลือง/ทอง) */
.cat-fashion { 
    background: #fffde7; color: #fbc02d; border: 1px solid #fff59d; 
}
/* 7. งานเดี่ยว/Only Heart (สีชมพูหวาน) */
.cat-onlyheart { 
    background: #fff0f5; color: #d81b60; border: 1px solid #f48fb1; 
}

/* (เพิ่มหมวดอื่นๆ ได้ตามชื่อใน Sheet โดยเปลี่ยนชื่อหลัง .cat- ให้ตรงกัน) */

/* --- 🌙 ปรับสีหมวดหมู่ให้เข้มขึ้นตอน Dark Mode --- */
[data-theme="dark"] .cat-concert { background: #4a1b26; color: #ffb3c1; border-color: #662e3b; }
[data-theme="dark"] .cat-gaming { background: #1b3820; color: #81c784; border-color: #2e5234; }
[data-theme="dark"] .cat-content { background: #16283b; color: #64b5f6; border-color: #243e57; }
[data-theme="dark"] .cat-event { background: #4a2c16; color: #ffcc80; border-color: #664024; }
[data-theme="dark"] .cat-fansign { background: #102a38; color: #4fc3f7; border-color: #1f4b61; }
[data-theme="dark"] .cat-fashion { background: #4a4105; color: #fff59d; border-color: #685e08; }
[data-theme="dark"] .cat-onlyheart { background: #4a0d28; color: #f8bbd0; border-color: #880e4f; }