/*! companion-p4-tab-glory-v1.css · Archive3 surface depth · educational only */
:root {
  --p4-gold: rgba(212, 180, 90, 0.55);
  --p4-gold-soft: rgba(212, 180, 90, 0.22);
  --p4-card: rgba(12, 18, 30, 0.94);
}
/* Glory rail */
.p4-glory-rail {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--p4-gold);
  background: linear-gradient(135deg, rgba(30, 125, 94, 0.18), rgba(12, 18, 30, 0.9));
  box-shadow: 0 0 0 1px rgba(212, 180, 90, 0.08), 0 8px 28px rgba(0, 0, 0, 0.25);
}
.p4-glory-rail h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #f0d78c;
}
.p4-glory-rail .lead {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  opacity: 0.88;
}
.p4-glory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.p4-glory-chips a {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 180, 90, 0.4);
  color: #f3efe6;
  text-decoration: none;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.28);
}
.p4-glory-chips a:hover {
  border-color: rgba(212, 180, 90, 0.75);
  background: rgba(212, 180, 90, 0.15);
}
/* Plaque depth */
#cs-mount .cs-plaque,
#cs-mount .card.card-tools,
#cs-mount .cs-plaque-deep,
.tab-panel .cs-plaque,
.tab-panel .card {
  border-radius: 14px;
  border-color: rgba(212, 180, 90, 0.28);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}
#cs-mount .cs-plaque-deep,
.cs-plaque[data-cs-primary="1"] {
  border-top-width: 3px;
  border-top-color: #d4b45a;
  background: linear-gradient(180deg, rgba(212, 180, 90, 0.07), transparent 42%);
}
/* Force readable spacing */
.p4-glory-rail + *,
.cs-plaque + .cs-plaque {
  margin-top: 0.85rem;
}
/* Visibility: undo accidental total collapse on primary plaques */
.cs-plaque[data-cs-primary="1"]:not([data-cs-path-only]),
.card[data-cs-primary="1"]:not([data-cs-path-only]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
