/* Games calendar — 2 popular releases + more button */

/* Day cell: top 2 covers only */
.gc-day__body--duo {
  display: grid;
  gap: 3px;
  flex: 1 1 auto;
  min-height: 0;
  align-content: stretch;
}

.gc-day__body--duo-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gc-day__body--duo .gc-day-trio__card {
  min-height: 0;
}

.gc-day__body--duo .gc-day-trio__title {
  -webkit-line-clamp: 2;
  font-size: inherit;
}

.gc-day__body--duo .gc-cover--poster-month-trio {
  min-height: 78px;
}

/* +N more — full width, arrow right */
.gc-day__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  margin-top: auto;
  padding: 0.32rem 0.45rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(100, 210, 255, 0.18);
  background: rgba(100, 210, 255, 0.06);
  color: var(--color-accent);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gc-day__more:hover,
.gc-day__more:focus-visible {
  background: rgba(100, 210, 255, 0.14);
  border-color: rgba(100, 210, 255, 0.35);
}

.gc-day__more:active {
  transform: scale(0.98);
}

.gc-day__more-count {
  line-height: 1;
}

.gc-day__more-arrow {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Poster mode — 2 featured max */
.gc-day__featured--duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.gc-day__featured--solo .gc-poster-card--featured {
  width: 100%;
}

/* Mobile compact month — cover chips */
.gc-day__preview--covers {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 2px;
  padding: 0 2px 3px;
}

.gc-day-preview-cover {
  display: inline-flex;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.gc-day-preview-cover .gc-cover--poster-xs {
  width: 22px;
  height: 33px;
  border-radius: 3px;
}

.gc-day-preview-more {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.12rem 0.28rem;
  border: 1px solid rgba(100, 210, 255, 0.22);
  border-radius: 999px;
  background: rgba(100, 210, 255, 0.08);
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--color-accent);
  cursor: pointer;
  line-height: 1;
}

/* List view — poster cards */
.gc-list {
  gap: 0.65rem;
}

.gc-list-row {
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  overflow: hidden;
}

.gc-list-row:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 210, 255, 0.25);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(100, 210, 255, 0.12);
}

.gc-list-row__hit {
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
}

.gc-list-row__hit > .gc-cover--poster-row {
  width: 88px;
  min-width: 88px;
  height: 132px;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.gc-list-row__hit > .gc-cover--poster-row .gc-cover__img {
  border-radius: 0;
}

.gc-list-row__body {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.gc-list-row__date {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.gc-list-row .gc-poster-card__title--lg {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gc-list-row .gc-studio-meta {
  font-size: 0.8125rem;
  margin: 0;
}

.gc-list-row__actions {
  padding: 0.75rem 0.75rem 0.75rem 0;
}

/* Agenda items — larger covers */
.gc-agenda__item > .gc-cover--poster-row {
  width: 64px;
  min-width: 64px;
  height: 96px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gc-agenda__item {
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gc-agenda__item:hover {
  border-color: rgba(100, 210, 255, 0.2);
  background: rgba(100, 210, 255, 0.04);
  transform: translateX(2px);
}

/* Day view list */
.gc-day-list-item > .gc-cover--poster-row {
  width: 72px;
  min-width: 72px;
  height: 108px;
  border-radius: 0.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .gc-list-row {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .gc-list-row:hover {
  border-color: rgba(0, 122, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .gc-agenda__item {
  border-color: rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .gc-list-row__hit > .gc-cover--poster-row {
    width: 72px;
    min-width: 72px;
    height: 108px;
  }

  .gc-list-row__body {
    padding: 0.7rem 0.8rem;
  }

  .gc-list-row .gc-poster-card__title--lg {
    font-size: 0.9rem;
  }
}
