.card, .panel, .modal-card, .or-card {
  border: 1px solid var(--or-line) !important;
  border-radius: var(--or-radius) !important;
  background: linear-gradient(145deg, rgba(33, 35, 35, .97), rgba(20, 22, 22, .98)) !important;
  box-shadow: var(--or-shadow);
  overflow: clip;
}

.card .hd, .card .bd, .panel, .or-card { padding: clamp(14px, 2vw, 22px) !important; }
.card .hd { border-bottom: 1px solid var(--or-line); }

.btn, button, .or-button {
  min-height: 42px;
  border: 1px solid var(--or-line);
  border-radius: 999px;
  color: var(--or-ink);
  background: #262929;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.btn:hover, button:hover, .or-button:hover { border-color: rgba(255, 114, 23, .55); transform: translateY(-1px); }
.btn.primary, .primary, .or-button--primary {
  border-color: transparent !important;
  color: #160b03 !important;
  background: linear-gradient(135deg, var(--or-orange), var(--or-orange-2)) !important;
  box-shadow: 0 9px 24px rgba(255, 114, 23, .2);
}
.btn.ghost, .or-button--ghost { background: transparent !important; }

input, select, textarea, .input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--or-line) !important;
  border-radius: var(--or-radius-sm) !important;
  color: var(--or-ink) !important;
  background: #101212 !important;
  padding: 11px 13px !important;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #777b78; }

.avatar, .or-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid rgba(255, 114, 23, .5) !important;
  border-radius: 50% !important;
  color: white;
  background: linear-gradient(145deg, #454a47, #1a1c1b);
  font-weight: 900;
}
.avatar img, .or-avatar img { width: 100%; height: 100%; object-fit: cover; }

.empty, .empty-state, .or-empty {
  padding: 28px !important;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: var(--or-radius);
  color: var(--or-muted);
  text-align: center;
  background: rgba(255, 255, 255, .025);
}

.pill, .badge, .or-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--or-line);
  border-radius: 999px;
  color: var(--or-sand);
  background: rgba(255, 255, 255, .045);
  font-size: .78rem;
  font-weight: 800;
}

.or-cover {
  position: relative;
  min-height: clamp(180px, 27vw, 340px);
  border-radius: var(--or-radius-lg);
  overflow: hidden;
  background: #1b1d1c url("../assets/terrain-cover.svg") center / cover no-repeat;
}
.or-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8, 9, 9, .88)); }

.or-list { display: grid; gap: 10px; }
.or-list-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.035); }
.or-list-item__copy { min-width: 0; flex: 1; }
.or-list-item__copy strong, .or-list-item__copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-row { align-items: center !important; }
.social-row > div:nth-child(2) { min-width: 0; }
.social-row .avatar img, .ava img { width:100%; height:100%; display:block; object-fit:cover; border-radius:50%; }

.or-status { min-height: 22px; color: var(--or-muted); }
.or-status[data-tone="error"] { color: #ff938a; }
.or-status[data-tone="success"] { color: #75d99a; }

@media (max-width: 640px) {
  .card .hd, .card .bd, .panel, .or-card { padding: 14px !important; }
  .btn, button, .or-button { min-height: 44px; }
}
