
/* YieldPulse Theme v2.2.43.5 — Pulse Single Controller Final */

.ypf-ready { position: relative !important; }
.ypf-symbol { color:#12f0c7; font-weight:900; margin-right:.2rem; }

.ypf-preview {
  margin-top: 14px;
  width: 100%;
  clear: both;
}

.ypf-attach {
  border:1px solid rgba(140,170,220,.17);
  background:rgba(5,13,29,.42);
  border-radius:18px;
  overflow:hidden;
}

.ypf-gif,
.ypf-image {
  display:grid;
  grid-template-columns:minmax(260px, 560px) 1fr;
  align-items:end;
}

.ypf-media {
  padding:14px;
  background:rgba(0,0,0,.14);
}

.ypf-media img {
  display:block;
  width:100%;
  max-width:560px;
  max-height:360px;
  object-fit:contain;
  border-radius:12px;
}

.ypf-caption {
  display:flex;
  align-items:center;
  gap:8px;
  color:#dce8ff;
  padding:14px 16px;
  font-size:17px;
  min-width:0;
}

.ypf-caption span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.ypf-caption button,
.ypf-chart-top button {
  margin-left:auto;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
}

.ypf-chart {
  padding:16px;
}

.ypf-chart-top {
  display:flex;
  align-items:center;
  gap:10px;
  color:#cfe0ff;
  margin-bottom:12px;
}

.ypf-chart-top strong {
  color:#12f0c7;
  font-size:24px;
}

.ypf-chart svg {
  display:block;
  width:100%;
  height:250px;
  border-radius:14px;
  border:1px solid rgba(18,240,199,.14);
  background:linear-gradient(180deg,rgba(8,22,44,.94),rgba(4,10,23,.94));
}

.ypf-chart .grid line {
  stroke:rgba(255,255,255,.07);
  stroke-width:1;
}

.ypf-chart .line {
  fill:none;
  stroke:#12f0c7;
  stroke-width:5;
  stroke-linecap:round;
}

.ypf-chart .area {
  fill:#12f0c7;
  opacity:.16;
}

.ypf-tray {
  position:absolute;
  right:24px;
  bottom:74px;
  z-index:9999999;
  width:min(760px, calc(100vw - 48px));
  max-height:520px;
  overflow:hidden;
  background:#0f1b31;
  border:1px solid rgba(140,170,220,.24);
  border-radius:20px;
  box-shadow:0 25px 80px rgba(0,0,0,.55);
}

.ypf-tray-head {
  display:grid;
  grid-template-columns:auto 1fr 36px;
  align-items:center;
  gap:12px;
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.ypf-tray-head strong { color:#fff; font-size:18px; }
.ypf-tray-head input {
  width:100%;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:999px;
  padding:10px 14px;
}

.ypf-tray-head button {
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#fff;
  cursor:pointer;
}

.ypf-gif-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  max-height:430px;
  overflow:auto;
  padding:12px;
}

.ypf-gif-grid button {
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius:14px;
  overflow:hidden;
  padding:0;
  color:#fff;
  text-align:left;
  cursor:pointer;
}

.ypf-gif-grid img {
  display:block;
  width:100%;
  height:112px;
  object-fit:cover;
  background:rgba(0,0,0,.18);
}

.ypf-gif-grid span {
  display:block;
  padding:8px 10px;
  font-size:13px;
  font-weight:700;
}

.ypf-emoji-picker {
  width:auto;
  max-width:360px;
  padding:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.ypf-emoji-picker button {
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  font-size:18px;
  cursor:pointer;
}

.ypf-post {
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:18px;
  padding:24px;
  border:1px solid rgba(140,170,220,.12);
  border-radius:22px;
  background:rgba(4,11,24,.55);
  margin-top:18px;
}

.ypf-avatar {
  width:58px;
  height:58px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#f7fbff;
  color:#071426;
  font-weight:900;
}

.ypf-meta {
  display:flex;
  align-items:center;
  gap:10px;
  color:#d9e8ff;
}

.ypf-meta b { color:#12dfff; }
.ypf-meta span {
  color:#12f0c7;
  border:1px solid rgba(18,240,199,.22);
  background:rgba(18,240,199,.11);
  border-radius:999px;
  padding:4px 9px;
  font-size:12px;
  font-weight:800;
}

.ypf-text {
  color:#fff;
  font-size:22px;
  line-height:1.3;
  font-weight:800;
  margin-top:12px;
}

.ypf-feed-media {
  margin:14px 0 0;
  max-width:620px;
  border:1px solid rgba(140,170,220,.18);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.035);
}

.ypf-feed-media img {
  display:block;
  width:100%;
  max-height:390px;
  object-fit:contain;
  background:rgba(0,0,0,.2);
}

.ypf-feed-media figcaption {
  color:#dce8ff;
  padding:10px 12px;
}

.ypf-feed-chart {
  max-width:680px;
  margin-top:14px;
}

.ypf-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.ypf-actions button {
  border-radius:999px;
  border:1px solid rgba(150,170,210,.16);
  background:rgba(255,255,255,.06);
  color:#dce8ff;
  font-weight:800;
  padding:10px 16px;
}

.ypf-loading { opacity:.65; pointer-events:none; }

@media(max-width:900px){
  .ypf-gif,.ypf-image{grid-template-columns:1fr;}
  .ypf-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .ypf-tray{left:10px;right:10px;width:auto;}
  .ypf-gif-grid{grid-template-columns:1fr;}
}
