/* event */

.feed-page.go-left {
  transform: translateX(-20%);
}

.event-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 99991;
  transform: translateX(100%);
  transition: all 0.3s;
}

.event-layer.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 99991;
  transform: translateX(0%);
  box-shadow: 0 0 7px 7px #0d0d0d80;
}

.event-header {
  position: absolute;
  display: flex;
  height: 60px;
  width: 100%;
  background: var(--bg-primary);
  z-index: 99992;
}

.header-block {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-block button {
  height: 100%;
  aspect-ratio: 1/1;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-block svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.header-title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.event-bottom {
  display: flex;
  position: fixed;
  background: var(--bg-primary);
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 12px 30px;
}

.event-actions-area {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.event-act-btn {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--btn-primary);
  border: none;
  color: var(--text-pure);
  font-size: 0.9rem;
  font-weight: bold;
}

.event-act-btn.maybe {
  color: var(--text-pure);
  background: #222;
}

.event-act-btn.no {
  background: transparent;
}

.event-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.event-body {
  padding: 60px 0 0;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.event-content {
  padding-bottom: 200px;
  width: 100%;
  gap: 22px;
  display: flex;
  flex-direction: column;
}

.event-infos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px;
}
.event-info-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
  border-radius: var(--radius-md);
}

.event-info-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.event-info-text {
  color: var(--text-tertiary);
  min-height: 18px;
}

.event-users-row-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-users-row-list.hidden {
  display: none;
}


.event-list-title {
  width: 100%;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 1rem;
}

.user-event-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  text-decoration: none;
  color: #fff;
}

.user-pfp-area {
  height: 100%;
  aspect-ratio: 1/1;
  padding: 8px;
}

.user-pfp-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.user-event-infos {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-event-name {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
}

.event-list-row {
  padding-bottom: 30px;
}

.event-banner-overlay {
  height: 160px;
  /* padding: 8px; */
}

.event-banner-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 10px; */
}

.icon-area {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
}

.icon-area svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: #fff;
}

.icon-area img {
  height: 22px;
  width: 22px;
}

.event-info-header {
  display: flex;
  gap: 10px;
}

.user-event-social {
  display: flex;
  height: 100%;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
}

.user-event-arrow {
  width: 20px;
  height: 20px;
}

.user-event-arrow svg {
  fill: #999;
  height: 20px;
  width: 20px;
  transform: rotate(180deg);
}

.is-friend-badge {
  background: #272727;
  display: flex;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  color: #ddd;
}

.empty-event-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  opacity: 0;
  height: 0;
  display: none;
}

.empty-event-list.active {
  padding: 30px;
  min-height: 160px;
  height: 100%;
  opacity: 1;
  display: flex;
}

.empty-event-title {
  font-size: 18px;
  font-weight: bold;
}

.empty-event-sub {
  color: #999;
}