/* Theme values come exclusively from the main ONECIK design system. */
.pl-social {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
  padding: 12px !important;
  background: var(--grad-soft);
}
.pl-social .pl-ig-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-solid);
  color: var(--ink);
  font: 600 11px var(--font-body);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.pl-social .pl-ig-action:hover {
  border-color: var(--blue);
  background: var(--bg);
  transform: translateY(-1px);
}
.pl-social .pl-ig-like > svg {
  color: #d93d81;
}
.pl-social .pl-ig-follow > svg {
  color: var(--blue);
}
.pl-social .pl-ig-save > svg {
  color: var(--cyan);
}
.pl-ig-action span {
  white-space: nowrap;
}
.pl-social .pl-ig-arrow {
  font-size: 9px;
  color: var(--muted);
  opacity: 0.7;
}
.pl-actions .pl-share {
  font: 600 11px var(--font-body);
  padding: 13px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}
@media (max-width: 360px) {
  .pl-social .pl-ig-action {
    gap: 5px;
    padding: 9px 5px;
    font-size: 10px;
  }
  .pl-social .pl-ig-arrow {
    display: none;
  }
}
.pl-account {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 12px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface-solid);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.pl-account:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.pl-instagram-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: linear-gradient(
    145deg,
    #833ab4,
    #c13584 40%,
    #e1306c 65%,
    #fcb045
  );
  color: #fff;
  flex-shrink: 0;
}
.pl-instagram-mark svg {
  display: block;
}
.pl-main {
  color: var(--ink);
  background: var(--bg);
  padding: 110px 0 55px;
}
.pl-wrap {
  max-width: var(--wrap);
  margin: auto;
  padding: 0 36px;
}
.pl-main #kutuphane {
  padding: 0;
}
.pl-library-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 25px;
}
.pl-main h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 10px 0 0;
}
.pl-account {
  font: 600 12px var(--font-body);
  color: var(--blue);
}
.pl-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 17px;
  min-width: 290px;
  color: var(--muted);
}
.pl-search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: 13px var(--font-body);
  width: 100%;
  min-width: 0;
  outline: 0;
}
.pl-search:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.pl-filter-row {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.pl-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pl-filters button {
  font: 500 12px var(--font-body);
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: var(--surface-solid);
  cursor: pointer;
}
.pl-filters button[aria-pressed="true"] {
  background: var(--grad);
  color: white;
  border-color: transparent;
}
.pl-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 26px;
}
.pl-select {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.pl-select select {
  font: 500 11px var(--font-body);
  padding: 9px 10px;
  background: var(--surface-solid);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  max-width: 180px;
}
#pl-saved-only {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--surface-solid);
  font: 500 11px var(--font-body);
  padding: 9px 11px;
  cursor: pointer;
}
#pl-saved-only[aria-pressed="true"] {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--grad-soft);
}
#pl-saved-count {
  border-radius: 100%;
  padding: 2px 6px;
  background: var(--surface-2);
}
#pl-result {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 0 auto;
}
.pl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
.pl-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: 110px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.pl-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.pl-image-link {
  display: block;
  position: relative;
  aspect-ratio: 1.3;
  overflow: hidden;
  background: #07101b;
}
.pl-image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.pl-image-link:hover img {
  transform: scale(1.025);
}
.pl-image-link > span {
  position: absolute;
  bottom: 13px;
  right: 13px;
  border: 1px solid #ffffff40;
  border-radius: 100px;
  padding: 7px 12px;
  font-size: 10px;
  color: #fff;
  background: #07101be6;
}
.pl-template-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 205px;
  padding: 32px;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pl-template-art:after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  width: 200px;
  height: 200px;
  border-radius: 45px;
  right: -70px;
  top: -50px;
  transform: rotate(25deg);
  pointer-events: none;
}
.pl-template-art > span {
  font: 600 10px var(--font-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}
.pl-template-art code {
  font: 600 clamp(19px, 2.7vw, 34px) / 1.3 var(--font-display);
  letter-spacing: -1px;
  margin: 18px 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.pl-template-art small {
  font-size: 10px;
  color: var(--muted);
}
.pl-social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
}
.pl-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.pl-social a:hover {
  color: var(--blue);
}
.pl-social .pl-follow-action {
  font-weight: 650;
  color: var(--blue);
}
.pl-save {
  margin-left: auto;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}
.pl-save[aria-pressed="true"] {
  color: var(--blue);
}
.pl-save[aria-pressed="true"] svg {
  fill: var(--blue);
  fill-opacity: 0.15;
}
.pl-card-body {
  padding: 24px;
}
.pl-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.pl-category {
  color: var(--blue);
  font: 650 10px var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pl-number {
  font: 11px monospace;
  color: var(--muted);
}
.pl-card h2 {
  font-size: clamp(21px, 2.3vw, 27px);
  margin: 13px 0 10px;
  line-height: 1.2;
}
.pl-card-body > p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.pl-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.pl-tags span {
  font: 500 10px var(--font-body);
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-2);
}
.pl-card details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 18px;
}
.pl-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-size: 11px;
}
.pl-card summary::-webkit-details-marker {
  display: none;
}
.pl-card summary code {
  color: var(--blue);
  font-size: 10px;
  overflow-wrap: anywhere;
}
.pl-card summary > span {
  white-space: nowrap;
}
.pl-card summary b {
  font-size: 17px;
  padding-left: 8px;
}
.pl-card details[open] summary b {
  display: inline-block;
  transform: rotate(45deg);
}
.pl-detail h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.pl-detail .pl-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 16px;
}
.pl-prompt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 ui-monospace,
    monospace;
  padding: 18px;
  border-radius: 10px;
  background: var(--surface-2);
  max-height: 340px;
  overflow: auto;
  margin: 0 0 15px;
}
.pl-customize {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 20px;
  min-width: 0;
}
.pl-customize legend {
  font-size: 11px;
  padding: 0 5px;
}
.pl-customize label {
  font-size: 10px;
  color: var(--muted);
  min-width: 0;
}
.pl-customize input {
  width: 100%;
  min-width: 0;
  font: 12px var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  margin-top: 5px;
}
.pl-actions {
  display: flex;
  gap: 10px;
  margin-top: 19px;
}
.pl-actions button {
  font: 600 11px var(--font-body);
  padding: 13px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pl-copy {
  flex: 1;
  background: var(--grad);
  color: white;
  border: 1px solid transparent;
}
.pl-share {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.pl-main [hidden] {
  display: none !important;
}
#pl-empty {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
#pl-empty h2 {
  font-size: 19px;
}
#pl-reset,
#pl-more {
  font: 600 12px var(--font-body);
  background: var(--surface-solid);
  color: var(--blue);
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
}
#pl-more {
  display: block;
  margin: 30px auto 0;
}
.pl-main button:focus-visible,
.pl-main a:focus-visible,
.pl-main summary:focus-visible,
.pl-main select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.pl-sr {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#pl-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  max-width: calc(100% - 30px);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 1000;
}
#pl-toast.pl-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.pl-follow {
  background: var(--surface-solid);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  width: min(440px, calc(100vw - 32px));
  text-align: center;
  box-shadow: var(--shadow);
}
.pl-follow::backdrop {
  background: #07101b75;
  backdrop-filter: blur(5px);
}
.pl-follow-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 26px;
  cursor: pointer;
}
.pl-follow-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--grad);
  color: white;
  margin: 0 auto 25px;
  font-size: 28px;
}
.pl-follow h2 {
  font-size: 28px;
  line-height: 1.2;
}
.pl-follow p {
  font-size: 13px;
  color: var(--muted);
}
.pl-follow-link {
  display: block;
  background: var(--grad);
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 24px;
}
.pl-follow-skip {
  display: block;
  background: transparent;
  border: 0;
  color: inherit;
  margin: 16px auto 0;
  padding: 8px;
  font: 12px var(--font-body);
  cursor: pointer;
}
body:has(.pl-main) .mobile-bar {
  display: none;
}
@media (min-width: 1500px) {
  .pl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .pl-filters button,
  .pl-select select,
  #pl-saved-only,
  .pl-search,
  .pl-actions button,
  .pl-card summary,
  .pl-follow-skip {
    min-height: 44px;
  }
  .pl-follow-close {
    min-width: 44px;
    min-height: 44px;
  }
  .pl-save {
    width: 44px;
    height: 44px;
    padding: 12px;
    flex-shrink: 0;
  }
  .pl-social a {
    min-height: 44px;
  }
  .pl-social > a:first-child {
    min-width: 0;
    flex: 1;
  }
  .pl-social svg {
    flex-shrink: 0;
  }
  .pl-main {
    padding-top: 100px;
  }
  .pl-wrap {
    padding: 0 20px;
  }
  .pl-library-top {
    display: block;
  }
  .pl-search {
    min-width: 0;
    width: 100%;
    margin-top: 20px;
    padding: 13px 14px;
  }
  .pl-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pl-filters {
    gap: 7px;
  }
  .pl-filters button {
    font-size: 11px;
    padding: 8px 12px;
  }
  .pl-tools {
    gap: 10px;
  }
  .pl-select > span {
    display: none;
  }
  .pl-select select {
    font-size: 10px;
    padding: 9px;
    max-width: 155px;
  }
  #pl-saved-only {
    font-size: 10px;
  }
  #pl-result {
    flex: 1;
    font-size: 10px;
    text-align: right;
  }
  .pl-image-link {
    aspect-ratio: 1.1;
  }
  .pl-card-body {
    padding: 21px;
  }
  .pl-card h2 {
    font-size: 25px;
  }
  .pl-social {
    padding: 13px 20px;
    gap: 10px;
  }
  .pl-social a {
    font-size: 10px;
  }
  .pl-actions button {
    padding: 13px 11px;
  }
  .pl-template-art {
    min-height: 180px;
    padding: 26px;
  }
  .pl-template-art code {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pl-main * {
    transition: none !important;
  }
}
