/**
 * ===============================================================
 * TripTiles Social - Styles
 * Feed, Footprints, Reisen, Chat, Profil, Modals, Interaktionen
 * Alle Buttons: Pills (border-radius: 50px) oder rund
 * Developed by Toni Sciacca - mail@tonisciacca.com
 * ===============================================================
 */

/* ===============================================================
   TOAST NOTIFICATIONS
   =============================================================== */
.tt-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 28px;
    background: #1a1a2e;
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    z-index: 10000;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    pointer-events: none;
}

.tt-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tt-toast-error {
    background: #dc2626;
}

/* ===============================================================
   MODAL OVERLAY & BASE
   =============================================================== */
.tt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    backdrop-filter: blur(0);
}

.tt-modal-overlay.active {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.tt-modal {
    background: var(--bg-primary, #fff);
    border-radius: 20px;
    width: 540px;
    max-width: 94vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.15);
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tt-modal-overlay.active .tt-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.tt-modal-footprint {
    width: 620px;
}

.tt-modal-share {
    width: 460px;
}

.tt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.tt-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #111);
    margin: 0;
}

.tt-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #6b7280);
    transition: all 0.15s;
    background: none;
    border: none;
    cursor: pointer;
}

.tt-modal-close:hover {
    background: var(--gray-100, #f3f4f6);
    color: var(--text-primary, #111);
}

.tt-modal-close [data-lucide] {
    width: 20px;
    height: 20px;
}

.tt-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.tt-modal-body-scroll {
    max-height: 65vh;
}

.tt-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.tt-modal-error {
    padding: 10px 14px;
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 12px;
}

/* ===============================================================
   FORM ELEMENTS
   =============================================================== */
.tt-form-group {
    margin-bottom: 16px;
}

.tt-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #111);
    margin-bottom: 6px;
}

.tt-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary, #111);
    background: var(--bg-primary, #fff);
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    resize: vertical;
}

.tt-input:focus {
    outline: none;
    border-color: var(--primary, #FF385C);
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.1);
}

select.tt-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.tt-form-row {
    display: flex;
    gap: 12px;
}

.tt-form-half {
    flex: 1;
}

.tt-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tt-checkbox-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    margin-bottom: 0;
}

.tt-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary, #FF385C);
}

/* ===============================================================
   PRIVACY PILLS
   =============================================================== */
.tt-privacy-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tt-pill-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-primary, #fff);
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    transition: all 0.15s;
}

.tt-pill-option:hover {
    border-color: var(--gray-400, #9ca3af);
}

.tt-pill-option [data-lucide] {
    width: 14px;
    height: 14px;
}

.tt-pill-option.active {
    background: var(--primary, #FF385C);
    color: white;
    border-color: var(--primary, #FF385C);
}

/* ===============================================================
   UPLOAD ZONE
   =============================================================== */
.tt-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    border: 2px dashed var(--border-color, #e5e7eb);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted, #9ca3af);
}

.tt-upload-zone:hover,
.tt-upload-zone.dragover {
    border-color: var(--primary, #FF385C);
    background: rgba(255, 56, 92, 0.03);
    color: var(--primary, #FF385C);
}

.tt-upload-zone [data-lucide] {
    width: 32px;
    height: 32px;
}

.tt-upload-zone span {
    font-size: 13px;
    font-weight: 500;
}

.tt-upload-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.tt-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
}

.tt-preview-remove:hover {
    background: rgba(220, 38, 38, 0.8);
}

.tt-preview-remove [data-lucide] {
    width: 16px;
    height: 16px;
}

/* ===============================================================
   PHOTO GRID (Footprint)
   =============================================================== */
.tt-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.tt-photo-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.tt-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.tt-photo-thumb:hover .tt-photo-remove {
    opacity: 1;
}

.tt-photo-remove [data-lucide] {
    width: 12px;
    height: 12px;
}

.tt-photo-add {
    aspect-ratio: 1;
    border: 2px dashed var(--border-color, #e5e7eb);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--text-muted, #9ca3af);
}

.tt-photo-add:hover {
    border-color: var(--primary, #FF385C);
    color: var(--primary, #FF385C);
}

.tt-photo-add [data-lucide] {
    width: 20px;
    height: 20px;
}

.tt-photo-add span {
    font-size: 11px;
    font-weight: 500;
}

/* ===============================================================
   LOCATION BAR (Footprint)
   =============================================================== */
.tt-location-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tt-input-location {
    flex: 1;
}

.tt-gps-btn {
    flex-shrink: 0;
    padding: 10px 14px !important;
}

.tt-gps-btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.tt-fp-map {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e5e7eb);
}

.tt-coords {
    margin-top: 6px;
}

.tt-coords-label {
    font-size: 12px;
    color: var(--text-muted, #9ca3af);
}

/* ===============================================================
   EXTRAS ACCORDION
   =============================================================== */
.tt-extras {
    margin-top: 8px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
}

.tt-extras summary {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tt-extras summary::-webkit-details-marker { display: none; }

.tt-extras[open] summary {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.tt-extras-body {
    padding: 16px;
}

/* ===============================================================
   FEED LAYOUT
   =============================================================== */
.social-feed {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px var(--container-padding, 16px);
}

/* ===============================================================
   FEED CARD
   =============================================================== */
.feed-card {
    background: var(--bg-primary, #fff);
    border-radius: var(--border-radius-lg, 16px);
    border: 1px solid var(--border-color, #e5e7eb);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.feed-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.feed-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.feed-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.feed-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200, #e5e7eb);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-card-user-info {
    display: flex;
    flex-direction: column;
}

.feed-card-username {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #111);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feed-card-username [data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--primary, #FF385C);
}

.feed-card-meta {
    font-size: 12px;
    color: var(--text-secondary, #6b7280);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feed-card-meta .flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.feed-card-menu {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.feed-card-menu:hover {
    background: var(--gray-100, #f3f4f6);
}

.feed-card-menu [data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--text-secondary, #6b7280);
}

/* Bild-Slider */
.feed-card-images {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-200, #e5e7eb);
}

.feed-card-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary, #fff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    opacity: 0;
    cursor: pointer;
    border: none;
}

.feed-card-images:hover .feed-slider-nav {
    opacity: 1;
}

.feed-slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.feed-slider-nav.prev { left: 12px; }
.feed-slider-nav.next { right: 12px; }

.feed-slider-nav [data-lucide] {
    width: 16px;
    height: 16px;
}

.feed-card-tag {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--primary, #FF385C);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* Aktionen */
.feed-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 4px;
}

.feed-actions-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.feed-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: var(--text-primary, #111);
    background: none;
    border: none;
    cursor: pointer;
}

.feed-action-btn:hover {
    background: var(--gray-100, #f3f4f6);
}

.feed-action-btn [data-lucide] {
    width: 22px;
    height: 22px;
}

.feed-action-btn.liked {
    color: var(--primary, #FF385C);
}

.feed-action-btn.liked [data-lucide] {
    fill: var(--primary, #FF385C);
}

.feed-action-btn.bookmarked [data-lucide] {
    fill: var(--text-primary, #111);
}

/* Body */
.feed-card-body {
    padding: 0 20px 16px;
}

.feed-likes-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #111);
    margin-bottom: 6px;
}

.feed-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #111);
    margin-bottom: 4px;
}

.feed-card-text {
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    line-height: 1.5;
    margin-bottom: 8px;
}

.feed-card-text .weiterlesen {
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
    cursor: pointer;
}

.feed-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 8px;
}

.feed-card-location [data-lucide] {
    width: 14px;
    height: 14px;
}

.feed-card-time {
    font-size: 12px;
    color: var(--text-muted, #9ca3af);
}

/* ===============================================================
   KOMMENTARE
   =============================================================== */
.feed-comments-section {
    padding: 0 20px 16px;
    border-top: 1px solid var(--gray-200, #e5e7eb);
}

.feed-comments-toggle {
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    padding: 12px 0 8px;
    cursor: pointer;
}

.feed-comments-list {
    max-height: 200px;
    overflow-y: auto;
}

.feed-comment {
    display: flex;
    gap: 10px;
    padding: 8px 0;
}

.feed-comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-200, #e5e7eb);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-comment-body {
    flex: 1;
}

.feed-comment-user {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #111);
}

.feed-comment-text {
    font-size: 13px;
    color: var(--text-primary, #111);
    line-height: 1.4;
}

.feed-comment-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted, #9ca3af);
    margin-top: 4px;
}

.feed-comment-meta span {
    cursor: pointer;
}

.feed-comment-meta span:hover {
    color: var(--text-secondary, #6b7280);
}

.feed-comment-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-100, #f3f4f6);
}

.feed-comment-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary, #111);
    background: transparent;
}

.feed-comment-input input::placeholder {
    color: var(--text-muted, #9ca3af);
}

.feed-comment-submit {
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--primary, #FF385C);
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    opacity: 0.4;
    pointer-events: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.feed-comment-submit.active {
    opacity: 1;
    pointer-events: auto;
}

.feed-comment-submit:hover {
    filter: brightness(0.9);
}

/* ===============================================================
   FOLLOWER CARDS
   =============================================================== */
.person-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: var(--border-radius-lg, 16px);
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-primary, #fff);
    transition: all 0.15s;
    margin-bottom: 8px;
}

.person-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.person-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200, #e5e7eb);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card-info {
    flex: 1;
    min-width: 0;
}

.person-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #111);
    display: flex;
    align-items: center;
    gap: 6px;
}

.person-card-name [data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--primary, #FF385C);
}

.person-card-detail {
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===============================================================
   SOCIAL BUTTONS (alle Pills!)
   =============================================================== */
.btn-follow {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
}

.btn-follow.primary {
    background: var(--primary, #FF385C);
    color: white;
    border: 2px solid var(--primary, #FF385C);
}

.btn-follow.primary:hover {
    filter: brightness(0.9);
}

.btn-follow.outline {
    background: transparent;
    color: var(--text-primary, #111);
    border: 2px solid var(--border-color, #e5e7eb);
}

.btn-follow.outline:hover {
    border-color: var(--gray-400, #9ca3af);
}

.btn-follow.following {
    background: transparent;
    color: var(--text-primary, #111);
    border: 2px solid var(--border-color, #e5e7eb);
}

.btn-follow.following:hover {
    border-color: #dc2626;
    color: #dc2626;
}

/* Pill-Buttons (allgemein) */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
}

.btn-pill [data-lucide] {
    width: 16px;
    height: 16px;
}

.btn-pill.primary {
    background: var(--primary, #FF385C);
    color: white;
}

.btn-pill.primary:hover {
    filter: brightness(0.9);
}

.btn-pill.secondary {
    background: var(--gray-100, #f3f4f6);
    color: var(--text-primary, #111);
}

.btn-pill.secondary:hover {
    background: var(--gray-200, #e5e7eb);
}

.btn-pill.outline {
    background: transparent;
    color: var(--text-primary, #111);
    border: 1px solid var(--border-color, #e5e7eb);
}

.btn-pill.outline:hover {
    border-color: var(--gray-400, #9ca3af);
}

/* Runde Icon-Buttons */
.btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-primary, #fff);
    transition: all 0.15s;
    cursor: pointer;
}

.btn-round:hover {
    border-color: var(--gray-400, #9ca3af);
    background: var(--gray-50, #f9fafb);
}

.btn-round [data-lucide] {
    width: 18px;
    height: 18px;
}

/* ===============================================================
   CHAT DETAIL
   =============================================================== */
.tt-chat-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.tt-chat-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.tt-chat-back {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    background: none;
    border: none;
    color: var(--text-primary, #111);
}

.tt-chat-back:hover {
    background: var(--gray-100, #f3f4f6);
}

.tt-chat-back [data-lucide] {
    width: 18px;
    height: 18px;
}

.tt-chat-partner {
    font-size: 15px;
    font-weight: 600;
}

.tt-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tt-chat-empty {
    text-align: center;
    color: var(--text-muted, #9ca3af);
    font-size: 14px;
    padding: 40px 16px;
}

.tt-msg {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.tt-msg-mine {
    align-self: flex-end;
}

.tt-msg-other {
    align-self: flex-start;
}

.tt-msg-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.tt-msg-mine .tt-msg-bubble {
    background: var(--primary, #FF385C);
    color: white;
    border-bottom-right-radius: 4px;
}

.tt-msg-other .tt-msg-bubble {
    background: var(--gray-100, #f3f4f6);
    color: var(--text-primary, #111);
    border-bottom-left-radius: 4px;
}

.tt-msg-time {
    font-size: 11px;
    color: var(--text-muted, #9ca3af);
    margin-top: 2px;
    padding: 0 4px;
}

.tt-msg-mine .tt-msg-time {
    text-align: right;
}

.tt-chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.tt-chat-input-bar .tt-input {
    flex: 1;
    border-radius: 50px;
    padding: 10px 16px;
}

.tt-chat-send {
    padding: 10px 16px !important;
    flex-shrink: 0;
}

.tt-chat-send [data-lucide] {
    width: 16px;
    height: 16px;
}

/* ===============================================================
   PROFIL HEADER
   =============================================================== */
.profil-header {
    position: relative;
    margin-bottom: 24px;
}

.profil-header-bild {
    width: 100%;
    height: 240px;
    background: var(--gray-200, #e5e7eb);
    border-radius: var(--border-radius-lg, 16px);
    overflow: hidden;
}

.profil-header-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-avatar-wrap {
    position: absolute;
    bottom: -40px;
    left: 24px;
}

.profil-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary, #fff);
    background: var(--gray-200, #e5e7eb);
    overflow: hidden;
}

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

.profil-info {
    padding: 52px 24px 0;
}

.profil-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #111);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profil-name [data-lucide] {
    width: 18px;
    height: 18px;
    color: var(--primary, #FF385C);
}

.profil-username {
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 8px;
}

.profil-bio {
    font-size: 14px;
    color: var(--text-primary, #111);
    line-height: 1.5;
    margin-bottom: 12px;
}

.profil-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.profil-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
}

.profil-stat:hover {
    color: var(--text-primary, #111);
}

.profil-stat strong {
    color: var(--text-primary, #111);
    font-weight: 600;
}

.profil-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

/* ===============================================================
   TABS
   =============================================================== */
.social-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    margin-bottom: 24px;
}

.social-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #6b7280);
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Outfit', sans-serif;
}

.social-tab:hover {
    color: var(--text-primary, #111);
}

.social-tab.active {
    color: var(--text-primary, #111);
    border-bottom-color: var(--primary, #FF385C);
}

/* ===============================================================
   BUCKET LIST CARD
   =============================================================== */
.bucket-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--border-radius-lg, 16px);
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-primary, #fff);
    transition: all 0.15s;
    margin-bottom: 8px;
}

.bucket-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.bucket-card-image {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    background: var(--gray-200, #e5e7eb);
    overflow: hidden;
    flex-shrink: 0;
}

.bucket-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bucket-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bucket-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #111);
    margin-bottom: 4px;
}

.bucket-card-meta {
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
}

.bucket-card-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    color: var(--text-muted, #9ca3af);
    transition: all 0.15s;
    background: none;
    border: none;
    cursor: pointer;
}

.bucket-card-remove:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.bucket-card-remove [data-lucide] {
    width: 16px;
    height: 16px;
}

/* ===============================================================
   ENTDECKEN
   =============================================================== */
.entdecken-section {
    margin-bottom: 40px;
}

.entdecken-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.entdecken-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #111);
}

.entdecken-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ===============================================================
   TEILEN DIALOG
   =============================================================== */
.share-link-box {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.share-link-box input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 50px;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary, #111);
    background: var(--gray-50, #f9fafb);
}

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

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: opacity 0.15s;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.email { background: #dc2626; }

.share-btn [data-lucide] {
    width: 18px;
    height: 18px;
}

/* ===============================================================
   FLOATING ACTION BUTTON (FAB)
   =============================================================== */
.tt-fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 5000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
}

.tt-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary, #FF385C);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 56, 92, 0.35);
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tt-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(255, 56, 92, 0.45);
}

.tt-fab [data-lucide] {
    width: 24px;
    height: 24px;
}

.tt-fab-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tt-fab-container.open .tt-fab-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tt-fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #111);
    white-space: nowrap;
    transition: all 0.15s;
}

.tt-fab-item:hover {
    background: var(--gray-50, #f9fafb);
    transform: translateX(-4px);
}

.tt-fab-item [data-lucide] {
    width: 18px;
    height: 18px;
    color: var(--primary, #FF385C);
}

.tt-fab-container.open .tt-fab [data-lucide] {
    transform: rotate(45deg);
    transition: transform 0.25s;
}

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 768px) {
    .social-feed {
        padding: 16px;
    }

    .feed-card-actions {
        padding: 8px 16px 0;
    }

    .feed-card-body {
        padding: 0 16px 12px;
    }

    .profil-header-bild {
        height: 160px;
        border-radius: 0;
    }

    .profil-stats {
        gap: 16px;
    }

    .entdecken-grid {
        grid-template-columns: 1fr;
    }

    .person-card {
        padding: 12px 16px;
    }

    .tt-modal {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    .tt-modal-overlay {
        align-items: flex-end;
    }

    .tt-form-row {
        flex-direction: column;
        gap: 0;
    }

    .tt-fab-container {
        bottom: 16px;
        right: 16px;
    }
}
