
@import url('./base/variables.css');
@import url('./base/reset.css');
@import url('./components/buttons.css');
@import url('./components/cards.css');
@import url('./components/navbar.css');
@import url('./pages/feed.css');
@import url('./pages/profile.css');
@import url('./pages/chat.css');
@import url('./pages/video.css');
:root {
color-scheme: light;
--o-green: #20a957;
--o-blue: #007bff;
--o-red: #da291c;
--o-black: #111111;
--o-white: #ffffff;
--accent: #fe2c55;
--story-gradient:
linear-gradient(
45deg,
#f09433,
#e6683c,
#dc2743,
#cc2366,
#bc1888
);
--btn-gradient:
linear-gradient(
135deg,
#fe2c55,
#da291c
);
--bg-main: #f4f6f8;
--bg-surface: #ffffff;
--bg-glass: rgba(255, 255, 255, 0.92);
--card-bg: #ffffff;
--text-main: #1c1e21;
--text-muted: #64748b;
--border-color: rgba(0, 0, 0, 0.10);
--radius-sm: 8px;
--radius-md: 14px;
--radius-lg: 20px;
--radius-full: 9999px;
--transition:
0.25s cubic-bezier(0.4, 0, 0.2, 1);
--transition-fast:
0.2s cubic-bezier(0.4, 0, 0.2, 1);
--transition-smooth:
0.3s cubic-bezier(0.16, 1, 0.3, 1);
--shadow-sm:
0 2px 8px rgba(0, 0, 0, 0.04);
--shadow:
0 4px 12px rgba(0, 0, 0, 0.08);
--shadow-md:
0 8px 24px rgba(0, 0, 0, 0.08);
--shadow-lg:
0 16px 32px rgba(0, 0, 0, 0.12);
--z-base: 1;
--z-sticky: 100;
--z-dropdown: 200;
--z-overlay: 1999;
--z-sidebar: 2000;
--z-modal: 4000;
--z-toast: 5000;
--z-video: 6000;
}
[data-theme="dark"] {
color-scheme: dark;
--bg-main: #0b0f17;
--bg-surface: #161f2e;
--bg-glass: rgba(22, 31, 46, 0.94);
--card-bg: #161f2e;
--text-main: #f1f5f9;
--text-muted: #b0bdcf;
--border-color: rgba(255, 255, 255, 0.12);
--shadow-sm:
0 2px 8px rgba(0, 0, 0, 0.30);
--shadow:
0 4px 12px rgba(0, 0, 0, 0.32);
--shadow-md:
0 8px 24px rgba(0, 0, 0, 0.40);
--shadow-lg:
0 16px 32px rgba(0, 0, 0, 0.48);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
width: 100%;
min-width: 0;
min-height: 100%;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
scroll-behavior: smooth;
overflow-x: clip;
}
body {
width: 100%;
min-width: 0;
min-height: 100vh;
min-height: 100dvh;
margin: 0;
padding: 0;
overflow-x: clip;
background: var(--bg-main);
color: var(--text-main);
font-family:
"Poppins",
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition:
background-color var(--transition),
color var(--transition);
}
button,
input,
select,
textarea {
font: inherit;
}
button {
-webkit-tap-highlight-color: transparent;
}
button,
[role="button"] {
touch-action: manipulation;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
cursor: not-allowed;
}
a {
color: inherit;
text-decoration: none;
}
img,
video {
display: block;
max-width: 100%;
}
img {
height: auto;
}
video {
height: auto;
}
svg,
canvas {
max-width: 100%;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: anywhere;
}
#app,
main,
section,
article,
.page,
.page-section {
min-width: 0;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes shimmer {
from {
background-position: 200% 0;
}
to {
background-position: -200% 0;
}
}
@keyframes phonePulse {
0% {
transform: scale(1);
}
100% {
transform: scale(1.12) rotate(6deg);
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
:focus-visible {
outline: 2px solid var(--o-blue);
outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
outline: none;
}
button,
input,
select,
textarea,
a {
-webkit-tap-highlight-color: transparent;
}
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgba(155, 155, 155, 0.5) transparent;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(155, 155, 155, 0.5);
border-radius: var(--radius-full);
}
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px;
color: var(--text-main);
background: transparent;
border: 0;
border-radius: 50%;
font-size: 1.5rem;
cursor: pointer;
transition:
background-color var(--transition-fast),
transform var(--transition-fast);
}
.icon-btn:hover {
background: var(--border-color);
}
.btn-main {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
min-height: 44px;
padding: 12px 24px;
color: #ffffff;
background: var(--btn-gradient);
border: 0;
border-radius: var(--radius-full);
font-size: 1rem;
font-weight: 700;
text-align: center;
cursor: pointer;
box-shadow:
0 4px 15px rgba(218, 41, 28, 0.22);
transition:
transform var(--transition-fast),
box-shadow var(--transition-fast),
filter var(--transition-fast);
}
.btn-main:hover:not(:disabled) {
filter: brightness(1.05);
box-shadow:
0 6px 20px rgba(218, 41, 28, 0.30);
}
.btn-main:active:not(:disabled) {
transform: scale(0.98);
}
.btn-main:disabled {
opacity: 0.55;
background: #9ca3af;
box-shadow: none;
cursor: not-allowed;
}
.btn-small {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 34px;
padding: 6px 12px;
color: #ffffff;
background: var(--o-blue);
border: 0;
border-radius: var(--radius-sm);
font-size: 13px;
cursor: pointer;
}
.btn-small:hover:not(:disabled) {
filter: brightness(0.9);
}
.tab-btn {
width: 100%;
min-height: 42px;
padding: 10px 20px;
color: var(--text-main);
background: var(--bg-main);
border: 1px solid var(--border-color);
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition:
color var(--transition-fast),
background-color var(--transition-fast);
}
.tab-btn.active {
color: #ffffff;
background: var(--o-red);
box-shadow:
0 4px 10px rgba(218, 41, 28, 0.22);
}
.action-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 42px;
padding: 10px 20px;
color: #ffffff;
background: var(--accent);
border: 0;
border-radius: var(--radius-full);
font-weight: 700;
cursor: pointer;
box-shadow: var(--shadow-sm);
transition:
transform var(--transition-fast),
opacity var(--transition-fast);
}
.action-btn:hover:not(:disabled) {
opacity: 0.92;
}
.side-icon-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
width: 50px;
height: 50px;
flex-shrink: 0;
color: #ffffff;
background: rgba(0, 0, 0, 0.55);
border: 0;
border-radius: 50%;
font-size: 18px;
line-height: 1;
cursor: pointer;
}
.side-icon-btn span {
font-size: 11px;
font-weight: 700;
}
.ctrl-btn {
min-height: 40px;
padding: 10px 20px;
border: 0;
border-radius: var(--radius-sm);
font-weight: 700;
cursor: pointer;
}
.ctrl-btn.start {
color: #ffffff;
background: #218838;
}
.ctrl-btn.stop {
color: #ffffff;
background: #c82333;
}
.ctrl-btn.close {
color: #ffffff;
background: #5a6268;
}
.mobile-back-btn {
display: none;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
flex-shrink: 0;
color: var(--text-main);
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: 50%;
font-size: 1.1rem;
cursor: pointer;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 40px;
padding: 10px 14px;
border: 1px solid transparent;
border-radius: var(--radius-sm);
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition:
opacity var(--transition-fast),
background-color var(--transition-fast);
}
.btn:hover:not(:disabled) {
opacity: 0.9;
}
.btn-primary {
color: #ffffff;
background: var(--o-blue);
}
.btn-success {
color: #ffffff;
background: #168744;
}
.btn-danger {
color: #ffffff;
background: #c82333;
}
.btn-dark {
color: #ffffff;
background: var(--o-black);
}
.btn-teal {
color: #ffffff;
background: #008f78;
}
.btn-secondary,
.btn-outline,
.btn-outline-sm {
color: var(--text-main);
background: var(--bg-surface);
border-color: var(--border-color);
}
.btn-outline-sm {
min-height: 32px;
padding: 6px 14px;
font-size: 12px;
}
.btn-lg {
min-height: 48px;
padding: 14px;
font-size: 15px;
}
.card {
width: 100%;
max-width: 580px;
min-width: 0;
margin: 0 0 20px;
padding: 20px;
color: var(--text-main);
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
transition:
box-shadow var(--transition),
border-color var(--transition);
}
.card-title {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 15px;
color: var(--text-main);
font-size: 1.1rem;
}
.card-subtitle {
display: block;
margin: 0 0 10px;
color: var(--text-main);
font-weight: 700;
}
.setting-item {
margin-bottom: 15px;
}
.setting-item:last-child {
margin-bottom: 0;
}
.avatar {
display: inline-flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
flex-shrink: 0;
color: #ffffff;
background: var(--o-blue);
border-radius: 50%;
font-size: 1.2rem;
font-weight: 700;
object-fit: cover;
overflow: hidden;
}
.profile-avatar,
.profile-view-img {
display: block;
width: 120px;
height: 120px;
margin: 0 auto 15px;
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--o-green);
}
.profile-avatar {
width: 110px;
height: 110px;
border-width: 3px;
border-color: var(--o-blue);
box-shadow: var(--shadow);
}
.profile-avatar-dynamic {
display: block;
width: 110px;
height: 110px;
margin: 0 auto;
border: 3px solid var(--accent);
border-radius: 50%;
object-fit: cover;
}
.icon-png-container {
display: inline-block;
margin-bottom: 20px;
padding: 20px;
background: var(--card-bg);
border-radius: 50%;
box-shadow: var(--shadow);
}
.icon-png-icon {
display: block;
width: 120px;
height: auto;
filter:
drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
transition: transform var(--transition-smooth);
}
.story-card {
position: relative;
width: 110px;
min-width: 110px;
height: 170px;
flex-shrink: 0;
overflow: hidden;
background: var(--bg-surface);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
cursor: pointer;
}
.story-card img.story-bg,
.story-card > .story-bg,
.story-bg {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.story-card img.story-bg {
transition: transform var(--transition-smooth);
}
.story-user-avatar {
position: absolute;
top: 8px;
left: 8px;
z-index: 2;
width: 40px;
height: 40px;
padding: 2px;
background: var(--story-gradient);
border-radius: 50%;
}
.story-user-avatar img {
width: 100%;
height: 100%;
border: 2px solid var(--bg-surface);
border-radius: 50%;
object-fit: cover;
}
.story-user-img {
position: absolute;
top: 8px;
left: 8px;
z-index: 2;
width: 35px;
height: 35px;
border: 2px solid var(--o-green);
border-radius: 50%;
object-fit: cover;
}
.skeleton {
margin-bottom: 10px;
background:
linear-gradient(
90deg,
#eeeeee 25%,
#dddddd 50%,
#eeeeee 75%
);
background-size: 200% 100%;
border-radius: 10px;
animation: shimmer 1.5s linear infinite;
}
[data-theme="dark"] .skeleton {
background:
linear-gradient(
90deg,
#202938 25%,
#303b4d 50%,
#202938 75%
);
background-size: 200% 100%;
}
.skeleton-text {
width: 80%;
height: 15px;
}
.skeleton-img {
width: 100%;
height: 200px;
}
.mobile-header {
position: sticky;
top: 0;
z-index: var(--z-sticky);
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 20px;
color: var(--text-main);
background: var(--bg-glass);
border-bottom: 1px solid var(--border-color);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}
#mobile-nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
max-width: 100%;
padding: 12px 16px;
color: #ffffff;
background: #080808;
box-sizing: border-box;
}
.sidebar {
position: fixed;
top: 0;
left: 0;
z-index: var(--z-sidebar);
display: flex;
flex-direction: column;
width: 240px;
height: 100vh;
height: 100dvh;
padding: 20px 15px;
color: #ffffff;
background: #0d1117;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
transform: translateX(-100%);
transition:
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar.active {
transform: translateX(0);
}
#sidebar-overlay {
position: fixed;
inset: 0;
z-index: var(--z-overlay);
display: none;
background: rgba(0, 0, 0, 0.55);
cursor: pointer;
}
#sidebar-overlay.active {
display: block;
}
.nav-item {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
min-height: 44px;
margin-bottom: 8px;
padding: 12px 15px;
color: #ffffff;
background: transparent;
border-radius: 10px;
font-size: 1rem;
text-decoration: none;
cursor: pointer;
transition:
background-color var(--transition-fast),
color var(--transition-fast);
}
.nav-item:hover,
.nav-item.active {
color: #ffffff;
background: var(--o-red);
}
.page {
display: none !important;
width: 100%;
min-width: 0;
min-height: 100vh;
min-height: 100dvh;
}
.page.active {
display: flex !important;
flex-direction: column;
align-items: stretch;
width: 100%;
min-width: 0;
margin: 0;
padding: 0;
}
#home-page.active {
flex-direction: row;
align-items: flex-start;
}
.page>.main-content,
.page>main,
.page>.page-content {
width: 100%;
max-width: 1200px;
min-width: 0;
margin: 0 auto;
padding: 16px;
box-sizing: border-box;
}
.page-section.active,
.content-section.active {
width: 100%;
min-width: 0;
margin-top: 0;
box-sizing: border-box;
}
#explore-page,
#videos-page,
#users-page,
#messaging-page,
#notifications-page,
#calls-page,
#profile-page,
#settings-page {
align-items: stretch;
justify-content: flex-start;
}
@media (max-width: 768px) {
.page.active {
width: 100%;
min-width: 0;
}
#home-page.active {
flex-direction: column;
}
.page>.main-content,
.page>main,
.page>.page-content {
width: 100%;
max-width: 100%;
margin: 0;
padding: 12px;
}
}
.home-feed-container {
display: flex;
align-items: flex-start;
gap: 20px;
width: 100%;
min-width: 0;
}
.feed-left {
flex: 1;
width: 100%;
max-width: 100%;
min-width: 0;
}
.notification-sidebar-right {
display: none;
width: 340px;
min-width: 0;
flex-shrink: 0;
margin-right: 10px;
}
.page-section,
.content-section {
display: none;
min-width: 0;
}
.page-section.active {
display: block !important;
animation: fadeIn 0.25s ease;
}
.content-section.active {
display: block;
}
.hidden {
display: none !important;
}
#welcome-page {
align-items: center;
justify-content: center;
min-height: 100vh;
min-height: 100dvh;
padding: 20px;
color: #111111;
background:
linear-gradient(
135deg,
#000000 0%,
#000000 30%,
#da291c 30%,
#da291c 60%,
#ffffff 60%,
#ffffff 100%
);
text-align: center;
}
.app-title {
margin-top: 10px;
font-size: clamp(1.8rem, 6vw, 2.5rem);
font-weight: 800;
overflow-wrap: anywhere;
}
.green {
color: var(--o-green);
}
.red {
color: var(--o-red);
}
.form-container {
width: 95%;
max-width: 550px;
min-width: 0;
margin: 0 auto;
padding: 30px;
color: var(--text-main);
background: var(--card-bg);
border-radius: 25px;
box-shadow: var(--shadow);
}
input,
select,
textarea {
display: block;
width: 100%;
min-width: 0;
min-height: 44px;
margin: 0 0 15px;
padding: 12px;
color: var(--text-main);
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 10px;
outline: none;
font-size: 1rem;
transition:
border-color var(--transition-fast),
box-shadow var(--transition-fast);
}
input:focus,
select:focus,
textarea:focus {
border-color: var(--o-blue);
box-shadow:
0 0 0 3px rgba(0, 123, 255, 0.12);
}
input::placeholder,
textarea::placeholder {
color: var(--text-muted);
opacity: 0.8;
}
input[type="checkbox"],
input[type="radio"] {
width: auto;
min-height: 0;
margin: 0;
accent-color: var(--o-green);
}
input[type="file"] {
max-width: 100%;
padding: 8px;
font-size: 14px;
}
textarea {
min-height: 100px;
max-height: 300px;
padding: 10px;
overflow-y: auto;
resize: vertical;
}
.textarea-box {
height: 80px;
resize: vertical;
}
.form-label {
display: block;
margin-bottom: 8px;
color: var(--text-main);
font-size: 14px;
font-weight: 600;
}
.form-control {
width: 100%;
min-width: 0;
min-height: 42px;
padding: 11px;
color: var(--text-main);
background: var(--bg-main);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
font-family: inherit;
font-size: 14px;
}
.form-control:focus {
border-color: var(--o-blue);
outline: 2px solid rgba(0, 123, 255, 0.12);
}
.password-wrapper {
position: relative;
width: 100%;
min-width: 0;
}
.password-wrapper input {
padding-right: 48px;
}
.toggle-password {
position: absolute;
top: 50%;
right: 14px;
transform: translateY(-50%);
color: var(--text-muted);
font-size: 1.2rem;
cursor: pointer;
}
.modal,
.modal-overlay {
position: fixed;
inset: 0;
z-index: var(--z-modal);
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
height: 100dvh;
padding: 16px;
overflow-y: auto;
background: rgba(0, 0, 0, 0.68);
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
}
.modal {
display: none;
}
.modal-overlay {
display: flex;
}
.modal-content,
.modal-card {
position: relative;
width: 100%;
max-width: 450px;
min-width: 0;
max-height: 85vh;
max-height: 85dvh;
margin: auto;
padding: 25px;
color: var(--text-main);
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
overflow-y: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
}
.modal-content {
text-align: center;
}
.modal-card {
text-align: left;
}
.modal-sm {
max-width: 400px;
}
.modal-md {
max-width: 450px;
}
.modal-lg {
max-width: 650px;
}
.modal-title {
margin-top: 0;
font-weight: 800;
}
.modal-desc {
margin-bottom: 20px;
font-size: 0.9rem;
color: var(--text-muted);
}
.close-modal,
.close-btn {
position: absolute;
top: 10px;
right: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
color: var(--text-main);
background: transparent;
border: 0;
border-radius: 50%;
font-size: 25px;
cursor: pointer;
}
.close-btn {
top: 12px;
right: 12px;
}
.close-modal:hover,
.close-btn:hover {
background: var(--border-color);
}
#privacy-modal .modal-content {
position: relative;
max-height: 85vh;
max-height: 85dvh;
padding: 20px;
border-radius: 12px;
overflow-y: auto;
text-align: left;
-webkit-overflow-scrolling: touch;
}
#privacy-header {
position: sticky;
top: 0;
z-index: 10;
padding-bottom: 10px;
color: var(--text-main);
background: var(--card-bg);
border-bottom: 1px solid var(--border-color);
}
.modal-header-bordered {
margin-top: 0;
padding-bottom: 10px;
border-bottom: 2px solid var(--o-green);
font-size: 1.3rem;
font-weight: 800;
}
.dropdown-menu {
position: absolute;
top: 45px;
left: 20px;
z-index: var(--z-dropdown);
width: 180px;
max-width: calc(100vw - 32px);
padding: 5px 0;
color: var(--text-main);
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
box-shadow: var(--shadow-md);
}
.dropdown-item {
display: block;
padding: 9px 12px;
color: var(--text-main);
font-size: 13px;
cursor: pointer;
}
.dropdown-item:hover {
background: var(--bg-main);
}
.profile-page-container {
width: 100%;
max-width: 500px;
min-width: 0;
margin: 0 auto;
padding: 20px;
}
.profile-card-dynamic {
padding: 25px;
color: var(--text-main);
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 15px;
text-align: center;
box-shadow: var(--shadow);
}
.profile-name {
margin: 5px 0 2px;
font-size: 1.35rem;
font-weight: 700;
}
.profile-handle {
margin: 0 0 4px;
color: var(--o-blue);
font-size: 12px;
font-weight: 600;
}
.profile-subtext {
margin: 0 0 5px;
color: var(--text-muted);
font-size: 13px;
}
.profile-location {
margin: 0 0 8px;
color: var(--o-blue);
font-size: 13px;
font-weight: 600;
}
.profile-bio {
margin: 0 0 15px;
padding: 0 10px;
font-size: 14px;
overflow-wrap: anywhere;
}
.profile-stats,
.profile-stats-dynamic {
display: flex;
justify-content: space-around;
gap: 12px;
margin: 15px 0;
padding: 15px 0;
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
text-align: center;
}
.stat-num {
display: block;
font-size: 1.15rem;
font-weight: 700;
}
.stat-label {
color: var(--text-muted);
font-size: 12px;
}
.profile-stats-dynamic {
margin: 20px 0;
}
.posts-scroll-area {
max-height: 220px;
padding-top: 5px;
border-top: 1px solid var(--border-color);
overflow-y: auto;
}
.clickable-user {
color: var(--o-blue);
cursor: pointer;
}
.clickable-user:hover {
text-decoration: underline;
}
.settings-container {
width: 100%;
max-width: 650px;
min-width: 0;
margin: 0 auto;
padding: 10px;
box-sizing: border-box;
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
sans-serif;
}
.settings-content {
display: none;
}
.settings-content.active {
display: block;
animation: fadeIn 0.25s ease;
}
.switch-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: var(--text-main);
font-size: 14px;
cursor: pointer;
}
.form-checkbox {
width: 18px;
height: 18px;
flex-shrink: 0;
cursor: pointer;
}
.help-text {
display: block;
margin-top: 6px;
color: var(--text-muted);
font-size: 12px;
}
.blocked-area {
margin-top: 15px;
padding-top: 12px;
border-top: 1px solid var(--border-color);
}
.settings-actions {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid var(--border-color);
}
.chat-layout-wrapper {
display: grid;
grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
gap: 16px;
width: 100%;
max-width: 1200px;
min-width: 0;
height: calc(100vh - 90px);
height: calc(100dvh - 90px);
}
.msg {
max-width: 80%;
margin-bottom: 10px;
padding: 10px;
border-radius: 15px;
overflow-wrap: anywhere;
}
.msg.sent {
align-self: flex-end;
color: #ffffff;
background: var(--o-green);
}
.msg.received {
align-self: flex-start;
color: var(--text-main);
background: var(--bg-main);
}
.msg-bubble {
position: relative;
max-width: 75%;
padding: 10px 14px;
border-radius: 18px;
font-size: 14.5px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.msg-me {
align-self: flex-end;
color: #ffffff;
background: #087be8;
border-bottom-right-radius: 4px;
}
.msg-them {
align-self: flex-start;
color: var(--text-main);
background: var(--bg-main);
border: 1px solid var(--border-color);
border-bottom-left-radius: 4px;
}
.msg-time {
display: block;
margin-top: 4px;
font-size: 10px;
opacity: 0.7;
text-align: right;
}
.msg-status {
float: right;
margin-left: 5px;
color: #00a8a8;
font-size: 11px;
}
.chat-media-content {
display: block;
width: auto;
max-width: 100%;
max-height: 250px;
margin-bottom: 5px;
border-radius: 12px;
object-fit: contain;
}
#videos-section {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
height: 100vh;
height: 100dvh;
overflow: hidden;
color: #ffffff;
background: #000000;
}
.video-top-bar {
position: absolute;
top: 20px;
left: 50%;
z-index: 20;
display: flex;
align-items: center;
gap: 15px;
transform: translateX(-50%);
}
.tiktok-feed-container {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
scroll-snap-type: y mandatory;
overscroll-behavior-y: contain;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.tiktok-feed-container::-webkit-scrollbar,
#short-videos-container::-webkit-scrollbar {
display: none;
}
.video-card {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
height: 100dvh;
overflow: hidden;
background: #000000;
scroll-snap-align: start;
}
.video-card video {
width: 100%;
height: 100%;
object-fit: contain;
background: #000000;
}
.video-details-overlay {
position: absolute;
bottom: 40px;
left: 15px;
z-index: 5;
max-width: 70%;
color: #ffffff;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
.video-details-overlay h3 {
margin: 0 0 5px;
font-size: 16px;
font-weight: 600;
}
.video-details-overlay p {
margin: 0;
font-size: 14px;
}
.video-sidebar-actions {
position: absolute;
right: 15px;
bottom: 100px;
z-index: 5;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
#short-videos-container {
position: relative;
width: 100%;
height: 100vh;
height: 100dvh;
overflow-x: hidden;
overflow-y: auto;
color: #ffffff;
background: #000000;
scroll-snap-type: y mandatory;
overscroll-behavior-y: contain;
scrollbar-width: none;
-ms-overflow-style: none;
-webkit-overflow-scrolling: touch;
}
.short-video-card {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
height: 100dvh;
overflow: hidden;
background: #000000;
scroll-snap-align: start;
scroll-snap-stop: always;
}
.short-video-card video {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
background: #000000;
}
.video-overlay {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 12px;
padding: 20px 16px 30px;
color: #ffffff;
background:
linear-gradient(
to top,
rgba(0, 0, 0, 0.85) 0%,
rgba(0, 0, 0, 0.4) 60%,
transparent 100%
);
pointer-events: none;
}
.video-info,
.video-actions {
min-width: 0;
pointer-events: auto;
}
.video-info {
display: flex;
flex-direction: column;
gap: 8px;
max-width: 75%;
}
.video-user-details {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}
.video-user-details img {
width: 42px;
height: 42px;
flex-shrink: 0;
border: 2px solid #ffffff;
border-radius: 50%;
object-fit: cover;
}
.video-user-details b {
font-size: 15px;
font-weight: 600;
overflow-wrap: anywhere;
}
.video-caption {
display: -webkit-box;
margin: 0;
overflow: hidden;
font-size: 13.5px;
line-height: 1.4;
overflow-wrap: anywhere;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.video-actions {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
flex-shrink: 0;
}
.video-action-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
flex-shrink: 0;
color: #ffffff;
background: rgba(255, 255, 255, 0.18);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 50%;
cursor: pointer;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
transition:
transform var(--transition-fast),
background-color var(--transition-fast);
}
.video-action-btn:active {
transform: scale(0.92);
background: rgba(255, 255, 255, 0.32);
}
.video-action-btn .icon {
font-size: 20px;
}
.video-action-btn .count {
margin-top: 2px;
font-size: 11px;
font-weight: 600;
}
.recorder-container {
position: fixed;
inset: 0;
z-index: var(--z-video);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
height: 100dvh;
padding: 20px;
background: rgba(0, 0, 0, 0.96);
}
#preview-live-camera {
width: 100%;
max-width: 400px;
height: 50vh;
height: 50dvh;
background: #222222;
border-radius: 12px;
object-fit: contain;
}
.recorder-controls {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-top: 20px;
}
.video-call-modal-overlay {
position: fixed;
inset: 0;
z-index: var(--z-video);
width: 100%;
height: 100vh;
height: 100dvh;
background: #000000;
}
.video-streams {
position: relative;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
}
.video-controls {
position: absolute;
bottom: max(24px, env(safe-area-inset-bottom));
left: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
transform: translateX(-50%);
}
.btn-circle-blur,
.btn-circle-danger {
display: inline-flex;
align-items: center;
justify-content: center;
width: 55px;
height: 55px;
flex-shrink: 0;
border: 0;
border-radius: 50%;
color: #ffffff;
font-size: 20px;
cursor: pointer;
}
.btn-circle-blur {
background: rgba(255, 255, 255, 0.2);
}
.btn-circle-danger {
background: #e63946;
box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}
#video-call-container {
position: fixed;
inset: 0;
z-index: 100001;
width: 100%;
height: 100vh;
height: 100dvh;
background: #000000;
}
#incoming-call-modal {
z-index: 100002;
}
.oro-call-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
min-width: 42px;
flex-shrink: 0;
color: #ffffff;
background: var(--o-green);
border: 0;
border-radius: 50%;
font-size: 21px;
cursor: pointer;
transition:
transform var(--transition-fast),
opacity var(--transition-fast);
}
.oro-call-btn:hover {
opacity: 0.9;
}
.oro-call-btn:active {
transform: scale(0.96);
}
.phone-pulse-icon {
display: inline-block;
animation: phonePulse 1.2s infinite alternate ease-in-out;
}
.privacy-body {
font-size: 14px;
line-height: 1.7;
text-align: left;
}
.privacy-body h4 {
margin: 15px 0 5px;
font-weight: 700;
}
.privacy-body ul {
display: flex;
flex-direction: column;
gap: 6px;
margin: 0 0 15px;
padding-left: 20px;
}
.link-green {
color: var(--o-green);
text-decoration: underline;
}
.link-green-bold {
color: var(--o-green);
font-weight: 700;
}
.text-green-bold {
margin-bottom: 5px;
color: var(--o-green);
font-weight: 700;
}
.text-muted-sm {
margin-bottom: 20px;
color: var(--text-muted);
font-size: 12px;
}
.text-center-green-bold {
margin-top: 15px;
color: var(--o-green);
font-size: 14px;
font-weight: 800;
letter-spacing: 1px;
text-align: center;
}
.eula-box {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 25px;
padding: 15px;
background: rgba(218, 41, 28, 0.035);
border: 1px solid rgba(218, 41, 28, 0.25);
border-radius: 10px;
}
.eula-text {
margin: 0;
font-size: 13px;
line-height: 1.6;
overflow-wrap: anywhere;
}
.nav-link.active {
color: var(--o-green);
font-weight: 700;
}
.full-width {
width: 100%;
}
.flex-column {
display: flex;
flex-direction: column;
}
.flex-row {
display: flex;
}
.flex-between {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.gap-x {
gap: 10px;
}
.gap-y {
display: flex;
flex-direction: column;
gap: 12px;
}
.flex-1 {
flex: 1;
min-width: 0;
}
.flex-2 {
flex: 2;
min-width: 0;
}
.mb-12 {
margin-bottom: 12px;
}
.mb-15 {
margin-bottom: 15px;
}
.mt-15 {
margin-top: 15px;
}
.m-0 {
margin: 0 !important;
}
.relative {
position: relative;
}
.text-center {
text-align: center;
}
.text-danger {
color: var(--o-red);
}
.text-danger-bold {
color: var(--o-red);
font-weight: 700;
}
.icon-green {
color: var(--o-green);
}
.text-delete-link {
display: inline-block;
margin-top: 10px;
padding: 5px;
color: var(--o-red);
font-size: 13px;
font-weight: 600;
text-align: center;
text-decoration: underline;
cursor: pointer;
}
@media (max-width: 768px) {
html,
body {
width: 100%;
max-width: 100%;
}
.mobile-back-btn {
display: inline-flex;
}
.sidebar {
width: min(280px, 85vw);
}
#mobile-nav {
position: sticky;
top: 0;
z-index: 2500;
display: flex !important;
padding-top: max(12px, env(safe-area-inset-top));
}
#home-page.active {
flex-direction: column;
align-items: stretch;
}
#home-page .main-content,
.main-content {
width: 100%;
max-width: 100%;
min-width: 0;
margin-left: 0;
padding: 10px 0;
}
.home-feed-container {
display: block;
}
.feed-left {
width: 100%;
max-width: 100%;
min-width: 0;
}
.notification-sidebar-right {
display: none !important;
}
.card {
max-width: 100%;
padding: 16px;
}
.form-container {
width: 100%;
padding: 24px 18px;
border-radius: 18px;
}
.profile-page-container {
padding: 14px;
}
.chat-layout-wrapper {
grid-template-columns: minmax(0, 1fr);
height: calc(100vh - 80px);
height: calc(100dvh - 80px);
}
.video-details-overlay {
bottom: 30px;
left: 12px;
max-width: 72%;
}
.video-sidebar-actions {
right: 10px;
bottom: 85px;
gap: 14px;
}
.video-overlay {
padding:
16px 12px
max(24px, env(safe-area-inset-bottom));
}
.video-info {
max-width: 74%;
}
.video-actions {
gap: 13px;
}
.video-action-btn {
width: 44px;
height: 44px;
}
.modal-content,
.modal-card {
max-width: 100%;
padding: 22px 18px;
}
}
@media (max-width: 380px) {
.card {
padding: 12px;
}
.form-container {
padding: 20px 14px;
}
.story-card {
width: 95px;
min-width: 95px;
height: 150px;
}
.video-info {
max-width: 70%;
}
.video-user-details img {
width: 36px;
height: 36px;
}
.video-action-btn {
width: 40px;
height: 40px;
}
.video-actions {
gap: 10px;
}
.btn-circle-blur,
.btn-circle-danger {
width: 48px;
height: 48px;
}
}
@media (min-width: 769px) {
.sidebar.active {
transform: translateX(0);
}
}
@media (hover: hover) and (pointer: fine) {
.card:hover {
box-shadow: var(--shadow-md);
}
.story-card:hover img.story-bg {
transform: scale(1.04);
}
.icon-png-icon:hover {
transform: scale(1.04);
}
.side-icon-btn:hover {
transform: scale(1.05);
}
.video-action-btn:hover {
background: rgba(255, 255, 255, 0.30);
}
}
@supports (padding: env(safe-area-inset-bottom)) {
#mobile-nav {
padding-bottom: max(12px, env(safe-area-inset-bottom));
}
}
.oro-ai-tools {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 12px 0;
}
.oro-ai-tools button,
.oro-ai-tools select {
flex: 1 1 auto;
min-height: 40px;
padding: 9px 12px;
border: 1px solid var(--border-color);
border-radius: 9px;
background: var(--card-bg);
color: var(--text-main);
font-weight: 600;
cursor: pointer;
}
.oro-ai-tools button {
border-color: var(--o-red);
}
#oro-ai-post-status {
width: 100%;
font-size: 12px;
color: var(--text-main);
}
#oro-ai-launcher {
position: fixed;
right: 16px;
bottom: 85px;
z-index: 7000;
padding: 13px 18px;
border: none;
border-radius: 30px;
background: linear-gradient(135deg,#da291c,#a71912);
color: white;
font-weight: 800;
box-shadow: 0 5px 20px #0003;
}
.oro-ai-panel {
position: fixed;
right: 12px;
bottom: 145px;
z-index: 7001;
width: min(390px, calc(100vw - 24px));
height: min(550px, 70dvh);
background: var(--card-bg);
color: var(--text-main);
border: 1px solid var(--border-color);
border-radius: 18px;
box-shadow: 0 10px 40px #0004;
overflow: hidden;
flex-direction: column;
}
.oro-ai-panel:not([hidden]) {
display: flex;
}
.oro-ai-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px;
background: #da291c;
color: white;
}
.oro-ai-header small {
display: block;
margin-top: 4px;
}
.oro-ai-header button {
background: transparent;
color: white;
border: none;
font-size: 27px;
}
.oro-ai-messages {
flex: 1;
overflow-y: auto;
padding: 12px;
}
.oro-ai-bubble {
max-width: 85%;
padding: 11px;
margin: 8px 0;
border-radius: 12px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.oro-ai-bubble.ai {
background: var(--bg-main);
margin-right: auto;
}
.oro-ai-bubble.user {
background: #da291c;
color: white;
margin-left: auto;
}
.oro-ai-chat-form {
display: flex;
gap: 7px;
padding: 10px;
border-top: 1px solid var(--border-color);
}
.oro-ai-chat-form textarea {
flex: 1;
min-height: 42px;
max-height: 90px;
margin: 0;
}
.oro-ai-chat-form button {
border: none;
border-radius: 9px;
background: #da291c;
color: white;
padding: 10px;
font-weight: bold;
}
#calls-section{max-width:760px!important;margin:0 auto;color:var(--text-main)}
#calls-section .oro-call-shell{overflow:hidden;border:1px solid rgba(32,169,87,.22);border-radius:22px;background:var(--card-bg);box-shadow:var(--shadow)}
#calls-section .oro-call-hero{padding:22px 18px;background:linear-gradient(135deg,#07120f,#102b22 58%,#17191b);color:#f7fffb;position:relative;overflow:hidden}
#calls-section .oro-call-hero:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-65px;top:-75px;border:1px solid #ffffff20;box-shadow:0 0 0 22px #ffffff08,0 0 0 44px #ffffff05}
#calls-section .oro-call-brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.3px}
#calls-section .oro-call-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#06120c;background:linear-gradient(135deg,#fff 0 32%,#e32636 32% 67%,#090d0e 67%);border:1px solid #ffffff70;font-size:19px}
#calls-section .oro-call-hero h2{font-size:clamp(24px,5vw,32px);margin:20px 0 5px;color:#fff}
#calls-section .oro-call-hero p{margin:0;color:#c2d4cc;font-size:13px;line-height:1.6;max-width:420px}
#calls-section .oro-call-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px}
#calls-section .oro-call-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;border:0;border-radius:15px;padding:12px;color:#042014;background:linear-gradient(135deg,#20d58a,#079b60);font-weight:800;box-shadow:0 6px 18px #079b6020}
#calls-section .oro-call-action.video{background:linear-gradient(135deg,#ff6973,#c82137);color:white;box-shadow:0 6px 18px #c8213720}
#calls-section .oro-call-action span{font-size:20px}
#calls-section .oro-call-info{display:flex;gap:11px;align-items:flex-start;margin:0 16px 16px;padding:13px;border:1px solid rgba(32,169,87,.2);border-radius:15px;background:rgba(32,169,87,.06);font-size:12px;line-height:1.55}
#calls-section .oro-call-info b{display:block;margin-bottom:3px}
#calls-section .oro-call-history{padding:16px;border-top:1px solid rgba(127,127,127,.16)}
#calls-section .oro-call-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
#calls-section .oro-call-history h3{margin:0;font-size:16px;color:var(--text-main)}
#calls-section #call-logs-container{min-height:100px;max-height:420px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid rgba(127,127,127,.15);border-radius:14px;background:var(--bg-main)}
#calls-section #call-logs-container:empty:after{content:"Galmee bilbilaa fe’aa jira…";display:block;text-align:center;padding:25px 8px;opacity:.65;font-size:13px}
#calls-section .oro-call-new{border:1px solid rgba(32,169,87,.35);background:transparent;color:var(--o-green);border-radius:10px;padding:8px 11px;font-size:12px;font-weight:800}
@media(max-width:420px){#calls-section .oro-call-actions{padding:12px;gap:8px}#calls-section .oro-call-action{font-size:12px;padding:10px 7px}#calls-section .oro-call-history{padding:12px}}
.profile-action-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
width: 100%;
max-width: 480px;
margin: 15px auto;
}
.profile-action-grid > button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
min-width: 0;
min-height: 48px;
height: auto;
padding: 10px 8px;
border: none;
border-radius: 12px;
color: #fff;
font-size: 13px;
font-weight: 700;
cursor: pointer;
}
.profile-action-grid .follow-btn {
background: var(--o-green);
}
.profile-action-grid .message-btn {
background: var(--o-blue);
}
.profile-action-grid .voice-call-btn {
background: #168744;
}
.profile-action-grid .video-call-btn {
background: var(--o-red);
}
@media (max-width: 380px) {
.profile-action-grid {
gap: 8px;
}
.profile-action-grid > button {
font-size: 12px;
padding: 9px 5px;
}
}
input[type="checkbox"],
input[type="radio"] {
display: inline-block;
width: 18px;
min-width: 18px;
height: 18px;
min-height: 18px;
margin: 0 6px 0 0;
padding: 0;
vertical-align: middle;
cursor: pointer;
accent-color: var(--o-red);
}
input[type="file"] {
display: block;
width: 100%;
min-height: 44px;
padding: 8px;
}
input,
select,
textarea {
max-width: 100%;
}
textarea {
resize: vertical;
min-height: 100px;
}

html,
body {
max-width: 100%;
overflow-x: clip;
}
img,
video,
iframe {
max-width: 100%;
}
button,
.btn-main,
.btn-small,
.action-btn {
min-height: 44px;
}
.form-container {
width: min(100% - 24px, 550px);
min-width: 0;
padding: clamp(14px, 4vw, 30px);
}
@media (max-width: 768px) {
.chat-layout-wrapper {
grid-template-columns: minmax(0, 1fr);
width: 100%;
height: auto;
min-height: calc(100dvh - 80px);
}
.home-feed-container {
flex-direction: column;
width: 100%;
}
.feed-left {
width: 100%;
}
.mobile-header {
padding:
max(10px, env(safe-area-inset-top))
12px
10px;
}
#mobile-nav {
gap: 6px;
padding: 8px;
}
.sidebar {
width: min(280px, 85vw);
}
}
@media (max-width: 380px) {
.page > .main-content,
.page > main,
.page > .page-content {
padding: 8px;
}
.form-container {
padding: 12px;
}
}
button,
a,
input,
select,
textarea {
-webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 2px solid var(--o-red);
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
#sidebar-overlay {
display: none;
position: fixed;
inset: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1999;
}
#mobile-nav {
display: flex;
background: var(--o-black);
color: white;
padding: 12px 20px;
position: sticky;
top: 0;
z-index: 1001;
justify-content: space-between;
align-items: center;
}
#mobile-nav .brand {
font-weight: 800;
font-size: 1.5rem;
letter-spacing: 1px;
}
#mobile-nav .nav-actions {
display: flex;
align-items: center;
gap: 15px;
}
#mobile-nav button {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
}
#mobile-menu-btn {
color: cyan;
font-size: 32px !important;
padding: 5px;
position: relative;
z-index: 2000;
}
#welcome-page [data-i18n="welcome"] {
margin: 20px 0;
font-weight: 500;
color: var(--o-white);
}
.welcome-actions {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: 20px;
width: 100%;
}
.terms-box {
margin: 15px auto;
font-size: 14px;
text-align: center;
width: 260px;
background: #f0f2f5;
padding: 10px;
border-radius: 8px;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.terms-box input[type="checkbox"] {
transform: scale(1.2);
cursor: pointer;
vertical-align: middle;
}
.terms-box label {
line-height: 1.5;
margin-left: 5px;
color: #333;
font-size: 13px;
}
.terms-box a {
color: #007bff;
text-decoration: none;
font-weight: bold;
}
.welcome-buttons {
display: flex;
gap: 10px;
}
.welcome-buttons .btn-main {
width: 120px;
font-size: 1rem;
}
#welcome-login-btn {
background: var(--o-black);
}
#welcome-signup-btn {
background: var(--o-red);
opacity: 0.5;
cursor: not-allowed;
}
.welcome-divider {
width: 250px;
height: 1px;
background: #ddd;
margin: 20px auto;
}
.welcome-google {
text-align: center;
}
.welcome-google .btn-google {
width: 250px;
box-shadow: var(--shadow);
}
.welcome-google img {
width: 20px;
}
#signup-page {
display: none;
background: var(--o-green);
justify-content: center;
align-items: center;
padding: 20px;
}
#login-page {
display: none;
background: var(--o-red);
justify-content: center;
align-items: center;
padding: 20px;
}
.auth-title {
text-align: center;
margin-bottom: 20px;
font-weight: 800;
}
#login-page .auth-title {
margin-bottom: 15px;
}
.password-wrapper {
position: relative;
width: 100%;
}
.password-wrapper input {
width: 100%;
box-sizing: border-box;
}
.toggle-password {
position: absolute;
right: 10px;
top: 35%;
cursor: pointer;
}
.auth-divider {
text-align: center;
margin: 10px 0;
color: #666;
}
.auth-footer {
text-align: center;
margin-top: 10px;
}
.auth-footer.login-footer {
margin-top: 20px;
font-size: 1rem;
}
.auth-footer a {
color: var(--o-red);
font-weight: bold;
text-decoration: none;
}
.google-icon {
width: 20px;
}
.sidebar-title {
margin-bottom: 20px;
border-bottom: 1px solid #333;
padding-bottom: 10px;
font-size: 1.2rem;
color: var(--o-blue);
letter-spacing: 1px;
}
.logout-item {
color: #ff9999;
margin-top: 15px;
border-top: 1px solid #222;
padding-top: 10px;
}
#pull-refresh-indicator {
display: none;
}
#story-container {
border-radius: 16px;
margin-bottom: 20px;
box-shadow: var(--shadow);
}
.story-uploader-card {
background: var(--card-bg);
padding: 18px;
border-radius: 16px;
margin-bottom: 20px;
border: 1px solid rgba(255,255,255,0.05);
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}
.story-uploader-card h4 {
margin-top: 0;
font-size: 14px;
color: var(--text-main);
font-weight: 600;
letter-spacing: 0.5px;
display: flex;
align-items: center;
gap: 6px;
}
.story-uploader-card h4 span {
color: var(--o-green);
}
#story-media-upload {
display: none;
}
#story-choose-media-btn {
width: 100%;
padding: 12px;
background: rgba(0,0,0,0.2);
color: var(--text-main);
border: 2px dashed rgba(0,184,148,0.3);
border-radius: 10px;
margin-bottom: 12px;
cursor: pointer;
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
}
#file-status-label {
color: #00b894;
font-weight: bold;
}
#story-caption-text {
width: 100%;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid rgba(255,255,255,0.1);
background: var(--bg-main);
color: var(--text-main);
font-size: 13px;
box-sizing: border-box;
margin-bottom: 12px;
outline: none;
}
#story-progress-container {
display: none;
width: 100%;
background: rgba(255,255,255,0.1);
height: 6px;
border-radius: 4px;
margin-bottom: 12px;
overflow: hidden;
}
#story-progress-bar {
width: 0%;
height: 100%;
background: #00b894;
transition: width 0.2s;
}
.story-buttons {
display: flex;
gap: 10px;
}
#story-submit-btn {
flex: 1;
padding: 10px;
background: #00b894;
color: white;
border: none;
border-radius: 8px;
font-weight: bold;
font-size: 13px;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0,184,148,0.2);
}
.story-cancel-btn {
padding: 10px 16px;
background: #e11d48;
color: white;
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
}
.create-post-card {
border-top: 5px solid var(--o-green);
width: 100%;
box-sizing: border-box;
border-radius: 16px;
padding: 18px;
background: var(--card-bg);
box-shadow: var(--shadow);
}
.create-post-card h2 {
margin-bottom: 15px;
font-size: 1.1rem;
color: var(--text-main);
font-weight: 600;
letter-spacing: 0.3px;
}
#post-text {
height: 110px;
width: 100%;
resize: none;
padding: 12px;
border-radius: 10px;
border: 1px solid rgba(255,255,255,0.1);
background: var(--bg-main);
color: var(--text-main);
font-family: inherit;
font-size: 14px;
box-sizing: border-box;
outline: none;
line-height: 1.5;
}
.oro-ai-tools {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.oro-ai-tools button,
.oro-ai-tools select {
max-width: 100%;
}
#preview-container {
display: none;
position: relative;
margin: 15px 0;
width: 100%;
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow);
}
#image-preview {
width: 100%;
max-height: 320px;
object-fit: cover;
display: none;
}
#video-preview {
width: 100%;
max-height: 320px;
display: none;
background: #000;
}
.remove-media-preview {
position: absolute;
top: 10px;
right: 10px;
background: var(--o-red);
color: white;
border-radius: 50%;
cursor: pointer;
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 18px;
z-index: 10;
box-shadow: var(--shadow);
}
#upload-progress-container {
display: none;
width: 100%;
background: rgba(255,255,255,0.05);
border-radius: 10px;
margin: 15px 0;
padding: 10px;
box-sizing: border-box;
border: 1px solid rgba(255,255,255,0.05);
}
.upload-progress-heading {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
#progress-percent {
font-size: 12px;
font-weight: bold;
color: var(--o-green);
}
#cancel-upload-btn {
display: none;
font-size: 12px;
color: var(--o-red);
border: none;
background: none;
cursor: pointer;
font-weight: bold;
}
.upload-progress-track {
width: 100%;
background: rgba(0,0,0,0.2);
border-radius: 10px;
height: 6px;
overflow: hidden;
}
#upload-progress-bar {
width: 0%;
height: 100%;
background: var(--o-green);
transition: width 0.3s ease;
}
.post-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 12px;
border-top: 1px solid rgba(255,255,255,0.05);
padding-top: 12px;
}
.add-media-label {
cursor: pointer;
font-size: 1.5rem;
padding: 6px 10px;
background: rgba(255,255,255,0.03);
border-radius: 8px;
transition: background 0.2s;
}
#media-upload {
display: none;
}
#post-btn {
width: auto;
padding: 10px 28px;
margin: 0;
font-weight: 600;
border-radius: 8px;
letter-spacing: 0.3px;
}
#feed-container {
width: 100%;
margin-top: 20px;
}
#post-skeleton {
display: none;
}
.post-skeleton-card {
padding: 18px;
margin-bottom: 20px;
border-radius: 16px;
background: var(--card-bg);
box-shadow: var(--shadow);
height: auto;
border: 1px solid rgba(255,255,255,0.03);
}
.skeleton-user-row {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.skeleton-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(255,255,255,0.08);
}
.skeleton-user-name {
width: 130px;
height: 14px;
margin-left: 12px;
background: rgba(255,255,255,0.08);
border-radius: 4px;
}
.skeleton-image {
margin-bottom: 15px;
height: 200px;
background: rgba(255,255,255,0.05);
border-radius: 12px;
}
.skeleton-line {
height: 12px;
background: rgba(255,255,255,0.05);
margin-bottom: 8px;
border-radius: 4px;
}
.skeleton-line.long {
width: 92%;
}
.skeleton-line.short {
width: 65%;
}
.notification-sidebar-right .card {
border-top: 5px solid #1877F2;
padding: 18px;
border-radius: 16px;
background: var(--card-bg);
box-shadow: var(--shadow);
position: sticky;
top: 20px;
}
.notification-sidebar-right h5 {
margin-top: 0;
font-size: 14px;
color: var(--text-main);
font-weight: 600;
display: flex;
align-items: center;
justify-content: space-between;
}
.notification-sidebar-right h5 span {
display: flex;
align-items: center;
gap: 6px;
}
.notification-sidebar-right p {
font-size: 12px;
color: var(--text-main);
opacity: 0.5;
text-align: center;
padding: 15px 0;
}
#explore-section {
padding: 20px 0;
display: none;
}
#explore-section .card {
border-top: 6px solid var(--o-blue);
padding: 20px;
border-radius: 8px;
box-shadow: var(--shadow);
width: 100%;
max-width: 650px;
margin: 0 auto;
box-sizing: border-box;
}
#explore-section h3 {
margin-top: 0;
color: var(--text-main);
}
.explore-description {
font-size: 0.9rem;
color: var(--text-main);
opacity: 0.7;
margin-bottom: 15px;
}
.explore-search-row {
display: flex;
gap: 10px;
align-items: center;
}
#search-input {
flex: 1;
min-width: 0;
padding: 10px;
border: 1px solid rgba(0,0,0,0.15);
background: var(--bg-main);
color: var(--text-main);
border-radius: 6px;
outline: none;
margin-bottom: 0;
box-sizing: border-box;
}
.explore-search-row button {
flex: 0 0 100px;
padding: 10px;
background: var(--o-blue);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
margin: 0;
}
#search-results {
margin-top: 25px;
border-top: 1px solid rgba(0,0,0,0.1);
padding-top: 15px;
}
#search-results p {
text-align: center;
color: var(--text-main);
opacity: 0.5;
font-style: italic;
}
#videos-section {
padding: 20px 0;
display: none;
width: 100%;
max-width: 650px;
margin: 0 auto;
box-sizing: border-box;
}
#videos-section .upload-card {
border-top: 6px solid #fe2c55;
border-radius: 12px;
padding: 20px;
box-shadow: var(--shadow);
margin-bottom: 20px;
width: 100%;
background: var(--card-bg);
box-sizing: border-box;
}
#videos-section h3 {
margin-top: 0;
color: var(--text-main);
margin-bottom: 5px;
}
#videos-section .description {
font-size: 0.9rem;
color: var(--text-main);
opacity: 0.7;
margin-bottom: 15px;
}
#videos-section hr {
border: 0;
border-top: 1px solid rgba(0,0,0,0.1);
margin-bottom: 15px;
}
#videos-section .upload-form {
display: flex;
flex-direction: column;
gap: 12px;
}
#videos-section label {
display: block;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 5px;
color: var(--text-main);
}
#videos-section input[type="file"],
#videos-section input[type="text"] {
width: 100%;
max-width: 100%;
box-sizing: border-box;
padding: 10px;
border: 1px solid rgba(0,0,0,0.15);
background: var(--bg-main);
color: var(--text-main);
border-radius: 8px;
outline: none;
}
#videos-section input[type="file"] {
padding: 8px;
}
#short-video-limit {
margin: 0;
font-size: 0.8rem;
color: var(--text-main);
opacity: 0.7;
}
#videos-section .upload-form button {
padding: 12px;
background: #fe2c55;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
width: 100%;
margin-top: 5px;
}
#short-videos-container {
display: flex;
flex-direction: column;
gap: 20px;
}
.short-video-card {
position: relative;
border-radius: 12px;
overflow: hidden;
background: #000;
box-shadow: var(--shadow);
width: 100%;
}
.short-video-card video {
width: 100%;
display: block;
object-fit: cover;
max-height: 650px;
}
.video-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
background: linear-gradient(transparent, rgba(0,0,0,0.85));
color: white;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.video-info {
max-width: 75%;
}
.video-user-details {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.video-user-details img {
width: 36px;
height: 36px;
border-radius: 50%;
border: 2px solid #fff;
object-fit: cover;
}
.video-user-details b {
font-size: 0.95rem;
}
.video-caption {
margin: 0;
font-size: 0.88rem;
opacity: 0.9;
line-height: 1.3;
}
.video-actions {
display: flex;
flex-direction: column;
gap: 12px;
align-items: center;
}
.video-action-btn {
background: rgba(255,255,255,0.2);
border: none;
color: white;
padding: 10px;
border-radius: 50%;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
backdrop-filter: blur(5px);
}
.video-action-btn .icon {
font-size: 1.1rem;
}
.video-action-btn .count {
font-size: 0.7rem;
}
@media (max-width: 768px) {
#explore-section .card {
padding: 15px;
}
.explore-search-row {
gap: 6px;
}
.explore-search-row button {
flex-basis: 90px;
}
.video-overlay {
padding: 12px;
}
.video-info {
max-width: 72%;
}
}
#users-section {
display: none;
width: 100%;
max-width: 650px;
padding: 10px 0;
box-sizing: border-box;
}
#users-section > .card {
border-radius: 12px;
padding: 15px;
box-shadow: var(--shadow);
width: 100%;
box-sizing: border-box;
margin-bottom: 15px;
}
#users-section > .card:first-child {
border-top: 6px solid var(--o-green);
}
#users-section > .card:nth-child(2) {
border-top: 6px solid #e11d48;
}
#users-section h3 {
color: var(--text-main);
margin-top: 0;
margin-bottom: 5px;
}
#users-section p {
color: var(--text-main);
opacity: .7;
margin-bottom: 10px;
}
#users-section > .card:first-child p {
font-size: .9rem;
}
#users-section > .card:nth-child(2) p {
font-size: .85rem;
}
#users-section hr {
border: 0;
border-top: 1px solid rgba(0,0,0,.1);
margin-bottom: 15px;
}
#messages-section {
height: calc(100vh - 70px);
min-height: 480px;
display: none;
justify-content: center;
background: var(--bg-main);
padding: 12px 0;
box-sizing: border-box;
}
.chat-layout-wrapper {
width: 100%;
height: 100%;
display: flex;
gap: 16px;
max-width: 1200px;
position: relative;
min-width: 0;
}
#chat-sidebar-section {
width: 100%;
height: 100%;
min-width: 0;
display: flex;
flex-direction: column;
background: var(--card-bg);
padding: 16px;
border-radius: 20px;
box-shadow: var(--shadow);
border: 1px solid rgba(255,255,255,.05);
transition: all .3s ease;
margin-bottom: 0;
box-sizing: border-box;
}
#chat-sidebar-section h4 {
margin-top: 0;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(255,255,255,.08);
color: var(--text-main);
font-size: 18px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}
.chat-sidebar-icon {
background: rgba(14,129,64,.15);
padding: 8px;
border-radius: 10px;
color: #00b894;
display: flex;
align-items: center;
justify-content: center;
}
.telegram-tabs {
display: flex;
background: rgba(0,0,0,.2);
padding: 4px;
border-radius: 12px;
margin-bottom: 16px;
border: 1px solid rgba(255,255,255,.03);
}
.chat-tab-btn {
flex: 1;
padding: 10px 4px;
border: none;
border-radius: 9px;
font-weight: 700;
font-size: 14px;
background: #00b894;
color: white;
transition: .2s;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
#users-chat-list {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 8px;
}
#active-chat-window {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
min-width: 0;
background: #18191a;
border-radius: 20px;
display: none;
flex-direction: column;
box-shadow: 0 12px 36px rgba(0,0,0,.5);
border: 1px solid rgba(255,255,255,.08);
z-index: 10;
overflow: hidden;
}
#chat-header {
padding: 14px 16px;
border-bottom: 1px solid rgba(255,255,255,.08);
display: flex;
align-items: center;
justify-content: space-between;
background: #242526;
flex-shrink: 0;
}
.chat-header-user {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.chat-back-btn {
background: rgba(255,255,255,.05);
border: none;
color: #0084ff;
font-size: 16px;
cursor: pointer;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: .2s;
flex-shrink: 0;
}
.chat-avatar-wrapper {
position: relative;
display: inline-block;
flex-shrink: 0;
}
#chatting-with-pic {
width: 42px;
height: 42px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #242526;
}
#header-status-dot {
position: absolute;
bottom: 1px;
right: 1px;
width: 11px;
height: 11px;
background-color: #2ecc71;
border: 2px solid #242526;
border-radius: 50%;
display: block;
}
.chat-user-info {
min-width: 0;
}
#chatting-with-name {
display: block;
font-size: 15px;
color: #e4e6eb;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#chat-status {
color: #b0b3b8;
font-size: 12px;
}
#chatting-with {
display: none;
}
#chat-upload-progress-container {
background: rgba(0,0,0,.2);
height: 3px;
display: none;
width: 100%;
flex-shrink: 0;
}
#chat-upload-progress {
height: 100%;
background: #0084ff;
width: 0%;
transition: width .2s ease;
}
#chat-window {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 20px;
background: #18191a;
display: flex;
flex-direction: column;
position: relative;
gap: 10px;
}
#chat-welcome-msg {
margin: auto;
text-align: center;
max-width: 280px;
background: #242526;
padding: 24px 20px;
border-radius: 18px;
border: 1px solid rgba(255,255,255,.05);
box-shadow: 0 4px 12px rgba(0,0,0,.2);
display: block;
}
.chat-welcome-icon {
font-size: 32px;
margin-bottom: 8px;
}
#chat-welcome-msg p {
text-align: center;
color: #e4e6eb;
margin: 0;
font-size: 14px;
line-height: 1.5;
font-weight: 500;
}
#chat-messages-stream {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
.chat-composer {
padding: 12px 14px 20px;
background: #242526;
display: flex;
align-items: center;
gap: 8px;
border-top: 1px solid rgba(255,255,255,.05);
box-sizing: border-box;
width: 100%;
flex-shrink: 0;
}
.chat-record-btn,
#record-btn {
    position: relative;
    z-index: 12;
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: none;
    outline: none;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, transform .2s ease;
}
.chat-attach-btn,
#record-btn {
cursor: pointer;
font-size: 1.25rem;
width: 38px;
height: 38px;
border-radius: 50%;
background: rgba(255,255,255,.03);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: .2s;
}
#record-btn {
border: none;
color: #fff;
}
#voice-preview {
    display: none;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: #242526;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

#voice-preview audio {
    display: block;
    width: 100%;
    height: 45px;
}
#record-btn.recording {
    background: rgba(255,59,48,.18) !important;
    color: #ff3b30 !important;
    animation: oroRecordingPulse 1s infinite;
}
#chat-media-input {
display: none;
}
#chat-msg-input {
flex: 1;
min-width: 0;
padding: 12px 16px;
border-radius: 22px;
border: none;
outline: none;
font-size: 14px;
background: #3a3b3c;
color: #e4e6eb;
box-sizing: border-box;
font-family: inherit;
}
#send-chat-btn {
background: #0084ff;
color: white;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(0,132,255,.3);
transition: .2s;
}
.chat-send-icon {
display: inline-block;
font-size: 1rem;
color: white;
}
#record-status {
    display: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    color: #fff;
    padding: 10px;
    background: #fa3e3e;
    text-align: center;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: .5px;
}
.chat-record-btn {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.chat-record-btn:active,
#record-btn:active {
    transform: scale(.92);
    background: rgba(255,255,255,.12);
}
.chat-record-btn.recording,
#record-btn.recording {
    color: #ff3b30 !important;
    background: rgba(255, 59, 48, .15) !important;
    animation: oroRecordingPulse 1s infinite;
}

@@keyframes oroRecordingPulse {
    50% {
        opacity: .55;
        transform: scale(.94);
    }
}
#notifications-section {
display: none;
padding: 20px 0;
width: 100%;
max-width: 650px;
box-sizing: border-box;
}
#notifications-section > .card {
border-top: 6px solid #1877f2;
padding: 20px;
border-radius: 16px;
box-shadow: var(--shadow);
background: var(--card-bg);
box-sizing: border-box;
width: 100%;
}
.notifications-heading {
font-size: 1.1rem;
margin-top: 0;
margin-bottom: 15px;
color: var(--text-main);
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap;
}
.notifications-heading-label {
display: flex;
align-items: center;
gap: 8px;
}
.notifications-heading-icon {
background: rgba(24,119,242,.1);
padding: 6px;
border-radius: 8px;
color: #1877f2;
display: flex;
align-items: center;
justify-content: center;
}
#mark-notifications-seen-btn {
font-family: inherit;
font-size: .85rem;
color: #1877f2;
background: transparent;
border: none;
padding: 5px 0;
cursor: pointer;
user-select: none;
font-weight: 600;
}
#notification-permission-area {
margin-bottom: 15px;
}
#enable-oro-notifications-btn {
width: 100%;
padding: 12px 16px;
border: 0;
border-radius: 10px;
background: #1877f2;
color: #fff;
font-family: inherit;
font-size: .95rem;
font-weight: 600;
cursor: pointer;
}
#notifications-container {
display: flex;
flex-direction: column;
gap: 10px;
}
.notification-loading {
text-align: center;
color: var(--text-main);
opacity: .5;
padding: 20px;
font-size: 13px;
}
#calls-section {
display: none;
padding: 16px 0;
box-sizing: border-box;
width: 100%;
max-width: 760px;
}
.calls-brand-tagline {
display: block;
font-size: 10px;
color: #a8c8b9;
font-weight: 600;
letter-spacing: 1.5px;
margin-top: 3px;
}
.call-loading-placeholder {
text-align: center;
padding: 24px 8px;
opacity: .7;
font-size: 13px;
}
#new-call-modal,
#incoming-call-modal {
display: none;
position: fixed;
inset: 0;
width: 100%;
height: 100%;
height: 100dvh;
align-items: center;
justify-content: center;
padding: 15px;
box-sizing: border-box;
}
#new-call-modal {
background: rgba(0,0,0,.6);
z-index: 9999;
}
#incoming-call-modal {
background: rgba(0,0,0,.8);
z-index: 100000;
}
.new-call-modal-content {
background: var(--card-bg);
padding: 25px;
border-radius: 16px;
width: 100%;
max-width: 400px;
max-height: 90vh;
max-height: 90dvh;
overflow-y: auto;
box-shadow: var(--shadow);
border-top: 5px solid var(--o-green);
box-sizing: border-box;
}
#new-call-modal-title {
margin: 0 0 10px;
color: var(--text-main);
font-size: 1.1rem;
}
#target-user-id-label {
color: var(--text-main);
opacity: .8;
font-size: 13px;
margin-bottom: 15px;
}
#target-user-id-input {
width: 100%;
padding: 12px;
border-radius: 8px;
border: 1px solid rgba(0,0,0,.15);
background: var(--bg-main);
color: var(--text-main);
box-sizing: border-box;
margin-bottom: 20px;
font-size: 14px;
outline: none;
}
.call-modal-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
flex-wrap: wrap;
}
.call-cancel-btn {
padding: 10px 15px;
background: rgba(0,0,0,.06);
color: var(--text-main);
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
font-size: 13px;
}
#btn-submit-new-call {
padding: 10px 20px;
background: var(--o-green);
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
font-size: 13px;
}
.incoming-call-content {
background: var(--card-bg);
color: var(--text-main);
padding: 30px 24px;
border-radius: 20px;
text-align: center;
box-shadow: var(--shadow);
width: 100%;
max-width: 360px;
max-height: 90vh;
max-height: 90dvh;
overflow-y: auto;
border: 1px solid rgba(0,0,0,.08);
box-sizing: border-box;
}
.phone-pulse-icon {
font-size: 50px;
margin-bottom: 15px;
}
#caller-name-text {
margin: 10px 0 5px;
font-size: 20px;
color: var(--text-main);
}
.incoming-call-message {
color: var(--text-main);
opacity: .75;
font-size: 14px;
margin-bottom: 30px;
}
.incoming-call-actions {
display: flex;
justify-content: space-between;
gap: 12px;
}
#btn-reject-call,
#btn-accept-call {
color: #fff;
border: none;
padding: 12px 8px;
border-radius: 25px;
cursor: pointer;
font-weight: 700;
font-size: 14px;
flex: 1;
min-width: 0;
}
#btn-reject-call {
background: #ff4757;
}
#btn-accept-call {
background: var(--o-green);
}
#profile-section {
display: none;
width: 100%;
padding: 0;
box-sizing: border-box;
}
.oro-call-btn {
display: block;
margin: 2px auto 10px;
position: relative;
z-index: 5;
width: 44px;
height: 44px;
border: 0;
border-radius: 50%;
background: var(--o-green);
color: #fff;
font-size: 21px;
cursor: pointer;
}
.profile-card-full {
padding: 0;
border-radius: 20px;
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
background: var(--card-bg);
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.profile-cover {
height: 140px;
background: linear-gradient(135deg,var(--o-green) 0%,#00b894 100%);
width: 100%;
position: relative;
}
.profile-main-content {
text-align: center;
padding: 0 20px 25px;
margin-top: -65px;
position: relative;
z-index: 2;
}
.profile-avatar-wrapper {
position: relative;
display: inline-block;
margin-bottom: 12px;
}
#user-prof-pic {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--card-bg);
box-shadow: var(--shadow);
transition: transform .3s ease;
}
#user-display-name {
margin: 0 0 4px;
font-size: 1.5rem;
color: var(--text-main);
font-weight: 700;
letter-spacing: .3px;
overflow-wrap: anywhere;
}
#user-display-email {
color: var(--text-main);
opacity: .7;
font-size: 14px;
margin: 0 0 20px;
overflow-wrap: anywhere;
}
.profile-statistics {
display: flex;
justify-content: space-around;
border-top: 1px solid rgba(128,128,128,.15);
border-bottom: 1px solid rgba(128,128,128,.15);
padding: 15px 0;
margin: 10px 0 20px;
}
.profile-stat-item {
flex: 1;
text-align: center;
}
.profile-stat-item b {
font-size: 1.3rem;
color: var(--text-main);
display: block;
font-weight: 800;
}
.profile-stat-item span {
color: var(--text-main);
opacity: .7;
font-size: 13px;
font-weight: 500;
}
.profile-stat-divider {
width: 1px;
background: rgba(128,128,128,.2);
height: 35px;
align-self: center;
}
.profile-settings-btn {
padding: 11px 28px;
border-radius: 24px;
border: 1px solid rgba(128,128,128,.2);
background: var(--bg-main);
color: var(--text-main);
cursor: pointer;
font-size: 13px;
font-weight: 600;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
box-shadow: var(--shadow);
transition: background .2s ease,color .2s ease;
max-width: 100%;
}
#settings-section {
display: none;
padding: 15px 0;
}
#settings-section > h2 {
margin-top: 0;
margin-bottom: 20px;
border-bottom: 2px solid var(--o-green);
padding-bottom: 10px;
color: var(--text-main);
font-weight: 800;
font-size: 1.5rem;
}
.settings-tabs {
display: flex;
gap: 10px;
margin-bottom: 25px;
background: rgba(0,0,0,.15);
padding: 5px;
border-radius: 12px;
}
.settings-tabs .tab-btn {
flex: 1;
padding: 12px;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
border: none;
font-family: inherit;
}
.settings-tabs .tab-btn.active {
background: var(--o-green);
color: white;
}
.settings-tabs .tab-btn:not(.active) {
background: var(--o-blue);
color: var(--text-main);
}
#personal-details {
max-width: 550px;
margin: auto;
font-family: inherit;
}
#rules {
max-width: 650px;
margin: auto;
font-family: inherit;
padding: 10px;
}
.settings-card {
padding: 25px 20px;
border-radius: 16px;
box-shadow: var(--shadow);
background: var(--card-bg);
margin-bottom: 20px;
}
.settings-card-center {
text-align: center;
}
.settings-section-label {
border-bottom: 1px solid rgba(128,128,128,.2);
padding-bottom: 10px;
font-weight: 700;
margin-top: 0;
margin-bottom: 20px;
color: var(--text-main);
font-size: 1.1rem;
}
.settings-field {
margin-bottom: 15px;
}
.settings-field label {
display: block;
margin-bottom: 6px;
font-weight: 600;
color: var(--text-main);
font-size: 14px;
}
.settings-field input,
.settings-field select,
.settings-field textarea,
#rules input:not([type="checkbox"]),
#rules select,
#rules textarea,
#target-user-id-input,
#delete-confirm-password {
width: 100%;
padding: 12px;
border: 1px solid rgba(128,128,128,.25);
background: var(--bg-main);
color: var(--text-main);
border-radius: 8px;
box-sizing: border-box;
outline: none;
}
.settings-field textarea {
height: 80px;
resize: vertical;
font-family: inherit;
}
.settings-profile-photo {
width: 110px;
height: 110px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--o-red);
box-shadow: var(--shadow);
}
.settings-photo-wrapper {
position: relative;
display: inline-block;
margin-bottom: 12px;
}
.settings-photo-change {
position: absolute;
bottom: 0;
right: 0;
background: var(--o-red);
color: white;
border-radius: 50%;
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: 2px solid var(--card-bg);
box-shadow: var(--shadow);
}
.settings-photo-change span {
font-size: 22px;
font-weight: bold;
}
#upload-photo {
display: none;
}
.settings-photo-help {
font-size: 13px;
color: var(--text-main);
opacity: .7;
margin: 5px 0 12px;
}
.settings-save-profile {
width: 100%;
padding: 12px;
background: var(--o-red);
color: white;
border: 0;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
}
.settings-primary-btn {
width: 100%;
padding: 14px;
background: var(--o-red);
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
font-weight: bold;
font-size: 15px;
box-shadow: 0 4px 12px rgba(230,57,70,.2);
}
.settings-save-all {
width: 100%;
padding: 14px;
background: var(--o-green);
color: white;
border: none;
font-weight: 700;
font-size: 15px;
border-radius: 8px;
margin: 0;
box-shadow: 0 4px 12px rgba(14,129,64,.2);
}
.settings-logout {
width: 100%;
padding: 12px;
background: var(--o-black);
color: white;
border: none;
font-weight: 700;
border-radius: 8px;
margin: 0;
}
.settings-delete-account {
color: var(--o-red);
cursor: pointer;
margin-top: 10px;
font-size: 13px;
text-decoration: underline;
text-align: center;
font-weight: 600;
padding: 5px;
}
.settings-bottom-actions {
margin-top: 25px;
border-top: 1px solid rgba(128,128,128,.2);
padding-top: 20px;
display: flex;
flex-direction: column;
gap: 12px;
}
.phone-privacy-box {
margin-top: 14px;
padding: 14px;
border: 1px solid rgba(128,128,128,.2);
border-radius: 10px;
background: var(--bg-main);
}
.phone-privacy-label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
color: var(--text-main);
font-weight: 600;
font-size: 14px;
}
#phone-public-toggle {
width: 19px;
height: 19px;
accent-color: var(--o-red);
cursor: pointer;
flex-shrink: 0;
}
#phone-privacy-status {
margin: 10px 0 0 29px;
font-size: 12px;
color: var(--text-main);
opacity: .75;
line-height: 1.6;
}
.settings-privacy-card {
padding: 20px;
border-radius: 12px;
box-shadow: var(--shadow);
background: var(--card-bg);
margin-bottom: 20px;
}
.settings-privacy-heading {
margin-top: 0;
margin-bottom: 15px;
font-size: 1.1rem;
color: var(--text-main);
display: flex;
align-items: center;
gap: 8px;
}
.settings-privacy-heading span {
color: var(--o-green);
}

.setting-item p {
margin: 0 0 8px;
font-size: 14px;
color: var(--text-main);
font-weight: 500;
}
.full-select {
width: 100%;
padding: 11px;
background: var(--bg-main);
color: var(--text-main);
border: 1px solid rgba(128,128,128,.25);
border-radius: 8px;
outline: none;
}
.settings-notification-card,
.settings-security-card,
.settings-report-card {
padding: 20px;
border-radius: 12px;
box-shadow: var(--shadow);
background: var(--card-bg);
margin-bottom: 20px;
display: flex;
flex-direction: column;
gap: 14px;
}
.settings-security-card,
.settings-report-card {
gap: 12px;
}
.settings-card-title {
margin: 0;
font-weight: 700;
color: var(--text-main);
}
.switch-label {
display: flex;
justify-content: space-between;
align-items: center;
color: var(--text-main);
font-size: 14px;
cursor: pointer;
}
.switch-label input {
transform: scale(1.25);
cursor: pointer;
}
.switch-label strong,
.switch-label span {
color: var(--text-main);
}
.settings-card-description {
color: var(--text-main);
opacity: .7;
display: block;
margin-top: 6px;
font-size: 12px;
}
.settings-language-payment {
margin: 0 0 10px;
font-weight: 700;
color: var(--text-main);
}
#payment-method {
margin-bottom: 12px;
}
#pay-button {
width: 100%;
padding: 12px;
background: var(--o-green);
border: none;
color: white;
font-weight: 700;
border-radius: 8px;
cursor: pointer;
}
.blocked-list-heading {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
#blockBtn {
width: auto;
padding: 6px 14px;
font-size: 12px;
background: var(--bg-main);
color: var(--text-main);
border: 1px solid rgba(128,128,128,.25);
margin: 0;
font-weight: 600;
}
#blockedListArea {
display: none;
margin-top: 15px;
border-top: 1px solid rgba(128,128,128,.2);
padding-top: 12px;
}
#step-1-old,
#step-2-new {
display: flex;
flex-direction: column;
gap: 12px;
}
#step-2-new {
display: none;
}
.settings-verified-message {
margin: 0;
font-size: 12px;
color: var(--o-green);
font-weight: 600;
}
.settings-blue-btn {
background: var(--o-blue);
border: none;
color: white;
width: 100%;
padding: 12px;
font-weight: 700;
margin: 0;
border-radius: 8px;
cursor: pointer;
}
.settings-password-actions {
display: flex;
gap: 10px;
}
.settings-back-btn {
flex: 1;
padding: 12px;
border-radius: 8px;
border: 1px solid rgba(128,128,128,.25);
background: rgba(128,128,128,.05);
color: var(--text-main);
cursor: pointer;
font-weight: bold;
}
.settings-update-password {
flex: 2;
background: var(--o-blue);
border: none;
color: white;
padding: 12px;
font-weight: 700;
margin: 0;
border-radius: 8px;
cursor: pointer;
}
.settings-screenshot-title {
font-weight: 700;
}
.settings-report-textarea {
height: 80px;
resize: vertical;
box-sizing: border-box;
font-family: inherit;
}
.settings-report-btn {
background: var(--o-red);
border: none;
color: white;
width: 100%;
padding: 12px;
font-weight: 700;
margin: 0;
border-radius: 8px;
}
.settings-privacy-policy-btn {
width: 100%;
padding: 11px;
background: var(--bg-main);
color: var(--text-main);
border: 1px solid rgba(128,128,128,.25);
font-weight: 600;
border-radius: 8px;
margin: 0;
cursor: pointer;
}
#delete-account-modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.6);
}
.delete-modal-center {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
#delete-account-modal .modal-content {
background: var(--card-bg);
color: var(--text-main);
padding: 25px;
border-radius: 16px;
max-width: 400px;
width: 90%;
text-align: center;
box-shadow: var(--shadow);
}
.delete-modal-title {
color: var(--o-red);
margin-top: 0;
font-weight: 800;
}
.delete-modal-description {
font-size: .9rem;
opacity: .8;
margin-bottom: 20px;
}
#delete-confirm-password {
width: 100%;
padding: 12px;
border-radius: 8px;
border: 1px solid rgba(255,255,255,.1);
background: var(--bg-main);
color: var(--text-main);
margin-bottom: 15px;
outline: none;
box-sizing: border-box;
}
.delete-modal-actions {
display: flex;
gap: 10px;
}
.delete-modal-actions button {
flex: 1;
padding: 12px;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
}
.delete-modal-cancel {
border: 1px solid #ccc;
background: rgba(0,0,0,.05);
color: var(--text-main);
}
.delete-modal-confirm {
border: none;
background: var(--o-red);
color: white;
}
/* =========================================
   ORO CONNECT — USER PROFILE SIDE MODAL
========================================= */

/* =====================================
   ORO CONNECT — PROFILE SIDE POPUP
===================================== */

#profile-modal {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* HTML kee keessatti wrapper sirrii */
#profile-modal .profile-modal-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    
    width: 100% !important;
    height: 100% !important;
    
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Profile card — full screen miti */
#profile-modal .modal-content.profile-modal-content {
    position: relative !important;
    
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    
    display: block !important;
    flex: 0 0 268px !important;
    
    width: 268px !important;
    min-width: 0 !important;
    max-width: 85vw !important;
    
    height: auto !important;
    min-height: 0 !important;
    max-height: 78vh !important;
    max-height: 78dvh !important;
    
    margin: 0 !important;
    padding: 20px !important;
    
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    
    background: var(--card-bg) !important;
    color: var(--text-main) !important;
    
    border-radius: 0 18px 18px 0 !important;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: var(--shadow) !important;
}

/* Close button */
#profile-modal .close-modal {
    color: var(--text-main);
    opacity: .6;
    font-size: 28px;
    
    position: absolute;
    top: 12px;
    right: 15px;
    
    cursor: pointer;
    font-weight: bold;
    transition: opacity .2s;
}

#profile-modal .close-modal:hover {
    opacity: 1;
}

/* More options */
#profile-more-options {
    display: none;
    position: absolute;
    top: 16px;
    left: 20px;
    
    cursor: pointer;
    font-size: 1.1rem;
    opacity: .6;
}

/* Dropdown menu */
#profile-drop-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 20px;
    
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    
    border-radius: 8px;
    z-index: 10010;
    
    width: 130px;
    text-align: left;
    padding: 5px 0;
}

#block-user-btn,
#report-user-btn {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}

#block-user-btn {
    color: #e74c3c;
    font-weight: 600;
}

#block-user-btn:hover {
    background: rgba(231, 76, 60, .1);
}

#report-user-btn {
    color: var(--text-main);
}


#report-user-btn:hover {
background: rgba(0,0,0,.05);
}
.profile-modal-user-info {
text-align: center;
margin-top: 15px;
}
#view-user-pic {
width: 110px;
height: 110px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--o-blue);
box-shadow: var(--shadow);
margin-bottom: 12px;
display: inline-block;
background: #eee;
}
#view-user-name {
margin: 5px 0 2px;
font-size: 1.35rem;
font-weight: 700;
color: var(--text-main);
}
#view-user-username {
color: var(--o-blue);
font-size: 12px;
font-weight: 600;
margin: 0 0 4px;
}
#view-user-email {
color: var(--text-main);
opacity: .6;
font-size: 13px;
margin: 0 0 5px;
}
#view-user-location {
font-size: 13px;
color: var(--o-blue);
font-weight: 600;
margin: 0 0 8px;
}
#view-user-bio {
font-size: 14px;
opacity: .85;
font-style: italic;
margin: 0 0 15px;
padding: 0 10px;
color: var(--text-main);
}
.profile-modal-stats {
display: flex;
justify-content: space-around;
margin: 15px 0;
border-top: 1px solid rgba(0,0,0,.05);
padding-top: 15px;
text-align: center;
}
.profile-modal-stats > div {
cursor: pointer;
}
.profile-modal-stats b {
font-size: 1.15rem;
display: block;
color: var(--text-main);
}
.profile-modal-stats small {
opacity: .7;
font-size: 12px;
}
#user-posts-list {
margin-top: 10px;
display: block;
max-height: 220px;
overflow-y: auto;
border-top: 1px solid rgba(0,0,0,.02);
padding-top: 5px;
}
.profile-modal-actions {
display: flex;
gap: 10px;
margin-top: 15px;
}
.profile-modal-actions button {
display: none;
flex: 1;
padding: 12px;
border-radius: 10px;
font-weight: 700;
font-size: 14px;
cursor: pointer;
}
#follow-btn {
background: rgba(0,0,0,.05);
color: var(--text-main);
border: 1px solid rgba(0,0,0,.08);
transition: background .2s;
}
#msg-from-profile {
background: var(--o-blue,#007bff);
color: white;
border: none;
box-shadow: 0 4px 10px rgba(0,123,255,.2);
font-family: inherit;
transition: opacity .2s;
}
#msg-from-profile:hover {
opacity: .9;
}
#edit-my-profile-btn {
background: #00b894;
color: white;
border: none;
}
#privacy-modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.6);
}
.privacy-modal-center {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
#privacy-modal .modal-content {
background: var(--card-bg);
color: var(--text-main);
border-radius: 16px;
padding: 25px;
box-shadow: var(--shadow);
max-width: 650px;
width: 90%;
max-height: 85vh;
overflow-y: auto;
position: relative;
font-family: inherit;
box-sizing: border-box;
}
#privacy-modal .close-modal {
background: none;
border: none;
color: var(--text-main);
opacity: .6;
font-size: 30px;
position: absolute;
top: 15px;
right: 20px;
cursor: pointer;
font-weight: bold;
}
#privacy-modal h3 {
margin-top: 0;
font-size: 1.4rem;
border-bottom: 2px solid var(--o-green);
padding-bottom: 10px;
font-weight: 800;
}
.privacy-modal-body {
font-size: 14px;
line-height: 1.6;
opacity: .95;
padding-right: 5px;
text-align: left;
}
.privacy-modal-body .privacy-heading {
font-weight: bold;
color: var(--o-green);
margin-bottom: 5px;
}
.privacy-modal-body .privacy-date {
font-size: 12px;
opacity: .6;
margin-bottom: 20px;
}
.privacy-modal-body h4 {
margin: 15px 0 5px;
color: var(--text-main);
font-weight: 700;
}
.privacy-modal-body p {
margin: 0 0 10px;
}
.privacy-modal-body ul {
margin: 0 0 15px;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 6px;
}
.privacy-modal-body a {
color: var(--o-green);
text-decoration: underline;
}
.privacy-modal-body .privacy-contact-link {
color: var(--o-green);
font-weight: bold;
}
.privacy-eula-box {
margin-top: 25px;
padding: 15px;
border: 1px solid rgba(255,0,0,.2);
border-radius: 10px;
background: rgba(255,0,0,.02);
display: flex;
flex-direction: column;
gap: 12px;
}
.privacy-eula-box p {
font-size: 13px;
opacity: .9;
margin: 0;
text-align: justify;
line-height: 1.5;
color: var(--text-main);
}
.privacy-agree-btn {
width: 100%;
background: var(--o-green);
color: white;
border: none;
padding: 14px;
border-radius: 10px;
font-weight: bold;
cursor: pointer;
font-size: 14px;
box-shadow: 0 4px 10px rgba(46,215,103,.2);
font-family: inherit;
}
.privacy-thank-you {
text-align: center;
font-weight: 800;
color: var(--o-green);
margin-top: 15px;
font-size: 14px;
letter-spacing: 1px;
}
#video-call-container {
width: 100vw;
height: 100vh;
display: none;
position: fixed;
top: 0;
left: 0;
z-index: 100001;
background: #000;
font-family: sans-serif;
}
#video-streams {
width: 100%;
height: 100%;
position: relative;
}
.video-call-controls {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 20px;
z-index: 10001;
}
.video-call-controls button {
width: 55px;
height: 55px;
border-radius: 50%;
background: rgba(255,255,255,.2);
border: none;
color: white;
font-size: 20px;
cursor: pointer;
}
.video-call-controls .end-call-btn {
background: #e63946;
box-shadow: 0 4px 15px rgba(230,57,70,.4);
}
#edit-modal,
#list-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.5);
justify-content: center;
align-items: center;
}
#edit-modal {
z-index: 9999;
}
#list-modal {
z-index: 1000;
}
.edit-modal-content {
background: var(--card-bg);
padding: 20px;
border-radius: 15px;
width: 90%;
max-width: 500px;
box-shadow: 0 5px 15px rgba(0,0,0,.3);
}
.edit-modal-content h3 {
margin-top: 0;
}
#edit-textarea {
width: 100%;
height: 150px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 10px;
resize: none;
font-family: inherit;
font-size: 1rem;
box-sizing: border-box;
}
.edit-modal-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 15px;
}
.edit-modal-actions button {
padding: 8px 16px;
border: none;
border-radius: 8px;
cursor: pointer;
}
.edit-cancel-btn {
background: #eee;
}
.edit-save-btn {
background: #13db6b;
color: white;
font-weight: bold;
}
.list-modal-content {
background: var(--card-bg);
color: var(--text-main);
width: 90%;
max-width: 400px;
max-height: 80vh;
border-radius: 10px;
padding: 20px;
overflow-y: auto;
position: relative;
}
.list-modal-close {
position: absolute;
top: 10px;
right: 10px;
border: none;
background: none;
cursor: pointer;
}
#users-list-container {
margin-top: 15px;
}
#oro-ai-launcher {
position: fixed;
right: 18px;
bottom: 90px;
z-index: 9990;
}
#oro-ai-panel[hidden] {
display: none !important;
}
.oro-ai-panel {
position: fixed;
right: 15px;
bottom: 80px;
z-index: 9991;
width: min(380px,calc(100vw - 30px));
max-height: min(600px,calc(100vh - 110px));
display: flex;
flex-direction: column;
}
.oro-ai-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.oro-ai-header small {
display: block;
}
.oro-ai-messages {
flex: 1;
min-height: 0;
overflow-y: auto;
}
.oro-ai-chat-form {
display: flex;
gap: 8px;
}
.oro-ai-chat-form textarea {
flex: 1;
min-width: 0;
resize: vertical;
}
@media (max-width: 600px) {
#messages-section {
height: calc(100dvh - 70px);
min-height: 0;
padding: 5px 0;
}
.chat-layout-wrapper {
gap: 0;
}
#chat-sidebar-section {
border-radius: 12px;
padding: 12px;
}
#active-chat-window {
border-radius: 12px;
}
#chat-window {
padding: 12px;
}
.chat-composer {
padding: 10px 8px 12px;
gap: 6px;
}
#chat-msg-input {
padding: 11px 12px;
font-size: 13px;
}
.profile-modal-actions {
gap: 6px;
}
.profile-modal-actions button {
font-size: 12px;
padding: 10px 5px;
}
.video-call-controls {
bottom: 25px;
gap: 12px;
}
.video-call-controls button {
width: 48px;
height: 48px;
}
#privacy-modal .modal-content {
width: 95%;
padding: 18px;
}
}
:root{--safe-area-top:env(safe-area-inset-top,0px);--safe-area-right:env(safe-area-inset-right,0px);--safe-area-bottom:env(safe-area-inset-bottom,0px);--safe-area-left:env(safe-area-inset-left,0px)}
html{min-width:320px;scroll-padding-top:var(--safe-area-top);scroll-padding-bottom:var(--safe-area-bottom)}
body{min-width:320px;padding-left:var(--safe-area-left);padding-right:var(--safe-area-right);overscroll-behavior-x:none}
button,input,select,textarea{min-width:0}
button,[role="button"],a,input[type="checkbox"],input[type="radio"],select{touch-action:manipulation}
button:disabled,[aria-disabled="true"]{cursor:not-allowed}
:where(img,video,canvas,iframe){max-width:100%}
:where(.modal,.modal-overlay,#privacy-modal,#edit-modal,#list-modal){overscroll-behavior:contain}
#privacy-modal{z-index:var(--z-modal,4000);padding:max(12px,var(--safe-area-top)) max(12px,var(--safe-area-right)) max(12px,var(--safe-area-bottom)) max(12px,var(--safe-area-left))}
#privacy-modal .modal-content{width:min(650px,100%);max-height:min(85vh,85dvh);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#video-call-container{width:100%;height:100vh;height:100dvh;inset:0;padding:var(--safe-area-top) var(--safe-area-right) var(--safe-area-bottom) var(--safe-area-left)}
.video-call-controls{bottom:max(24px,calc(24px + var(--safe-area-bottom)))}
#mobile-nav{padding-bottom:max(12px,var(--safe-area-bottom))}
.mobile-header{padding-top:max(12px,var(--safe-area-top))}
input,select,textarea{color:var(--text-main);background-color:var(--card-bg)}
input[type="checkbox"],input[type="radio"]{width:auto;min-height:0}

@media(max-width:380px){.form-container{padding:18px}.modal-content,.modal-card{padding:18px}.profile-page-container{padding:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
:root {
  --oro-accent-soft: rgba(218, 41, 28, .09);
  --oro-green-soft: rgba(32, 169, 87, .10);
  --oro-card-radius: 18px;
  --oro-control-radius: 12px;
  --oro-elevation: 0 8px 26px rgba(15, 23, 42, .065);
}
[data-theme="dark"] {
  --oro-accent-soft: rgba(218, 41, 28, .16);
  --oro-green-soft: rgba(32, 169, 87, .15);
  --oro-elevation: 0 10px 30px rgba(0, 0, 0, .24);
}

/* Surface hierarchy */
.card,
.modal-content,
.modal-card,
.profile-card-dynamic,
.video-card,
.story-card {
  border-radius: var(--oro-card-radius);
}
.card,
.profile-card-dynamic {
  border-color: color-mix(in srgb, var(--border-color) 82%, transparent);
  box-shadow: var(--oro-elevation);
}
.card-title { letter-spacing: -.015em; }
.card-subtitle { letter-spacing: -.01em; }

/* Buttons and controls — same colors and actions */
.btn,
.btn-main,
.btn-small,
.tab-btn,
.profile-action-grid > button,
.oro-call-action {
  font-weight: 700;
  letter-spacing: .005em;
  -webkit-tap-highlight-color: transparent;
}
.btn,
.btn-small,
.tab-btn,
.profile-action-grid > button {
  border-radius: var(--oro-control-radius);
}
.btn-primary,
.btn-success,
.btn-danger,
.btn-dark,
.btn-teal,
.profile-action-grid > button,
.oro-call-action {
  box-shadow: 0 4px 12px rgba(15, 23, 42, .10);
}
.btn:focus-visible,
.btn-main:focus-visible,
.btn-small:focus-visible,
.tab-btn:focus-visible,
.profile-action-grid > button:focus-visible,
.oro-call-action:focus-visible {
  outline: 3px solid rgba(218, 41, 28, .28);
  outline-offset: 2px;
}
.icon-btn { transition: background-color .18s ease, transform .18s ease; }
.icon-btn:active { transform: scale(.96); }

/* Form fields */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-radius: var(--oro-control-radius);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--o-red);
  box-shadow: 0 0 0 3px var(--oro-accent-soft);
  outline: none;
}

/* Navigation and profile details */
.nav-item { border-radius: 12px; }
.nav-item.active { box-shadow: inset 3px 0 0 rgba(255,255,255,.88); }
.profile-avatar,
.profile-view-img,
.story-user-avatar,
.story-user-img { box-shadow: 0 2px 10px rgba(15,23,42,.12); }
.profile-stats,
.profile-stats-dynamic { gap: clamp(8px, 2vw, 18px); }

/* Media tiles */
.story-card,
.video-card { overflow: hidden; }
.story-card img.story-bg,
.video-card video { display: block; }
.video-card { box-shadow: var(--oro-elevation); }

/* Dialog polish; dimensions and stacking remain controlled by existing rules */
.modal-content,
.modal-card {
  box-shadow: 0 18px 55px rgba(0, 0, 0, .20);
  border: 1px solid var(--border-color);
}
.modal-title { letter-spacing: -.02em; }

/* Cleaner scrollbars without changing scroll behavior */
* { scrollbar-color: rgba(127,127,127,.42) transparent; }
*::-webkit-scrollbar-thumb { border-radius: 999px; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled),
  .btn-small:hover:not(:disabled),
  .profile-action-grid > button:hover:not(:disabled),
  .oro-call-action:hover:not(:disabled) {
    filter: brightness(1.035);
    transform: translateY(-1px);
  }
  .card:hover { border-color: color-mix(in srgb, var(--o-red) 16%, var(--border-color)); }
}
@media (max-width: 600px) {

    .card,
    .profile-card-dynamic {
        border-radius: 15px;
    }

    .modal-content,
    .modal-card {
        border-radius: 18px;
    }

    /* Profile overlay */
    #profile-modal {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
    }

    /* HTML profile wrapper */
    #profile-modal .profile-modal-wrapper {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* Profile card only */
    #profile-modal .modal-content.profile-modal-content {
        position: relative !important;
        flex: 0 0 268px !important;

        width: 268px !important;
        min-width: 0 !important;
        max-width: 85vw !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: 78dvh !important;

        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;

        margin: 0 !important;
        padding: 20px !important;

        transform: none !important;
        box-sizing: border-box !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        border-radius: 0 18px 18px 0 !important;
    }
}

/* Reduced motion — akkuma duraanii */
@media (prefers-reduced-motion: reduce) {
    .icon-btn,
    .btn,
    .btn-small,
    .profile-action-grid > button,
    .oro-call-action {
        transition: none;
    }
}

:where(.home-feed-container, .feed-left, .chat-layout-wrapper,
       .settings-container, .profile-page-container, .video-info,
       .video-details-overlay, .modal-content, .modal-card) {
  min-width: 0;
}

:where(button, input, select, textarea) {
  max-width: 100%;
}

:where(img, video, iframe, canvas, svg) {
  max-inline-size: 100%;
}

/* Keep keyboard focus visible and ensure disabled controls are unmistakable. */
:where(button, [role="button"], a, input, select, textarea):focus-visible {
  outline: 2px solid var(--o-blue);
  outline-offset: 3px;
}

:where(button, input, select, textarea):disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .6;
}

/* Avoid accidental text selection on frequently tapped controls. */
:where(button, [role="button"], .icon-btn, .video-action-btn) {
  -webkit-user-select: none;
  user-select: none;
}

/* Improve long labels, URLs, captions, and user-generated text wrapping. */
:where(.msg, .msg-bubble, .profile-bio, .video-caption,
       .eula-text, .privacy-body, .dropdown-item) {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Safe-area-aware bottom controls on notched mobile devices. */
@supports (padding: max(0px)) {
  :where(.video-controls, .video-call-controls) {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* Respect platform contrast preferences without changing the theme palette. */
@media (prefers-contrast: more) {
  :where(button, input, select, textarea, .card, .modal-content, .modal-card) {
    border-width: 2px;
  }
}

/* Keep content readable and controls usable on narrow screens. */
@media (max-width: 360px) {
  .form-container {
    width: calc(100% - 16px);
    padding: 14px;
  }
  .page > .main-content,
  .page > main,
  .page > .page-content {
    padding: 8px;
  }
  .modal,
  .modal-overlay {
    padding: 8px;
  }
}
