/* ==========================================================================
   CALENDOOR PANELS v8 — day sheet, game sheet, entity hero
   Apple liquid-glass overlays. Loaded last.
   ========================================================================== */

/* ── Overlay stack ─────────────────────────────────────────── */
#gc-overlay-root {
  z-index: 1400;
}

.gc-overlay-backdrop {
  z-index: 1410;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

/* ── Day sheet ─────────────────────────────────────────────── */
.gc-day-sheet--v8 {
  position: fixed;
  /* Above .gc-overlay-backdrop (v10 sets backdrop to 9998) */
  z-index: 10000 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(168deg, rgba(24, 26, 32, 0.94) 0%, rgba(10, 11, 16, 0.98) 100%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(48px) saturate(180%);
  -webkit-backdrop-filter: blur(48px) saturate(180%);
  animation: gc-panel-in 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 901px) {
  .gc-day-sheet--v8 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, calc(100vw - 2rem));
    max-height: min(88vh, 860px);
  }
}

@media (max-width: 900px) {
  .gc-day-sheet--v8 {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-height: min(92vh, 900px);
    border-radius: 20px 20px 0 0;
    animation: gc-panel-sheet-up 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes gc-panel-in {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes gc-panel-sheet-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  @keyframes gc-panel-in {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.gc-day-sheet--v8 .gc-day-sheet__head {
  flex-shrink: 0;
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}

.gc-day-sheet--v8 .gc-day-sheet__head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.gc-day-sheet--v8 .gc-day-sheet__grab {
  display: none;
  width: 36px;
  height: 4px;
  margin: 0 auto 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 900px) {
  .gc-day-sheet--v8 .gc-day-sheet__grab {
    display: block;
  }
}

.gc-day-sheet--v8 .gc-day-sheet__head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.gc-day-sheet--v8 .gc-day-sheet__weekday {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.gc-day-sheet--v8 .gc-day-sheet__date {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.gc-day-sheet--v8 .gc-day-sheet__count {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.gc-day-sheet--v8 .gc-day-sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.65rem 0.75rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.gc-day-sheet--v8 .gc-day-sheet__releases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gc-day-sheet--v8 .gc-day-sheet__release {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gc-day-sheet--v8 .gc-day-sheet__release:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.gc-day-sheet--v8 .gc-day-sheet__release-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.gc-day-sheet--v8 .gc-day-sheet__release-poster {
  flex: 0 0 44px;
  width: 44px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.gc-day-sheet--v8 .gc-day-sheet__release-poster .gc-cover,
.gc-day-sheet--v8 .gc-day-sheet__release-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gc-day-sheet--v8 .gc-day-sheet__release-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gc-day-sheet--v8 .gc-day-sheet__release-title {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gc-day-sheet--v8 .gc-day-sheet__release-studio {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-day-sheet--v8 .gc-day-sheet__release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: 0.1rem;
}

.gc-day-sheet--v8 .gc-day-sheet__release-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem 0.35rem 0;
  gap: 0.25rem;
}

.gc-day-sheet--v8 .gc-day-sheet__release-side .gc-follow {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.gc-day-sheet--v8 .gc-day-sheet__release-badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.1rem;
}

/* ── Game sheet v8 ─────────────────────────────────────────── */
.gc-game-sheet--v8 {
  z-index: 1430;
  border-radius: 22px;
  animation: gc-panel-in 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 900px);
  overflow: hidden;
}

.gc-game-sheet--v8 .gc-game-sheet__body {
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gc-game-sheet--v8 .gc-game-sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.gc-game-sheet--v8 .gc-game-sheet__top {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.85rem;
  padding: 1rem 1rem 0.65rem;
  align-items: start;
}

.gc-game-sheet--v8 .gc-game-sheet__wishlist-row {
  padding: 0 1rem 0.75rem;
}

.gc-game-sheet--v8 .gc-game-sheet__wishlist {
  margin: 0;
}

.gc-game-sheet--v8 .gc-game-sheet__store-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gc-game-sheet--v8 .gc-game-sheet__store-row {
  position: relative;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

.gc-game-sheet--v8 .gc-game-media {
  flex-shrink: 0;
  padding: 0.85rem 1rem 1rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

.gc-game-sheet--v8 .gc-game-media__card {
  cursor: pointer;
  pointer-events: auto;
}

.gc-game-sheet--v8 .gc-game-sheet__synopsis {
  padding-inline: 1rem;
}

@media (max-width: 900px) {
  .gc-game-sheet--v8 {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    animation: gc-panel-sheet-up 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.gc-game-sheet--v8 .gc-game-sheet__hero-band {
  position: relative;
  min-height: 140px;
  padding: 0.85rem 1rem 1rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gc-game-sheet--v8 .gc-game-sheet__hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: blur(0) saturate(1.1);
  transform: scale(1.08);
}

.gc-game-sheet--v8 .gc-game-sheet__hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(10, 11, 16, 0.92) 85%);
}

.gc-game-sheet--v8 .gc-game-sheet__hero-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gc-game-sheet--v8 .gc-game-sheet__close {
  position: relative;
  z-index: 2;
  margin-left: auto;
}

.gc-game-sheet--v8 .gc-game-sheet__mobile-bar {
  display: none;
}

@media (max-width: 900px) {
  .gc-game-sheet--v8 .gc-game-sheet__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gc-game-sheet--v8 .gc-game-sheet__close {
    display: inline-flex;
  }
}

.gc-game-sheet--v8 .gc-game-sheet__body {
  padding: 0;
}

@media (max-width: 560px) {
  .gc-game-sheet--v8 .gc-game-sheet__top {
    grid-template-columns: 80px 1fr;
    gap: 0.65rem;
    padding: 0.85rem 0.85rem 0.65rem;
  }
}

.gc-game-sheet--v8 .gc-game-sheet__poster {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.gc-game-sheet--v8 .gc-game-sheet__title {
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 0.35rem;
}

.gc-game-sheet--v8 .gc-game-sheet__platform-row {
  margin-top: 0.45rem;
}

.gc-game-sheet--v8 .gc-game-sheet__footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.gc-game-sheet--v8 .gc-game-sheet__entities {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.gc-game-sheet--v8 .gc-entity-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.gc-game-sheet--v8 .gc-entity-chip {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.75rem;
  transition: background 0.2s ease;
}

.gc-game-sheet--v8 .gc-entity-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}

.gc-game-sheet--v8 .gc-entity-fav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gc-game-sheet--v8 .gc-entity-fav--on {
  color: #ff6482;
  border-color: rgba(255, 100, 130, 0.35);
  background: rgba(255, 100, 130, 0.12);
}

.gc-game-sheet--v8 .gc-game-sheet__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gc-game-sheet--v8 .gc-game-sheet__actions .gc-follow {
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gc-game-sheet--v8 .gc-game-sheet__actions .gc-follow--on {
  color: #ff6482;
  border-color: rgba(255, 100, 130, 0.35);
  background: rgba(255, 100, 130, 0.1);
}

/* ── Entity hero (dev / publisher pages) ───────────────────── */
.gc-entity-page .gc-entity-hero {
  border-radius: 20px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gc-entity-page .gc-entity-hero__follow,
.gc-entity-page .gc-entity-hero__follow-circle {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gc-entity-page .gc-entity-hero__follow.is-on,
.gc-entity-page .gc-entity-hero__follow-circle.is-on {
  color: #ff6482;
  border-color: rgba(255, 100, 130, 0.35);
  background: rgba(255, 100, 130, 0.1);
}

.gc-entity-page .gc-entity-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gc-entity-page .gc-entity-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .gc-day-sheet--v8,
html[data-theme="light"] .gc-game-sheet--v8 {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 247, 251, 0.98) 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .gc-day-sheet--v8 .gc-day-sheet__release {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.06);
}

body.gc-overlay-detail-open.gc-overlay-day-open .gc-day-sheet--v8 {
  transform: translate(-50%, -50%) scale(0.97);
  filter: brightness(0.78);
}

@media (max-width: 900px) {
  body.gc-overlay-detail-open.gc-overlay-day-open .gc-day-sheet--v8 {
    transform: scale(0.98);
    filter: brightness(0.78);
  }
}

#gc-overlay-root.gc-overlay-root--detail .gc-game-sheet--v8 {
  z-index: 1440;
}

@media (prefers-reduced-motion: reduce) {
  .gc-day-sheet--v8,
  .gc-game-sheet--v8,
  .gc-overlay-backdrop {
    animation: none !important;
  }
}

/* ── Game sheet — media loading / empty ─────────────────────── */
.gc-game-media--loading .gc-game-media__skeleton {
  flex: 0 0 auto;
  width: min(220px, 42vw);
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius-md) + 2px);
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.05) 8%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.05) 33%
  );
  background-size: 200% 100%;
  animation: gc-media-shimmer 1.2s ease-in-out infinite;
}

@keyframes gc-media-shimmer {
  to {
    background-position-x: -200%;
  }
}

.gc-game-media--empty {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gc-game-media__empty-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.gc-game-media__shot-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Game sheet — mobile polish ─────────────────────────────── */
.gc-game-sheet--v8 .gc-game-sheet__grab {
  display: none;
}

@media (max-width: 900px) {
  .gc-game-sheet--v8 .gc-game-sheet__grab {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0.45rem auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
  }

  .gc-game-sheet--v8 .gc-game-sheet__mobile-bar {
    position: sticky;
    top: 0;
    z-index: 6;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: rgba(12, 14, 20, 0.72);
    padding-top: 0.35rem;
    padding-bottom: 0.55rem;
  }

  .gc-game-sheet--v8 .gc-game-sheet__mobile-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gc-game-sheet--v8 .gc-game-sheet__hero-band {
    min-height: 108px;
    padding-top: 0.65rem;
  }

  .gc-game-sheet--v8 .gc-game-sheet__hero-bar .gc-game-sheet__close {
    display: none;
  }

  .gc-game-sheet--v8 .gc-game-sheet__top .gc-game-sheet__title {
    display: none;
  }

  .gc-game-sheet--v8 .gc-game-sheet__scroll {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .gc-game-sheet--v8 .gc-game-sheet__footer {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .gc-game-sheet--v8 .gc-game-media {
    padding-inline: 0.85rem;
  }

  .gc-game-sheet--v8 .gc-game-media__track {
    scroll-padding-inline: 0.85rem;
    gap: 0.55rem;
  }

  .gc-game-sheet--v8 .gc-game-media__card {
    width: min(280px, 78vw);
  }

  .gc-game-sheet--v8 .gc-game-sheet__synopsis {
    padding-inline: 0.85rem;
  }

  .gc-game-sheet--v8 .gc-game-sheet__wishlist-row {
    padding-inline: 0.85rem;
  }

  .gc-media-lightbox {
    padding: 0;
  }

  .gc-media-lightbox__panel {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .gc-media-lightbox__body--gallery {
    padding-inline: 0.35rem;
  }

  .gc-media-lightbox__nav {
    width: 2.75rem;
    height: 2.75rem;
  }
}

html[data-theme="light"] .gc-game-sheet--v8 .gc-game-sheet__mobile-bar {
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .gc-game-sheet--v8 .gc-game-sheet__grab {
  background: rgba(0, 0, 0, 0.14);
}

/* ── Desktop day view — portrait posters, horizontal release rows ── */
.gc-month-day-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gc-app--desktop-day-open .gc-grid--month {
  box-shadow:
    0 0 0 1px rgba(100, 210, 255, 0.12),
    0 18px 48px -24px rgba(0, 0, 0, 0.55);
}

.gc-app--month-pro .gc-day--expanded {
  z-index: 2;
  box-shadow:
    inset 0 0 0 2px rgba(100, 210, 255, 0.72),
    0 0 0 1px rgba(100, 210, 255, 0.28),
    0 10px 28px -8px rgba(100, 210, 255, 0.35);
  border-radius: calc(var(--radius-sm) + 2px);
}

.gc-desktop-day--v2 {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(28, 30, 40, 0.94) 0%, rgba(12, 13, 18, 0.98) 100%);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: gc-desktop-day-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes gc-desktop-day-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gc-desktop-day--v2 .gc-desktop-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.gc-desktop-day--v2 .gc-desktop-day__head-main {
  min-width: 0;
}

.gc-desktop-day--v2 .gc-desktop-day__weekday {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(100, 210, 255, 0.92);
}

.gc-desktop-day--v2 .gc-desktop-day__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.gc-desktop-day--v2 .gc-desktop-day__count {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.gc-desktop-day--v2 .gc-desktop-day__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.gc-desktop-day--v2 .gc-desktop-day__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.gc-desktop-day--v2 .gc-desktop-day__back:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(100, 210, 255, 0.35);
  color: #fff;
}

.gc-desktop-day--v2 .gc-desktop-day__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 300px));
  justify-content: start;
  gap: 0.75rem 0.85rem;
  padding: 0.85rem 1.1rem 1.1rem;
}

.gc-desktop-day--v2 .gc-desktop-day-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px -18px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: gc-desktop-day-card-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--gc-day-card-i, 0) * 40ms);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@keyframes gc-desktop-day-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gc-desktop-day--v2 .gc-desktop-day-card:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 210, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px -14px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(100, 210, 255, 0.08);
}

.gc-desktop-day--v2 .gc-desktop-day-card__hit {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding: 0.5rem;
  gap: 0.6rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.gc-desktop-day--v2 .gc-desktop-day-card__poster {
  position: relative;
  width: 4.35rem;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

.gc-desktop-day--v2 .gc-desktop-day-card__poster > .gc-cover,
.gc-desktop-day--v2 .gc-desktop-day-card__poster .gc-cover--poster-panel {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: inherit !important;
}

.gc-desktop-day--v2 .gc-desktop-day-card__poster .gc-cover__img,
.gc-desktop-day--v2 .gc-desktop-day-card__poster .gc-cover__fallback {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

.gc-desktop-day--v2 .gc-desktop-day-card__status {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  right: 0.3rem;
  z-index: 2;
  padding: 0.18rem 0.32rem;
  border-radius: 6px;
  background: rgba(8, 10, 16, 0.78);
  font-size: 0.4375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(100, 210, 255, 0.95);
  text-align: center;
  line-height: 1.2;
}

.gc-desktop-day--v2 .gc-desktop-day-card__media-badge {
  position: absolute;
  left: 0.28rem;
  bottom: 0.28rem;
  z-index: 2;
  transform: scale(0.82);
  transform-origin: left bottom;
}

.gc-desktop-day--v2 .gc-desktop-day-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.05rem 0.15rem 0.05rem 0;
  justify-content: center;
}

.gc-desktop-day--v2 .gc-desktop-day-card__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gc-desktop-day--v2 .gc-desktop-day-card__dev,
.gc-desktop-day--v2 .gc-desktop-day-card__pub {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.gc-desktop-day--v2 .gc-desktop-day-card__dev {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.gc-desktop-day--v2 .gc-desktop-day-card__pub {
  color: rgba(255, 255, 255, 0.46);
  font-weight: 500;
}

.gc-desktop-day--v2 .gc-desktop-day-card__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.15rem;
}

.gc-desktop-day--v2 .gc-desktop-day-card__platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gc-desktop-day--v2 .gc-desktop-day-card__platform .gc-platform-mark,
.gc-desktop-day--v2 .gc-desktop-day-card__platform .gc-platform-mark-wrap .gc-platform-mark--img {
  width: 0.95rem;
  height: 0.95rem;
}

.gc-desktop-day--v2 .gc-desktop-day-card__fav {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-desktop-day--v2 .gc-desktop-day-card__fav .gc-follow {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .gc-desktop-day--v2 {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 247, 251, 0.99) 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .gc-desktop-day--v2 .gc-desktop-day-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .gc-desktop-day--v2 .gc-desktop-day-card__dev {
  color: rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] .gc-desktop-day--v2 .gc-desktop-day-card__pub {
  color: rgba(0, 0, 0, 0.48);
}

html[data-theme="light"] .gc-desktop-day--v2 .gc-desktop-day-card__status,
html[data-theme="light"] .gc-desktop-day--v2 .gc-desktop-day-card__fav .gc-follow {
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .gc-desktop-day--v2 .gc-desktop-day__back {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.62);
}

.gc-body:has(.gc-desktop-day--v2) .gc-desktop-day__grid,
.gc-body:has(.gc-desktop-day) .gc-desktop-day__grid {
  max-height: none;
}

.gc-app:not(.gc-app--mobile-ui) .gc-desktop-day--v2 {
  margin-top: 0.35rem;
}

@media (min-width: 901px) {
  .gc-body:has(.gc-desktop-day--v2) {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .gc-desktop-day--v2 .gc-desktop-day__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
    gap: 0.8rem 0.9rem;
    padding: 0.9rem 1.2rem 1.25rem;
  }
}

@media (max-width: 900px) {
  .gc-desktop-day--v2,
  .gc-desktop-day,
  .gc-month-day-layout .gc-desktop-day {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-desktop-day--v2 {
    animation: none;
  }

  .gc-desktop-day--v2 .gc-desktop-day-card {
    animation: none;
    transition: none;
  }
}
