:root {
  color-scheme: dark;
  --layout-max: 1800px;
  --layout-pad: 15px;
  --bg: #101113;
  --panel: #191b1f;
  --panel-strong: #202329;
  --text: #f6f2ea;
  --muted: #b8b4aa;
  --line: rgba(255, 255, 255, 0.11);
  --brand: #4ec761;
  --brand-rgb: 78, 199, 97;
  --teal: var(--brand);
  --coral: #ff7a66;
  --gold: #f5bf52;
  --status-release: #4ec761;
  --status-release-rgb: 78, 199, 97;
  --status-early: #f5bf52;
  --status-early-rgb: 245, 191, 82;
  --status-advanced: #ff6b8a;
  --status-advanced-rgb: 255, 107, 138;
  --status-beta: #5ec8e8;
  --status-beta-rgb: 94, 200, 232;
  --status-alpha: #ff9b5c;
  --status-alpha-rgb: 255, 155, 92;
  --status-demo: #8eb4ff;
  --status-demo-rgb: 142, 180, 255;
  --status-hype: #ff7a33;
  --status-hype-rgb: 255, 122, 51;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --z-content: 1;
  --z-calendar-day-hover: 4;
  --z-day-slider-ui: 10;
  --z-board-loader: 15;
  --z-controls: 50;
  --z-month-picker: 60;
  --z-modal: 200;
  --z-page-loader: 250;
  --z-lightbox: 300;
  --z-toast: 500;
  --overlay-scrim: rgba(0, 0, 0, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--bg);
  overscroll-behavior-y: none;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overscroll-behavior-y: none;
}

main {
  flex: 1 0 auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-sticky {
  position: sticky;
  top: 0;
  z-index: var(--z-controls);
  background: rgba(16, 17, 19, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 calc(-100vh - env(safe-area-inset-top, 0px)) 0 calc(100vh + env(safe-area-inset-top, 0px)) var(--bg);
}

.site-sticky::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: calc(100vh + env(safe-area-inset-top, 0px));
  background: var(--bg);
  pointer-events: none;
}

.app-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 22px;
  background: var(--bg);
}

/* На головній лінію дає .controls-band; на грі / політиці — під шапкою. */
header:not(:has(+ .controls-band)) {
  border-bottom: 1px solid var(--line);
}

.topbar,
.controls-shell,
.content-grid {
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
  padding-inline: var(--layout-pad);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: 24px;
  width: auto;
  flex: 0 0 auto;
}

.brand-title {
  margin: 0;
  min-width: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1.25;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.social-hub {
  position: relative;
  flex: 0 0 auto;
}

.giveaway-hub {
  position: relative;
  flex: 0 0 auto;
}

.giveaway-hub-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(74, 222, 128, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.24), rgba(74, 222, 128, 0.08));
  color: #4ade80;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.3);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.giveaway-hub-btn:hover,
.giveaway-hub-btn[aria-expanded="true"] {
  border-color: #4ade80;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.34), rgba(74, 222, 128, 0.14));
}

.giveaway-hub-btn-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  line-height: 0;
}

.giveaway-hub-btn-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}

.giveaway-hub-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: calc(var(--z-controls) + 5);
  min-width: min(320px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 17, 19, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.giveaway-hub-title {
  margin: 0;
  padding: 8px 10px 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.giveaway-hub-prizes {
  list-style: none;
  margin: 0;
  padding: 6px 10px 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.giveaway-hub-prizes li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.giveaway-hub-prizes li + li {
  margin-top: 8px;
}

.giveaway-hub-prize-place {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.giveaway-hub-actions {
  padding: 0 4px 4px;
}

.giveaway-hub-actions .link-chip {
  width: 100%;
  justify-content: center;
}

@keyframes giveaway-hub-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.28);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
  }
}

.social-hub-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(var(--brand-rgb), 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.24), rgba(var(--brand-rgb), 0.08));
  color: var(--brand);
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.3);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.social-hub-btn:hover,
.social-hub-btn[aria-expanded="true"] {
  border-color: var(--brand);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.34), rgba(var(--brand-rgb), 0.14));
}

.social-hub-btn-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  line-height: 0;
}

.social-hub-btn-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}

.social-hub-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: calc(var(--z-controls) + 5);
  min-width: min(320px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 17, 19, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.social-hub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-hub-link:hover {
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
}

.social-hub-link-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.social-hub-link-icon svg {
  width: 18px;
  height: 18px;
}

.social-hub-link-icon--telegram { color: #2aabee; }
.social-hub-link-icon--youtube { color: #ff4444; }
.social-hub-link-icon--twitch { color: #9146ff; }

@keyframes social-hub-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.28);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(var(--brand-rgb), 0);
  }
}

.ghost-button,
.link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.ghost-button:hover,
.link-chip:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.ghost-button:focus:not(:focus-visible),
.link-chip:focus:not(:focus-visible) {
  outline: none;
}

.ghost-button:focus-visible,
.link-chip:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.icon-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
}

.slider-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.slider-nav:hover,
.slider-nav:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.slider-nav:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
p {
  margin-top: 0;
}

p:last-child,
li:last-child {
  margin-bottom: 0;
}

.controls-band {
  position: relative;
  top: 0;
  z-index: var(--z-controls);
  padding-block: 15px;
  background: rgba(16, 17, 19, 0.96);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.controls-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.controls-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.controls-toolbar-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
}

.controls-filters {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(200px, 1fr) auto;
  gap: 14px;
  align-items: end;
  flex: 1 1 420px;
  min-width: 0;
}

.controls-search {
  display: grid;
  gap: 6px;
  flex: 1 1 240px;
  min-width: min(100%, 240px);
  max-width: 420px;
}

.filter-search-wrap {
  position: relative;
  display: block;
}

.filter-search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.month-nav {
  --month-nav-width: 292px;
  --month-nav-current-width: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 var(--month-nav-width);
  width: var(--month-nav-width);
  max-width: 100%;
  min-height: 44px;
}

.month-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.month-nav-arrow:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.month-nav-arrow:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.month-nav-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--month-nav-current-width);
  width: var(--month-nav-current-width);
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.month-nav-current span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.month-nav-current:hover,
.month-nav-current[aria-expanded="true"] {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.month-nav-current:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.month-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: var(--z-month-picker);
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.month-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.month-picker-year {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.month-picker-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.month-picker-arrow:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.month-picker-arrow:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.month-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.month-picker-cell {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.month-picker-cell:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.month-picker-cell.is-current-month:not(.active) {
  border-color: rgba(var(--brand-rgb), 0.35);
  color: var(--text);
}

.month-picker-cell.active {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
}

.month-picker-cell.active.is-current-month {
  box-shadow: 0 0 0 1px rgba(var(--brand-rgb), 0.2);
}

.month-picker-cell:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.filter-reset:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.filter-reset:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.filter-search {
  width: 100%;
  min-height: 44px;
  padding-left: 38px;
  transition: border-color 0.15s ease;
}

.filter-search:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
}

.filter-search:focus {
  outline: none;
}

.filter-search:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: rgba(var(--brand-rgb), 0.45);
}

.filter-search::-webkit-search-decoration,
.filter-search::-webkit-search-results-button,
.filter-search::-webkit-search-results-decoration {
  display: none;
}

.filter-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8b4aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  opacity: 0.8;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.filter-search::-webkit-search-cancel-button:hover {
  opacity: 1;
  background-color: rgba(var(--brand-rgb), 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ec761' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}

.filter-search::-moz-search-clear-button {
  -moz-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8b4aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  opacity: 0.8;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.filter-search::-moz-search-clear-button:hover {
  opacity: 1;
  background-color: rgba(var(--brand-rgb), 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ec761' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}

.filter-dropdown {
  position: relative;
  min-width: 0;
}

.filter-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.filter-dropdown-btn:hover,
.filter-dropdown-btn[aria-expanded="true"] {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
}

.filter-dropdown-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.filter-dropdown-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.filter-dropdown-btn:hover .filter-dropdown-label,
.filter-dropdown-btn[aria-expanded="true"] .filter-dropdown-label {
  color: var(--brand);
}

.filter-dropdown-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-dropdown-btn:hover .filter-dropdown-value,
.filter-dropdown-btn[aria-expanded="true"] .filter-dropdown-value {
  color: var(--brand);
}

.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: var(--z-month-picker);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.filter-dropdown-menu-range {
  padding: 16px 14px;
  gap: 12px;
}

.filter-dropdown-menu-range:not([hidden]) {
  display: grid;
}

.hype-filter-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.hype-filter-hint-icon {
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--muted);
  opacity: 0.9;
}

.hype-filter-hint a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 2px;
}

.hype-filter-hint a:hover {
  color: var(--brand);
}

.filter-check-list {
  display: grid;
  gap: 4px;
}

.filter-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.filter-check:hover {
  background: rgba(var(--brand-rgb), 0.08);
}

.filter-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.filter-check-box {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #0a140c;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.filter-check:hover .filter-check-box {
  border-color: rgba(var(--brand-rgb), 0.55);
}

.filter-check input:focus-visible + .filter-check-box {
  outline: 2px solid rgba(var(--brand-rgb), 0.55);
  outline-offset: 2px;
}

.filter-check input:checked + .filter-check-box,
.filter-check input:indeterminate + .filter-check-box {
  border-color: var(--brand);
  background: var(--brand);
}

.filter-check input:checked + .filter-check-box::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin: 1px auto 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-check input:indeterminate + .filter-check-box::after {
  content: "";
  display: block;
  width: 8px;
  height: 2px;
  margin: 6px auto 0;
  border-radius: 1px;
  background: currentColor;
}

.filter-check-label {
  flex: 1;
  min-width: 0;
}

.filter-dropdown-menu-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: unset;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.filter-dropdown-menu-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
}

.filter-dropdown-menu-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--panel-strong);
  box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.filter-dropdown-menu-range input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.22);
}

.filter-dropdown-menu-range input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  border: none;
}

.filter-dropdown-menu-range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--panel-strong);
  box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.filter-dropdown-menu-range input[type="range"]:hover::-moz-range-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.22);
}

.filter-dropdown-menu-range input[type="range"]:focus-visible {
  outline: none;
}

.filter-dropdown-menu-range input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.35);
}

.filter-dropdown-menu-range input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.35);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.release-board {
  position: relative;
  z-index: var(--z-content);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.content-grid {
  position: relative;
  z-index: var(--z-content);
  padding-block: 15px 30px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.platform-chip,
.type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.type-chip {
  width: fit-content;
  background: rgba(120, 168, 255, 0.24);
  color: #cfe0ff;
}

.modal-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  overflow: hidden;
  isolation: isolate;
}

.calendar-day:hover,
.calendar-day:focus-within {
  z-index: var(--z-calendar-day-hover);
}

.calendar-day.has-games {
  padding: 0;
  gap: 0;
  container-type: inline-size;
  container-name: calendar-day;
}

.calendar-day.is-pad {
  visibility: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}

.calendar-day.is-empty {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 6px,
      transparent 6px,
      transparent 12px
    ),
    var(--panel);
}

.calendar-day.is-past .day-slide-cover,
.calendar-day.is-past .day-slide-cover-fallback {
  filter: grayscale(0.4) brightness(0.68);
  transition: filter 0.25s ease, transform 0.28s ease;
}

.calendar-day.is-past .day-slide-title,
.calendar-day.is-past .day-slide-platforms,
.calendar-day.is-past .day-slide-badges,
.calendar-day.is-past .day-slide-status-bar,
.calendar-day.is-past .day-empty-label {
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.calendar-day.is-past .day-slide-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 28%, rgba(0, 0, 0, 0.92) 100%);
  transition: background 0.25s ease;
}

.calendar-day.is-past .day-number,
.calendar-day.is-past .day-today-label,
.calendar-day.is-past .day-release-count {
  transition: opacity 0.25s ease;
}

.calendar-day.is-past:hover .day-slide-cover,
.calendar-day.is-past:hover .day-slide-cover-fallback {
  filter: none;
}

.calendar-day.is-past:hover .day-slide-title,
.calendar-day.is-past:hover .day-slide-platforms,
.calendar-day.is-past:hover .day-slide-badges,
.calendar-day.is-past:hover .day-slide-status-bar,
.calendar-day.is-past:hover .day-empty-label,
.calendar-day.is-past:hover .day-number,
.calendar-day.is-past:hover .day-today-label,
.calendar-day.is-past:hover .day-release-count {
  opacity: 1;
}

.calendar-day.is-past:hover .day-slide-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.14) 24%, rgba(0, 0, 0, 0.1) 38%, rgba(0, 0, 0, .9) 100%);
}

.calendar-day.is-today {
  border-color: rgba(var(--brand-rgb), 0.7);
  box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.28), 0 10px 28px rgba(var(--brand-rgb), 0.12);
}

.calendar-day.is-today.is-empty {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(var(--brand-rgb), 0.06),
      rgba(var(--brand-rgb), 0.06) 6px,
      transparent 6px,
      transparent 12px
    ),
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.1), rgba(var(--brand-rgb), 0.02)),
    var(--panel-strong);
}

.day-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.85);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
}

.calendar-day.is-today .day-number {
  background: var(--brand);
  color: #0a140c;
}

.calendar-day.is-past .day-number {
  background: rgba(17, 17, 19, 0.94);
  color: #9a968c;
}

.day-today-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(17, 17, 19, 0.94);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-empty-label {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.day-slider {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.day-slider-ui {
  position: absolute;
  inset: 0;
  z-index: var(--z-day-slider-ui);
  pointer-events: none;
}

.day-slider-ui .day-corner-start {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  gap: 4px;
  justify-items: start;
  z-index: 1;
}

.day-slider-ui .day-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.day-slider-ui .day-release-count {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
}

.day-slider-ui .day-slider-nav,
.day-slider-ui .day-slider-dot {
  pointer-events: auto;
}

.day-slider-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.day-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.22s ease, inset 0.28s ease;
}

.day-slide:focus {
  outline: none;
}

.day-slide:focus-visible {
  z-index: 2;
  outline: 2px solid var(--teal);
  outline-offset: -4px;
}

.day-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.day-slide.is-active:focus-visible {
  z-index: 2;
}

.day-slide.is-peek {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.day-slide-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--panel);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.28s ease;
}

.day-slide-cover-fallback {
  display: block;
  background: linear-gradient(135deg, #2a4530, #191b1f);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.28s ease;
}

.calendar-day.has-games:hover .day-slide.is-active .day-slide-cover,
.calendar-day.has-games:hover .day-slide.is-active .day-slide-cover-fallback {
  transform: scale(1.06);
}

.day-slider.has-multiple .day-slide.is-active {
  inset: 0 20px 0 0;
}

.day-slider.has-multiple .day-slide.is-peek {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .day-slide,
  .day-slide-cover,
  .day-slide-cover-fallback {
    transition: none;
  }

  .calendar-day.has-games:hover .day-slide.is-active .day-slide-cover,
  .calendar-day.has-games:hover .day-slide.is-active .day-slide-cover-fallback {
    transform: none;
  }
}

.day-slide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.14) 24%, rgba(0, 0, 0, 0.1) 38%, rgba(0, 0, 0, .9) 100%);
}

.day-slide-info {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 20px;
  z-index: 2;
  width: auto;
  max-width: none;
  box-sizing: border-box;
  pointer-events: none;
  display: grid;
  gap: 3px;
}

.day-slide-title {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.day-slide-platforms {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.day-slide-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.day-slide-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 18px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 17, 19, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e4e0d6;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-shadow: none;
  margin: 0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.day-slide-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3px;
  pointer-events: none;
  background: var(--status-release);
  box-shadow: 0 0 14px rgba(var(--status-release-rgb), 0.45);
}

.day-slide.is-status-release .day-slide-status-bar {
  background: var(--status-release);
  box-shadow: 0 0 14px rgba(var(--status-release-rgb), 0.45);
}

.day-slide.is-status-early-access .day-slide-status-bar {
  background: var(--status-early);
  box-shadow: 0 0 14px rgba(var(--status-early-rgb), 0.5);
}

.day-slide.is-status-advanced-access .day-slide-status-bar {
  background: var(--status-advanced);
  box-shadow: 0 0 14px rgba(var(--status-advanced-rgb), 0.5);
}

.day-slide.is-status-beta .day-slide-status-bar {
  background: var(--status-beta);
  box-shadow: 0 0 14px rgba(var(--status-beta-rgb), 0.5);
}

.day-slide.is-status-alpha .day-slide-status-bar {
  background: var(--status-alpha);
  box-shadow: 0 0 14px rgba(var(--status-alpha-rgb), 0.5);
}

.day-slide.is-status-demo .day-slide-status-bar {
  background: var(--status-demo);
  box-shadow: 0 0 14px rgba(var(--status-demo-rgb), 0.5);
}

.day-slide-badges .day-slide-type.is-status-release {
  color: #fff;
  border-color: rgba(var(--status-release-rgb), 0.85);
  background: rgba(var(--status-release-rgb), 0.18);
}

.day-slide-badges .day-slide-type.is-status-early-access {
  color: #fff;
  border-color: rgba(var(--status-early-rgb), 0.95);
  background: rgba(var(--status-early-rgb), 0.2);
}

.day-slide-badges .day-slide-type.is-status-advanced-access {
  color: #fff;
  border-color: rgba(var(--status-advanced-rgb), 0.95);
  background: rgba(var(--status-advanced-rgb), 0.2);
}

.day-slide-badges .day-slide-type.is-status-beta {
  color: #fff;
  border-color: rgba(var(--status-beta-rgb), 0.9);
  background: rgba(var(--status-beta-rgb), 0.16);
}

.day-slide-badges .day-slide-type.is-status-alpha {
  color: #fff;
  border-color: rgba(var(--status-alpha-rgb), 0.9);
  background: rgba(var(--status-alpha-rgb), 0.16);
}

.day-slide-badges .day-slide-type.is-status-demo {
  color: #fff;
  border-color: rgba(var(--status-demo-rgb), 0.9);
  background: rgba(var(--status-demo-rgb), 0.16);
}

.day-slide-type.day-slide-hype {
  width: auto;
  min-width: 18px;
  height: 18px;
  padding: 2px 5px;
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.85);
  background: rgba(var(--brand-rgb), 0.18);
  box-shadow: 0 0 12px rgba(var(--brand-rgb), 0.28);
  margin-left: auto;
}

.day-slide-type.day-slide-hype .day-slide-hype-icon {
  display: block;
  color: var(--brand);
  stroke: var(--brand);
}

.day-release-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(17, 17, 19, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.day-release-count-icon {
  display: block;
  flex: 0 0 auto;
  color: var(--brand);
}

.calendar-day.is-past .day-number,
.calendar-day.is-past .day-today-label,
.calendar-day.is-past .day-release-count {
  opacity: 0.55;
  background: rgba(17, 17, 19, 0.94);
  color: #9a968c;
}

.calendar-day.is-today .day-number,
.calendar-day.is-today .day-today-label,
.calendar-day.is-today .day-release-count,
.calendar-day.is-future .day-number,
.calendar-day.is-future .day-release-count {
  opacity: 1;
}

.day-slider-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.day-slider-nav:hover,
.day-slider-nav:focus-visible {
  background: rgba(0, 0, 0, 0.78);
  color: var(--brand);
}

.day-slider-nav:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.day-slider-prev {
  left: 6px;
}

.day-slider-next {
  right: 6px;
}

.day-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

.day-slider-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.15s ease, background 0.15s ease;
}

.day-slider-dot.is-active {
  width: 14px;
  border-radius: 999px;
  background: var(--brand);
}

.board-content {
  position: relative;
}

.board-content.is-loading {
  min-height: min(70vh, 720px);
}

.board-loader {
  position: absolute;
  inset: 0;
  z-index: var(--z-board-loader);
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: var(--overlay-scrim);
  border-radius: 8px;
}

.board-loader[hidden] {
  display: none;
}

.board-loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand);
  border-radius: 50%;
}

@keyframes board-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .giveaway-hub-btn {
    animation: giveaway-hub-pulse 2.8s ease-in-out infinite;
  }

  .social-hub-btn {
    animation: social-hub-pulse 2.8s ease-in-out infinite;
  }

  .board-loader-spinner {
    animation: board-spin 0.75s linear infinite;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-page-loader);
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: var(--overlay-scrim);
}

.page-loader[hidden] {
  display: none;
}

body.page-loading {
  overflow: hidden;
}

.empty-state {
  margin: 28px 0 8px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.toast-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: var(--z-toast);
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 48px));
  pointer-events: none;
}

.toast-stack--modal {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 2;
  width: min(380px, calc(100vw - 48px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 27, 31, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-message {
  flex: 1 1 auto;
  min-width: 0;
}

.toast-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.toast-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.game-modal {
  z-index: var(--z-modal);
  width: min(800px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  padding: 0;
  overflow: hidden;
}

.game-modal:focus,
.lightbox-modal:focus {
  outline: none;
}

.game-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

body.modal-open,
body.filters-sheet-open {
  overflow: hidden;
}

.modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.modal-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.modal-toolbar-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-toolbar-title:empty,
.modal-toolbar-title[hidden] {
  display: none;
}

.modal-content {
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.modal-error {
  padding: 28px 18px;
  color: var(--coral);
}

.modal-layout {
  display: grid;
}

.modal-top {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px;
  align-items: start;
}

.modal-cover-stack {
  display: grid;
  gap: 8px;
  width: min(250px, 60vw);
  justify-items: stretch;
}

.modal-cover {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cover-a, #2a4530), var(--cover-b, #1a1f1c));
}

.ua-locale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(var(--brand-rgb), 0.14);
  border: 1px solid rgba(var(--brand-rgb), 0.65);
  color: #d7f5dd;
}

.ua-locale-flag {
  flex-shrink: 0;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.ua-locale-badge-text {
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-cover-price {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 16px);
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(12, 16, 20, 0.82);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.modal-cover-price:hover {
  color: #fff;
  background: rgba(12, 16, 20, 0.92);
}

.modal-cover-price .link-chip-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #66c0f4;
}

.modal-cover-price .link-chip-icon svg {
  width: 16px;
  height: 16px;
}

.modal-cover-price-text {
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.modal-game-title {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.modal-game-type {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-type-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(16, 17, 19, 0.94);
  border: 1px solid rgba(var(--brand-rgb), 0.55);
  color: #e4e0d6;
}

.modal-about {
  padding: 0 18px 18px;
  margin: 0;
}

.modal-links {
  padding: 0 18px 18px;
  margin: 0;
}

.modal-side .modal-links {
  padding: 0;
}

.modal-credit {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  margin: 0;
}

.release-block {
  margin: 0;
}

.release-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.release-list-compact li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}

.modal-body {
  padding: 0 18px 18px;
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .modal-top {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }

  .modal-cover-stack {
    width: 100%;
  }

  .modal-cover {
    width: 100%;
    margin: 0;
  }

  .modal-side {
    padding-right: 5.5rem;
  }

  .modal-side .meta-rows {
    grid-template-columns: 1fr;
  }
}

.igdb-credit {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.igdb-credit:hover {
  color: var(--brand);
}

.modal-block h3 {
  margin: 0;
  font-size: 1rem;
}

.modal-block p,
.release-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}


.release-list li {
  display: grid;
  gap: 2px;
}

.release-date {
  color: #fff;
  font-weight: 700;
}

.release-status {
  color: var(--muted);
  font-weight: 600;
}

.release-status.is-status-release {
  color: var(--status-release);
}

.release-status.is-status-early-access {
  color: var(--status-early);
}

.release-status.is-status-advanced-access {
  color: var(--status-advanced);
}

.release-status.is-status-beta {
  color: var(--status-beta);
}

.release-status.is-status-alpha {
  color: var(--status-alpha);
}

.release-status.is-status-demo {
  color: var(--status-demo);
}

.release-status::before {
  content: "· ";
}

.release-platforms {
  color: var(--muted);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.link-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.link-chip-icon svg {
  width: 18px;
  height: 18px;
}

.link-chip-label {
  line-height: 1.2;
}

.link-chip--steam {
  --link-brand: #66c0f4;
}

.link-chip--playstation {
  --link-brand: #0070d1;
}

.link-chip--xbox {
  --link-brand: #107c10;
}

.link-chip--nintendo {
  --link-brand: #e60012;
}

.link-chip--epic {
  --link-brand: #ffffff;
}

.link-chip--gog {
  --link-brand: #c29dff;
}

.link-chip--itch {
  --link-brand: #fa5c5c;
}

.link-chip--youtube {
  --link-brand: #ff4444;
}

.link-chip--discord {
  --link-brand: #5865f2;
}

.link-chip--twitch {
  --link-brand: #9146ff;
}

.link-chip--instagram {
  --link-brand: #e1306c;
}

.link-chip--twitter {
  --link-brand: #e7e9ea;
}

.link-chip--bluesky {
  --link-brand: #0085ff;
}

.link-chip--official {
  --link-brand: var(--brand);
}

.link-chip[class*="link-chip--"]:not(.link-chip--default) {
  color: var(--link-brand, var(--text));
  border-color: color-mix(in srgb, var(--link-brand, var(--line)) 42%, transparent);
  background: color-mix(in srgb, var(--link-brand, transparent) 10%, rgba(255, 255, 255, 0.06));
}

.link-chip[class*="link-chip--"]:not(.link-chip--default):hover {
  color: var(--link-brand, var(--brand));
  border-color: color-mix(in srgb, var(--link-brand, var(--brand)) 70%, transparent);
  background: color-mix(in srgb, var(--link-brand, var(--brand)) 16%, rgba(255, 255, 255, 0.06));
}

.meta-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.meta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
}

.meta-row dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.meta-row dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.scores-block {
  margin-top: 2px;
}

.scores-list {
  display: grid;
  gap: 10px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.score-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

a.score-label:hover,
a.score-label:focus-visible {
  color: var(--brand);
}

.score-logo {
  display: block;
  flex: 0 0 auto;
  color: currentColor;
}

.score-label-text {
  min-width: 0;
}

.score-value {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.score-value--metacritic {
  color: #66cc33;
}

.score-value--opencritic {
  color: #f15a29;
}

@media (max-width: 719px) {

  .meta-row {
    gap: 1px;
  }

  .meta-row dt {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: color-mix(in srgb, var(--muted) 82%, transparent);
  }

  .meta-row dd {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
  }
}

@media (min-width: 720px) {
  .meta-rows {
    grid-template-columns: 1fr;
  }

  .meta-row {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 8px 14px;
    align-items: baseline;
  }
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.media-slider {
  position: relative;
}

.media-slider-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.media-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: pointer;
}

.media-thumb.media-slide {
  display: none;
}

.media-thumb.media-slide.is-active {
  display: block;
}

.media-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.media-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.media-thumb:hover .media-zoom,
.media-thumb:focus-visible .media-zoom {
  opacity: 1;
}

.media-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  transform: translateY(-50%);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  backdrop-filter: blur(4px);
}

.media-slider.has-desktop-pages .media-slider-nav {
  display: inline-flex;
}

.media-slider-nav:hover,
.media-slider-nav:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: rgba(10, 10, 10, 0.9);
  color: var(--brand);
}

.media-slider-prev {
  left: 10px;
}

.media-slider-next {
  right: 10px;
}

.media-slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.media-slider-dots[hidden] {
  display: none !important;
}

.media-slider.has-desktop-pages .media-slider-dots:not([hidden]) {
  display: flex;
}

.media-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.media-slider-dot.is-active {
  background: var(--brand);
}

@media (max-width: 900px) {
  .media-slider-track {
    display: block;
    position: relative;
    min-height: 0;
  }

  .media-slider-nav {
    display: none !important;
  }

  .video-slider-nav {
    display: none !important;
  }

  .media-slider.has-multiple .media-slider-dots:not([hidden]) {
    display: flex;
  }
}

.video-slider {
  position: relative;
}

.video-slider-track {
  position: relative;
  min-height: 0;
}

.video-slide {
  display: none;
  gap: 8px;
}

.video-slide.is-active {
  display: grid;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #000;
}

.video-frame iframe,
.video-thumb,
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb img {
  object-fit: cover;
}

.video-thumb {
  display: block;
  padding: 0;
  margin: 0;
  background: #111;
  cursor: pointer;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.video-frame.is-playing .video-thumb {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: 68px;
  height: 48px;
  border-radius: 14px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.2s ease, transform 0.2s ease;
}

.video-frame.is-playing .video-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.video-thumb:hover .video-play {
  background: var(--brand);
}

.video-thumb:hover .video-play::before {
  border-left-color: #0a140c;
}

.video-embed-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.video-slider-nav {
  position: absolute;
  top: calc((100% - 28px) / 2);
  z-index: 2;
  display: none;
  transform: translateY(-50%);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  backdrop-filter: blur(4px);
}

.video-slider.has-multiple .video-slider-nav {
  display: inline-flex;
}

.video-slider-nav:hover,
.video-slider-nav:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: rgba(10, 10, 10, 0.9);
  color: var(--brand);
}

.video-slider-prev {
  left: 10px;
}

.video-slider-next {
  right: 10px;
}

.video-slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.video-slider.has-multiple .video-slider-dots {
  display: flex;
}

.video-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.video-slider-dot.is-active {
  background: var(--brand);
}

.lightbox-modal {
  z-index: var(--z-lightbox);
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.96);
  color: var(--text);
  overflow: hidden;
}

.lightbox-modal::backdrop {
  background: var(--overlay-scrim);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  place-items: center;
  pointer-events: none;
}

.lightbox-frame.is-loading .lightbox-loader {
  display: grid;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 72px);
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.lightbox-frame.is-loading .lightbox-image {
  opacity: 0.25;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  margin: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  pointer-events: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav[hidden] {
  display: none !important;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

@media (max-width: 640px) {
  .lightbox-image {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 64px);
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-counter {
    bottom: 12px;
  }
}

.calendar-wrap {
  display: grid;
  padding: 10px 0 0;
  gap: 10px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-compact {
  display: none;
}

.day-agenda {
  display: none;
}

.filters-open-btn {
  display: none;
}

.filters-sheet-head {
  display: contents;
}

.filters-sheet-head .eyebrow {
  display: none;
}

.filters-sheet-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.filters-sheet-actions .filter-reset {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.filters-close-btn {
  display: none;
}

.filters-backdrop {
  display: none;
}

.calendar-day.is-selected {
  border-color: rgba(var(--brand-rgb), 0.7);
  box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.28);
}

@media (min-width: 901px) {
  .calendar-day.is-selected:not(.is-today) {
    border-color: var(--line);
    box-shadow: none;
  }

  .controls-toolbar-end {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .controls-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
  }

  .controls-toolbar {
    grid-column: 1;
    width: 100%;
    max-width: none;
    flex: none;
    margin: 0;
  }

  .controls-search {
    grid-column: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
  }

  .controls-filters {
    grid-column: 1 / -1;
    width: 100%;
    flex: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px 14px;
  }

  .month-nav {
    --month-nav-width: 100%;
    --month-nav-current-width: auto;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 8px;
  }

  .month-nav-current {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  html {
    overflow: hidden;
    height: 100%;
    height: 100dvh;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    height: 100dvh;
    -webkit-overflow-scrolling: touch;
  }

  .site-sticky {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .controls-band {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  :root {
    --layout-pad: 12px;
  }

  .app-hero {
    padding: 14px 0 12px;
  }

  .brand-logo {
    height: 18px;
  }

  .brand-title {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.78rem;
  }

  .controls-band {
    padding-block: 10px;
  }

  main {
    /* Grow for short pages (sticky footer); never shrink below content */
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }

  /* Flatten wrappers so board-content fills space down to the footer */
  .content-grid,
  .release-board {
    display: contents;
  }

  .board-content {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: min(var(--layout-max), 100%);
    margin-inline: auto;
    padding: 12px var(--layout-pad) 16px;
  }

  .board-content.is-loading .board-loader {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .controls-shell {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
  }

  .controls-toolbar {
    flex: 1 1 auto;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .controls-search {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
    order: 2;
  }

  .controls-filters {
    order: 3;
  }

  .month-nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    padding-top: 0;
    gap: 8px;
  }

  .month-nav-current {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .filters-open-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
  }

  .filters-open-btn[aria-expanded="true"],
  .filters-open-btn:hover,
  .filters-open-btn.is-filtered {
    border-color: rgba(var(--brand-rgb), 0.45);
    color: var(--brand);
  }

  .filters-open-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 2px var(--panel);
  }

  .filters-open-dot[hidden] {
    display: none !important;
  }

  .filters-backdrop {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) - 1);
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.58);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .filters-backdrop[hidden] {
    display: none !important;
  }

  .controls-filters {
    position: fixed;
    top: max(12px, env(safe-area-inset-top, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: auto;
    z-index: var(--z-modal);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: auto;
    max-height: none;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
    overflow: visible;
    transform: translateY(calc(-100% - 28px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  }

  .controls-filters.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .controls-filters .filter-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 8px;
    box-shadow: none;
  }

  .filters-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 4px;
  }

  .filters-sheet-head .eyebrow {
    display: block;
    margin: 0;
  }

  .filters-sheet-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .filters-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
  }

  .controls-filters .filter-dropdown {
    grid-column: 1 / -1;
  }

  .controls-filters .filter-reset,
  .filters-sheet-actions .filter-reset {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-self: unset;
  }

  .section-heading {
    display: none;
  }

  .calendar-wrap {
    display: none;
  }

  .day-agenda {
    display: grid;
    gap: 14px;
    align-content: start;
  }

  .agenda-day {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
  }

  .agenda-day.is-today {
    border-color: rgba(var(--brand-rgb), 0.7);
    box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.28), 0 10px 28px rgba(var(--brand-rgb), 0.1);
    background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.08), rgba(var(--brand-rgb), 0.02)), var(--panel-strong);
  }

  .agenda-day.is-past {
    opacity: 0.72;
  }

  .agenda-day.is-past .day-agenda-head h3 {
    color: var(--muted);
  }

  .agenda-day.is-today .day-agenda-head h3 {
    color: var(--brand);
  }

  .agenda-day.is-past:focus-within {
    opacity: 1;
  }

  @media (hover: hover) and (pointer: fine) {
    .agenda-day.is-past:hover {
      opacity: 1;
    }
  }

  .day-agenda-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .day-agenda-head h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .day-agenda-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 4px;
    background: rgba(17, 17, 19, 0.92);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .agenda-day.is-today .day-agenda-count {
    background: rgba(var(--brand-rgb), 0.16);
    color: var(--brand);
  }

  .day-agenda-empty {
    margin: 0;
    padding: 28px 18px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
    line-height: 1.45;
    min-height: 0;
  }

  .empty-state {
    margin: 0;
    padding: 28px 18px;
    border: 1px dashed var(--line);
    border-radius: 8px;
  }

  .day-agenda-empty-day {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .day-agenda-list {
    display: grid;
    gap: 10px;
  }

  .agenda-more {
    display: grid;
    gap: 10px;
  }

  .agenda-more[hidden] {
    display: none !important;
  }

  .agenda-more-btn {
    width: 100%;
    justify-content: center;
  }

  .agenda-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .agenda-status-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--status-release);
  }

  .agenda-card.is-status-release .agenda-status-bar {
    background: var(--status-release);
  }

  .agenda-card.is-status-early-access .agenda-status-bar {
    background: var(--status-early);
  }

  .agenda-card.is-status-advanced-access .agenda-status-bar {
    background: var(--status-advanced);
  }

  .agenda-card.is-status-beta .agenda-status-bar {
    background: var(--status-beta);
  }

  .agenda-card.is-status-alpha .agenda-status-bar {
    background: var(--status-alpha);
  }

  .agenda-card.is-status-demo .agenda-status-bar {
    background: var(--status-demo);
  }

  @media (hover: hover) and (pointer: fine) {
    .agenda-card:hover {
      border-color: rgba(var(--brand-rgb), 0.45);
      background: var(--panel);
    }
  }

  .agenda-card:focus-visible {
    border-color: rgba(var(--brand-rgb), 0.45);
    background: var(--panel);
    outline: 2px solid var(--teal);
    outline-offset: 2px;
  }

  .agenda-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--panel);
  }

  .agenda-cover-fallback {
    display: block;
    background: linear-gradient(135deg, #2a4530, #191b1f);
  }

  .agenda-body {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .agenda-card .day-slide-title,
  .agenda-card .day-slide-platforms {
    text-shadow: none;
  }

  .agenda-card .day-slide-title {
    font-size: 0.92rem;
  }

  .agenda-card .day-slide-badges {
    margin-top: 2px;
    margin-bottom: 0;
  }

  .game-modal {
    width: min(100vw - 16px, 920px);
    max-height: calc(100vh - 16px);
    border-radius: 12px;
  }

  .modal-content {
    max-height: calc(100vh - 88px);
  }
}

@media (max-width: 620px) {

  .brand {
    gap: 6px;
  }

  .brand-logo {
    height: 14px;
  }

  .topbar {
    align-items: center;
  }

  .filters-open-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .filters-open-btn {
    width: 44px;
    padding: 0;
  }

  .filters-open-dot {
    top: 7px;
    right: 7px;
  }

  .agenda-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .agenda-cover {
    width: 56px;
    height: 56px;
  }
}

.site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 20px var(--layout-pad) 28px;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.site-footer-links a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--brand);
}

.legal-page {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 12px var(--layout-pad) 48px;
}

.game-page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 12px var(--layout-pad) 48px;
}

.game-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.game-page-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.game-page-back {
  text-decoration: none;
}

.game-page-content {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}

.game-page-layout {
  display: grid;
  gap: 0;
}

.game-hero {
  position: relative;
  min-height: clamp(220px, 38vw, 360px);
  background: linear-gradient(135deg, var(--cover-a, #2a4530), var(--cover-b, #1a1f1c));
  overflow: hidden;
}

.game-hero-image,
.game-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-hero-fallback {
  background: linear-gradient(135deg, var(--cover-a, #2a4530), var(--cover-b, #1a1f1c));
}

.game-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.15) 0%, rgba(10, 11, 12, 0.2) 42%, rgba(10, 11, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 11, 12, 0.45) 0%, rgba(10, 11, 12, 0.1) 55%, rgba(10, 11, 12, 0.35) 100%);
  pointer-events: none;
}

.game-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 28px 22px 20px;
  align-content: end;
}

.game-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.game-hero-content .modal-game-type {
  margin: 0;
}

.game-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.game-hero-credit {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  margin: 0;
  pointer-events: auto;
}

.game-hero-credit .igdb-credit {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.game-hero-credit .igdb-credit:hover {
  color: #fff;
}

.game-hero-meta .modal-cover-price {
  position: static;
  width: auto;
  margin: 0;
}

.game-info-side .ua-locale-badge {
  margin: 0;
}

.game-info-row,
.game-media-row {
  display: grid;
  gap: 20px;
  padding: 20px 22px;
}

.game-info-row {
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.2fr);
  border-bottom: 1px solid var(--line);
}

.game-info-side,
.game-info-main {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.game-info-side .meta-block,
.game-info-side .scores-block,
.game-info-main .modal-links,
.game-info-main .game-price-block,
.game-info-main .release-block,
.game-info-main .modal-about {
  padding: 0;
  margin: 0;
}

.game-price-block {
  display: none;
}

.game-price-block .modal-cover-price {
  position: static;
  width: auto;
  max-width: 100%;
  margin: 0;
}

.game-media-row.has-both {
  grid-template-columns: 1fr 1fr;
}

.game-media-row.has-one {
  grid-template-columns: 1fr;
}

.game-media-panel {
  padding: 0;
  margin: 0;
  min-width: 0;
}

.game-media-panel h3 {
  margin: 0 0 10px;
}

.game-media-slider.has-desktop-pages .media-slider-nav,
.game-media-slider.has-multiple .media-slider-nav,
.game-media-slider.has-desktop-pages .media-slider-dots:not([hidden]),
.game-media-slider.has-multiple .media-slider-dots:not([hidden]) {
  display: flex;
}

.game-media-slider .media-slider-track {
  display: block;
  position: relative;
  grid-template-columns: none;
  gap: 0;
  min-height: 0;
}

.game-media-slider .media-thumb.media-slide {
  display: none;
  width: 100%;
}

.game-media-slider .media-thumb.media-slide.is-active {
  display: block;
}

.game-media-slider .media-thumb img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.game-video-slider .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.game-video-slider .video-embed-title {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(10, 11, 12, 0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.game-video-slider .video-frame.is-playing .video-embed-title {
  display: none;
}

@media (max-width: 900px) {
  .game-media-slider.has-multiple .media-slider-nav,
  .game-video-slider.has-multiple .video-slider-nav {
    display: inline-flex !important;
  }
}

.game-page-missing {
  margin: 0;
}

@media (max-width: 900px) {
  .game-page-content {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .game-page-layout {
    display: grid;
  }

  .game-info-row,
  .game-info-side,
  .game-info-main {
    display: contents;
  }

  .game-hero {
    order: 1;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    min-height: clamp(280px, 62vw, 420px);
    border-radius: 0;
  }

  .game-hero-content {
    padding: 28px var(--layout-pad) 20px;
  }

  .game-hero-credit {
    top: 12px;
    right: var(--layout-pad);
  }

  .game-page-layout > .game-info-row .modal-links,
  .game-page-layout .modal-links,
  .game-page-layout .meta-block,
  .game-page-layout .release-block,
  .game-page-layout .modal-about,
  .game-media-row {
    padding: 16px 0 0;
  }

  .game-page-layout .modal-links {
    order: 2;
  }

  .game-page-layout .ua-locale-badge {
    order: 4;
    margin: 16px 0 0;
    width: auto;
  }

  .game-page-layout .meta-block {
    order: 4;
  }

  .game-page-layout .release-block {
    order: 5;
  }

  .game-page-layout .modal-about {
    order: 6;
  }

  .game-media-row {
    order: 7;
  }

  .game-media-row.has-both {
    grid-template-columns: 1fr;
  }
}

.modal-detail-cta {
  padding: 8px 18px 22px;
  margin: 10px 0 0;
}

.modal-detail-link {
  width: 100%;
  background: rgba(var(--brand-rgb), 0.16);
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--brand);
}

.modal-detail-link:hover {
  background: rgba(var(--brand-rgb), 0.24);
}

.modal-about--collapsible {
  display: grid;
  gap: 8px;
}

.modal-about-body {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.modal-about-text {
  margin: 0;
  white-space: pre-wrap;
}

.modal-about-text.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: var(--about-clamp, 3);
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

.modal-about-toggle {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.modal-about-toggle:hover {
  color: var(--text);
  text-decoration: underline;
}

.modal-about-toggle:focus:not(:focus-visible) {
  outline: none;
}

.modal-about-toggle:focus-visible {
  outline: 2px solid rgba(var(--brand-rgb), 0.55);
  outline-offset: 2px;
}

.legal-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.legal-card h1 {
  margin: 0;
  font-size: 1.6rem;
}

.legal-card h2 {
  margin: 12px 0 0;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-card ul {
  margin: 0;
  padding-left: 18px;
}

.legal-card a {
  color: var(--brand);
}

.legal-card code {
  font-size: 0.85em;
  color: var(--text);
}
