/* 
 * PlsDonate News - Original Vercel UI Styles
 * Restored for maximum fidelity
 */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #e7e9ea;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Visitor count chip */
.visitor-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
    border-radius: 20px;
    padding: 5px 12px;
    margin-left: auto;
    white-space: nowrap;
}

.visitor-chip i {
    color: #1d9bf0;
    font-size: 11px;
}

@media (max-width: 768px) {
    .visitor-chip {
        font-size: 11px;
        padding: 4px 10px;
        gap: 5px;
    }
}

/* Header */
.header {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(29, 155, 240, 0.04) 100%
    );
    backdrop-filter: blur(32px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(29, 155, 240, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.header:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(29, 155, 240, 0.07) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 2px 16px rgba(29, 155, 240, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    background-image: url('logo.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #e7e9ea;
    letter-spacing: -0.5px;
}

/* Main Content */
.main-content {
    padding: 24px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 32px;
}

.page-title h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #e7e9ea;
    letter-spacing: -1px;
}

.page-title p {
    font-size: 16px;
    color: #71767b;
    font-weight: 400;
}

/* Pinned Badge */
.pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    border-radius: 20px;
    padding: 4px 10px;
    margin-bottom: 10px;
    width: fit-content;
    position: relative;
    z-index: 2;
}

.pinned-badge i {
    font-size: 11px;
    transform: rotate(45deg);
}

/* Pinned variant - orange highlight */
.pinned-badge--active {
    color: #f7931e;
    background: linear-gradient(
        135deg,
        rgba(247, 147, 30, 0.18) 0%,
        rgba(247, 147, 30, 0.07) 100%
    );
    border-color: rgba(247, 147, 30, 0.3);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 2px 8px rgba(247, 147, 30, 0.18);
}

.pinned-card {
    border-color: rgba(247, 147, 30, 0.2) !important;
}

.pinned-card:hover {
    border-color: rgba(247, 147, 30, 0.45) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(247, 147, 30, 0.15),
        0 4px 20px rgba(247, 147, 30, 0.15) !important;
}

/* Tweets Grid - Responsive */
.tweets-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

/* Tweet Cards - Liquid Glass */
.tweet-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(22, 24, 28, 0.7) 40%,
        rgba(29, 155, 240, 0.03) 100%
    );
    backdrop-filter: blur(24px) saturate(160%) brightness(1.05);
    -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Top gloss highlight */
.tweet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Inner glow on hover - z-index 0 so it never bleeds over card children */
.tweet-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(29, 155, 240, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
}

/* Keep all direct children above the glow layer */
.tweet-card > * {
    position: relative;
    z-index: 1;
}

.tweet-card:hover {
    border-color: rgba(29, 155, 240, 0.4);
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(29, 155, 240, 0.15),
        0 4px 20px rgba(29, 155, 240, 0.2);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(22, 24, 28, 0.75) 40%,
        rgba(29, 155, 240, 0.06) 100%
    );
}

.tweet-card:hover::after {
    opacity: 1;
}

.tweet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url('logo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tweet-user {
    flex: 1;
}

.tweet-username {
    font-weight: 700;
    color: #e7e9ea;
    font-size: 15px;
    margin-bottom: 2px;
}

.tweet-handle {
    color: #71767b;
    font-size: 15px;
}

.tweet-time {
    color: #71767b;
    font-size: 15px;
}

.tweet-content {
    color: #e7e9ea;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.4;
    word-wrap: break-word;
    flex: 1;
    overflow: visible;
    position: relative;
    max-height: none;
}

.tweet-content.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tweet-content.expanded {
    overflow: visible;
}

.expand-btn {
    color: #1d9bf0;
    cursor: pointer;
    font-weight: 500;
    margin-top: 4px;
    display: none;
    font-size: 14px;
}

.expand-btn:hover {
    text-decoration: underline;
}

/* Tweet Media */
.tweet-media {
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.tweet-media img,
.tweet-media video {
    width: 100%;
    height: 400px;
    max-height: 400px;
    object-fit: cover;
    display: block;
    background: #000;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 12px;
}

.tweet-media img:hover,
.tweet-media video:hover {
    transform: scale(1.02);
}

.media-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tweet-media:hover .media-controls {
    opacity: 1;
}

.media-control-btn {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 12px rgba(0, 0, 0, 0.4);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px;
}

.media-control-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(29, 155, 240, 0.7) 0%,
        rgba(29, 155, 240, 0.4) 100%
    );
    border-color: rgba(29, 155, 240, 0.6);
    transform: scale(1.15);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 4px 16px rgba(29, 155, 240, 0.4);
}

/* Media Modal - Liquid Glass */
.media-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.93) 100%
    );
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.media-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    user-select: none;
}

/* Close button - top right pill */
.media-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 4px 16px rgba(0,0,0,0.4);
    color: #e7e9ea;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.media-modal-close:hover {
    background: linear-gradient(135deg, rgba(255,80,80,0.5) 0%, rgba(200,30,30,0.4) 100%);
    border-color: rgba(255, 80, 80, 0.4);
    transform: scale(1.1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 4px 20px rgba(255,50,50,0.3);
}

/* Controls toolbar */
.media-modal-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.65) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
    border-radius: 50px;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 8px 32px rgba(0,0,0,0.6);
    white-space: nowrap;
}

/* Zoom % indicator */
.zoom-indicator {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    min-width: 38px;
    text-align: center;
    font-family: 'Inter', monospace;
    letter-spacing: 0.3px;
}

/* Divider between button groups */
.modal-control-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    margin: 0 2px;
}

.modal-control-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset;
    color: rgba(255,255,255,0.85);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-control-btn:hover {
    background: linear-gradient(135deg, rgba(29,155,240,0.5) 0%, rgba(29,155,240,0.28) 100%);
    border-color: rgba(29,155,240,0.5);
    color: white;
    transform: scale(1.12);
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 4px 12px rgba(29,155,240,0.3);
}

.modal-control-btn {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
    color: #e7e9ea;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-control-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(29, 155, 240, 0.5) 0%,
        rgba(29, 155, 240, 0.28) 100%
    );
    border-color: rgba(29, 155, 240, 0.5);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.tweet-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.view-tweet-btn {
    background: linear-gradient(
        135deg,
        rgba(29, 155, 240, 0.45) 0%,
        rgba(29, 155, 240, 0.25) 100%
    );
    border: 1px solid rgba(29, 155, 240, 0.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-tweet-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(29, 155, 240, 0.65) 0%,
        rgba(29, 155, 240, 0.4) 100%
    );
    border-color: rgba(29, 155, 240, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

/* Footer - Liquid Glass */
.footer {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(22, 24, 28, 0.8) 50%,
        rgba(29, 155, 240, 0.03) 100%
    );
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04) inset;
    padding: 32px 0;
    margin-top: 48px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.footer-section h3 {
    color: #e7e9ea;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: #71767b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #1d9bf0;
}

.footer-bottom {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #2f3336;
    color: #71767b;
    font-size: 14px;
}

/* Loading & Empty States */
.loading, .empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 20px;
    color: #71767b;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2f3336;
    border-top: 3px solid #1d9bf0;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin-bottom: 20px;
}

.loading p {
    font-size: 18px;
    font-weight: 500;
    color: #e7e9ea;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* =============================================
   MOBILE UI - Full Quality Overhaul
   ============================================= */

@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    /* Header */
    .header-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 12px 0;
        gap: 10px;
    }

    .logo {
        justify-content: flex-start;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 17px;
        letter-spacing: -0.3px;
    }

    /* Page title */
    .page-title {
        margin-bottom: 20px;
        padding: 0 4px;
    }

    .page-title h1 {
        font-size: 24px;
        letter-spacing: -0.5px;
    }

    .page-title p {
        font-size: 14px;
    }

    /* Grid - single column, edge to edge feel */
    .tweets-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Cards */
    .tweet-card {
        min-height: unset;
        padding: 16px;
        border-radius: 18px;
    }

    /* Avatar */
    .tweet-avatar {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .tweet-username {
        font-size: 14px;
    }

    .tweet-handle,
    .tweet-time {
        font-size: 13px;
    }

    /* Content */
    .tweet-content {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    /* Media */
    .tweet-media {
        margin: 12px 0;
        border-radius: 12px;
    }

    .tweet-media img,
    .tweet-media video {
        height: 220px;
        border-radius: 12px;
    }

    /* Actions - full width, equal buttons */
    .tweet-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-top: 12px;
        margin-top: 12px;
    }

    .view-tweet-btn {
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 14px;
        width: 100%;
    }

    /* Pinned badge */
    .pinned-badge {
        font-size: 11px;
        padding: 3px 9px;
        margin-bottom: 8px;
    }

    /* Footer */
    .footer {
        padding: 24px 0;
        margin-top: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 14px;
        padding: 6px 0;
    }

    .footer-bottom {
        font-size: 12px;
        margin-top: 24px;
        padding-top: 16px;
    }

    /* Modals - slide up from bottom on mobile */
    #shareModal > div,
    #linkSecurityModal > div {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 28px 20px 36px !important;
    }

    #shareModal.modal-open > div,
    #linkSecurityModal.modal-open > div {
        transform: none !important;
    }

    #shareModal.modal-closing > div,
    #linkSecurityModal.modal-closing > div {
        transform: translateY(100%) !important;
        transition: transform 0.22s ease, opacity 0.22s ease !important;
    }

    /* Modal controls bar */
    .media-modal-controls {
        bottom: 20px;
        padding: 6px 10px;
        gap: 4px;
    }

    .modal-control-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .media-modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Loading state */
    .loading {
        min-height: 300px;
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .tweet-media img,
    .tweet-media video {
        height: 200px;
    }

    .tweet-content {
        font-size: 14px;
    }

    .page-title h1 {
        font-size: 22px;
    }

    .view-tweet-btn {
        font-size: 12px;
        padding: 9px 10px;
    }
}

/* Share Modal Pop-up Animation - Desktop */
#shareModal > div,
#linkSecurityModal > div {
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
}

#shareModal.modal-open > div,
#linkSecurityModal.modal-open > div {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

#shareModal.modal-closing > div,
#linkSecurityModal.modal-closing > div {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Mobile - bottom sheet slide up */
@media (max-width: 768px) {
    #shareModal > div,
    #linkSecurityModal > div {
        transform: translateY(100%) !important;
        opacity: 1;
    }

    #shareModal.modal-open > div,
    #linkSecurityModal.modal-open > div {
        transform: translateY(0) !important;
        opacity: 1;
        transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
    }

    #shareModal.modal-closing > div,
    #linkSecurityModal.modal-closing > div {
        transform: translateY(100%) !important;
        opacity: 1;
        transition: transform 0.22s ease !important;
    }
}

.animate-new-tweet {
  animation: slideDownFade 0.5s ease-out forwards;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
