/* time: 20251231073916 */

#hero {
  padding: 0 !important;
  min-height: 48px;
  font-size: 0;
  overflow: hidden;
}

#hero video,
#hero img {
  width: 100%;
  object-fit: cover;
}

#hero video {
  aspect-ratio: 16/9;
}

#hero img {
  aspect-ratio: 256/125;
  transform: scale(1.6);
  opacity: .3;
  transition: all .6s ease;
}

#hero img.ready {
  transform: scale(1);
  opacity: 1;
}

.app-card {
  display: flex;
  padding-block: var(--gap);
}

.app-card p {
  margin-block: 2px;
  font-size: 12px;
  color: #555;
}

.app-card .app-icon {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.app-card .app-icon[svr]::before {
  content: attr(svr);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 16px 0;
  padding: 2px 8px;
  font-size: 12px;
  background: rgba(222, 255, 222, .9);
  color: #393;

}
.app-card .app-icon[svr=""]::before {
  display: none;
}

.app-card .app-icon:has(.ready) {
  box-shadow: 0 0 var(--gap) #666;
}

.app-icon img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  transform: scale(1.6);
  transition: all .6s ease-out;
}

.app-icon img.ready {
  transform: scale(1);
  outline: solid 1px rgba(222, 222, 222, .2);
}

.app-card .app-info {
  padding: 0 var(--gap);
  flex: 1;
}

.app-card .app-name {
  font-size: 16px;
  line-height: 1.2;
  font-weight: normal;
}

@media (min-width:481px) {
  .app-card .app-name {
    font-size: 18px;
  }
}
.app-card .app-svr {
  display: inline-block;
  padding: 2px 4px;
  border-radius: 6px;
  background: rgba(222, 255, 222, .8);
  color: #393;
  font-size: .85em;
}
.app-card .app-svr:empty {
  display: none;
}

#hero+.app-card {
  margin-top: 0 !important;
  position: relative;
  transform: translate(0px, calc(-16px - var(--gap)));
  padding-bottom: 0;
}
#main .app-card:has(+ #bread) {
  margin-bottom: 0;
}

#hero+.app-card+section,
#hero+.app-card+div {
  margin-top: calc(-16px - var(--gap));
}

#hero+.app-card .app-name {
  margin: 20px 0px calc(var(--gap) / 4);
}

@media (min-width: 481px) {
  #hero+.app-card .app-name {
    margin-top: 24px;
  }
}

.app-card .developer {
  display: inline-block;
  padding-block: 2px;
  font-size: 12px;
  line-height: 1.1;
}

.app-card .misc {
  margin-top: -2px;
}
.app-card .btn-quick-link {
  float: right;
  padding: 4px var(--gap);
  margin-top: -4px;
  font-size: 16px;
  border-radius: 3px;
  color: #fff;
  background: #2552f6;
  text-shadow: 0 0 1px #000;
}
.app-card .btn-topup {
  float: right;
  padding: 4px var(--gap);
  margin-top: -4px;
  font-size: 16px;
  border-radius: 3px;
  color: #fff;
  background: var(--primary-color);
  text-shadow: 0 0 1px #000;
}

.content-rating {
  display: none;
}
.content-rating[rating] {
  display: inline-block;
  margin-right: 4px;
  position: relative;
  top: 2.5px;
  width: 1em;
  height: 1em;
  line-height: 1em;
  text-align: center;
  overflow: hidden;
  background: #393;
  color: #fff;
}

.content-rating[rating]::before {
  content: attr(rating);
  display: inline-block;
  font-size: 12px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.content-rating[rating="12"] {
  background: #35b;
}

.content-rating[rating="13"],
.content-rating[rating="14"],
.content-rating[rating="15"],
.content-rating[rating="16"] {
  background: #fa0;
}

.content-rating[rating="17"],
.content-rating[rating="18"],
.content-rating[rating="19"] {
  background: #e11;
}


.tags {
  display: flex;
  overflow-x: auto;
}

.tag {
  display: inline-block;
  text-wrap: nowrap;
  transition: all .4s ease;
}

a.tag:hover {
  transform: scale(1.15);
}

.tags .tag {
  margin: 4px;
  padding: 4px;
  border-radius: 3px;
  background: #fafafa;
  border: solid 1px #fff;
  font-size: 12px;
}

.tags .tag::before {
  content: '#'
}

.description details {
  font-size: 13px;
  margin-block: 10px;
  color: #333;
}

.desc-short {
  cursor: auto;
  font-style: italic;
  word-break: break-all;
}

.description details:not([open]) summary {
  text-decoration: underline;
}

.description details:not([open]) summary::after {
  content: '...';
}

.desc-full {
  word-wrap: break-word;
  max-height: 160px;
  overflow-y: auto;
  margin: 8px 0;
  padding: 8px;
  background: #fafafa;
  border-radius: 6px;
}

.desc-full::before {
  content: "❝";
  float: left;
  margin: -4px 4px -4px -4px;
  font-size: 24px;
  line-height: 1;
  color: #bbb;
}

.screenshots {}

.screenshots ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  list-style: none;
  margin-block: 6px;
  padding: 5px 3px;
  background: #fafafa;
  border-radius: 6px;
}

.screenshots li {
  margin-inline: 2px;
  height: 144px;
}

.screenshots li a {
  line-height: 1;
  font-size: 0;
}

.screenshots img {
  display: block;
  max-width: unset;
  height: 144px;
  width: auto !important;
  min-width: 72px;
  background: #eee;
  border-radius: 4px;
}

.have-requested[apk-ready="false"] .btn-request-apks {
  background: #aaa;
  pointer-events: none;
}
.have-requested[apk-ready="false"] .btn-request-apks:hover {
  box-shadow: none;
}

.shown-if-requested {
  display: none;
  color: #555;
}
.have-requested[apk-ready="false"] .shown-if-requested {
  display: block;
}

[should-update="true"] .btn-download {background: #888;}
