.uc-linkup-theme .main-card {
  border: 3px solid #111;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.uc-linkup-theme .section-header {
  background: #111;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 8px 12px;
}

.uc-linkup-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.uc-linkup-column {
  min-width: 0;
}

@media (min-width: 1024px) {
  .uc-linkup-layout {
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.uc-linkup-profile-card {
  padding: 16px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.uc-linkup-avatar-frame {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  border: 4px solid #b22222;
  border-radius: 8px;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

.uc-linkup-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-linkup-rep-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #facc15;
  color: #111827;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 2px;
  border: 2px solid #111827;
}

.uc-linkup-name {
  font-size: 18px;
  font-weight: 900;
  color: #991b1b;
}

.uc-linkup-meta {
  margin-top: 4px;
  font-size: 10px;
  color: #4b5563;
}

.uc-linkup-meta a {
  color: #991b1b;
  font-weight: 700;
  text-decoration: underline;
}

.uc-linkup-stats {
  padding: 14px 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.uc-linkup-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.uc-linkup-stat-row span:last-child {
  color: #b22222;
}

.uc-linkup-boost-btn {
  width: 100%;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border: 2px solid #000;
  border-radius: 4px;
  padding: 10px 8px;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

.uc-linkup-center {
  padding: 16px;
  background: #fff;
}

.uc-linkup-photo-frame {
  position: relative;
  width: 100%;
  height: 300px;
  background: #111827;
  border: 3px solid #111;
  border-radius: 4px;
  overflow: hidden;
}

.uc-linkup-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-linkup-photo-frame.is-pass .uc-linkup-photo-img {
  animation: uc-linkup-swipe-pass 0.38s ease forwards;
}

.uc-linkup-photo-frame.is-link .uc-linkup-photo-img {
  animation: uc-linkup-swipe-link 0.38s ease forwards;
}

.uc-linkup-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92) rotate(-12deg);
  border: 8px solid transparent;
  border-radius: 8px;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 18px;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}

.uc-linkup-overlay.is-visible {
  animation: uc-linkup-overlay-pop 0.34s ease forwards;
}

.uc-linkup-overlay.is-link {
  color: #22c55e;
  border-color: #22c55e;
}

.uc-linkup-overlay.is-pass {
  color: #ef4444;
  border-color: #ef4444;
}

.uc-linkup-info {
  margin-top: 12px;
}

.uc-linkup-profile-name {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: #991b1b;
}

.uc-linkup-profile-bio {
  margin-top: 6px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 700;
}

.uc-linkup-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.uc-linkup-btn {
  border: 3px solid #111;
  border-radius: 4px;
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: #fff;
  box-shadow: 4px 4px 0 #111;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.uc-linkup-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.uc-linkup-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111;
}

.uc-linkup-btn.pass {
  background: #e5e7eb;
  color: #1f2937;
}

.uc-linkup-btn.link {
  background: #b22222;
}

.uc-linkup-footer {
  margin-top: 12px;
  padding: 10px;
  border-radius: 2px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.uc-linkup-footer span:last-child {
  color: #b22222;
}

.uc-linkup-activity-feed {
  padding: 12px 10px;
  background: #fff;
}

.uc-linkup-activity-item {
  font-size: 11px;
  color: #374151;
  border-bottom: 1px dashed #d1d5db;
  padding: 8px 0;
}

.uc-linkup-activity-item:last-child {
  border-bottom: 0;
}

.uc-linkup-featured {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: #fff;
}

.uc-linkup-featured a {
  display: block;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  background: #f9fafb;
}

.uc-linkup-featured img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

.uc-linkup-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111827;
  color: #fff;
  border: 3px solid #facc15;
  border-radius: 3px;
  width: 280px;
  z-index: 45;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
}

.uc-linkup-toast.is-visible {
  animation: uc-linkup-toast-in 0.24s ease forwards;
}

.uc-linkup-toast-head {
  background: #facc15;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 6px 10px;
}

.uc-linkup-toast-text {
  font-size: 12px;
  font-weight: 800;
  padding: 10px;
}

@keyframes uc-linkup-swipe-pass {
  0% {
    transform: translateX(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-120px) rotate(-10deg) scale(0.96);
    opacity: 0;
  }
}

@keyframes uc-linkup-swipe-link {
  0% {
    transform: translateX(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(120px) rotate(10deg) scale(0.96);
    opacity: 0;
  }
}

@keyframes uc-linkup-overlay-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84) rotate(-12deg);
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-10deg);
  }
}

@keyframes uc-linkup-toast-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .uc-linkup-photo-frame.is-pass .uc-linkup-photo-img,
  .uc-linkup-photo-frame.is-link .uc-linkup-photo-img,
  .uc-linkup-overlay.is-visible,
  .uc-linkup-toast.is-visible {
    animation: none !important;
  }
}
