.yl-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.yl-no-site-footer footer,
body.yl-no-site-footer .site-footer,
body.yl-no-site-footer .footer,
body.yl-no-site-footer #footer,
body.yl-no-site-footer .yl-site-footer,
body.yl-no-site-footer .bottom-footer,
body.yl-no-site-footer .footer-nav,
body.yl-no-site-footer .bottom-nav,
body.yl-no-site-footer #bottomNav,
body.yl-no-site-footer [data-site-footer],
body.yl-no-site-footer [data-bottom-nav] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.yl-no-site-footer {
  padding-bottom: 0 !important;
}
.yl-community-profile-header {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  background: linear-gradient(135deg, #071735 0%, #10245a 58%, #c99821 100%);
  border-bottom: 1px solid rgba(201, 152, 33, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  isolation: isolate;
}
.yl-wa-app {
  min-height: auto !important;
  padding-top: 0 !important;
}
@media (max-width: 700px) {
  .yl-community-profile-header {
    border-radius: 0 0 18px 18px;
  }
}
.yl-members-wa {
  height: calc(100dvh - 36px);
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  overflow: hidden;
  background: #efeae2;
  border: 1px solid rgba(17, 27, 33, 0.18);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}
.yl-members-side {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-height: 0;
  background: #fff;
  border-left: 1px solid #d1d7db;
}
.yl-members-top {
  padding: 12px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid #d8dde1;
}
.yl-members-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.yl-members-title {
  margin: 0;
  color: #111b21;
  font-size: 1.05rem;
  font-weight: 700;
}
.yl-members-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.yl-members-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e9edef;
  color: #111b21;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}
.yl-members-actions a.primary {
  background: #00a884;
  color: #2d2d2d;
}
.yl-members-search {
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e9edef;
}
.yl-members-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.yl-members-search label {
  margin: 0;
}
.yl-members-search label > span {
  display: none;
}
.yl-members-search input {
  height: 38px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #f0f2f5 !important;
  padding: 0 14px !important;
  color: #111b21 !important;
}
.yl-members-search button {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #00a884 !important;
  color: #2d2d2d !important;
  font-weight: 600 !important;
}
.yl-members-list {
  min-height: 0;
  overflow: auto;
  background: #fff;
  scrollbar-width: thin;
}
.yl-members-list .yl-community-status {
  margin: 10px;
  border-radius: 10px;
}
.yl-member-contact {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
  cursor: pointer;
  transition: background 0.12s ease;
}
.yl-member-contact:hover,
.yl-member-contact.active {
  background: #f0f2f5;
}
.yl-member-contact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #dfe5e7;
  color: #54656f;
  font-weight: 700;
}
.yl-member-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yl-member-contact-body {
  min-width: 0;
}
.yl-member-contact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.yl-member-contact-name {
  font-weight: 700;
  color: #111b21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yl-member-contact-meta {
  font-size: 0.78rem;
  color: #667781;
  white-space: nowrap;
}
.yl-member-contact-desc {
  margin-top: 4px;
  color: #667781;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yl-members-main {
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
  min-height: 0;
  background: #efeae2;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(0, 0, 0, 0.035) 1.6px, transparent 1.7px),
    radial-gradient(circle at 32px 28px, rgba(0, 0, 0, 0.025) 1.2px, transparent 1.3px);
  background-size: 44px 44px;
}
.yl-members-header {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid #d8dde1;
  box-sizing: border-box;
}
.yl-members-back {
  display: none;
  border: 0;
  background: transparent;
  color: #54656f;
  font-size: 2rem;
  line-height: 1;
}
.yl-members-header-title {
  font-size: 1rem;
  color: #111b21;
  font-weight: 700;
}
.yl-member-profile-view {
  min-height: 0;
  overflow: auto;
  padding: 26px;
  display: grid;
  place-items: center;
}
.yl-member-profile-card {
  width: min(620px, 100%);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.yl-member-profile-cover {
  height: 180px;
  background: linear-gradient(135deg, #00a884, #075e54);
}
.yl-member-profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yl-member-profile-body {
  padding: 0 18px 18px;
}
.yl-member-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-top: -48px;
  border: 5px solid #fff;
  background: #dfe5e7;
  color: #54656f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 1.7rem;
  font-weight: 700;
}
.yl-member-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yl-member-profile-card h2 {
  margin: 10px 0 3px;
  color: #111b21;
}
.yl-member-profile-handle {
  color: #667781;
  font-weight: 700;
  direction: ltr;
  text-align: right;
}
.yl-member-profile-text {
  line-height: 1.9;
  color: #3b4a54;
  font-weight: 800;
  white-space: pre-wrap;
}
.yl-member-profile-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.yl-member-profile-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #54656f;
  font-weight: 700;
  font-size: 0.84rem;
}
.yl-member-profile-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.yl-member-profile-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e9edef;
  color: #111b21;
  text-decoration: none;
  font-weight: 700;
}
.yl-member-profile-actions a.primary {
  background: #00a884;
  color: #2d2d2d;
}
.yl-members-empty {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #667781;
  font-weight: 700;
}
.yl-members-empty strong {
  display: block;
  color: #111b21;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .yl-members-wa {
    height: 100dvh;
    border: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
  }
  .yl-members-side {
    border-left: 0;
  }
  .yl-members-main {
    display: none;
    grid-template-rows: 58px minmax(0, 1fr);
  }
  .yl-members-wa.member-open .yl-members-side {
    display: none;
  }
  .yl-members-wa.member-open .yl-members-main {
    display: grid;
  }
  .yl-members-header {
    height: 58px;
    padding: 7px 10px;
  }
  .yl-members-back {
    display: inline-flex;
  }
  .yl-member-profile-view {
    padding: 14px;
  }
  .yl-member-profile-cover {
    height: 150px;
  }
  .yl-members-actions a {
    font-size: 0.78rem;
    padding: 6px 9px;
  }
}
:root {
  --yl-community-navy: #061225;
  --yl-community-navy-2: #10245a;
  --yl-community-blue: #1684ff;
  --yl-community-gold: #d6a62f;
  --yl-community-gold-2: #f5cf55;
  --yl-community-green: #12b886;
  --yl-community-bg: #f4f7fb;
  --yl-community-card: #ffffff;
  --yl-community-text: #13223a;
  --yl-community-muted: #64748b;
  --yl-community-line: rgba(15, 23, 42, 0.1);
  --yl-community-shadow: 0 22px 60px rgba(2, 8, 23, 0.14);
}
body.yl-community-modern {
  background:
    radial-gradient(circle at top right, rgba(22, 132, 255, 0.16), transparent 32rem),
    radial-gradient(circle at top left, rgba(214, 166, 47, 0.16), transparent 30rem),
    linear-gradient(180deg, #071122 0, #0c1730 220px, #f4f7fb 221px, #f4f7fb 100%);
}
.yl-community-modern .yl-community-shell,
.yl-community-modern .yl-community-shell.yl-chat-page {
  width: min(1180px, calc(100% - 28px));
  max-width: 1180px;
  margin-inline: auto;
}
.yl-modern-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 28px;
  margin: 20px auto 18px;
  border-radius: 30px;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      rgba(16, 36, 90, 0.98),
      rgba(7, 23, 53, 0.98) 58%,
      rgba(10, 26, 55, 0.96)
    ),
    radial-gradient(circle at 14% 12%, rgba(245, 207, 85, 0.3), transparent 26rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--yl-community-shadow);
}
.yl-modern-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(214, 166, 47, 0.18);
  filter: blur(2px);
}
.yl-modern-hero > * {
  position: relative;
  z-index: 1;
}
.yl-modern-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.yl-modern-hero p {
  margin: 0;
  max-width: 820px;
  color: #dbe8ff;
  font-weight: 800;
  line-height: 2;
  font-size: 1.02rem;
}
.yl-modern-badge,
.yl-community-modern .yl-community-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #3b2a00;
  background: linear-gradient(180deg, var(--yl-community-gold-2), var(--yl-community-gold));
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(214, 166, 47, 0.24);
}
.yl-modern-actions,
.yl-community-modern .yl-community-actions,
.yl-modern-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.yl-modern-button,
.yl-community-modern .yl-community-link-button,
.yl-community-modern .yl-community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(214, 166, 47, 0.36);
  border-radius: 999px;
  color: #0b225a;
  background: #fff;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.yl-modern-button:hover,
.yl-community-modern .yl-community-link-button:hover,
.yl-community-modern .yl-community-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
}
.yl-modern-button.primary,
.yl-community-modern .yl-community-link-button.primary,
.yl-community-modern .yl-community-button.primary {
  color: #3b2a00;
  background: linear-gradient(180deg, var(--yl-community-gold-2), var(--yl-community-gold));
  border-color: rgba(214, 166, 47, 0.6);
}
.yl-modern-button.blue {
  color: #fff;
  background: linear-gradient(180deg, #2292ff, #0b6fd8);
  border-color: rgba(22, 132, 255, 0.7);
}
.yl-modern-button.green {
  color: #fff;
  background: linear-gradient(180deg, #21d6a1, #0f9e76);
  border-color: rgba(18, 184, 134, 0.7);
}
.yl-modern-button.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}
.yl-modern-section,
.yl-community-modern .yl-community-section {
  margin: 18px 0;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--yl-community-line);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.yl-modern-section h2,
.yl-community-modern .yl-community-section h2 {
  margin-top: 0;
  color: #0b225a;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
}
.yl-modern-muted,
.yl-community-modern .yl-community-muted {
  color: var(--yl-community-muted);
  font-weight: 800;
  line-height: 1.9;
}
.yl-modern-grid {
  display: grid;
  gap: 14px;
}
.yl-modern-grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.yl-modern-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--yl-community-line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}
.yl-modern-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--yl-community-gold),
    var(--yl-community-blue),
    var(--yl-community-green)
  );
}
.yl-modern-card h3 {
  margin: 6px 0 0;
  color: #0b225a;
  font-size: 1.08rem;
}
.yl-modern-card p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
  font-weight: 800;
}
.yl-modern-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7df;
  color: #6b4a00;
  font-size: 1.45rem;
  font-weight: 700;
}
.yl-modern-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.yl-modern-stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.yl-modern-stat strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
}
.yl-modern-stat span {
  color: #dbe8ff;
  font-weight: 800;
}
.yl-community-modern .yl-community-form {
  gap: 14px;
}
.yl-community-modern .yl-community-form label {
  color: #13223a;
  font-weight: 700;
}
.yl-community-modern input,
.yl-community-modern textarea,
.yl-community-modern select {
  border-radius: 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}
.yl-community-modern input:focus,
.yl-community-modern textarea:focus {
  outline: 3px solid rgba(22, 132, 255, 0.16);
  border-color: rgba(22, 132, 255, 0.55) !important;
}
.yl-community-modern .yl-community-status {
  border-radius: 18px;
  font-weight: 700;
  line-height: 1.9;
}
.yl-auth-shell {
  display: grid;
  gap: 18px;
  align-items: start;
}
@media (min-width: 920px) {
  .yl-auth-shell {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }
}
.yl-auth-panel {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--yl-community-line);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.yl-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
}
.yl-auth-tab {
  border: 0;
  border-radius: 18px;
  min-height: 46px;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-weight: 600;
  color: #0b225a;
  background: #fff;
  cursor: pointer;
}
.yl-auth-tab.active {
  color: #3b2a00;
  background: linear-gradient(180deg, var(--yl-community-gold-2), var(--yl-community-gold));
}
.yl-auth-body {
  padding: 20px;
}
.yl-auth-pane {
  display: none;
}
.yl-auth-pane.active {
  display: block;
}
.yl-auth-pane h2 {
  margin: 0 0 10px;
  color: #0b225a;
}
.yl-auth-side {
  display: grid;
  gap: 12px;
}
.yl-auth-note {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--yl-community-line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}
.yl-auth-note h3 {
  margin: 0 0 6px;
  color: #0b225a;
}
.yl-auth-note p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
  font-weight: 800;
}
.yl-chat-page {
  max-width: 1240px !important;
}
.yl-chat-section {
  padding: 0 !important;
  overflow: hidden;
  background: #f4f7fb !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}
.yl-chat-shell {
  display: grid;
  grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
  min-height: 74vh;
  max-height: 850px;
  background: #eef2f7;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.yl-chat-sidebar {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  background: #fff;
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  min-width: 0;
}
.yl-chat-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #e8edf5;
  min-width: 0;
  position: relative;
}
.yl-chat-profile {
  padding: 16px;
  background: linear-gradient(180deg, #10245a, #071735);
  color: #fff;
}
.yl-chat-profile .yl-member-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #fff;
}
.yl-chat-profile .yl-member-name {
  color: #fff;
}
.yl-chat-profile .yl-member-handle,
.yl-chat-profile .yl-community-muted {
  color: #dfe8ff;
}
.yl-chat-sidebar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.yl-chat-sidebar-actions .yl-community-button,
.yl-chat-sidebar-actions .yl-community-link-button {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 0.88rem;
}
.yl-chat-unread {
  padding: 0 14px 10px;
  background: #fff;
}
.yl-message-notice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7df;
  border: 1px solid rgba(214, 178, 90, 0.35);
  color: #6b4a00;
  font-weight: 700;
  line-height: 1.8;
}
.yl-unread-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  background: #c99821;
  color: #3b2a00;
  font-weight: 700;
  margin-inline-start: 6px;
}
.yl-chat-search {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}
.yl-chat-search .yl-community-form {
  gap: 8px;
}
.yl-chat-search label {
  font-size: 0.9rem;
}
.yl-chat-search input {
  border-radius: 999px !important;
  background: #f8fafc !important;
  padding: 11px 14px !important;
}
.yl-chat-search .yl-community-button {
  min-height: 38px;
  padding: 7px 13px;
}
.yl-chat-list-wrap {
  min-height: 0;
  overflow: auto;
  background: #fff;
}
.yl-chat-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 6px;
  color: #0b225a;
  font-weight: 700;
}
.yl-chat-list-title a {
  color: #0b6fd8;
  text-decoration: none;
}
.yl-chat-list {
  display: grid;
  gap: 0;
  margin: 0 !important;
}
.yl-chat-list-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  cursor: pointer;
  transition: 0.15s;
}
.yl-chat-list-item:hover,
.yl-chat-list-item.active {
  background: #f8fafc;
}
.yl-chat-list-item.blocked {
  background: #fff7f7;
}
.yl-chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f7d774, #c99821);
  color: #3b2a00;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.yl-chat-item-body {
  min-width: 0;
}
.yl-chat-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.yl-chat-item-name {
  font-weight: 700;
  color: #0b225a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yl-chat-item-time {
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
}
.yl-chat-item-last {
  margin-top: 4px;
  color: #64748b;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yl-chat-item-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.yl-chat-mini-btn {
  border: 1px solid rgba(15, 23, 42, 0.13);
  background: #fffdf5;
  color: #0b225a;
  border-radius: 999px;
  padding: 5px 9px;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}
.yl-chat-mini-btn.danger {
  background: #fff1f2;
  color: #991b1b;
}
.yl-chat-block-note {
  font-size: 0.82rem;
  color: #991b1b;
  font-weight: 700;
  margin-top: 5px;
}
.yl-chat-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
.yl-chat-back {
  display: none;
}
.yl-chat-titlebox h2 {
  margin: 0;
  color: #0b225a;
  font-size: 1.05rem;
}
.yl-chat-titlebox p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 800;
}
.yl-chat-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.yl-chat-actions .yl-community-button,
.yl-chat-actions .yl-chat-mini-btn {
  min-height: 36px;
  padding: 7px 10px;
}
.yl-message-thread {
  height: 100%;
  max-height: none;
  overflow: auto;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 152, 33, 0.1), transparent 24%),
    linear-gradient(180deg, #edf2f8, #e6edf5);
  border: 0;
  border-radius: 0;
  align-content: start;
}
.yl-message-bubble {
  max-width: min(78%, 680px);
  padding: 9px 12px;
  border-radius: 16px 16px 4px 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.yl-message-bubble.mine {
  justify-self: end;
  background: #fff7df;
  border-color: rgba(214, 178, 90, 0.35);
  border-radius: 16px 16px 16px 4px;
}
.yl-message-meta {
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 0.78rem;
}
.yl-message-body {
  font-size: 0.98rem;
  line-height: 1.9;
}
.yl-message-checks {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #64748b;
  direction: rtl;
}
.yl-message-checks.read {
  color: #0b7a43;
}
.yl-message-checks.sent {
  color: #64748b;
}
.yl-chat-composer {
  background: #fff;
  padding: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}
.yl-chat-composer .yl-community-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.yl-chat-composer label {
  margin: 0;
}
.yl-chat-composer label > span {
  display: none;
}
.yl-chat-composer textarea {
  min-height: 48px !important;
  max-height: 130px;
  border-radius: 18px !important;
  background: #f8fafc !important;
  resize: vertical;
}
.yl-chat-composer .yl-community-button {
  height: 48px;
  border-radius: 18px;
  padding: 0 18px;
}
.yl-chat-composer .yl-community-status {
  grid-column: 1/-1;
  margin: 0;
}
.yl-chat-empty {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-weight: 700;
}
.yl-chat-empty strong {
  display: block;
  color: #0b225a;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
@media (max-width: 820px) {
  body.yl-community-modern {
    background: linear-gradient(180deg, #071122 0, #0c1730 150px, #f4f7fb 151px, #f4f7fb 100%);
  }
  .yl-community-modern .yl-community-shell {
    width: min(100% - 18px, 1180px);
  }
  .yl-modern-hero {
    padding: 20px;
    border-radius: 24px;
    margin-top: 12px;
  }
  .yl-modern-section,
  .yl-community-modern .yl-community-section {
    padding: 16px;
    border-radius: 22px;
  }
  .yl-modern-actions,
  .yl-community-modern .yl-community-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .yl-modern-actions .yl-modern-button,
  .yl-community-modern .yl-community-actions a {
    width: 100%;
  }
  .yl-chat-shell {
    grid-template-columns: 1fr;
    min-height: 76vh;
    border-radius: 22px;
  }
  .yl-chat-main {
    display: none;
  }
  .yl-chat-shell.chat-open .yl-chat-sidebar {
    display: none;
  }
  .yl-chat-shell.chat-open .yl-chat-main {
    display: grid;
  }
  .yl-chat-back {
    display: inline-flex;
  }
  .yl-chat-section {
    border-radius: 22px;
  }
  .yl-chat-header {
    grid-template-columns: auto 1fr;
  }
  .yl-chat-actions {
    grid-column: 1/-1;
  }
  .yl-message-bubble {
    max-width: 94%;
  }
}
.yl-notification-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.yl-notification-card.unread {
  background: #fff7df;
  border-color: rgba(214, 178, 90, 0.4);
}
.yl-notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.yl-notification-title {
  font-weight: 700;
  color: #0b225a;
}
.yl-notification-date {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 800;
}
.yl-notification-body {
  color: #334155;
  line-height: 1.9;
  font-weight: 800;
  white-space: pre-wrap;
}
.yl-notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.yl-notification-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c99821;
  color: #3b2a00;
  font-weight: 700;
  padding: 4px 10px;
}
.yl-profile-edit-grid {
  display: grid;
  gap: 16px;
}
.yl-profile-preview {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.yl-profile-cover {
  height: 190px;
  background: linear-gradient(135deg, #10245a, #071735 55%, #c99821);
  position: relative;
}
.yl-profile-avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: linear-gradient(180deg, #f7d774, #c99821);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b2a00;
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  bottom: -58px;
  right: 24px;
  overflow: hidden;
}
.yl-profile-avatar img,
.yl-profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yl-profile-preview-body {
  padding: 70px 20px 20px;
}
.yl-profile-preview h2 {
  margin: 0;
  color: #0b225a;
}
.yl-profile-preview p {
  line-height: 1.9;
  font-weight: 800;
  color: #475569;
}
.yl-profile-info-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.yl-profile-info-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 700;
  color: #334155;
}
.yl-image-hint {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 800;
  line-height: 1.8;
}
@media (min-width: 900px) {
  .yl-profile-edit-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}
html.yl-wa-html,
body.yl-wa-body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #0b141a !important;
}
body.yl-wa-body {
  font-family: Cairo, Tahoma, Arial, sans-serif;
  color: #111b21;
}
body.yl-wa-body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 128px;
  background: #00a884;
  z-index: 0;
}
.yl-wa-app {
  position: relative;
  z-index: 1;
  width: min(1480px, 100vw);
  margin: 0 auto;
  padding: 18px;
  box-sizing: border-box;
  height: var(--yl-wa-vh, 100dvh) !important;
}
.yl-wa-shell.yl-chat-shell {
  height: calc(var(--yl-wa-vh, 100dvh) - 36px) !important;
}
.yl-wa-shell .yl-chat-main,
.yl-wa-shell .yl-chat-sidebar,
.yl-wa-shell .yl-chat-list-wrap,
.yl-wa-shell .yl-message-thread {
  min-height: 0;
}
.yl-wa-shell .yl-message-thread {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.yl-wa-shell .yl-chat-composer {
  position: relative;
  z-index: 50;
  display: block !important;
  visibility: visible !important;
}
.yl-wa-shell .yl-chat-composer textarea {
  line-height: 1.7 !important;
}
.yl-wa-shell .yl-message-bubble {
  overflow-wrap: anywhere;
}
.yl-wa-shell .yl-message-meta span:first-child {
  white-space: nowrap;
}
.yl-wa-shell .yl-chat-item-actions {
  display: none !important;
}
.yl-wa-shell .yl-chat-empty {
  min-height: 100%;
}
.yl-wa-shell.chat-open .yl-chat-composer form {
  display: grid !important;
  visibility: visible !important;
}
.yl-member-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 700;
  color: #0f766e;
}
.yl-member-search-spinner {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid rgba(15, 118, 110, 0.18);
  border-top-color: #0f766e;
  animation: ylMemberSearchSpin 0.8s linear infinite;
}
@keyframes ylMemberSearchSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  html.yl-wa-html,
  body.yl-wa-body {
    overflow: hidden !important;
    background: #fff !important;
  }
  body.yl-wa-body::before {
    display: none;
  }
  .yl-wa-app {
    width: 100vw;
    padding: 0;
    height: var(--yl-wa-vh, 100dvh) !important;
  }
  .yl-wa-shell.yl-chat-shell {
    height: var(--yl-wa-vh, 100dvh) !important;
  }
  .yl-wa-shell .yl-chat-sidebar,
  .yl-wa-shell .yl-chat-main {
    height: var(--yl-wa-vh, 100dvh) !important;
  }
  .yl-wa-shell .yl-chat-main {
    grid-template-rows: 58px minmax(0, 1fr) auto !important;
  }
  .yl-wa-shell .yl-chat-list-wrap {
    height: auto;
  }
  .yl-wa-shell.chat-open .yl-chat-composer {
    position: fixed !important;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    background: #f0f2f5 !important;
    border-top: 1px solid #d8dde1;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom)) !important;
    box-sizing: border-box;
  }
  .yl-wa-shell.chat-open .yl-message-thread {
    padding: 13px 10px calc(72px + env(safe-area-inset-bottom)) !important;
  }
  .yl-wa-shell.chat-open .yl-chat-composer form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    gap: 7px !important;
    align-items: end !important;
  }
  .yl-wa-shell.chat-open .yl-chat-composer textarea {
    display: block !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 126px !important;
  }
  .yl-wa-shell.chat-open .yl-chat-composer button[type="submit"] {
    display: inline-flex !important;
    width: 44px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
  .yl-wa-shell .yl-chat-header {
    position: relative;
    z-index: 6;
  }
  .yl-wa-shell .yl-chat-actions .yl-chat-mini-btn:not(:first-child) {
    display: none !important;
  }
  .yl-wa-shell .yl-chat-titlebox {
    min-width: 0;
  }
  .yl-wa-shell .yl-chat-titlebox h2,
  .yl-wa-shell .yl-chat-titlebox p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.yl-wa-status {
  position: absolute;
  inset: 28px 28px auto 28px;
  z-index: 20;
  max-width: 680px;
  margin-inline: auto;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.yl-wa-status:empty,
.yl-wa-status[hidden] {
  display: none !important;
}
.yl-wa-shell.yl-chat-shell {
  width: 100%;
  min-height: 0 !important;
  max-height: none !important;
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
  border-radius: 0;
  overflow: hidden;
  background: #efeae2;
  border: 1px solid rgba(17, 27, 33, 0.18);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}
.yl-wa-shell .yl-chat-sidebar {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  min-height: 0;
  background: #fff;
  border-left: 1px solid #d1d7db;
}
.yl-wa-shell .yl-chat-main {
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) auto;
  min-height: 0;
  background: #efeae2;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(0, 0, 0, 0.035) 1.6px, transparent 1.7px),
    radial-gradient(circle at 32px 28px, rgba(0, 0, 0, 0.025) 1.2px, transparent 1.3px);
  background-size: 44px 44px;
}
.yl-wa-shell .yl-chat-profile {
  height: auto;
  padding: 10px 14px;
  background: #f0f2f5 !important;
  color: #111b21;
  border-bottom: 1px solid #d8dde1;
}
.yl-wa-shell .yl-member-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.yl-wa-shell .yl-chat-profile .yl-chat-list-item {
  grid-template-columns: 44px minmax(0, 1fr) !important;
}
.yl-wa-shell .yl-chat-profile .yl-chat-avatar {
  width: 42px;
  height: 42px;
  background: #dfe5e7;
  color: #54656f;
  box-shadow: none;
  border: 0;
}
.yl-wa-shell .yl-chat-profile .yl-member-name,
.yl-wa-shell .yl-chat-profile .yl-member-handle,
.yl-wa-shell .yl-chat-profile .yl-community-muted {
  color: #111b21 !important;
}
.yl-wa-shell .yl-chat-profile .yl-member-handle,
.yl-wa-shell .yl-chat-profile .yl-community-muted {
  font-size: 0.82rem;
  color: #667781 !important;
  line-height: 1.4;
}
.yl-wa-top-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.yl-wa-shell .yl-chat-sidebar-actions,
.yl-wa-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.yl-wa-shell .yl-community-button,
.yl-wa-shell .yl-community-link-button,
.yl-wa-shell .yl-chat-mini-btn {
  min-height: 34px !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: #e9edef !important;
  color: #111b21 !important;
  box-shadow: none !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}
.yl-wa-shell .yl-community-button.primary,
.yl-wa-shell .yl-community-link-button.primary {
  background: #00a884 !important;
  color: #2d2d2d !important;
}
.yl-wa-shell .yl-chat-mini-btn.danger {
  background: #ffe5e8 !important;
  color: #b4232c !important;
}
.yl-wa-shell .yl-chat-unread {
  padding: 0;
  background: #fff;
}
.yl-wa-shell .yl-message-notice {
  margin: 0;
  padding: 9px 14px;
  border-radius: 0;
  background: #e7fce3;
  border: 0;
  color: #0b5f49;
  font-size: 0.88rem;
}
.yl-wa-shell .yl-unread-pill {
  background: #25d366;
  color: #0b141a;
  min-width: 21px;
  height: 21px;
}
.yl-wa-shell .yl-chat-search {
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e9edef;
}
.yl-wa-shell .yl-chat-search .yl-community-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.yl-wa-shell .yl-chat-search label {
  margin: 0;
}
.yl-wa-shell .yl-chat-search label > span {
  display: none;
}
.yl-wa-shell .yl-chat-search input {
  height: 38px !important;
  border-radius: 9px !important;
  border: 0 !important;
  background: #f0f2f5 !important;
  padding: 0 14px !important;
  color: #111b21 !important;
}
.yl-wa-shell .yl-chat-search button {
  height: 38px !important;
  min-height: 38px !important;
  background: #00a884 !important;
  color: #2d2d2d !important;
}
.yl-wa-shell .yl-chat-list-wrap {
  min-height: 0;
  overflow: auto;
  background: #fff;
  scrollbar-width: thin;
}
.yl-wa-shell .yl-chat-list-title {
  height: 34px;
  padding: 9px 14px 5px;
  color: #008069;
  font-size: 0.88rem;
  background: #fff;
  font-weight: 700;
}
.yl-wa-shell .yl-chat-list-title a {
  color: #008069;
}
.yl-wa-shell .yl-chat-list {
  display: block !important;
  margin: 0 !important;
}
.yl-wa-shell .yl-chat-list-item {
  grid-template-columns: 50px minmax(0, 1fr) !important;
  gap: 12px;
  padding: 10px 14px !important;
  background: #fff !important;
  border-bottom: 1px solid #f0f2f5 !important;
  transition: background 0.12s ease;
}
.yl-wa-shell .yl-chat-list-item:hover,
.yl-wa-shell .yl-chat-list-item.active {
  background: #f0f2f5 !important;
}
.yl-wa-shell .yl-chat-list-item.blocked {
  background: #fff7f7 !important;
}
.yl-wa-shell .yl-chat-avatar {
  width: 50px;
  height: 50px;
  background: #dfe5e7;
  color: #54656f;
  border: 0;
  box-shadow: none;
}
.yl-wa-shell .yl-chat-item-name {
  font-size: 0.98rem;
  color: #111b21;
}
.yl-wa-shell .yl-chat-item-time {
  font-size: 0.73rem;
  color: #667781;
}
.yl-wa-shell .yl-chat-item-last {
  color: #667781;
  font-size: 0.86rem;
  font-weight: 700;
}
.yl-wa-shell .yl-chat-block-note {
  color: #b4232c;
  font-size: 0.78rem;
}
.yl-wa-shell .yl-chat-header {
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid #d8dde1;
}
.yl-wa-shell .yl-chat-back {
  display: none;
}
.yl-wa-shell .yl-chat-titlebox h2 {
  font-size: 1rem;
  margin: 0;
  color: #111b21;
  line-height: 1.3;
}
.yl-wa-shell .yl-chat-titlebox p {
  font-size: 0.8rem;
  margin: 2px 0 0;
  color: #667781;
}
.yl-wa-shell .yl-chat-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.yl-wa-shell .yl-chat-actions .yl-chat-mini-btn {
  background: #dfe5e7 !important;
}
.yl-wa-shell .yl-message-thread {
  height: 100%;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 7.5%;
  background: transparent;
  border: 0;
  border-radius: 0;
  scroll-behavior: smooth;
}
.yl-wa-shell .yl-message-bubble {
  position: relative;
  max-width: min(62%, 680px);
  padding: 6px 9px 5px;
  border: 0;
  border-radius: 8px 8px 8px 2px;
  background: #fff;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  line-height: 1.55;
}
.yl-wa-shell .yl-message-bubble.mine {
  align-self: flex-end;
  background: #d9fdd3;
  border: 0;
  border-radius: 8px 8px 2px 8px;
}
.yl-wa-shell .yl-message-bubble:not(.mine) {
  align-self: flex-start;
}
.yl-wa-shell .yl-message-body {
  font-size: 0.96rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  padding-left: 48px;
}
.yl-wa-shell .yl-message-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  margin-top: 0;
  color: #667781;
  font-size: 0.68rem;
  line-height: 1;
}
.yl-wa-shell .yl-message-checks {
  font-size: 0.78rem;
}
.yl-wa-shell .yl-message-checks.read {
  color: #53bdeb;
}
.yl-wa-shell .yl-message-checks.sent {
  color: #667781;
}
.yl-wa-shell .yl-message-bubble.yl-message-pending {
  opacity: 0.72;
}
.yl-wa-shell .yl-message-bubble.yl-message-pending .yl-message-checks {
  color: #8696a0;
}
.yl-wa-shell .yl-message-day {
  align-self: center;
  margin: 10px 0 8px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #fff;
  color: #667781;
  font-size: 0.75rem;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  font-weight: 800;
}
.yl-wa-shell .yl-chat-composer {
  background: #f0f2f5;
  border-top: 1px solid #d8dde1;
  padding: 9px 12px;
}
.yl-wa-shell .yl-chat-composer .yl-community-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 9px;
  align-items: end;
}
.yl-wa-shell .yl-chat-composer label {
  margin: 0;
}
.yl-wa-shell .yl-chat-composer label > span {
  display: none;
}
.yl-wa-shell .yl-chat-composer textarea {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 126px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 10px 14px !important;
  resize: none !important;
  overflow: auto;
  color: #111b21 !important;
}
.yl-wa-shell .yl-chat-composer button[type="submit"] {
  width: 46px !important;
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  background: #00a884 !important;
  color: #2d2d2d !important;
  font-size: 0 !important;
}
.yl-wa-shell .yl-chat-composer button[type="submit"]::before {
  content: "➤";
  font-size: 1.2rem;
  transform: scaleX(-1);
}
.yl-wa-shell .yl-chat-composer .yl-community-status {
  grid-column: 1/-1;
  margin: 0;
  background: #fff3cd;
  color: #7a4b00;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  font-size: 0.84rem;
}
.yl-wa-shell .yl-chat-empty {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #667781;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 0;
}
.yl-wa-shell .yl-chat-empty strong {
  color: #111b21;
  font-size: 1.08rem;
}
.yl-wa-shell .yl-chat-empty span {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .yl-wa-shell.yl-chat-shell {
    border: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
  }
  .yl-wa-shell .yl-chat-sidebar {
    border-left: 0;
  }
  .yl-wa-shell .yl-chat-main {
    display: none;
  }
  .yl-wa-shell.chat-open .yl-chat-sidebar {
    display: none;
  }
  .yl-wa-shell.chat-open .yl-chat-main {
    display: grid;
  }
  .yl-wa-shell .yl-chat-header {
    height: 58px;
    padding: 7px 10px;
    grid-template-columns: auto 1fr auto;
  }
  .yl-wa-shell .yl-chat-back {
    display: inline-flex !important;
    width: 35px !important;
    height: 35px !important;
    min-height: 35px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    background: transparent !important;
  }
  .yl-wa-shell .yl-chat-back::before {
    content: "‹";
    font-size: 2rem;
    color: #54656f;
    line-height: 1;
  }
  .yl-wa-shell .yl-chat-actions {
    max-width: 36vw;
    overflow: hidden;
  }
  .yl-wa-shell .yl-chat-actions .yl-chat-mini-btn {
    font-size: 0.72rem !important;
    padding: 5px 8px !important;
  }
  .yl-wa-shell .yl-message-thread {
    padding: 13px 10px;
  }
  .yl-wa-shell .yl-message-bubble {
    max-width: 86%;
  }
  .yl-wa-shell .yl-chat-composer {
    padding: 7px 8px;
  }
  .yl-wa-shell .yl-chat-composer .yl-community-form {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 7px;
  }
  .yl-wa-shell .yl-chat-composer textarea {
    height: 42px !important;
    min-height: 42px !important;
  }
  .yl-wa-shell .yl-chat-composer button[type="submit"] {
    width: 44px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}
.yl-community-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}
.yl-community-hero {
  border-radius: 28px;
  padding: 28px 22px;
  background: linear-gradient(180deg, #10245a 0%, #071735 100%);
  color: #fff;
  border: 1px solid rgba(214, 178, 90, 0.35);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}
.yl-community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #3b2a00;
  background: linear-gradient(180deg, #f8de85, #c99821);
  font-weight: 700;
}
.yl-community-hero h1,
.yl-community-hero h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.45;
}
.yl-community-hero p {
  max-width: 900px;
  color: #e8efff;
  line-height: 2;
  font-weight: 800;
}
.yl-community-actions,
.yl-community-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.yl-community-button,
.yl-community-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d6b25a;
  background: #fffdf5;
  color: #0b225a;
  text-decoration: none;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}
.yl-community-button.primary,
.yl-community-link-button.primary {
  color: #3b2a00;
  background: linear-gradient(180deg, #f7d774, #c99821);
  box-shadow: 0 14px 28px rgba(201, 152, 33, 0.22);
}
.yl-community-section {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
.yl-community-section h2,
.yl-community-section h3 {
  margin: 0 0 10px;
  color: #0b225a;
  line-height: 1.55;
}
.yl-community-section p {
  color: #334155;
  line-height: 2;
  font-weight: 700;
}
.yl-community-grid,
.yl-community-posts {
  display: grid;
  gap: 14px;
}
.yl-community-posts {
  margin-top: 14px;
}
.yl-community-post {
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.yl-community-post h2,
.yl-community-post h3 {
  margin: 0 0 8px;
  color: #0b225a;
  font-size: 1.12rem;
  line-height: 1.7;
}
.yl-community-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: #64748b;
  font-weight: 800;
  font-size: 0.92rem;
}
.yl-community-post-content,
.yl-community-comment-content {
  white-space: pre-wrap;
  color: #172033;
  line-height: 2;
  font-weight: 700;
}
.yl-community-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 700;
  line-height: 1.8;
}
.yl-community-status.success {
  background: #f0fdf4;
  color: #166534;
  border-color: rgba(22, 101, 52, 0.2);
}
.yl-community-status.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: rgba(153, 27, 27, 0.2);
}
.yl-community-form {
  display: grid;
  gap: 14px;
}
.yl-community-form label {
  display: grid;
  gap: 7px;
  color: #0f172a;
  font-weight: 700;
}
.yl-community-form input,
.yl-community-form textarea,
.yl-community-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: #172033;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}
.yl-community-form textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.9;
}
.yl-community-inline-form textarea {
  min-height: 92px;
}
.yl-community-form small {
  color: #64748b;
  font-weight: 800;
  line-height: 1.8;
}
.yl-community-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.9;
}
.yl-community-check input {
  width: auto;
  margin-top: 7px;
}
.yl-community-admin-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}
.yl-community-admin-bar input {
  min-height: 46px;
}
.yl-community-admin-controls,
.yl-community-interactions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.yl-community-interactions {
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.yl-community-action-button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #f8fafc;
  color: #0b225a;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.yl-community-action-button.active {
  background: #fff7df;
  border-color: #d6b25a;
  color: #6b4a00;
}
.yl-community-comments {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.yl-community-comment {
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.yl-community-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.yl-community-comment-form {
  margin-top: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fffdf5;
  border: 1px solid rgba(214, 178, 90, 0.28);
}
.yl-community-inline-fields {
  display: grid;
  gap: 10px;
}
.yl-community-modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: rgba(2, 6, 23, 0.55);
  padding: 14px;
}
.yl-community-modal-backdrop.open {
  display: flex;
}
.yl-community-modal {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.yl-member-layout {
  display: grid;
  gap: 16px;
}
.yl-member-panel {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.yl-member-card,
.yl-conversation-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.yl-member-name {
  color: #0b225a;
  font-weight: 700;
}
.yl-member-handle {
  color: #64748b;
  font-weight: 800;
  direction: ltr;
  text-align: right;
}
.yl-message-thread {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.yl-message-bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.yl-message-bubble.mine {
  justify-self: end;
  background: #fff7df;
  border-color: rgba(214, 178, 90, 0.36);
}
.yl-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.yl-message-body {
  white-space: pre-wrap;
  color: #172033;
  line-height: 1.9;
  font-weight: 800;
}
.yl-community-muted {
  color: #64748b;
  font-weight: 800;
}
@media (min-width: 760px) {
  .yl-community-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .yl-community-inline-fields {
    grid-template-columns: 1fr 1fr;
  }
  .yl-member-layout {
    grid-template-columns: 330px 1fr;
    align-items: start;
  }
}
@media (max-width: 700px) {
  .yl-community-shell {
    padding: 12px;
  }
  .yl-community-hero,
  .yl-community-section {
    border-radius: 20px;
  }
  .yl-community-admin-bar {
    grid-template-columns: 1fr;
  }
  .yl-message-bubble {
    max-width: 96%;
  }
}
