/* ===== ADMIN STAR ===== */

.rank-star {
	width: 7px;
	height: 7px;
	display: inline-block;
	vertical-align: middle;
}
.list_star {
	margin: 0;
	padding: 0;
	line-height: 1;
	display: block;
}
.admin-star {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	margin-top: 1px;
	position: relative;
	overflow: hidden;
}
.admin-star::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent 0%,
		rgba(255,255,255,0.0) 30%,
		rgba(255,255,255,0.85) 50%,
		rgba(255,255,255,0.0) 70%,
		transparent 100%
	);
	transform: skewX(-20deg);
	animation: starSweep 4.5s linear infinite;
	pointer-events: none;
}
@keyframes starSweep {
	0%   { left: -100%; }
	100% { left: 160%; }
}
.brd_rank_star {
	display: inline-block;
	flex: 0 0 auto;
	position: relative;
	top: 2px;
}

/* -------------------- Yazıyor Efekti -------------------- */

/* Oda yazıyor — absolute: layout'u kaydırmaz, input'un üstünde yüzer */
#room_typing_indicator {
    position: absolute;
    bottom: 100%;
    left: 8px;
    padding: 5px 14px;
    font-size: 11px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 20px;
    white-space: nowrap;
    margin-bottom: 4px;
}

/* Özel yazıyor */
#ptyping {
    padding: 5px 12px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 20px;
    margin: 4px 8px;
}
#ptyping_avatar {
    display: flex;
    align-items: center;
}
#ptyping_avatar img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
#ptyping_text {
    display: flex;
    align-items: center;
    gap: 4px;
}
#ptyping_name {
    color: #fff;
    font-size: 11px;
}

/* Zıplayan noktalar */
.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.typing-dots .dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
    box-shadow: 0 0 5px #fff, 0 0 10px rgba(255, 255, 255, 0.8);
}
.typing-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { opacity: 0.35; transform: scale(0.8);  box-shadow: 0 0 3px #fff; }
    40%           { opacity: 1;    transform: scale(1.2);  box-shadow: 0 0 8px #fff, 0 0 16px rgba(255,255,255,0.6); }
}