:root {
    --primary-pink: #d53f8c;
    --soft-pink: #fed7e2;
    --bg-gradient: linear-gradient(135deg, #fff5f5 0%, #fed7e2 100%);
}

* { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: var(--bg-gradient);
    font-family: 'Quicksand', sans-serif;
    color: #4a5568;
}

body.login-mode { overflow: hidden; height: 100%; }

.floating-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s;
}

body.app-mode .floating-container,
body.login-mode .floating-container { opacity: 1; }

body.login-mode .floating-container .heart { opacity: 0.45; }

.screen {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    padding: 16px;
    padding-bottom: 24px;
    overflow-y: auto;
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
}

.screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
}

.screen.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#compose-screen.visible,
#letter-screen.visible {
    z-index: 30;
}

#password-screen { z-index: 60; justify-content: center; padding-bottom: 16px; }

.panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(213, 63, 140, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.7);
    width: 100%;
    max-width: 520px;
    padding: 1.5rem;
}

.script { font-family: 'Dancing Script', cursive; color: var(--primary-pink); }

/* Login */
.login-panel { max-width: 400px; text-align: center; padding: 2rem 1.5rem; }
.login-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--soft-pink), #fff);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(213, 63, 140, 0.15);
}
.login-title { font-size: 2.2rem; margin: 0 0 0.4rem; }
.login-sub { color: #718096; font-size: 0.92rem; margin-bottom: 1.5rem; line-height: 1.45; }

.login-form {
    text-align: left;
}

.login-form .login-label:first-of-type {
    margin-top: 0;
}

.login-form .login-label {
    margin-top: 0.9rem;
}

.login-form .btn-primary {
    width: 100%;
    margin-top: 1.1rem;
}

.login-label {
    display: block; text-align: left;
    font-size: 0.85rem; font-weight: 600;
    color: var(--primary-pink); margin-bottom: 0.4rem;
}

.login-input {
    width: 100%; padding: 12px 16px; border-radius: 50px;
    border: 2px solid var(--soft-pink); background: white;
    font-family: inherit; font-size: 1rem; outline: none;
}

.login-input:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(213, 63, 140, 0.12);
}

.login-error { color: #e53e3e; font-size: 0.85rem; min-height: 1.2rem; margin-top: 0.65rem; text-align: center; }

.login-hint {
    color: #718096;
    font-size: 0.82rem;
    min-height: 1.1rem;
    margin-top: 0.35rem;
    text-align: center;
    line-height: 1.35;
}

.error {
    color: #e53e3e;
    font-size: 0.88rem;
    min-height: 1.2rem;
    margin: 0 0 1rem;
    text-align: center;
}

.btn-primary {
    margin-top: 1.25rem;
    width: 100%;
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(213, 63, 140, 0.3);
}

.btn-primary:hover { background: #b83280; }

/* Welcome */
/* App header */
.app-header {
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 10px;
}

.app-header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.2rem, 10vw, 3rem);
    color: var(--primary-pink);
    margin: 0;
    line-height: 1.1;
}

.app-header small {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 500;
}

.btn-ghost, .btn-icon {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--soft-pink);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-ghost { padding: 8px 14px; font-size: 0.82rem; }

.btn-logout {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 7px 12px;
}

.btn-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}

.subtitle { color: #718096; text-align: center; margin: 0 0 1.25rem; font-size: 0.95rem; }

.page-desc {
    color: #718096;
    text-align: center;
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
    line-height: 1.45;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.35rem;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 10px;
    border: 2px solid var(--soft-pink);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.quick-action:hover {
    border-color: var(--primary-pink);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(213, 63, 140, 0.12);
}

.quick-icon { font-size: 1.4rem; }
.quick-label { font-weight: 700; color: var(--primary-pink); font-size: 0.9rem; }
.quick-hint { font-size: 0.72rem; color: #a0aec0; }

.link-btn {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--primary-pink);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
}

.home-write-btn {
    margin-top: 0;
    margin-bottom: 1.35rem;
}

.home-nayely-hint {
    display: none;
    text-align: center;
    font-size: 0.88rem;
    color: #718096;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(213, 63, 140, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 1.35rem;
    line-height: 1.45;
}

.home-nayely-hint.visible {
    display: block;
}

.home-nayely-hint strong {
    color: var(--primary-pink);
}

.user-role-hidden {
    display: none !important;
}

.badge.reply {
    background: #9f7aea;
}

.reply-reference {
    display: none;
    background: rgba(254, 215, 226, 0.35);
    border-left: 3px solid var(--primary-pink);
    border-radius: 0 12px 12px 0;
    padding: 10px 12px;
    margin-bottom: 1rem;
}

.reply-ref-label {
    margin: 0 0 4px;
    font-size: 0.75rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.reply-ref-title {
    margin: 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: var(--primary-pink);
}

.reply-ref-from {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: #718096;
}

.reply-btn {
    margin-top: 1.25rem;
    width: 100%;
}

.reply-context {
    display: none;
    background: rgba(254, 215, 226, 0.35);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: #718096;
}

.reply-context p {
    margin: 0 0 4px;
}

.reply-context p:last-child {
    margin-bottom: 0;
}

.thread-section {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--soft-pink);
}

.conversation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.conversation-item {
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--soft-pink);
}

.conversation-item.theirs {
    border-left: 4px solid var(--primary-pink);
}

.conversation-item.mine {
    border-left: 4px solid #9f7aea;
    background: rgba(254, 215, 226, 0.22);
}

.conversation-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.82rem;
}

.conversation-head strong {
    color: var(--primary-pink);
}

.conversation-head span {
    color: #a0aec0;
}

.conversation-body {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4a5568;
}

.conversation-body p {
    margin: 0 0 0.75rem;
}

.conversation-body p:last-child {
    margin-bottom: 0;
}

.conversation-sign {
    margin: 10px 0 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.15rem;
    color: var(--primary-pink);
}

.letter-item.unread {
    border-color: var(--primary-pink);
    box-shadow: 0 4px 18px rgba(213, 63, 140, 0.12);
}

.letter-item.has-thread-news {
    border-color: var(--primary-pink);
    box-shadow: 0 4px 18px rgba(213, 63, 140, 0.12);
}

.badge.thread {
    background: rgba(159, 122, 234, 0.15);
    color: #6b46c1;
}

.mailbox-section {
    margin-bottom: 1.5rem;
}

.mailbox-section.sent-section {
    padding-top: 1.25rem;
    border-top: 1px solid var(--soft-pink);
}

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

.mailbox-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.45rem;
    color: var(--primary-pink);
    margin: 0;
    font-weight: 700;
}

.mailbox-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0aec0;
    background: rgba(254, 215, 226, 0.5);
    padding: 4px 10px;
    border-radius: 20px;
}

.activity-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: #718096;
    background: rgba(160, 174, 192, 0.18);
    padding: 4px 10px;
    border-radius: 20px;
}

.activity-status.online {
    color: #2f855a;
    background: rgba(72, 187, 120, 0.18);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(254, 215, 226, 0.9);
    border-radius: 16px;
    padding: 12px 14px;
}

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

.activity-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 20px;
}

.activity-badge.online {
    background: rgba(72, 187, 120, 0.18);
    color: #2f855a;
}

.activity-badge.open {
    background: rgba(237, 137, 54, 0.18);
    color: #c05621;
}

.activity-badge.closed {
    background: rgba(160, 174, 192, 0.18);
    color: #718096;
}

.activity-duration {
    font-size: 0.78rem;
    font-weight: 600;
    color: #a0aec0;
}

.activity-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    padding: 4px 0;
}

.activity-row span {
    color: #a0aec0;
    flex-shrink: 0;
}

.activity-row strong {
    color: #4a5568;
    text-align: right;
    font-weight: 600;
}

#nayely-activity-section {
    padding-top: 1.25rem;
    border-top: 1px solid var(--soft-pink);
}

.notice {
    display: none;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,255,255,0.75);
    border: 1px dashed rgba(213,63,140,0.35);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: #718096;
}

.notice.visible { display: flex; }

#compose-success,
.compose-success {
    display: none;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,255,255,0.75);
    border: 1px dashed rgba(213,63,140,0.35);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: #718096;
}

#compose-success.visible,
.compose-success.visible {
    display: flex;
}

.notice strong {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: var(--primary-pink);
    margin-bottom: 2px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.6);
    padding: 6px;
    border-radius: 50px;
}

.tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 8px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.82rem;
    color: #718096;
    cursor: pointer;
}

.tab.active {
    background: var(--primary-pink);
    color: white;
    box-shadow: 0 4px 12px rgba(213,63,140,0.25);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a0aec0;
    margin: 0 0 8px 4px;
}

/* Letter list */
.letter-list { display: flex; flex-direction: column; gap: 10px; }

.letter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(254,215,226,0.9);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-family: inherit;
}

.letter-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-pink);
    box-shadow: 0 6px 18px rgba(213,63,140,0.12);
}

.letter-item.latest { border: 2px solid var(--primary-pink); }
.letter-item .icon { font-size: 1.5rem; flex-shrink: 0; }
.letter-item .meta { flex: 1; min-width: 0; }

.letter-item h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.35rem;
    color: var(--primary-pink);
    margin: 0 0 2px;
}

.letter-item .from {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-bottom: 3px;
}

.letter-item .preview {
    font-size: 0.85rem;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--primary-pink);
    color: white;
    padding: 2px 7px;
    border-radius: 20px;
    margin-right: 4px;
}

.badge.status-new {
    background: #ff6b9d;
    animation: pulse 1.5s infinite;
}

.badge.status-read {
    background: rgba(160, 174, 192, 0.2);
    color: #718096;
}

.badge.status-recipient-read {
    background: rgba(72, 187, 120, 0.18);
    color: #2f855a;
}

.badge.status-recipient-pending {
    background: rgba(237, 137, 54, 0.18);
    color: #c05621;
}

.letter-item.read {
    opacity: 0.92;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,157,0.4); }
    50% { box-shadow: 0 0 0 5px rgba(255,107,157,0); }
}

/* Letter view */
.letter-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin-bottom: 0.75rem;
    padding-bottom: 0.75rem; border-bottom: 1px solid var(--soft-pink);
}

.letter-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-edit-letter {
    color: var(--primary-pink);
    border: 1px solid rgba(213, 63, 140, 0.25);
}

.btn-edit-letter:hover:not(:disabled) {
    background: rgba(254, 215, 226, 0.45);
    border-color: var(--primary-pink);
}

.btn-edit-letter:disabled {
    opacity: 0.6;
    cursor: wait;
}

.btn-delete-letter {
    color: #c53030;
    border: 1px solid rgba(197, 48, 48, 0.2);
}

.btn-delete-letter:hover:not(:disabled) {
    background: rgba(197, 48, 48, 0.08);
    border-color: rgba(197, 48, 48, 0.35);
}

.btn-delete-letter:disabled {
    opacity: 0.6;
    cursor: wait;
}

.letter-title { font-size: 1.6rem; text-align: center; margin: 0 0 0.35rem; }

.recipient {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    text-align: center;
    display: block;
    margin: 0.75rem 0 0;
    line-height: 1.1;
}

.letter-main {
    margin-top: 2.25rem;
    padding-top: 0.25rem;
}

.letter-date { text-align: center; font-size: 0.82rem; color: #a0aec0; margin-bottom: 1.25rem; }

.letter-read-status {
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    margin: -0.75rem 0 1.25rem;
}

.letter-read-status.read {
    color: #2f855a;
}

.letter-read-status.pending {
    color: #c05621;
}

.letter-body { line-height: 1.65; font-size: 1.02rem; }
.letter-body p { margin-bottom: 1rem; }
.signature { font-family: 'Dancing Script', cursive; font-size: 1.6rem; color: var(--primary-pink); text-align: right; margin-top: 1.5rem; }

.inline-reply {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--soft-pink);
}

.reply-actions {
    display: none;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--soft-pink);
}

.reply-actions.visible {
    display: block;
}

.btn-reply-small {
    border: 1px solid rgba(213, 63, 140, 0.35);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-pink);
    border-radius: 999px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reply-small:hover {
    background: rgba(254, 215, 226, 0.45);
    border-color: var(--primary-pink);
}

.inline-reply-form {
    display: none;
    margin-top: 0.85rem;
}

.inline-reply-form.open {
    display: block;
}

.reply-actions.form-open .btn-reply-small {
    display: none;
}

.inline-reply-form textarea,
.reply-actions textarea {
    width: 100%;
    border: 2px solid var(--soft-pink);
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 120px;
    margin-bottom: 0.75rem;
    outline: none;
    resize: vertical;
    background: #fff;
}

.inline-reply-form textarea:focus,
.reply-actions textarea:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(213, 63, 140, 0.1);
}

.inline-reply-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inline-reply-buttons .btn-primary {
    width: 100%;
}

.inline-reply-form .error,
.reply-actions .error {
    margin-bottom: 0.75rem;
}

.letter-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--soft-pink);
}

.nav-btn {
    background: rgba(254,215,226,0.4);
    color: var(--primary-pink);
    border: none; padding: 10px; border-radius: 12px;
    font-family: inherit; font-weight: 600; cursor: pointer;
}

.nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Chat */
.chat-panel {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 130px);
    max-height: 680px;
    padding: 0;
    overflow: hidden;
}

.chat-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--soft-pink);
    text-align: center;
}

.chat-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: var(--primary-pink);
    margin: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-word;
}

.chat-bubble.mine {
    align-self: flex-end;
    background: var(--primary-pink);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-bubble.theirs {
    align-self: flex-start;
    background: white;
    border: 1px solid var(--soft-pink);
    border-bottom-left-radius: 4px;
}

.chat-time {
    font-size: 0.68rem;
    opacity: 0.7;
    margin-top: 4px;
}

.chat-empty {
    text-align: center;
    color: #a0aec0;
    margin: auto;
    font-size: 0.92rem;
    padding: 2rem 1rem;
}

.chat-input-bar {
    display: flex;
    gap: 8px;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--soft-pink);
    background: rgba(255,255,255,0.95);
}

.chat-input {
    flex: 1;
    border: 2px solid var(--soft-pink);
    border-radius: 50px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.chat-input:focus { border-color: var(--primary-pink); }

.chat-send {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-pink);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* Compose */
.compose-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 0.35rem;
}

.compose-form input,
.compose-form textarea {
    width: 100%;
    border: 2px solid var(--soft-pink);
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    outline: none;
    resize: vertical;
    background: #fff;
    pointer-events: auto;
}

.compose-form input:focus,
.compose-form textarea:focus {
    border-color: var(--primary-pink);
}

.compose-form textarea { min-height: 180px; line-height: 1.5; }

.compose-to {
    background: rgba(254,215,226,0.35);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.compose-to strong {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--primary-pink);
}

.compose-topbar {
    margin-bottom: 0.5rem;
}

.empty-state {
    text-align: center;
    color: #a0aec0;
    padding: 2rem 1rem;
    font-size: 0.92rem;
}

.heart {
    position: absolute;
    pointer-events: none;
    animation: floatUp 6s linear forwards;
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-110vh) rotate(45deg); opacity: 0; }
}

@media (max-width: 380px) {
    .panel { padding: 1.25rem; }
    .user-picker { gap: 8px; }
}
