@charset "UTF-8";
/* ============================================
   Life Calendar v0.3
   Style calqué sur victorchanchimee.com
   ============================================ */

@import url('./assets/fonts/inter/inter.css');

/* ── Variables ── */
:root {
    --bg:        #060912;
    --bg2:       #0A0F1E;
    --bg3:       #0D1527;
    --glass:     rgba(255,255,255,0.055);
    --glass-b:   rgba(255,255,255,0.10);
    --text:      #E2E8F0;
    --muted:     #64748B;
    --muted2:    #94A3B8;
    --blue:      #2563EB;
    --blue-l:    #3B82F6;
    --cyan:      #06B6D4;
    --purple:    #7C3AED;
    --purple-l:  #A78BFA;
    --emerald:   #10B981;
    --emerald-l: #34D399;
    --orange:    #F97316;
    --gold:      #F59E0B;
    --red:       #EF4444;
    --red-l:     #FCA5A5;
    --r:         16px;
    --rl:        24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    cursor: none;
    line-height: 1.6;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; cursor: none; }
button { font-family: inherit; background: none; border: none; cursor: none; }
input, textarea, select { font-family: inherit; }

/* ── Background canvas ── */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── Custom Cursor ── */
#cursor-ring {
    position: fixed;
    width: 38px; height: 38px;
    border: 1.5px solid rgba(59,130,246,0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    transition: transform 0.15s ease, border-color 0.2s, background 0.2s;
    mix-blend-mode: screen;
}
#cursor-dot {
    position: fixed;
    width: 5px; height: 5px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%,-50%);
}
.hovering #cursor-ring {
    transform: translate(-50%,-50%) scale(1.7);
    background: rgba(59,130,246,0.12);
    border-color: var(--cyan);
}
.clicking #cursor-ring {
    transform: translate(-50%,-50%) scale(0.75);
}
@media (pointer: coarse) {
    body, a, button { cursor: auto; }
    #cursor-ring, #cursor-dot { display: none; }
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-l); }

/* ── Navbar ── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
}
#navbar.scrolled {
    background: rgba(6,9,18,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-b);
    padding: 0.7rem 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: none;
    transition: opacity 0.2s;
}
.nav-brand:hover { opacity: 0.85; }
.brand-icon {
    color: var(--blue-l);
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 8px rgba(59,130,246,0.6));
    animation: starPulse 3s ease-in-out infinite;
}
.brand-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.01em;
}
.brand-accent { color: var(--blue-l); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nl {
    color: var(--muted2);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.45rem 0.875rem;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
    cursor: none;
}
.nl::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1.5px;
    background: var(--blue-l);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nl:hover { color: white; }
.nl:hover::after { width: 55%; }
.nl.active { color: white; }
.nl.active::after { width: 55%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted2);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    transition: all 0.2s;
    cursor: none;
    font-size: 0.875rem;
    font-weight: 700;
}
.nav-icon-btn:hover {
    color: white;
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
}
.nav-icon-btn.active-lang {
    background: rgba(37,99,235,0.15);
    border-color: rgba(59,130,246,0.35);
    color: var(--blue-l);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: none;
}
.burger span {
    display: block;
    width: 22px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 2rem 1.5rem;
    background: rgba(6,9,18,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-b);
}
.mobile-menu.open { display: flex; }
.mm-link {
    color: var(--muted2);
    font-weight: 500;
    padding: 0.7rem 1rem;
    text-align: left;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9375rem;
    cursor: none;
}
.mm-link:hover, .mm-link.active { color: white; background: var(--glass); }

/* ── Page wrapper ── */
.page {
    display: none;
    padding-top: 5rem;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}
.page.active { display: block; }

/* ── Section title ── */
.page-header {
    padding: 3rem 0 2rem;
    text-align: center;
}
.page-stag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.875rem;
    background: rgba(37,99,235,0.15);
    color: var(--blue-l);
    border: 1px solid rgba(59,130,246,0.3);
}
.page-stag-purple {
    background: rgba(124,58,237,0.15);
    color: var(--purple-l);
    border-color: rgba(167,139,250,0.3);
}
.page-stag-gold {
    background: rgba(245,158,11,0.15);
    color: var(--gold);
    border-color: rgba(245,158,11,0.3);
}
.page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.page-title .gradient {
    background: linear-gradient(135deg, var(--blue-l) 0%, var(--cyan) 40%, var(--purple-l) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-desc {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

/* ── Glass card ── */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--rl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ── Progress card ── */
.progress-card {
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.progress-year {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue-l), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.progress-detail {
    color: var(--muted2);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}
.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: width 0.8s cubic-bezier(0.34,1.56,0.64,1);
}
.progress-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-b);
    flex-wrap: wrap;
}
.pstat { text-align: center; }
.pstat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-l), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.pstat-label {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}
.pstat-sep {
    width: 1px;
    background: var(--glass-b);
    align-self: stretch;
}

/* ── Controls toolbar ── */
.toolbar {
    padding: 1.25rem 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.toolbar-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.toolbar-sep {
    width: 1px;
    height: 28px;
    background: var(--glass-b);
}
.color-swatch {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--glass-b);
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.color-swatch:hover {
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.1);
}
.color-swatch input[type="color"] {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    opacity: 0;
    cursor: none;
    border: none;
    padding: 0;
}
.color-swatch-preview {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.25s;
    cursor: none;
    white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: white;
    box-shadow: 0 0 16px rgba(37,99,235,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(37,99,235,0.5);
}

.btn-ghost {
    background: var(--glass);
    color: var(--muted2);
    border: 1px solid var(--glass-b);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    color: white;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239,68,68,0.12);
    color: var(--red-l);
    border: 1px solid rgba(239,68,68,0.25);
}
.btn-danger:hover {
    background: rgba(239,68,68,0.22);
    border-color: rgba(239,68,68,0.45);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: 50px;
}

/* ── Calendar grid ── */
.calendar-card {
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
}
.calendar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
}

/* ── Day dot ── */
.day-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    cursor: none;
    border: 1.5px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    flex-shrink: 0;
}
.day-dot:hover {
    transform: scale(1.5);
    z-index: 5;
}
.day-dot.today {
    box-shadow: 0 0 0 2px var(--cyan);
}
.day-dot.has-note::after {
    content: '';
    position: absolute;
    top: -2px; right: -2px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.day-dot.key-moment::after {
    background: var(--gold);
    box-shadow: 0 0 4px var(--gold);
}

/* ── Life Overview ── */
.year-range-card {
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}
.year-range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.lc-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.lc-field label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.lc-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-b);
    border-radius: 10px;
    padding: 0.625rem 0.875rem;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}
.lc-input:focus {
    border-color: var(--blue-l);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.range-display {
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.2));
    border: 1px solid rgba(59,130,246,0.3);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-l);
}

/* Range slider */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--glass-b);
    outline: none;
    margin: 0.5rem 0;
    cursor: none;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--blue-l);
    cursor: none;
    box-shadow: 0 0 8px rgba(59,130,246,0.4);
    transition: transform 0.15s;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-slider::-moz-range-thumb {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--blue-l);
    cursor: none;
    box-shadow: 0 0 8px rgba(59,130,246,0.4);
}

.year-block {
    margin-bottom: 1.25rem;
    padding: 1.5rem 2rem;
}
.year-block-head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.year-block-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
}
.year-block-current {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    background: rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}
.year-block-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}
.year-block-dots .day-dot {
    width: 10px; height: 10px;
}
.year-block-dots .day-dot:hover { transform: scale(2); }

/* ── Key Moments ── */
.km-empty {
    padding: 5rem 2rem;
    text-align: center;
}
.km-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 16px rgba(245,158,11,0.4));
}
.km-empty h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}
.km-empty p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.km-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.km-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
}
.km-count {
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
}
.km-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.km-item {
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--glass-b);
    border-radius: 0 var(--r) var(--r) 0;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.km-item:hover {
    border-left-color: var(--gold);
    transform: translateX(4px);
}
.km-color-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: 0 0 6px currentColor;
}
.km-item-content { flex: 1; min-width: 0; }
.km-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.35rem;
}
.km-note {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.km-edit-btn {
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted2);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    transition: all 0.2s;
    cursor: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.km-edit-btn:hover { color: white; border-color: rgba(255,255,255,0.18); }

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.modal-overlay.visible {
    opacity: 1;
    pointer-events: all;
}
.modal-panel {
    background: var(--bg2);
    border: 1px solid var(--glass-b);
    border-radius: var(--rl);
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}
.modal-overlay.visible .modal-panel {
    transform: translateY(0);
}

.modal-panel::-webkit-scrollbar { width: 4px; }
.modal-panel::-webkit-scrollbar-track { background: transparent; }
.modal-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    transition: all 0.2s;
    cursor: none;
}
.modal-close:hover { color: white; background: rgba(255,255,255,0.1); }

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}
.modal-subtitle {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 1.75rem;
}
.modal-section {
    margin-bottom: 1.25rem;
}
.modal-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Color palette in modal */
.color-palette {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.palette-swatch {
    width: 28px; height: 28px;
    border-radius: 50%;
    cursor: none;
    border: 2px solid transparent;
    transition: all 0.15s;
}
.palette-swatch:hover { transform: scale(1.15); }
.palette-swatch.selected {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.palette-custom {
    width: 28px; height: 28px;
    border-radius: 50%;
    cursor: none;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--glass-b);
    transition: all 0.15s;
}
.palette-custom:hover { border-color: rgba(255,255,255,0.3); transform: scale(1.15); }
.palette-custom input[type="color"] {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    opacity: 0;
    cursor: none;
    border: none;
    padding: 0;
}
.palette-custom-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Key moment toggle */
.km-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-radius: var(--r);
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.15);
}
.km-toggle-info { flex: 1; }
.km-toggle-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}
.km-toggle-info span {
    font-size: 0.75rem;
    color: var(--muted);
}
.toggle {
    width: 44px; height: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-b);
    position: relative;
    transition: all 0.25s;
    cursor: none;
    flex-shrink: 0;
}
.toggle.on {
    background: var(--gold);
    border-color: var(--gold);
}
.toggle-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: white;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.toggle.on .toggle-thumb { transform: translateX(20px); }

/* Note textarea */
.lc-textarea {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-b);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}
.lc-textarea::placeholder { color: rgba(100,116,139,0.6); }
.lc-textarea:focus {
    border-color: var(--blue-l);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* Modal actions */
.modal-actions {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.5rem;
}
.modal-actions .btn { flex: 1; justify-content: center; }

/* Confirm modal */
.confirm-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--red-l);
}

/* ── Tooltip on day hover ── */
.day-tooltip {
    position: fixed;
    pointer-events: none;
    background: rgba(10,15,30,0.92);
    border: 1px solid var(--glass-b);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(8px);
    z-index: 4000;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.12s;
    transform: translateY(-4px);
}
.day-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Keyframes ── */
@keyframes starPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(59,130,246,0.6)); }
    50%       { filter: drop-shadow(0 0 16px rgba(59,130,246,0.9)); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .toolbar { gap: 0.75rem; }
    .progress-stats { gap: 1rem; }
    .year-range-grid { grid-template-columns: 1fr; }
    .modal-panel { padding: 1.5rem; }
    .calendar-card { padding: 1.25rem 1rem; }
    .progress-card { padding: 1.5rem 1.25rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .calendar-grid { gap: 3px; }
    .day-dot { width: 14px; height: 14px; }
}
