:root {
    --tw-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --tw-accent: #1d9bf0;
    --tw-accent-hover: #1a8cd8;
    --tw-accent-rgb: 29, 155, 240;
    --tw-like: #f91880;
    --tw-like-bg: rgba(249, 24, 128, 0.1);
    --tw-repost: #00ba7c;
    --tw-repost-bg: rgba(0, 186, 124, 0.1);
    --tw-reply: #1d9bf0;
    --tw-reply-bg: rgba(29, 155, 240, 0.1);
    --tw-verified: #1d9bf0;
    --tw-transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

[data-theme="lights-out"], html:not([data-theme]) {
    --tw-bg: #000000;
    --tw-bg-secondary: #16181c;
    --tw-bg-hover: rgba(231, 233, 234, 0.08);
    --tw-bg-hover-strong: rgba(231, 233, 234, 0.15);
    --tw-border: #ffffff;
    --tw-border-light: #ffffff;
    --tw-border-strong: #ffffff;
    --tw-text: #ffffff;
    --tw-text-secondary: #a0a5ac;
    --tw-text-muted: #8b98a5;
    --tw-card-bg: #16181c;
    --tw-modal-overlay: rgba(91, 112, 131, 0.4);
    --tw-sticky-header-bg: rgba(0, 0, 0, 0.65);
}

[data-theme="dim"] {
    --tw-bg: #15202b;
    --tw-bg-secondary: #1e2732;
    --tw-bg-hover: rgba(247, 249, 249, 0.05);
    --tw-bg-hover-strong: rgba(247, 249, 249, 0.1);
    --tw-border: #38444d;
    --tw-border-light: #273340;
    --tw-border-strong: #536471;
    --tw-text: #f7f9f9;
    --tw-text-secondary: #8b98a5;
    --tw-text-muted: #6e767d;
    --tw-card-bg: #1e2732;
    --tw-modal-overlay: rgba(91, 112, 131, 0.4);
    --tw-sticky-header-bg: rgba(21, 32, 43, 0.75);
}

[data-theme="default"] {
    --tw-bg: #ffffff;
    --tw-bg-secondary: #f7f9f9;
    --tw-bg-hover: rgba(15, 20, 25, 0.05);
    --tw-bg-hover-strong: rgba(15, 20, 25, 0.1);
    --tw-border: #cfd9de;
    --tw-border-light: #eff3f4;
    --tw-border-strong: #cfd9de;
    --tw-text: #0f1419;
    --tw-text-secondary: #536471;
    --tw-text-muted: #8b98a5;
    --tw-card-bg: #f7f9f9;
    --tw-modal-overlay: rgba(0, 0, 0, 0.4);
    --tw-sticky-header-bg: rgba(255, 255, 255, 0.85);
}

[data-accent="color-blue"] { --tw-accent: #1d9bf0; --tw-accent-hover: #1a8cd8; --tw-accent-rgb: 29, 155, 240; }
[data-accent="color-yellow"] { --tw-accent: #ffd400; --tw-accent-hover: #e6bf00; --tw-accent-rgb: 255, 212, 0; }
[data-accent="color-pink"] { --tw-accent: #f91880; --tw-accent-hover: #db1571; --tw-accent-rgb: 249, 24, 128; }
[data-accent="color-purple"] { --tw-accent: #7856ff; --tw-accent-hover: #6743e8; --tw-accent-rgb: 120, 86, 255; }
[data-accent="color-orange"] { --tw-accent: #ff7a00; --tw-accent-hover: #e06c00; --tw-accent-rgb: 255, 122, 0; }
[data-accent="color-green"] { --tw-accent: #00ba7c; --tw-accent-hover: #00a06a; --tw-accent-rgb: 0, 186, 124; }

html {
    margin-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

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

body {
    background-color: var(--tw-bg);
    color: var(--tw-text);
    font-family: var(--tw-font-family);
    font-size: 15px;
    line-height: 1.4;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: background-color 0.2s ease, color 0.2s ease;
}

a,
a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: none !important;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

svg {
    display: block;
    fill: currentColor;
}

.tw-app {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    min-height: 100vh !important;
}

.tw-sidebar-left {
    width: 275px !important;
    min-width: 275px !important;
    max-width: 275px !important;
    flex: 0 0 275px !important;
    height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 12px !important;
    border-right: 1px solid var(--tw-border) !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
}

.tw-sidebar-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 8px 0 16px 0;
}

.tw-logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.tw-logo-container .tw-logo-link {
    margin-bottom: 0;
}

.tw-desktop-customize-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tw-accent);
    transition: background-color 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

.tw-desktop-customize-btn:hover {
    background-color: var(--tw-bg-hover);
    opacity: 0.85;
}

.tw-customize-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.tw-logo-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 9999px;
    transition: var(--tw-transition);
    margin-bottom: 8px;
    text-decoration: none;
    max-width: 100%;
}

.tw-logo-link:hover {
    background-color: var(--tw-bg-hover-strong);
}

.tw-logo-sitename {
    font-size: 22px;
    font-weight: 900;
    color: var(--tw-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.4px;
    transition: var(--tw-transition);
}

.tw-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tw-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 9999px;
    font-size: 19px;
    font-weight: 500;
    color: var(--tw-text);
    transition: var(--tw-transition);
    width: fit-content;
}

.tw-nav-item:hover {
    background-color: var(--tw-bg-hover-strong);
}

.tw-nav-item.active {
    font-weight: 700;
    color: var(--tw-accent) !important;
}

.tw-nav-item.active .tw-nav-icon {
    fill: var(--tw-accent) !important;
}

.tw-nav-icon {
    width: 26px;
    height: 26px;
}

.tw-nav-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.tw-nav-emoji {
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tw-nav-fa-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transition: var(--tw-transition);
}

.tw-nav-item.active .tw-nav-fa-icon {
    color: var(--tw-accent);
}

.tw-btn-primary {
    background-color: var(--tw-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 9999px;
    padding: 12px 24px;
    transition: var(--tw-transition);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tw-btn-primary:hover {
    background-color: var(--tw-accent-hover);
}

.tw-btn-primary:disabled {
    opacity: 0.5;
    cursor: default;
}

.tw-btn-tweet-large {
    width: 90%;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
    margin-top: 16px;
    font-size: 17px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.tw-btn-tweet-large .tw-icon-feather {
    display: none;
    width: 24px;
    height: 24px;
}

.tw-sidebar-user {
    position: relative;
    width: 100%;
}

.tw-user-pill {
    display: flex;
    align-items: center;
    width: 90%;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 0 8px 0 12px;
    border: 1.5px solid var(--tw-border-strong, #cfd9de);
    border-radius: 9999px;
    background-color: transparent;
    transition: var(--tw-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tw-user-pill:hover {
    background-color: rgba(29, 155, 240, 0.08);
    border-color: var(--tw-accent);
}

.tw-user-pill-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    height: 100%;
    cursor: pointer;
}

.tw-user-pill-more {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--tw-transition);
    padding: 0;
}

.tw-user-pill-more:hover {
    background-color: rgba(29, 155, 240, 0.15);
}

.tw-user-pill-more:hover .tw-icon-dots {
    fill: var(--tw-accent);
}

.theme-dim .tw-user-pill,
.theme-lights-out .tw-user-pill,
[data-theme="dark"] .tw-user-pill {
    border-color: rgba(255, 255, 255, 0.28);
}

.theme-dim .tw-user-pill:hover,
.theme-lights-out .tw-user-pill:hover,
[data-theme="dark"] .tw-user-pill:hover {
    border-color: var(--tw-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.tw-user-menu-popover {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: 90%;
    display: none;
    z-index: 1000;
}

.tw-user-menu-popover.active {
    display: block;
    animation: tw-popover-in 0.15s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes tw-popover-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tw-btn-logout-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
    padding: 0 16px;
    background-color: var(--tw-bg);
    border: 1.5px solid var(--tw-border-strong, #cfd9de);
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: #f91880;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: var(--tw-transition);
}

.tw-btn-logout-pill:hover {
    background-color: rgba(249, 24, 128, 0.08);
    border-color: #f91880;
}

.theme-dim .tw-btn-logout-pill,
.theme-lights-out .tw-btn-logout-pill,
[data-theme="dark"] .tw-btn-logout-pill {
    border-color: rgba(255, 255, 255, 0.28);
    background-color: var(--tw-bg);
}

.theme-dim .tw-btn-logout-pill:hover,
.theme-lights-out .tw-btn-logout-pill:hover,
[data-theme="dark"] .tw-btn-logout-pill:hover {
    border-color: #f91880;
    background-color: rgba(249, 24, 128, 0.12);
}

.tw-logout-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.tw-user-pill-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.tw-user-pill-avatar .tw-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    object-fit: cover;
    display: block;
}

.tw-profile-notif-bubble {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9999px;
    background-color: var(--tw-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    border: 2px solid var(--tw-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



.tw-user-pill-info {
    flex: 1;
    min-width: 0;
}

.tw-user-pill-name {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tw-user-pill-handle {
    font-size: 14px;
    color: var(--tw-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tw-verified-badge {
    width: 18px;
    height: 18px;
    fill: var(--tw-verified);
    flex-shrink: 0;
}

.tw-v-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.tw-v-pill.is-approved {
    background: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
    border: 1px solid rgba(29, 155, 240, 0.25);
}

.tw-v-pill.is-pending {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.tw-icon-dots {
    width: 18px;
    height: 18px;
    fill: var(--tw-text-secondary);
}

.tw-btn-outline-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 0 20px;
    border: 1.5px solid var(--tw-border-strong, #cfd9de);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    color: var(--tw-text);
    background-color: transparent;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--tw-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tw-btn-outline-login:hover {
    background-color: rgba(29, 155, 240, 0.08);
    border-color: var(--tw-accent);
    color: var(--tw-accent);
}

.theme-dim .tw-btn-outline-login,
.theme-lights-out .tw-btn-outline-login,
[data-theme="dark"] .tw-btn-outline-login {
    border-color: rgba(255, 255, 255, 0.28);
}

.theme-dim .tw-btn-outline-login:hover,
.theme-lights-out .tw-btn-outline-login:hover,
[data-theme="dark"] .tw-btn-outline-login:hover {
    border-color: var(--tw-accent);
    color: var(--tw-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.tw-main-content {
    width: 600px !important;
    min-width: 600px !important;
    max-width: 600px !important;
    flex: 0 0 600px !important;
    border-right: 1px solid var(--tw-border) !important;
    min-height: 100vh !important;
    box-sizing: border-box !important;
}

.tw-sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--tw-sticky-header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tw-border);
}

.tw-header-title-row, .tw-header-back-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 53px;
    padding: 0 16px;
}

.tw-header-back-row {
    gap: 12px;
}

.tw-header-back-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.tw-header-profile-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tw-header-profile-name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--tw-text);
}

.tw-header-post-count {
    font-size: 13px;
    color: var(--tw-text-secondary);
    line-height: 1.2;
}

.tw-page-title-wrap {
    position: relative;
    min-width: 0;
    flex: 1;
    display: inline-flex;
    align-items: center;
}

.tw-page-title {
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    width: 100%;
    line-height: 1.2;
    cursor: default;
}

.tw-title-desktop {
    display: inline;
}

.tw-title-mobile {
    display: none;
}

@media (min-width: 681px) {
    .tw-home-header-title-row {
        display: none !important;
    }
}

.tw-title-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: rgba(15, 20, 25, 0.94);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
    z-index: 1000;
    width: max-content;
    max-width: none;
}

.tw-title-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(15, 20, 25, 0.94) transparent;
}

.theme-dim .tw-title-tooltip {
    background-color: rgba(30, 39, 50, 0.96);
    border-color: rgba(255, 255, 255, 0.22);
}

.theme-dim .tw-title-tooltip::before {
    border-color: transparent transparent rgba(30, 39, 50, 0.96) transparent;
}

[data-theme="default"] .tw-title-tooltip {
    background-color: rgba(15, 20, 25, 0.94);
    color: #ffffff;
}

.tw-page-title-wrap:hover .tw-title-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tw-header-settings-btn, .tw-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tw-transition);
}

.tw-header-settings-btn:hover, .tw-back-btn:hover {
    background-color: var(--tw-bg-hover-strong);
}

.tw-header-settings-btn svg, .tw-back-btn svg {
    width: 20px;
    height: 20px;
}

.tw-timeline-tabs {
    display: flex;
    width: 100%;
}

.tw-tab-item {
    flex: 1;
    text-align: center;
    height: 53px;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: var(--tw-text-secondary);
    transition: var(--tw-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tw-tab-item:hover {
    background-color: var(--tw-bg-hover);
}

.tw-tab-item.active {
    font-weight: 700;
    color: var(--tw-text);
}

.tw-tab-indicator {
    position: absolute;
    bottom: 0;
    height: 4px;
    border-radius: 9999px;
    background-color: var(--tw-accent);
    width: 56px;
    display: none;
}

.tw-tab-item.active .tw-tab-indicator {
    display: block;
}

.tw-feed-composer {
    padding: 16px;
    border-bottom: 1px solid var(--tw-border);
}

.tw-composer-row {
    display: flex;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.tw-composer-avatar {
    flex-shrink: 0;
}

.tw-composer-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tw-composer-category-row {
    margin-bottom: 12px;
}

.tw-composer-cat-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--tw-border);
    background-color: var(--tw-card-bg);
    border-radius: 9999px;
    padding: 4px 12px 4px 10px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.tw-composer-cat-badge:hover,
.tw-composer-cat-badge:focus-within {
    border-color: var(--tw-accent);
    background-color: rgba(29, 155, 240, 0.08);
}

.tw-composer-cat-icon {
    width: 14px;
    height: 14px;
    fill: var(--tw-accent);
    flex-shrink: 0;
}

.tw-composer-cat-arrow {
    width: 12px;
    height: 12px;
    fill: var(--tw-text-secondary);
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.tw-composer-cat-badge:focus-within .tw-composer-cat-arrow {
    transform: rotate(180deg);
}

.tw-composer-category-select {
    background: transparent;
    border: none;
    outline: none;
    color: var(--tw-text);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2px;
}

.tw-composer-category-select option {
    background-color: var(--tw-bg);
    color: var(--tw-text);
    font-size: 14px;
    padding: 6px;
}

.tw-composer-title {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px dashed var(--tw-border);
    outline: none;
    color: var(--tw-text);
    font-size: 18px;
    font-weight: 700;
    padding: 0 0 8px;
    margin-bottom: 10px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.tw-composer-title:focus {
    border-bottom-color: var(--tw-accent);
}

.tw-composer-title::placeholder {
    color: var(--tw-text-muted);
    font-weight: 600;
    font-size: 16px;
}

.tw-composer-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--tw-text);
    font-size: 17px;
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

.tw-composer-input::placeholder {
    color: var(--tw-text-muted);
}

.tw-composer-featured-wrap {
    position: relative;
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--tw-border);
    max-height: 280px;
    background: var(--tw-bg-secondary);
}

.tw-featured-badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tw-featured-badge-tag svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.tw-composer-remove-img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: rgba(15, 20, 25, 0.75);
    backdrop-filter: blur(4px);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.tw-composer-remove-img:hover {
    background: rgba(239, 35, 60, 0.9);
    transform: scale(1.08);
}

.tw-composer-remove-img svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.tw-composer-preview-img {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
}

.tw-composer-preview-img img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.tw-composer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tw-border-light);
    margin-left: 52px;
    flex-shrink: 0;
}

.tw-composer-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tw-tool-btn {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tw-accent);
    transition: var(--tw-transition);
    cursor: pointer;
}

.tw-tool-btn:hover {
    background-color: rgba(var(--tw-accent-rgb), 0.1);
}

.tw-tool-btn svg {
    width: 19px;
    height: 19px;
}

.tw-file-input {
    display: none;
}

.tw-composer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tw-btn-tweet {
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 700;
}

.tw-tweet-card {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--tw-border);
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.tw-tweet-card:hover {
    background-color: var(--tw-bg-hover);
}

.tw-syron-card {
    display: block;
    position: relative;
    border: 1px solid var(--tw-border);
    border-radius: 16px;
    margin: 16px;
    padding: 0;
    overflow: hidden;
}

.tw-syron-body {
    padding: 5px 5px;
}

.tw-syron-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tw-syron-thumb-col {
    flex-shrink: 0;
    width: 155px;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--tw-bg-secondary);
}

.tw-syron-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tw-syron-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-syron-info-col {
    flex: 1;
    min-width: 0;
}

.tw-syron-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--tw-text);
}

.tw-syron-title a {
    color: var(--tw-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.tw-syron-title a:hover {
    color: var(--tw-accent);
}

.tw-syron-meta-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tw-text-muted);
    margin-bottom: 6px;
    line-height: 1.4;
}

.tw-syron-author {
    display: inline-flex;
    align-items: center;
}

.tw-syron-author-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--tw-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.tw-syron-author-name .tw-verified-badge {
    width: 15px;
    height: 15px;
    fill: var(--tw-verified);
    flex-shrink: 0;
}

.tw-syron-comment-link,
.tw-syron-time-ago {
    color: var(--tw-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.tw-syron-author-name:hover,
.tw-syron-comment-link:hover {
    color: var(--tw-accent);
}

.tw-syron-excerpt {
    font-size: 14px;
    color: var(--tw-text-secondary);
    line-height: 1.55;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tw-syron-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px dashed var(--tw-border-light, #eff3f4);
    flex-wrap: wrap;
    width: 100%;
}

.tw-syron-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tw-syron-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--tw-accent);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.tw-syron-tag:hover {
    opacity: 0.8;
}

.tw-syron-meta-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    color: var(--tw-text-muted);
}

.tw-syron-metric {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--tw-text-muted);
    font-weight: 500;
}

.tw-syron-action-btns {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 680px) {
    .tw-syron-card {
        margin: 10px 12px;
        border-radius: 12px;
    }
    .tw-syron-main {
        flex-direction: row-reverse;
        gap: 12px;
    }
    .tw-syron-thumb-col {
        width: 105px;
        height: 85px;
        border-radius: 10px;
    }
    .tw-syron-title {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .tw-syron-meta-sub {
        font-size: 12px;
        gap: 4px;
        margin-bottom: 4px;
    }
    .tw-syron-footer {
        margin-top: 8px;
        padding-top: 8px;
        gap: 8px;
    }
    .tw-syron-tag {
        font-size: 12px;
    }
    .tw-syron-meta-actions {
        gap: 10px;
        font-size: 12px;
    }
}

.tw-tweet-avatar-col {
    flex-shrink: 0;
}

.tw-avatar-link {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
}

.tw-avatar-link:hover {
    opacity: 0.85;
}

.avatar,
img.avatar,
.tw-avatar-img,
.tw-profile-avatar-img,
.tw-avatar-link img,
.tw-tweet-avatar-col img,
.tw-composer-avatar img,
.tw-reply-avatar img,
.tw-reply-avatar-col img,
.tw-tree-comment-avatar img,
.tw-comment-avatar img,
.tw-follow-avatar img,
.tw-notif-avatar img,
.tw-user-pill-avatar img,
.tw-single-avatar img {
    border-radius: 9999px !important;
    object-fit: cover !important;
}

.tw-tweet-main-col {
    flex: 1;
    min-width: 0;
}

.tw-tweet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.tw-tweet-author-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tw-tweet-author-name {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--tw-text);
}

.tw-tweet-author-name:hover {
    color: var(--tw-text);
}

.tw-tweet-author-handle, .tw-tweet-timestamp, .tw-tweet-dot {
    color: var(--tw-text-secondary);
    font-size: 14px;
}

.tw-tweet-timestamp:hover {
    color: var(--tw-text-secondary);
}

.tw-tweet-menu-dropdown {
    position: relative;
}

.tw-tweet-menu-btn {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tw-text-secondary);
    transition: var(--tw-transition);
}

.tw-tweet-menu-btn:hover {
    background-color: rgba(var(--tw-accent-rgb), 0.1);
    color: var(--tw-accent);
}

.tw-tweet-menu-btn svg {
    width: 18px;
    height: 18px;
}

.tw-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--tw-bg);
    border: 1px solid var(--tw-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    padding: 6px 0;
    min-width: 190px;
    z-index: 50;
    display: none;
}

.tw-dropdown-menu.active {
    display: block;
}

.tw-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    text-align: left;
    transition: var(--tw-transition);
}

.tw-dropdown-item:hover {
    background-color: var(--tw-bg-hover);
}

.tw-dropdown-item svg {
    width: 18px;
    height: 18px;
}

.tw-tweet-body {
    margin-bottom: 10px;
}

.tw-tweet-text {
    font-size: 15px;
    line-height: 1.45;
    word-break: break-word;
}

.tw-tweet-text p {
    margin-bottom: 8px;
}

.tw-tweet-text p:last-child {
    margin-bottom: 0;
}

.tweet-hashtag, .tweet-mention {
    color: var(--tw-accent);
}

.tweet-hashtag:hover, .tweet-mention:hover {
    opacity: 0.85;
}

.tw-tweet-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--tw-text);
}

.tw-tweet-title a {
    color: inherit;
    text-decoration: none !important;
}

.tw-tweet-title a:hover {
    color: var(--tw-accent);
}

.tw-tweet-media {
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    max-height: 140px;
}

.tw-media-link {
    border: none;
    outline: none;
    text-decoration: none;
    display: block;
}

.tw-media-img {
    width: 100%;
    max-height: 140px;
    display: block;
    object-fit: cover;
}

.tw-post-categories,
.tw-tweet-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 4px;
}

.tw-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 9999px;
    background-color: var(--tw-bg-secondary);
    color: var(--tw-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--tw-border);
    transition: var(--tw-transition);
}

.tw-category-badge:hover {
    background-color: rgba(var(--tw-accent-rgb), 0.12);
    border-color: var(--tw-accent);
    color: var(--tw-accent-hover);
}

.tw-cat-icon {
    flex-shrink: 0;
    vertical-align: middle;
}

.tw-tweet-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin-top: 10px;
    padding-right: 8px;
}

.tw-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--tw-text-secondary);
    font-size: 13px;
    line-height: 1;
    transition: var(--tw-transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.tw-action-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--tw-transition);
    overflow: visible;
    flex-shrink: 0;
}

.tw-action-icon-wrap svg {
    width: 19px;
    height: 19px;
    min-width: 19px;
    min-height: 19px;
    display: block;
    overflow: visible;
}

.tw-action-count {
    font-size: 13px;
    line-height: 1;
}

.tw-action-btn.action-reply:hover {
    color: var(--tw-reply);
}

.tw-action-btn.action-reply:hover .tw-action-icon-wrap {
    background-color: var(--tw-reply-bg);
}

.tw-action-btn.action-like:hover, .tw-action-btn.action-like.active {
    color: var(--tw-like);
}

.tw-action-btn.action-like:hover .tw-action-icon-wrap {
    background-color: var(--tw-like-bg);
}

.tw-icon-heart-filled, .tw-icon-bookmark-filled {
    display: none !important;
}

.tw-icon-heart-outline, .tw-icon-bookmark-outline {
    display: block !important;
}

.tw-action-btn.action-like.active .tw-icon-heart-outline {
    display: none !important;
}

.tw-action-btn.action-like.active .tw-icon-heart-filled {
    display: block !important;
    fill: var(--tw-like) !important;
    animation: heartPop 0.3s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

.tw-action-btn.action-bookmark:hover, .tw-action-btn.action-bookmark.active {
    color: var(--tw-accent);
}

.tw-action-btn.action-bookmark:hover .tw-action-icon-wrap {
    background-color: rgba(var(--tw-accent-rgb), 0.1);
}

.tw-action-btn.action-bookmark.active .tw-icon-bookmark-outline {
    display: none !important;
}

.tw-action-btn.action-bookmark.active .tw-icon-bookmark-filled {
    display: block !important;
    fill: var(--tw-accent) !important;
    animation: heartPop 0.3s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

.tw-action-btn.action-views:hover {
    color: var(--tw-accent);
}

.tw-action-btn.action-views:hover .tw-action-icon-wrap {
    background-color: rgba(var(--tw-accent-rgb), 0.1);
}

.tw-action-btn.action-share:hover {
    color: var(--tw-accent);
}

.tw-action-btn.action-share:hover .tw-action-icon-wrap {
    background-color: rgba(var(--tw-accent-rgb), 0.1);
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.tw-sidebar-right {
    width: 350px !important;
    min-width: 350px !important;
    max-width: 350px !important;
    flex: 0 0 350px !important;
    height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    padding: 0 16px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    box-sizing: border-box !important;
}

.tw-sidebar-right::-webkit-scrollbar {
    display: none !important;
}

.tw-sidebar-right-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 60px;
}

.tw-search-box-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--tw-bg);
    padding: 8px 0;
}

.tw-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--tw-bg-secondary);
    border: 1px solid var(--tw-border);
    border-radius: 9999px;
    padding: 10px 16px;
    transition: var(--tw-transition);
}

.tw-search-input-wrapper:focus-within {
    background-color: var(--tw-bg);
    border-color: var(--tw-accent);
}

.tw-search-icon {
    width: 18px;
    height: 18px;
    color: var(--tw-text-muted);
}

.tw-search-input-wrapper:focus-within .tw-search-icon {
    color: var(--tw-accent);
}

.tw-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--tw-text);
    font-size: 15px;
    width: 100%;
}

.tw-widget-card {
    border: 1px solid var(--tw-border);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tw-widget-title {
    font-size: 19px;
    font-weight: 800;
}

.tw-widget-desc {
    font-size: 14px;
    color: var(--tw-text-secondary);
    line-height: 1.35;
}

.tw-btn-compact {
    padding: 8px 16px;
    font-size: 14px;
    width: fit-content;
}

.tw-trends-list {
    display: flex;
    flex-direction: column;
    margin: 4px -16px 0;
}

.tw-trend-item {
    padding: 10px 16px;
    transition: var(--tw-transition);
    text-decoration: none !important;
    display: block;
}

.tw-trend-item:hover {
    background-color: var(--tw-bg-hover);
}

.tw-trend-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tw-trend-category {
    font-size: 13px;
    color: var(--tw-text-secondary);
    line-height: 1.2;
}

.tw-trend-more-btn {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--tw-text-secondary);
    cursor: pointer;
    margin-right: -4px;
    transition: var(--tw-transition);
}

.tw-trend-more-btn:hover {
    background-color: rgba(var(--tw-accent-rgb), 0.1);
    color: var(--tw-accent);
}

.tw-trend-more-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tw-trend-name {
    font-size: 15px;
    font-weight: 700;
    margin: 2px 0;
    color: var(--tw-text);
    line-height: 1.3;
}

.tw-trend-posts {
    font-size: 13px;
    color: var(--tw-text-secondary);
    line-height: 1.2;
}

.tw-trends-show-more {
    display: block;
    padding: 14px 16px 4px;
    margin: 0 -16px -4px;
    font-size: 14px;
    color: var(--tw-accent);
    text-decoration: none;
    transition: var(--tw-transition);
    border-radius: 0 0 16px 16px;
}

.tw-trends-show-more:hover {
    background-color: var(--tw-bg-hover);
}

.tw-follow-list {
    display: flex;
    flex-direction: column;
}

.tw-follow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.tw-follow-avatar {
    flex-shrink: 0;
}

.tw-follow-info {
    flex: 1;
    min-width: 0;
}

.tw-follow-name {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tw-follow-handle {
    font-size: 14px;
    color: var(--tw-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tw-btn-follow {
    background-color: var(--tw-text);
    color: var(--tw-bg);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 9999px;
    transition: var(--tw-transition);
}

.tw-btn-follow:hover {
    opacity: 0.9;
}

.tw-btn-follow.following {
    background-color: transparent;
    color: var(--tw-text);
    border: 1px solid var(--tw-border);
}

.tw-btn-follow.following:hover {
    border-color: #f4212e;
    color: #f4212e;
    background-color: rgba(244, 33, 46, 0.1);
}

.tw-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 13px;
    color: var(--tw-text-muted);
    padding: 0 8px;
    line-height: 1.5;
}

.tw-legal-links a {
    color: var(--tw-text-muted);
    text-decoration: none;
    transition: var(--tw-transition);
}

.tw-legal-links a:hover {
    color: var(--tw-text-secondary);
}

.tw-legal-links ul,
.tw-legal-links li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
}

.tw-legal-copy {
    display: block;
    width: 100%;
    margin-top: 4px;
    color: var(--tw-text-muted);
}

.tw-single-container {
    padding-bottom: 120px;
}

.tw-single-tweet {
    padding: 16px;
    border-bottom: 1px solid var(--tw-border);
}

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

.tw-single-avatar .tw-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    object-fit: cover;
}

.tw-single-author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tw-single-name {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--tw-text);
}

.tw-single-name:hover {
    color: var(--tw-text);
}

.tw-single-handle {
    font-size: 14px;
    color: var(--tw-text-secondary);
    line-height: 1.2;
}

.tw-single-media {
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 0;
    overflow: hidden;
    border: none;
    max-height: none;
}

.tw-single-media .tw-media-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.tw-single-metadata {
    font-size: 15px;
    color: var(--tw-text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--tw-border-light);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.tw-single-content {
    margin-bottom: 16px;
}

.tw-single-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--tw-text);
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Headings */
.tw-single-text h1,
.tw-single-text h2,
.tw-single-text h3,
.tw-single-text h4,
.tw-single-text h5,
.tw-single-text h6 {
    color: var(--tw-text);
    font-weight: 800;
    line-height: 1.35;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    clear: both;
}

.tw-single-text h1 { font-size: 24px; }
.tw-single-text h2 { font-size: 22px; }
.tw-single-text h3 { font-size: 20px; }
.tw-single-text h4 { font-size: 18px; }
.tw-single-text h5 { font-size: 16px; }
.tw-single-text h6 { font-size: 15px; }

/* Paragraphs */
.tw-single-text p {
    margin-top: 0;
    margin-bottom: 1.25em;
    line-height: 1.7;
}

.tw-single-text p:last-child {
    margin-bottom: 0;
}

/* Lists (Classic Editor ol, ul, li) */
.tw-single-text ul,
.tw-single-text ol {
    margin-top: 0.5em;
    margin-bottom: 1.25em;
    padding-left: 1.8em;
    display: block;
}

.tw-single-text ul {
    list-style-type: disc;
}

.tw-single-text ol {
    list-style-type: decimal;
}

.tw-single-text li {
    margin-bottom: 0.4em;
    line-height: 1.65;
    display: list-item;
}

.tw-single-text li p {
    margin-bottom: 0.4em;
}

.tw-single-text ul ul,
.tw-single-text ol ol,
.tw-single-text ul ol,
.tw-single-text ol ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    padding-left: 1.5em;
}

/* Links inside content */
.tw-single-text a {
    color: var(--tw-accent);
    text-decoration: underline;
    word-break: break-all;
}

.tw-single-text a:hover {
    color: var(--tw-accent-hover);
    text-decoration: underline;
}

/* Blockquotes */
.tw-single-text blockquote {
    margin: 1.5em 0;
    padding: 14px 20px;
    border-left: 4px solid var(--tw-accent);
    background-color: var(--tw-bg-secondary);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 16px;
    color: var(--tw-text-secondary);
}

.tw-single-text blockquote p {
    margin-bottom: 0.5em;
}

.tw-single-text blockquote p:last-child {
    margin-bottom: 0;
}

/* Media & Images */
.tw-single-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 14px 0;
    display: block;
}

.tw-single-text figure {
    margin: 1.5em 0;
}

.tw-single-text figcaption {
    font-size: 14px;
    color: var(--tw-text-secondary);
    text-align: center;
    margin-top: 8px;
}

/* Alignments (Classic Editor & Gutenberg) */
.tw-single-text .alignleft,
.tw-single-text img.alignleft {
    float: left;
    margin: 0 18px 18px 0;
}

.tw-single-text .alignright,
.tw-single-text img.alignright {
    float: right;
    margin: 0 0 18px 18px;
}

.tw-single-text .aligncenter,
.tw-single-text img.aligncenter {
    display: block;
    margin: 18px auto;
}

.tw-single-text .alignnone,
.tw-single-text img.alignnone {
    margin: 14px 0;
}

/* Tables */
.tw-single-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 15px;
    border: 1px solid var(--tw-border);
}

.tw-single-text th,
.tw-single-text td {
    padding: 10px 14px;
    border: 1px solid var(--tw-border);
    text-align: left;
}

.tw-single-text th {
    background-color: var(--tw-bg-secondary);
    font-weight: 700;
    color: var(--tw-text);
}

/* Code & Pre */
.tw-single-text pre {
    background: var(--tw-bg-secondary);
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: monospace, monospace;
    font-size: 14px;
    margin: 1.5em 0;
    border: 1px solid var(--tw-border);
    color: var(--tw-text);
}

.tw-single-text code {
    font-family: monospace, monospace;
    background: var(--tw-bg-hover-strong);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--tw-text);
}

.tw-single-text pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Embeds & Iframes */
.tw-single-text iframe,
.tw-single-text embed,
.tw-single-text object,
.tw-single-text video {
    max-width: 100%;
    border-radius: 12px;
    margin: 14px 0;
}

.tw-single-text hr {
    border: 0;
    height: 1px;
    background: var(--tw-border);
    margin: 2em 0;
}

/* Gutenberg Blocks Support */
.tw-single-text .wp-block-columns {
    display: flex;
    gap: 16px;
    margin: 1.5em 0;
}

.tw-single-text .wp-block-column {
    flex: 1;
}

.tw-single-text .wp-block-separator {
    border: none;
    border-top: 1px solid var(--tw-border);
    margin: 2em 0;
}

.tw-single-text .wp-block-quote {
    border-left: 4px solid var(--tw-accent);
    padding-left: 16px;
    margin: 1.5em 0;
}

.tw-single-text .has-text-align-center { text-align: center; }
.tw-single-text .has-text-align-left { text-align: left; }
.tw-single-text .has-text-align-right { text-align: right; }

.tw-single-metadata .tw-tweet-dot {
    color: var(--tw-text-secondary);
    user-select: none;
}

.tw-bold-val,
.tw-bold-view {
    font-weight: 700;
    color: var(--tw-text);
}

.tw-meta-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tw-single-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 0;
}

.tw-comments-area {
    padding: 0;
}

.tw-reply-composer-box {
    padding: 14px 16px;
    border-bottom: 1px solid var(--tw-border);
}

.tw-reply-form {
    display: flex;
    gap: 12px;
}

.tw-reply-avatar {
    flex-shrink: 0;
}

.tw-reply-input-wrap {
    flex: 1;
}

.tw-reply-textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--tw-text);
    font-size: 16px;
    resize: none;
    font-family: inherit;
    min-height: 48px;
}

.tw-reply-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.tw-replying-to-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tw-text-secondary);
    margin-bottom: 8px;
    background-color: var(--tw-bg-secondary);
    padding: 4px 12px;
    border-radius: 9999px;
    width: fit-content;
}

.tw-replying-to-badge strong {
    color: var(--tw-accent);
}

.tw-cancel-reply-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--tw-text-muted);
    line-height: 1;
}

.tw-cancel-reply-btn:hover {
    color: var(--tw-text);
}

.tw-emoji-picker-container {
    position: relative;
    display: inline-block;
}

.tw-emoji-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background-color: var(--tw-bg);
    border: 1px solid var(--tw-border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    padding: 10px;
    width: 290px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.tw-emoji-dropdown.active {
    display: grid !important;
}

.tw-emoji-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--tw-transition);
    user-select: none;
    font-size: 20px;
    line-height: 1;
}

.tw-emoji-item:hover {
    background-color: var(--tw-bg-hover-strong);
    transform: scale(1.2);
}

.tw-guest-fields {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tw-guest-input {
    flex: 1;
    background-color: var(--tw-bg-secondary);
    border: 1px solid var(--tw-border);
    color: var(--tw-text);
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    outline: none;
}

.tw-guest-input:focus {
    border-color: var(--tw-accent);
}

.tw-reply-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--tw-border);
    position: relative;
}

.tw-reply-nested {
    padding-left: 0;
    border-bottom: none;
    padding-top: 10px;
    padding-bottom: 0;
}

.tw-nested-comments-wrap {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 2px solid var(--tw-border);
    padding-left: 12px;
}

.tw-reply-avatar-col {
    position: relative;
    flex-shrink: 0;
}

.tw-thread-line {
    position: absolute;
    top: 44px;
    bottom: -14px;
    left: 19px;
    width: 2px;
    background-color: var(--tw-border);
}

.tw-reply-content-col {
    flex: 1;
}

.tw-reply-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.tw-reply-author-name {
    font-weight: 700;
    font-size: 15px;
}

.tw-reply-handle, .tw-reply-time {
    color: var(--tw-text-secondary);
    font-size: 14px;
}

.tw-reply-body {
    font-size: 15px;
    line-height: 1.4;
}

.tw-reply-actions {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.tw-profile-banner {
    height: 200px;
    background: linear-gradient(135deg, #1d9bf0, #7856ff);
}

.tw-profile-meta-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 16px;
    margin-top: -67px;
    margin-bottom: 12px;
}

.tw-profile-avatar-wrap {
    position: relative;
    width: 134px;
    height: 134px;
    flex-shrink: 0;
}

.tw-profile-avatar-img {
    width: 134px;
    height: 134px;
    border-radius: 9999px;
    border: 4px solid var(--tw-bg);
    object-fit: cover;
    background-color: var(--tw-bg);
    display: block;
}

.tw-profile-header-notif-bubble {
    position: absolute;
    bottom: 2px;
    right: 2px;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 9999px;
    background-color: var(--tw-accent);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 34px;
    text-align: center;
    border: 3.5px solid var(--tw-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tw-profile-header-notif-bubble:hover {
    transform: scale(1.15);
    background-color: var(--tw-accent-hover);
    color: #ffffff !important;
}

.tw-btn-outline {
    border: 1px solid var(--tw-border);
    color: var(--tw-text);
    font-weight: 700;
    font-size: 15px;
    padding: 8px 18px;
    border-radius: 9999px;
    transition: var(--tw-transition);
}

.tw-btn-outline:hover {
    background-color: var(--tw-bg-hover-strong);
}

.tw-profile-info {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tw-profile-fullname {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tw-profile-handle {
    font-size: 15px;
    color: var(--tw-text-secondary);
}

.tw-profile-bio {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 4px;
}

.tw-profile-details-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--tw-text-secondary);
    margin-top: 6px;
}

.tw-profile-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tw-profile-detail-item svg {
    width: 18px;
    height: 18px;
}

.tw-profile-detail-item svg.tw-icon-stroke {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-website-link {
    color: var(--tw-accent);
}

.tw-website-link:hover {
    color: var(--tw-accent);
}

.tw-profile-counts {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--tw-text-secondary);
    margin-top: 6px;
}

.tw-count-link strong {
    color: var(--tw-text);
}

.tw-profile-tabs {
    display: flex;
    border-bottom: 1px solid var(--tw-border);
    margin-top: 16px;
}

/* Edit Profile Modal */
.tw-edit-profile-dialog {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
}

.tw-modal-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tw-modal-title-small {
    font-size: 20px;
    font-weight: 700;
}

.tw-btn-save-profile {
    padding: 6px 18px;
    font-size: 14px;
}

.tw-edit-profile-body {
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
}

.tw-edit-banner-wrap {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #1d9bf0, #7856ff);
}

.tw-edit-banner-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.tw-edit-upload-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(15, 20, 25, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tw-transition);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.tw-edit-upload-btn:hover {
    background: rgba(15, 20, 25, 0.9);
    transform: translate(-50%, -50%) scale(1.08);
}

.tw-edit-upload-btn svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.tw-edit-avatar-container {
    padding: 0 16px;
    margin-top: -56px;
    position: relative;
    margin-bottom: 16px;
}

.tw-edit-avatar-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    border-radius: 9999px;
    border: 4px solid var(--tw-bg);
    overflow: hidden;
    background-color: var(--tw-bg);
}

.tw-edit-avatar-preview {
    width: 100%;
    height: 100%;
}

.tw-edit-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-edit-upload-btn.avatar-upload {
    top: 50%;
    left: 50%;
}

.tw-edit-fields {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tw-floating-field {
    border: 1px solid var(--tw-border);
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    transition: var(--tw-transition);
}

.tw-floating-field:focus-within {
    border-color: var(--tw-accent);
    box-shadow: 0 0 0 1px var(--tw-accent);
}

.tw-field-label {
    font-size: 13px;
    color: var(--tw-text-secondary);
    margin-bottom: 2px;
}

.tw-floating-field:focus-within .tw-field-label {
    color: var(--tw-accent);
}

.tw-field-input, .tw-field-textarea {
    background: transparent;
    border: none;
    outline: none;
    color: var(--tw-text);
    font-size: 16px;
    font-family: inherit;
    width: 100%;
}

.tw-field-textarea {
    resize: none;
}

.tw-page-card {
    padding: 24px 16px;
}

.tw-page-content {
    font-size: 16px;
    line-height: 1.6;
}

.screen-reader-text,
.tw-pagination-wrap .screen-reader-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.tw-pagination-wrap {
    padding: 24px 16px 40px;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--tw-border);
}

.tw-pagination-wrap .nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tw-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 38px;
    padding: 0 14px;
    border-radius: 9999px;
    border: 1px solid var(--tw-border);
    font-weight: 700;
    font-size: 14px;
    color: var(--tw-text);
    background-color: var(--tw-bg);
    transition: var(--tw-transition);
    text-decoration: none;
    user-select: none;
}

.tw-pagination-wrap .page-numbers:hover {
    background-color: var(--tw-bg-hover-strong);
    border-color: var(--tw-accent);
    color: var(--tw-accent);
}

.tw-pagination-wrap .page-numbers.current {
    background-color: var(--tw-accent);
    color: #ffffff;
    border-color: var(--tw-accent);
}

.tw-pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    padding: 0 6px;
    min-width: auto;
    color: var(--tw-text-muted);
}

.tw-pagination-wrap .page-numbers.prev,
.tw-pagination-wrap .page-numbers.next {
    padding: 0 18px;
    font-weight: 700;
}

.tw-empty-feed {
    padding: 40px 24px;
    text-align: center;
}

.tw-empty-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tw-empty-desc {
    color: var(--tw-text-secondary);
    font-size: 15px;
    max-width: 360px;
    margin: 0 auto;
}

.tw-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--tw-modal-overlay);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
    opacity: 0;
    visibility: hidden;
    transition: var(--tw-transition);
}

.tw-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tw-modal-dialog {
    background-color: var(--tw-bg);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: min(650px, calc(100vh - 60px));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    transition: var(--tw-transition);
    border: 1px solid var(--tw-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tw-modal-overlay.active .tw-modal-dialog {
    transform: scale(1);
}

.tw-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 53px;
    padding: 0 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--tw-border-light);
}

.tw-composer-header-cat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tw-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tw-transition);
    flex-shrink: 0;
}

.tw-modal-close:hover {
    background-color: var(--tw-bg-hover-strong);
}

.tw-modal-close svg {
    width: 20px;
    height: 20px;
}

.tw-modal-actions {
    flex-shrink: 0;
}

.tw-draft-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--tw-accent);
}

.tw-modal-body {
    padding: 16px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tw-composer-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.tw-display-dialog {
    max-width: 540px;
    padding: 32px 32px 24px;
    border-radius: 16px;
}

.tw-display-header {
    text-align: center;
    margin-bottom: 24px;
}

.tw-display-title {
    font-size: 23px;
    font-weight: 800;
    color: var(--tw-text);
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}

.tw-display-subtitle {
    font-size: 14px;
    color: var(--tw-text-secondary);
    line-height: 1.4;
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}

.tw-display-section {
    margin-bottom: 20px;
}

.tw-display-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tw-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.tw-color-options {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--tw-bg-secondary);
    border-radius: 16px;
    padding: 12px 16px;
}

.tw-color-circle {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.tw-color-circle:hover {
    transform: scale(1.1);
}

.tw-color-circle svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: none;
}

.tw-color-circle.active svg {
    display: block;
}

.tw-color-circle.color-blue { background-color: #1d9bf0; }
.tw-color-circle.color-yellow { background-color: #ffd400; }
.tw-color-circle.color-pink { background-color: #f91880; }
.tw-color-circle.color-purple { background-color: #7856ff; }
.tw-color-circle.color-orange { background-color: #ff7a00; }
.tw-color-circle.color-green { background-color: #00ba7c; }

.tw-bg-options {
    display: flex;
    gap: 12px;
}

.tw-bg-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: var(--tw-transition);
    user-select: none;
}

.tw-bg-card input {
    display: none;
}

.tw-bg-radio {
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    border: 2px solid #536471;
    position: relative;
    flex-shrink: 0;
}

.tw-bg-card.active .tw-bg-radio {
    border-color: var(--tw-accent);
}

.tw-bg-card.active .tw-bg-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background-color: var(--tw-accent);
    border-radius: 9999px;
}

.tw-bg-card.bg-default { background-color: #ffffff; color: #0f1419; border: 2px solid #cfd9de; }
.tw-bg-card.bg-dim { background-color: #15202b; color: #f7f9f9; border: 2px solid #38444d; }
.tw-bg-card.bg-lights-out { background-color: #000000; color: #e7e9ea; border: 2px solid #2f3336; }
.tw-bg-card.active { border-color: var(--tw-accent) !important; }

.tw-display-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.tw-btn-done {
    padding: 8px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 9999px;
    background-color: var(--tw-accent);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: var(--tw-transition);
}

.tw-btn-done:hover {
    background-color: var(--tw-accent-hover);
}

.tw-mobile-nav, .tw-fab-compose {
    display: none;
}

.tw-toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.tw-toast {
    background-color: var(--tw-accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: toastPop 0.25s cubic-bezier(0, 0, 0.2, 1);
}

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

@media (max-width: 1200px) {
    .tw-sidebar-left {
        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;
        flex: 0 0 88px !important;
        align-items: center !important;
        padding: 0 4px !important;
    }

    .tw-nav-label, .tw-user-pill-info, .tw-user-pill-more, .tw-btn-tweet-large .tw-btn-text {
        display: none !important;
    }

    .tw-btn-tweet-large {
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        border-radius: 9999px !important;
    }

    .tw-btn-tweet-large .tw-icon-feather {
        display: block !important;
    }

    .tw-user-pill {
        padding: 6px !important;
    }

    .tw-sidebar-right {
        width: 290px !important;
        min-width: 290px !important;
        max-width: 290px !important;
        flex: 0 0 290px !important;
    }
}

@media (max-width: 980px) {
    .tw-sidebar-right {
        display: none !important;
    }
}

@media (max-width: 680px) {
    .tw-sidebar-left {
        display: none !important;
    }

    .tw-title-desktop {
        display: none !important;
    }

    .tw-title-mobile {
        display: inline-flex !important;
        align-items: center;
        text-decoration: none !important;
    }

    .tw-title-mobile.tw-logo-sitename {
        font-size: 21px !important;
        font-weight: 900 !important;
        color: var(--tw-accent) !important;
        letter-spacing: -0.4px !important;
    }

    .tw-main-content {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        border-left: none !important;
        border-right: none !important;
        padding-bottom: 60px !important;
    }

    .tw-mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 52px;
        background-color: var(--tw-sticky-header-bg);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--tw-border);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 90;
    }

    .tw-mobile-nav-item {
        color: var(--tw-text-secondary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 16px;
        position: relative;
        text-decoration: none;
        transition: color 0.15s ease;
    }

    .tw-mobile-nav-item.active {
        color: var(--tw-text);
    }

    .tw-mobile-nav-icon-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tw-mobile-notif-bubble {
        position: absolute;
        top: -4px;
        right: -8px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 9999px;
        background-color: var(--tw-accent);
        color: #ffffff;
        font-size: 10px;
        font-weight: 700;
        line-height: 15px;
        text-align: center;
        border: 2px solid var(--tw-bg);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .tw-mobile-nav-avatar {
        width: 28px;
        height: 28px;
        border-radius: 9999px;
        object-fit: cover;
        display: block;
        border: 2px solid transparent;
        transition: border-color 0.2s ease;
    }

    .tw-mobile-nav-item.active .tw-mobile-nav-avatar {
        border-color: var(--tw-accent);
    }

    .tw-fab-compose {
        display: block;
        position: fixed;
        bottom: 70px;
        right: 18px;
        z-index: 95;
    }

    .tw-fab-btn {
        width: 56px;
        height: 56px;
        border-radius: 9999px;
        background-color: var(--tw-accent);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }

    .tw-fab-btn svg {
        width: 24px;
        height: 24px;
    }
}

.tw-notif-item {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid var(--tw-border);
    gap: 16px;
    text-decoration: none;
    color: var(--tw-text);
    transition: var(--tw-transition);
    background-color: var(--tw-bg);
}

.tw-notif-item:hover {
    background-color: var(--tw-bg-hover);
}

.tw-notif-icon-col {
    flex-shrink: 0;
    width: 32px;
    display: flex;
    justify-content: flex-end;
}

.tw-notif-icon {
    width: 28px;
    height: 28px;
}

.tw-notif-icon-heart {
    fill: #f91880;
}

.tw-notif-icon-reply {
    fill: var(--tw-accent);
}

.tw-notif-main-col {
    flex-grow: 1;
    min-width: 0;
}

.tw-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tw-notif-avatar {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    overflow: hidden;
    display: inline-block;
}

.tw-notif-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-notif-time {
    font-size: 13px;
    color: var(--tw-text-secondary);
}

.tw-notif-text {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
    word-break: break-word;
}

.tw-notif-text strong {
    font-weight: 700;
}

.tw-notif-post-snippet {
    font-size: 14px;
    color: var(--tw-text-secondary);
    line-height: 1.4;
    margin-top: 4px;
}

.tw-login-dialog {
    max-width: 440px;
    border-radius: 16px;
    background-color: var(--tw-bg);
    overflow: hidden;
}

.tw-modal-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.tw-modal-logo-center .tw-site-name-styled {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--tw-accent);
}

.tw-login-modal-body {
    padding: 12px 24px 32px;
}

.tw-login-modal-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}

.tw-btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    border: 1.5px solid var(--tw-border-strong, #cfd9de);
    border-radius: 9999px;
    background-color: transparent;
    color: var(--tw-text);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--tw-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tw-btn-google:hover {
    background-color: var(--tw-bg-hover-strong);
    border-color: var(--tw-accent);
}

.tw-google-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tw-modal-divider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.tw-modal-divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--tw-border);
}

.tw-modal-divider-text {
    font-size: 14px;
    color: var(--tw-text-secondary);
    font-weight: 500;
    text-transform: lowercase;
}

.tw-forgot-success-msg {
    background-color: rgba(var(--tw-accent-rgb), 0.12);
    border: 1px solid rgba(var(--tw-accent-rgb), 0.3);
    color: var(--tw-accent);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.tw-login-error-msg,
.tw-forgot-success-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tw-login-error-msg {
    background-color: rgba(249, 24, 128, 0.12);
    border: 1px solid rgba(249, 24, 128, 0.3);
    color: #f91880;
}

.tw-forgot-success-msg {
    background-color: rgba(var(--tw-accent-rgb), 0.12);
    border: 1px solid rgba(var(--tw-accent-rgb), 0.3);
    color: var(--tw-accent);
}

.tw-login-error-msg:empty,
.tw-forgot-success-msg:empty {
    display: none !important;
}

.tw-login-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 24px;
    font-size: 14px;
}

.tw-remember-me-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--tw-text-secondary);
}

.tw-remember-me-label input[type="checkbox"] {
    accent-color: var(--tw-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tw-forgot-password-link {
    color: var(--tw-accent);
    text-decoration: none;
    font-weight: 500;
}

.tw-auth-switch-row {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--tw-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tw-auth-switch-row a {
    color: var(--tw-accent);
    font-weight: 700;
    text-decoration: none;
}

.tw-auth-switch-row a:hover {
    text-decoration: underline;
}

.tw-forgot-password-link:hover {
    opacity: 0.85;
}

.tw-btn-submit-login {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 800;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.tw-forgot-desc {
    color: var(--tw-text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.tw-mt-24 {
    margin-top: 24px;
}

.tw-hidden {
    display: none;
}

.tw-forgot-back-wrap {
    text-align: center;
    margin-top: 24px;
}

.tw-back-to-login-link {
    color: var(--tw-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.tw-back-to-login-link:hover {
    opacity: 0.85;
}

.tw-btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tw-hidden {
    display: none !important;
}

.tw-spinner-svg {
    width: 20px;
    height: 20px;
    animation: tw-spin 0.8s linear infinite;
}

@keyframes tw-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Tree Comments UI (Curved Branch Connector Thread)
   ========================================================================== */
.tw-tree-comments-wrapper {
    padding: 16px 20px 40px;
    border-top: 1px solid var(--tw-border);
}

.tw-tree-root-composer {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tw-border);
}

.tw-tree-composer-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tw-tree-composer-main {
    flex: 1;
    min-width: 0;
}

.tw-tree-guest-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.tw-tree-guest-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--tw-border);
    border-radius: 8px;
    font-size: 14px;
    background: transparent;
    color: var(--tw-text);
    outline: none;
    font-family: inherit;
}

.tw-tree-guest-input:focus {
    border-color: var(--tw-accent);
}

.tw-tree-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--tw-border);
    border-radius: 12px;
    background: transparent;
    color: var(--tw-text);
    font-size: 14.5px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: var(--tw-transition);
}

.tw-tree-textarea:focus {
    border-color: var(--tw-accent);
    background-color: var(--tw-bg-hover);
}

.tw-tree-composer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.tw-tree-submit-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
}

/* Comments List */
.tw-tree-comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tw-tree-comment-item {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tw-tree-comment-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    z-index: 2;
}

.tw-tree-comment-avatar .tw-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.tw-tree-comment-content {
    flex: 1;
    min-width: 0;
}

.tw-tree-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.tw-tree-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tw-tree-author {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--tw-text);
    transition: color 0.15s ease;
}

.tw-tree-avatar-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.tw-tree-avatar-link:hover {
    opacity: 0.85;
}

.tw-tree-author-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.tw-tree-author-link:hover .tw-tree-author {
    color: var(--tw-text);
}

.tw-profile-avatar-link,
.tw-profile-name-link,
.tw-profile-handle-link,
.tw-header-name-link {
    text-decoration: none;
    color: inherit;
}

.tw-profile-avatar-link {
    display: inline-block;
    line-height: 0;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.tw-profile-avatar-link:hover {
    opacity: 0.9;
}

.tw-profile-name-link:hover,
.tw-profile-handle-link:hover,
.tw-header-name-link:hover {
    color: inherit;
}

.tw-tree-time {
    font-size: 13px;
    color: var(--tw-text-secondary);
}

.tw-tree-more-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tw-text-secondary);
    opacity: 0.6;
    transition: var(--tw-transition);
}

.tw-tree-more-btn:hover {
    opacity: 1;
    background-color: var(--tw-bg-hover-strong);
    color: var(--tw-text);
}

.tw-tree-more-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tw-tree-body {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--tw-text);
    margin: 2px 0 6px;
    word-break: break-word;
}

.tw-tree-body p {
    margin: 0 0 6px;
}

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

.tw-tree-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.tw-tree-reply-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--tw-accent);
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.15s ease;
}

.tw-tree-reply-btn:hover {
    opacity: 0.8;
}

/* Curved L-shape Thread Connector */
.tw-tree-children-container {
    position: relative;
    padding-left: 20px;
    margin-top: 14px;
}

.tw-tree-children-container::before {
    content: '';
    position: absolute;
    left: -30px;
    top: -6px;
    bottom: 22px;
    width: 2px;
    background-color: var(--tw-border);
    border-radius: 2px;
}

.tw-tree-comment-item.is-reply {
    position: relative;
    margin-top: 16px;
}

.tw-tree-curve-line {
    position: absolute;
    left: -50px;
    top: -6px;
    width: 32px;
    height: 24px;
    border-left: 2px solid var(--tw-border);
    border-bottom: 2px solid var(--tw-border);
    border-bottom-left-radius: 12px;
    pointer-events: none;
}

/* Inline Reply Box */
.tw-tree-inline-reply-box {
    margin-top: 10px;
    padding: 12px 14px;
    background-color: var(--tw-bg-hover);
    border: 1px solid var(--tw-border);
    border-radius: 12px;
}

.tw-tree-inline-reply-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tw-tree-inline-reply-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.tw-tree-cancel-btn {
    background: transparent;
    border: 1px solid var(--tw-border);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tw-text-secondary);
    cursor: pointer;
}

.tw-tree-cancel-btn:hover {
    background-color: var(--tw-bg-hover-strong);
    color: var(--tw-text);
}

.tw-tree-empty-comments {
    padding: 36px 20px;
    text-align: center;
    color: var(--tw-text-secondary);
    font-size: 15px;
}

/* ==========================================================================
   Error Pages UI (404, 403, 500, etc.)
   ========================================================================== */
.tw-error-page-container {
    width: 100%;
    min-height: calc(100vh - 60px);
}

.tw-error-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 520px;
    margin: 0 auto;
}

.tw-error-code-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.12), rgba(29, 155, 240, 0.04));
    border: 1px solid var(--tw-border);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.tw-error-code-badge span {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--tw-accent);
    line-height: 1;
}

.tw-error-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--tw-text);
    margin: 0 0 12px;
    line-height: 1.25;
}

.tw-error-description {
    font-size: 15px;
    line-height: 1.55;
    color: var(--tw-text-secondary);
    margin: 0 0 28px;
}

.tw-error-search-form {
    width: 100%;
    margin-bottom: 28px;
}

.tw-error-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--tw-bg-hover);
    border: 1px solid var(--tw-border);
    border-radius: 9999px;
    padding: 0 18px;
    transition: var(--tw-transition);
}

.tw-error-search-bar:focus-within {
    border-color: var(--tw-accent);
    background-color: var(--tw-bg);
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.15);
}

.tw-error-search-icon {
    width: 18px;
    height: 18px;
    fill: var(--tw-text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.tw-error-search-input {
    width: 100%;
    height: 46px;
    border: none;
    background: transparent;
    color: var(--tw-text);
    font-size: 14.5px;
    outline: none;
    font-family: inherit;
}

.tw-error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    flex-wrap: wrap;
}

.tw-btn-error-home {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.tw-btn-error-back {
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
}

@media (max-width: 680px) {
    .tw-profile-banner {
        height: 130px;
    }

    .tw-profile-avatar-wrap,
    .tw-profile-avatar-img {
        width: 80px;
        height: 80px;
    }

    .tw-profile-meta-bar {
        margin-top: -40px;
        margin-bottom: 8px;
        padding: 0 12px;
        align-items: flex-end;
    }

    .tw-profile-actions {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .tw-btn-outline {
        padding: 5px 12px;
        font-size: 13px;
        height: 32px;
        line-height: 20px;
    }

    .tw-v-pill {
        padding: 4px 8px;
        font-size: 11px;
    }

    .tw-profile-info {
        padding: 0 12px;
        gap: 4px;
    }

    .tw-profile-fullname {
        font-size: 18px;
    }

    .tw-profile-handle {
        font-size: 13px;
    }

    .tw-profile-extra {
        flex-wrap: wrap;
        gap: 6px 12px;
        font-size: 13px;
    }

    .tw-profile-stats {
        gap: 12px;
        font-size: 13px;
    }
}

/* TwittPress Clean Native Twitter Download Card */
.tw-download-card {
    margin: 16px 0;
    padding: 14px 18px;
    background-color: var(--tw-bg-secondary);
    border: 1px solid var(--tw-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.tw-download-card:hover {
    background-color: var(--tw-bg-hover);
    border-color: var(--tw-border-strong);
}

.tw-download-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.tw-download-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(var(--tw-accent-rgb, 29, 155, 240), 0.1);
    color: var(--tw-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tw-download-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tw-download-filename {
    font-size: 15px;
    font-weight: 700;
    color: var(--tw-text) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tw-download-subtext {
    font-size: 13px;
    color: var(--tw-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tw-download-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: var(--tw-accent) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.15s ease !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border: none !important;
    line-height: 1 !important;
}

[data-accent="color-yellow"] .tw-download-action-btn {
    color: #0f1419 !important;
}

[data-accent="color-yellow"] .tw-download-action-btn * {
    color: #0f1419 !important;
    stroke: #0f1419 !important;
}

.tw-download-action-btn * {
    color: inherit;
    stroke: currentColor;
    fill: none !important;
}

.tw-download-action-btn:hover {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 540px) {
    .tw-download-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }
    .tw-download-action-btn {
        width: 100% !important;
    }
}

/* TwittPress Action Buttons (Hover & Fill Always Match Theme Customize Accent) */
.tw-single-actions,
.tw-tweet-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-top: 14px;
    border-top: 1px solid var(--tw-border);
}

.tw-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--tw-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tw-action-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tw-action-btn svg {
    display: block;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

/* Unfilled default state for SVGs */
.tw-action-btn:not(.is-active):not(.is-liked):not(.is-bookmarked):not(.is-commented) svg {
    fill: none !important;
}

/* Hover State -> Uses Customize Accent Color & Background */
.tw-action-btn:hover {
    color: var(--tw-accent) !important;
}

.tw-action-btn:hover .tw-action-icon-wrap {
    background-color: rgba(var(--tw-accent-rgb, 29, 155, 240), 0.12) !important;
}

.tw-action-btn:hover svg {
    stroke: var(--tw-accent) !important;
}

/* Active State (Liked / Bookmarked / Commented) -> Fill & Stroke match Customize Accent Color */
.tw-action-btn.is-active,
.tw-action-btn.is-liked,
.tw-action-btn.is-bookmarked,
.tw-action-btn.is-commented {
    color: var(--tw-accent) !important;
}

.tw-action-btn.is-active .tw-action-icon-wrap,
.tw-action-btn.is-liked .tw-action-icon-wrap,
.tw-action-btn.is-bookmarked .tw-action-icon-wrap,
.tw-action-btn.is-commented .tw-action-icon-wrap {
    background-color: rgba(var(--tw-accent-rgb, 29, 155, 240), 0.15) !important;
}

.tw-action-btn.is-active svg,
.tw-action-btn.is-liked svg,
.tw-action-btn.is-bookmarked svg,
.tw-action-btn.is-commented svg {
    fill: var(--tw-accent) !important;
    stroke: var(--tw-accent) !important;
    transform: scale(1.12);
}

.tw-tree-author-link,
.tw-tree-author-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (min-width: 992px) {
    .tw-mobile-header,
    .tw-offcanvas-drawer,
    .tw-drawer-backdrop,
    .tw-bottom-search-bar,
    .tw-mobile-bottom-bar {
        display: none !important;
    }
}

.tw-single-post-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--tw-text);
    margin: 12px 16px 4px 16px;
    padding: 0;
}

@media (max-width: 991px) {
    .tw-sidebar-left,
    .tw-sidebar-right {
        display: none !important;
    }

    .tw-app {
        width: 100% !important;
        max-width: 100% !important;
        padding-bottom: 60px;
    }

    .tw-main-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        border-left: none !important;
        border-right: none !important;
    }

    .tw-single-tweet .tw-single-cat-wrap,
    .tw-meta-stat-replies,
    .tw-meta-dot-replies {
        display: none !important;
    }

    .tw-single-post-title {
        border-bottom: 1px solid var(--tw-border);
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .tw-mobile-header {
        display: block;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: var(--tw-bg);
        border-bottom: 1px solid var(--tw-border);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .tw-mobile-bottom-bar {
        display: flex;
    }

    .tw-mobile-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 54px;
        padding: 0 14px;
        width: 100%;
    }

    .tw-drawer-toggle,
    .tw-header-btn {
        background: transparent;
        border: none;
        padding: 6px;
        color: var(--tw-text);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .tw-drawer-icon {
        width: 22px;
        height: 22px;
        fill: currentColor;
    }

    .tw-mobile-logo {
        font-size: 30px;
        font-weight: 800;
        color: var(--tw-accent);
        text-decoration: none !important;
        letter-spacing: -0.3px;
    }

    .tw-mobile-actions {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .tw-mobile-search-bar {
        padding: 8px 14px 10px;
        border-top: 1px solid var(--tw-border);
        background-color: var(--tw-bg-secondary);
    }

    .tw-search-form {
        display: flex;
        gap: 8px;
    }

    .tw-search-input {
        flex: 1;
        height: 38px;
        border-radius: 20px;
        border: 1px solid var(--tw-border);
        padding: 0 14px;
        background-color: var(--tw-bg);
        color: var(--tw-text);
        font-size: 14px;
    }

    .tw-search-submit {
        height: 38px;
        padding: 0 16px;
        border-radius: 20px;
        background-color: var(--tw-accent);
        color: #fff;
        border: none;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
    }

    .tw-drawer-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1045;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .tw-drawer-backdrop.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .tw-offcanvas-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        background-color: var(--tw-bg);
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .tw-offcanvas-drawer.active {
        transform: translateX(0);
    }

    .tw-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-bottom: 1px solid var(--tw-border);
    }

    .tw-drawer-user {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .tw-drawer-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        overflow: hidden;
    }

    .tw-drawer-name {
        font-weight: 700;
        font-size: 15px;
        color: var(--tw-text);
    }

    .tw-drawer-handle {
        font-size: 13px;
        color: var(--tw-text-secondary);
    }

    .tw-drawer-login-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 20px;
        background-color: var(--tw-accent);
        color: #fff;
        border: none;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
    }

    .tw-drawer-close {
        background: transparent;
        border: none;
        padding: 6px;
        color: var(--tw-text-secondary);
        cursor: pointer;
    }

    .tw-drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
    }

    .tw-drawer-search {
        position: relative;
        margin-bottom: 20px;
    }

    .tw-drawer-search input {
        width: 100%;
        height: 40px;
        border-radius: 20px;
        border: 1px solid var(--tw-border);
        padding: 0 40px 0 14px;
        background-color: var(--tw-bg-secondary);
        color: var(--tw-text);
        font-size: 14px;
    }

    .tw-drawer-search button {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: var(--tw-text-secondary);
        cursor: pointer;
    }

    .tw-drawer-section-title {
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--tw-text-secondary);
        margin-bottom: 10px;
    }

    .tw-drawer-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .tw-drawer-nav-item,
    .tw-drawer-nav .tw-nav-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        color: var(--tw-text);
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
        transition: background-color 0.2s ease;
    }

    .tw-drawer-nav-item:hover,
    .tw-drawer-nav-item.active,
    .tw-drawer-nav .tw-nav-item:hover,
    .tw-drawer-nav .tw-nav-item.active {
        background-color: var(--tw-bg-secondary);
        color: var(--tw-accent);
    }

    .tw-drawer-nav .tw-nav-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .tw-drawer-nav .tw-nav-icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .tw-drawer-nav .tw-nav-label {
        display: inline-block !important;
        font-size: 14px;
        font-weight: 600;
        color: var(--tw-text);
    }

    .tw-drawer-nav-count {
        margin-left: auto;
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 10px;
        background-color: var(--tw-bg-secondary);
        color: var(--tw-text-secondary);
    }

    .tw-drawer-footer {
        padding: 16px;
        border-top: 1px solid var(--tw-border);
    }

    .tw-drawer-footer-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--tw-text-secondary);
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
    }

    .tw-mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 58px;
        background-color: var(--tw-bg);
        border-top: 1px solid var(--tw-border);
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 1000;
        padding: 0 4px;
    }

    .tw-mobile-bottom-bar .tw-mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        color: var(--tw-text-secondary);
        padding: 4px 0;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .tw-mobile-bottom-bar .tw-mobile-nav-item.active {
        color: var(--tw-accent);
    }

    .tw-mobile-bottom-bar .tw-mobile-nav-item.active .tw-nav-icon {
        fill: var(--tw-accent);
        color: var(--tw-accent);
    }

    .tw-mobile-nav-label {
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
    }

    .tw-compose-item .tw-compose-icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--tw-accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(var(--tw-accent-rgb, 29, 155, 240), 0.35);
        margin-top: -12px;
    }

    .tw-compose-item .tw-nav-icon {
        fill: #fff;
        width: 22px;
        height: 22px;
    }

    .tw-app {
        padding-bottom: 60px;
    }

    .tw-header-title-row,
    .tw-header-back-row,
    .tw-fab-compose {
        display: none !important;
    }

    .tw-bottom-search-bar {
        position: fixed;
        bottom: 58px;
        left: 0;
        right: 0;
        background-color: var(--tw-bg);
        border-top: 1px solid var(--tw-border);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
        padding: 10px 14px;
        z-index: 999;
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
    }

    .tw-bottom-search-bar.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .tw-bottom-search-form {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .tw-bottom-search-input-wrap {
        flex: 1;
        position: relative;
        display: flex;
        align-items: center;
    }

    .tw-bottom-search-icon {
        position: absolute;
        left: 12px;
        width: 18px;
        height: 18px;
        fill: var(--tw-text-secondary);
        pointer-events: none;
    }

    .tw-bottom-search-input {
        width: 100%;
        height: 40px;
        border-radius: 20px;
        border: 1px solid var(--tw-border);
        padding: 0 14px 0 38px;
        background-color: var(--tw-bg-secondary);
        color: var(--tw-text);
        font-size: 14px;
        outline: none;
    }

    .tw-bottom-search-input:focus {
        border-color: var(--tw-accent);
    }

    .tw-bottom-search-close {
        background: transparent;
        border: none;
        color: var(--tw-accent);
        font-weight: 700;
        font-size: 14px;
        padding: 4px 8px;
        cursor: pointer;
        white-space: nowrap;
    }

    .tw-tweet-card {
        gap: 10px;
    }

    .tw-tweet-body {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 4px;
    }

    .tw-tweet-text-content {
        flex: 1;
        min-width: 0;
    }

    .tw-tweet-title {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 4px;
        color: var(--tw-text);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tw-tweet-text {
        font-size: 13px;
        line-height: 1.35;
        color: var(--tw-text-secondary);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
    }

    .tw-tweet-media {
        width: 76px;
        height: 76px;
        margin: 0;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .tw-media-img {
        width: 76px;
        height: 76px;
        object-fit: cover;
        border-radius: 8px;
        max-height: none;
    }

    .tw-tweet-categories {
        margin-top: 4px;
        margin-bottom: 0;
    }

    .tw-pagination-wrap {
        padding: 16px 8px 32px;
        overflow: hidden;
    }

    .tw-pagination-wrap .nav-links {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tw-pagination-wrap .nav-links::-webkit-scrollbar {
        display: none;
    }

    .tw-pagination-wrap .page-numbers {
        height: 32px;
        min-width: 28px;
        padding: 0 8px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .tw-pagination-wrap .page-numbers.prev,
    .tw-pagination-wrap .page-numbers.next {
        padding: 0 10px;
        font-size: 12px;
    }

    .tw-pagination-wrap .page-numbers.dots {
        padding: 0 2px;
        min-width: auto;
    }
}

.tw-syron-footer {
    width: 100%;
    margin-top: 6px;
}

.tw-syron-meta-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.tw-syron-metric {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--tw-text-secondary);
    font-size: 13px;
    line-height: 1;
}

.tw-syron-metric svg,
.tw-syron-metric-icon,
.tw-tab-eye-icon {
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
    fill: none;
    stroke: currentColor;
}

.tw-tab-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tw-meta-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
