body.dark-mode .x-card {
background: #1e1e2f;
color: #fff;
}
.x-card {
    background: #fdfdfd;
    border-radius: 12px;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto 20px auto;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.x-card .group-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.x-card .social-name {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 8px;
}

.x-card .x-description {
  margin: 20px 80px 20px 80px;
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
}

.x-card .join-telegram-btn {
  background: #0088cc;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.x-card .join-telegram-btn:hover {
  background: #0070a8;
}

/* Coin card */
.x-coin {
  background: #12192c;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.x-coin img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .x-card, .x-coin {
    padding: 15px;
		max-width: 500px;
  }

  .x-card .social-name {
    font-size: 22px;
  }

  .x-card .group-description {
    font-size: 14px;
  }
}
/*coinside bar*/
body{font-family:system-ui,-apple-system,sans-serif}

body .list-group-item.psi{
    background: transparent;
    border-color: transparent;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #5c5960;
    border-left: none;
    border-right: none;
}
.list-inline-item a {
  color: #555;
  transition: color 0.3s;
}
.list-inline-item a:hover {
  color: #865dff;
}
/* top group card */
.group-widget-item img {
  object-fit: cover;
  background: #222;
}
.coin-sidebar {
    top: 50%;
    right: 320px; /* Hidden by default */
    /* width: 300px; */
    background: #343241;
    color:whitesmoke;
    padding: 16px;
    border-radius: 8px;
    color: white;
    transition: 0.3s ease-in-out;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
    /* transform: translateY(6%); */
    z-index: 1000;
}
.coin-name a {
  color: whitesmoke;
  margin-top:4px;
}
.coin-name a:hover {
  color: white;
  margin-top:4px;
}
.dark-mode .coin-sidebar {
    top: 50%;
    right: 320px;
    /* width: 300px; */
    background: #5b5770;
    padding: 16px;
    border-radius: 8px;
    border-style: groove;
    border-color: #79639d;
    color: white;
    transition: 0.3s ease-in-out;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
    /* transform: translateY(6%); */
    z-index: 1000;
}

/* Toggle Button */
.toggle-btn {
    position: fixed;
    top: 50%;
    right: 0;
    padding: 8px 12px;
    background: #4e5d78;
    color: white;
    border: none;
    border-radius: 6px 0px 0px 6px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.3s;
}

/* Coin Image */
.coin-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    background: #333333;
    padding: 1px;
}

/* Coin Name */
.coin-name {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 8px;
}

/* Symbol & Chain */
.coin-meta {
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Coin Stats Grid */
.coin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
    text-align: center;
}

/* Individual Stat Box */
.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 6px;
}

.stat-title {
    font-size: 12px;
    color: #ccc;
    display: block;
}

.stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.x-description {
  word-break: break-word;
  white-space: normal;
  max-width: 80%;
  margin: auto;
}
/* posts */
.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.announcement-user {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.announcement-group {
  font-size: 13px;
  color: #ccc;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.announcement-time {
  font-size: 12px;
  color: #aaa;
}

.menu-icon {
  cursor: pointer;
  font-size: 18px;
}
