@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
#main-flex-wrap {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 60vh;
}
#filter-sidebar {
  background: #fafafd;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 22px 13px 13px 10px;
  margin: 0;
  min-width: 174px;
  width: 220px;
  max-width: 98vw;
  height: fit-content;
  min-height: 82vh;
  transition: width 0.07s, padding 0.07s;
  position: relative;
  z-index: 2;
}
#filter-sidebar:not(.open) {
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: none;
  box-shadow: none;
}
#filter-sidebar .close-btn {
  float: right;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.09em;
  margin-bottom: -1px;
  margin-top: -3px;
  padding: 3px 11px 4px 5px;
  border-radius: 7px;
  cursor: pointer;
  transition: color .13s, background .12s;
}
#filter-sidebar .close-btn:hover {
  background: #ffeaca;
  color: #fff;
}
#filter-sidebar .filter-label {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 8px;
  margin-top: 18px;
  letter-spacing: 0.017em;
}
#filter-sidebar .filter-section {
  margin-bottom: 18px;
  background: none;
  border: none;
  box-shadow: none;
}
#filter-sidebar .filter-section:not(:last-child) {
  border-bottom: 1px solid #f0f1f3;
  padding-bottom: 10px;
}
#filter-sidebar .filter-chip.selected {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
#filter-sidebar .filter-chip:hover:not(.selected) {
  background: #ffeecc;
  color: var(--primary-color);
}
body { background: #fafafd; }
.main-content {
  flex: 1 1 0;
  width: 100%;
  transition: margin .07s;
  margin-left: 0;
}
@media (max-width: 700px) {
  #filter-sidebar { width: 92vw; }
}
a.tag-cb.subject-tag {
  color: #487bb7;
  background: transparent;
  border-radius: 3px;
  text-decoration: none;
  transition: background .13s, color .13s;
  cursor: pointer;
  font-size: 13px;
}
a.tag-cb.subject-tag:hover,
a.tag-cb.subject-tag:focus {
  background: #d2e1fb;
  color: #174377;
  outline: none;
}
a.tag-cb.subject-tag:focus {
  outline: 1.5px dotted #3f63ad;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .guest-area-text-desktop { display: none !important; }
  .guest-area-text-mobile  { display: inline !important; }
}
@media (min-width: 601px) {
  .guest-area-text-desktop { display: inline !important; }
  .guest-area-text-mobile  { display: none !important; }
}
#guest-area-msg button:hover,
#guest-area-msg button:focus {
  background: #e9e9ee !important;
  color: #c32;
  outline: none;
}
.filter-showtype {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.filter-showtype .filter-chip {
  min-width: 0;
  width: auto;
  padding: 2.5px 9px;
  font-size: 13px;
  display: inline-flex;
  margin-bottom: 2px;
  margin-right: 0;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.current-show-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 11px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 10;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: sans-serif;
  color: #fff;
}
.current-show-chip.status-private { background-color: #d94242; }
.current-show-chip.status-group { background-color: #d17c1d; }
.current-show-chip.status-away { background-color: #2a88d5; }
.current-show-chip.status-hidden { background-color: #666; }
.current-show-chip.status-new { background-color: #4caf50; }
