.prof-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cw-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.4rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-color: rgba(212, 175, 55, 0.6);
  background:
    linear-gradient(120deg, transparent 62%, rgba(212, 175, 55, 0.025) 62.5%, transparent 63%) 0 0 / 52px 52px,
    radial-gradient(circle at 8% 12%, rgba(255, 224, 130, 0.14), transparent 32%),
    radial-gradient(circle at 95% 88%, rgba(94, 132, 184, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(31, 21, 13, 0.98), rgba(9, 6, 4, 0.98));
  scroll-margin-top: 92px;
}
.cw-card:hover {
  transform: none;
  border-color: rgba(212, 175, 55, 0.75);
  background:
    linear-gradient(120deg, transparent 62%, rgba(212, 175, 55, 0.025) 62.5%, transparent 63%) 0 0 / 52px 52px,
    radial-gradient(circle at 8% 12%, rgba(255, 224, 130, 0.14), transparent 32%),
    radial-gradient(circle at 95% 88%, rgba(94, 132, 184, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(31, 21, 13, 0.98), rgba(9, 6, 4, 0.98));
}
.cw-card::before { border-color: rgba(255, 224, 130, 0.22); }
.cw-shine {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 440px;
  height: 260px;
  pointer-events: none;
  opacity: 0.55;
  transform: rotate(18deg);
  background: linear-gradient(110deg, transparent 22%, rgba(255, 224, 130, 0.11), transparent 72%);
}
.cw-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.cw-head-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.cw-head-copy { min-width: 0; }
.cw-avatar {
  width: 72px;
  height: 72px;
  border-width: 2px;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.07), 0 10px 25px rgba(0, 0, 0, 0.45);
}
span.cw-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 1.8rem;
}
.cw-kicker {
  margin: 0 0 0.38rem;
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cw-title {
  margin: 0;
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.1;
}
.cw-tagline {
  max-width: 660px;
  margin: 0.45rem 0 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}
.cw-era-wrap {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.17rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
}
.cw-era-wrap span {
  color: var(--color-text-muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cw-era-wrap strong {
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}
.cw-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}
.cw-stat {
  min-width: 0;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,0.025), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}
.cw-stat-hero {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.2));
}
.cw-stat-label {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cw-stat strong {
  display: block;
  overflow: hidden;
  margin-top: 0.27rem;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cw-stat small {
  display: block;
  overflow: hidden;
  margin-top: 0.25rem;
  color: var(--color-text-secondary);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cw-stories {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.85rem;
}
.cw-story {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(212, 175, 55, 0.055), rgba(255, 255, 255, 0.018));
}
.cw-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-dark));
}
.cw-story-label {
  display: block;
  margin-bottom: 0.33rem;
  color: var(--color-text-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.cw-story strong {
  display: block;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 0.94rem;
}
.cw-story strong a { color: var(--color-gold-light); text-decoration: none; }
.cw-story strong a:hover { color: var(--color-gold); }
.cw-story p { margin: 0.28rem 0 0; color: var(--color-text-secondary); font-size: 0.74rem; line-height: 1.4; }
.cw-story p a { color: var(--color-gold); text-decoration: none; }
.cw-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}
.cw-note { margin: 0.65rem 0 0; color: var(--color-text-muted); font-size: 0.67rem; }
.cw-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-gold-dark);
  border-radius: var(--radius-full);
  background: #1c150e;
  color: var(--color-gold-light);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .cw-head { align-items: stretch; flex-direction: column; }
  .cw-head-main { align-items: flex-start; }
  .cw-avatar { width: 60px; height: 60px; }
  .cw-era-wrap { align-items: flex-start; align-self: flex-start; }
  .cw-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-stories { grid-template-columns: 1fr; }
  .cw-actions .btn { flex: 1 1 100%; }
}

@media print {
  .topbar, .prof-head > :not(.prof-identity), .cw-actions, .cw-note, .footer-divider, footer,
  .cw-card ~ * { display: none !important; }
  .cw-card { break-inside: avoid; box-shadow: none; }
}
