/* Shared glass material, kept separate from each page's layout. */
:is(#panel-s, #panel-o-office, #panel-v) .sov-card,
#panel-v .eco-group-entry {
  padding: 15px 17px;
  border: 1px solid rgba(86, 180, 209, .22);
  border-top-color: rgba(105, 197, 216, .38);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(9, 42, 61, .38), rgba(4, 24, 37, .52) 65%);
  box-shadow: inset 0 1px 0 rgba(156, 228, 240, .08), inset 0 0 24px rgba(74, 201, 237, .035), 0 8px 24px rgba(0, 8, 15, .14);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* S: a gently lit central course path with quieter supporting panes. */
#panel-s .sov-card.sov-student-path {
  border: 1px solid rgba(101, 205, 224, .32);
  border-top-color: rgba(131, 227, 237, .58);
  background: linear-gradient(145deg, rgba(17, 70, 88, .43), rgba(4, 24, 37, .54) 70%);
  box-shadow: inset 0 1px 0 rgba(170, 239, 246, .12), 0 8px 24px rgba(0, 8, 15, .14);
}

/* O: cooler, quieter glass leaves the particle scene as the focal point. */
#panel-o-office .office-side .sov-card {
  border-color: rgba(117, 194, 211, .19);
  border-top-color: rgba(149, 218, 229, .36);
  background: linear-gradient(145deg, rgba(12, 44, 59, .35), rgba(4, 22, 34, .48) 70%);
}

/* V: warm highlights echo the competition charts. */
#panel-v .sov-card,
#panel-v .eco-group-entry {
  border-top-color: rgba(218, 166, 134, .38);
  background: linear-gradient(145deg, rgba(21, 48, 62, .43), rgba(4, 24, 37, .52) 70%);
}
#panel-v .sov-card h3::before,
#panel-v .eco-group-entry h3::before { background: #e8aa83; }

@media (max-width: 700px) {
  :is(#panel-s, #panel-o-office, #panel-v) .sov-card,
  #panel-v .eco-group-entry { padding: 13px 14px; }
}
