
/* Source: css/custom.css */
/* =====================================================
   YouTube Card + Player + PiP — Styles
   ===================================================== */

/* ---- 1. YouTube Chat Card ---- */
.chat_video_container {
  display: inline-block !important;
  max-width: 140px !important;
  width: 140px !important;
  vertical-align: middle;
  margin: 3px 0;
}

.yt_chat_card {
  display: block;
  width: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 3px 10px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  padding: 0 !important;
  position: relative !important;
  background-color: #111 !important;
  /* Override main.css open_player styles */
  color: #fff !important;
  opacity: 1 !important;
  top: auto !important;
  right: auto !important;
}

.yt_chat_card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 18px rgba(255,0,0,0.35);
  border-color: rgba(255,0,0,0.5);
}

/* Fixed-height thumbnail (140 x 79 = 16:9) */
.yt_thumb_wrap {
  position: relative;
  width: 100%;
  height: 79px;
  background: #1a1a1a;
  overflow: hidden;
  display: block;
}

/* Fallback for legacy messages containing open_player and hide_mobile */
.chat_video_container .hide_mobile {
  display: inline-flex !important;
}

.boom_youtube.open_player {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #cc0000 !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  position: static !important;
  opacity: 1 !important;
  top: auto !important;
  right: auto !important;
}

.yt_thumb_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.yt_chat_card:hover .yt_thumb_img { transform: scale(1.06); }

.yt_play_btn {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.22);
  transition: background 0.2s;
}

.yt_chat_card:hover .yt_play_btn { background: rgba(0,0,0,0.42); }

.yt_play_btn i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,0,0,0.9);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255,0,0,0.6);
  padding-left: 2px;
  transition: transform 0.2s ease;
}

.yt_chat_card:hover .yt_play_btn i { transform: scale(1.18); }

.yt_badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  pointer-events: none;
}
.yt_badge i { color: #ff0000; }

/* ---- 2. Player Window ---- */
#container_stream {
  position: fixed;
  z-index: 9999;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
  display: none;
  transform-origin: center center;
  will-change: transform, opacity;
}
#stream_header {
  display: flex;
  align-items: center;
  background: #1a1a1a;
  height: 42px;
  padding: 0 12px;
  gap: 8px;
  cursor: move;
  user-select: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stream_title {
  flex: 1;
  color: #f0f0f0;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}
.stream_ctrl_btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
#open_yt_external { background: rgba(255,255,255,0.1); color: #ccc; text-decoration: none; }
#open_yt_external:hover { background: rgba(255,255,255,0.22); color: #fff; }
#hide_stream { background: rgba(255,255,255,0.1); color: #ccc; }
#hide_stream:hover { background: rgba(255,255,255,0.22); color: #fff; }
#close_stream { background: rgba(255,0,0,0.18); color: #ff7070; }
#close_stream:hover { background: #e00; color: #fff; }
#wrap_stream {
  position: relative;
  width: 100%;
  height: 292px;
  background: #000;
}
#wrap_stream iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: none; display: block; }
.yt_stream_loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: rgba(255,255,255,0.85);
  font-size: 32px;
  display: none;
  pointer-events: none;
}
.yt_stream_loader i {
  color: #ffffff !important;
}

.yt_stream_fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.95);
  z-index: 12;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
}
.yt_stream_fallback.show_fallback {
  display: flex !important;
}
.yt_fallback_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  width: 100%;
}
.yt_fallback_icon {
  font-size: 34px;
  color: #ff0000;
}
.yt_fallback_text {
  color: #f0f0f0;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  padding: 0 4px;
}
.yt_fallback_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ff0000;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,0,0,0.35);
  transition: transform 0.15s ease, background 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.yt_fallback_btn:hover, .yt_fallback_btn:active {
  background: #e60000;
  transform: scale(1.03);
}


/* ---- 3. PiP Bubble ---- */
#yt_pip_bubble {
  position: fixed;
  z-index: 10000;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  box-shadow: 0 6px 22px rgba(0,0,0,0.6), 0 0 18px rgba(255,0,0,0.45);
}
/* Entrance animation */
#yt_pip_bubble.pip_in { animation: pipIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes pipIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* Dragging state */
#yt_pip_bubble.pip_dragging { cursor: grabbing; transform: scale(1.08); transition: none; }

/* Rotating gradient ring */
.pip_ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff0000, #ff6600, #ffcc00, #ff0000);
  animation: pipRing 3s linear infinite;
  z-index: 0;
}
@keyframes pipRing { to { transform: rotate(360deg); } }

/* Pulsing aura */
#yt_pip_bubble::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,0,0,0.5);
  animation: pipPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes pipPulse {
  0%   { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Thumbnail inside bubble */
#pip_thumb {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #111;
  pointer-events: none;
}

/* Play icon overlay */
.pip_icon {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,0,0,0.88);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding-left: 2px;
}

/* Sound wave bars */
.pip_waves {
  position: absolute;
  bottom: 4px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
}
.pip_waves span {
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: pipWave 0.85s ease-in-out infinite alternate;
}
.pip_waves span:nth-child(1) { height: 5px; animation-delay: 0s; }
.pip_waves span:nth-child(2) { height: 10px; animation-delay: 0.28s; }
.pip_waves span:nth-child(3) { height: 6px; animation-delay: 0.56s; }
@keyframes pipWave { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }

/* Close button */
#pip_close {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 10;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s;
}
#pip_close:hover { transform: scale(1.25) rotate(90deg); background: #ff0000; }

/* ---- Mobile ---- */
@media screen and (max-width: 768px) {
  .open_player.yt_chat_card { width: 100%; max-width: 200px; }
  #container_stream { border-radius: 8px; }
  #stream_header { height: 38px; padding: 0 8px; }
  #wrap_stream { height: 200px; }
  #yt_pip_bubble { width: 60px; height: 60px; }
  #pip_thumb { width: 52px; height: 52px; }
}

/* login page Seo */
/* .midd { display: inline-table; vertical-align: top; width: 300px }
.room { margin: 0 auto 15px; text-align: center; border: 1px solid lavender; background: #f9f9f9 }
.room strong { background: #E3F0F7; color: #32526d; padding: 5px 0; font: bold 18px 'Segoe UI',Tahoma }
.room p { font: 16px 'Segoe UI',Tahoma; margin: 5px; color: #0069b4; line-height: 1.8 }
.room a { display: table; margin: 10px auto 5px; color: #fff; background: #f97360; padding: 3px 5px; border-radius: 5px; font: 18px 'Segoe UI'; text-decoration: none }
.room a:hover { background: steelblue }
.link a { display: table; margin: 10px auto 5px; background: #f97360; padding: 3px 5px; border-radius: 5px; font: 18px 'Segoe UI'; text-decoration: none }
.link a:hover { background: steelblue }
.copyright {color:#0c0d0d; background: yellow;}
.member_btn{background: #74b20e;color: #000;}
.link {
 background-color:#f9f9f9;
 padding:10px;
 border-radius:25px
} */
/*header*/
header {
    background: aliceblue;
    margin: 10px auto;
    width: 90%
}

/* footer css */
#main_links {
    padding: 15px 0;
    height: auto;
}

#menu_main_links {
    font-size: 15px;
    width: auto;
}

#menu_main_links li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 6px;
    font-size: 13px;
}

#menu_main_links li a {
    color: #000;
    text-decoration: none;
}

pre {
    line-height: 2;
    white-space: pre-line;
    font-family: "noto kufi arabic";
}

.title-h2,
.title-h1 {
    display: inline-block;
    color: white;
    background-color: #05b1d4;
    font-size: 30px;
    font-weight: 400;
    height: fit-content;
    padding: 14px;
}

.mg20 {
    margin: 0% 9%;
}

.maincontent {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 25px
}

.headlinez {
    font-weight: 400;
    font-size: 32px;
    color: #000 !important
}

.textlinez {
    font-weight: 400;
    font-size: 16px !important;
    color: grey !important
}

.headlinez1 {
    font-weight: bold;
    font-size: 32px;
    color: #e62121 !important
}

.textlinez1 {
    font-weight: 400;
    font-size: 16px !important;
    color: #000 !important
}
/* Owner-only reaction moderation in news and trend like lists. */
.owner_reaction_option {
	width: 42px;
	padding: 0 3px;
}
.owner_reaction_remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(210, 42, 54, .10);
	color: #cf2f3d;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.owner_reaction_remove:hover,
.owner_reaction_remove:focus {
	background: #cf2f3d;
	color: #fff;
	outline: none;
	transform: scale(1.05);
}
.owner_reaction_remove:focus-visible {
	box-shadow: 0 0 0 3px rgba(207, 47, 61, .22);
}
.owner_reaction_confirm .reg_button {
	margin: 4px 2px;
}
@media screen and (max-width: 480px) {
	.owner_reaction_option {
		width: 38px;
	}
	.owner_reaction_remove {
		width: 32px;
		height: 32px;
	}
}

/* =====================================================
   MoonChat Unified Adaptive Theme Contrast System
   ===================================================== */
.username.custom_name_color {
	letter-spacing: -0.1px;
	transition: color 0.18s ease;
}

.user_item_icon.icrank > div,
.user_item_icon.icrank > div.custom_level_badge,
.user_item_icon.icrank > div[class*="under-"],
.user_item_icon.icrank > div.reach-100 {
	display: block !important;
	width: 22px !important;
	min-width: 22px !important;
	max-width: 22px !important;
	height: 11px !important;
	line-height: 11px !important;
	margin: 1px auto 0 auto !important;
	font-size: 8px !important;
	font-weight: bold !important;
	text-align: center !important;
	box-sizing: border-box !important;
	border-radius: 2px !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

.chat_rank_level_wrap [title="level"] {
	display: block !important;
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 10px !important;
	line-height: 10px !important;
	margin: 1px auto 0 auto !important;
	font-size: 8px !important;
	font-weight: bold !important;
	text-align: center !important;
	box-sizing: border-box !important;
	border-radius: 2px !important;
	color: #ffffff !important;
}

/* Light Theme Enhancements (Lite, ArabGirls) */
body[data-theme-mode="light"] .username.custom_name_color,
body.theme-light .username.custom_name_color {
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.22);
}

/* Dark Theme Enhancements (Dark, Gray) */
body[data-theme-mode="dark"] .username.custom_name_color,
body.theme-dark .username.custom_name_color {
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
}



/* Social Media Footer Icons */
#menu_main_links .intro_login_btn,
#menu_main_links button.social_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16) !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}
#menu_main_links .intro_login_btn:hover,
#menu_main_links button.social_btn:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26) !important;
}
#menu_main_links .intro_login_btn i,
#menu_main_links button.social_btn i {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-align: center !important;
    display: inline-block !important;
}
#menu_main_links .app_facebook,
.app_facebook {
    background: #1877f2 !important;
    color: #ffffff !important;
}
#menu_main_links .app_facebook:hover,
.app_facebook:hover {
    background: #166fe5 !important;
}
#menu_main_links .app_youtube,
.app_youtube {
    background: #ff0000 !important;
    color: #ffffff !important;
}
#menu_main_links .app_youtube:hover,
.app_youtube:hover {
    background: #e60000 !important;
}
#menu_main_links .app_twitter,
.app_twitter {
    background: #1da1f2 !important;
    color: #ffffff !important;
}
#menu_main_links .app_twitter:hover,
.app_twitter:hover {
    background: #0d95e8 !important;
}
#menu_main_links .app_insta,
.app_insta {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
    color: #ffffff !important;
}
#menu_main_links .app_insta:hover,
.app_insta:hover {
    opacity: 0.92 !important;
}


/* Centering sections and link grids */
.moon_country_links,
section.moon_country_links {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
.moon_country_links h2,
.moon_country_links h3 {
    text-align: center !important;
}
.moon_country_grid {
    justify-content: center !important;
}
.moon_country_grid a {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.social_footer_wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 15px auto !important;
    text-align: center !important;
}
.intro_footer,
#main_footer,
#main_footer .section_content,
#main_footer .section_inside {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
#menu_main_links {
    margin: 0 auto !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Hide only application download CTAs inside Android apps.
   User-shared Google Play links in chat, private messages, and posts stay visible. */
.is_android_app .app_btn,
.is_android_app .mm_btn_app,
.is_android_app .ag_btn_app,
.is_android_app .ac_btn_app,
.is_android_app .a7la7p_btn_app,
.is_android_app #left_menu_download_app,
.is_android_app .badge_gplay,
.is_android_app .ag_badge_gplay,
.is_android_app a.ag_tag_badge {
    display: none !important;
}


/* Source: css/extend_features.css */
/*
 * Premium profile and chat decorations.
 *
 * These rules used to be printed by the extend_files addon. They live in the
 * core stylesheet now so profiles, badges and frames keep their layout when
 * that addon is disabled.
 */
@font-face {
	font-family: "Moon Font Awesome 5 Free";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("webfonts/fa-solid-900.woff2") format("woff2"), url("webfonts/fa-solid-900.woff") format("woff");
}
.webauthn_fa { display:inline-block; font-family:"Moon Font Awesome 5 Free"; font-style:normal; font-weight:900; line-height:1; text-rendering:auto; -webkit-font-smoothing:antialiased; }
.webauthn_fa.fa-fingerprint::before { content:"\f577"; }
.webauthn_external_login { margin-bottom:12px; }
.webauthn_login_break { clear:both; height:1px; margin:17px 0 14px; background:rgba(127,127,127,.3); }
.webauthn_autofill_username { position:fixed !important; left:-10000px !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; }
.webauthn_password_wrap { position:relative; }
.webauthn_password_wrap #webauthn_password { padding-left:43px; }
.webauthn_password_eye { position:absolute; left:5px; top:50%; width:34px; height:34px; margin-top:-17px; padding:0; color:#68777f; background:transparent; border:0; cursor:pointer; font-size:17px; }
.webauthn_login_status { min-height:18px; margin-top:7px; text-align:center; color:#69757d; }
.webauthn_login_status.webauthn_error { color:#c62828; }
.webauthn_login_status.webauthn_success { color:#087f8c; }
.webauthn_intro { text-align:center; padding:5px 5px 12px; }
.webauthn_big_icon { font-size:42px; color:#087f8c; margin-bottom:7px; }
.webauthn_notice,.webauthn_empty { padding:12px; margin:8px 0; border-radius:6px; background:rgba(127,127,127,.12); text-align:center; }
.webauthn_device { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px; margin-top:7px; border:1px solid rgba(127,127,127,.2); border-radius:7px; }
.webauthn_device small { display:block; margin-top:3px; color:#888; }

#pro_social {
	right: auto;
	left: 0;
	top: 100%;
	width: 170px;
	z-index: 40;
}

.online_mark {
	border-left: 3px solid green;
	background: linear-gradient(45deg, #c1ffd2, transparent);
}

.inline {
	display: inline !important;
}

.rtl_fright {
	float: right;
}

.btn.btn-counter {
	box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset;
	border-radius: 3px;
	border: 1px solid #bbb;
	display: inline-block;
	height: 20px;
	line-height: 18px;
	padding: 0 8px;
	position: relative;
	font-size: 12px;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #dbdbdb;
	color: #666;
}

.btn.btn-counter {
	margin-right: 39px;
}

.btn.btn-counter::after,
.btn.btn-counter:hover::after {
	text-shadow: none;
}

.btn.btn-counter::after {
	border-radius: 3px;
	border: 1px solid #d3d3d3;
	background-color: #eee;
	padding: 0 8px;
	color: #777;
	content: attr(data-count);
	left: 100%;
	margin-left: 8px;
	margin-right: -13px;
	position: absolute;
	top: -1px;
}

.btn.btn-counter::before {
	transform: rotate(45deg);
	background-color: #eee;
	border: 1px solid #d3d3d3;
	border-right: 0;
	border-top: 0;
	content: '';
	position: absolute;
	right: -13px;
	top: 5px;
	height: 6px;
	width: 6px;
	z-index: 1;
}

.btn.btn-counter:hover,
.btn.btn-counter.active {
	text-shadow: 0 1px 0 #b12f27;
	background-color: #f64136;
	border-color: #b12f27;
}

.btn.btn-counter:active {
	box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2) inset;
}

.btn.btn-counter span {
	color: #f64136;
}

.btn.btn-counter:hover,
.btn.btn-counter:hover span,
.btn.btn-counter.active,
.btn.btn-counter.active span {
	color: #eee;
}

.btn.btn-counter:active span {
	color: #b12f27;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.frame_class {
	position: absolute;
	top: -7px;
	border-radius: 0;
	width: 50px !important;
	height: 54px !important;
}

.frame_class_pro {
	left: 50%;
	right: auto;
	position: absolute;
	top: -30px;
	border-radius: 0;
	width: 200px !important;
	height: 200px !important;
	margin: 0;
	transform: translateX(-50%);
	transform-origin: center center;
}

.moon_profile_avatar {
	position: relative;
	width: 100px;
	height: 100px;
	margin: 0 auto 14px;
}

.moon_profile_avatar_framed {
	margin-bottom: 50px;
}

.moon_profile_avatar_image {
	width: 118px;
	height: 118px;
	border: 0;
	border-radius: 50%;
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	object-fit: contain;
	background: #f5f5f5;
	box-shadow: 0 5px 10px #00000094;
}

/* Reserve the full artwork height above the photo and before the profile name. */
.moon_profile_avatar_framed {
	margin-top: var(--profile-frame-top-space, 38px);
	margin-bottom: var(--profile-frame-bottom-space, 50px);
}

/* Keep the photo circular and fill the calibrated opening of its equipped frame. */
.moon_profile_avatar_framed .moon_profile_avatar_image {
	width: var(--profile-photo-size, 128px);
	height: var(--profile-photo-size, 128px);
	object-fit: cover;
	background: transparent;
	box-shadow: none;
}

.moon_profile_avatar .frame_class_pro {
	left: calc(50% + var(--profile-frame-x, 0px));
	right: auto;
	top: calc(50% + var(--profile-frame-y, 0px));
	width: var(--profile-frame-width, 160px) !important;
	height: auto !important;
	margin: 0;
	transform: translate(-50%, -50%);
}

/* Profile opening calibration: each frame has its own canvas and inner circle. */
.moon_profile_avatar:has(> .profile_frame_best_webp) {
	--profile-frame-width: 185.44px;
	--profile-frame-x: -0.07px;
	--profile-frame-y: -8.51px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 67px;
	--profile-frame-bottom-space: 62px;
}
.moon_profile_avatar:has(> .profile_frame_bestcrown_png) {
	--profile-frame-width: 201.84px;
	--profile-frame-x: 1.13px;
	--profile-frame-y: 1.69px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 50px;
	--profile-frame-bottom-space: 65px;
}
.moon_profile_avatar:has(> .profile_frame_cat_frame_png) {
	--profile-frame-width: 191.53px;
	--profile-frame-x: 1.57px;
	--profile-frame-y: 0.48px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 55px;
	--profile-frame-bottom-space: 68px;
}
.moon_profile_avatar:has(> .profile_frame_caty_frame_png) {
	--profile-frame-width: 179.73px;
	--profile-frame-x: 2.3px;
	--profile-frame-y: -8.28px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 57px;
	--profile-frame-bottom-space: 53px;
}
.moon_profile_avatar:has(> .profile_frame_crown_frame_png) {
	--profile-frame-width: 200.15px;
	--profile-frame-x: -0.45px;
	--profile-frame-y: 14.01px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 37px;
	--profile-frame-bottom-space: 77px;
}
.moon_profile_avatar:has(> .profile_frame_cute_frame_png) {
	--profile-frame-width: 191.81px;
	--profile-frame-x: 0.04px;
	--profile-frame-y: 0.01px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 44px;
	--profile-frame-bottom-space: 56px;
}
.moon_profile_avatar:has(> .profile_frame_dragon_webp) {
	--profile-frame-width: 210px;
	--profile-frame-x: -5.71px;
	--profile-frame-y: -8.01px;
	--profile-photo-size: 112.08px;
	--profile-frame-top-space: 81px;
	--profile-frame-bottom-space: 77px;
}
.moon_profile_avatar:has(> .profile_frame_dragon2_png) {
	--profile-frame-width: 207.8px;
	--profile-frame-x: 4.83px;
	--profile-frame-y: 4.22px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 50px;
	--profile-frame-bottom-space: 71px;
}
.moon_profile_avatar:has(> .profile_frame_f1_webp) {
	--profile-frame-width: 166.09px;
	--profile-frame-x: 0.32px;
	--profile-frame-y: -6.18px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 54px;
	--profile-frame-bottom-space: 53px;
}
.moon_profile_avatar:has(> .profile_frame_f2_webp) {
	--profile-frame-width: 171.91px;
	--profile-frame-x: 0.12px;
	--profile-frame-y: -6.05px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 57px;
	--profile-frame-bottom-space: 57px;
}
.moon_profile_avatar:has(> .profile_frame_f3_webp) {
	--profile-frame-width: 186.39px;
	--profile-frame-x: 0.47px;
	--profile-frame-y: -5.82px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 65px;
	--profile-frame-bottom-space: 65px;
}
.moon_profile_avatar:has(> .profile_frame_fish_frame_png) {
	--profile-frame-width: 210px;
	--profile-frame-x: 2.21px;
	--profile-frame-y: 0.94px;
	--profile-photo-size: 124.19px;
	--profile-frame-top-space: 65px;
	--profile-frame-bottom-space: 79px;
}
.moon_profile_avatar:has(> .profile_frame_flower_frame_png) {
	--profile-frame-width: 191.33px;
	--profile-frame-x: 2.9px;
	--profile-frame-y: 1.75px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 54px;
	--profile-frame-bottom-space: 69px;
}
.moon_profile_avatar:has(> .profile_frame_frame1_png),
.moon_profile_avatar:has(> .profile_frame_frame2_png),
.moon_profile_avatar:has(> .profile_frame_frame33_png) {
	--profile-frame-width: 178.23px;
	--profile-frame-x: 0.42px;
	--profile-frame-y: 2.42px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 46px;
	--profile-frame-bottom-space: 63px;
}
.moon_profile_avatar:has(> .profile_frame_frame10_png),
.moon_profile_avatar:has(> .profile_frame_frame11_png) {
	--profile-frame-width: 176.13px;
	--profile-frame-x: 0.07px;
	--profile-frame-y: 1.13px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 46px;
	--profile-frame-bottom-space: 60px;
}
.moon_profile_avatar:has(> .profile_frame_frame12_png),
.moon_profile_avatar:has(> .profile_frame_frame120_png) {
	--profile-frame-width: 171.3px;
	--profile-frame-x: -4.38px;
	--profile-frame-y: -2.37px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 47px;
	--profile-frame-bottom-space: 54px;
}
.moon_profile_avatar:has(> .profile_frame_frame13_png),
.moon_profile_avatar:has(> .profile_frame_frame130_png) {
	--profile-frame-width: 151.24px;
	--profile-frame-x: 0.56px;
	--profile-frame-y: -1.66px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 35px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_frame14_png),
.moon_profile_avatar:has(> .profile_frame_frame140_png) {
	--profile-frame-width: 196.24px;
	--profile-frame-x: 2.94px;
	--profile-frame-y: 8.92px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 49px;
	--profile-frame-bottom-space: 79px;
}
.moon_profile_avatar:has(> .profile_frame_frame1400_png) {
	--profile-frame-width: 183.15px;
	--profile-frame-x: -1.25px;
	--profile-frame-y: -4.94px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 56px;
	--profile-frame-bottom-space: 58px;
}
.moon_profile_avatar:has(> .profile_frame_frame15_png),
.moon_profile_avatar:has(> .profile_frame_frame150_png) {
	--profile-frame-width: 196.82px;
	--profile-frame-x: 8.02px;
	--profile-frame-y: 8.66px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 50px;
	--profile-frame-bottom-space: 79px;
}
.moon_profile_avatar:has(> .profile_frame_frame1500_png) {
	--profile-frame-width: 190.71px;
	--profile-frame-x: 2.57px;
	--profile-frame-y: 2.4px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 53px;
	--profile-frame-bottom-space: 70px;
}
.moon_profile_avatar:has(> .profile_frame_frame16_png),
.moon_profile_avatar:has(> .profile_frame_frame160_png) {
	--profile-frame-width: 185.88px;
	--profile-frame-x: 0.77px;
	--profile-frame-y: 4.26px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 48px;
	--profile-frame-bottom-space: 69px;
}
.moon_profile_avatar:has(> .profile_frame_frame17_png),
.moon_profile_avatar:has(> .profile_frame_frame170_png) {
	--profile-frame-width: 176.13px;
	--profile-frame-x: 0.6px;
	--profile-frame-y: 2.54px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 45px;
	--profile-frame-bottom-space: 62px;
}
.moon_profile_avatar:has(> .profile_frame_frame18_png),
.moon_profile_avatar:has(> .profile_frame_frame180_png) {
	--profile-frame-width: 189.39px;
	--profile-frame-x: 1.63px;
	--profile-frame-y: 5.06px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 49px;
	--profile-frame-bottom-space: 72px;
}
.moon_profile_avatar:has(> .profile_frame_frame1800_png) {
	--profile-frame-width: 177.82px;
	--profile-frame-x: 2.46px;
	--profile-frame-y: -7px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 55px;
	--profile-frame-bottom-space: 53px;
}
.moon_profile_avatar:has(> .profile_frame_frame1810_png) {
	--profile-frame-width: 176.26px;
	--profile-frame-x: 2.67px;
	--profile-frame-y: -4.5px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 52px;
	--profile-frame-bottom-space: 55px;
}
.moon_profile_avatar:has(> .profile_frame_frame19_png),
.moon_profile_avatar:has(> .profile_frame_frame190_png) {
	--profile-frame-width: 186.9px;
	--profile-frame-x: 0.8px;
	--profile-frame-y: 4.43px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 49px;
	--profile-frame-bottom-space: 70px;
}
.moon_profile_avatar:has(> .profile_frame_frame20_png),
.moon_profile_avatar:has(> .profile_frame_frame200_png) {
	--profile-frame-width: 201.34px;
	--profile-frame-x: 0.13px;
	--profile-frame-y: -3.81px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 65px;
	--profile-frame-bottom-space: 69px;
}
.moon_profile_avatar:has(> .profile_frame_frame21_png),
.moon_profile_avatar:has(> .profile_frame_frame210_png) {
	--profile-frame-width: 185.7px;
	--profile-frame-x: 0.26px;
	--profile-frame-y: 4.2px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 48px;
	--profile-frame-bottom-space: 69px;
}
.moon_profile_avatar:has(> .profile_frame_frame2100_png) {
	--profile-frame-width: 183.14px;
	--profile-frame-x: 1.63px;
	--profile-frame-y: 2.04px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 49px;
	--profile-frame-bottom-space: 65px;
}
.moon_profile_avatar:has(> .profile_frame_frame2110_png) {
	--profile-frame-width: 176.15px;
	--profile-frame-x: 1.02px;
	--profile-frame-y: -2.34px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 50px;
	--profile-frame-bottom-space: 57px;
}
.moon_profile_avatar:has(> .profile_frame_frame22_png),
.moon_profile_avatar:has(> .profile_frame_frame220_png) {
	--profile-frame-width: 210px;
	--profile-frame-x: -13.76px;
	--profile-frame-y: -7.76px;
	--profile-photo-size: 125.24px;
	--profile-frame-top-space: 74px;
	--profile-frame-bottom-space: 70px;
}
.moon_profile_avatar:has(> .profile_frame_frame4_png) {
	--profile-frame-width: 176.19px;
	--profile-frame-x: 2.41px;
	--profile-frame-y: -0.67px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 42px;
	--profile-frame-bottom-space: 53px;
}
.moon_profile_avatar:has(> .profile_frame_frame5_png),
.moon_profile_avatar:has(> .profile_frame_frame6_png) {
	--profile-frame-width: 171.52px;
	--profile-frame-x: 0.29px;
	--profile-frame-y: 2.03px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 43px;
	--profile-frame-bottom-space: 59px;
}
.moon_profile_avatar:has(> .profile_frame_frame7_png),
.moon_profile_avatar:has(> .profile_frame_frame8_png),
.moon_profile_avatar:has(> .profile_frame_frame9_png) {
	--profile-frame-width: 176.05px;
	--profile-frame-x: 0.98px;
	--profile-frame-y: 1.04px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 46px;
	--profile-frame-bottom-space: 60px;
}
.moon_profile_avatar:has(> .profile_frame_g10_webp) {
	--profile-frame-width: 162.62px;
	--profile-frame-x: 0.4px;
	--profile-frame-y: -7.56px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 53px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_g4_webp) {
	--profile-frame-width: 159.93px;
	--profile-frame-x: 0.83px;
	--profile-frame-y: -7.91px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 52px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_g5_webp) {
	--profile-frame-width: 196.04px;
	--profile-frame-x: 0.48px;
	--profile-frame-y: -2.94px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 68px;
	--profile-frame-bottom-space: 74px;
}
.moon_profile_avatar:has(> .profile_frame_g6_webp) {
	--profile-frame-width: 195.85px;
	--profile-frame-x: 0.48px;
	--profile-frame-y: -2.85px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 68px;
	--profile-frame-bottom-space: 74px;
}
.moon_profile_avatar:has(> .profile_frame_g7_webp) {
	--profile-frame-width: 195.76px;
	--profile-frame-x: 0.49px;
	--profile-frame-y: -2.91px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 68px;
	--profile-frame-bottom-space: 74px;
}
.moon_profile_avatar:has(> .profile_frame_g8_webp) {
	--profile-frame-width: 160.91px;
	--profile-frame-x: 0.82px;
	--profile-frame-y: -6.29px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 51px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_g9_webp) {
	--profile-frame-width: 162.84px;
	--profile-frame-x: 0.35px;
	--profile-frame-y: -7.65px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 53px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_hat_frame_png) {
	--profile-frame-width: 197.13px;
	--profile-frame-x: 1.52px;
	--profile-frame-y: 0.78px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 58px;
	--profile-frame-bottom-space: 72px;
}
.moon_profile_avatar:has(> .profile_frame_heart_webp) {
	--profile-frame-width: 174.25px;
	--profile-frame-x: 1.41px;
	--profile-frame-y: -1.89px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 40px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_heart2_webp) {
	--profile-frame-width: 173.99px;
	--profile-frame-x: 0.58px;
	--profile-frame-y: -2.63px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 40px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_heart3_webp) {
	--profile-frame-width: 174.72px;
	--profile-frame-x: 1.76px;
	--profile-frame-y: -1.05px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 39px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_ice_frame_png) {
	--profile-frame-width: 193.19px;
	--profile-frame-x: 1.05px;
	--profile-frame-y: 1.35px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 55px;
	--profile-frame-bottom-space: 70px;
}
.moon_profile_avatar:has(> .profile_frame_jesy_frame_png) {
	--profile-frame-width: 188.05px;
	--profile-frame-x: 1.81px;
	--profile-frame-y: 6.69px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 47px;
	--profile-frame-bottom-space: 72px;
}
.moon_profile_avatar:has(> .profile_frame_jesy1_frame_png) {
	--profile-frame-width: 157.51px;
	--profile-frame-x: 1.56px;
	--profile-frame-y: 10.92px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 26px;
	--profile-frame-bottom-space: 60px;
}
.moon_profile_avatar:has(> .profile_frame_king1_png) {
	--profile-frame-width: 194.13px;
	--profile-frame-x: -0.31px;
	--profile-frame-y: -1.55px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 59px;
	--profile-frame-bottom-space: 68px;
}
.moon_profile_avatar:has(> .profile_frame_m1_webp) {
	--profile-frame-width: 186.27px;
	--profile-frame-x: 0.46px;
	--profile-frame-y: -5.89px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 65px;
	--profile-frame-bottom-space: 65px;
}
.moon_profile_avatar:has(> .profile_frame_m2_webp) {
	--profile-frame-width: 160.02px;
	--profile-frame-x: 0.75px;
	--profile-frame-y: -7.83px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 52px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_m3_webp) {
	--profile-frame-width: 160.34px;
	--profile-frame-x: 0.04px;
	--profile-frame-y: -6.47px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 51px;
	--profile-frame-bottom-space: 50px;
}
.moon_profile_avatar:has(> .profile_frame_metal_frame_png) {
	--profile-frame-width: 194.02px;
	--profile-frame-x: 1.94px;
	--profile-frame-y: 1.98px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 55px;
	--profile-frame-bottom-space: 71px;
}
.moon_profile_avatar:has(> .profile_frame_moon_png) {
	--profile-frame-width: 197.69px;
	--profile-frame-x: -0.22px;
	--profile-frame-y: 2.18px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 47px;
	--profile-frame-bottom-space: 64px;
}
.moon_profile_avatar:has(> .profile_frame_owner_frame_png) {
	--profile-frame-width: 210px;
	--profile-frame-x: 0.81px;
	--profile-frame-y: -3.21px;
	--profile-photo-size: 127.27px;
	--profile-frame-top-space: 69px;
	--profile-frame-bottom-space: 75px;
}
.moon_profile_avatar:has(> .profile_frame_pink_frame_png) {
	--profile-frame-width: 169.99px;
	--profile-frame-x: 0.91px;
	--profile-frame-y: -1.29px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 43px;
	--profile-frame-bottom-space: 53px;
}
.moon_profile_avatar:has(> .profile_frame_purple_frame_png) {
	--profile-frame-width: 190.54px;
	--profile-frame-x: 1.95px;
	--profile-frame-y: 10.73px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 44px;
	--profile-frame-bottom-space: 78px;
}
.moon_profile_avatar:has(> .profile_frame_santa_frame_png) {
	--profile-frame-width: 191.42px;
	--profile-frame-x: 1.21px;
	--profile-frame-y: -1.84px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 57px;
	--profile-frame-bottom-space: 66px;
}
.moon_profile_avatar:has(> .profile_frame_small_blue_frame_png) {
	--profile-frame-width: 194.26px;
	--profile-frame-x: 2.44px;
	--profile-frame-y: 3.77px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 37px;
	--profile-frame-bottom-space: 57px;
}
.moon_profile_avatar:has(> .profile_frame_star_frame_png) {
	--profile-frame-width: 191.46px;
	--profile-frame-x: 0.95px;
	--profile-frame-y: -2.72px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 58px;
	--profile-frame-bottom-space: 65px;
}
.moon_profile_avatar:has(> .profile_frame_top_webp) {
	--profile-frame-width: 162.98px;
	--profile-frame-x: 0.4px;
	--profile-frame-y: -7.03px;
	--profile-photo-size: 128px;
	--profile-frame-top-space: 48px;
	--profile-frame-bottom-space: 50px;
}

.moon_profile_rank {
	margin-bottom: 4px;
}

.moon_profile_premium {
	margin-bottom: -3px;
}

/* Keep every profile action, including the like counter, inside mobile width. */
.moon_profile_actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5px;
	max-width: 100%;
}

.moon_profile_actions .tiny_button,
.moon_profile_actions .btn.btn-counter {
	margin-top: 8px;
	height: 23px !important;
	min-height: 23px;
	box-sizing: border-box;
	font-size: 11px;
	line-height: 21px;
	padding-top: 0;
	padding-bottom: 0;
	border-radius: 3px;
	vertical-align: middle;
}

.moon_profile_actions .btn.btn-counter::after {
	height: 23px;
	box-sizing: border-box;
	line-height: 21px;
	top: -1px;
}

.moon_profile_actions .btn.btn-counter::before {
	top: 7px;
}

.moon_profile_actions .moon_profile_like_readonly,
.moon_profile_actions .moon_profile_like_readonly:hover {
	cursor: default;
	background-color: #dbdbdb;
	border-color: #bbb;
	color: #666;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.moon_profile_actions .moon_profile_like_readonly:hover span {
	color: #f64136;
}

@media screen and (max-width: 480px) {
	.moon_profile_actions {
		gap: 3px;
		padding: 0 2px;
	}

	.moon_profile_actions .tiny_button {
		min-width: 0;
		padding-right: 6px;
		padding-left: 6px;
		font-size: 11px;
		white-space: nowrap;
	}

	.moon_profile_actions .btn.btn-counter {
		margin-right: 36px;
		padding-right: 6px;
		padding-left: 6px;
		font-size: 11px;
		white-space: nowrap;
	}

	.moon_profile_actions .btn.btn-counter::after {
		margin-left: 5px;
		padding-right: 6px;
		padding-left: 6px;
	}
}

/* Fill the whole profile tab bar and remove the baseline strip under/over tabs. */
#ex_menu > ul {
	display: flex;
	align-items: stretch;
	width: 100%;
}

#ex_menu > ul > .modal_menu_item {
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px 6px;
	white-space: normal;
	line-height: 1.2;
	overflow-wrap: break-word;
}

#ex_menu > ul > .modal_menu_item:not(.modal_selected) {
	color: var(--pro-tab-color, inherit);
}

@media screen and (max-width: 640px) {
	#ex_menu > ul > .modal_menu_item {
		padding: 8px 2px;
		font-size: 11px;
	}
}

.pad_frame_pro {
	padding-top: 25px;
}

.badge_class {
	display: block;
	min-height: 20px;
	height: 20px;
	margin: 0 auto 3px auto;
	pointer-events: none;
}

.badge_class img {
	height: 20px;
	display: block;
	margin: 0 auto;
	pointer-events: none;
}

.chat_rank {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
	object-fit: contain;
	vertical-align: middle;
	margin-inline-end: 4px;
}

.list_rank {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

.user_item_icon.icrank {
	width: 24px;
	max-width: 24px;
	text-align: center;
	vertical-align: middle;
}

.user_item_icon.icrank .list_rank {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
	object-fit: contain;
	margin: 0 auto;
	display: block;
}

.user_item_icon.icrank > div {
	width: 22px !important;
	min-width: 22px !important;
	max-width: 22px !important;
	height: 11px !important;
	line-height: 11px !important;
	display: block !important;
	margin: 1px auto 0 auto !important;
	font-size: 8px !important;
	font-weight: bold !important;
	text-align: center !important;
	box-sizing: border-box !important;
	border-radius: 2px !important;
	color: #ffffff !important;
}

.chat_rank_level_wrap {
	display: inline-grid !important;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: center;
	vertical-align: middle;
	width: 16px;
	margin: 0;
	margin-inline-end: 4px;
	position: relative;
	text-align: center;
	line-height: 1;
}

.chat_rank_level_wrap .chat_rank {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
	object-fit: contain;
	margin: 0 auto !important;
	padding: 0 !important;
	display: block;
}

.chat_rank_level_wrap [title="level"] {
	display: block;
	width: 100%;
	max-width: 18px;
	font-size: 8px;
	line-height: 9px;
	padding: 0 1px;
	border-radius: 2px;
	margin-top: 1px;
	text-align: center;
	box-sizing: border-box;
}

.list_online {
	position: absolute;
	bottom: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	padding: 2px;
}

.moon_lang_ar .frame_class {
	right: -5px;
	left: auto;
}

.moon_lang_ar .badge_class,
.moon_lang_ltr .badge_class {
	position: static;
	left: auto;
	right: auto;
	top: auto;
	margin: 0 auto 3px auto;
}

.moon_lang_ltr .list_online {
	left: 0;
	right: auto;
}

/* Voice and video calls */
#private_call_btn {
	color: #35c8ff;
}

#private_call_btn:hover,
#private_call_btn:focus {
	color: #7de0ff;
	outline: none;
}

.call_overlay {
	position: fixed;
	inset: 0;
	z-index: 1400;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(5, 9, 16, .76);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.call_overlay.call_open {
	display: flex;
}

body.call_overlay_open {
	overflow: hidden !important;
}

.call_dialog {
	position: relative;
	width: min(520px, 100%);
	max-height: calc(100vh - 36px);
	max-height: calc(100dvh - 36px);
	overflow: auto;
	color: #f7f9fc;
	background: #151b26;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 20px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
}

.call_header {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 72px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, .035);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.call_icon_btn {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	padding: 0;
	color: #cbd3df;
	background: rgba(255, 255, 255, .08);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.call_icon_btn:hover,
.call_icon_btn:focus {
	color: #fff;
	background: rgba(255, 255, 255, .16);
	outline: 2px solid rgba(53, 200, 255, .45);
}

.call_minimize_btn {
	display: none;
}

.call_mini_bubble {
	position: absolute;
	right: 18px;
	bottom: 86px;
	z-index: 1350;
	display: none;
	width: 88px;
	height: 88px;
	padding: 0;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
	background: #111925;
	border: 3px solid rgba(88, 214, 255, .92);
	border-radius: 50%;
	box-shadow: 0 9px 30px rgba(0, 0, 0, .42), 0 0 0 4px rgba(53, 200, 255, .12);
	cursor: grab;
	transition: transform .16s ease, box-shadow .16s ease;
}

.call_mini_bubble.call_mini_visible {
	display: block;
}

.call_mini_bubble:hover,
.call_mini_bubble:focus {
	transform: scale(1.05);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 0 5px rgba(53, 200, 255, .18);
	outline: none;
}

.call_mini_bubble.call_mini_dragging {
	transform: scale(1.03);
	cursor: grabbing;
	transition: none;
}

.call_mini_bubble img {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	border-radius: 50%;
}

.call_mini_pulse {
	position: absolute;
	inset: -7px;
	z-index: 1;
	pointer-events: none;
	border: 2px solid rgba(83, 214, 255, .65);
	border-radius: 50%;
	animation: callMiniPulse 1.8s ease-out infinite;
}

.call_mini_type {
	position: absolute;
	top: -5px;
	right: -4px;
	z-index: 4;
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	pointer-events: none;
	color: #fff;
	background: #25b96d;
	border: 2px solid #111925;
	border-radius: 50%;
	font-size: 12px;
}

.call_mini_duration {
	position: absolute;
	bottom: -9px;
	left: 50%;
	z-index: 4;
	min-width: 55px;
	padding: 4px 7px;
	pointer-events: none;
	color: #fff;
	background: rgba(9, 14, 22, .94);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	transform: translateX(-50%);
}

.call_mini_actions {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.call_mini_action_btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
	font-size: 13px;
	transition: transform .15s ease;
}

.call_mini_action_btn:hover {
	transform: scale(1.12);
}

.call_mini_accept {
	background: #25b96d;
}

.call_mini_reject {
	background: #e74c3c;
}

.call_mini_reject i {
	transform: rotate(135deg);
}

.call_mini_bubble.call_mini_ringing .call_mini_pulse {
	border-color: #25b96d;
	animation: callMiniPulse 1.2s ease-out infinite;
}

.call_header_avatar {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	object-fit: cover;
	border-radius: 50%;
	background: #252d3a;
}

.call_header_identity {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
}

.call_header_identity strong {
	font-size: 16px;
}

.call_header_identity span {
	color: #aeb7c5;
	font-size: 12px;
}

.call_quality {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 6px 9px;
	color: #b8c1ce;
	background: rgba(255, 255, 255, .06);
	border-radius: 18px;
	font-size: 11px;
}

.call_quality_dot {
	width: 8px;
	height: 8px;
	background: #7e8794;
	border-radius: 50%;
}

.call_quality_excellent .call_quality_dot,
.call_quality_good .call_quality_dot {
	background: #34d17b;
	box-shadow: 0 0 0 3px rgba(52, 209, 123, .14);
}

.call_quality_poor .call_quality_dot {
	background: #ffb43c;
}

.call_quality_lost .call_quality_dot,
.call_quality_reconnecting .call_quality_dot {
	background: #ff5d68;
}

.call_quality_reconnecting .call_quality_dot {
	animation: callBlink 1s infinite;
}

.call_notice {
	display: none;
	margin: 12px 16px 0;
	padding: 9px 11px;
	color: #ffe7a8;
	background: rgba(255, 180, 60, .12);
	border: 1px solid rgba(255, 180, 60, .2);
	border-radius: 10px;
	font-size: 12px;
}

.call_notice.call_notice_show {
	display: block;
}

.call_notice.call_notice_error {
	color: #ffc1c5;
	background: rgba(255, 93, 104, .12);
	border-color: rgba(255, 93, 104, .22);
}

.call_view {
	display: none;
}

.call_view.call_view_active {
	display: block;
}

#call_chooser {
	padding: 18px;
}

.call_balance_line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, .055);
	border-radius: 12px;
}

.call_balance_line i {
	margin-left: 5px;
	color: #55d7ff;
}

.call_balance_line strong {
	color: #72dcff;
	font-size: 18px;
}

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

.call_type_card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 154px;
	padding: 16px 10px;
	color: #f8fbff;
	background: linear-gradient(160deg, rgba(52, 199, 255, .18), rgba(98, 86, 255, .12));
	border: 1px solid rgba(91, 208, 255, .25);
	border-radius: 16px;
	flex-direction: column;
	gap: 8px;
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.call_type_card:hover,
.call_type_card:focus {
	transform: translateY(-2px);
	background: linear-gradient(160deg, rgba(52, 199, 255, .25), rgba(98, 86, 255, .17));
	border-color: rgba(91, 208, 255, .62);
	outline: none;
}

.call_type_card:disabled {
	transform: none;
	opacity: .42;
	cursor: not-allowed;
}

.call_type_icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	color: #72dcff;
	background: rgba(0, 0, 0, .18);
	border-radius: 50%;
	font-size: 22px;
}

.call_type_card > span:last-child {
	color: #aeb9c8;
	font-size: 12px;
}

.call_text_action {
	display: none;
	margin: 16px auto 0;
	padding: 7px 10px;
	color: #ff9da4;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.call_text_action.call_action_visible {
	display: block;
}

.call_privacy_hint {
	margin: 12px 0 0;
	color: #8f99a7;
	text-align: center;
	font-size: 11px;
}

.call_ringing_view,
.call_ended_view {
	min-height: 370px;
	padding: 42px 18px 28px;
	text-align: center;
}

.call_pulse_avatar {
	position: relative;
	width: 132px;
	height: 132px;
	margin: 0 auto 22px;
}

.call_pulse_avatar img {
	position: relative;
	z-index: 2;
	width: 132px;
	height: 132px;
	object-fit: cover;
	background: #252d3a;
	border: 4px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
}

.call_pulse_ring {
	position: absolute;
	inset: -2px;
	z-index: 1;
	background: rgba(53, 200, 255, .22);
	border-radius: 50%;
	animation: callPulse 1.7s infinite;
}

.call_ringing_view h3,
.call_ended_view h3 {
	margin: 0 0 8px;
	font-size: 21px;
}

.call_ringing_view p,
.call_ended_view p {
	min-height: 18px;
	margin: 0;
	color: #aab4c3;
}

.call_ringing_actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	margin-top: 36px;
}

.call_round_action {
	display: flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	background: transparent;
	border: 0;
	flex-direction: column;
	cursor: pointer;
}

.call_round_action i {
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 50%;
	font-size: 24px;
}

.call_round_action span {
	font-size: 12px;
}

.call_accept i {
	background: #22bd69;
}

.call_reject i {
	background: #e64e59;
	transform: rotate(135deg);
}

#call_active {
	padding-bottom: 16px;
}

.call_media_stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: radial-gradient(circle at center, #263246, #0d1119 72%);
}

.call_remote_video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #090c12;
}

.call_local_video {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	display: block;
	width: 112px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: #1f2733;
	border: 2px solid rgba(255, 255, 255, .7);
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .35);
}

.call_audio_stage .call_remote_video,
.call_audio_stage .call_local_video {
	display: none;
}

.call_audio_avatar {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
}

.call_video_stage .call_audio_avatar {
	display: none;
}

.call_video_stage.call_remote_camera_off .call_remote_video {
	opacity: 0;
}

.call_video_stage.call_remote_camera_off .call_audio_avatar {
	display: flex;
}

.call_audio_avatar img {
	width: 126px;
	height: 126px;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
}

.call_audio_wave {
	display: flex;
	align-items: center;
	height: 22px;
	gap: 4px;
}

.call_audio_wave i {
	display: block;
	width: 4px;
	height: 8px;
	background: #58d6ff;
	border-radius: 4px;
	animation: callWave 1s ease-in-out infinite;
}

.call_audio_wave i:nth-child(2) { animation-delay: .15s; }
.call_audio_wave i:nth-child(3) { animation-delay: .3s; }
.call_audio_wave i:nth-child(4) { animation-delay: .45s; }

.call_runtime_stats {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 5;
	display: flex;
	gap: 8px;
}

.call_runtime_stats span {
	padding: 5px 8px;
	color: #fff;
	background: rgba(0, 0, 0, .55);
	border-radius: 12px;
	font-size: 11px;
}

.call_resume_audio {
	display: none;
	width: calc(100% - 24px);
	margin: 10px 12px 0;
	padding: 9px;
	color: #fff;
	background: #377fbd;
	border: 0;
	border-radius: 9px;
	cursor: pointer;
}

.call_resume_audio.call_resume_visible {
	display: block;
}

.call_audio_health {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 10px 2px;
}

.call_audio_health_item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 8px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 10px;
}

.call_audio_health_ok {
	color: #72e5ae;
	background: rgba(52, 209, 123, .1);
	border-color: rgba(52, 209, 123, .22);
}

.call_audio_health_wait {
	color: #f4cc72;
	background: rgba(240, 180, 55, .1);
	border-color: rgba(240, 180, 55, .22);
}

.call_audio_health_error {
	color: #ff939b;
	background: rgba(230, 78, 89, .1);
	border-color: rgba(230, 78, 89, .24);
}

.call_volume_control {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px 2px;
	font-size: 10px;
}

.call_volume_control label {
	white-space: nowrap;
}

.call_volume_control input[type="range"] {
	min-width: 80px;
	flex: 1 1 auto;
	accent-color: #31c3e5;
}

.call_volume_control output {
	min-width: 34px;
	direction: ltr;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.call_processing_row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	padding: 12px 10px 4px;
}

.call_processing_toggle,
.call_processing_fixed {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 8px;
	color: #aeb7c5;
	background: rgba(255, 255, 255, .055);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px;
	font-size: 10px;
}

.call_processing_toggle {
	cursor: pointer;
}

.call_processing_toggle.call_processing_unsupported {
	opacity: .58;
}

.call_processing_toggle.is_enabled,
.call_processing_fixed {
	color: #72e5ae;
	background: rgba(52, 209, 123, .1);
	border-color: rgba(52, 209, 123, .22);
}

.call_compatibility_box {
	margin: 8px 10px 0;
	padding: 8px;
	text-align: center;
	background: rgba(0, 0, 0, .14);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 10px;
}

.call_compatibility_box.is_enabled {
	background: rgba(52, 209, 123, .08);
	border-color: rgba(52, 209, 123, .28);
	box-shadow: inset 0 0 0 1px rgba(52, 209, 123, .06);
}

.call_compatibility_toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 12px;
	color: #d5dbe4;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	cursor: pointer;
}

.call_compatibility_toggle.is_enabled {
	color: #72e5ae;
	background: rgba(52, 209, 123, .12);
	border-color: rgba(52, 209, 123, .3);
}

.call_compatibility_options {
	display: none;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 8px;
}

.call_compatibility_options.call_compatibility_visible {
	display: flex;
}

.call_push_to_talk_btn {
	display: none;
	width: 100%;
	max-width: 260px;
	margin: 9px auto 0;
	padding: 11px 12px;
	color: #fff;
	background: #1689a5;
	border: 0;
	border-radius: 22px;
	font-weight: bold;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	cursor: pointer;
}

.call_push_to_talk_btn.call_push_to_talk_visible {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.call_push_to_talk_btn.is_talking {
	background: #29b66f;
	transform: scale(.98);
}

.call_compatibility_hint {
	margin: 7px 2px 0;
	color: #aeb7c5;
	font-size: 10px;
	line-height: 1.5;
}

.call_controls {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 18px;
	padding: 13px 12px 0;
}

.call_control_btn {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 62px;
	padding: 0;
	color: #eef2f7;
	background: transparent;
	border: 0;
	flex-direction: column;
	cursor: pointer;
}

.call_control_btn i {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	background: rgba(255, 255, 255, .12);
	border-radius: 50%;
	font-size: 18px;
}

.call_control_btn span {
	font-size: 10px;
}

.call_control_btn.is_off i,
.call_control_btn[aria-pressed="true"] i {
	background: #e9edf3;
	color: #202733;
}

.call_end_btn i {
	color: #fff;
	background: #e64e59;
	transform: rotate(135deg);
}

.call_ended_icon {
	display: grid;
	width: 78px;
	height: 78px;
	margin: 10px auto 22px;
	place-items: center;
	color: #ff8d95;
	background: rgba(230, 78, 89, .14);
	border-radius: 50%;
	font-size: 28px;
}

.call_ended_icon i {
	transform: rotate(135deg);
}

.call_ended_view .reg_button {
	margin-top: 28px;
}

.call_remote_audio {
	position: fixed;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: .01;
	pointer-events: none;
}

.call_blocks_panel {
	margin-top: 10px;
	padding: 10px;
	background: rgba(0, 0, 0, .05);
	border-radius: 8px;
}

.call_block_item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(128, 128, 128, .18);
}

.call_block_item:last-child {
	border-bottom: 0;
}

.call_block_item img {
	width: 34px;
	height: 34px;
	object-fit: cover;
	border-radius: 50%;
}

.call_block_item span {
	min-width: 0;
	flex: 1 1 auto;
}

.call_block_item button {
	padding: 5px 8px;
	color: #fff;
	background: #d94b55;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}

@keyframes callPulse {
	0% { transform: scale(.92); opacity: .75; }
	70%, 100% { transform: scale(1.28); opacity: 0; }
}

@keyframes callWave {
	0%, 100% { height: 7px; opacity: .6; }
	50% { height: 22px; opacity: 1; }
}

@keyframes callBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}

@keyframes callMiniPulse {
	0% { transform: scale(.9); opacity: .8; }
	75%, 100% { transform: scale(1.18); opacity: 0; }
}

@media (max-width: 560px) {
	.call_overlay {
		align-items: flex-end;
		padding: 0;
	}

	.call_dialog {
		width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 20px 20px 0 0;
	}

	.call_quality span:last-child {
		display: none;
	}

	.call_type_card {
		min-height: 138px;
	}

	.call_ringing_view,
	.call_ended_view {
		min-height: 360px;
	}

	.call_local_video {
		width: 88px;
	}

	.call_mini_bubble {
		right: 12px;
		bottom: 76px;
		width: 76px;
		height: 76px;
	}
}

@media (max-width: 370px) {
	.call_type_grid {
		grid-template-columns: 1fr;
	}

	.call_type_card {
		min-height: 112px;
	}

	.call_processing_fixed {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.call_pulse_ring,
	.call_mini_pulse,
	.call_audio_wave i,
	.call_quality_reconnecting .call_quality_dot {
		animation: none;
	}

	.call_type_card {
		transition: none;
	}
}
.reward_overlay{position:fixed;inset:0;z-index:2147482000;background:rgba(6,8,18,.78);display:none;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(5px)}
.reward_overlay.reward_open{display:flex}.reward_dialog{position:relative;width:min(430px,100%);max-height:92vh;overflow:auto;background:linear-gradient(160deg,#20233d,#121425);color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.55)}
.reward_close{position:absolute;left:14px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}.reward_hero{text-align:center}.reward_gift{display:inline-flex;width:68px;height:68px;align-items:center;justify-content:center;border-radius:50%;font-size:32px;color:#70d7ff;background:linear-gradient(135deg,rgba(26,169,255,.28),rgba(137,74,255,.28));box-shadow:0 0 30px rgba(64,182,255,.18)}
.reward_hero h2{margin:12px 0 6px}.reward_hero p{margin:0;color:#c8cade;line-height:1.7}.reward_balance{display:flex;align-items:center;gap:8px;margin:18px 0;padding:13px 16px;background:rgba(255,255,255,.07);border-radius:12px}.reward_balance strong{margin-right:auto;font-size:22px}.reward_balance i{color:#70d7ff}
.reward_progress{padding:14px;background:rgba(0,0,0,.18);border-radius:12px}.reward_progress_head{display:flex;justify-content:space-between}.reward_progress_track{height:8px;margin:11px 0;background:rgba(255,255,255,.1);border-radius:8px;overflow:hidden}.reward_progress_track span{display:block;height:100%;background:linear-gradient(90deg,#22c3ff,#8b5cff);border-radius:8px;transition:width .3s}.reward_progress p{margin:0;color:#c8cade}
.reward_notice{margin:14px 0;padding:11px;border-radius:10px;background:rgba(255,255,255,.07);line-height:1.6;text-align:center}.reward_notice.reward_ok{background:rgba(35,190,110,.16);color:#8ff0ba}.reward_notice.reward_error{background:rgba(231,75,75,.16);color:#ffaaaa}.reward_watch{width:100%;min-height:50px;border:0;border-radius:12px;background:linear-gradient(90deg,#168eea,#724ee8);color:#fff;font-size:15px;font-weight:bold;cursor:pointer}.reward_watch i{margin-left:7px}.reward_watch:disabled{opacity:.55;cursor:not-allowed}.reward_policy{font-size:12px;color:#adb1c7;line-height:1.7;margin:13px 2px 0}.reward_policy i{color:#7fd6ff}

/* Exact Unicode cmap coverage of the original, unchanged name fonts.
   Revalidate with tools/performance/check_name_font_ranges.py when replacing them. */
@font-face {
	font-family: "MoonNameArabic";
	src: url("fonts/moon_names/notokufiarabic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0,U+D,U+20-7E,U+A0-A3,U+A5,U+A7-AB,U+AE-B0,U+B4,U+B6-B8,U+BA-BB,U+BF-107,U+10A-113,U+116-11B,U+11E-123,U+126-127,U+12A-12B,U+12E-131,U+136-137,U+139-13E,U+141-148,U+14A-14D,U+150-15B,U+15E-161,U+164-165,U+16A-17E,U+218-21B,U+237,U+2C6-2C7,U+2C9,U+2D8-2DD,U+300-304,U+306-308,U+30A-30C,U+312,U+326-328,U+600-6FF,U+750-77F,U+870-88E,U+890-891,U+898-8FF,U+1E80-1E85,U+1E9E,U+1EF2-1EF3,U+2009,U+200B-200F,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+202F,U+2039-203A,U+204F,U+20AC,U+2122,U+2212,U+221A,U+25CC,U+2E41,U+FB50-FBC2,U+FBD3-FD8F,U+FD92-FDC7,U+FDCF,U+FDF0-FDFF,U+FE70-FE74,U+FE76-FEFC,U+FEFF,U+10EFD-10EFF;
}
@font-face {
	font-family: "MoonNameLatin";
	src: url("fonts/moon_names/notosans.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0,U+D,U+20-7E,U+A0-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3E1,U+3F0-52F,U+900-97F,U+10FB,U+1AB0-1AC0,U+1AC5,U+1AC7-1ACE,U+1C80-1C88,U+1D00-1DF9,U+1DFB-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-2064,U+2066-2071,U+2074-208E,U+2090-209C,U+20A0-20C0,U+20F0,U+2100-215F,U+2183-2184,U+2189,U+2212,U+25CC,U+2C60-2C7F,U+2DE0-2E5D,U+A640-A69F,U+A700-A7CA,U+A7D0-A7D1,U+A7D3,U+A7D5-A7D9,U+A7F2-A7FF,U+A8FF,U+A92E,U+AB30-AB6B,U+FB00-FB06,U+FE00,U+FE20-FE2F,U+FEFF,U+FFFC-FFFD,U+10780-10785,U+10787-107B0,U+107B2-107BA,U+1DF00-1DF1E;
}
@font-face {
	font-family: "MoonNameMath";
	src: url("fonts/moon_names/notosansmath.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0,U+D,U+20-7E,U+A0,U+A2-A3,U+A5,U+A7,U+A9,U+AC,U+AE,U+B0-B1,U+B6-B8,U+C5,U+C7,U+D0,U+D7,U+DE,U+E7,U+F0,U+F7,U+FE,U+131,U+190,U+1B5,U+237,U+2C6,U+2D4-2D5,U+2DA,U+300-30C,U+310-312,U+315,U+31A,U+323,U+326-327,U+32C-333,U+338,U+33A,U+33F,U+346,U+34D,U+391-3A1,U+3A3-3A9,U+3B1-3C9,U+3D1,U+3D5-3D6,U+3DC-3DD,U+3F0-3F1,U+3F4-3F6,U+410-44F,U+606-60A,U+60C,U+627-628,U+62A-63A,U+641-64A,U+660-66C,U+66E-66F,U+6A1,U+6BA,U+6F0-6F9,U+1D46,U+2000-200B,U+2010,U+2014-2019,U+201C-201D,U+2020-2022,U+2025-2026,U+202F,U+2032-2038,U+203C,U+2040,U+2043-2044,U+2047,U+2050,U+2057,U+205F,U+20AC,U+20D0-20DF,U+20E1,U+20E4-20F0,U+2102,U+2107,U+210A-2113,U+2115,U+2118-211D,U+2124,U+2126-2129,U+212B-212D,U+212F-2138,U+213C-214B,U+2190-2300,U+2302,U+2305-2306,U+2308-230B,U+2310-2313,U+2317,U+2319,U+231C-2323,U+232C,U+2332,U+2336-237A,U+237C,U+2394-2395,U+239B-23B9,U+23CE,U+23D0,U+23DC-23E7,U+2422-2423,U+2474-2475,U+2500,U+2506,U+250C,U+2510,U+2514,U+2518,U+2550,U+2571-2572,U+2577,U+2580,U+2584,U+2588,U+258C,U+2590-2593,U+25A0-25FF,U+2605-2606,U+2609,U+2621,U+263B-263E,U+2640,U+2642,U+2660-2667,U+2669-266F,U+267E,U+2680-2689,U+26A5,U+26AA-26AC,U+26B2,U+2713,U+2720,U+272A,U+2736,U+2739,U+273D,U+2772-2773,U+279B,U+27C0-27FF,U+2900-2B04,U+2B0E-2B4C,U+2B50-2B54,U+2BFE,U+3012,U+3030,U+FE00,U+FF5B,U+FF5D,U+1D400-1D454,U+1D456-1D49C,U+1D49E-1D49F,U+1D4A2,U+1D4A5-1D4A6,U+1D4A9-1D4AC,U+1D4AE-1D4B9,U+1D4BB,U+1D4BD-1D4C3,U+1D4C5-1D505,U+1D507-1D50A,U+1D50D-1D514,U+1D516-1D51C,U+1D51E-1D539,U+1D53B-1D53E,U+1D540-1D544,U+1D546,U+1D54A-1D550,U+1D552-1D6A5,U+1D6A8-1D7CB,U+1D7CE-1D7FF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1,U+1F780-1F7D8;
}
@font-face {
	font-family: "MoonNameSymbols";
	src: url("fonts/moon_names/notosanssymbols2.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0,U+D,U+20-7F,U+A0-A3,U+A5,U+A7-AB,U+AE-B0,U+B4,U+B6-B8,U+BA-BB,U+BF-107,U+10A-113,U+116-11B,U+11E-123,U+126-127,U+12A-12B,U+12E-131,U+136-137,U+139-13E,U+141-148,U+14A-14D,U+150-15B,U+15E-161,U+164-165,U+16A-17E,U+218-21B,U+237,U+2C6-2C7,U+2C9,U+2D8-2DD,U+300-304,U+306-308,U+30A-30C,U+312,U+326-328,U+1E80-1E85,U+1E9E,U+1EF2-1EF3,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2039-203A,U+20AC,U+20E2-20E3,U+2122,U+21AF,U+21E6-21F0,U+21F3,U+2212,U+2218-2219,U+2299,U+22C4-22C6,U+2316,U+2318,U+231A-231B,U+2324-2328,U+232B,U+237B,U+237D-237F,U+2394,U+23CE-23CF,U+23E9-23EA,U+23ED-23EF,U+23F1-2426,U+2440-244A,U+25A0-2609,U+260E-2612,U+2614-2623,U+2630-2637,U+263C,U+2654-2668,U+267F-268F,U+269E-26A1,U+26AA-26AC,U+26BD-26CD,U+26CF-26E1,U+2700-2704,U+2706-2709,U+270B-271C,U+2722-2727,U+2729-274B,U+274D,U+274F-2753,U+2756-2775,U+2794,U+2798-27AF,U+27B1-27BE,U+2800-28FF,U+2981,U+29BF,U+29EB,U+2B00-2B0D,U+2B12-2B2F,U+2B4D-2B73,U+2B76-2B95,U+2B97-2BFD,U+2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D2F3,U+1D300-1D356,U+1D360-1D378,U+1F000-1F02B,U+1F030-1F093,U+1F0A0-1F0AE,U+1F0B1-1F0BF,U+1F0C1-1F0CF,U+1F0D1-1F0F5,U+1F10D-1F10F,U+1F16D-1F16F,U+1F1AD,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F321-1F32C,U+1F336,U+1F378,U+1F37D,U+1F393-1F39F,U+1F3A7,U+1F3AC-1F3AE,U+1F3C2,U+1F3C4,U+1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4DA,U+1F4DF,U+1F4E4-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50A,U+1F50D,U+1F512-1F513,U+1F53E-1F545,U+1F54A,U+1F550-1F579,U+1F57B-1F594,U+1F597-1F5A3,U+1F5A5-1F5FA,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CB,U+1F6CD-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F774-1F776,U+1F77B-1F7D9,U+1F7E0-1F7EB,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8B1,U+1F900-1F90B,U+1F93B,U+1F946,U+1FA00-1FA53,U+1FA60-1FA6D,U+1FA70-1FA74,U+1FA78-1FA7A,U+1FA80-1FA86,U+1FA90-1FAA8,U+1FAB0-1FAB6,U+1FAC0-1FAC2,U+1FAD0-1FAD6,U+1FB00-1FB92,U+1FB94-1FBCA,U+1FBF0-1FBF9;
}
@font-face {
	font-family: "MoonNameEmoji";
	src: url("fonts/moon_names/notoemoji.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0,U+D,U+20,U+23,U+2A,U+30-39,U+A9,U+AE,U+200D,U+203C,U+2049,U+20E3,U+2122,U+2139,U+2194-2199,U+21A9-21AA,U+231A-231B,U+2328,U+23CF,U+23E9-23F3,U+23F8-23FA,U+24C2,U+25AA-25AB,U+25B6,U+25C0,U+25FB-25FE,U+2600-2604,U+260E,U+2611,U+2614-2615,U+2618,U+261D,U+2620,U+2622-2623,U+2626,U+262A,U+262E-262F,U+2638-263A,U+2640,U+2642,U+2648-2653,U+265F-2660,U+2663,U+2665-2666,U+2668,U+267B,U+267E-267F,U+2692-2697,U+2699,U+269B-269C,U+26A0-26A1,U+26A7,U+26AA-26AB,U+26B0-26B1,U+26BD-26BE,U+26C4-26C5,U+26C8,U+26CE-26CF,U+26D1,U+26D3-26D4,U+26E9-26EA,U+26F0-26F5,U+26F7-26FA,U+26FD,U+2702,U+2705,U+2708-270D,U+270F,U+2712,U+2714,U+2716,U+271D,U+2721,U+2728,U+2733-2734,U+2744,U+2747,U+274C,U+274E,U+2753-2755,U+2757,U+2763-2764,U+2795-2797,U+27A1,U+27B0,U+27BF,U+2934-2935,U+2B05-2B07,U+2B1B-2B1C,U+2B50,U+2B55,U+3030,U+303D,U+3297,U+3299,U+FE0E-FE0F,U+1F004,U+1F0CF,U+1F170-1F171,U+1F17E-1F17F,U+1F18E,U+1F191-1F19A,U+1F1E6-1F1FF,U+1F201-1F202,U+1F21A,U+1F22F,U+1F232-1F23A,U+1F250-1F251,U+1F300-1F321,U+1F324-1F393,U+1F396-1F397,U+1F399-1F39B,U+1F39E-1F3F0,U+1F3F3-1F3F5,U+1F3F7-1F4FD,U+1F4FF-1F53D,U+1F549-1F54E,U+1F550-1F567,U+1F56F-1F570,U+1F573-1F57A,U+1F587,U+1F58A-1F58D,U+1F590,U+1F595-1F596,U+1F5A4-1F5A5,U+1F5A8,U+1F5B1-1F5B2,U+1F5BC,U+1F5C2-1F5C4,U+1F5D1-1F5D3,U+1F5DC-1F5DE,U+1F5E1,U+1F5E3,U+1F5E8,U+1F5EF,U+1F5F3,U+1F5FA-1F64F,U+1F680-1F6C5,U+1F6CB-1F6D2,U+1F6D5-1F6D7,U+1F6DC-1F6E5,U+1F6E9,U+1F6EB-1F6EC,U+1F6F0,U+1F6F3-1F6FC,U+1F7E0-1F7EB,U+1F7F0,U+1F90C-1F93A,U+1F93C-1F945,U+1F947-1F9FF,U+1FA70-1FA7C,U+1FA80-1FA88,U+1FA90-1FABD,U+1FABF-1FAC5,U+1FACE-1FADB,U+1FAE0-1FAE8,U+1FAF0-1FAF8,U+E0030-E0039,U+E0061-E007A,U+E007F,U+FE4E5-FE4EE,U+FE82C,U+FE82E-FE837;
}

/* Use the same local glyphs for ordinary and premium display names, including open panels. */
.moon_fancy_name,
.username,
.pro_name {
    font-family: "MoonNameArabic", "MoonNameLatin", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "MoonNameMath", "MoonNameSymbols", "MoonNameEmoji", "MoonDecor1", "MoonDecor2", "MoonDecor3", "MoonDecor4", "MoonDecor5", "MoonDecor6", "MoonDecor7", "MoonDecor8", "MoonDecor9", "MoonDecor10", "MoonDecor11", "MoonDecor12", "MoonDecor13", "MoonDecor14", "MoonDecor15", "MoonDecor16", "MoonDecor17", "MoonDecor18", "MoonDecor19", "MoonDecor20", "MoonDecor21", "MoonDecor22", "MoonDecor23", "MoonDecor24", "MoonDecorMeroitic", "MoonNameCluster", sans-serif !important;
    font-synthesis: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    unicode-bidi: isolate;
    max-width: 100%;
}
/* Android OEM emoji fonts may not be addressable by the desktop font names.
   Native fallback here must never reach MoonNameSymbols / MoonNameEmoji. */
.moon_name_emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Samsung Color Emoji", "SamsungColorEmoji", sans-serif !important;
    font-size: inherit;
    font-weight: 400;
    font-style: normal;
    text-shadow: none;
    -webkit-text-fill-color: initial;
}
.ch_logs .my_text > .btable { table-layout: fixed; }
.ch_logs .cname { white-space: nowrap; }
.ch_logs .cname > .username {
    max-width: calc(100% - 48px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
.user_item_data > .username {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pro_name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro_name .moon_fancy_name { display: inline; }

/* Small local subsets cover decorative glyphs already used by members. */
@font-face { font-family: "MoonDecor1"; src: url("fonts/moon_names/notosansbalinese-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1B0A,U+1B3C,U+1B44,U+1B61,U+1B6A; }
@font-face { font-family: "MoonDecor2"; src: url("fonts/moon_names/notoseriftibetan-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+F0A,U+F72,U+F80,U+FD0,U+FD4; }
@font-face { font-family: "MoonDecor3"; src: url("fonts/moon_names/notosansegyptianhieroglyphs-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+13102,U+13139,U+131A9,U+131AA,U+131B0,U+13212,U+132DC,U+1336F,U+1337C,U+133F2; }
@font-face { font-family: "MoonDecor4"; src: url("fonts/moon_names/notosansjp-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+256C,U+3004,U+300E,U+300F,U+30C4,U+311A,U+4E0E,U+4E43,U+4E48,U+4E59,U+534D,U+5F61,U+FF2A,U+FF33,U+FF45,U+FF49,U+FF4C; }
@font-face { font-family: "MoonDecor5"; src: url("fonts/moon_names/notosansanatolianhieroglyphs-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1449D,U+14613; }
@font-face { font-family: "MoonDecor6"; src: url("fonts/moon_names/notosanstaile-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+196B,U+1972; }
@font-face { font-family: "MoonDecor7"; src: url("fonts/moon_names/notomusic-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1D11F,U+1D122; }
@font-face { font-family: "MoonDecor8"; src: url("fonts/moon_names/notosanssinhala-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+DF4; }
@font-face { font-family: "MoonDecor9"; src: url("fonts/moon_names/notosansbengali-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+9CE; }
@font-face { font-family: "MoonDecor10"; src: url("fonts/moon_names/notosanshebrew-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+59F,U+5C1; }
@font-face { font-family: "MoonDecor11"; src: url("fonts/moon_names/notosanstaiviet-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+AA80,U+AA91,U+AA96,U+AABB,U+AAC2; }
@font-face { font-family: "MoonDecor12"; src: url("fonts/moon_names/notosanssyriac-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+741; }
@font-face { font-family: "MoonDecor13"; src: url("fonts/moon_names/notosanscanadianaboriginal-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+144E,U+14C4,U+14C5,U+1515,U+15E9,U+15F4,U+1613,U+1614; }
@font-face { font-family: "MoonDecor14"; src: url("fonts/moon_names/notosanssymbols-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+262B,U+262C,U+269D; }
@font-face { font-family: "MoonDecor15"; src: url("fonts/moon_names/notosansethiopic-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+135D; }
@font-face { font-family: "MoonDecor16"; src: url("fonts/moon_names/notosanskayahli-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+A928,U+A92A; }
@font-face { font-family: "MoonDecor17"; src: url("fonts/moon_names/notosanslineara-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1065A; }
@font-face { font-family: "MoonDecor18"; src: url("fonts/moon_names/notosansthai-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+E04; }
@font-face { font-family: "MoonDecor19"; src: url("fonts/moon_names/notosanscuneiform-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1230D; }
@font-face { font-family: "MoonDecor20"; src: url("fonts/moon_names/notosanscherokee-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+13A7,U+13B7,U+13BB,U+13CB,U+13D2,U+13D5; }
@font-face { font-family: "MoonDecor21"; src: url("fonts/moon_names/notosansinscriptionalpahlavi-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+10B69; }
@font-face { font-family: "MoonDecor22"; src: url("fonts/moon_names/notosansgujarati-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+AA1; }
@font-face { font-family: "MoonDecor23"; src: url("fonts/moon_names/notosansmongolian-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1863; }
@font-face { font-family: "MoonDecor24"; src: url("fonts/moon_names/notosansjavanese-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+A9C1,U+A9C2; }

/* Small local subsets cover decorative glyphs already used by members. */
@font-face { font-family: "MoonDecorMeroitic"; src: url("fonts/moon_names/notosansmeroitic-decor.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+1098D; }

/* Keep the Arabic presentation-form plus Latin combining-mark cluster in one local face. */
@font-face { font-family: "MoonNameCluster"; src: url("fonts/moon_names/decor-combining-cluster.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+FB5B,U+032F,U+0680,U+25CC; }

/* Stable name typography across device widths and previously chosen name-font classes. */
.username {
    font-size: 16px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.8 !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.pro_name,
.pro_name .moon_fancy_name {
    font-size: 20px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.8 !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Keep each member name independent of the interface direction. */
.moon_name_text { unicode-bidi: isolate; font: inherit; }
html[lang="en"] .user_item_data, html[lang="en"] .cname { text-align: start; }

/* ==========================================================================
   Adaptive Profile Cards & Theme Contrast Harmony
   ========================================================================== */
#mprofilemenu .listing_half_element.info_pro,
#mprofilemenu .listing_element.info_pro {
	border-radius: 8px;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease;
}

body[data-theme-mode="light"] #mprofilemenu .listing_half_element.info_pro,
body[data-theme-mode="light"] #mprofilemenu .listing_element.info_pro {
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

body[data-theme-mode="dark"] #mprofilemenu .listing_half_element.info_pro,
body[data-theme-mode="dark"] #mprofilemenu .listing_element.info_pro {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Profiles with custom dark background image or gradient overlay */
#mprofilemenu .clearbox {
	border-radius: 12px;
}

/* Sraha Anonymous Messages Notice Box - Sleek look in both Light and Dark */
#sraha .warns {
	border-radius: 14px !important;
	padding: 14px 18px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
	font-size: 13px !important;
	line-height: 1.65 !important;
	text-align: center;
	margin-bottom: 15px;
}

body[data-theme-mode="light"] #sraha .warns {
	background: #f0f7ff !important;
	color: #1e3a8a !important;
	border: 1px solid #bfdbfe !important;
}

body[data-theme-mode="dark"] #sraha .warns {
	background: rgba(30, 58, 138, 0.22) !important;
	color: #bfdbfe !important;
	border: 1px solid rgba(191, 219, 254, 0.18) !important;
}

#sraha .warns .label,
#sraha .warns span {
	color: inherit !important;
	font-size: inherit !important;
}

/* Explicit premium menu text overrides every tab state; empty preserves theme colors. */
#ex_menu.moon_custom_menu_text > ul > .modal_menu_item {
    color: var(--pro-menu-text-color) !important;
}
.moon_expiry_notice {
    display:inline-block; margin-inline-start:4px; padding:1px 5px; font-size:10px;
    background:#fff3cd; color:#856404; border:1px solid #ffeeba; border-radius:4px;
}

/* Call Target Device Routing */
.call_target_device_box {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 10px 12px;
}
.call_target_device_chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #e2e8f0;
	cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.18s ease;
}
.call_target_device_chip:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.3);
}
.call_target_device_chip.active {
	background: linear-gradient(135deg, #0284c7, #2563eb);
	border-color: #60a5fa;
	color: #ffffff;
	box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}
.call_target_device_chip i {
	font-size: 13px;
}

