@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --purple: #5919e8;
    --purple-dark: #35109e;
    --ink: #11113b;
    --muted: #625c8e;
    --pale-purple: #f0eaff;
    font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }

.signup-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 20px;
    background: radial-gradient(ellipse at 12% 8%, #a047ff 0, transparent 34%), linear-gradient(135deg, #281078, #5116cf 60%, #32108d);
}
.signup-shell {
    width: min(100%, 1020px);
    min-height: 690px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 32px;
    box-shadow: 0 28px 80px #17054b66, 0 0 0 7px #c28cff55;
    background: #f9f6ff;
}
.signup-hero {
    position: relative;
    min-height: 690px;
    padding: 25px 36px 36px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(155deg, #4110b9 3%, #270a83 57%, #5111d2);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 310px; height: 310px; right: -162px; top: -100px; background: #712ef155; }
.hero-orb-two { width: 250px; height: 250px; left: -175px; bottom: -96px; border: 1px solid #b278ff44; box-shadow: 0 0 0 24px #a665ff14, 0 0 0 48px #a665ff12; }
.hero-content { position: relative; z-index: 1; }
.brand-lockup { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.signup-hero .brand-lockup { margin-top: 42px; }
.brand-mark { width: 64px; height: 64px; display: grid; place-items: center; flex: 0 0 auto; color: white; }
.brand-mark svg { width: 100%; filter: drop-shadow(0 5px 12px #16004c44); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 32px; letter-spacing: -.8px; }
.brand-copy small { margin-top: 5px; font-size: 12px; font-weight: 500; }
.hero-message { margin-top: 57px; max-width: 380px; }
.hero-message .eyebrow { margin: 0 0 9px; color: #cfbaff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.hero-message h1 { margin: 0 0 10px; font-size: clamp(29px, 3.2vw, 39px); line-height: 1.1; letter-spacing: -1.3px; }
.hero-message > p:last-child { margin: 0; max-width: 355px; color: #e2d7ff; font-size: 16px; line-height: 1.55; }
.hero-bubble { position: absolute; display: grid; place-items: center; border-radius: 14px; color: var(--purple); background: white; box-shadow: 0 9px 18px #12003d44; font-weight: 800; }
.bubble-one { right: 11%; top: -35px; width: 51px; height: 39px; transform: rotate(-9deg); }
.bubble-two { right: 5%; top: 28px; width: 35px; height: 35px; color: #fff; background: #883cff; }
.hero-decoration { position: absolute; bottom: 30px; left: 35px; right: 35px; display: flex; justify-content: space-between; color: #bd8cff; font-size: 25px; opacity: .8; }
.signup-card { align-self: stretch; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 42px clamp(28px, 5vw, 62px); border-radius: 32px 0 0 32px; background: linear-gradient(155deg, #fff 30%, #f0e8ff); }
.progress-track { display: flex; gap: 8px; margin-bottom: 25px; }
.progress-track span { width: 38px; height: 5px; border-radius: 8px; background: #e3d8fb; }
.progress-track .is-current, .progress-track .is-complete { background: var(--purple); }
.form-errors { margin-bottom: 14px; padding: 10px 14px; border: 1px solid #f1b6c4; border-radius: 12px; color: #9c2140; background: #fff1f4; font-size: 13px; }
.form-errors p { margin: 3px 0; }
.signup-form { display: grid; gap: 11px; }
.field { min-height: 64px; display: flex; align-items: center; gap: 12px; position: relative; padding: 9px 14px; border: 1px solid #e8ddff; border-radius: 17px; background: linear-gradient(110deg, #f3edff, #f7f3ff); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: #9a6aff; box-shadow: 0 0 0 3px #8a4bff1d; }
.field-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--purple); background: #fff; font-size: 20px; font-weight: 700; }
.field-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; color: #65579c; font-size: 13px; }
.field-text input { width: 100%; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.field-text input::placeholder { color: #988bbd; opacity: 1; }
.password-toggle { border: 0; color: #7769a4; background: transparent; font-size: 19px; }
.primary-button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 5px; padding: 12px 20px; border: 0; border-radius: 28px; color: white; background: linear-gradient(100deg, #691ef2, #430fc1); box-shadow: 0 8px 16px #5418d02b; font-size: 16px; font-weight: 700; transition: transform .18s, box-shadow .18s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 12px 20px #5418d044; }
.primary-button span { font-size: 21px; line-height: 1; }
.login-prompt { margin: 20px 0 0; text-align: center; font-size: 13px; }
.login-prompt a, .terms-note a { color: #4b13cf; font-weight: 700; text-decoration: none; }
.safe-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 31px 0 0; color: #8074a8; font-size: 12px; }
.safe-note span { color: #7d58d5; font-size: 17px; }
.back-button { position: absolute; top: 3px; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #6d27e8; text-decoration: none; font-size: 25px; }
.signup-hero:has(.back-button) .brand-lockup { margin-left: 52px; margin-top: 0; }
.profile-illustration { width: 125px; height: 125px; position: relative; margin: 37px auto -40px; border: 2px solid #ac78ff; border-radius: 50%; background: linear-gradient(145deg, #a95bff, #6320d7); box-shadow: 0 0 0 9px #8f4cf43b; }
.profile-head { width: 39px; height: 39px; position: absolute; left: 41px; top: 23px; border-radius: 50%; background: #fff; }
.profile-body { width: 83px; height: 43px; position: absolute; left: 20px; bottom: 10px; border-radius: 44px 44px 22px 22px; background: #fff; }
.profile-camera { width: 38px; height: 38px; position: absolute; right: -8px; bottom: -3px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: white; background: var(--purple); }
.details-message { margin-top: 55px; text-align: center; }
.details-message h1 { font-size: 31px; }
.details-message > p:last-child { font-size: 15px; }
.details-form { gap: 23px; }
.gender-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.gender-field legend { margin-bottom: 13px; font-size: 15px; font-weight: 700; }
.gender-field legend span, .age-title span { margin-right: 8px; color: var(--purple); font-size: 22px; vertical-align: -2px; }
.gender-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.gender-option input { position: absolute; opacity: 0; }
.gender-option span { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e2d4ff; border-radius: 24px; color: #4e1bc1; background: #f2ecff; font-size: 12px; font-weight: 600; cursor: pointer; transition: .2s; }
.gender-option b { font-size: 20px; line-height: 1; }
.gender-option input:checked + span { border-color: var(--purple); color: #fff; background: linear-gradient(100deg, #7025f4, #4a11c7); box-shadow: 0 5px 11px #4c12be2c; }
.gender-option input:focus-visible + span { outline: 3px solid #9a6aff; outline-offset: 2px; }
.age-label { display: grid; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 700; }
.age-title { display: block; }
.age-label select { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #d5c1ff; border-radius: 15px; outline: 0; color: #62538e; background: #fff; font-size: 14px; font-weight: 500; }
.age-label select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px #8a4bff1d; }
.terms-note { margin: 10px 0 0; color: #746a9c; text-align: center; font-size: 11px; line-height: 1.6; }
.back-form { margin-top: 13px; text-align: center; }
.back-form button { border: 0; color: #655292; background: transparent; font-size: 12px; }

/* Chat home */
.home-page { min-height: 100vh; background: #f7f5fb; }
.chat-app { width: min(100%, 780px); min-height: 100vh; position: relative; display: flex; flex-direction: column; margin: 0 auto; overflow: hidden; background: #fff; box-shadow: 0 0 50px #25125212; }
.conversation-app { height: 100vh; height: 100dvh; }
.chat-header { position: relative; z-index: 2; padding: 20px 25px 0; color: #fff; border-radius: 0 0 34px 34px; background: radial-gradient(ellipse at 12% 5%, #5824c9 0, transparent 40%), linear-gradient(130deg, #32108d, #26076e 80%); }
.home-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 4px 20px; }
.home-brand-row .brand-mark { width: 65px; height: 65px; border-radius: 50%; background: linear-gradient(145deg, #7a35fa, #4e15cd); box-shadow: 0 6px 20px #16004555; }
.home-brand-row .brand-copy strong { font-size: 31px; }
.home-brand-row .brand-copy small { font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 13px; position: relative; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; color: white; background: transparent; font-size: 30px; }
.icon-button svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-button .fa-magnifying-glass { font-size: 24px; }
.icon-button { text-decoration: none; }
.search-wrap[hidden], [hidden] { display: none !important; }
.search-wrap { padding: 0 4px 14px; }
.search-wrap input { width: 100%; height: 42px; padding: 0 15px; border: 1px solid #ffffff44; border-radius: 22px; outline: 0; color: white; background: #ffffff17; }
.search-wrap input::placeholder { color: #d7c9fb; }
.top-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 5px; border-radius: 30px; background: #ffffff14; }
.top-tab { min-height: 53px; display: flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 28px; color: #c1adef; background: transparent; font-weight: 700; font-size: 15px; text-decoration: none; }
.top-tab.is-active { color: #fff; background: linear-gradient(110deg, #5f20e8, #4812c5); box-shadow: 0 6px 14px #1e086c66; }
.top-tab i { font-size: 21px; }
.conversation-list { min-height: 0; flex: 1; overflow-y: auto; padding: 12px 24px 125px; }
.inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 20px; }
.inbox-heading h1 { margin: 0; color: var(--ink); font-size: 23px; letter-spacing: -.5px; }
.inbox-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.inbox-heading > a { display: flex; align-items: center; gap: 7px; color: #5719d7; font-size: 12px; font-weight: 700; text-decoration: none; }
.inbox-heading > a i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #5b19df; background: #f0e9ff; font-size: 14px; }
.quick-chats { margin-bottom: 15px; padding: 15px 15px 13px; border: 1px solid #eee8f7; border-radius: 20px; background: linear-gradient(120deg, #fcfaff, #f8f4ff); }
.quick-chats-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.quick-chats-heading h2 { margin: 0; color: var(--ink); font-size: 15px; }
.quick-chats-heading a { color: #5b19df; font-size: 11px; font-weight: 700; text-decoration: none; }
.quick-chats-list { display: flex; gap: 18px; overflow-x: auto; padding: 1px 1px 4px; scrollbar-width: thin; }
.quick-person { min-width: 62px; display: grid; justify-items: center; gap: 6px; color: #51496f; font-size: 10px; text-decoration: none; }
.quick-person-avatar { width: 49px; height: 49px; position: relative; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; box-shadow: 0 2px 8px #2b15561a; font-size: 13px; font-weight: 800; }
.quick-person > span:last-child { max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-row { width: 100%; min-height: 102px; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border: 0; border-bottom: 1px solid #e9e3f2; color: inherit; text-align: left; text-decoration: none; background: #fff; }
.conversation-row:hover { background: #fcfbff; }
.conversation-row:last-of-type { border-bottom-color: transparent; }
.avatar-wrap { width: 68px; height: 68px; position: relative; display: grid; place-items: center; }
.conversation-avatar { width: 66px; height: 66px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: white; font-size: 19px; font-weight: 800; box-shadow: 0 3px 11px #26115118; }
.avatar-brand, .avatar-group { background: linear-gradient(145deg, #853cff, #4b0ccc); }
.mini-bubble { width: 44px; height: 32px; display: grid; place-items: center; border: 3px solid white; border-radius: 17px; color: #fff; font-size: 11px; letter-spacing: 1px; position: relative; }
.mini-bubble:after { content: ""; position: absolute; bottom: -5px; left: 7px; width: 9px; height: 9px; border-left: 3px solid #fff; transform: skew(-25deg); }
.avatar-group { align-content: center; text-align: center; font-size: 18px; letter-spacing: -5px; }
.avatar-group b { margin-top: -3px; font-size: 17px; letter-spacing: 0; }
.avatar-rose { background: linear-gradient(145deg, #f4a1b9, #792ebd); }
.avatar-blue { background: linear-gradient(145deg, #80c4ef, #334da7); }
.avatar-peach { background: linear-gradient(145deg, #f8b08e, #c44c7e); }
.avatar-green { background: linear-gradient(145deg, #59c7a2, #176b70); }
.online-dot { width: 17px; height: 17px; position: absolute; right: 0; bottom: 2px; border: 2px solid #fff; border-radius: 50%; background: #10c878; }
.conversation-copy { min-width: 0; display: grid; gap: 6px; }
.conversation-name { display: flex; align-items: center; gap: 6px; overflow: hidden; color: #11123e; font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.verified-badge { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.verified-badge svg { width: 20px; height: 20px; display: block; }
.conversation-preview { overflow: hidden; color: #655c8f; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.conversation-meta { min-width: 57px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 9px; color: #5f5687; font-size: 12px; white-space: nowrap; }
.unread-badge { min-width: 25px; height: 25px; display: grid; place-items: center; padding: 0 6px; border-radius: 15px; color: white; background: #5015cf; font-weight: 700; font-size: 12px; }
.empty-search { padding: 42px 12px; color: var(--muted); text-align: center; }
.message-error { margin: 0 0 12px; padding: 11px 13px; border-radius: 12px; color: #9c2140; background: #fff1f4; font-size: 13px; line-height: 1.45; }
.thread-header { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 10px 17px; color: #fff; background: linear-gradient(130deg, #32108d, #26076e 80%); }
.thread-back, .thread-more { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #ffffff19; font-size: 16px; text-decoration: none; }
.thread-avatar { width: 48px; height: 48px; position: relative; display: grid; flex: 0 0 auto; place-items: center; }
.thread-avatar-link { text-decoration: none; }
.thread-avatar .conversation-avatar { width: 46px; height: 46px; border: 2px solid #ffffff99; font-size: 14px; }
.thread-avatar .online-dot { width: 13px; height: 13px; right: 0; bottom: 0; }
.thread-title { min-width: 0; flex: 1; display: grid; gap: 3px; }
.thread-title strong { min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 16px; }
.thread-title strong > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-title .verified-badge, .thread-title .verified-badge svg { width: 18px; height: 18px; }
.thread-title small { color: #d3c4f8; font-size: 11px; }
.thread-profile-link { color: inherit; text-decoration: none; }
.thread-profile-link:hover strong span { text-decoration: underline; text-underline-offset: 3px; }
.message-thread { min-height: 0; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 20px 17px 25px; background: radial-gradient(ellipse at 50% 0, #f1eaff 0, transparent 55%), #f7f5fb; }
.thread-start-hint { margin: auto; color: #81799a; font-size: 14px; text-align: center; }
.thread-welcome { width: min(100%, 410px); display: grid; justify-items: center; gap: 9px; margin: auto; padding: 22px 10px; text-align: center; }
.thread-welcome-avatar { width: 76px; height: 76px; display: grid; place-items: center; border: 5px solid #fff; border-radius: 50%; background: linear-gradient(145deg, #f1eaff, #e6dbff); box-shadow: 0 7px 20px #41129b18; }
.thread-welcome-avatar .conversation-avatar { width: 64px; height: 64px; font-size: 20px; }
.thread-welcome-label { padding: 5px 10px; border-radius: 12px; color: #5b19df; background: #efe8ff; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.thread-welcome h2 { margin: 3px 0 0; color: #211446; font-size: 20px; letter-spacing: -.3px; }
.thread-welcome > p { margin: 0; color: #81799a; font-size: 13px; }
.thread-icebreakers { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 5px; }
.thread-icebreakers button { min-height: 36px; padding: 7px 11px; border: 1px solid #e8def7; border-radius: 18px; color: #51446e; background: #fff; font-size: 12px; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.thread-icebreakers button:hover { transform: translateY(-1px); border-color: #bca3f1; background: #faf7ff; }
.thread-icebreakers button:focus-visible { outline: 2px solid #8d5cff; outline-offset: 2px; }
.message-bubble-row { display: flex; justify-content: flex-start; }
.message-bubble-row.is-mine { justify-content: flex-end; }
.message-stack { width: fit-content; max-width: min(82%, 480px); display: grid; justify-items: start; gap: 4px; }
.message-bubble-row.is-mine .message-stack { justify-items: end; }
.message-bubble { max-width: 100%; padding: 10px 13px 7px; border: 1px solid #eee8f6; border-radius: 17px 17px 17px 5px; background: #fff; box-shadow: 0 3px 12px #2512520b; overflow-wrap: anywhere; }
.message-bubble-row.is-mine .message-bubble { border-radius: 17px 17px 5px 17px; color: #fff; background: linear-gradient(125deg, #7025f4, #4a11c7); }
.message-bubble p { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.message-bubble time { display: block; margin-top: 5px; color: #8a82a0; font-size: 10px; text-align: right; }
.message-bubble-row.is-mine .message-bubble time { color: #e0d4ff; }
.message-reactions { display: flex; align-items: center; gap: 3px; margin: 0 4px; }
.message-reaction { width: 25px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 14px; color: #453b62; background: #fff; box-shadow: 0 2px 6px #25125212; font-size: 12px; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.message-reaction:hover { transform: translateY(-2px); }
.message-reaction.is-selected { border-color: #9c79ec; background: #eee6ff; }
.message-reaction:focus-visible, .composer-emoji-toggle:focus-visible, .composer-emoji-picker button:focus-visible { outline: 2px solid #8d5cff; outline-offset: 2px; }
.message-composer { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 14px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #eee9f5; background: #fff; }
.message-composer input { min-width: 0; height: 45px; flex: 1; padding: 0 15px; border: 1px solid #e4dcf0; border-radius: 24px; outline-color: #8d5cff; }
.message-composer button { width: 45px; height: 45px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #7a32ff, #5012cf); }
.message-composer .composer-emoji-toggle { width: 42px; height: 42px; color: #5b19df; background: #f2ecff; font-size: 19px; }
.composer-emoji-picker { position: absolute; z-index: 4; bottom: calc(100% + 9px); left: 14px; display: grid; grid-template-columns: repeat(4, 40px); gap: 4px; padding: 8px; border: 1px solid #eee7f8; border-radius: 17px; background: #fff; box-shadow: 0 8px 26px #25125224; }
.composer-emoji-picker button { width: 40px; height: 40px; color: inherit; background: transparent; font-size: 21px; }
.composer-emoji-picker button:hover { border-radius: 11px; background: #f4efff; }
.compose-button { width: 68px; height: 68px; position: fixed; z-index: 3; right: max(calc((100vw - 740px) / 2 + 25px), 24px); bottom: 106px; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: linear-gradient(145deg, #7a32ff, #5012cf); box-shadow: 0 9px 20px #5113c74a; }
.compose-button > i { font-size: 25px; }
.compose-button b { width: 22px; height: 22px; position: absolute; right: 10px; top: 8px; display: grid; place-items: center; border: 2px solid #641de4; border-radius: 50%; color: #fff; background: #7a32ff; font-size: 15px; }
.bottom-nav { min-height: 82px; position: fixed; z-index: 2; right: 0; bottom: 0; left: 0; width: min(100%, 780px); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 9px 12px max(9px, env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; background: #fff; box-shadow: 0 -7px 28px #28105012; }
.bottom-item { position: relative; display: grid; place-content: center; justify-items: center; gap: 4px; border: 0; color: #655b8e; background: transparent; font-size: 12px; text-decoration: none; }
.bottom-item > i { font-size: 22px; }
.bottom-item:before { content: ""; width: 54px; height: 3px; position: absolute; top: -9px; left: 50%; border-radius: 0 0 4px 4px; background: transparent; transform: translateX(-50%); }
.bottom-item.is-active { color: #4f12d0; font-weight: 700; }
.bottom-item.is-active:before { background: #5819de; }
.bottom-nav.profile-nav { bottom: 10px; width: min(calc(100% - 24px), 780px); min-height: 86px; border-radius: 50px; box-shadow: 0 0 24px #5820cc20; }
.bottom-nav.profile-nav .bottom-item:before { top: -9px; }
.bottom-nav.profile-nav .bottom-item > i { font-size: 23px; }
.compose-dialog { width: min(90vw, 400px); padding: 23px; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 24px 80px #18063d55; }
.compose-dialog::backdrop { background: #16063788; backdrop-filter: blur(3px); }
.dialog-close-row { display: flex; justify-content: flex-end; }
.dialog-close-row button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #645a8b; background: #f2edfc; font-size: 22px; }
.dialog-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--purple); font-size: 21px; }
.compose-dialog h2 { margin: 14px 0 7px; }
.compose-dialog p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.new-chat-search { display: grid; gap: 7px; color: #554b7d; font-size: 13px; font-weight: 700; }
.new-chat-search input { height: 44px; padding: 0 12px; border: 1px solid #ddd2f7; border-radius: 12px; outline-color: #8d5cff; }
.compose-dialog .primary-button { width: 100%; margin-top: 18px; }

.profile-top { height: 245px; position: relative; overflow: hidden; padding: 20px 30px; color: #fff; background: radial-gradient(ellipse at 12% 0, #9e48ff 0, transparent 34%), linear-gradient(125deg, #5516e0, #260879 90%); }
.profile-top:before, .profile-top:after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.profile-top:before { width: 310px; height: 310px; top: -225px; left: 18%; background: #8e41fa66; }
.profile-top:after { width: 125%; height: 95px; bottom: -40px; left: -12%; background: #fff; box-shadow: 0 -12px 0 #c58eff66; }
.profile-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; margin: 37px 0 0 8px; }
.profile-heading a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #ffffff22; font-size: 21px; text-decoration: none; }
.profile-heading h1 { margin: 0; font-size: 27px; letter-spacing: -.5px; }
.profile-content { position: relative; z-index: 1; flex: 1; margin-top: -106px; padding: 0 30px 125px; background: transparent; }
.public-profile-content { min-height: 0; overflow-y: auto; }
.public-profile-content .profile-avatar-rose { background: linear-gradient(145deg, #f4a1b9, #792ebd); }
.public-profile-content .profile-avatar-blue { background: linear-gradient(145deg, #80c4ef, #334da7); }
.public-profile-content .profile-avatar-peach { background: linear-gradient(145deg, #f8b08e, #c44c7e); }
.public-profile-content .profile-avatar-green { background: linear-gradient(145deg, #59c7a2, #176b70); }
.public-profile-about { margin-top: 12px; }
.public-profile-about p { margin: 0 0 10px; color: #655c8f; font-size: 14px; line-height: 1.55; }
.public-profile-about > span { color: #80779a; font-size: 12px; }
.public-profile-actions { display: flex; gap: 10px; margin-top: 16px; }
.public-profile-actions form { flex: 1; }
.public-profile-actions button { width: 100%; min-height: 45px; }
.public-profile-actions .primary-button { display: flex; align-items: center; justify-content: center; gap: 7px; }
.profile-overview { min-height: 225px; display: flex; align-items: center; gap: 24px; }
.profile-avatar { width: 178px; height: 178px; position: relative; display: grid; place-items: center; flex: 0 0 auto; border: 8px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #aa70ff, #4710ca); box-shadow: 0 8px 26px #5a20ca35, 0 0 0 7px #c99aff55; background-position: center; background-size: cover; }
.profile-avatar > span { font-size: 52px; font-weight: 800; letter-spacing: -2px; text-shadow: 0 2px 8px #2b087144; }
.profile-avatar.has-photo > span { display: none; }
.photo-button { width: 48px; height: 48px; position: absolute; right: -4px; bottom: 1px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #5919e8; font-size: 18px; }
.profile-identity h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; color: #10103b; font-size: 31px; letter-spacing: -.8px; }
.profile-check { color: #5b19e5; font-size: 22px; }
.profile-handle { margin: 0 0 10px; color: #665a95; font-size: 18px; }
.online-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border: 1px solid #e6d9ff; border-radius: 20px; color: #14945f; background: #fff; font-size: 14px; }
.online-pill i { width: 9px; height: 9px; border-radius: 50%; background: #11c777; }
.profile-bio { width: fit-content; margin: 9px 0 0; padding: 7px 12px; border: 1px solid #e5d7ff; border-radius: 18px; background: #fff9; font-size: 14px; }
.profile-stats { min-height: 115px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; margin: 9px 0 26px; padding: 14px 0; border-radius: 28px; background: linear-gradient(110deg, #f3eaff, #eee5ff); }
.profile-stats > div { min-height: 75px; display: grid; align-content: center; justify-items: center; gap: 3px; color: #5b19e8; }
.profile-stats > div + div { border-left: 1px solid #d5b9ff; }
.profile-stats i { margin-bottom: 4px; font-size: 24px; }
.profile-stats strong { color: #10103b; font-size: 20px; }
.profile-stats span { color: #6b5b9e; font-size: 14px; }
.info-card { padding: 21px 24px 11px; border: 1px solid #f1eafd; border-radius: 30px; background: linear-gradient(145deg, #fff, #fdfaff); box-shadow: 0 8px 30px #6730be12; }
.info-card h2 { display: flex; align-items: center; gap: 13px; margin: 0 0 13px; color: #11113b; font-size: 21px; letter-spacing: -.5px; }
.info-card h2 i { color: #5b19e8; font-size: 23px; }
.info-card dl { margin: 0; }
.info-card dl > div { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #eee8f8; }
.info-card dl > div:last-child { border-bottom: 0; }
.info-card dt { display: flex; align-items: center; gap: 15px; color: #7164a0; font-size: 15px; }
.info-card dt i { width: 21px; color: #5816df; text-align: center; font-size: 18px; }
.info-card dd { max-width: 56%; overflow-wrap: anywhere; margin: 0; color: #15143f; text-align: right; font-size: 15px; }
.profile-settings { display: grid; gap: 12px; margin-top: 22px; }
.profile-settings button { min-height: 78px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 22px; align-items: center; gap: 14px; padding: 12px 20px; border: 1px solid #f0e9fa; border-radius: 26px; color: #5518df; text-align: left; background: linear-gradient(120deg, #fff, #fdfbff); box-shadow: 0 7px 25px #6122c511; }
.profile-settings button > i:first-child { font-size: 29px; text-align: center; }
.profile-settings button > i:last-child { font-size: 19px; }
.profile-settings button span { display: grid; gap: 3px; }
.profile-settings strong { color: #15143f; font-size: 16px; }
.profile-settings small { color: #76699e; font-size: 13px; }
.discovery-content { min-height: 0; flex: 1; overflow-y: auto; padding: 30px 25px 125px; }
.section-kicker { margin: 4px 0 8px; color: #6d3ce0; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; }
.discovery-content > h1 { margin: 0; color: var(--ink); font-size: 27px; letter-spacing: -.7px; }
.discovery-lead { margin: 7px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.explore-search { height: 46px; display: flex; align-items: center; gap: 10px; margin: 0 0 13px; padding: 0 14px; border: 1px solid #e8e0f3; border-radius: 14px; color: #71668d; background: #fff; }
.explore-search input { width: 100%; height: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.explore-filters { display: flex; gap: 8px; margin: 0 0 22px; }
.explore-filters button { min-height: 34px; padding: 0 14px; border: 1px solid #e8e0f3; border-radius: 18px; color: #655b83; background: #fff; font-size: 12px; font-weight: 700; }
.explore-filters button.is-active { border-color: #5b19df; color: #fff; background: #5b19df; }
.explore-section { margin: 0 0 25px; }
.explore-section > h2 { margin: 0 0 12px; color: var(--ink); font-size: 18px; }
.community-list { display: grid; gap: 13px; }
.community-card { min-height: 125px; display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px; border: 1px solid #eee7f8; border-radius: 23px; background: #fff; box-shadow: 0 5px 18px #30115b0b; }
.community-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; color: #fff; font-size: 22px; }
.lifestyle-lilac .community-icon { background: linear-gradient(145deg, #9b64ff, #5817d7); }
.lifestyle-blue .community-icon { background: linear-gradient(145deg, #63bdff, #4160d9); }
.lifestyle-pink .community-icon { background: linear-gradient(145deg, #f17bb7, #9a41d4); }
.community-purple .community-icon { background: linear-gradient(145deg, #9b64ff, #5817d7); }
.community-blue .community-icon { background: linear-gradient(145deg, #63bdff, #4160d9); }
.community-pink .community-icon { background: linear-gradient(145deg, #f17bb7, #9a41d4); }
.community-lilac .community-icon { background: linear-gradient(145deg, #9b64ff, #5817d7); }
.community-card h3 { margin: 0 0 3px; color: var(--ink); font-size: 16px; }
.discovery-card-copy { min-width: 0; }
.community-members { color: #7159ad; font-size: 12px; }
.community-card p { margin: 6px 0 0; color: #736b8c; font-size: 12px; line-height: 1.4; }
.discovery-card-actions { display: grid; justify-items: stretch; gap: 6px; }
.discovery-card-actions form { margin: 0; }
.join-button { min-width: 68px; padding: 9px 12px; border: 0; border-radius: 20px; color: #fff; background: linear-gradient(100deg, #7025f4, #4a11c7); font-size: 12px; font-weight: 700; }
.join-button.is-joined { color: #4b17bf; background: #efe7ff; }
.message-button { min-height: 33px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid #e6def2; border-radius: 18px; color: #5b19df; background: #fff; font-size: 11px; font-weight: 700; }
.lifestyle-page { background: #f7f6fb; }
.lifestyle-page .chat-app { overflow: visible; }
.lifestyle-header { min-height: 76px; position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 19px; border-bottom: 1px solid #eee9f5; background: #fff; box-shadow: 0 4px 15px #27134d0b; }
.lifestyle-header-brand { display: flex; align-items: center; gap: 11px; }
.lifestyle-header-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #8b45ff, #4c12c6); font-size: 20px; }
.lifestyle-header-brand > span:last-child { display: grid; gap: 2px; }
.lifestyle-header-brand strong { color: #17133d; font-size: 18px; }
.lifestyle-header-brand small { color: #82799c; font-size: 11px; }
.post-button { min-width: 88px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 22px; color: #fff; background: linear-gradient(100deg, #7025f4, #4a11c7); box-shadow: 0 5px 12px #5113c729; font-size: 13px; font-weight: 700; text-decoration: none; }
.lifestyle-gallery { min-height: calc(100vh - 76px); padding: 11px 11px 115px; background: #f8f7fb; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 11px; }
.gallery-card { min-width: 0; position: relative; display: block; overflow: hidden; aspect-ratio: .62; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #b8a4d5, #574280); isolation: isolate; text-decoration: none; }
.gallery-card[role="button"] { cursor: pointer; }
.gallery-card[role="button"]:focus-visible { outline: 3px solid #6b24ec; outline-offset: 3px; }
.gallery-card:after { content: ""; position: absolute; z-index: 0; inset: 45% 0 0; background: linear-gradient(transparent, #0009); pointer-events: none; }
.gallery-card > img, .gallery-card > video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.gallery-media-icon { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; filter: drop-shadow(0 1px 3px #0008); }
.gallery-caption { position: absolute; z-index: 1; right: 9px; bottom: 10px; left: 10px; overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 2px 6px #000; }
.gallery-text-card { display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(145deg, #9e6eff, #4c20ae); }
.gallery-text-card:after { display: none; }
.gallery-text-content { max-height: 72%; overflow: hidden; font-size: clamp(14px, 3.5vw, 21px); font-weight: 700; line-height: 1.45; text-align: center; }
.gallery-user-card > video { background: #15122a; }
.status-error { margin: 10px 2px; padding: 10px 12px; border-radius: 10px; color: #9c2140; background: #fff1f4; font-size: 13px; }
.post-page { background: #f7f5fb; }
.post-page .post-app { width: min(100%, 780px); min-height: 100vh; overflow: visible; }
.post-creation-page { flex: 1; padding: 22px 24px 42px; background: #fff; }
.standalone-page-header { min-height: 48px; display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.standalone-page-header a { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #4f16c9; background: #f0e9ff; text-decoration: none; }
.standalone-page-header h1 { margin: 0; color: #17133d; font-size: 21px; }
.post-page-intro { margin: 0 0 14px; color: #81799a; font-size: 13px; }
.meme-composer { display: grid; gap: 10px; padding: 17px; border: 1px solid #eee7f8; border-radius: 19px; background: #fff; box-shadow: 0 7px 25px #32105c0c; }
.meme-composer > label { color: #51496d; font-size: 13px; font-weight: 700; }
.meme-composer textarea { width: 100%; min-height: 190px; resize: vertical; padding: 14px; border: 1px solid #e3d9f4; border-radius: 15px; outline-color: #8d5cff; color: var(--ink); font: inherit; line-height: 1.5; }
.meme-composer textarea::placeholder { color: #9c94ad; }
.meme-composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meme-composer-footer small { color: #81799a; font-size: 11px; }
.meme-composer-footer .primary-button { min-height: 43px; padding: 0 18px; }
.post-options { display: grid; gap: 10px; }
.post-options > button { min-height: 74px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 12px; border: 1px solid #eee8f7; border-radius: 17px; text-align: left; background: #fff; }
.post-options > button > span { width: 44px; height: 44px; display: grid; grid-row: span 2; place-items: center; border-radius: 14px; color: #5c1ade; background: #f0e9ff; font-size: 19px; }
.post-options > button > strong { align-self: end; color: #19153e; font-size: 14px; }
.post-options > button > small { align-self: start; margin-top: 3px; color: #81799a; font-size: 11px; }
.post-options > button > i:last-child { grid-column: 3; grid-row: 1 / span 2; color: #82799c; font-size: 13px; }
.post-text-panel textarea { width: 100%; resize: vertical; padding: 14px; border: 1px solid #e3d9f4; border-radius: 15px; outline-color: #8d5cff; color: var(--ink); font: inherit; }
.post-text-panel .primary-button, .post-media-panel .primary-button { width: 100%; margin-top: 14px; }
.post-text-panel .primary-button i { margin-left: 5px; }
.post-back { margin: 0 0 12px; padding: 0; border: 0; color: #5b19df; background: transparent; font-size: 13px; font-weight: 700; }
.post-back i { margin-right: 5px; }
.media-caption-label { display: grid; gap: 8px; margin-top: 16px; color: #51496d; font-size: 13px; font-weight: 700; }
.media-caption-label textarea { width: 100%; resize: vertical; padding: 12px; border: 1px solid #e3d9f4; border-radius: 14px; outline-color: #8d5cff; color: var(--ink); font: inherit; font-weight: 400; }
.media-preview { max-height: 35vh; overflow: hidden; margin-top: 12px; border-radius: 14px; background: #17132a; }
.media-preview img, .media-preview video { width: 100%; max-height: 35vh; display: block; object-fit: contain; }
.media-choose-button { width: 100%; min-height: 46px; margin-top: 12px; border: 1px solid #e5dcf4; border-radius: 14px; color: #5b19df; background: #fff; font-size: 13px; font-weight: 700; }
.media-choose-button i { margin-right: 7px; }
.media-error { margin: 10px 0 0; color: #9c2140; font-size: 13px; }
.post-media-panel .primary-button:disabled { cursor: not-allowed; opacity: .48; }
.post-published-message { margin: 0 0 14px; padding: 12px 14px; border-radius: 13px; color: #4212a9; background: #efe8ff; font-size: 13px; }
.reels-page { overflow: hidden; color: #fff; background: #050505; }
.reels-page .reels-app { width: min(100%, 560px); height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; margin: 0 auto; background: #050505; box-shadow: none; }
.reels-topbar { height: 52px; position: fixed; z-index: 5; top: 0; left: 50%; width: min(100%, 560px); display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; padding: max(8px, env(safe-area-inset-top)) 16px 0; color: #fff; pointer-events: none; transform: translateX(-50%); }
.reels-topbar a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #0005; text-decoration: none; pointer-events: auto; }
.reels-feed-tabs { display: flex; align-items: center; justify-content: center; gap: 20px; pointer-events: auto; }
.reels-feed-tabs button { position: relative; padding: 8px 0; border: 0; color: #ffffffb8; background: transparent; font-size: 13px; font-weight: 700; text-shadow: 0 1px 5px #000; }
.reels-feed-tabs button.is-active { color: #fff; }
.reels-feed-tabs button.is-active:after { content: ""; height: 2px; position: absolute; right: 0; bottom: 1px; left: 0; border-radius: 2px; background: #fff; }
.reels-topbar .reels-create-link { color: #fff; background: #0005; font-size: 17px; }
.reels-feed { width: 100%; height: 100%; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-type: y mandatory; scrollbar-width: none; }
.reels-feed::-webkit-scrollbar { display: none; }
.reels-empty { height: 100%; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 28px; color: #fff; background: #151122; text-align: center; }
.reels-empty i { color: #c4a4ff; font-size: 30px; }
.reels-empty p { max-width: 240px; margin: 0; font-size: 14px; line-height: 1.5; }
.reel-slide { width: 100%; height: 100vh; height: 100dvh; position: relative; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: #111; isolation: isolate; }
.reel-slide:after { content: ""; position: absolute; z-index: 1; inset: 30% 0 0; background: linear-gradient(transparent, #000b); pointer-events: none; }
.reel-background { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.reel-back { width: 40px; height: 40px; position: absolute; z-index: 3; top: max(14px, env(safe-area-inset-top)); left: 14px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #0005; font-size: 17px; text-decoration: none; }
.reel-info { position: absolute; z-index: 2; right: 83px; bottom: max(32px, env(safe-area-inset-bottom)); left: 17px; color: #fff; text-shadow: 0 1px 4px #000; }
.reel-author-row { display: flex; align-items: center; gap: 12px; }
.reel-author-row > strong { max-width: 62%; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.reel-follow-button { min-height: 31px; padding: 0 13px; border: 1px solid #ffffffb8; border-radius: 17px; color: #fff; background: #0003; font-size: 12px; font-weight: 700; }
.reel-follow-button.is-following { color: #32108d; border-color: #fff; background: #fff; text-shadow: none; }
.reel-caption { max-width: 100%; margin: 10px 0 0; font-size: 13px; line-height: 1.4; }
.reel-action-rail { position: absolute; z-index: 3; right: 11px; bottom: max(32px, env(safe-area-inset-bottom)); display: grid; gap: 17px; }
.reel-action-rail button { min-width: 54px; display: grid; justify-items: center; gap: 3px; padding: 4px 0; border: 0; color: #fff; background: transparent; text-shadow: 0 1px 4px #000; }
.reel-action-rail button > i { font-size: 24px; }
.reel-action-rail button > span { font-size: 12px; font-weight: 700; }
.reel-action-rail button > small { font-size: 10px; }
.reel-action-rail button.is-active[data-reel-like] > i { color: #ff4d83; }
.reel-action-rail button.is-active[data-reel-repost] > i { color: #bc9aff; }
.reel-comments-panel { max-height: min(70vh, 620px); position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 17px 17px max(16px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; color: #211a48; background: #fff; box-shadow: 0 -10px 35px #0005; text-shadow: none; }
.reel-comments-panel[hidden] { display: none; }
.reel-comments-panel > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #eee9f5; }
.reel-comments-panel > header strong { font-size: 15px; }
.reel-comments-panel > header button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #61577c; background: #f3eff9; font-size: 22px; }
.reel-comment-list { min-height: 70px; flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 11px; }
.reel-comment { padding: 10px 12px; border-radius: 12px; background: #f8f6fc; }
.reel-comment strong { color: #30254f; font-size: 12px; }
.reel-comment p { margin: 4px 0 0; color: #665f7c; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.reel-comment-form { display: flex; gap: 8px; margin-top: 13px; }
.reel-comment-form input { min-width: 0; flex: 1; height: 42px; padding: 0 13px; border: 1px solid #e5dcf4; border-radius: 22px; outline-color: #8d5cff; }
.reel-comment-form button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #fff; background: #5b19df; }
.reel-text-background { width: 100%; height: 100%; position: absolute; inset: 0; display: grid; place-items: center; padding: 60px 30px 150px; background: radial-gradient(ellipse at 30% 24%, #a362ff, transparent 48%), linear-gradient(145deg, #6425d7, #21086a 82%); }
.reel-text-background p { max-width: 440px; margin: 0; font-size: clamp(24px, 7vw, 42px); font-weight: 800; line-height: 1.3; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere; }
.reel-text-background .meme-stamp { position: absolute; top: max(72px, env(safe-area-inset-top)); left: 22px; padding: 6px 10px; border: 1px solid #ffffff99; border-radius: 15px; color: #fff; background: #0002; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.meme-background-1 { background: radial-gradient(ellipse at 75% 25%, #f5b5e3, transparent 40%), linear-gradient(145deg, #a33183, #41105f 84%); }
.meme-background-2 { background: radial-gradient(ellipse at 20% 20%, #8bd1ff, transparent 43%), linear-gradient(145deg, #235db2, #13244f 86%); }
.meme-background-3 { background: radial-gradient(ellipse at 75% 20%, #ffd185, transparent 42%), linear-gradient(145deg, #bc5938, #552143 86%); }
.meme-background-4 { background: radial-gradient(ellipse at 20% 24%, #b4f0d7, transparent 44%), linear-gradient(145deg, #267a69, #153a52 86%); }
.meme-background-5 { background: radial-gradient(ellipse at 80% 16%, #f7a5a9, transparent 43%), linear-gradient(145deg, #a62e50, #442060 86%); }
.reel-load-error { position: fixed; z-index: 6; top: 65px; right: 16px; left: 16px; padding: 11px 14px; border-radius: 12px; color: #fff; background: #9c2140; font-size: 13px; text-align: center; }
.settings-content { flex: 1; padding: 28px 22px 125px; }
.settings-content h1 { margin: 0; color: var(--ink); font-size: 27px; }
.settings-list { display: grid; gap: 11px; }
.setting-row { min-height: 74px; display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid #eee7f8; border-radius: 18px; color: #5b19df; background: #fff; text-decoration: none; }
.setting-icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #5b19df; background: #f0e9ff; font-size: 18px; }
.setting-row > span:nth-child(2) { flex: 1; display: grid; gap: 3px; }
.setting-row strong { color: #17143d; font-size: 14px; }
.setting-row small { color: #81799a; font-size: 11px; }
.setting-row > i { font-size: 13px; }
.setting-row input[type="checkbox"] { width: 42px; height: 23px; accent-color: #5b19df; }
.notification-setting { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.notification-help { margin: 0; padding: 10px 12px; border-radius: 12px; color: #675a8a; background: #f5f0ff; font-size: 12px; line-height: 1.5; }
.sign-out-link { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: #b62d59; font-size: 14px; font-weight: 700; text-decoration: none; }

@media (min-width: 900px) {
    .chat-app { min-height: 100vh; }
    .conversation-list { padding-top: 18px; }
    .conversation-row { min-height: 94px; grid-template-columns: 72px minmax(0, 1fr) auto; }
}
@media (max-width: 650px) {
    .signup-page { display: block; padding: 0; background: #3910a0; }
    .signup-shell { width: 100%; min-height: 100vh; display: flex; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
    .signup-hero { min-height: 322px; padding: 24px 28px 38px; }
    .signup-hero .brand-lockup { margin-top: 25px; }
    .hero-message { margin-top: 37px; }
    .hero-message h1 { font-size: 29px; }
    .hero-message > p:last-child { max-width: 330px; font-size: 15px; }
    .signup-card { flex: 1; justify-content: flex-start; margin-top: -1px; padding: 26px 26px 30px; border-radius: 28px 28px 0 0; }
    .signup-hero:has(.back-button) { min-height: 355px; }
    .signup-hero:has(.back-button) .brand-lockup { margin-top: 8px; }
    .signup-hero:has(.back-button) .profile-illustration { margin-top: 28px; }
    .signup-hero:has(.back-button) .details-message { margin-top: 53px; }
    .hero-decoration { bottom: 16px; left: 24px; right: 24px; }
    .safe-note { margin-top: 26px; }
    .details-form { gap: 20px; }
    .chat-header { padding: 11px 18px 0; border-radius: 0 0 28px 28px; }
    .home-brand-row { padding: 13px 2px 17px; }
    .home-brand-row .brand-mark { width: 58px; height: 58px; }
    .home-brand-row .brand-copy strong { font-size: 27px; }
    .home-brand-row .brand-copy small { font-size: 10px; }
    .header-actions { gap: 2px; }
    .icon-button { width: 37px; }
    .top-tab { min-height: 50px; gap: 7px; font-size: 14px; }
    .conversation-list { padding: 8px 17px 118px; }
    .conversation-row { min-height: 94px; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; }
    .avatar-wrap, .conversation-avatar { width: 56px; height: 56px; }
    .avatar-wrap { width: 58px; }
    .mini-bubble { width: 39px; height: 28px; }
    .conversation-name { font-size: 15px; }
    .conversation-preview { font-size: 13px; }
    .conversation-meta { min-width: 48px; gap: 7px; font-size: 11px; }
    .unread-badge { min-width: 23px; height: 23px; }
    .compose-button { width: 60px; height: 60px; right: 19px; bottom: 99px; }
    .bottom-nav { min-height: 78px; }
    .profile-top { height: 238px; padding: 17px 20px; }
    .profile-heading { gap: 16px; margin: 18px 0 0 5px; }
    .profile-heading a { width: 43px; height: 43px; }
    .profile-content { margin-top: -87px; padding: 0 17px 118px; }
    .profile-overview { min-height: 190px; gap: 15px; }
    .profile-avatar { width: 132px; height: 132px; border-width: 6px; }
    .profile-avatar > span { font-size: 38px; }
    .photo-button { width: 40px; height: 40px; font-size: 15px; }
    .profile-identity h2 { gap: 6px; font-size: 23px; }
    .profile-check { font-size: 18px; }
    .profile-handle { font-size: 15px; }
    .online-pill { padding: 4px 10px; font-size: 12px; }
    .profile-bio { padding: 6px 9px; font-size: 12px; }
    .profile-stats { min-height: 98px; margin: 8px 0 18px; border-radius: 24px; }
    .profile-stats > div { min-height: 68px; }
    .profile-stats i { font-size: 20px; }
    .profile-stats strong { font-size: 17px; }
    .profile-stats span { font-size: 12px; }
    .info-card { padding: 17px 16px 8px; border-radius: 25px; }
    .info-card h2 { gap: 10px; font-size: 18px; }
    .info-card h2 i { font-size: 20px; }
    .info-card dl > div { min-height: 46px; gap: 8px; }
    .info-card dt { gap: 10px; font-size: 13px; }
    .info-card dt i { width: 18px; font-size: 16px; }
    .info-card dd { font-size: 13px; }
    .profile-settings { gap: 10px; margin-top: 16px; }
    .profile-settings button { min-height: 69px; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 11px; padding: 10px 14px; border-radius: 23px; }
    .profile-settings button > i:first-child { font-size: 25px; }
    .profile-settings strong { font-size: 14px; }
    .profile-settings small { font-size: 11px; }
    .profile-nav { bottom: 9px !important; min-height: 79px !important; }
    .profile-nav .bottom-item > i { font-size: 21px; }
    .discovery-content { padding: 24px 18px 118px; }
    .discovery-content > h1 { font-size: 23px; }
    .community-card { grid-template-columns: 44px minmax(0, 1fr); gap: 9px 10px; padding: 13px; }
    .community-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 19px; }
    .community-card h3 { font-size: 14px; }
    .community-card p { font-size: 11px; }
    .discovery-card-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
    .join-button { min-width: 64px; padding: 8px 10px; }
    .message-button { min-height: 31px; }
    .thread-header { min-height: 70px; padding: 9px 12px; }
    .message-thread { padding: 16px 12px 20px; }
    .message-composer { padding-right: 10px; padding-left: 10px; }
    .lifestyle-header { min-height: 68px; padding: 9px 13px; }
    .lifestyle-header-icon { width: 39px; height: 39px; font-size: 18px; }
    .lifestyle-header-brand { gap: 9px; }
    .post-button { min-width: 76px; min-height: 38px; }
    .lifestyle-gallery { min-height: calc(100vh - 68px); padding: 9px 9px 112px; }
    .gallery-grid { gap: 9px; }
    .gallery-caption { bottom: 9px; left: 8px; font-size: 13px; }
    .gallery-media-icon { top: 10px; right: 10px; font-size: 16px; }
    .post-creation-page { padding: 18px 17px 30px; }
    .reels-page .reels-app { width: 100%; }
    .settings-content { padding: 24px 17px 118px; }
}
@media (max-width: 370px) {
    .signup-card { padding-right: 18px; padding-left: 18px; }
    .gender-options { gap: 5px; }
    .gender-option span { gap: 4px; font-size: 11px; }
    .conversation-list { padding-right: 12px; padding-left: 12px; }
    .conversation-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; }
    .avatar-wrap, .conversation-avatar { width: 50px; height: 50px; }
    .profile-content { padding-right: 12px; padding-left: 12px; }
    .profile-overview { gap: 11px; }
    .profile-avatar { width: 112px; height: 112px; }
    .profile-identity h2 { font-size: 20px; }
    .profile-handle { font-size: 13px; }
    .info-card dt { gap: 7px; font-size: 12px; }
    .info-card dd { font-size: 12px; }
}

.splash-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    overflow-x: hidden;
    color: #fff;
    background: radial-gradient(ellipse at 9% 9%, #812ffc 0, transparent 34%), linear-gradient(135deg, #261078, #4d14c8 58%, #2b0b82);
}
.splash-shell {
    width: min(100%, 1080px);
    min-height: 660px;
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    overflow: hidden;
    padding: 42px clamp(32px, 7vw, 78px);
    border: 1px solid #ffffff3d;
    border-radius: 34px;
    background: linear-gradient(125deg, #ffffff0d, #ffffff08);
    box-shadow: 0 30px 90px #13033d66, inset 0 1px #ffffff20;
}
.splash-orb { position: absolute; border: 1px solid #ffffff16; border-radius: 50%; pointer-events: none; }
.splash-orb-one { width: 430px; height: 430px; top: -240px; right: -80px; box-shadow: 0 0 0 35px #ffffff08, 0 0 0 70px #ffffff06; }
.splash-orb-two { width: 290px; height: 290px; bottom: -205px; left: 34%; box-shadow: 0 0 0 28px #ffffff08; }
.splash-brand { position: absolute; z-index: 1; top: 37px; left: clamp(32px, 7vw, 78px); }
.splash-brand .brand-mark { width: 58px; height: 58px; }
.splash-brand .brand-copy strong { font-size: 29px; }
.splash-content { position: relative; z-index: 1; max-width: 480px; padding-top: 85px; }
.splash-label { display: inline-flex; align-items: center; gap: 9px; color: #d7c6ff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.splash-label i { width: 8px; height: 8px; border-radius: 50%; background: #71edc0; box-shadow: 0 0 12px #71edc0; }
.splash-content h1 { margin: 20px 0 16px; font-size: clamp(42px, 5.7vw, 68px); line-height: 1.02; letter-spacing: -3px; }
.splash-content > p { max-width: 430px; margin: 0; color: #dfd3fb; font-size: 16px; line-height: 1.7; }
.splash-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.splash-primary, .splash-secondary { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 22px; border-radius: 28px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .18s, background .18s; }
.splash-primary { color: #4010a8; background: #fff; box-shadow: 0 10px 24px #15034440; }
.splash-primary:hover, .splash-secondary:hover { transform: translateY(-2px); }
.splash-primary span { font-size: 21px; }
.splash-secondary { border: 1px solid #ffffff69; color: #fff; background: #ffffff10; }
.splash-social-proof { display: flex; align-items: center; margin-top: 38px; color: #d6c9f4; font-size: 12px; }
.splash-avatar { width: 31px; height: 31px; display: grid; place-items: center; margin-right: -7px; border: 2px solid #4212a9; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #f3a5bd, #7d31ca); font-size: 9px; font-weight: 800; }
.splash-avatar:nth-child(2) { background: linear-gradient(145deg, #86c9ee, #4351b1); }
.splash-avatar:nth-child(3) { margin-right: 12px; background: linear-gradient(145deg, #ffc28d, #bd4d7b); }
.splash-art { min-height: 350px; position: relative; display: grid; place-items: center; margin: 65px -20px 0 0; }
.splash-art:before { content: ""; width: min(31vw, 310px); height: min(31vw, 310px); position: absolute; border: 1px solid #ffffff38; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #b280ff, #6923dc 65%, #4812a8); box-shadow: 0 30px 80px #15024466, 0 0 0 17px #ffffff0c, 0 0 0 35px #ffffff08; }
.splash-chat-card { position: absolute; z-index: 1; display: flex; align-items: center; border: 1px solid #ffffff70; border-radius: 18px; color: #262044; background: #fff; box-shadow: 0 18px 45px #17044755; }
.splash-chat-card-back { top: 55px; right: 12px; gap: 18px; padding: 15px 19px; transform: rotate(7deg); font-size: 12px; }
.splash-chat-card-back i { color: #8a80a8; font-size: 9px; font-style: normal; }
.splash-chat-card-front { bottom: 69px; left: 5px; gap: 11px; padding: 14px 15px; transform: rotate(-5deg); }
.splash-chat-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #ffaeaf, #8b37c6); font-weight: 800; }
.splash-chat-card-front > span:nth-child(2) { display: grid; gap: 3px; }
.splash-chat-card-front strong { font-size: 12px; }
.splash-chat-card-front small { color: #79718d; font-size: 10px; }
.splash-chat-card-front i { align-self: flex-start; margin-left: 10px; color: #8a80a8; font-size: 9px; font-style: normal; }
.splash-sparkle, .splash-floating-heart { position: absolute; z-index: 2; color: #ffe28c; filter: drop-shadow(0 3px 6px #160345); }
.splash-sparkle { font-size: 33px; }
.sparkle-one { top: 74px; left: 17%; }
.sparkle-two { right: 3%; bottom: 70px; color: #d0a6ff; font-size: 23px; }
.splash-floating-heart { top: 39%; right: 12%; color: #ff84b4; font-size: 26px; transform: rotate(13deg); }
.splash-footer { position: absolute; right: clamp(32px, 7vw, 78px); bottom: 25px; left: clamp(32px, 7vw, 78px); display: flex; justify-content: space-between; color: #c8b7ed; font-size: 11px; }
.splash-footer span:first-child { color: #fff; font-weight: 700; }
.login-shell { min-height: 650px; }
.login-card > h1 { margin: 0; color: #17133d; font-size: 34px; letter-spacing: -1px; }
.login-eyebrow { margin: 0 0 8px; color: #6d3ce0; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.login-intro { margin: 7px 0 23px; color: #766b98; font-size: 13px; line-height: 1.5; }
.login-hero-message { margin-top: 90px; }

@media (max-width: 760px) {
    .splash-page { padding: 0; }
    .splash-shell { min-height: 100vh; min-height: 100dvh; grid-template-columns: 1fr; align-content: center; padding: 100px 24px 58px; border: 0; border-radius: 0; }
    .splash-brand { top: 25px; left: 28px; }
    .splash-content { padding-top: 0; }
    .splash-content h1 { margin: 14px 0 11px; font-size: clamp(35px, 9.5vw, 46px); line-height: .99; letter-spacing: -2px; }
    .splash-content > p { max-width: 390px; font-size: 13px; line-height: 1.5; }
    .splash-actions { gap: 8px; margin-top: 21px; }
    .splash-primary, .splash-secondary { min-height: 46px; gap: 10px; padding: 0 16px; font-size: 12px; }
    .splash-social-proof { margin-top: 19px; font-size: 11px; }
    .splash-avatar { width: 27px; height: 27px; }
    .splash-art { min-height: 150px; margin: 0; }
    .splash-art:before { width: 132px; height: 132px; }
    .splash-chat-card-back { top: 18px; right: 3%; gap: 10px; padding: 11px 13px; font-size: 10px; }
    .splash-chat-card-front { bottom: 7px; left: 1%; gap: 8px; padding: 10px 12px; }
    .splash-chat-avatar { width: 34px; height: 34px; }
    .splash-chat-card-front strong { font-size: 10px; }
    .splash-chat-card-front small { font-size: 9px; }
    .splash-sparkle { font-size: 23px; }
    .splash-floating-heart { font-size: 19px; }
    .splash-footer { right: 28px; left: 28px; bottom: 17px; }
    .login-shell { min-height: 0; }
    .login-shell .signup-hero { min-height: 220px; }
    .login-shell .signup-hero .brand-lockup { margin-top: 0; }
    .login-hero-message { margin-top: 28px; text-align: left; }
    .login-hero-message h1 { font-size: 27px; }
    .login-hero-message > p:last-child { font-size: 13px; }
    .login-shell .hero-decoration { display: none; }
    .login-card { padding-top: 35px; padding-bottom: 35px; }
}
@media (max-width: 760px) and (max-height: 680px) {
    .splash-shell { padding-top: 88px; padding-bottom: 52px; }
    .splash-art { display: none; }
    .splash-content h1 { margin-top: 11px; font-size: clamp(33px, 8.5vw, 40px); }
    .splash-content > p { line-height: 1.4; }
    .splash-actions { margin-top: 17px; }
    .splash-social-proof { margin-top: 15px; }
    .splash-footer span:last-child { display: none; }
}
