/* +++ Result Blocks +++ */

.result {
  padding: 10px;
  margin-bottom: 40px;
  min-height: 210px;
  width: 100%;
  clear: both;
  border: double 6px;
  outline: dashed 4px;
  background-color: white;
  border-radius: 10px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  background-blend-mode: hard-light;
}

.result-shade {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
  opacity: 0.4;
}

.result-screenshot {
  width: 200px;
  height: 200px;
  position: absolute;
  overflow: hidden;
  top: -15px;
  left: -8px;
  transform: rotate(-10deg);
  border: 8px double;
  transition: 0.2s;
}

.result-screenshot:hover {
  scale: 1.1;
}

.result-screenshot a {
  display: inline;
}

.result-screenshot a:hover {
  transform: none;
}

.result-screenshot img {
  height: 100%;
  display: block;
}

.result-info {
  margin-left: 220px;
  padding: 10px;
  outline: 3px double;
}

.result h2 {
  display: inline;
  font-size: 28px;
  margin: 0;
}

.result .site-url {
  font-size: 0.82em;
  opacity: 0.75;
  margin: 4px 0 6px 0;
}

.result .description {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.result .meta {
  font-size: 0.85em;
  border-top: 1px dashed currentColor;
  padding-top: 6px;
  margin-top: 8px;
  opacity: 0.9;
}

.result .meta-icon {
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.result .signature {
  margin-bottom: 10px;
  max-height: 100px;
  overflow-y: scroll;
}

.result .signature-filler {
  height: 30px;
}

.result .links {
  list-style-type: none;
  padding: 0;
  margin: 4px 0 0 0;
  font-family: monospace;
  font-size: 14px;
}

.result .links a {
  padding-right: 10px;
}

.result .links .guilds {
  margin-left: 30px;
  display: inline-block;
}

.result .links .guilds a {
  padding-right: 0px;
}

/* +++ BBCode +++ */

.result blockquote {
  border-left: 3px solid currentColor;
  margin: 6px 0 6px 10px;
  padding: 4px 10px;
  opacity: 0.85;
  font-style: italic;
}

.result blockquote cite {
  display: block;
  font-size: 0.85em;
  font-style: normal;
  font-weight: bold;
  margin-bottom: 4px;
}

.result pre {
  background: rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.85em;
  white-space: pre-wrap;
}

.result details {
  border: 1px dashed currentColor;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 4px 0;
}

.result details summary {
  cursor: pointer;
  font-weight: bold;
}

.bbcode-mod {
  background: #ffccdd;
  color: #333;
  border: 1px solid #ff99bb;
  border-radius: 4px;
  padding: 6px 10px;
  font-family: sans-serif;
  font-size: 0.9em;
}

.bbcode-tart {
  font-family: monospace;
  white-space: pre;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 0.85em;
}

/* +++ Mobile +++ */

@media (max-width: 850px) {
  .result {
    width: 95%;
    min-height: 100px;
  }

  .result-screenshot {
    display: none;
  }

  .result-info {
    margin-left: 0px;
  }
}
