html {
  scroll-behavior: smooth;

  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  background: #fffcfe;
  color: #8a7070;
}


/* ♡ highlight selection ♡ */

::selection {
  color: #b6969e;
  background: #fcf3f7;
}

/* games page */

.games-page {
  position: relative;

  width: 1060px;
  margin: 78px auto 60px;

  font-family: Verdana, sans-serif;
  font-size: 10px;
  line-height: 1.6;
}


/* main tabs */

.games-tabs {
  display: flex;
  justify-content: center;
  gap: 60px;

  margin-bottom: 16px;

  position: relative;
  z-index: 10;
}

.games-tab {
  padding: 0;

  background: none;
  border: none;
  border-bottom: 1px dotted #d9d9d9;

  color: #d9d9d9;

  font-family: "basiic";
  font-size: 12px;
  font-weight: normal;

  cursor: pointer;

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;

  line-height: 1.2;
}

.games-tab:hover {
  color: #bfbfbf;
  border-bottom-color: #bfbfbf;
}

.games-tab.active {
  color: #a48787;
  border-bottom-color: #a48787;
}


/* frame area */

.games-frame-wrap {
  position: relative;
  padding: 32px 38px 38px;
}



/* bow garland */

.topbowdiv {
  position: absolute;
  z-index: 6;

  top: -2px;
  left: 50%;

  width: 920px;
  height: auto;

  display: block;

  transform: translateX(-50%);

  pointer-events: none;
}



/* permanent lace frame */

.games-frame {
  position: relative;
  z-index: 3;

  width: 100%;
  height: 665px;

  border: 14px solid transparent;
  border-image: url("/img/laceborder.png") 8 fill round;

  box-sizing: border-box;
}

.games-inner {
  position: relative;

  height: 100%;
  padding: 28px;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0.55)
    ),
    url("/img/pinkgingham.jpg");

  background-repeat: repeat;
  background-position: top left;
  background-size: 320px auto;

  box-sizing: border-box;
  overflow: hidden;
}

.games-inner::before {
  content: "";

  position: absolute;
  inset: 9px;

  border: 1px dashed #f0d3df;
  border-radius: 16px;

  pointer-events: none;
}





/* tab panels */

.games-panel {
  position: relative;
  z-index: 2;

  display: none;
  height: 100%;

  overflow-x: hidden;
  overflow-y: auto;

  box-sizing: border-box;

  opacity: 0;
  transform: translateY(5px);
}


.games-panel[data-panel="games"] {
  padding-bottom: 70px;
}


.games-panel.active {
  display: block;

  animation: gamesPanelFade 0.45s ease forwards;
}

@keyframes gamesPanelFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* library */

.library-toolbar,
.screenshot-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;

  margin-bottom: 20px;
}

.library-filter,
.screenshot-filter {
  padding: 6px 13px;

  color: #ad8d96;
  background: #fff;
  border: 1px solid #efd0dc;
  border-radius: 14px;

  font-family: "lovely", "MS Gothic", sans-serif;
  font-size: 9px;

  cursor: pointer;
}

.library-filter:hover,
.library-filter.active,
.screenshot-filter:hover,
.screenshot-filter.active {
  color: #c77594;
  background: #fff3f8;
}

.game-library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.game-library-card {
  padding: 9px;

  background: #fff;
  border: 1px solid #f0d2de;
  border-radius: 14px;
}

.library-cover {
  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 3 / 4;

  color: #c6a9b3;
  background: #fff7fa;
  border: 1px dashed #eecedb;
  border-radius: 9px;

  font-size: 9px;
}

.library-card-text {
  padding: 10px 4px 4px;
  text-align: center;
}

.library-card-text h2 {
  color: #9f7f87;
  font-size: 11px;
  font-weight: normal;
}

.library-card-text p {
  margin: 4px 0;

  color: #bba0a9;
  font-size: 9px;
}

.library-card-text span {
  color: #dda1b6;
  font-size: 9px;
}


/* favourites */

.favourite-feature {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 22px;

  margin-bottom: 18px;
  padding: 17px;

  background: #fff;
  border: 1px solid #efd0dc;
  border-radius: 17px;
}

.favourite-feature-image {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 240px;

  color: #c2a5af;
  background: #fff7fa;
  border: 1px dashed #eccbd8;
  border-radius: 12px;

  font-size: 9px;
}

.favourite-feature-text {
  align-self: center;
}

.favourite-game-label {
  display: inline-block;

  margin-bottom: 8px;
  padding: 4px 9px;

  color: #bc8398;
  background: #fff3f7;
  border-radius: 10px;

  font-size: 9px;
}

.favourite-feature-text h2 {
  margin-bottom: 11px;

  color: #a9858e;

  font-family: "rainy hearts";
  font-size: 28px;
  font-weight: normal;
}

.favourite-feature-text p {
  line-height: 1.7;
}

.favourite-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  margin-top: 17px;
}

.favourite-details span {
  padding: 5px 9px;

  color: #b18f99;
  background: #fff7fa;
  border: 1px solid #f0d7e0;
  border-radius: 11px;

  font-size: 9px;
}

.favourite-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.favourite-card {
  padding: 9px 9px 12px;

  background: #fff;
  border: 1px solid #efd2dd;
  border-radius: 14px;

  text-align: center;
}

.favourite-card-image {
  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 1 / 1;

  color: #c2a5af;
  background: #fff7fa;
  border: 1px dashed #eccbd8;
  border-radius: 10px;

  font-size: 9px;
}

.favourite-card h2 {
  margin: 9px 0 3px;

  color: #9f7f87;
  font-size: 11px;
  font-weight: normal;
}

.favourite-card p {
  color: #baa0a8;
  font-size: 9px;
}








.games-page p,
.games-page span,
.games-page div {
    font-family: Verdana, sans-serif;
}

/* google sheets game library */

.games-loading,
#game-library-grid > p {
  grid-column: 1 / -1;
  padding: 35px 10px;

  color: #b79aa3;
  font-size: 10px;
  text-align: center;
}

.game-library-card {
  position: relative;
  overflow: visible;

  padding: 9px;

  background: #fff;
  border: 1px solid #f0d2de;
  border-radius: 14px;

  box-sizing: border-box;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.game-library-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(210, 160, 180, 0.14);
}

.library-cover {
  position: relative;
  overflow: hidden;

  display: block;
  aspect-ratio: 3 / 4;

  background: #fff7fa;
  border: 1px dashed #eecedb;
  border-radius: 9px;
}

.library-cover img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: center;

  border-radius: 8px;
}

.library-card-text {
  min-height: 56px;
  padding: 10px 4px 4px;

  box-sizing: border-box;
  text-align: center;
}

.library-card-text h2 {
  color: #9f7f87;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.4;
}

.library-card-text p {
  margin: 4px 0 0;

  color: #bba0a9;
  font-size: 9px;
  line-height: 1.4;
}

.library-heart-rating {
  min-height: 19px;

  color: #dda1b6;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1.2;
}

.library-heart-rating span {
  font-family: Verdana, sans-serif;
}

.game-review-button {
  z-index: 6;

  width: 31px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  filter: drop-shadow(0 1px 2px rgba(157, 108, 126, 0.18));

  cursor: url("/img/key2.png"), pointer !important;

  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.game-review-button:hover {
  transform: translateY(-2px) rotate(-4deg);
  filter: drop-shadow(0 2px 3px rgba(157, 108, 126, 0.24));
}

.game-review-button img {
  width: auto;
  max-width: 31px;
  max-height: 25px;

  image-rendering: auto;
  pointer-events: none;
}


/* game review popup */

.game-review-popup {
  position: fixed;
  inset: 0;
  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(255, 247, 251, 0.72);
  backdrop-filter: blur(3px);

  box-sizing: border-box;

  opacity: 1;

  transition:
    opacity 0.24s ease;
}

.game-review-popup[hidden] {
  display: none;
}

.game-review-popup.is-closing {
  opacity: 0;
}


/* lace review window */

.game-review-window {
  position: relative;

  width: min(440px, calc(100vw - 50px));
  max-height: calc(100vh - 70px);
  overflow-y: auto;

  padding: 32px 34px 30px;

  color: #8a7070;

  background: #ffffff;
  background-clip: padding-box;

  border: 11px solid transparent;
  border-image: url("/img/laceborder.png") 8 round;

  box-sizing: border-box;

  font-family: Verdana, sans-serif;
  font-size: 10px;
  line-height: 1.8;

  opacity: 1;
  transform: translateY(0) scale(1);

  animation: reviewPopupOpen 0.28s ease both;

  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}



/* closing movement */

.game-review-popup.is-closing .game-review-window {
  opacity: 0;
  transform: translateY(7px) scale(0.98);
}


/* review title */

.game-review-window h2 {
  margin: 2px 28px 24px;

  color: #a48787;

  font-family: "rainy hearts";
  font-size: 17px;
  font-weight: normal;
  line-height: 1.1;
  text-align: center;

  text-shadow:
    1px 1px #fff,
    -1px 1px #fff,
    1px -1px #fff,
    -1px -1px #fff;
}

/* review text */

#game-review-text {
  position: relative;
  z-index: 2;

  margin: 0;
  padding: 0;

  color: #9f7f87;

  white-space: pre-wrap;
  line-height: 1.8;
}



/* opening animation */

@keyframes reviewPopupOpen {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* cursors */

.games-tab,
.library-filter,
.screenshot-filter {
  cursor: url("/img/key2.png"), pointer;
}


/* library spacing without repeated heading */

.games-panel[data-panel="games"] .library-toolbar,
.games-panel[data-panel="screenshots"] .screenshot-toolbar {
  margin-top: 3px;
}


@media (max-width: 760px) {
  .game-review-window {
    padding: 32px 26px 28px;
  }

  .game-review-window h2 {
    font-size: 23px;
  }
}


/* filter buttons */

.library-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;

  margin: 3px 0 26px;
}

.library-filter {
  position: relative;

  padding: 1px 0 10px;

  color: #c8b4ba;
  background: transparent;
  border: none;
  border-radius: 0;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  font-weight: normal;
  line-height: 1.2;

  cursor: url("/img/key2.png"), pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.library-filter:hover {
  color: #ad8995;
  background: transparent;
  transform: translateY(-1px);
}

.library-filter.active {
  color: #bd8298;
  background: transparent;
}

.library-filter.active::after {
  content: "♡";

  position: absolute;
  left: 50%;
  bottom: -1px;

  color: #e4b4c5;

  font-family: Verdana, sans-serif;
  font-size: 8px;
  line-height: 1;

  transform: translateX(-50%);
}


/* filter transitions */

.game-library-grid {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.game-library-grid.is-changing {
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
}

.game-library-card.card-fade-in {
  animation: gameCardFadeIn 0.45s ease both;
}

@keyframes gameCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-library-grid,
  .game-library-card.card-fade-in {
    animation: none;
    transition: none;
  }
}

/* game cards */

.game-library-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.game-library-card {
  position: relative;
  overflow: visible;

  padding: 6px 6px 7px;

  background: #fffafd;

  border: 9px solid transparent;
  border-image: url("/img/laceborder.png") 8 fill round;
  border-radius: 0;

  box-sizing: border-box;

  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

.game-library-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}


/* game covers */

.library-cover {
  position: relative;
  overflow: hidden;

  display: block;
  aspect-ratio: 3 / 4;

  background: #fff7fa;
  border: 1px solid #f0d3df;
  border-radius: 0;

  box-sizing: border-box;
}

.library-cover img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: center;

  border-radius: 0;

  filter: saturate(0.72);

  transition: filter 0.4s ease;
}

.game-library-card:hover .library-cover img {
  filter: saturate(1);
}


/* game card text */

.library-card-text {
  position: relative;

  min-height: 49px;
  padding: 8px 30px 2px;

  box-sizing: border-box;
  text-align: center;
}

.library-card-text h2 {
  margin: 0;

  color: #9f7f87;

  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.35;

  text-align: center;
}

.library-card-text p {
  margin: 3px 0 0;

  color: #bba0a9;
  font-size: 9px;
  line-height: 1.35;

  text-align: center;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.game-library-card:hover .library-card-text p {
  opacity: 0;
  transform: translateY(-2px);
}


/* heart ratings */

.library-heart-rating {
  position: absolute;
  left: 50%;
  bottom: 2px;

  min-height: 0;
  margin: 0;

  color: #dda1b6;

  font-family: Verdana, sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  line-height: 1.2;

  white-space: nowrap;
  text-align: center;

  opacity: 0;
  transform: translate(-50%, 3px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.library-heart-rating span {
  font-family: Verdana, sans-serif;
}

.game-library-card:hover .library-heart-rating {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* review button */

.game-review-button {
  position: absolute !important;

  top: auto !important;
  right: 7px !important;
  bottom: 7px !important;
  left: auto !important;

  z-index: 8;

  width: 31px;
  height: 25px;
  padding: 0 !important;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;

  filter: drop-shadow(0 1px 2px rgba(157, 108, 126, 0.18));

  cursor: url("/img/key2.png"), pointer !important;

  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.game-review-button:hover {
  transform: translateY(-2px) rotate(-4deg);
  filter: drop-shadow(0 2px 3px rgba(157, 108, 126, 0.24));
}

.game-review-button img {
  width: auto;
  max-width: 31px;
  max-height: 25px;

  display: block;

  image-rendering: auto;
  pointer-events: none;
}



/* favourite characters */

.favourites-character-section {
  width: 680px;
  margin: 4px auto 40px;
}

.favourites-game-heading {
  margin: 0 0 14px 24px;

  color: #a48787;

  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.4;
}


/* character profile */

.favourite-character-profile {
  position: relative;

  width: 100%;
  min-height: 230px;

  display: grid;
  grid-template-columns: 185px 1fr 190px;
  gap: 22px;
  align-items: center;

  padding: 17px 24px 17px 18px;

  background: transparent;

  border: 24px solid transparent;
  border-image: url("/img/laceframe3.png") 70 round;

  box-sizing: border-box;
}


/* kat images */

.favourite-character-image {
  position: relative;

  width: 175px;
  height: 190px;

  align-self: center;

  overflow: hidden;
}

.katarina-frame {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center bottom;

  opacity: 0;

  pointer-events: none;
}

.katarina-frame-one {
  animation: katarinaFrameOne 5.5s steps(1, end) infinite;
}

.katarina-frame-two {
  animation: katarinaFrameTwo 5.5s steps(1, end) infinite;
}

.katarina-frame-three {
  animation: katarinaFrameThree 5.5s steps(1, end) infinite;
}

@keyframes katarinaFrameOne {
  0%,
  33.32% {
    opacity: 1;
  }

  33.33%,
  100% {
    opacity: 0;
  }
}

@keyframes katarinaFrameTwo {
  0%,
  33.32% {
    opacity: 0;
  }

  33.33%,
  66.65% {
    opacity: 1;
  }

  66.66%,
  100% {
    opacity: 0;
  }
}

@keyframes katarinaFrameThree {
  0%,
  66.65% {
    opacity: 0;
  }

  66.66%,
  100% {
    opacity: 1;
  }
}


/* character information */

.favourite-character-info {
  min-width: 0;

  color: #9f7f87;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  line-height: 1.65;
}

.favourite-character-name {
  margin-bottom: 13px;

  color: #a48787;

  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: bold;
}

.favourite-character-details p {
  margin: 0 0 2px;
}

.favourite-character-details span {
  color: #bd929f;
}

.favourite-character-note {
  margin-top: 13px;
  padding-top: 10px;

  border-top: 1px dotted #dfc6cf;

  color: #a98e96;
  line-height: 1.7;
}


/* character progress */

.favourite-character-progress {
  min-width: 0;

  color: #9f7f87;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  line-height: 1.55;
}

.favourite-progress-group {
  margin-bottom: 16px;
}

.favourite-progress-group:last-child {
  margin-bottom: 0;
}

.favourite-progress-heading {
  margin-bottom: 7px;

  color: #a48787;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  font-weight: bold;
}

.favourite-progress-list p {
  margin: 0 0 2px;

  padding-left: 10px;
  text-indent: -10px;
}

.favourite-progress-list span {
  color: #bd929f;
}


/* kai'sa images */

.kaisa-frame {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center bottom;

  opacity: 0;

  pointer-events: none;

  transform: scale(1);
  transform-origin: center bottom;
}

.kaisa-frame-one {
  animation: kaisaFrameOne 5.5s steps(1, end) infinite;
}

.kaisa-frame-two {
  animation: kaisaFrameTwo 5.5s steps(1, end) infinite;
}

.kaisa-frame-three {
  animation: kaisaFrameThree 5.5s steps(1, end) infinite;

  transform: translateY(-40px);
  transform-origin: center bottom;
}

@keyframes kaisaFrameOne {
  0%,
  33.32% {
    opacity: 1;
  }

  33.33%,
  100% {
    opacity: 0;
  }
}

@keyframes kaisaFrameTwo {
  0%,
  33.32% {
    opacity: 0;
  }

  33.33%,
  66.65% {
    opacity: 1;
  }

  66.66%,
  100% {
    opacity: 0;
  }
}

@keyframes kaisaFrameThree {
  0%,
  66.65% {
    opacity: 0;
  }

  66.66%,
  100% {
    opacity: 1;
  }
}

.favourite-character-profile + .favourite-character-profile {
  margin-top: 28px;
}


/* xayah images */

.xayah-frame {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center bottom;

  opacity: 0;

  pointer-events: none;
}

.xayah-frame-one {
  animation: xayahFrameOne 5.5s steps(1, end) infinite;
}

.xayah-frame-two {
  animation: xayahFrameTwo 5.5s steps(1, end) infinite;
}

.xayah-frame-three {
  animation: xayahFrameThree 5.5s steps(1, end) infinite;
}

@keyframes xayahFrameOne {
  0%,
  33.32% {
    opacity: 1;
  }

  33.33%,
  100% {
    opacity: 0;
  }
}

@keyframes xayahFrameTwo {
  0%,
  33.32% {
    opacity: 0;
  }

  33.33%,
  66.65% {
    opacity: 1;
  }

  66.66%,
  100% {
    opacity: 0;
  }
}

@keyframes xayahFrameThree {
  0%,
  66.65% {
    opacity: 0;
  }

  66.66%,
  100% {
    opacity: 1;
  }
}


/* screenshots filters */

.gaming-screenshot-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 28px;

  margin: 3px 0 26px;
}

.gaming-screenshot-filter {
  position: relative;

  padding: 1px 0 10px;

  color: #c8b4ba;
  background: transparent;

  border: none;
  border-radius: 0;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  font-weight: normal;
  line-height: 1.2;

  cursor: url("/img/key2.png"), pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.gaming-screenshot-filter:hover {
  color: #ad8995;

  transform: translateY(-1px);
}

.gaming-screenshot-filter.active {
  color: #bd8298;
}

.gaming-screenshot-filter-heart {
  position: absolute;

  left: 50%;
  bottom: -1px;

  color: #e4b4c5;

  font-family: Verdana, sans-serif;
  font-size: 8px;
  line-height: 1;

  transform: translateX(-50%);
}

.gaming-screenshot-filter:not(.active)
.gaming-screenshot-filter-heart {
  visibility: hidden;
}


/* screenshots grid */

.gaming-screenshot-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 15px;

  opacity: 1;

  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.gaming-screenshot-grid.fading {
  opacity: 0;

  transform: translateY(4px);

  pointer-events: none;
}


/* screenshot message */

.gaming-screenshot-message {
  grid-column: 1 / -1;

  min-height: 170px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  color: #b79aa3;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;

  box-sizing: border-box;
}


/* screenshot cards */

.gaming-screenshot {
  position: relative;

  width: 100%;

  display: block;

  aspect-ratio: 16 / 10;

  padding: 6px;

  overflow: hidden;

  background: #fffafd;

  border: 9px solid transparent;
  border-image:
    url("/img/laceborder.png")
    8 fill round;

  box-sizing: border-box;

  appearance: none;
  -webkit-appearance: none;

  cursor: url("/img/key2.png"), pointer;

  transition:
    transform 0.28s ease;
}

.gaming-screenshot:hover {
  transform: translateY(-3px);
}

.gaming-screenshot > img:not(.gaming-screenshot-multi),
.gaming-screenshot > video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  background: #fff7fa;

  border: 1px solid #f0d3df;

  box-sizing: border-box;

  filter: saturate(0.65);

  transition:
    filter 0.4s ease;
}

.gaming-screenshot:hover
> img:not(.gaming-screenshot-multi),
.gaming-screenshot:hover
> video {
  filter: saturate(1);
}


/* screenshot game label */

.gaming-screenshot-game-label {
  position: absolute;

  left: 15px;
  bottom: 14px;

  max-width: calc(100% - 30px);

  padding: 4px 7px;

  overflow: hidden;

  color: #a98b94;
  background: rgba(255, 250, 253, 0.9);

  border: 1px solid rgba(239, 208, 220, 0.9);

  font-family: Verdana, sans-serif;
  font-size: 8px;
  line-height: 1.2;

  white-space: nowrap;
  text-overflow: ellipsis;

  box-sizing: border-box;

  opacity: 0;

  transform: translateY(4px);

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.gaming-screenshot:hover
.gaming-screenshot-game-label {
  opacity: 1;

  transform: translateY(0);
}


/* multiple media icon */

.gaming-screenshot-multi {
  position: absolute;

  top: 12px;
  right: 12px;

  width: 18px;
  height: 18px;

  display: block;

  object-fit: contain;

  filter: none;

  pointer-events: none;

  z-index: 4;
}


/* broken media */

.gaming-screenshot .mediaerror,
.gaming-screenshot-popup-media .mediaerror {
  opacity: 0.45;

  filter: grayscale(1);
}


/* screenshots popup background */

.gaming-screenshot-popup {
  position: fixed;

  inset: 0;

  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px;

  background: rgba(255, 248, 252, 0.82);

  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.38s ease,
    visibility 0.38s ease;
}

.gaming-screenshot-popup.open {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;
}

body.gaming-screenshot-popup-open {
  overflow: hidden;
}


/* screenshots popup frame */

.gaming-screenshot-popup-frame {
  position: relative;

  width: auto;
  max-width: 88vw;
  max-height: 90vh;

  padding:
    19px
    21px
    54px;

  overflow-x: hidden;
  overflow-y: auto;

  color: #8a7070;
  background: #ffffff;

  border: 11px solid transparent;
  border-image:
    url("/img/laceborder.png")
    8 fill round;

  box-sizing: border-box;

  opacity: 0;

  transform:
    translateY(6px)
    scale(0.97);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.gaming-screenshot-popup.open
.gaming-screenshot-popup-frame {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);
}


/* screenshots popup content */

.gaming-screenshot-popup-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-bottom: 19px;

  box-sizing: border-box;
}

.gaming-screenshot-popup-image-frame {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gaming-screenshot-popup-media {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.gaming-screenshot-popup-media {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


.gaming-screenshot-popup-media {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.gaming-screenshot-popup-media img,
.gaming-screenshot-popup-media video {
  width: auto;
  height: auto;

  max-width: 78vw;
  max-height: 67vh;

  display: block;

  object-fit: contain;

  background: #fffafd;
}


/* currently visible screenshot */

.gaming-screenshot-current-media {
  position: relative;

  opacity: 1;

  transition:
    opacity .4s ease;
}

.gaming-screenshot-current-media.hide {
  opacity: 0;
}


/* incoming screenshot */

.gaming-screenshot-next-media {
  position: absolute;

  top: 50%;
  left: 50%;

  opacity: 0;

  transform:
    translate(-50%, -50%);

  transition:
    opacity .4s ease;

  z-index: 2;
}

.gaming-screenshot-next-media.show {
  opacity: 1;
}

/* popup carousel hearts */

.gaming-screenshot-hearts {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 5px;
}

.gaming-screenshot-hearts.hidden {
  visibility: hidden;

  pointer-events: none;
}

.gaming-screenshot-heart {
  width: 16px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  color: #dab9c5;
  background: transparent;

  border: 0;

  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1;

  appearance: none;
  -webkit-appearance: none;

  cursor: url("/img/key2.png"), pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.gaming-screenshot-heart:hover,
.gaming-screenshot-heart.active {
  color: #c995a8;

  transform: scale(1.12);
}


/* screenshot popup information */

.gaming-screenshot-popup-details {
  position: static;

  width: 100%;

  margin: 20px auto 0;
  padding: 0 18px;

  text-align: center;

  box-sizing: border-box;
}

.gaming-screenshot-popup-game {
  display: none;
}

.gaming-screenshot-popup-caption {
  margin: 0;

  color: #9f7f87;

  font-family: Verdana, sans-serif;
  font-size: 9px;
  line-height: 1.6;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.gaming-screenshot-popup-caption:empty {
  display: none;
}

.gaming-screenshot-popup-date {
  position: absolute;

  right: 21px;
  bottom: 16px;

  margin: 0;

  color: #c9b5bb;

  font-family: Verdana, sans-serif;
  font-size: 8px;
  line-height: 1.3;

  text-align: right;
}

.gaming-screenshot-popup-date:empty {
  display: none;
}


/* screenshot music */

.gaming-screenshot-music {
  position: absolute;

  left: 21px;
  bottom: 10px;

  width: 165px;
  height: 32px;

  display: flex;
  align-items: center;

  gap: 7px;

  margin: 0;
  padding: 4px 6px;

  background: #fffafd;

  border: 1px dotted #f0d3df;

  box-sizing: border-box;
}

.gaming-screenshot-music.hidden {
  display: none;
}

.gaming-screenshot-music-button {
  width: 20px;
  height: 20px;

  flex: 0 0 20px;

  padding: 0;

  color: #d7a9b9;
  background: #ffffff;

  border: 1px solid #f0d3df;

  font-family: Verdana, sans-serif;
  font-size: 8px;

  cursor: url("/img/key2.png"), pointer;
}

.gaming-screenshot-music-info {
  min-width: 0;

  display: flex;
  flex-direction: column;

  text-align: left;
  line-height: 1.15;
}

.gaming-screenshot-music-title,
.gaming-screenshot-music-artist {
  overflow: hidden;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.gaming-screenshot-music-title {
  color: #9f7f87;

  font-family: Verdana, sans-serif;
  font-size: 9px;
}

.gaming-screenshot-music-artist {
  color: #b1b1b1;

  font-family: Verdana, sans-serif;
  font-size: 8px;
}

.gaming-screenshot-music audio {
  display: none;
}


.frilltrim {
  position: absolute;
  z-index: 6;

  left: 50%;
  bottom: 4px;

  width: 940px;
  height: auto;

  display: block;

  transform: translateX(-50%);

  pointer-events: none;
}



body .footer .footertext {
  font-family: 'Ownglyph PDH Regular' !important;
}