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

/* Pump Ads-like palette */
:root {
    --bg: #0b0f14;              /* deep charcoal */
    --panel: #0f141a;           /* slightly lighter */
    --border: #1a222d;          /* subtle border */
    --text: #cbd5e1;            /* slate-200 */
    --muted: #8b9db2;           /* slate-400 */
    --heading: #e2e8f0;         /* slate-100 */
    --accent: #16f36e;          /* neon green */
    --accent-600: #10d45f;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
}

/* Raid Status */
.raid-status {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    margin-bottom: 24px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.status-item {
    background: #0b1117;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.status-label {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.status-value {
    color: var(--heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .status-grid { grid-template-columns: 1fr; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--heading);
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Input Section */
.input-section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    margin-bottom: 24px;
}


.tweet-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

#tweet-url {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #0b1117;
    color: var(--heading);
}

#tweet-url:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(22, 243, 110, 0.12);
}

button {
    background: var(--accent);
    color: #04120a;
    border: none;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(22, 243, 110, 0.18);
}

button:hover {
    transform: translateY(-1px);
    background: var(--accent-600);
    box-shadow: 0 10px 28px rgba(22, 243, 110, 0.24);
}

button:active {
    transform: translateY(0);
}

/* Tweet Section */
.tweet-section {
    flex: 1;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    min-height: 60vh;
}

.tweet-display {
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-tweet {
    text-align: center;
    color: var(--muted);
}

.no-tweet-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-tweet p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.no-tweet p:last-child {
    font-size: 1rem;
    color: #999;
}

/* Twitter Embed */
.tweet-embed-container {
    width: 100%;
    max-width: 100%;
}

/* Center the tweet in the viewport */
.tweet-display {
    display: block !important;
    min-height: auto !important;
}

.tweet-embed-container .twitter-tweet {
    margin: 0 auto !important;
    max-width: 100% !important;
}

/* Make sure the created iframe is centered as well */
.tweet-embed-container iframe,
.tweet-embed-container .twitter-tweet-rendered {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Loading State */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

/* Tweet Fallback */
.tweet-fallback {
    background: white;
    border-radius: 16px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.tweet-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.tweet-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.tweet-info h3 {
    color: #333;
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.tweet-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.tweet-content {
    padding: 30px;
    text-align: center;
}

.tweet-url {
    margin-bottom: 20px;
}

.tweet-url a {
    color: #1DA1F2;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    font-size: 1rem;
}

.tweet-url a:hover {
    text-decoration: underline;
}

.tweet-action {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Tweet Preview */
.tweet-preview {
    background: var(--panel);
    border-radius: 16px;
    border: 1px solid var(--border);
    /* soft neon edge + deep drop shadow */
    box-shadow:
        0 0 0 1px rgba(22, 243, 110, 0.06),
        0 0 44px rgba(22, 243, 110, 0.06),
        0 18px 60px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* subtle animated border aura like on the screenshot */
.tweet-preview::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
      radial-gradient(120% 60% at 50% -10%, rgba(22, 243, 110, 0.10), transparent 60%),
      linear-gradient(90deg, transparent 0%, rgba(22, 243, 110, 0.10) 50%, transparent 100%);
    opacity: .9;
}

/* Instant Preview (like Telegram) */
.instant-preview {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

.preview-header {
    padding: 16px 20px 12px 20px;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.platform-badge {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.preview-content {
    display: flex;
    padding: 22px;
    gap: 20px;
}

.preview-text {
    flex: 1;
    min-width: 0;
}

.preview-author {
    color: var(--heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.35;
}

.preview-description {
    color: var(--text);
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.preview-thumbnail {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 0 0 1px rgba(22, 243, 110, 0.06);
}

.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: #0b1117;
}

.preview-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
    font-weight: 700;
}

.preview-link:hover {
    text-decoration: underline;
}

/* Override: make tweet area blend into dark background */
.tweet-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.tweet-display {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.tweet-preview .tweet-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 15px 20px;
    gap: 12px;
    background: white;
    border-bottom: none;
}

.tweet-author-info {
    flex: 1;
}

.tweet-author-name {
    font-weight: 600;
    color: var(--heading);
    font-size: 16px;
}

.tweet-author-handle {
    color: var(--muted);
    font-size: 14px;
}

.tweet-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}

.tweet-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tweet-link:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Full Tweet Card Styles (like on screenshot) */
.tweet-card {
    background: #000;
    border: 1px solid #2f3336;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tweet-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #2f3336;
}

.tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.tweet-user-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tweet-username {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.tweet-verified {
    color: #1d9bf0;
    font-size: 18px;
}

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

.tweet-follow-btn {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-left: 12px;
}

.tweet-close-btn {
    background: none;
    border: none;
    color: #71767b;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
}

.tweet-close-btn:hover {
    background: #2f3336;
}

.tweet-content {
    padding: 12px 16px;
}

.tweet-text {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.tweet-media {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.tweet-media img {
    width: 100%;
    height: auto;
    display: block;
}

.tweet-timestamp {
    color: #71767b;
    font-size: 15px;
    margin-bottom: 12px;
}

.tweet-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 16px;
    border-top: 1px solid #2f3336;
}

.tweet-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71767b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
}

.tweet-action:hover {
    color: #1d9bf0;
}

.tweet-action-icon {
    width: 18px;
    height: 18px;
}

.tweet-replies-btn {
    background: #1d9bf0;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    margin-top: 12px;
}

/* Loading state */
.tweet-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.loading-text {
    font-size: 16px;
    color: var(--muted);
}

.tweet-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.tweet-author {
    flex: 1;
}

.tweet-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2px;
}

.tweet-handle {
    color: #666;
    font-size: 0.9rem;
}

.tweet-verified {
    color: #1DA1F2;
    font-size: 1.2rem;
    font-weight: bold;
}

.tweet-preview .tweet-content {
    padding: 0 20px 15px 20px;
    text-align: left;
}

.tweet-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.tweet-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.tweet-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.tweet-actions {
    display: flex;
    justify-content: space-around;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.tweet-actions .tweet-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0;
}

.tweet-actions .tweet-action:hover {
    color: #1DA1F2;
}

.action-icon {
    font-size: 1.1rem;
}

.action-count {
    font-weight: 500;
}

.tweet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

.tweet-time {
    color: #666;
    font-size: 0.9rem;
}

.tweet-link {
    color: #1DA1F2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.tweet-link:hover {
    text-decoration: underline;
}

/* Basic Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.input-section {
    margin-bottom: 30px;
}

.tweet-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

#tweet-url {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#tweet-url:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(22, 243, 110, 0.12);
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 243, 110, 0.22);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 243, 110, 0.28);
}

.tweet-section {
    margin-bottom: 30px;
}

.tweet-display {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-tweet {
    text-align: center;
    color: #666;
}

.no-tweet-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-tweet p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.no-tweet p:last-child {
    color: #999;
    font-size: 0.9rem;
}

/* Basic Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.input-section {
    margin-bottom: 30px;
}

.tweet-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

#tweet-url {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#tweet-url:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(22, 243, 110, 0.12);
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 243, 110, 0.22);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 243, 110, 0.28);
}

.tweet-section {
    margin-bottom: 30px;
}

.tweet-display {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-tweet {
    text-align: center;
    color: #666;
}

.no-tweet-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-tweet p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.no-tweet p:last-child {
    color: #999;
    font-size: 0.9rem;
}

/* Tweet Preview Styles */
.tweet-preview {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.preview-header {
    padding: 12px 16px 8px 16px;
    border-bottom: 1px solid #e1e5e9;
}

.platform-badge {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.preview-content {
    display: flex;
    padding: 16px;
    gap: 16px;
}

.preview-text {
    flex: 1;
    min-width: 0;
}

.preview-author {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.preview-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.preview-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-footer {
    padding: 12px 16px;
    border-top: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.preview-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    word-break: break-all;
}

.preview-link:hover {
    text-decoration: underline;
}

/* Full Screen Tweet Styles */
.tweet-section {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}

.tweet-display {
    min-height: 70vh !important;
    flex: 1 !important;
}

.tweet-preview {
    max-width: 100% !important;
    width: 100% !important;
}

.preview-content {
    padding: 30px !important;
    gap: 30px !important;
}

.preview-author {
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
}

.preview-description {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
}

.preview-thumbnail {
    width: 200px !important;
    height: 200px !important;
    border-radius: 12px !important;
}

.preview-footer {
    padding: 20px 30px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .tweet-form {
        flex-direction: column;
    }
    
    .tweet-display {
        padding: 20px;
    }
    
    .preview-content {
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    .preview-thumbnail {
        width: 100% !important;
        height: 250px !important;
    }
}

/* X-like tweet card overrides (scoped) */
.tweet-preview.x-like {
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
    max-width: 720px !important;
}

.tweet-preview.x-like .preview-header {
    padding: 16px 20px 12px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    background: transparent !important;
}

.tweet-preview.x-like .platform-badge {
    color: var(--accent) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

.tweet-preview.x-like .preview-content {
    padding: 22px !important;
    gap: 14px !important;
    flex-direction: column !important;
}

.tweet-preview.x-like .preview-author { 
    color: var(--heading) !important; 
    font-weight: 700 !important; 
    font-size: 1.1rem !important; 
}

.tweet-preview.x-like .preview-description { 
    color: var(--text) !important; 
    opacity: 0.9 !important; 
}

.tweet-preview.x-like .preview-thumbnail { 
    width: 100% !important; 
    height: auto !important; 
    border-radius: 12px !important; 
    border: 1px solid var(--border) !important; 
    box-shadow: 0 0 0 1px rgba(22, 243, 110, 0.06) !important; 
}

.tweet-preview.x-like .preview-thumbnail img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    display: block;
}

.tweet-preview.x-like .preview-footer { 
    padding: 16px 20px !important; 
    border-top: 1px solid var(--border) !important; 
    background: #0b1117 !important; 
}

.tweet-preview.x-like .preview-link { 
    color: var(--accent) !important; 
    font-weight: 700 !important; 
}

.tweet-preview.x-like .tweet-header { 
    background: transparent !important; 
    border-bottom: 1px solid var(--border) !important; 
}

.tweet-preview.x-like .tweet-name { color: var(--heading) !important; }
.tweet-preview.x-like .tweet-handle { color: var(--muted) !important; }
.tweet-preview.x-like .tweet-text { color: var(--heading) !important; }
.tweet-preview.x-like .tweet-footer { background: #0b1117 !important; border-top: 1px solid var(--border) !important; }
.tweet-preview.x-like .tweet-actions { border-top: 1px solid var(--border) !important; }

/* X-style actions */
.x-actions {
    display: flex;
    justify-content: space-around;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

.x-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 8px;
    border-radius: 8px;
    transition: color .15s ease, background .15s ease;
}

.x-action:hover {
    color: var(--accent);
    background: rgba(22,243,110,0.06);
}

.x-icon { font-size: 1.1rem; }
.x-count { font-weight: 600; }

/* Loading state for tweets */
.tweet-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--accent);
}

.tweet-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 197, 94, 0.3);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.tweet-loading .loading-text {
    font-size: 16px;
    font-weight: 500;
}