/* Loading belongs to the pending shelf; ready artwork and actions stay usable. */
.film-catalogue .library-section-status,
.film-detail-view .library-section-status,
#channel-recording-modal .library-section-status,
.kids-catalogue .library-section-status {
  display: block;
  display: -webkit-flex;
  display: flex;
  text-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  min-height: 100px;
  padding: 24px 16px;
  color: #c7c0d3;
  font-size: 18px;
  line-height: 1.5;
}
.library-section-status.library-page-loading { min-height: 240px; }
.library-loading-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  -webkit-flex: 0 0 22px;
  margin-right: 12px;
  box-sizing: border-box;
  border: 2px solid rgba(96, 218, 202, .2);
  border-top-color: #60daca;
  border-radius: 50%;
  -webkit-animation: library-loading-turn .8s linear infinite;
  animation: library-loading-turn .8s linear infinite;
}
.library-section-status > span + span { margin-left: 0; }
.library-section-error { flex-wrap: wrap; }
.library-section-error button {
  margin-left: 12px;
  border: 1px solid #60daca;
  border-radius: 5px;
  padding: 8px 14px;
  background: transparent;
  color: #60daca;
  cursor: pointer;
}
.library-section-error button:focus { outline: 2px solid #60daca; outline-offset: 3px; }
.guide-opening-spinner { width: 16px; height: 16px; vertical-align: middle; margin-right: 6px; }
@-webkit-keyframes library-loading-turn { to { -webkit-transform: rotate(360deg); } }
@keyframes library-loading-turn { to { transform: rotate(360deg); } }
@media (max-width: 599px) {
  .film-catalogue .library-section-status,
  .film-detail-view .library-section-status,
  #channel-recording-modal .library-section-status,
  .kids-catalogue .library-section-status { min-height: 90px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .library-loading-spinner { -webkit-animation: none; animation: none; }
}
