/* resources/sass/puzzlefactory.pl/details.scss */
#game-container {
  display: grid;
  grid-template-rows: 48px 1fr;
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  grid-gap: 5px;
}
#game-container.extra-toolbar {
  grid-template-rows: 48px 1fr 48px;
}
@media (min-width: 1200px) {
  #game-container {
    grid-template-rows: 30px 1fr;
  }
}
#game-wrapper {
  position: relative;
  width: 100vw;
  overflow: hidden;
}
tool-bar {
  background-color: #047391;
  display: flex;
  font-size: 16px;
  line-height: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  margin-bottom: 0 !important;
}
tool-bar > * {
  flex: auto;
  display: grid;
  grid-auto-flow: column;
  align-content: center;
  justify-items: center;
  justify-content: center;
  color: #fff;
  white-space: nowrap;
  font-size: 22px;
  overflow: hidden;
  margin-top: 2px;
  cursor: default;
}
tool-bar > * > svg-icon {
  transition: color ease-in-out 0.5s;
  vertical-align: middle;
}
tool-bar > * > span {
  margin-left: 5px;
  vertical-align: middle;
}
tool-bar > * > span.label {
  display: none;
}
tool-bar > * .draggable {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100;
  border: 1px solid #05586B;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  margin: 0;
  cursor: move;
}
tool-bar > *.tool-bar-alert > svg-icon {
  color: #f96767;
}
tool-bar > *:not(.disabled):not(.no-action):hover {
  cursor: pointer;
  background-color: #05586B;
}
tool-bar > *.disabled {
  color: #bfbfbf;
  pointer-events: none;
}
tool-bar > *.dropdown {
  position: relative;
}
tool-bar > *.dropdown select {
  position: absolute;
  -webkit-appearance: none;
  background-color: transparent;
  color: transparent;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
tool-bar > *.dropdown svg-icon,
tool-bar > *.dropdown span {
  pointer-events: none;
}
@media (min-width: 900px) {
  tool-bar > * {
    padding: 0 10px;
    font-size: 18px;
  }
  tool-bar > * > span.label {
    display: inline-block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  control-time,
  control-pieces,
  control-difficulty {
    flex: none;
  }
}
#info-bar {
  background-color: #e8e8e8;
}
#info-bar a {
  text-decoration: none;
}
#info-bar > * {
  color: #333;
  margin: 0;
}
#info-bar > *.info-bar-button:hover {
  cursor: pointer;
  height: 30px;
  background-color: #cecece;
}
#info-bar > * a,
#info-bar > * span {
  color: #363636;
}
#info-bar .top-scores-info-bar > svg-icon {
  color: #cfb53b;
}
@media (min-width: 560px) {
  #info-bar {
    padding: 0 var(--gap);
  }
  #info-bar > * {
    display: inline-flex;
    padding: 4px 15px 0;
  }
}
#game-details {
  display: grid;
  grid-gap: var(--gap);
  grid-template-rows: repeat(5, max-content) 1fr;
  grid-template-columns: 100%;
}
#game-details.no-comments #comments {
  display: none;
}
#game-details > * {
  grid-column: 1/-1;
}
#share {
  text-align: center;
}
#best-results {
  display: grid;
  align-content: start;
  grid-gap: var(--gap);
}
#best-results h2 {
  margin-bottom: 0;
}
#description p {
  color: #575757;
  line-height: 1.5em;
  word-wrap: break-word;
}
@media (min-width: 560px) {
  #game-details {
    grid-template-columns: 1fr 1fr;
  }
  #game-details #best-results {
    grid-column: 1;
  }
  #game-details #puzzle-tags {
    grid-column: 2;
    grid-row: 3;
  }
  #game-details #rating {
    grid-column: 1;
  }
  #game-details #comment-form {
    grid-column: 2;
  }
  #game-details.moves #best-results {
    grid-template-columns: 1fr 1fr;
    grid-column: 1/-1;
  }
  #game-details.moves #best-results h2 {
    grid-column: 1/-1;
  }
  #game-details.moves #puzzle-tags {
    grid-column: 1/-1;
    grid-row: 4;
  }
}
@media (min-width: 900px) {
  #game-details {
    grid-template-columns: 340px 240px 1fr;
  }
  #game-details #best-results {
    grid-row: 3/5;
  }
  #game-details #share {
    grid-column: 2/4;
    grid-row: 4;
  }
  #game-details #puzzle-tags {
    grid-column: 2/4;
    grid-row: 3;
  }
  #game-details #comments {
    grid-column: 1/3;
    grid-row: 7/9;
  }
  #game-details #comment-form {
    grid-column: 3;
    grid-row: 7;
  }
  #game-details #rating {
    grid-column: 3;
    grid-row: 8;
  }
  #game-details.moves {
    grid-template-columns: 340px 220px 1fr;
  }
  #game-details.moves #best-results {
    grid-column: 1/3;
    grid-row: 3;
  }
  #game-details.moves #puzzle-tags {
    grid-column: 3;
    grid-row: 3;
  }
  #game-details.moves #share {
    grid-column: 1/-1;
    grid-row: 4;
  }
}
@media (min-width: 1200px) {
  #game-details {
    grid-template-columns: 340px 250px 1fr 400px !important;
  }
  #game-details #puzzle-tags {
    grid-column: 1;
    grid-row: 4;
  }
  #game-details #similar-games {
    grid-column: 2/-1;
    grid-row: 3/5;
  }
  #game-details #similar-games gf-slider {
    grid-template-columns: 1fr 1fr 1fr;
  }
  #game-details #best-results {
    grid-column: 1;
    grid-row: 3;
  }
  #game-details #share {
    grid-column: 1/-1;
    grid-row: 5;
  }
  #game-details #comments {
    grid-column: 1/4;
    grid-row: 7/9;
  }
  #game-details #comment-form {
    grid-column: 4;
    grid-row: 7;
  }
  #game-details #rating {
    grid-column: 4;
    grid-row: 8;
  }
  #game-details.moves #puzzle-tags {
    grid-column: 1/-1;
    grid-row: 5;
  }
  #game-details.moves #share {
    grid-column: 1/3;
  }
  #game-details.moves #similar-games {
    grid-column: 3/-1;
  }
}
@media (min-width: 1400px) {
  #game-details #puzzle-tags {
    grid-column: 2;
    grid-row: 3;
  }
  #game-details #similar-games {
    grid-column: 3/-1;
  }
  #game-details #share {
    grid-column: 1/3;
    grid-row: 4;
  }
  #game-details #comments {
    grid-column: 1/4;
    grid-row: 6/8;
  }
  #game-details #comment-form {
    grid-column: 4;
    grid-row: 6;
  }
  #game-details #rating {
    grid-column: 4;
    grid-row: 7;
  }
  #game-details.moves #puzzle-tags {
    grid-column: 1/3;
    grid-row: 5;
  }
  #game-details.moves #similar-games {
    grid-column: 3/-1;
    grid-row: 3/6;
  }
  #game-details.moves #comments {
    grid-row: 7/9;
  }
  #game-details.moves #comment-form {
    grid-row: 7;
  }
  #game-details.moves #rating {
    grid-row: 8;
  }
}
comment-item {
  margin-bottom: 10px;
  display: block;
  word-wrap: break-word;
}
comment-item > a {
  color: inherit;
}
comment-item .comment-author {
  font-weight: bold;
  margin-right: 5px;
}
comment-item .date {
  font-size: 0.8em;
  color: #565756;
  margin-left: 5px;
}
comment-item .flag {
  margin-right: 5px;
}
#comment-form button {
  margin: 0;
  float: right;
}
#comment-form input {
  float: left;
  width: calc(100% - 105px);
}
#comment-form textarea {
  height: 80px;
}
#puzzle-rating {
  margin-bottom: 20px;
}
#puzzle-rating span {
  vertical-align: bottom;
}
#puzzle-rating .rating-global svg-icon {
  color: #EDB867;
}
#puzzle-rating .rating-user {
  white-space: nowrap;
}
#puzzle-rating .rating-user .rating-label {
  display: block;
}
#puzzle-rating .rating-user .rating-stars svg-icon {
  font-size: 22px;
  color: #d2d2d2;
}
#puzzle-rating .rating-user .rating-stars svg-icon.selected {
  color: #EDB867;
}
#puzzle-rating .rating-user .rating-stars svg-icon.bold {
  font-weight: 700;
  cursor: pointer;
}
@media (min-width: 1200px) {
  #puzzle-rating .rating-user .rating-label {
    display: inline-block;
  }
}
#completed-game-modal {
  width: 550px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  padding: 0;
  border: 3px solid #b8d7ee;
  border-radius: 26px;
  background: #f4f9ff;
  overflow: hidden;
}
#completed-game-modal modal-body {
  padding: 0;
  text-align: center;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#completed-game-modal .btn-complete-action {
  min-width: 120px;
  min-height: 44px;
  padding: 0 14px;
  font-weight: bold;
  gap: 10px;
  flex: 0 1 auto;
}
#completed-game-modal .btn-complete-action svg-icon {
  font-size: 22px;
}
#completed-game-modal .complete-close {
  position: absolute;
  right: 14px;
  top: 8px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #6f7f90;
  padding: 4px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
#completed-game-modal h3 {
  border-bottom: 0 none;
}
#completed-game-modal .complete-actions {
  min-height: 104px;
  padding: 22px 14px 24px;
  border-bottom: 1px solid #e6cdd5;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (min-width: 560px) {
  #completed-game-modal .btn-complete-action {
    min-width: 160px;
    padding: 0 18px;
  }
  #completed-game-modal .complete-actions {
    gap: 18px;
    min-height: 112px;
    padding: 24px 20px 28px;
  }
}
#completed-game-modal .complete-top-panel {
  background: #f4f9ff url(/images/puzzlefactory.pl/complete/background.webp) no-repeat 0 bottom;
  background-size: cover;
  border-bottom: 1px solid #e6cdd5;
  display: flex;
  flex-direction: column;
}
#completed-game-modal .complete-top-panel header {
  padding: 30px 0;
}
#completed-game-modal .complete-top-panel header h2 {
  margin: 0;
  font-size: 24px;
  color: #1d5b91;
  font-weight: 700;
  line-height: 1.1;
  border-bottom: none;
}
#completed-game-modal .complete-top-panel header p {
  margin: 8px 0 0;
  font-size: 15px;
  color: #666666;
  line-height: 1.2;
}
#completed-game-modal .complete-top-panel .progress-section {
  padding: 0 5%;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 560px) {
  #completed-game-modal .complete-top-panel header h2 {
    font-size: 26px;
  }
  #completed-game-modal .complete-top-panel header p {
    font-size: 16px;
  }
}
#completed-game-modal .complete-ranking {
  width: 90%;
  margin: 0 auto;
  padding: 12px 18px;
  min-height: 81px;
  border: 1px solid #e6cdd5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8509803922);
  box-shadow: 0 8px 20px rgba(127, 165, 194, 0.1215686275);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#completed-game-modal .complete-ranking .complete-ranking-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  padding-left: 0;
  min-width: 0;
  flex: 1 1 auto;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(
      180deg,
      #f6f8fb,
      #dce7f1);
  color: #44698a;
  display: none;
  place-items: center;
  align-self: center;
  font-weight: 700;
  font-size: 16px;
  margin-left: -5px;
  transform: translateY(-8px);
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge.with-image {
  background: transparent;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge.with-image img {
  display: block;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge.with-image .complete-place-fallback {
  display: none;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge.empty {
  visibility: hidden;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
  color: #333333;
  font-weight: 700;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text .complete-position-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #1d5b91;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text .complete-position-link:hover {
  color: #23527c;
  text-decoration: underline;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666666;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text p .complete-best-icon {
  color: #4995f8;
  font-size: 14.3px;
  width: 1.15em;
  height: 1.15em;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}
#completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text p .complete-best-icon svg {
  overflow: visible;
}
#completed-game-modal .complete-ranking .complete-ranking-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
}
#completed-game-modal .complete-ranking .complete-ranking-aside .complete-top-ten {
  width: 108px;
  height: 30px;
  background: url(/images/puzzlefactory.pl/complete/top10.webp) center/contain no-repeat;
  display: grid;
  place-items: center;
}
#completed-game-modal .complete-ranking .complete-ranking-aside .complete-top-ten span {
  margin-top: -2px;
  color: #333333;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
#completed-game-modal .complete-ranking .complete-ranking-aside button {
  font-size: 13px;
}
#completed-game-modal .complete-ranking .complete-ranking-aside button span {
  display: none;
}
#completed-game-modal .complete-ranking.with-moves {
  min-height: 126px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}
#completed-game-modal .complete-ranking.with-moves .complete-ranking-main {
  padding-left: 0;
  gap: 16px;
}
@media (min-width: 560px) {
  #completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-place-badge {
    display: grid;
  }
  #completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text h3 {
    font-size: 16px;
  }
  #completed-game-modal .complete-ranking .complete-ranking-main .complete-ranking-entry .complete-ranking-text p {
    font-size: 14px;
  }
  #completed-game-modal .complete-ranking .complete-ranking-aside .complete-top-ten {
    width: 138px;
    height: 40px;
  }
  #completed-game-modal .complete-ranking .complete-ranking-aside .complete-top-ten span {
    font-size: 14px;
  }
  #completed-game-modal .complete-ranking .complete-ranking-aside button span {
    display: inline;
  }
}
#completed-game-modal .complete-info {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 100%;
  align-items: center;
  justify-items: center;
  gap: 26px;
}
#completed-game-modal .complete-info h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #333333;
  line-height: 1;
  font-weight: 700;
}
#completed-game-modal .complete-info p {
  margin: 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.2;
}
#completed-game-modal .complete-info p.text-sm {
  font-size: 12px;
  color: #999999;
}
#completed-game-modal .complete-info > img {
  width: 66px;
  object-fit: contain;
}
#completed-game-modal .complete-info > div {
  text-align: left;
}
#completed-game-modal .complete-info > div button {
  margin-top: 8px;
}
@media (min-width: 560px) {
  #completed-game-modal .complete-info h3 {
    font-size: 16px;
  }
  #completed-game-modal .complete-info > img {
    width: 80px;
  }
  #completed-game-modal .complete-info > div {
    padding-right: 50px;
  }
  #completed-game-modal .complete-info > div button {
    font-size: 16px;
    min-height: 50px;
  }
}
#completed-game-modal .complete-first-solve {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
#completed-game-modal .complete-first-solve h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
#completed-game-modal .complete-first-solve p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
}
#completed-game-modal .complete-first-solve p:nth-child(2) {
  font-size: 23px;
  font-weight: 700;
  color: #1D5B91;
}
#completed-game-modal .complete-milestone {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#completed-game-modal .complete-milestone h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #333333;
}
#completed-game-modal .complete-milestone .complete-milestone-value {
  margin: 0;
  font-size: 80px;
  line-height: 0.95;
  font-weight: 700;
  color: #1D5B91;
  letter-spacing: 0.02em;
  padding-bottom: 0.04em;
}
#completed-game-modal .complete-milestone .complete-milestone-label {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #666666;
}
#completed-game-modal .complete-milestone.is-special h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #A86E00;
}
#completed-game-modal .complete-milestone.is-special .complete-milestone-value {
  display: inline-block;
  position: relative;
  isolation: isolate;
  max-width: 100%;
  color: transparent;
  background: linear-gradient(#ffe22e 9%, #f6ad00 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
#completed-game-modal .complete-milestone.is-special .complete-milestone-value::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #C88400;
  pointer-events: none;
}
#completed-game-modal .complete-feedback-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
#completed-game-modal .complete-feedback-placeholder > * {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: rgba(132, 166, 203, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
#completed-game-modal .complete-feedback-placeholder .complete-feedback-placeholder-title {
  width: 88px;
  height: 15px;
}
#completed-game-modal .complete-feedback-placeholder .complete-feedback-placeholder-main {
  width: 172px;
  height: 18px;
}
#completed-game-modal .complete-feedback-placeholder .complete-feedback-placeholder-bar {
  width: 100%;
  height: 9px;
}
#completed-game-modal .complete-feedback-placeholder .complete-feedback-placeholder-secondary {
  width: 228px;
  height: 13px;
}
#completed-game-modal .complete-progress {
  text-align: left;
  position: relative;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
#completed-game-modal .complete-progress-title {
  margin: 0 0 14px;
  font-size: 15px;
  color: #476177;
  line-height: 1.2;
  font-weight: 600;
}
#completed-game-modal .complete-progress-solved {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 700;
  color: #2c4056;
}
#completed-game-modal .complete-progress-bar {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(104, 152, 214, 0.24);
  border: 1px solid rgba(124, 162, 205, 0.28);
  box-shadow: inset 0 1px 1px rgba(18, 52, 86, 0.08);
}
#completed-game-modal .complete-progress-bar-value {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #4c96ee 0%,
      #72b0fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(44, 103, 178, 0.18);
}
#completed-game-modal .complete-progress-remaining {
  margin: 16px 0 0;
  color: #70849a;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 400;
}
#completed-game-modal .complete-challenges {
  background: #f5f6fb;
  border-bottom: 1px solid #e6cdd5;
  overflow: hidden;
  padding-bottom: 20px;
}
#completed-game-modal .complete-challenges .complete-challenges-header {
  margin: 0;
  padding: 22px 14px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
#completed-game-modal .complete-challenges h3 {
  margin: 0;
  text-align: left;
  font-size: 16px;
  color: #666666;
  line-height: 1.2;
  font-weight: 400;
}
#completed-game-modal .complete-challenges .complete-view-more {
  color: #1d5b91;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
#completed-game-modal .complete-challenges .complete-view-more:hover {
  color: #23527c;
}
#completed-game-modal proposed-games {
  display: block;
  margin: 0 10px;
  text-align: left;
}
#completed-game-modal proposed-games gf-slider {
  grid-gap: calc(var(--gap, 10px) / 2);
}
#completed-game-modal proposed-games section > h3 {
  display: none;
}
#completed-game-modal proposed-games .show-more-buttons {
  display: none;
}
#completed-game-modal proposed-games.puzzle-items .puzzle-item {
  width: 108px;
  font-size: 8px;
}
@media (min-width: 560px) {
  #completed-game-modal proposed-games.puzzle-items .puzzle-item {
    width: 126px;
    font-size: 9px;
  }
}
@media (min-width: 900px) {
  #completed-game-modal proposed-games.puzzle-items .puzzle-item {
    width: 200px;
    font-size: 13px;
  }
}
drop-down > div {
  appearance: none;
  padding: 3px 5px;
  border-radius: 5px;
  white-space: nowrap;
}
drop-down > div svg-icon {
  margin-right: 0.5em;
}
drop-down > div:hover {
  color: white;
  background-color: rgb(65, 120, 231);
}
#best-results h4 {
  margin: 0 0 10px;
}
.top-scores h3 {
  margin-bottom: 5px;
  text-align: center;
}
.top-scores ul {
  font-size: 16px;
  color: #575757;
}
.top-scores ul li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #363636;
  padding-left: 18px;
}
.top-scores ul li.new {
  color: green;
}
.top-scores ul li.new a {
  color: green;
}
.top-scores ul li > svg-icon {
  color: transparent;
  margin-right: 3px;
}
.top-scores ul li span.secondary-score {
  font-size: 0.75em;
  font-weight: lighter;
  vertical-align: middle;
}
.top-scores ul li span.user:before {
  content: " - ";
}
.top-scores ul li span.user svg-icon {
  font-size: 0.7em;
  vertical-align: baseline;
}
.top-scores ul li:first-child {
  padding-left: 0;
}
.top-scores ul li:first-child > svg-icon {
  color: #cfb53b;
}
.top-scores ul li:nth-child(2) {
  padding-left: 0;
}
.top-scores ul li:nth-child(2) > svg-icon {
  color: #9a9a9a;
}
.top-scores ul li:nth-child(3) {
  padding-left: 0;
}
.top-scores ul li:nth-child(3) > svg-icon {
  color: #964b00;
}
.top-scores button {
  font-size: 0.7em;
  min-width: 150px;
  margin: 10px 0 0 18px;
}
.solutions-modal h3 span {
  font-size: 12px;
}
.solutions-modal modal-body {
  overflow-y: scroll;
}
.solutions-modal table {
  border-collapse: collapse;
  border-spacing: 0;
}
.solutions-modal th {
  font-size: 15px;
  text-align: center;
  padding: 0 6px;
}
.solutions-modal td {
  font-size: 14px;
  padding: 4px;
  white-space: nowrap;
}
.solutions-modal td:nth-child(3) {
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100px;
}
.solutions-modal td:nth-child(4),
.solutions-modal td:nth-child(5),
.solutions-modal td:nth-child(6) {
  text-align: right;
}
.solutions-modal tr:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}
.solutions-modal tr.my {
  background-color: cornsilk;
}
.solutions-modal tr:first-child td:first-child {
  color: #cfb53b;
}
.solutions-modal tr:nth-child(2) td:first-child {
  color: #9a9a9a;
}
.solutions-modal tr:nth-child(3) td:first-child {
  color: #964b00;
}
@media (min-width: 560px) {
  .solutions-modal td:nth-child(3) {
    max-width: none;
  }
}
next-puzzle {
  position: relative;
}
next-puzzle #next-puzzle-tooltip {
  display: none;
  position: absolute;
  z-index: 1000;
  bottom: 44px;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  background: #047391;
}
next-puzzle #next-puzzle-tooltip img {
  display: block;
  width: 200px;
}
next-puzzle #next-puzzle-tooltip .size {
  white-space: nowrap;
}
next-puzzle #next-puzzle-tooltip .size svg-icon {
  margin: 0 0 0 5px;
}
next-puzzle #next-puzzle-tooltip .arrow {
  position: absolute;
  left: calc(50% - 10px);
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #047391;
}
next-puzzle:hover #next-puzzle-tooltip {
  display: block;
}
drop-down {
  position: fixed;
  left: 0;
  top: 0;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(56, 56, 56, 0.7);
  border: 1px solid rgba(128, 128, 128, 0.7);
  font-size: 16px;
  color: white;
  cursor: default;
  transition: scale 0.1s ease-in-out;
}
@media (prefers-color-scheme: light) {
  drop-down {
    color: #282828;
    background-color: rgba(224, 224, 224, 0.8);
    border: 1px solid rgba(177, 177, 177, 0.8);
  }
}
#sign-in-suggestion {
  width: 100%;
  padding: 10px 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  background: rgba(255, 245, 90, 0.3);
}
#sign-in-suggestion a {
  font-weight: bold;
}
body.play {
  padding-bottom: 0;
  overflow: hidden;
}
body.play > nav,
body.play #top-bar,
body.play article > header,
body.play #game-details,
body.play #not-visible-suggestion,
body.play #info-bar,
body.play #footer,
body.play > footer {
  display: none !important;
}
body.play article {
  max-width: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 899px) or (max-height: 899px) {
  body.play #qc-cmp2-container {
    display: none !important;
  }
}
@media (min-width: 900px) and (min-height: 900px) {
  body.play #game-container {
    grid-template-rows: 30px 1fr 100px;
  }
}
#products {
  margin: 0 auto;
  width: 100%;
  max-width: 940px;
}
#products > div img {
  vertical-align: sub;
}
#products gf-slider > a {
  overflow-y: unset;
  overflow-x: unset;
  width: 220px;
}
#products gf-slider a:hover {
  text-decoration: none;
}
#products gf-slider a:hover .title {
  text-decoration: underline;
}
#products gf-slider img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
#products gf-slider .title {
  display: block;
}
#products gf-slider .size {
  background-color: rgb(203, 255, 203);
  padding: 3px;
  border-radius: 5px;
  color: black;
  font-size: 0.8em;
}
#products gf-slider .price {
  float: right;
  color: darkred;
}
#products gf-slider .delivery {
  color: darkred;
  float: right;
  font-size: 14px;
}
@media (min-width: 560px) {
  proposed-games .show-more-buttons {
    grid-auto-flow: column;
  }
}
@media (min-width: 1200px) {
  #other-from-category gf-slider {
    grid-template-columns: repeat(5, 1fr);
  }
}
control-background drop-down {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  grid-gap: 5px;
}
control-background drop-down div {
  height: 60px;
}
@media (max-width: 640px) {
  #puzzle-table-background .background-list {
    margin-left: -100px;
  }
}
jigsaw-game {
  display: block;
  position: relative;
  transform-origin: 0 0;
}
@media (min-width: 1200px) {
  tool-bar > * {
    flex: initial;
  }
  tool-bar control-time {
    margin-left: auto;
  }
}
jigsaw-game {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
jigsaw-game canvas {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: 0 0;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
jigsaw-game canvas[is=jigsaw-piece-shadow] {
  filter: drop-shadow(6px 6px 10px rgb(0, 0, 0));
  pointer-events: none;
  display: none;
}
jigsaw-game canvas[is=jigsaw-piece-shadow].visible {
  display: block;
}
jigsaw-game canvas[is=jigsaw-piece-shadow].highlight {
  display: block;
  filter: drop-shadow(0 0 15px #047391);
}
jigsaw-preview {
  display: block;
  pointer-events: none;
  border: 1px solid #047391;
  background-color: white;
  box-sizing: content-box;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
jigsaw-preview img {
  object-position: 0 0;
  width: 100%;
  height: 100%;
}
