.amor-languages {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border: 1px solid #e5b4ce;
  border-radius: 12px;
  background: #fdf0f6;
}
.amor-language {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  min-height: 0;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 8px;
}
.amor-language svg {
  width: 23px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #35263836;
}
.amor-language[aria-current="true"] {
  border-color: #ac4e7d;
  background: #f5d5e6;
  box-shadow: inset 0 1px #fff8fc;
}
.amor-language:hover {background: #f2c7e0}
.amor-language:focus-visible {outline: 3px solid #7c3763; outline-offset: 2px}
.amor-language-dialog .dialog-actions {justify-content: end}

@media (min-width: 761px) and (max-width: 1060px) {
  .amor-navbar {column-gap: 9px; padding-inline: 12px}
  .amor-collection {display: none}
}
@media (min-width: 1140px) {
  body[data-view=puzzle] #audio-controls {
    top: 89px;
    right: clamp(10px, 2vw, 36px);
    width: clamp(259px, 22vw, 320px);
    padding: 0;
  }
  body[data-view=puzzle] .amor-navbar {
    grid-template-columns: minmax(max-content,1fr) auto minmax(max-content,1fr);
  }
  body[data-view=puzzle] #audio-controls .audio-controls {
    width: 100%;
    grid-template-columns: minmax(85px, auto) 42px minmax(100px, 1fr);
    padding-inline: 3px;
    border-radius: 12px;
    border: 1px solid #e1aacb;
    background: #faeaf4;
  }
  body[data-view=puzzle] #audio-controls .audio-controls[data-sound="off"] {
    grid-template-columns: minmax(65px, auto) minmax(70px, auto) minmax(106px, 1fr);
  }
  body[data-view=puzzle] #audio-controls .audio-controls-volume {
    grid-template-columns: 36px minmax(22px, 1fr) 36px;
  }
}
@media (min-width: 1140px) and (max-height: 780px) {
  body[data-view=puzzle] #audio-controls {top: 79px}
}
@media (max-width: 760px) {
  .amor-navbar {grid-template-columns: minmax(0,1fr) auto auto}
  .amor-tools {display: contents}
  .amor-settings {grid-column: 3; grid-row: 1}
  .amor-languages {
    grid-column: 1 / -1;
    justify-self: end;
    padding-block: 0;
    margin-block: -2px 3px;
  }
  .amor-language {width: 44px; height: 36px}
  .amor-wordmark {overflow-wrap: anywhere}
}

.family-portraits {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:2px;
  height:100%;
  overflow:hidden;
  background:#f1adca;
}
.family-portraits img {display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:normal}
.family-cameo .family-portraits img {position:static}
.about-family .family-portraits,.finale-family .family-portraits {
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:auto;
  gap:5px;
  border-radius:12px;
  background:transparent;
}
.about-family .family-portraits img,.finale-family .family-portraits img {aspect-ratio:1;border-radius:8px}
[data-cast=dotter] .cast-poster,.lina-actor img[src*="/figurer/"] {border-radius:50%}
.module-paused #app :where(*) {animation-play-state:paused}
