    
        :root {
          --rltr-accent: #130D60;
          --rltr-accent-soft: rgba(19, 13, 96, 0.08);
        }

        .rltr-card-links-shell {
          max-width: 960px;
          margin: 0 auto;
          font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }

        .rltr-card-links-panel {
          background: #ffffff;
          border-radius: 14px;
          border: 1px solid #e3e6ef;
          box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
          padding: 22px 24px;
        }

        .rltr-card-links-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          gap: 12px;
          margin-bottom: 18px;
        }

        .rltr-card-links-title {
          font-size: 18px;
          font-weight: 600;
          color: #0f172a;
        }

        .rltr-card-links-subtitle {
          font-size: 13px;
          color: #64748b;
        }

        .rltr-pill {
          font-size: 11px;
          text-transform: uppercase;
          letter-spacing: 0.08em;
          padding: 4px 9px;
          border-radius: 999px;
          background: var(--rltr-accent-soft);
          color: var(--rltr-accent);
          font-weight: 600;
        }

        .rltr-field-group {
          margin-bottom: 20px;
        }

        .rltr-field-label {
          font-size: 12px;
          font-weight: 600;
          color: #475569;
          margin-bottom: 6px;
          display: flex;
          align-items: center;
          gap: 6px;
        }

        .rltr-field-label small {
          font-weight: 500;
          color: #94a3b8;
        }

        .rltr-input,
        .rltr-textarea {
          width: 100% !important;
          border-radius: 9px !important;
          border: 1px solid #d4d4dd !important;
          padding: 7px 9px !important;
          font-size: 13px !important;
          color: #0f172a !important;
          background: #f9fafb !important;
          transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
        }

        .rltr-input:focus,
        .rltr-textarea:focus {
          outline: none !important;
          border-color: var(--rltr-accent) !important;
          box-shadow: 0 0 0 1px var(--rltr-accent-soft) !important;
          background: #ffffff;
        }

        .rltr-textarea {
          min-height: 60px;
          resize: vertical;
        }

        .rltr-static-thumb-row {
          
          align-items: center;
          gap: 16px;
          flex-wrap: wrap;
        }

        /* 1:1 thumbnail containers */
        .rltr-static-thumb-preview,
        .rltr-thumb-preview {
          width: 96px;
          height: 96px;
          border-radius: 10px;
          overflow: hidden;
          background: #f1f5f9;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .rltr-static-thumb-preview img,
        .rltr-thumb-preview img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }

        .rltr-empty-thumb-hint {
          font-size: 12px;
          color: #94a3b8;
          text-align: center;
          padding: 4px;
        }

        .rltr-dropzone {
          border-radius: 12px;
          border: 1px dashed #cbd5e1;
          background: #f8fafc;
          padding: 14px 18px;
          cursor: pointer;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          min-width: 220px;
          text-align: center;
          transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
        }

        .rltr-dropzone:hover {
          border-color: var(--rltr-accent);
          background: #eef2ff;
          box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
        }

        .rltr-dropzone-label {
          font-size: 12px;
          color: #475569;
        }

        .rltr-gallery-strip {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          margin-top: 6px;
        }

        .rltr-gallery-item {
          border: none;
          padding: 0;
          background: transparent;
          cursor: pointer;
          border-radius: 9px;
          overflow: hidden;
          box-shadow: 0 4px 12px rgba(15,23,42,0.2);
          transition: transform 0.12s ease, box-shadow 0.12s ease, outline 0.12s ease;
        }

        .rltr-gallery-item img {
          display: block;
          width: 64px;
          height: 64px;
          object-fit: cover;
        }

        .rltr-gallery-item:hover {
          transform: translateY(-1px);
          box-shadow: 0 8px 18px rgba(15,23,42,0.25);
          outline: 2px solid var(--rltr-accent-soft);
        }

        .rltr-gallery-item.is-selected {
          outline: 2px solid var(--rltr-accent);
          outline-offset: 2px;
        }

        #rltr-links-rows {
          display: flex;
          flex-direction: column;
          gap: 10px;
        }

        .rltr-link-row {
          border-radius: 12px;
          border: 1px solid #e2e8f0;
          background: #f9fafb;
          padding: 12px 12px 10px;
          position: relative;
        }

        .rltr-link-row::before {
          content: "";
          position: absolute;
          inset: 0;
          border-radius: inherit;
          border: 1px solid transparent;
          pointer-events: none;
          transition: border-color 0.12s ease, box-shadow 0.12s ease;
        }

        .rltr-link-row:hover::before {
          border-color: var(--rltr-accent-soft);
          box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
        }

        /* New 2-column layout inside each row */
        .rltr-link-row-inner {
          display: grid;
          grid-template-columns: auto minmax(0, 1fr);
          gap: 14px;
          align-items: flex-start;
        }

        @media (max-width: 768px) {
          .rltr-link-row-inner {
            grid-template-columns: minmax(0, 1fr);
          }
        }

        .rltr-thumb-col {
          width: 96px;
          display: flex;
          flex-direction: column;
          gap: 6px;
          align-items: flex-start;
        }

        .rltr-content-col {
          display: flex;
          flex-direction: column;
          gap: 8px;
        }

        .rltr-link-row-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 8px;
          gap: 8px;
        }

        .rltr-link-row-title {
          font-size: 12px;
          font-weight: 600;
          color: #475569;
        }

        .rltr-row-badge {
          font-size: 11px;
          color: #94a3b8;
        }

        /* Drag handle */
        .rltr-row-drag {
          cursor: grab;
          font-size: 16px;
          color: #94a3b8;
          padding: 4px 6px;
          border-radius: 999px;
          transition: background 0.12s ease, color 0.12s ease;
        }

        .rltr-row-drag:hover {
          background: #e5e7eb;
          color: #475569;
        }

        .rltr-link-row.ui-sortable-helper {
          opacity: 0.9;
        }

        .rltr-row-placeholder {
          background: #e5e7eb;
          border-radius: 12px;
          border: 1px dashed #cbd5e1;
          height: 60px;
          margin: 6px 0;
        }

        .rltr-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 6px;
          border-radius: 999px;
          border: 1px solid transparent;
          padding: 7px 13px;
          font-size: 12px;
          font-weight: 600;
          cursor: pointer;
          transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
          text-decoration: none;
        }

        .rltr-btn-primary {
          background: var(--rltr-accent);
          color: #ffffff;
          border-color: var(--rltr-accent);
          box-shadow: 0 8px 18px rgba(19, 13, 96, 0.35);
        }

        .rltr-btn-primary:hover {
          background: #0e0a49;
          border-color: #0e0a49;
        }

        .rltr-btn-soft {
          background: var(--rltr-accent-soft);
          color: var(--rltr-accent);
          border-color: transparent;
        }

        .rltr-btn-soft:hover {
          background: rgba(19, 13, 96, 0.14);
        }

        .rltr-btn-ghost {
          background: transparent;
          color: #0f172a;
          border-color: #cbd5e1;
        }

        .rltr-btn-ghost:hover {
          background: #e5e7eb;
        }

        .rltr-btn-danger {
          color: #b91c1c;
          border-color: #fecaca;
          background: #fef2f2;
        }

        .rltr-btn-danger:hover {
          background: #fee2e2;
        }

        .rltr-editor-footer {
          display: flex;
          justify-content: space-between;
          align-items: center;
          gap: 10px;
          margin-top: 16px;
          flex-wrap: wrap;
        }

        .rltr-save-status {
          font-size: 12px;
          color: #64748b;
        }

        .rltr-save-status--ok {
          color: #16a34a;
        }

        .rltr-save-status--err {
          color: #b91c1c;
        }

        .rltr-dot {
          width: 6px;
          height: 6px;
          border-radius: 999px;
          background: var(--rltr-accent);
          display: inline-block;
        }
        
        /* Socials editor visual polish */
.rltr-socials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rltr-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.rltr-social-row:hover {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.rltr-link-drag {
  cursor: grab;
  font-size: 16px;
  color: #666;
  user-select: none;
}

.rltr-link-drag:active {
  cursor: grabbing;
}

/* Base thumbnail container: 1:1 square, small */
.rltr-thumb-preview,
.rltr-static-thumb-preview {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Any image inside a thumb preview: cover the square */
.rltr-thumb-preview img,
.rltr-static-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The "No thumbnail" placeholder text */
.rltr-empty-thumb-hint {
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  padding: 4px;
}

/* Keep thumb + buttons from stretching full width */
.rltr-thumb-field {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

/* Static thumb controls sit under the preview, left aligned */
.rltr-static-thumb-controls {
  margin-top: 6px;
}

/* ==============================
   RLTRsync Editor – Recent media
   ============================== */

.rltr-recent-media-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Button wrapper kept small; 1:1 ratio */
.rltr-recent-media-item {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 10px;
  padding: 0;
  width: 64px;
  height: 64px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

/* Image fills the square, 1:1 */
.rltr-recent-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover effect so it feels clickable */
.rltr-recent-media-item:hover {
  transform: scale(1.03);
  border-color: var(--rltr-accent, #130D60);
  background: #ffffff;
}

/* Optional: tighter grid on narrow screens */
@media (max-width: 600px) {
  .rltr-recent-media-item {
    width: 56px;
    height: 56px;
  }
}

    .rltr-reviews-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
        margin-top: 12px;
    }

    /* Individual review source card */
    .rltr-review-card {
        background: #f8fafc;
        border-radius: 14px;
        padding: 16px 18px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(148, 163, 184, 0.35);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .rltr-review-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .rltr-review-source {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .rltr-review-source-icon {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .rltr-review-source-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .rltr-review-source-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .rltr-review-source-name {
        font-weight: 600;
        font-size: 14px;
        color: #0f172a;
    }

    .rltr-review-source-meta {
        font-size: 12px;
        color: #64748b;
    }

    /* Reuse your pill but give busy state a look */
    .rltr-pill.is-busy {
        opacity: 0.7;
        pointer-events: none;
    }

    /* Connect profile helper */
    .rltr-review-connect {
        font-size: 12px;
        color: #475569;
        margin: 0;
    }

    .rltr-review-connect a {
        color: #0f172a;
        text-decoration: underline;
    }

    /* Existing review list inside card */
    .rltr-review-list {
        margin-top: 8px;
        max-height: 260px;
        overflow: auto;
        padding-right: 4px;
    }

    .rltr-review-list .review-item {
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.4);
        padding: 10px 12px;
        margin-bottom: 8px;
        background: #ffffff;
        font-size: 12px;
        line-height: 1.5;
    }

    .rltr-review-list .review-item h3 {
        font-size: 13px;
        margin: 0 0 4px;
        color: #0f172a;
        font-weight: 600;
    }

    .rltr-review-list .review-item p {
        margin: 0;
        color: #475569;
    }

    .rltr-review-list .review-item:last-child {
        margin-bottom: 0;
    }

    @media (max-width: 782px) {
        .rltr-review-card {
            padding: 14px 14px;
        }
    }
    

