/* Экран звонка */
.call-header {
    display: flex;
    align-items: center;
    padding: 16px 16px 12px;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    min-height: 72px;
}

.call-contact-info {
    flex-grow: 1;
    text-align: center;
}

.call-contact-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.call-timer {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.call-self-video-container {
    width: 126px;
    height: 206px;
    position: absolute;
    top: 82px;
    right: 16px;
    z-index: 10;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
}

.call-self-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-main-video-container {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.call-main-video-container video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent;
}

.remote-video {
    transition-duration: 500ms;
    opacity: 0;
}

.remote-video.active {
    opacity: 1;
}

.call-no-video {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: var(--text-secondary);
    background-color: black;
    font-size: 16px;
    text-align: center;
    padding: 40px 20px;
    pointer-events: none;
    display: none;
}

.call-no-video.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 24px 16px 32px;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.call-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-input);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.call-btn:hover {
    transform: scale(1.08);
    background: #30363D;
}

.call-btn:active {
    transform: scale(0.95);
}

.call-btn.hangup {
    background: linear-gradient(135deg, #F85149, #D9342B);
    box-shadow: 0 4px 12px rgba(248, 81, 73, 0.4);
}

.call-btn.hangup .img {
    width: 24px;
    height: 24px;
}

.call-btn.hangup:hover {
    box-shadow: 0 6px 16px rgba(248, 81, 73, 0.5);
}

.call-btn.muted {
    color: var(--danger) !important;
}

.call-btn.muted svg {
    fill: var(--danger) !important;
}

.call-btn.video-off svg {
    color: var(--danger);
}

.call-btn video-off-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.pulse-incoming {
    animation: pulse-incoming 1.8s ease-in-out infinite;
    background-color: rgba(174, 255, 128, 0.1); /* лёгкий фон */
    color: var(--link-hover) !important;
}

#incoming-call-banner {
    background-color: rgba(0, 0, 0, 0.69);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: none;
    border-radius: 14px;
    transition-duration: 200ms;
}

#incoming-call-banner .content {
    background: var(--bg-card);
    border: 2px solid var(--link-hover);
    border-radius: 14px;
    position: fixed;
    top: 22px;
    left: 22px;
    right: 22px;
    padding: 36px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
    animation: pulse-incoming 1.8s ease-in-out infinite;
    flex: 1;
}

#incoming-call-banner .caller-name {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}

#incoming-call-banner .btns {
    display: flex;
    gap: 22px;
}

#incoming-call-banner .btn {
    flex: 1;
    padding: 24px 8px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#incoming-call-banner .btn.accept {
    background: linear-gradient(135deg, var(--success), #1B702A);
    color: white;
}

#incoming-call-banner .btn.decline {
    background: linear-gradient(135deg, var(--danger), #D9342B);
    color: white;
}

#incoming-call-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#incoming-call-banner .btn:active {
    transform: translateY(0);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: var(--bg-dark);*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.loading-content {
    text-align: center;
    background: var(--bg-card);
    padding: 28px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    min-width: 280px;
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background-color: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 3px;
    animation: loadingProgress 2.5s ease-in-out infinite;
}

.loading-overlay.determinate .loading-bar-fill {
    animation: none;
    transition: width 0.15s ease-out;
}

.loading-progress {
    display: none;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.loading-overlay.determinate .loading-progress {
    display: block;
}

#screen-label {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
    text-align: center;
    color: var(--text-primary, #fff);
    background: var(--bg-card, rgba(0,0,0,0.7));
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    min-width: 160px;
    white-space: normal;
}

#screen-label.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

#camera-capture {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#camera-capture.active {
    pointer-events: auto;
    opacity: 1;
}

.camera-capture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
}

.video-note-overlay {
	background: #111;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.video-note-overlay.light {
	background: #fff;
}

.video-note-flashlight {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-note-flashlight.active {
	background: rgba(0, 0, 0, 0.15);
	color: #111;
}

.video-note-video-container {
	width: min(78vw, 420px);
	height: min(78vw, 420px);
	border-radius: 50%;
	overflow: hidden;
	background: #000;
}

.video-note-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scaleX(-1);
}

.video-note-timer {
	margin-top: 16px;
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.video-note-controls {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.video-note-controls button {
	min-height: 48px;
	border: 0;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
}

.video-note-cancel {
	background: var(--bg-input);
	color: var(--text-primary);
}

.video-note-send {
	background: var(--primary);
	color: #fff;
}

.video-note-send:disabled {
	opacity: 0.5;
}

.video-note-error {
	padding: 32px;
	color: #fff;
	text-align: center;
}

.camera-video-container {
    flex: 1;
    background: #000;
    overflow: hidden;
}

.camera-video {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    display: block;
    opacity: 0;
    transition-duration: 200ms;
}

.camera-video.active {
    opacity: 1;
}

.camera-controls {
    padding: 24px 16px 32px;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.camera-action-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 360px;
}

.camera-btn {
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 52px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.camera-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 175, 240, 0.3);
}

.camera-btn.primary.recording {
    background: linear-gradient(135deg, var(--success), var(--unread));
    box-shadow: 0 4px 12px rgba(35, 134, 54, 0.4);
}

.camera-btn.primary.recording:hover {
    box-shadow: 0 6px 16px rgba(35, 134, 54, 0.5);
}

.camera-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 175, 240, 0.4);
}

.camera-btn.primary:active {
    transform: translateY(0);
}

.camera-bottom-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    justify-content: space-between;
}

.camera-btn.cancel,
.camera-btn.flip {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.camera-btn.cancel:hover,
.camera-btn.flip:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
}

.recording-timer {
    font-size: 16px;
    font-weight: 600;
    margin-right: 8px;
}

.answer-message {
    padding: 4px 12px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    display: none;
    cursor: pointer;
    transition-duration: 200ms;
}

.answer-message.active {
    display: block;
}

.answer-message.active:hover {
    background: rgba(255, 255, 255, 0.11);
}

.all-messages-read {
    display: none;
    padding-right: 18px;
    text-align: right;
    background-color: var(--bg-dark);
    color: var(--text-muted);
}

.all-messages-read.active {
    display: block;
}

/* ================= POST ================= */

.post {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
    margin: 12px 16px;
    animation: fadeIn 0.25s ease;
    transition: all 0.2s ease;
    /*border-left: 3px solid var(--primary);*/
    cursor: pointer;
}

.post:hover {
    border-color: var(--text-muted);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ===== HEADER ===== */

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

.post-author {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-username {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-primary);
}

.post-time {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ===== CONTENT ===== */

.post-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: anywhere;
}


.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
}

/* Реакции слева */

.post-reactions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.reactions-panel {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.reaction {
    background: var(--border-color);
    padding: 6px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    font-weight: 500;
}

.reaction.me {
    background: var(--tab-active);
    color: white;
}

.reaction:hover {
    background: var(--primary);
    color: white;
}

/* Комментарии справа */

.post-comments {
    min-width: 50px;
    text-align: right;
    color: var(--link);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.post-comments:hover {
    color: var(--link-hover);
    opacity: 0.9;
}

.buttons-inline {
    display: flex;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
    scrollbar-width: none;
    user-select: none;
    scroll-behavior: smooth;
    max-width: 220px;
}

.buttons-inline::-webkit-scrollbar {
    display: none;
}

.buttons-inline button {
    font-size: 14px;
    margin-right: 2px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.buttons-inline button:hover {
    transform: scale(1.2);
}






/* =========================
   ROOT
========================= */

.con-call-root {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    background: radial-gradient(circle at center, var(--primary) 0%, var(--bg-dark) 80%);
    color: var(--text-primary);
    font-family: sans-serif;
}


/* =========================
   TOP BLOCK
========================= */

.con-call-top {
    margin-top: 80px;
    text-align: center;
}

/* AVATAR */

.con-call-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 60px;
    position: relative;
}

.con-call-avatar .avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ПУЛЬС */

.con-call-avatar::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.15;
    animation: con-call-pulse 2s infinite;
}

@keyframes con-call-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { opacity: 0; }
}


/* TEXT */

.con-call-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.con-call-status {
    font-size: 15px;
    color: var(--text-primary);
}

.con-call-dots::after {
    content: '.';
    animation: con-call-dots 1.5s steps(3, end) infinite;
}

/* Анимация: . → .. → ... → . */

@keyframes con-call-dots {
    0%   { content: '.'; }
    33%  { content: '..'; }
    66%  { content: '...'; }
    100% { content: '.'; }
}

/* =========================
   CONTROLS
========================= */

.con-call-controls {
    width: 100%;
    padding: 30px 20px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* BUTTON */

.con-call-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bg-card);
    color: var(--text-primary);

    backdrop-filter: blur(10px);
    transition: 0.2s;
    position: relative;
}

/* подпись */

.con-call-btn span {
    position: absolute;
    top: 80px;
    font-size: 12px;
    color: var(--text-secondary);
}


/* STATES */

.con-call-btn-muted {
    background: var(--bg-input);
}

.con-call-btn-video-off {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.con-call-btn-ok {
    background: var(--success);
}

.con-call-btn-end {
    background: var(--danger);
}

/* hover */

.con-call-btn:hover {
    transform: scale(1.06);
}

.con-call-btn-end:hover {
    background: var(--danger-dark);
}










/* ================= IN-CALL ================= */

.incoming-call-screen {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.incoming-call-screen.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.incoming-call-root {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    background: radial-gradient(circle at center, var(--online) 0%, var(--bg-dark) 80%);
    color: var(--text-primary);
    font-family: sans-serif;
}

.incoming-call-avatar::before {
    background: var(--link-hover);
}


/* ================= POST SCREEN ================= */

.post-screen {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    display: none;
    flex-direction: column;
}

.post-scroll {
    flex: 1;
    overflow-y: auto;
}

/* ===== ПОЛНЫЙ ПОСТ ===== */

.post-full {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 18px;
}

/* ===== РАЗДЕЛИТЕЛЬ ===== */

.comments-divider {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* ===== КОММЕНТАРИИ ===== */

.post-comments-list {
    padding: 12px 16px;
}

.comment {
    display: flex;
    margin-bottom: 18px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.comment-avatar {
    width: 32px;
    height: 32px;
    font-size: 16px;
    flex-shrink: 0;
}

.comment-avatar.avatar {
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
}

.comment-avatar .avatar-image {
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.comment-username {
    font-weight: 600;
    font-size: 12px;
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* ===== INPUT ===== */

.comment-input-container {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.post-screen.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}



/*////////////////////////////////////////////////////////*/

.flex-center {
    align-items: center;
    justify-content: center;
}

.reel {
    width: 64px;
    height: 64px;
    position: relative;
    animation: spin 1s linear infinite;
}

.reel img {
    width: 100%;
    height: 100%;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}



@keyframes loadingProgress {
    0%   { width: 0%; }
    50%  { width: 80%; }
    100% { width: 0%; transform: translateX(100%); }
}


@keyframes pulse-incoming {
    0%   { box-shadow: 0 0 0 0 rgba(149, 255, 106, 0.54); }        /* #FF5722 — оранжевый акцент */
    50%  { box-shadow: 0 0 0 12px rgba(133, 255, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(82, 255, 34, 0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-input);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

@media (max-width: 500px) {
    /*.my-page-avatar .avatar-image {*/
    /*    width: 80px;*/
    /*    height: 80px;*/
    /*    font-size: 14px;*/
    /*}*/

    .my-page-header-center {
        font-size: 13px;
    }

    .dynamic-popup-title {
        font-size: 16px;
    }

    .sticker-pack {
        gap: 8px;
        padding: 8px;
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .sticker-preview {
        max-width: 70px;
        max-height: 70px;
     }

    .message-content {
        padding: 22px 18px;
        min-width: 140px;
    }

    .popup-menu-item-inline {
        font-size: 14px;
    }

    .add-game-logo {
        max-width: 126px;
        max-height: 126px;
    }

    .game-tag {
        font-size: 12px;
        margin-right: 3px;
        margin-left: 3px;
        padding: 6px 12px;
        border-radius: 8px;
    }

    .popup-menu-item {
        font-size: 12px;
    }

    .close-btn {
        font-size: 20px;
    }

    .info-panel {
        font-size: 11px;
        padding: 4px;
    }

    .call-no-video {
        font-size: 13px;
    }

    #screen-label {
        font-size: 12px;
    }

    #incoming-call-banner .caller-name {
        font-size: 12px;
    }

    #incoming-call-banner .btn {
        padding: 14px 8px;
        font-size: 13px;
    }

    #incoming-call-banner .content {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 16px;
    }

    .call-self-video-container {
        width: 102px;
        height: 162px;
        top: 90px;
        right: 12px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .call-btn {
        width: 56px;
        height: 56px;
    }

    .call-contact-name {
        font-size: 16px;
    }
    .call-timer {
        font-size: 12px;
    }

    .dynamic-popup {
        width: 100%;
        max-width: 100%;
        margin: 5px;
        max-height: 100%;
        font-size: small;
    }

    .dynamic-popup-buttons {
        flex-direction: column;
    }

    .dynamic-popup-button {
        min-width: auto;
        width: 100%;
    }

    .invite-user-item {
        padding: 10px 8px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .user-name {
        font-size: 14px;
    }

    .message-input {
        font-size: 13px;
    }

    .header {
        padding: 5px 10px;
    }

    .tab {
        font-size: 11px;
        padding: 5px 12px;
    }

    .logo {
        font-size: 44px;
        margin-bottom: 20px;
    }

    .chat-name {
        font-size: 12px;
    }

    .chat-status {
        font-size: 10px;
    }

    .logo-text {
        font-size: 26px;
        margin-bottom: 36px;
    }
}

input, textarea, button {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}
