body { 
    font-family: 'Sarabun', sans-serif; 
}
.modal-backdrop { 
    background-color: rgba(0, 0, 0, 0.5); 
}
.modal { 
    transition: opacity 0.3s ease, transform 0.3s ease; 
}
.board-card-overview {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.board-card-overview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.15);
}
.masonry-container {
    column-gap: 1.5rem;
    column-count: 1;
}
@media (min-width: 640px) { .masonry-container { column-count: 2; } }
@media (min-width: 1024px) { .masonry-container { column-count: 3; } }
@media (min-width: 1280px) { .masonry-container { column-count: 4; } }

.post-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    width: 100%;
    display: inline-block;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    position: relative;
}
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 30;
}
.main-title { 
    cursor: pointer; 
}
.color-swatch {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}
.color-swatch.selected {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px white;
}
.emoji-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-size: 1.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
}
.emoji-btn:hover { 
    background-color: #e5e7eb; 
}
.emoji-btn.selected {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px white;
    background-color: #ccfbf1;
}
.pagination-btn {
    min-width: 2.5rem; /* 40px */
}
.category-btn {
    scroll-snap-align: start;
}
.category-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.category-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}
.like-btn.liked svg {
    fill: #ef4444; /* red-500 */
    color: #ef4444;
}
