/** x */
.layar.xl {
  background: #000;
  color: #e7e9ea;
}

.xl .xscroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.xl .xscroll::-webkit-scrollbar {
  display: none;
}

.xbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
  flex-shrink: 0;
  font-size: 18px;
}

.xback {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.xtxt {
  background: none;
  border: none;
  color: #e7e9ea;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}

.xpost {
  padding: 7px 18px;
  border: none;
  border-radius: 20px;
  background: #1d9bf0;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.xpost:disabled {
  opacity: .5;
}

.x-tab-bar {
  display: flex;
  justify-content: space-around;
  flex-shrink: 0;
  padding: 8px 8px 30px;
  background: #000;
  border-top: 1px solid #2f3336;
}

.xt {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 6px;
  background: none;
  border: none;
  color: #a0a4a8;
  cursor: pointer;
}

.xt.aktif {
  color: #fff;
}

.xt.aktif svg {
  stroke-width: 2.8;
}

.xt .ik {
  width: 24px;
  height: 24px;
}

.xt-badge {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #1d9bf0;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/** x beranda */
.xh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 4px;
  flex-shrink: 0;
}

.xh-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  background: #222;
}

.xh-logo .ik,
.xh-kosong {
  width: 26px;
  height: 26px;
}

.xh-kosong {
  display: block;
}

.xtab {
  display: flex;
  border-bottom: 1px solid #2f3336;
  flex-shrink: 0;
}

.xtab button {
  flex: 1;
  position: relative;
  padding: 12px 0;
  background: none;
  border: none;
  color: #71767b;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.xtab button.aktif {
  color: #e7e9ea;
}

.xtab button.aktif::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  margin-left: -28px;
  border-radius: 2px;
  background: #1d9bf0;
}

.xfab {
  position: absolute;
  right: 16px;
  bottom: 96px;
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: #1d9bf0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.xfab .ik {
  width: 26px;
  height: 26px;
}

/** x post */
.xp {
  display: flex;
  flex-direction: column;
  padding: 10px 14px 4px;
  border-bottom: 1px solid #2f3336;
  cursor: pointer;
}

.xp-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px 50px;
  color: #71767b;
  font-size: 13px;
  font-weight: 600;
}

.xp-pin .ik {
  width: 13px;
  height: 13px;
}

.xp-baris {
  display: flex;
  gap: 10px;
}

.xp-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  background: #222;
}

.xp-isi {
  flex: 1;
  min-width: 0;
}

.xp-kepala {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  min-width: 0;
}

.xp-nm {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  cursor: pointer;
}

.xp-nm b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.xp-h,
.xp-w {
  color: #71767b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  flex-shrink: 0;
}

.xp-teks {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.xp.detail .xp-teks {
  font-size: 17px;
}

.xp-media {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2f3336;
}

.xp-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.xp-media.m1 img {
  max-height: 360px;
}

.xp-media.m2,
.xp-media.m3,
.xp-media.m4 {
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16/9;
}

.xp-media.m2 img,
.xp-media.m3 img,
.xp-media.m4 img {
  height: 100%;
}

.xp-media.m3 img:first-child {
  grid-row: span 2;
}

.xp-sens {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  background: #5a4a42;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.xp-sens .ik {
  width: 28px;
  height: 28px;
  align-self: center;
}

.xp-sens b {
  font-size: 15px;
}

.xp-show {
  align-self: flex-end;
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/** qrt */
.xq {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #2f3336;
  border-radius: 16px;
  cursor: pointer;
}

.xq-kepala {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  min-width: 0;
}

.xq-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #222;
  margin-right: 2px;
}

.xq-kepala b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.xq-teks {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.xq-sens {
  color: #71767b;
  font-style: italic;
}

.xq-media {
  display: block;
  width: 100%;
  max-height: 220px;
  margin-top: 8px;
  border-radius: 12px;
  object-fit: cover;
}

.xp-aksi {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 4px;
  color: #71767b;
}

.xp-kanan {
  display: flex;
  gap: 10px;
}

.xa {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

.xa .ik {
  width: 18px;
  height: 18px;
}

.xa.rt.aktif {
  color: #00ba7c;
}

.xa.suka.aktif {
  color: #f91880;
}

.xa.suka.aktif svg {
  fill: #f91880;
}

.xa.simpan.aktif {
  color: #1d9bf0;
}

.xa.simpan.aktif svg {
  fill: #1d9bf0;
}

.xa.lihat {
  cursor: default;
}

.xp-stat {
  padding: 10px 14px;
  border-bottom: 1px solid #2f3336;
  color: #71767b;
  font-size: 14px;
}

.xp-stat b {
  color: #e7e9ea;
}

/** input komen dan post */
.xinput {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 34px;
  border-top: 1px solid #2f3336;
  flex-shrink: 0;
}

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

.xinput input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  border: none;
  outline: none;
  background: #202327;
  color: #fff;
  font-size: 16px;
}

.xinput button {
  border: none;
  background: none;
  color: #1d9bf0;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.xinput button:disabled {
  opacity: .4;
}

.xinput .ik {
  width: 22px;
  height: 22px;
}

.xtulis {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  flex: 1;
  min-height: 0;
}

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

.xtulis textarea {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  background: none;
  color: #fff;
  font-size: 18px;
}

/** x profil */
.xpf-back {
  position: absolute;
  top: 50px;
  left: 12px;
  z-index: 3;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  width: 34px;
  height: 34px;
}

.xpf-banner {
  height: 110px;
  background: #1d3a5f;
}

.xpf-atas {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 14px;
  margin-top: -34px;
}

.xpf-atas img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #000;
  background: #222;
}

.xpf-tbl {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 4px;
}

.xbtn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid #536471;
  background: none;
  color: #e7e9ea;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.xbtn.putih {
  background: #e7e9ea;
  color: #000;
  border-color: #e7e9ea;
}

.xbtn.bulat {
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xbtn .ik {
  width: 18px;
  height: 18px;
}

.xpf-info {
  padding: 8px 14px;
}

.xpf-nama {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  font-weight: 800;
}

.xpf-h {
  color: #71767b;
}

.xpf-bio {
  margin-top: 10px;
  white-space: pre-line;
  font-size: 15px;
}

.xpf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  color: #71767b;
  font-size: 14px;
}

.xpf-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.xpf-stat {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  color: #71767b;
  font-size: 14px;
}

.xpf-stat b {
  color: #e7e9ea;
}

.xpf-tab {
  display: flex;
  border-bottom: 1px solid #2f3336;
  margin-top: 6px;
}

.xpf-tab div {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 12px 0;
  color: #71767b;
  font-weight: 600;
  font-size: 14px;
}

.xpf-tab .aktif {
  color: #e7e9ea;
}

.xpf-tab .aktif::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 4px;
  margin-left: -22px;
  border-radius: 2px;
  background: #1d9bf0;
}

.xpf-tutup {
  padding: 40px 24px;
  text-align: center;
  color: #71767b;
}

/** x daftar notif & dm */
.xd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.xd-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.xd-isi {
  flex: 1;
  min-width: 0;
}

.xd-baris {
  display: flex;
  gap: 4px;
  font-size: 15px;
}

.xd-pesan {
  color: #71767b;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xd-item.baru .xd-pesan {
  color: #e7e9ea;
  font-weight: 600;
}

.xd-titik {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1d9bf0;
  flex-shrink: 0;
}

.xdh {
  justify-content: flex-start;
  gap: 10px;
  border-bottom: 1px solid #2f3336;
}

.xdh img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.xdh b {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.xdh small {
  font-size: 12px;
  color: #71767b;
}

.xdc-pesan {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
}

.xdc-pesan::-webkit-scrollbar {
  display: none;
}

.xdc-b {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.3;
  word-break: break-word;
}

.xdc-b.m {
  align-self: flex-start;
  background: #2f3336;
  border-bottom-left-radius: 4px;
}

.xdc-b.k {
  align-self: flex-end;
  background: #1d9bf0;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.xdc-b img {
  display: block;
  max-width: 200px;
  border-radius: 12px;
}

.xdc-pem {
  align-self: center;
  margin: 8px 0;
  color: #71767b;
  font-size: 12px;
}

.xdc-ket {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
}

.xdc-ket span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8a8a8;
  animation: lompat 1s infinite;
}

.xdc-ket span:nth-child(2) {
  animation-delay: .15s;
}

.xdc-ket span:nth-child(3) {
  animation-delay: .3s;
}

.xp-teks .tautan {
  color: #1d9bf0;
  text-decoration: none;
}

.xp-teks .tautan:hover {
  text-decoration: underline;
}