
:root {
    --app-bg: #f7f3ee;
    --body-grad-start: #fff9f6;
    --body-grad-end: #f4efe8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-soft: rgba(255, 248, 243, 0.88);
    --line: rgba(128, 94, 73, 0.14);
    --line-strong: rgba(128, 94, 73, 0.24);
    --text-main: #24120d;
    --text-muted: #7b6258;
    --accent: #dc5b4d;
    --accent-deep: #a83a2f;
    --accent-soft: #fff0eb;
    --accent-alt: #ffb454;
    --shadow-soft: 0 18px 50px rgba(111, 70, 53, 0.12);
    --shadow-card: 0 12px 34px rgba(111, 70, 53, 0.1);
}

:root[data-theme="dark"] {
    --app-bg: #11181d;
    --body-grad-start: #172028;
    --body-grad-end: #0d1418;
    --surface: rgba(18, 25, 31, 0.82);
    --surface-strong: #162027;
    --surface-soft: rgba(25, 33, 40, 0.88);
    --line: rgba(149, 175, 193, 0.16);
    --line-strong: rgba(149, 175, 193, 0.28);
    --text-main: #eff5f8;
    --text-muted: #aab8c2;
    --accent: #ff8358;
    --accent-deep: #ffbf8a;
    --accent-soft: rgba(255, 131, 88, 0.16);
    --accent-alt: #ffd16a;
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 16px 44px rgba(0, 0, 0, 0.22);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 191, 138, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(220, 91, 77, 0.12), transparent 26%),
        linear-gradient(180deg, var(--body-grad-start) 0%, var(--app-bg) 44%, var(--body-grad-end) 100%);
    color: var(--text-main);
    font-family: "Poppins", "Nunito", sans-serif;
    transition: background 0.35s ease, color 0.35s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    text-overflow: ellipsis;
}

img {
    max-width: 100%;
}

textarea {
    resize: none;
    overflow: auto;
}

nav {
    z-index: 1000;
}

hr {
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: 0.25;
}

.search {
    background-color: #eaebf0;
    outline: none;
    border: none;
}

.border_radius {
    border-radius: 18px;
}

.width,
.width2 {
    width: 15%;
}

.outline {
    outline: none;
}

.white {
    background-color: #fff;
}

.grey {
    color: #383838;
}

.dark_grey {
    background-color: #ced0d6;
}

.color {
    background-color: #1f79ff;
}

.blue {
    transition: 0.3s;
}

.blue:hover {
    color: #1f79ff;
    cursor: pointer;
}

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

.button_post {
    transition: 0.3s;
    color: white;
}

.button_post:hover {
    box-shadow: rgb(136, 135, 135) 0 2px 5px 0;
}

.button_save {
    transition: 0.3s;
    background-color: white;
}

.button_save:hover {
    background-color: #1f79ff;
    color: white;
    border: #1f79ff 2px solid;
}

.search_icon {
    top: 12px;
    color: rgb(128, 127, 127);
}

.width30 {
    width: 35%;
}

.icon {
    color: black;
    background-color: #eaebf0;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.heart,
.heart:hover {
    color: #f44747;
}

.comment {
    color: #e8e8e9;
    text-shadow: 0 0 1px black;
}

i {
    transition: 0.3s;
}

i:hover {
    cursor: pointer;
}

.max_height {
    max-height: 560px;
}

.secondary {
    color: #6c757d;
}

.secondary:hover {
    color: #0d6efd;
    cursor: pointer;
}

.trash {
    right: 20px;
}

.trash2 {
    right: 50px;
}

.fff {
    color: rgba(0, 0, 0, 0.9);
    line-height: 1.7;
}

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

.app-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.app-section-heading h2,
.app-section-heading h3 {
    margin-bottom: 4px;
    font-size: 1.15rem;
    font-weight: 700;
}

.app-muted-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.section-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(220, 91, 77, 0.1);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-button,
.brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-button {
    border: none;
    background: transparent;
    color: inherit;
    padding: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, #ffbf8a 0%, #ff8358 48%, #dc5b4d 100%);
    box-shadow: 0 12px 22px rgba(220, 91, 77, 0.28);
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
}

.brand-mark.small {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    font-size: 1.12rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.brand-tag {
    color: var(--text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 7px;
}

.rohaina-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
}

.rohaina-nav-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-search-shell {
    width: min(100%, 360px);
    border-radius: 18px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-search-shell .MuiInputBase-root {
    color: var(--text-main);
    background: transparent;
}

.nav-search-shell .MuiInputBase-input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.nav-search-shell .MuiSvgIcon-root {
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon-btn {
    width: 46px;
    height: 46px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: var(--surface-strong);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(111, 70, 53, 0.08);
}

.nav-icon-btn:hover,
.nav-icon-btn.active {
    color: white;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a4b 100%);
    border-color: rgba(220, 91, 77, 0.18);
}

.nav-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 7px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--text-main);
    box-shadow: 0 8px 18px rgba(111, 70, 53, 0.08);
}

.nav-profile-chip img {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    object-fit: cover;
}

.nav-user-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-unread-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 200px;
}

.nav-unread-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.profile-presence-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(36, 18, 13, 0.06);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.profile-presence-chip.online {
    background: rgba(34, 197, 94, 0.12);
    color: #13803c;
}

.profile-handle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feed-page {
    min-height: 100vh;
    padding-bottom: 64px;
}

.feed-shell {
    padding-top: 126px;
}

.feed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(290px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.feed-main-column,
.feed-side-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.feed-hero-card {
    padding: 28px;
    overflow: hidden;
    position: relative;
}

.feed-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 180, 84, 0.4) 0%, rgba(255, 180, 84, 0) 70%);
    animation: bubbleFloat 8s ease-in-out infinite alternate;
}

.feed-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.feed-hero-title {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
}

.feed-hero-copy {
    max-width: 560px;
    color: var(--text-muted);
    line-height: 1.75;
}

.feed-hero-stats {
    display: grid;
    gap: 14px;
}

.feed-stat {
    padding: 18px 20px;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.feed-stat strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
}

.feed-stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stories-card {
    padding: 22px;
}

.story-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.story-row::-webkit-scrollbar {
    height: 6px;
}

.story-row::-webkit-scrollbar-thumb {
    background: rgba(123, 98, 88, 0.24);
    border-radius: 999px;
}

.story-button {
    min-width: 104px;
    border: none;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.story-ring {
    width: 82px;
    height: 82px;
    padding: 3px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffb454 0%, #ff8358 45%, #dc5b4d 100%);
    box-shadow: 0 14px 20px rgba(220, 91, 77, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-button:hover .story-ring {
    transform: translateY(-4px);
    box-shadow: 0 18px 28px rgba(220, 91, 77, 0.22);
}

.story-button.seen .story-ring {
    background: linear-gradient(135deg, #d5cec9 0%, #baa9a0 100%);
    box-shadow: none;
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
    border: 3px solid #fff7f2;
}

.story-ring.story-ring-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff4ec 0%, #ffe0d0 100%);
}

.story-add-plus {
    color: var(--accent-deep);
    font-size: 2rem;
    font-weight: 500;
}

.story-copy {
    text-align: center;
}

.story-copy strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.story-copy span {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.story-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 16, 12, 0.64);
    backdrop-filter: blur(16px);
}

.story-modal-card {
    width: min(100%, 930px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    overflow: hidden;
    border-radius: 36px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.story-modal-visual {
    min-height: 520px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.story-modal-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 16, 12, 0.06) 0%, rgba(26, 16, 12, 0.45) 100%);
    pointer-events: none;
}

.story-viewer-topbar {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.story-progress-shell {
    flex: 1;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.story-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fff 0%, #ffcf9f 100%);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
    transition: width 0.12s linear;
}

.story-viewer-close,
.story-viewer-nav-btn {
    position: relative;
    z-index: 3;
    border: none;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.42);
    color: white;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.story-viewer-close {
    width: 40px;
    height: 40px;
}

.story-viewer-nav {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.story-viewer-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.story-viewer-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.story-modal-copy {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.story-modal-copy h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.story-modal-copy p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

.story-meta-panel {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.story-meta-row {
    min-width: 100px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.story-meta-row strong {
    display: block;
    font-size: 1.2rem;
}

.story-meta-row span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.story-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.story-activity-title {
    display: block;
    margin-bottom: 10px;
}

.story-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 180px;
    overflow-y: auto;
}

.story-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.story-activity-item img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
}

.story-close-btn {
    align-self: flex-start;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(36, 18, 13, 0.08);
    color: var(--text-main);
    font-weight: 600;
}

.story-owner-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text-muted);
    line-height: 1.6;
}

.composer-card {
    padding: 24px;
}

.composer-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.composer-avatar {
    width: 58px;
    height: 58px;
    border-radius: 22px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 24px rgba(111, 70, 53, 0.16);
}

.composer-copy h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
    font-weight: 700;
}

.composer-copy p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.composer-textarea {
    width: 100%;
    min-height: 128px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px 20px;
    background: var(--surface-strong);
    color: var(--text-main);
    line-height: 1.7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.composer-textarea:focus {
    outline: none;
    border-color: rgba(220, 91, 77, 0.34);
    box-shadow: 0 0 0 4px rgba(220, 91, 77, 0.1);
}

.composer-media-preview {
    margin-top: 16px;
    padding: 14px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--line);
}

.composer-media-preview img {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    object-fit: cover;
}

.composer-media-name {
    font-size: 0.94rem;
    font-weight: 600;
}

.composer-upload-row {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.composer-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text-main);
    font-weight: 600;
}

.composer-upload-btn i {
    color: var(--accent);
}

.composer-status {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.composer-submit-btn,
.landing-btn.primary,
.auth-submit-btn {
    border: none;
    border-radius: 18px;
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a4b 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(220, 91, 77, 0.24);
}

.landing-btn.secondary {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 13px 22px;
    background: var(--surface-strong);
    color: var(--text-main);
    font-weight: 700;
}

.feed-post-card {
    padding: 24px;
}

.feed-post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.feed-post-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feed-post-author img {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    object-fit: cover;
}

.feed-post-name {
    margin-bottom: 2px;
    font-size: 1rem;
    font-weight: 700;
}

.feed-post-time {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.feed-post-delete {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text-muted);
}

.feed-post-caption {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 18px;
}

.feed-post-caption-toggle {
    border: none;
    background: transparent;
    color: var(--accent-deep);
    font-weight: 700;
    padding: 0;
}

.feed-post-image-wrap {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(128, 94, 73, 0.1);
    margin-bottom: 18px;
}

.feed-post-image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.feed-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.feed-action-meta-btn {
    border: none;
    background: transparent;
    padding: 0;
}

.feed-likes-panel {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.feed-likes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.feed-likes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feed-like-user {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 10px 12px;
    text-align: left;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.feed-like-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
}

.feed-like-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-like-copy span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.feed-post-action-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feed-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-radius: 16px;
    padding: 10px 14px;
    background: var(--surface-soft);
    color: var(--text-main);
    font-weight: 600;
}

.feed-action-btn.active {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.feed-action-meta {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.feed-comment-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.feed-comment-input {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 0 16px;
    background: var(--surface-strong);
    color: var(--text-main);
}

.feed-comment-send {
    min-width: 108px;
    border: none;
    border-radius: 16px;
    padding: 12px 16px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 700;
}

.feed-comment-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feed-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feed-comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
}

.feed-comment-body {
    flex: 1;
    padding: 12px 14px;
    border-radius: 20px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.feed-comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.feed-comment-meta strong {
    font-size: 0.92rem;
}

.feed-comment-delete {
    border: none;
    background: transparent;
    color: #d14f4f;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
}

.feed-show-more {
    border: none;
    border-radius: 16px;
    padding: 11px 16px;
    background: var(--surface-soft);
    color: var(--text-main);
    font-weight: 600;
}

.suggestions-card {
    padding: 24px;
    position: sticky;
    top: 114px;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.suggestion-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
}

.suggestion-avatar-wrap {
    width: 54px;
    height: 54px;
    padding: 2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffb454 0%, #dc5b4d 100%);
}

.suggestion-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid #fff8f4;
}

.suggestion-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.suggestion-copy strong {
    font-size: 0.94rem;
}

.suggestion-copy span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.follow-chip {
    border: none;
    border-radius: 14px;
    padding: 11px 15px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 700;
}

.mini-info-card {
    padding: 24px;
}

.mini-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.mini-info-card-item {
    border-radius: 22px;
    padding: 18px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.mini-info-card-item strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.mini-info-card-item span {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.feed-empty-card {
    padding: 28px;
    text-align: center;
}

.feed-empty-card h3 {
    font-size: 1.32rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.feed-empty-card p {
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.landing-shell,
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.landing-shell::before,
.auth-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 180, 84, 0.18), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(220, 91, 77, 0.14), transparent 24%);
    pointer-events: none;
}

.landing-grid,
.auth-card {
    position: relative;
    z-index: 1;
}

.landing-grid {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.landing-copy-card,
.auth-card {
    padding: 36px;
    border-radius: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.landing-heading {
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 0.98;
}

.landing-description {
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 560px;
}

.landing-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-preview {
    padding: 26px;
    border-radius: 34px;
    background: linear-gradient(145deg, #24120d 0%, #4f2b20 100%);
    color: white;
    box-shadow: 0 22px 70px rgba(41, 25, 19, 0.28);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.preview-top strong {
    font-size: 1.02rem;
    letter-spacing: 0.14em;
}

.preview-story-row {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.preview-story {
    flex: 1;
    min-height: 102px;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 180, 84, 0.3), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-story span {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
}

.preview-story strong {
    font-size: 0.94rem;
}

.preview-post-card {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-post-image {
    height: 310px;
    background:
        linear-gradient(160deg, rgba(255, 180, 84, 0.26), rgba(220, 91, 77, 0.24)),
        url("images/123.png");
    background-size: cover;
    background-position: center;
}

.preview-post-copy {
    padding: 18px 20px 22px;
}

.preview-post-copy strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.preview-post-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.auth-card {
    width: min(100%, 520px);
}

.auth-brand {
    margin-bottom: 18px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.auth-form-group {
    margin-bottom: 16px;
}

.auth-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--text-main);
    padding: 0 16px;
}

.auth-input:focus {
    outline: none;
    border-color: rgba(220, 91, 77, 0.34);
    box-shadow: 0 0 0 4px rgba(220, 91, 77, 0.1);
}

.auth-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.auth-footer {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.auth-link {
    color: var(--accent-deep);
    font-weight: 700;
}

.support-assistant {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.support-assistant-toggle {
    border: none;
    border-radius: 999px;
    padding: 10px 16px 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #ffb454 100%);
    color: white;
    box-shadow: 0 18px 38px rgba(220, 91, 77, 0.28);
    animation: bubbleFloat 4.6s ease-in-out infinite alternate;
}

.support-assistant-toggle-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.support-assistant-toggle-copy {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.support-assistant-toggle-copy strong {
    font-size: 0.95rem;
}

.support-assistant-toggle-copy span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.support-assistant-panel {
    width: min(380px, calc(100vw - 28px));
    padding: 18px;
}

.support-assistant-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.support-assistant-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    background: rgba(36, 18, 13, 0.06);
    color: var(--text-main);
}

.support-assistant-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 14px;
    padding-right: 4px;
}

.support-message {
    max-width: 92%;
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 0.92rem;
}

.support-message.assistant {
    align-self: flex-start;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.support-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a4b 100%);
    color: white;
}

.support-assistant-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-assistant-input {
    width: 100%;
    min-height: 84px;
    border-radius: 18px;
    border: 1px solid var(--line);
    padding: 14px 16px;
    background: var(--surface-strong);
    color: var(--text-main);
}

.support-assistant-send {
    align-self: flex-end;
    border: none;
    border-radius: 16px;
    padding: 11px 18px;
    background: rgba(220, 91, 77, 0.12);
    color: var(--accent-deep);
    font-weight: 700;
}

.support-assistant-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.support-page-shell {
    padding-top: 148px;
}

.support-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: start;
}

.support-page-sidebar,
.support-page-chat-card {
    padding: 28px;
}

.support-page-sidebar {
    position: sticky;
    top: 136px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 180, 84, 0.2), transparent 38%),
        linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.support-page-title {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.06;
    font-weight: 800;
}

.support-page-copy {
    color: var(--text-muted);
    line-height: 1.8;
}

.support-page-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0 28px;
    flex-wrap: wrap;
}

.support-page-note {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text-muted);
    line-height: 1.65;
}

.support-page-note i {
    color: var(--accent);
    margin-top: 2px;
}

.support-page-tips {
    padding: 18px;
    border-radius: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.support-page-tips strong {
    display: block;
    margin-bottom: 14px;
}

.support-page-prompt-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-page-prompt {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--surface-strong);
    color: var(--text-main);
    text-align: left;
    line-height: 1.55;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.support-page-prompt:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 91, 77, 0.24);
    background: var(--accent-soft);
}

.support-page-chat-card {
    min-height: calc(100vh - 190px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
        var(--surface);
}

.support-page-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.support-page-chat-header h2 {
    margin-bottom: 4px;
    font-size: 1.35rem;
    font-weight: 800;
}

.support-page-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.support-page-conversation {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 8px 8px 8px 0;
}

.support-page-message {
    max-width: min(80%, 680px);
    padding: 16px 18px;
    border-radius: 24px;
    line-height: 1.7;
}

.support-page-message.assistant {
    align-self: flex-start;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.support-page-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a4b 100%);
    color: white;
    box-shadow: 0 16px 26px rgba(220, 91, 77, 0.18);
}

.support-page-message p {
    margin-bottom: 0;
}

.support-page-message-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.support-page-message-thumb {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.support-page-message-role {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.82;
}

.support-page-input-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.support-page-attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.support-page-attachment {
    position: relative;
}

.support-page-attachment img {
    width: 94px;
    height: 94px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.support-page-attachment-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: #d14f4f;
    color: white;
    font-weight: 700;
}

.support-page-input {
    width: 100%;
    min-height: 106px;
    border-radius: 22px;
    border: 1px solid var(--line);
    padding: 16px 18px;
    background: var(--surface-strong);
    color: var(--text-main);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-page-input:focus {
    outline: none;
    border-color: rgba(220, 91, 77, 0.34);
    box-shadow: 0 0 0 4px rgba(220, 91, 77, 0.1);
}

.support-page-input-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.support-page-input-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.support-page-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 11px 16px;
    background: var(--surface-soft);
    color: var(--text-main);
    font-weight: 600;
}

.support-page-attach-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.support-page-input-hint {
    color: var(--text-muted);
    font-size: 0.86rem;
}

@keyframes bubbleFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-8px);
    }
}

@media screen and (max-width: 1100px) {
    .feed-layout,
    .feed-hero-grid,
    .landing-grid,
    .story-modal-card,
    .support-page-grid {
        grid-template-columns: 1fr;
    }

    .suggestions-card {
        position: static;
    }

    .support-page-sidebar {
        position: static;
    }
}

@media screen and (max-width: 786px) {
    .rohaina-nav-inner {
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-wrap: wrap;
    }

    .nav-center {
        order: 3;
        width: 100%;
        justify-content: stretch;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .nav-search-shell {
        width: 100%;
    }

    .feed-shell {
        padding-top: 146px;
    }

    .feed-hero-card,
    .stories-card,
    .composer-card,
    .feed-post-card,
    .suggestions-card,
    .mini-info-card,
    .landing-copy-card,
    .auth-card {
        padding: 22px;
        border-radius: 24px;
    }

    .story-ring {
        width: 72px;
        height: 72px;
    }

    .story-modal {
        padding: 14px;
    }

    .story-modal-visual {
        min-height: 320px;
    }

    .story-viewer-topbar {
        top: 12px;
        left: 12px;
        right: 12px;
    }

    .story-viewer-nav {
        padding: 0 12px;
    }

    .story-activity-grid {
        grid-template-columns: 1fr;
    }

    .composer-upload-row,
    .feed-post-actions,
    .landing-actions {
        align-items: stretch;
    }

    .composer-submit-btn,
    .landing-btn.primary,
    .landing-btn.secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .mini-info-grid {
        grid-template-columns: 1fr;
    }

    .feed-post-header,
    .feed-post-actions,
    .feed-comment-form,
    .suggestion-item {
        flex-direction: column;
        align-items: stretch;
    }

    .feed-post-author {
        width: 100%;
    }

    .feed-post-delete,
    .follow-chip,
    .feed-comment-send {
        width: 100%;
    }

    .nav-profile-chip {
        width: 100%;
        justify-content: center;
    }

    .support-page-sidebar,
    .support-page-chat-card {
        padding: 22px;
        border-radius: 24px;
    }

    .support-page-chat-card {
        min-height: auto;
    }

    .support-page-message {
        max-width: 100%;
    }

    .support-page-input-footer {
        align-items: stretch;
    }

    .support-page-input-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .support-page-attach-btn {
        width: 100%;
        justify-content: center;
    }

    .support-page-input-footer .support-assistant-send {
        width: 100%;
    }
}
