.plfr-app{
  font-family: inherit;
  color: inherit;
  direction: rtl;
  --plfr-radius-xl: 28px;
  --plfr-radius-lg: 22px;
  --plfr-radius-md: 18px;
  --plfr-radius-sm: 14px;
  --plfr-border: rgba(15, 23, 42, 0.08);
  --plfr-border-strong: rgba(15, 23, 42, 0.12);
  --plfr-text-soft: rgba(15, 23, 42, 0.72);
  --plfr-text-faint: rgba(15, 23, 42, 0.56);
  --plfr-surface: rgba(255, 255, 255, 0.72);
  --plfr-surface-strong: rgba(255, 255, 255, 0.9);
  --plfr-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --plfr-shadow-hover: 0 22px 60px rgba(15, 23, 42, 0.12);
  --plfr-backdrop: blur(18px);
}

.plfr-shell{
  background: var(--plfr-surface);
  border: 1px solid var(--plfr-border);
  border-radius: var(--plfr-radius-xl);
  box-shadow: var(--plfr-shadow);
  backdrop-filter: var(--plfr-backdrop);
  -webkit-backdrop-filter: var(--plfr-backdrop);
  padding: 24px;
  overflow: hidden;
}

.plfr-topbar{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.plfr-topbar-main{
  min-width: 0;
  flex: 1 1 auto;
}

.plfr-eyebrow{
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--plfr-text-faint);
  margin-bottom: 4px;
}

.plfr-title{
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plfr-status{
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--plfr-text-faint);
  padding-top: 2px;
}

.plfr-toolbar{
  margin-bottom: 16px;
}

.plfr-search-wrap{
  position: relative;
}

.plfr-search{
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--plfr-border-strong);
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  border-radius: 18px;
  padding: 15px 18px;
  font: inherit;
  font-size: 1.04rem;
  line-height: 1.8;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.plfr-search::placeholder{
  color: var(--plfr-text-faint);
  opacity: 1;
}

.plfr-search:focus{
  border-color: rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.plfr-sources{
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  margin: 0 0 18px;
  scrollbar-width: thin;
}

.plfr-sources::-webkit-scrollbar{
  height: 7px;
}

.plfr-sources::-webkit-scrollbar-thumb{
  background: rgba(15, 23, 42, 0.14);
  border-radius: 999px;
}

.plfr-chip{
  flex: 0 0 auto;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.05);
  color: inherit;
  border-radius: 999px;
  padding: 10px 15px;
  font: inherit;
  font-size: 0.99rem;
  line-height: 1.6;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.plfr-chip:hover{
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.08);
}

.plfr-chip.is-active{
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.plfr-list{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.plfr-card{
  position: relative;
  background: var(--plfr-surface-strong);
  border: 1px solid var(--plfr-border);
  border-radius: var(--plfr-radius-lg);
  padding: 16px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.plfr-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--plfr-shadow-hover);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.plfr-card-meta,
.plfr-reader-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.plfr-source,
.plfr-reader-source{
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 700;
  color: var(--plfr-text-soft);
}

.plfr-time,
.plfr-reader-time{
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--plfr-text-faint);
}

.plfr-card-title{
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.95;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plfr-card-summary{
  margin: 0;
  font-size: 1.02rem;
  line-height: 2;
  color: var(--plfr-text-soft);
}

.plfr-footer-actions{
  margin-top: 20px;
  text-align: center;
}

.plfr-load-more{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: #111111;
  color: #ffffff;
  border-radius: 16px;
  padding: 12px 20px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.plfr-load-more:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.plfr-load-more[disabled]{
  opacity: 0.48;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.plfr-empty{
  padding: 34px 18px;
  text-align: center;
  font-size: 1.06rem;
  line-height: 2;
  color: var(--plfr-text-soft);
}

.plfr-reader{
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.plfr-reader-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.plfr-reader-panel{
  position: relative;
  width: min(860px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  color: #111111;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  padding: 22px 22px 28px;
}

.plfr-reader-close{
  position: sticky;
  top: 0;
  float: left;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #111111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.plfr-reader-close:hover{
  background: rgba(15, 23, 42, 0.1);
  transform: scale(1.03);
}

.plfr-reader-title{
  clear: both;
  margin: 12px 0 14px;
  font-size: 1.38rem;
  line-height: 1.95;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plfr-reader-image-wrap{
  margin-bottom: 16px;
}

.plfr-reader-image-wrap img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.plfr-reader-content{
  font-size: 1.08rem;
  line-height: 2.15;
  color: rgba(17, 17, 17, 0.92);
}

.plfr-reader-content p{
  margin: 0 0 14px;
}

.plfr-reader-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  text-decoration: none;
  background: #111111;
  color: #ffffff;
  border-radius: 16px;
  padding: 11px 16px;
  font-size: 0.98rem;
  line-height: 1.6;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.plfr-reader-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  color: #ffffff;
}

.plfr-card:focus-visible,
.plfr-chip:focus-visible,
.plfr-load-more:focus-visible,
.plfr-reader-close:focus-visible,
.plfr-reader-link:focus-visible,
.plfr-search:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

@media (min-width: 700px){
  .plfr-shell{
    padding: 26px;
  }

  .plfr-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px){
  .plfr-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px){
  .plfr-topbar{
    flex-direction: column;
    align-items: stretch;
  }

  .plfr-status{
    white-space: normal;
    padding-top: 0;
  }

  .plfr-reader-panel{
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    border-radius: 22px;
    padding: 18px 16px 24px;
  }

  .plfr-reader-title{
    font-size: 1.26rem;
  }
}

@media (max-width: 640px){
  .plfr-shell{
    border-radius: 22px;
    padding: 16px;
  }

  .plfr-title{
    font-size: 1.24rem;
  }

  .plfr-eyebrow,
  .plfr-status{
    font-size: 0.94rem;
  }

  .plfr-search{
    font-size: 1rem;
    padding: 13px 15px;
    border-radius: 16px;
  }

  .plfr-chip{
    font-size: 0.95rem;
    padding: 9px 13px;
  }

  .plfr-card{
    border-radius: 18px;
    padding: 14px;
  }

  .plfr-source,
  .plfr-reader-source{
    font-size: 0.97rem;
  }

  .plfr-time,
  .plfr-reader-time{
    font-size: 0.91rem;
  }

  .plfr-card-title{
    font-size: 1.08rem;
    line-height: 1.9;
  }

  .plfr-card-summary{
    font-size: 0.98rem;
    line-height: 1.95;
  }

  .plfr-load-more{
    width: 100%;
  }

  .plfr-reader-content{
    font-size: 1.02rem;
    line-height: 2.05;
  }
}