:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-soft: #f2f4f7;
    --text: #172033;
    --muted: #6d778a;
    --line: #e7ebf0;
    --red: #d81927;
    --red-dark: #a40d18;
    --red-soft: #fff0f1;
    --navy: #24324b;
    --shadow: 0 1px 2px rgba(21, 34, 50, .04), 0 9px 26px rgba(21, 34, 50, .05);
    --radius: 15px;
    --sidebar: 248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
.icon { flex: 0 0 auto; }

.app-shell { min-height: 100vh; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    z-index: 30;
    padding: 17px 16px 24px;
    background: rgba(255,255,255,.88);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; color: #152036; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 13px;
    display: grid; place-items: center;
    color: #fff; font-weight: 900; font-size: 21px; letter-spacing: -2px;
    background: linear-gradient(145deg, #e11d2e, #af0d17);
    box-shadow: 0 8px 20px rgba(216,25,39,.2);
}
.brand-name { font-weight: 800; font-size: 26px; letter-spacing: -1px; }
.brand-tagline { margin: 3px 0 21px 48px; color: #7b8495; font-size:11px; }

.main-nav, .secondary-nav { display: grid; gap: 5px; }
.nav-item {
    min-height: 43px; padding: 0 14px; border-radius: 12px;
    display: flex; align-items: center; gap: 14px;
    color: #344158; font-weight: 550; transition: .18s ease;
}
.nav-item:hover { background: #f4f6f9; transform: translateX(2px); }
.nav-item.active { color: var(--red); background: linear-gradient(90deg, #fff0f1, #fdeff1); font-weight: 700; }
.nav-divider { height: 1px; background: var(--line); margin: 19px 12px 15px; }

.premium-card {
    margin: 28px 0 0; padding: 18px; border-radius: 15px;
    color: #fff; background: linear-gradient(145deg, #4a0710 0%, #7a0d17 55%, #e01a29 130%);
    box-shadow: 0 18px 38px rgba(102, 11, 22, .18);
}
.premium-crown { color: #ffd45c; font-size: 25px; }
.premium-card h3 { margin: 7px 0 8px; font-size: 17px; }
.premium-card p { margin: 0 0 14px; line-height: 1.45; color: rgba(255,255,255,.8); }
.premium-btn {
    min-height: 42px; padding: 0 13px; border-radius: 9px;
    background: #fff; color: #c00f1d; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800;
}
.sidebar-footer { margin-top: auto; padding: 24px 13px 0; display: grid; gap: 4px; color: #8b94a4; font-size: 12px; }

.main-area { margin-left: var(--sidebar); min-height: 100vh; }
.topbar {
    height: 68px; position: sticky; top: 0; z-index: 25;
    display: flex; align-items: center; justify-content: space-between; gap: 22px;
    padding: 0 22px; background: rgba(245,247,250,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(231,235,240,.72);
}
.mobile-menu { display: none; background: transparent; font-size: 23px; color: var(--navy); }
.searchbox {
    position: relative;
    width: min(460px, 47vw); height: 39px; border-radius: 999px;
    background: #edf1f5; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: #6e7a8d;
    overflow: visible;
}
.searchbox input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.searchbox input::placeholder { color: #748094; }

/* Global search dropdown ================================================= */
.global-search-suggestions {
    position: absolute;
    z-index: 90;
    top: calc(100% + 9px);
    left: 0;
    width: 100%;
    min-width: 320px;
    max-height: min(460px, 62vh);
    overflow: auto;
    padding: 7px;
    border: 1px solid rgba(35, 170, 190, .24);
    border-radius: 14px;
    background: rgba(5, 18, 25, .985);
    box-shadow: 0 22px 60px rgba(0,0,0,.5), 0 0 26px rgba(27, 210, 216, .055);
    color: #d9eef1;
    backdrop-filter: blur(18px);
}
.global-search-suggestions[hidden] { display: none !important; }
.global-search-suggestions::-webkit-scrollbar { width: 6px; }
.global-search-suggestions::-webkit-scrollbar-track { background: transparent; }
.global-search-suggestions::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(70, 155, 165, .28); }

.search-suggest-row {
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background .14s ease, border-color .14s ease;
}
.search-suggest-row:hover,
.search-suggest-row:focus-visible {
    outline: 0;
    background: rgba(23, 92, 105, .18);
}

.search-suggest-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(42, 224, 218, .25);
    border-radius: 11px;
    background: linear-gradient(145deg, #0a2933, #061a22);
    color: #27e6e0;
    font-size: 15px;
    font-weight: 850;
}
.search-suggest-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.search-suggest-symbol { line-height: 1; }

.search-suggest-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.search-suggest-copy small {
    color: #5f8f99;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.search-suggest-copy strong,
.search-suggest-copy em {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.search-suggest-copy strong {
    color: #f0fafc;
    font-size: 12px;
    font-style: normal;
}
.search-suggest-copy em {
    color: #7f9ba5;
    font-size: 10px;
    font-style: normal;
}

.search-suggest-all {
    min-height: 38px;
    margin-top: 5px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(66, 168, 175, .11);
    color: #27e6e0;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}
.search-suggest-all:hover,
.search-suggest-all:focus-visible { color: #7ff7f1; outline: 0; }

.search-suggest-empty {
    position: relative;
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 13px 14px 13px 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(9, 38, 48, .72), rgba(5, 22, 30, .52));
    color: #95aeb6;
    font-size: 11px;
    line-height: 1.35;
}
.search-suggest-empty::before {
    content: "⌕";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-52%);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(68, 196, 199, .22);
    border-radius: 8px;
    color: #76a7af;
    font-size: 18px;
}
.search-suggest-empty strong { color: #edf9fb; font-weight: 850; }
.search-suggest-empty a {
    width: fit-content;
    color: #27e6e0;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}
.search-suggest-empty a:hover,
.search-suggest-empty a:focus-visible { color: #7ff7f1; outline: 0; }

@media (max-width: 680px) {
    .global-search-suggestions {
        min-width: 0;
        width: min(420px, calc(100vw - 24px));
    }
}
.top-actions { display: flex; align-items: center; gap: 6px; }
.icon-button {
    position: relative; width: 39px; height: 39px; border-radius: 50%; background: transparent; color: #2b3850; display: grid; place-items: center; cursor: pointer;
}
.icon-button:hover { background: #edf1f5; }
.notification .badge {
    position: absolute; right: 1px; top: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font-size:11px; display: grid; place-items: center; border: 2px solid var(--bg);
}
.profile-menu { display: flex; align-items: center; gap: 9px; padding: 4px 8px; background: transparent; cursor: pointer; color: var(--text); }
.profile-menu-name { font-weight: 700; white-space: nowrap; }
.caret { color: #617086; font-size: 17px; }
.create-button {
    margin-left: 14px; min-height: 40px; padding: 0 22px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #e12834, #c30f1d); display: flex; align-items: center; gap: 8px; font-weight: 750; cursor: pointer; box-shadow: 0 8px 18px rgba(209,22,35,.17);
}

.content-grid {
    width: min(1210px, calc(100% - 34px)); margin: 0 auto; padding: 0 0 50px;
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(310px, .95fr); gap: 18px;
}
.feed-column, .right-column { min-width: 0; }
.feed-column { display: grid; gap: 14px; align-content: start; }
.right-column { display: grid; gap: 14px; align-content: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.hero-card {
    position: relative; overflow: hidden; height: 210px; margin-top: 0; border-radius: 0 0 15px 15px; color: #fff;
    background: linear-gradient(105deg, #17131a 0%, #2f1119 38%, #9e1824 100%);
    box-shadow: var(--shadow);
}
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.48), transparent 63%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .75; }
.hero-orb-one { width: 250px; height: 250px; right: 50px; top: -120px; background: radial-gradient(circle, #f25855 0 18%, #71121e 55%, transparent 70%); }
.hero-orb-two { width: 130px; height: 130px; right: 260px; top: 5px; background: radial-gradient(circle, rgba(255,101,88,.5), transparent 66%); }
.mountain { position: absolute; bottom: -6px; transform-origin: bottom; background: #120e13; clip-path: polygon(0 100%, 22% 55%, 34% 68%, 53% 18%, 70% 56%, 84% 38%, 100% 100%); }
.mountain-one { right: -10%; width: 78%; height: 76%; opacity: .76; }
.mountain-two { left: 24%; width: 75%; height: 58%; opacity: .45; transform: scaleX(-1); }
.hero-content { position: relative; z-index: 3; padding: 34px 36px; }
.hero-content h1 { margin: 0 0 7px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -1.3px; }
.hero-content p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }
.hero-button { margin-top: 17px; padding: 11px 20px; border-radius: 999px; background: #ef2534; color: #fff; font-weight: 800; cursor: pointer; }
.hero-button span { margin-left: 11px; font-size: 17px; }
.hero-card blockquote { position: absolute; z-index: 3; right: 28px; bottom: 20px; margin: 0; text-align: right; font-style: italic; line-height: 1.42; color: rgba(255,255,255,.84); }

.composer { padding: 13px 16px 10px; }
.composer-top { display: flex; align-items: center; gap: 13px; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-weight: 850; }
/* Birdly v0.7.8.2 — uploaded avatar images must never escape their avatar container. */
.avatar-has-image {
    position: relative;
    overflow: hidden;
}
.avatar-has-image > img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}
.avatar-jack { color: #5e2b1c; background: linear-gradient(145deg,#ffd0b0,#f2a97e); }
.mini-avatar { width: 32px; height: 32px; font-size:11px; }
.composer-top .avatar { width: 45px; height: 45px; font-size: 12px; }
.composer-input {
    flex: 1; height: 44px; padding: 0 18px; border-radius: 999px; background: #f3f5f8; color: #6b778b; text-align: left; cursor: text; border: 1px solid #e6eaf0;
}
.composer-actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.composer-actions button { height: 38px; border-radius: 999px; background: #f5f6f8; color: #364258; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 650; }
.composer-actions button:hover { background: #eceff3; }
.composer-actions button:nth-child(1) .icon { color: #e42b3a; }
.composer-actions button:nth-child(2) .icon { color: #7252db; }
.composer-actions button:nth-child(3) .icon { color: #17ad79; }
.composer-actions button:nth-child(4) .icon { color: #f4a315; }

.feed-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 8px; overflow: hidden; }
.feed-tabs button { height: 47px; position: relative; background: transparent; color: #5c6b80; cursor: pointer; font-weight: 650; }
.feed-tabs button.active { color: var(--red); }
.feed-tabs button.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 9px; background: var(--red); }

.post-card { overflow: hidden; padding-top: 14px; }
.post-header { padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.post-author { display: flex; align-items: center; gap: 11px; }
.avatar-travel { width: 43px; height: 43px; background: radial-gradient(circle at 35% 35%, #1a818f, #11323c 48%, #12191d); color: #d5f2f4; font-size:11px; letter-spacing: 1px; }
.author-line { display: flex; align-items: center; gap: 6px; }
.author-line strong { font-size: 15px; }
.verified { width: 15px; height: 15px; border-radius: 50%; background: #168ef0; color: #fff; display: grid; place-items: center; font-size:11px; }
.post-meta { display: block; margin-top: 3px; color: #778296; font-size: 12px; }
.post-menu { width: 38px; height: 38px; border-radius: 50%; background: transparent; color: #617087; display: grid; place-items: center; cursor: pointer; }
.post-text { padding: 8px 16px 10px; color: #27354a; line-height: 1.45; }
.post-text p { margin: 7px 0; }
.hashtags { color: #0b75d5; }

.travel-photo {
    position: relative; height: 315px; overflow: hidden; margin: 0 16px; border-radius: 11px; background: linear-gradient(180deg, #efb17b 0%, #d97e5f 19%, #897a88 42%, #5b6677 56%, #22313f 100%);
}
.travel-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, #435569, #1b2a34); clip-path: polygon(0 55%, 12% 30%, 22% 45%, 34% 13%, 47% 52%, 60% 30%, 73% 58%, 87% 27%, 100% 52%, 100% 100%, 0 100%); }
.sun { position: absolute; width: 86px; height: 86px; border-radius: 50%; right: 21%; top: 19%; background: radial-gradient(circle, #fff3cb 0 23%, #ffc77a 44%, rgba(255,156,83,.15) 68%, transparent 70%); filter: blur(.2px); }
.ridge { position: absolute; left: -3%; right: -3%; bottom: 25%; height: 44%; background: #3d4451; clip-path: polygon(0 100%, 9% 56%, 16% 70%, 27% 25%, 33% 50%, 43% 16%, 52% 64%, 61% 31%, 71% 63%, 80% 20%, 87% 48%, 95% 30%, 100% 100%); }
.ridge-back { opacity: .48; transform: translateY(-17px); }
.ridge-front { background: #1f2d38; bottom: 16%; opacity: .88; }
.lake { position: absolute; left: 29%; right: 22%; bottom: 13%; height: 14%; background: linear-gradient(180deg, rgba(206,186,166,.65), rgba(41,66,78,.75)); border-radius: 50% 50% 45% 45%; transform: skewX(-12deg); }
.traveler { position: absolute; left: 35%; bottom: 4%; width: 96px; height: 170px; border-radius: 52% 48% 12% 15%; background: linear-gradient(105deg,#0d1820,#26323a); box-shadow: -24px 55px 0 -19px #121c24, 28px 51px 0 -20px #111b22; }
.traveler::before { content: ""; position: absolute; left: 31px; top: -28px; width: 42px; height: 42px; border-radius: 50%; background: #181e23; }
.traveler i { position: absolute; width: 61px; height: 92px; border-radius: 25px; left: -29px; top: 39px; background: linear-gradient(110deg,#5f2b1e,#a7522d); border: 3px solid #2c211d; transform: rotate(7deg); }

.post-summary { margin: 0 16px; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6c7789; font-size: 12px; border-bottom: 1px solid var(--line); }
.reaction-stack { display: flex; align-items: center; }
.reaction-stack i { width: 21px; height: 21px; margin-right: -4px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; }
.reaction-stack i:nth-child(1) { background: #ed2638; }
.reaction-stack i:nth-child(2) { background: #268af0; }
.reaction-stack i:nth-child(3) { background: #f3b11f; }
.reaction-stack span { margin-left: 9px; }
.post-actions { display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px 11px 7px; }
.post-actions button { height: 39px; border-radius: 8px; background: transparent; color: #536178; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
.post-actions button:hover, .post-actions button.liked { background: #f5f6f8; color: var(--red); }

.profile-card { margin-top: 0; overflow: hidden; position: relative; }
.profile-cover { height: 118px; position: relative; overflow: hidden; background: linear-gradient(180deg,#8a7f86 0,#5b5861 45%,#27303a 100%); }
.cover-sun { position: absolute; right: 38px; top: 15px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle,#ffe5bc 0 19%,rgba(255,195,125,.48) 35%,transparent 69%); }
.cover-mountain { position: absolute; left: -10%; bottom: 0; width: 120%; height: 76%; background: #28303a; clip-path: polygon(0 100%, 12% 52%, 23% 70%, 38% 18%, 50% 58%, 65% 30%, 79% 65%, 92% 37%, 100% 100%); opacity: .83; }
.cover-mountain.two { transform: translateY(20px) scaleX(-1); background: #111a21; opacity: .65; }
.profile-avatar { position: absolute; z-index: 2; left: 50%; top: 80px; transform: translateX(-50%); width: 76px; height: 76px; border: 4px solid #fff; font-size: 17px; box-shadow: 0 8px 18px rgba(31,38,50,.1); }
.online-dot { position: absolute; z-index: 3; top: 135px; left: calc(50% + 25px); width: 15px; height: 15px; border-radius: 50%; border: 3px solid #fff; background: #15be7d; }
.profile-body { padding: 45px 16px 13px; text-align: center; }
.profile-body h2 { margin: 0; font-size: 19px; }
.username { margin: 4px 0 16px; color: #6e798d; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.profile-stats div { padding: 3px 5px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.profile-stats div:last-child { border-right: 0; }
.profile-stats strong { font-size: 15px; }
.profile-stats span { font-size: 11px; color: #748094; }
.edit-profile { width: 100%; height: 36px; margin-top: 13px; border-radius: 8px; background: #f1f3f6; color: #334158; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; cursor: pointer; }

.suggestions, .events { overflow: hidden; }
.section-header { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.section-header h3 { margin: 0; font-size: 14px; }
.section-header a { color: var(--red); font-size: 11px; font-weight: 650; }
.suggestion-list { padding: 5px 14px 8px; }
.suggestion-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px 0; }
.person-avatar { width: 42px; height: 42px; font-size:11px; color: #fff; }
.person-avatar.rose { background: linear-gradient(145deg,#6e2537,#e68f95); }
.person-avatar.slate { background: linear-gradient(145deg,#1f3347,#617a90); }
.person-avatar.amber { background: linear-gradient(145deg,#8a4d20,#e0a25f); }
.suggestion-info { min-width: 0; display: grid; gap: 2px; }
.suggestion-info strong { font-size: 13px; }
.suggestion-info span { font-size: 11px; color: #6f7b8d; }
.suggestion-info small { color: #8791a2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-btn { min-width: 72px; height: 32px; padding: 0 10px; border-radius: 7px; color: var(--red); background: #fff; border: 1px solid #ff4050; cursor: pointer; font-weight: 700; font-size: 11px; }
.follow-btn.following { background: var(--red); color: #fff; }

.event-list { padding: 5px 14px 9px; }
.event-row { display: grid; grid-template-columns: 50px minmax(0,1fr) 52px; gap: 10px; align-items: center; padding: 8px 0; }
.event-date { width: 47px; height: 48px; border-radius: 8px; overflow: hidden; background: #f0f2f5; display: grid; place-items: center; align-content: center; position: relative; }
.event-date::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: #dd2330; }
.event-date strong { padding-top: 5px; font-size: 18px; line-height: 1; }
.event-date span { font-size:11px; font-weight: 800; color: #657185; }
.event-info { min-width: 0; display: grid; gap: 3px; }
.event-info strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-info span { display: flex; align-items: center; gap: 2px; color: #6d798d; font-size:11px; }
.event-info small { color: #8490a1; }
.event-thumb { width: 48px; height: 43px; border-radius: 7px; background: linear-gradient(165deg,#3f7788,#182a38 60%,#b16e42); position: relative; overflow: hidden; }
.event-row:nth-child(2) .event-thumb { background: radial-gradient(circle at 65% 40%,#b0b5b9 0 10%,transparent 11%), linear-gradient(145deg,#1e2228,#474c53); }
.event-row:nth-child(3) .event-thumb { background: linear-gradient(160deg,#b4c9d7,#617b8d 47%,#263a47); }

.composer-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.composer-modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,16,28,.5); backdrop-filter: blur(3px); }
.modal-card { position: relative; z-index: 2; width: min(520px, calc(100% - 28px)); margin: 12vh auto 0; border-radius: 16px; background: #fff; box-shadow: 0 25px 80px rgba(5,11,20,.23); overflow: hidden; }
.modal-card header { height: 55px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); position: relative; }
.modal-card header h2 { margin: 0; font-size: 18px; }
.modal-card header button { position: absolute; right: 13px; width: 35px; height: 35px; border-radius: 50%; background: #eef1f4; font-size: 22px; cursor: pointer; }
.modal-user { display: flex; align-items: center; gap: 10px; padding: 14px 16px 0; }
.modal-user .avatar { width: 40px; height: 40px; font-size:11px; }
.modal-user div { display: grid; gap: 2px; }
.modal-user span { font-size: 11px; color: #7d8798; }
.modal-card textarea { width: 100%; min-height: 160px; resize: vertical; border: 0; outline: 0; padding: 16px; font-size: 19px; color: var(--text); }
.modal-card textarea::placeholder { color: #9aa2b1; }
.modal-footer { margin: 0 16px 16px; min-height: 58px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 10px 9px 14px; font-weight: 650; }
.publish-btn { height: 38px; padding: 0 17px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; cursor: pointer; }

@media (max-width: 1120px) {
    :root { --sidebar: 210px; }
    .content-grid { grid-template-columns: minmax(0,1fr) 310px; width: calc(100% - 24px); }
    .profile-menu-name { display: none; }
    .create-button { padding: 0 15px; }
    .composer-actions button span { display: none; }
}

@media (max-width: 900px) {
    :root { --sidebar: 0px; }
    .sidebar { transform: translateX(-105%); width: 250px; transition: .22s ease; box-shadow: 20px 0 50px rgba(24,31,44,.13); }
    .sidebar.open { transform: translateX(0); }
    .main-area { margin-left: 0; }
    .mobile-menu { display: block; }
    .content-grid { grid-template-columns: 1fr; max-width: 760px; }
    .right-column { grid-template-columns: 1fr 1fr; }
    .profile-card { grid-row: span 2; }
    .hero-card { border-radius: 15px; margin-top: 10px; }
}

@media (max-width: 680px) {
    .topbar { height: 60px; padding: 0 10px; gap: 8px; }
    .searchbox { width: auto; flex: 1; }
    .top-actions .icon-button:nth-of-type(1) { display: none; }
    .profile-menu { display: none; }
    .create-button { width: 39px; height: 39px; min-height: 39px; padding: 0; justify-content: center; font-size: 0; }
    .content-grid { width: calc(100% - 16px); gap: 10px; padding-bottom: 20px; }
    .hero-card { height: 190px; }
    .hero-content { padding: 27px 23px; }
    .hero-content p br { display: none; }
    .hero-card blockquote { display: none; }
    .composer-actions { grid-template-columns: repeat(5, 1fr); }
    .composer-actions button { padding: 0; }
    .feed-tabs button span { display: none; }
    .post-text { font-size: 13px; }
    .travel-photo { height: 245px; margin: 0 10px; }
    .post-actions button span { display: none; }
    .right-column { grid-template-columns: 1fr; }
    .profile-card { grid-row: auto; }
    .suggestion-info small { display: none; }
    .section-header a { display: none; }
}

/* =========================================================
   AUTH / SESSION
========================================================= */
.logout-form { margin: 0; }
.logout-button {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
}
.logout-symbol {
    width: 21px;
    font-size: 20px;
    line-height: 1;
    color: #6e7a8d;
    display: inline-grid;
    place-items: center;
}
.dashboard-alert {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #b8ead3;
    border-radius: 12px;
    background: #effbf6;
    color: #167451;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 10%, rgba(219, 27, 42, .08), transparent 25%),
        radial-gradient(circle at 90% 90%, rgba(23, 32, 51, .07), transparent 28%),
        #f5f7fa;
}
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, .92fr) minmax(430px, 1.08fr);
}
.auth-brand-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 38px 48px;
    color: #fff;
    background:
        linear-gradient(150deg, rgba(17, 17, 25, .93), rgba(88, 8, 20, .90) 56%, rgba(210, 23, 37, .88)),
        #3e0811;
}
.auth-brand-panel::before,
.auth-brand-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.auth-brand-panel::before {
    width: 560px;
    height: 560px;
    right: -250px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 110, .3), rgba(255, 106, 110, 0) 70%);
}
.auth-brand-panel::after {
    left: -8%;
    right: -8%;
    bottom: -15px;
    height: 37%;
    background: rgba(10, 12, 18, .42);
    clip-path: polygon(0 100%, 0 72%, 12% 50%, 22% 69%, 36% 22%, 49% 62%, 60% 33%, 72% 70%, 84% 37%, 100% 66%, 100% 100%);
}
.auth-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -1px;
}
.auth-brand .brand-mark {
    background: #fff;
    color: var(--red);
    box-shadow: none;
}
.auth-brand-copy {
    position: relative;
    z-index: 2;
    width: min(540px, 100%);
    margin-top: 20vh;
}
.auth-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffb2b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}
.auth-brand-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 67px);
    line-height: .98;
    letter-spacing: -3px;
}
.auth-brand-copy p {
    max-width: 470px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 16px;
    line-height: 1.7;
}
.auth-visual {
    position: absolute;
    z-index: 2;
    right: 45px;
    bottom: 45px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.auth-visual span {
    display: block;
    width: 7px;
    border-radius: 99px;
    background: rgba(255,255,255,.75);
}
.auth-visual span:nth-child(1) { height: 22px; }
.auth-visual span:nth-child(2) { height: 37px; background: #ff5a65; }
.auth-visual span:nth-child(3) { height: 15px; }
.auth-card {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 42px;
}
.auth-card-inner {
    width: min(460px, 100%);
    padding: 38px 40px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 30px 80px rgba(27, 36, 52, .10);
}
.auth-heading { margin-bottom: 26px; }
.auth-heading h2 {
    margin: 0;
    font-size: 31px;
    letter-spacing: -1px;
}
.auth-heading p {
    margin: 9px 0 0;
    color: var(--muted);
    line-height: 1.55;
}
.mobile-auth-logo { display: none; }
.auth-form { display: grid; gap: 17px; }
.auth-form label { display: grid; gap: 7px; }
.auth-form label > span {
    color: #364258;
    font-size: 12px;
    font-weight: 800;
}
.auth-form label small {
    color: #8b94a4;
    font-size: 11px;
    line-height: 1.45;
}
.auth-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #dfe4ea;
    border-radius: 11px;
    outline: 0;
    padding: 0 14px;
    background: #fff;
    color: var(--text);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.auth-form input:focus {
    border-color: #e22d3b;
    box-shadow: 0 0 0 4px rgba(216, 25, 39, .08);
}
.input-prefix,
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}
.input-prefix b {
    position: absolute;
    z-index: 2;
    left: 14px;
    color: #8791a2;
    font-size: 15px;
}
.input-prefix input { padding-left: 34px; }
.password-field input { padding-right: 72px; }
.password-field button {
    position: absolute;
    right: 7px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f2f4f7;
    color: #536178;
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
}
.auth-submit {
    height: 49px;
    margin-top: 4px;
    border-radius: 11px;
    background: linear-gradient(135deg, #df2030, #b80c19);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 850;
    box-shadow: 0 12px 24px rgba(204, 19, 32, .18);
}
.auth-submit:hover { filter: brightness(1.03); }
.auth-submit span { font-size: 18px; }
.auth-switch {
    margin: 22px 0 0;
    text-align: center;
    color: #7a8495;
    font-size: 13px;
}
.auth-switch a { color: var(--red); font-weight: 800; }
.form-alert {
    margin: 0 0 19px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
}
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 4px; }
.form-alert.error {
    border: 1px solid #ffc9ce;
    background: #fff2f3;
    color: #a70f1c;
}

@media (max-width: 860px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-card { min-height: 100vh; padding: 24px; }
    .mobile-auth-logo {
        width: 44px;
        height: 44px;
        margin-bottom: 22px;
        border-radius: 13px;
        background: linear-gradient(145deg, #e11d2e, #af0d17);
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 22px;
        font-weight: 900;
        letter-spacing: -2px;
    }
}

@media (max-width: 520px) {
    .auth-card { padding: 14px; }
    .auth-card-inner { padding: 28px 22px; border-radius: 18px; }
    .auth-heading h2 { font-size: 27px; }
}
.form-alert.success {
    border: 1px solid #bfe8d0;
    background: #effbf4;
    color: #17653d;
}


/* Dark browser scrollbar matching Birdly. */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(77, 128, 145, .34) #071015;
}
html::-webkit-scrollbar { width: 8px; height: 8px; }
html::-webkit-scrollbar-track { background: #071015; }
html::-webkit-scrollbar-thumb { background: rgba(77, 128, 145, .34); border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(43, 231, 213, .38); }


/* Birdly v0.5.0 — accessibility / interaction baseline */
.notification-item-form { margin: 0; }
.notification-item-form .notification-item {
    width: 100%;
    border: 0;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
:where(a,button,input,select,textarea):focus-visible {
    outline: 2px solid #26e0df;
    outline-offset: 2px;
}

/* =========================================================
   BIRDLY v0.7.9.9 — SHARE MODAL FIX
   Własny modal udostępniania działający także w osadzonych
   przeglądarkach, bez zależności od Web Share / Clipboard API.
========================================================= */
body.share-modal-open { overflow: hidden; }

.birdly-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    place-items: center;
    padding: 22px;
}
.birdly-share-modal.open { display: grid; }
.birdly-share-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(1, 5, 13, .78);
    backdrop-filter: blur(9px);
    cursor: default;
}
.birdly-share-card {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    padding: 26px;
    border: 1px solid rgba(34, 220, 255, .18);
    border-radius: 22px;
    color: #edf5ff;
    background:
        radial-gradient(circle at 100% 0%, rgba(110, 91, 255, .12), transparent 31%),
        linear-gradient(180deg, rgba(9, 20, 37, .985), rgba(5, 13, 26, .985));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .52), 0 0 34px rgba(34, 220, 255, .08);
}
.birdly-share-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.birdly-share-kicker {
    display: block;
    margin-bottom: 5px;
    color: #22dcff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .18em;
}
.birdly-share-head h2 {
    margin: 0;
    color: #f5f9ff;
    font-size: 24px;
    letter-spacing: -.7px;
}
.birdly-share-close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(104, 139, 184, .15);
    border-radius: 11px;
    background: rgba(13, 29, 49, .84);
    color: #91a6c3;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}
.birdly-share-close:hover {
    color: #fff;
    border-color: rgba(34, 220, 255, .30);
    background: rgba(17, 38, 64, .96);
}
.birdly-share-copy {
    margin: 12px 0 20px;
    color: #91a3bc;
    font-size: 13px;
    line-height: 1.55;
}
.birdly-share-field {
    display: grid;
    gap: 8px;
}
.birdly-share-field > span {
    color: #c7d3e5;
    font-size: 11px;
    font-weight: 800;
}
.birdly-share-field input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(34, 220, 255, .18);
    border-radius: 12px;
    outline: 0;
    background: rgba(4, 13, 26, .82);
    color: #dceaff;
    font: inherit;
    font-size: 13px;
    box-shadow: inset 0 1px 9px rgba(0, 0, 0, .22);
}
.birdly-share-field input:focus {
    border-color: rgba(34, 220, 255, .46);
    box-shadow: 0 0 0 3px rgba(34, 220, 255, .07), inset 0 1px 9px rgba(0, 0, 0, .22);
}
.birdly-share-status {
    min-height: 19px;
    margin: 10px 0 0;
    color: #7890ae;
    font-size: 11px;
    line-height: 1.5;
}
.birdly-share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}
.birdly-share-actions button,
.birdly-share-actions a {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, filter .16s ease;
}
.birdly-share-actions button:hover,
.birdly-share-actions a:hover { transform: translateY(-1px); }
.birdly-share-copy-btn {
    border: 0;
    background: linear-gradient(135deg, #22dcff, #4ca5ff 56%, #6e5bff);
    color: #03101c;
    box-shadow: 0 10px 24px rgba(34, 220, 255, .13);
}
.birdly-share-copy-btn:hover { filter: brightness(1.04); }
.birdly-share-copy-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.birdly-share-open-btn,
.birdly-share-system-btn {
    border: 1px solid rgba(95, 127, 170, .20);
    background: rgba(13, 28, 48, .86);
    color: #d7e4f5;
}
.birdly-share-open-btn:hover,
.birdly-share-system-btn:hover {
    border-color: rgba(34, 220, 255, .29);
    background: rgba(18, 37, 62, .96);
}
.birdly-share-system-btn {
    grid-column: 1 / -1;
}
.birdly-share-help {
    display: block;
    margin-top: 14px;
    color: #697d99;
    font-size: 10px;
    line-height: 1.55;
}

/* Toast dla interakcji, w tym potwierdzenia kopiowania linku. */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10100;
    max-width: min(420px, calc(100vw - 28px));
    padding: 11px 15px;
    border: 1px solid rgba(34, 220, 255, .18);
    border-radius: 11px;
    background: rgba(7, 17, 31, .96);
    color: #eaf3ff;
    box-shadow: 0 16px 46px rgba(0, 0, 0, .38);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .18s ease, transform .18s ease;
    font-size: 12px;
    font-weight: 750;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
.toast.error {
    border-color: rgba(255, 92, 114, .34);
    color: #ffc4cc;
}

@media (max-width: 560px) {
    .birdly-share-modal {
        align-items: end;
        padding: 12px;
    }
    .birdly-share-card {
        width: 100%;
        padding: 22px 18px 20px;
        border-radius: 20px;
    }
    .birdly-share-actions { grid-template-columns: 1fr; }
    .birdly-share-system-btn { grid-column: auto; }
    .birdly-share-field input { font-size: 12px; }
}

/* =========================================================
   BIRDLY v0.7.10 — SHARE TO FEED
   Udostępnianie posta na własnej tablicy z własnym tekstem.
========================================================= */
.birdly-share-card {
    width: min(940px, calc(100vw - 34px));
    max-height: min(860px, calc(100vh - 34px));
    overflow: auto;
    padding: 0;
    border-radius: 24px;
}
.birdly-share-head {
    position: sticky;
    top: 0;
    z-index: 6;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(73, 115, 170, .16);
    background: rgba(8, 18, 34, .96);
    backdrop-filter: blur(18px);
}
.birdly-share-head > div { min-width: 0; }
.birdly-share-head p {
    margin: 6px 0 0;
    color: #8fa2bf;
    font-size: 12px;
    line-height: 1.5;
}
.birdly-share-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: 0;
}
.birdly-share-compose,
.birdly-share-original-column {
    min-width: 0;
    padding: 22px 24px 24px;
}
.birdly-share-original-column {
    border-left: 1px solid rgba(73, 115, 170, .14);
    background: rgba(5, 13, 25, .40);
}
.birdly-share-section-title {
    display: block;
    margin-bottom: 10px;
    color: #cbd8ea;
    font-size: 12px;
    font-weight: 850;
}
.birdly-share-comment {
    position: relative;
    display: block;
}
.birdly-share-comment > span {
    display: block;
    margin-bottom: 8px;
    color: #cbd8ea;
    font-size: 12px;
    font-weight: 850;
}
.birdly-share-comment textarea {
    width: 100%;
    min-height: 138px;
    resize: vertical;
    padding: 14px 16px 30px;
    border: 1px solid rgba(69, 126, 183, .26);
    border-radius: 15px;
    outline: 0;
    background: rgba(5, 15, 29, .88);
    color: #edf5ff;
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
    caret-color: #22dcff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.birdly-share-comment textarea::placeholder { color: #7185a3; }
.birdly-share-comment textarea:focus {
    border-color: rgba(34, 220, 255, .42);
    box-shadow: 0 0 0 3px rgba(34, 220, 255, .06), 0 0 26px rgba(34, 220, 255, .05);
}
.birdly-share-comment small {
    position: absolute;
    right: 11px;
    bottom: 9px;
    color: #6f84a2;
    font-size: 10px;
}
.birdly-share-feed-preview-wrap { margin-top: 18px; }
.birdly-share-feed-preview {
    padding: 13px;
    border: 1px solid rgba(70, 114, 166, .19);
    border-radius: 16px;
    background: rgba(7, 17, 31, .66);
}
.birdly-share-caption-preview {
    margin: 0 0 12px;
    padding: 0 2px;
    color: #eef5ff;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}
.birdly-share-publish {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22dcff 0%, #2aaef5 50%, #8e44ff 100%);
    color: #03101c;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(34, 220, 255, .14), 0 0 28px rgba(110, 91, 255, .08);
    transition: transform .16s ease, filter .16s ease, opacity .16s ease;
}
.birdly-share-publish:hover { transform: translateY(-1px); filter: brightness(1.04); }
.birdly-share-publish:disabled { opacity: .65; cursor: wait; transform: none; }
.birdly-share-original-preview,
.birdly-share-feed-preview [data-share-feed-preview] {
    min-width: 0;
}
.birdly-share-post-clone {
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(67, 111, 162, .20) !important;
    border-radius: 15px !important;
    background: rgba(8, 20, 37, .74) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.birdly-share-post-clone .post-header { margin-bottom: 10px !important; }
.birdly-share-post-clone .post-author { gap: 9px !important; }
.birdly-share-post-clone .avatar,
.birdly-share-post-clone .avatar-travel {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
}
.birdly-share-post-clone .author-line strong { font-size: 13px !important; }
.birdly-share-post-clone .post-meta { font-size: 10px !important; }
.birdly-share-post-clone .post-text,
.birdly-share-post-clone .real-post-text {
    margin: 8px 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}
.birdly-share-post-clone .post-media-gallery { margin-top: 10px !important; }
.birdly-share-post-clone .post-media-item { max-height: 230px !important; }
.birdly-share-post-clone .post-media-item img,
.birdly-share-post-clone .post-uploaded-video {
    width: 100% !important;
    max-height: 230px !important;
    object-fit: cover !important;
}
.birdly-share-post-clone .post-poll {
    margin-top: 10px !important;
    padding: 12px !important;
}
.birdly-share-post-clone .post-poll h3 { font-size: 13px !important; }
.birdly-share-post-clone .post-poll-options { gap: 5px !important; }
.birdly-share-post-clone .poll-vote-button { min-height: 36px !important; }
.birdly-share-link-tools {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(76, 116, 163, .14);
}
.birdly-share-link-tools button,
.birdly-share-link-tools a {
    min-height: 43px;
    padding: 0 12px;
    border: 1px solid rgba(68, 112, 163, .18);
    border-radius: 11px;
    display: flex;
    align-items: center;
    color: #cbd9ec;
    background: rgba(11, 26, 45, .72);
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
}
.birdly-share-link-tools button:hover,
.birdly-share-link-tools a:hover {
    border-color: rgba(34, 220, 255, .28);
    background: rgba(16, 35, 58, .90);
}
.birdly-share-link-field {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}
.birdly-share-link-field span {
    color: #7085a3;
    font-size: 10px;
    font-weight: 750;
}
.birdly-share-link-field input {
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 1px solid rgba(64, 104, 151, .18);
    border-radius: 10px;
    outline: 0;
    background: rgba(4, 12, 24, .78);
    color: #7990af;
    font-size: 10px;
}

/* Shared post embedded in the regular feed/profile. */
.shared-post-card {
    position: relative;
    margin: 12px 0 4px;
    padding: 14px;
    border: 1px solid rgba(55, 206, 255, .16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(8, 24, 42, .72), rgba(5, 16, 29, .78));
    overflow: hidden;
}
.shared-post-author {
    display: inline-flex;
    padding-right: 58px;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}
.shared-post-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.shared-post-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shared-post-author span { display: grid; gap: 1px; }
.shared-post-author strong { color: #eef5ff; font-size: 13px; }
.shared-post-author small { color: #7f94b0; font-size: 10px; }
.shared-post-text {
    margin-top: 11px;
    color: #dce8f8;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}
.shared-post-context {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}
.shared-post-context span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid rgba(34, 220, 255, .14);
    border-radius: 999px;
    color: #85dff2;
    background: rgba(8, 35, 48, .54);
    font-size: 10px;
}
.shared-post-card .post-media-gallery { margin-top: 11px; }
.shared-post-card .post-media-item { max-height: 360px; }
.shared-post-card .post-media-item img,
.shared-post-card .post-uploaded-video { max-height: 360px; object-fit: cover; }
.shared-post-poll {
    display: grid;
    gap: 7px;
    margin-top: 11px;
    padding: 11px;
    border: 1px solid rgba(34, 220, 255, .12);
    border-radius: 12px;
    background: rgba(4, 24, 32, .52);
}
.shared-post-poll > strong { color: #eef5ff; font-size: 12px; }
.shared-post-poll-option {
    position: relative;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(34, 220, 255, .13);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    color: #cdd9e9;
    font-size: 11px;
}
.shared-post-poll-progress {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    background: rgba(34, 220, 255, .13);
}
.shared-post-poll-option > span:not(.shared-post-poll-progress),
.shared-post-poll-option > b { position: relative; z-index: 1; }
.shared-post-poll-option > b { color: #22dcff; }
.shared-post-poll small { color: #7086a3; font-size: 10px; }
.shared-post-open {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #8fa9c4;
    text-decoration: none;
    background: transparent;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.shared-post-open::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(96, 135, 176, .18);
}
.shared-post-open:hover {
    color: #22dcff;
    background: rgba(34, 220, 255, .08);
    transform: translateY(-1px);
}
.shared-post-open:focus-visible {
    outline: 2px solid rgba(34, 220, 255, .7);
    outline-offset: 2px;
    color: #22dcff;
}
.shared-post-unavailable { display: grid; gap: 5px; }
.shared-post-unavailable strong { color: #dce8f8; }
.shared-post-unavailable span { color: #7d91ad; font-size: 11px; }

@media (max-width: 760px) {
    .birdly-share-modal { align-items: end; padding: 8px; }
    .birdly-share-card {
        width: 100%;
        max-height: calc(100vh - 12px);
        border-radius: 22px 22px 14px 14px;
    }
    .birdly-share-layout { grid-template-columns: 1fr; }
    .birdly-share-original-column {
        border-left: 0;
        border-top: 1px solid rgba(73, 115, 170, .14);
    }
    .birdly-share-head,
    .birdly-share-compose,
    .birdly-share-original-column { padding-left: 16px; padding-right: 16px; }
}


/* Birdly v0.7.11.9 — legacy text abuse render containment. */
.post-text,
.shared-post-text,
.comment-bubble p,
.instagram-caption,
.instagram-comment-text,
.listing-description > div {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.post-text,
.shared-post-text,
.comment-bubble,
.instagram-caption,
.instagram-comment-text {
    overflow: hidden;
}
