html[data-plate][data-shelf="fanfiction"] .ff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

html[data-plate][data-shelf="fanfiction"] .ff-chip {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #e0aaff;
  border: 1px solid rgba(224, 170, 255, 0.3);
  padding: 4px 8px;
  border-radius: 0;
  line-height: 1.3;
}

html[data-plate][data-shelf="fanfiction"] [data-part="worlds"] .bk-author {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

html[data-plate][data-shelf="fanfiction"] .ff-collage {
  position: absolute;
  inset: 9px;
  overflow: hidden;
}

@media (max-width: 767px) {
  html[data-plate][data-shelf="fanfiction"] .ff-collage {
    inset: 6px;
  }
}

html[data-plate][data-shelf="fanfiction"] .ff-world-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 16px;
}

html[data-plate][data-shelf="fanfiction"] .ff-world-key {
  height: 48px;
  padding: 0 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  background: var(--plate-dark);
  color: #e0aaff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0;
}

html[data-plate][data-shelf="fanfiction"] .ff-world-key-active {
  background: #e0aaff;
  color: var(--ink-dark);
}

html[data-plate][data-shelf="fanfiction"] .ff-world-count {
  opacity: 0.7;
  margin-left: 4px;
}

@media (max-width: 767px) {
  html[data-plate][data-shelf="fanfiction"] .ff-world-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 8px;
  }
}

/* Fix tiny text ban violation: creator-count must be 14px minimum on phone */
@media (max-width: 767px) {
  html[data-plate][data-shelf="fanfiction"] .creator-count {
    font-size: 14px;
  }
}

/* Fix card hover: prevent cards from growing off-screen */
html[data-plate][data-shelf="fanfiction"] .bk.bk-plate[data-kind="fanfiction"]:hover {
  transform: none;
}

html[data-plate][data-shelf="fanfiction"] .bk.bk-plate[data-kind="fanfiction"]:hover .bk-cover {
  transform: none;
}

/* WORLD PAGE: Remove SVG texture, fix card spacing */
html[data-plate][data-shelf="fanfiction"] .creator-panel {
  background: var(--brushed),
    radial-gradient(80% 70% at 20% 0%, rgba(224, 170, 255, 0.14) 0%, transparent 60%),
    linear-gradient(155deg, #3a2a3f 0%, #2a1a2f 60%, #1d1421 100%) !important;
}

html[data-plate][data-shelf="fanfiction"] .creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  padding: 20px;
}

@media (max-width: 767px) {
  html[data-plate][data-shelf="fanfiction"] .creator-grid {
    grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
    gap: 12px;
    padding: 16px;
  }
}
