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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Twemoji 고급 이모지 인라인 표시 */
img.emoji {
    height: 1.1em;
    width: 1.1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.18em;
    display: inline-block;
}

:root {
    --primary: #e8a0bf;
    --primary-light: #fce4ec;
    --primary-dark: #c2185b;
    --secondary: #ba68c8;
    --accent: #ff8a65;
    --bg: #fdf6f9;
    --bg-card: #ffffff;
    --text: #37474f;
    --text-light: #78909c;
    --text-white: #ffffff;
    --shadow: 0 4px 20px rgba(232, 160, 191, 0.15);
    --shadow-hover: 0 8px 30px rgba(232, 160, 191, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --breakfast-bg: linear-gradient(135deg, #fff3e0, #ffe0b2);
    --lunch-bg: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    --dinner-bg: linear-gradient(135deg, #e8eaf6, #c5cae9);
    --breakfast-border: #ffb74d;
    --lunch-border: #81c784;
    --dinner-border: #7986cb;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 반투명 배경 이미지 (화면 전체 고정) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('bg.jpg') center center / cover no-repeat;
    opacity: 0.33;
    z-index: -1;
    pointer-events: none;
}

/* ========== 입사 D-day ========== */
.dday-bar {
    text-align: center;
    padding: 8px 16px 0;
}

.dday-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.65);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ========== Mood Section ========== */
.mood-section {
    background: transparent;
    padding: 10px 20px 19px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mood-section::before {
    display: none;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.mood-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 오늘의 영어 구문 ===== */
.english-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px 20px 14px;
}

.english-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.english-scrap {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 232, 238, 0.7);
    border: 1px solid rgba(150, 120, 170, 0.18);
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(70, 50, 90, 0.1);
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
    z-index: 2;
}
/* 스크랩 안 된 상태: 핀이 회색으로 흐릿 */
.english-scrap:not(.scrapped) img.emoji,
.english-scrap:not(.scrapped) {
    filter: grayscale(0.9);
}
.english-scrap:not(.scrapped) img.emoji {
    opacity: 0.55;
}
/* 스크랩된 상태: 색 들어오고 또렷 + 핀 강조 */
.english-scrap.scrapped {
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(232, 160, 191, 0.5);
    filter: none;
}
.english-scrap.scrapped img.emoji {
    opacity: 1;
    filter: none;
}
.english-scrap:hover {
    transform: scale(1.12);
}
/* 클릭 순간 눌리는 느낌 */
.english-scrap:active {
    transform: scale(0.86);
}

.english-main {
    flex: 1;
    min-width: 0;
}

.english-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
    padding-right: 38px;
}

.english-cat {
    color: var(--accent);
    font-weight: 600;
}

.english-en {
    font-family: 'Gowun Batang', serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.english-ko {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    line-height: 1.4;
}

.english-btns {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.english-note-btn {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 12px 14px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: 0 6px 16px rgba(70, 50, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.english-note-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 22px rgba(70, 50, 90, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.english-note-btn .note-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.english-note-btn .note-icon img.emoji {
    vertical-align: middle;
    margin: 0;
}

.english-note-btn .note-label {
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-light);
}

/* 글자 색은 셋 다 동일하게 (발음 듣기 색 기준) */
.english-note-btn.speak .note-label,
.english-note-btn.study-more .note-label,
.english-note-btn#openEnglishNote .note-label { color: #3f72a3; }

/* 표현 노트 모달 리스트 */
.english-note-list {
    padding: 8px 20px 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.english-note-item {
    background: var(--bg);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary);
}

.english-note-item .note-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.english-note-item .note-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.english-note-item .note-speak,
.english-note-item .note-del {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 2px;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.english-note-item .note-speak:hover,
.english-note-item .note-del:hover {
    opacity: 1;
    transform: scale(1.15);
}

.english-note-item.today {
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, rgba(252,228,236,0.6), rgba(232,234,246,0.6));
}

.english-note-item .note-day {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.english-note-item .note-en {
    font-family: 'Gowun Batang', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.english-note-item .note-ko {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===== 우리의 추억 갤러리 ===== */
.gallery-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 20px 60px;
}

.gallery-container {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius);
    padding: 14px 18px 18px;
    box-shadow: var(--shadow);
}

.gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gallery-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.gallery-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(232, 160, 191, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(232, 160, 191, 0.5);
}
.gallery-upload-btn.icon-only {
    width: 44px;
    height: 44px;
    padding: 0 0 3px;
    border-radius: 50%;
    font-size: 1.9rem;
    font-weight: 300;
    line-height: 1;
    position: relative;
    top: 5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 22px 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    background: #f2eef4;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.press-del {
    outline: 3px solid #e74c3c;
    outline-offset: -3px;
}
.gallery-item.press-del img { transform: scale(0.96); filter: brightness(0.8); }

.gallery-item .gi-del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.gallery-item:hover .gi-del { opacity: 1; }
@media (hover: none) {
    .gallery-item .gi-del { opacity: 0.85; }
}

.gallery-item .gi-meta {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0.15) 70%, transparent);
    color: #fff;
    padding: 16px 8px 7px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}
.gallery-item .gi-loc {
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 아웃라인 핀 위치 아이콘 */
.loc-icon {
    width: 1.05em;
    height: 1.05em;
    vertical-align: -0.12em;
    flex-shrink: 0;
}
.gallery-item .gi-memo {
    font-size: 0.66rem;
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 썸네일 왼쪽 위 날짜 (배경 없이 그림자로 가독성) */
.gallery-item .gi-date-badge {
    position: absolute;
    top: 7px;
    left: 8px;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.4);
}

/* 업로드 모달 */
.photo-upload-modal { max-width: 440px; }
.pu-preview {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 24px 4px;
}
.pu-preview img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.pu-loc-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
}
.pu-loc-input:focus { outline: none; border-color: var(--primary); }

.pu-memo-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    line-height: 1.5;
}
.pu-memo-input:focus { outline: none; border-color: var(--primary); }
.pu-actions { padding: 16px 24px 24px; }
.pu-actions .btn-primary { width: 100%; }

/* 사진 크게 보기 */
.photo-view-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.photo-view-overlay.show {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* 처음(썸네일)부터 최종 크기로 렌더링 → 작았다 커지는 현상 없음 */
.photo-view-overlay img {
    width: min(92vw, 640px);
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.photo-view-close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

/* 모바일: 2열로 크게 (사진·글자 잘 보이게) */
@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item .gi-loc { font-size: 0.78rem; }
    .gallery-item .gi-memo { font-size: 0.7rem; }
    .gallery-item .gi-d { font-size: 0.68rem; }
}

/* 길게 누르면 뜨는 삭제/편집 메뉴 */
.photo-action-modal {
    max-width: 300px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pa-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s ease;
}
.pa-btn:active { transform: scale(0.97); }
.pa-btn.edit { background: var(--primary-light); color: var(--primary-dark); }
.pa-btn.del { background: #fdecea; color: #c0392b; }
.pa-btn.cancel { background: #f2f2f4; color: var(--text-light); }

/* 편집: 사진 바꾸기 버튼 */
.pu-change-btn {
    margin: 6px 24px 0;
    padding: 8px 14px;
    background: rgba(186, 104, 200, 0.1);
    color: var(--secondary);
    border: 1.5px solid rgba(186, 104, 200, 0.3);
    border-radius: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* 크게 보기: 사진 바로 아래 위치·날짜·내용 */
.pv-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 20px;
    border-radius: 16px;
    max-width: 86vw;
}
.pv-meta .pv-top {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    max-width: 100%;
}
.pv-meta .pv-loc {
    font-weight: 700;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pv-meta .pv-date {
    font-size: 0.8rem;
    opacity: 0.85;
    flex-shrink: 0;
}
.pv-meta .pv-memo {
    font-size: 0.84rem;
    line-height: 1.5;
    opacity: 0.95;
    text-align: center;
    word-break: break-word;
}

/* ===== Weather Section ===== */
.weather-section {
    background: transparent;
    padding: 18px 16px 8px;
}

.weather-container {
    max-width: 1100px;
    margin: 0 auto;
}

.weather-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.weather-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1565c0;
}

.weather-now {
    font-size: 1rem;
    font-weight: 600;
    color: #1976d2;
}

.weather-hours {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.weather-hours {
    scrollbar-width: none;            /* Firefox */
    -ms-overflow-style: none;         /* IE/Edge */
}
.weather-hours::-webkit-scrollbar {
    display: none;                    /* Chrome/Safari */
}

.weather-card {
    flex: 0 0 auto;
    min-width: 54px;
    background: rgba(255,255,255,0.85);
    border-radius: 13px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(25,118,210,0.1);
}

.weather-time {
    font-size: 0.72rem;
    color: #607d8b;
    font-weight: 600;
}

.weather-icon {
    font-size: 1.3rem;
}

.weather-temp {
    font-size: 0.88rem;
    font-weight: 700;
    color: #37474f;
}

.weather-pop {
    font-size: 0.7rem;
    color: #1976d2;
}

.weather-loading {
    color: #607d8b;
    font-size: 0.9rem;
    padding: 8px 0;
}

/* ===== Reset Section ===== */
.reset-section {
    text-align: center;
    padding: 16px 20px 20px;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.85);
    color: #c0392b;
    border: 1.5px solid #e8b4b4;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

.btn-danger {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #c0392b;
}

.mood-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.mood-emojis {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.mood-btn {
    font-size: 2rem;
    background: rgba(255,255,255,0.7);
    border: 2px solid transparent;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.mood-btn:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.95);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(232, 160, 191, 0.3);
}

.mood-btn.selected {
    transform: scale(1.25);
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(232, 160, 191, 0.4);
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1.25); }
    50% { transform: scale(1.35); }
}

.mood-message {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--primary-dark);
    min-height: 24px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mood-message.show {
    opacity: 1;
}

/* ========== Today's Menu ========== */
.today-section {
    padding: 10px 20px 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: var(--text);
}

.title-icon {
    font-style: normal;
}

.today-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.today-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    padding: 24px 16px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow);
}

.today-label-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.today-label h2 {
    font-family: 'Gowun Batang', serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    color: white;
    white-space: nowrap;
}

.today-meals.swipe-anim {
    animation: mealFade 0.25s ease;
}
@keyframes mealFade {
    from { opacity: 0.35; }
    to { opacity: 1; }
}

.today-meals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex: 1;
}

.today-meal-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.today-meal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.today-meal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.today-meal-card:hover::before {
    opacity: 1;
}

.breakfast-card {
    background: linear-gradient(145deg, #ffffff, #fff9f0);
}
.breakfast-card::before {
    background: linear-gradient(135deg, #ffcc80, #ffab40);
}

.lunch-card {
    background: linear-gradient(145deg, #ffffff, #f1fdf2);
}
.lunch-card::before {
    background: linear-gradient(135deg, #a5d6a7, #66bb6a);
}

.dinner-card {
    background: linear-gradient(145deg, #ffffff, #f0f1fa);
}
.dinner-card::before {
    background: linear-gradient(135deg, #9fa8da, #5c6bc0);
}

.meal-time-badge {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.breakfast-card .meal-time-badge {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
    box-shadow: 0 2px 8px rgba(255, 183, 77, 0.3);
}

.lunch-card .meal-time-badge {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    box-shadow: 0 2px 8px rgba(129, 199, 132, 0.3);
}

.dinner-card .meal-time-badge {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    color: #283593;
    box-shadow: 0 2px 8px rgba(121, 134, 203, 0.3);
}

.meal-time-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.today-meal-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.today-meal-content .menu-item {
    padding: 2px 0;
    margin-bottom: 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

/* 오늘의 메뉴: 칼로리를 항상 이름 아래 줄로 (정렬 통일), 살짝 작게·간격 좁게 */
.today-meal-content .menu-item .item-cal {
    display: block;
    margin-left: 0;
    margin-top: 0;
    font-size: 0.72em;
}

@media (hover: hover) and (pointer: fine) {
    .today-meal-content .menu-item:hover {
        background: var(--primary-light);
    }
}

.no-meal {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========== Upload Preview ========== */

.upload-preview {
    position: relative;
    margin: 12px 24px 0;
    text-align: center;
}

.upload-preview img {
    max-width: 100%;
    max-height: 250px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* API Key Button */
.btn-api-key {
    background: white;
    border: 1.5px solid #e0e0e0;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-api-key:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.btn-api-key.configured {
    border-color: #81c784;
    background: #e8f5e9;
    color: #2e7d32;
}

/* Register Modal */
.register-modal {
    max-width: 580px;
}

.reset-modal {
    padding-bottom: 24px;
}

.register-title {
    font-family: 'Gowun Batang', serif;
    font-size: 1.3rem;
    padding: 24px 24px 0;
}

.register-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 24px 0;
}

.register-step {
    padding: 16px 24px 0;
}

.register-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text);
}

.period-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.period-input {
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: border-color 0.3s;
    flex: 1;
}

.period-input:focus {
    outline: none;
    border-color: var(--primary);
}

.period-arrow {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 700;
}

.period-chips {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.period-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #e0e0e0;
    background: white;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s;
    color: var(--text-light);
}

.period-chip:hover, .period-chip.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.register-upload-area {
    border: 2.5px dashed var(--primary);
    border-radius: var(--radius);
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(252, 228, 236, 0.15);
}

.register-upload-area:hover, .register-upload-area.dragover {
    background: rgba(252, 228, 236, 0.4);
    border-color: var(--primary-dark);
}

.register-upload-area .upload-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.register-upload-area p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.register-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px 24px 24px;
}

/* API Key Modal */
.api-key-modal {
    max-width: 440px;
}

.api-key-hint {
    font-size: 0.7rem;
    color: var(--text-light);
    padding: 8px 24px 0;
}

/* AI Loading */
.ai-loading {
    text-align: center;
    padding: 30px 20px;
    margin: 16px 24px 0;
    background: #fafafa;
    border-radius: var(--radius-sm);
}

.ai-loading p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.ai-loading-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-secondary {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 12px 36px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow: 0 4px 15px rgba(232, 160, 191, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 160, 191, 0.5);
}

.manual-input-area, .analysis-area {
    margin-top: 12px;
    padding: 0 24px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.form-row input[type="date"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: border-color 0.3s;
}

.form-row input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
}

.week-input-grid {
    display: grid;
    gap: 12px;
}

.day-input-group {
    background: #fafafa;
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid #eee;
}

.day-input-group h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

.meal-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.meal-input-wrap label {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.cal-badge {
    display: inline-block;
    font-size: 0.68rem;
    color: #e67e22;
    font-weight: 600;
    margin-left: 4px;
}
.cal-badge:not(:empty)::before {
    content: '🔥 ';
}

.item-cal {
    color: #e67e22;
    font-size: 0.82em;
    font-weight: 600;
    margin-left: 3px;
}

.meal-input-wrap textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: 'Noto Sans KR', sans-serif;
    resize: vertical;
    min-height: 70px;
    transition: border-color 0.3s;
    line-height: 1.5;
}

.meal-input-wrap textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.manual-form .btn-primary,
.analysis-form .btn-primary {
    display: block;
    margin: 24px auto 0;
}

/* ========== Calendar ========== */
.calendar-section {
    padding: 12px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.calendar-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 3px 12px rgba(232, 160, 191, 0.35);
    white-space: nowrap;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 160, 191, 0.5);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.calendar-month {
    font-family: 'Gowun Batang', serif;
    font-size: 1.6rem;
    font-weight: 700;
    min-width: 200px;
    text-align: center;
}

.nav-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 6px;
}

.weekday {
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px;
    color: var(--text-light);
}

.weekday.sun { color: #e57373; }
.weekday.sat { color: #64b5f6; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-grid.swipe-anim {
    animation: mealFade 0.25s ease;
}

.calendar-day {
    background: white;
    border-radius: var(--radius-sm);
    min-height: 120px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calendar-day:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.calendar-day.empty {
    background: transparent;
    box-shadow: none;
    cursor: default;
}

.calendar-day.empty:hover {
    transform: none;
    box-shadow: none;
}

.calendar-day.today {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #fff, var(--primary-light));
}

.calendar-day.today .day-number {
    background: var(--primary);
    color: white;
}

.day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.calendar-day.sun .day-number { color: #e57373; }
.calendar-day.sat .day-number { color: #64b5f6; }

.day-meals {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
}

.day-meal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.72rem;
    line-height: 1.1;
    color: var(--text);
}

.day-meal-icon .dm-emoji {
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
}

.day-meal-icon img.emoji {
    height: 1em;
    width: 1em;
    vertical-align: middle;
    margin: 0;
}

.day-meal-icon .dm-label {
    font-weight: 500;
}

/* ========== Modal ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: slideUp 0.3s ease;
    position: relative;
}

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

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-header {
    padding: 24px 24px 0;
}

.modal-header h3 {
    font-family: 'Gowun Batang', serif;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.modal-tabs {
    display: flex;
    gap: 6px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: #f5f5f5;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
}

.tab-btn:hover:not(.active) {
    background: #eee;
}

.modal-body {
    padding: 20px 24px 24px;
}

.modal-meal-list {
    min-height: 80px;
}

.modal-meal-item {
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafafa;
}

.modal-meal-item::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    align-self: flex-start;
    margin-top: 2px;
}

.modal-meal-item .mmi-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.modal-meal-item .mmi-macros {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.modal-meal-item .search-icon {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.2s;
    align-self: center;
}

/* hover 효과는 마우스 기기에서만 (터치에서 두 번 탭 방지) */
@media (hover: hover) and (pointer: fine) {
    .modal-meal-item:hover {
        background: var(--primary-light);
        transform: translateX(4px);
    }
    .modal-meal-item:hover .search-icon {
        opacity: 1;
    }
}

.no-meal-modal {
    text-align: center;
    color: var(--text-light);
    padding: 30px 0;
    font-size: 0.9rem;
}

.modal-calorie {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-radius: var(--radius-sm);
    margin-top: 16px;
}

.calorie-icon {
    font-size: 1.6rem;
}

.calorie-info {
    display: flex;
    flex-direction: column;
}

.calorie-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.calorie-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e65100;
}

.modal-search {
    margin-top: 12px;
}

.search-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========== Food Panel ========== */
.food-panel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1100;
    justify-content: flex-end;
}

.food-panel-overlay.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.food-panel {
    background: white;
    width: 100%;
    max-width: 420px;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
    animation: slideLeft 0.3s ease;
    position: relative;
}

@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-panel h3 {
    font-family: 'Gowun Batang', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-right: 40px;
}

.food-search-results {
    margin-bottom: 20px;
}

.food-loading {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
}

.food-info-card {
    background: #fafafa;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 16px;
}

.food-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nutrition-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: white;
    border-radius: 8px;
    text-align: center;
}

.nutrition-item .nut-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.nutrition-item .nut-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

.nutrition-item .nut-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.food-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.food-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.food-link:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.food-link .link-icon {
    font-size: 1.2rem;
}


/* ========== Toast ========== */
.toast {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(14px) scale(0.96);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    color: var(--text);
    padding: 13px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(70, 50, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    max-width: 88vw;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .today-row {
        flex-direction: column;
    }

    .today-label {
        flex-direction: row;
        min-width: unset;
        padding: 9px 18px;
        gap: 10px;
    }

    .today-label-icon {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .today-label h2 {
        font-size: 1.05rem;
    }

    .today-meals {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .today-meal-card {
        padding: 14px 6px;
    }

    .today-meal-content {
        font-size: 0.9rem;
    }

    .calendar-day {
        min-height: 80px;
        padding: 6px;
    }

    .day-meals {
        font-size: 0.55rem;
    }

    .day-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .meal-inputs {
        grid-template-columns: 1fr;
    }

    .mood-emojis {
        gap: 6px;
    }
    .mood-btn {
        width: 46px;
        height: 46px;
        font-size: 1.55rem;
    }

    /* 영어 카드: 좁은 폭에선 버튼을 글 아래로 내려 글이 전체 폭 사용 */
    .english-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .english-btns {
        width: 100%;
    }
    .english-note-btn {
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 12px;
    }
    .english-en {
        font-size: 1.05rem;
    }

    .modal {
        max-width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 90vh;
    }

    .reset-modal,
    .register-modal,
    .english-modal,
    .photo-upload-modal,
    .photo-action-modal,
    #mealModal {
        border-radius: var(--radius);
    }

    .food-panel {
        max-width: 100%;
    }

    /* 아이폰 등 좁은 폭: 상단 바가 넘치지 않게 정리 */
    .calendar-top-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 16px;
    }
    .calendar-top-bar > div:empty {
        display: none;
    }
    .calendar-header {
        order: 1;
        width: 100%;
        gap: 10px;
    }
    .btn-register {
        order: 2;
        padding: 9px 18px;
    }
    .calendar-month {
        font-size: 1.2rem;
        min-width: 0;
        flex: 1;
        max-width: 180px;
    }
    .nav-btn {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    /* 기분 이모지 8개를 한 줄에 (살짝 더 크게) */
    .mood-section {
        padding-left: 12px;
        padding-right: 12px;
    }
    .mood-emojis {
        gap: 4px;
    }
    .mood-btn {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .today-meals {
        gap: 6px;
    }

    .today-meal-card {
        padding: 12px 4px;
    }

    .meal-time-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .meal-time-icon {
        font-size: 1.4rem;
    }

    .today-meal-content {
        font-size: 0.82rem;
    }

    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }

    .day-meal-icon {
        font-size: 0.58rem;
        gap: 2px;
    }

    .day-meal-icon .dm-emoji {
        font-size: 0.72rem;
    }

    .day-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
