/* time: 20251231073916 */

:root {
    --gap: 8px;
    --root-bg-img: none;
    --primary-color: #35e149;
    --warn-color: #f60;
    --max-content-width: 728px;
}

@media (min-width:481px) {
    :root {
        --gap: 16px;
    }
}

* {
    box-sizing: border-box;
}

@view-transition {
  navigation: auto;
}

html {
    font-family: system-ui, Arial;
    font-size: 14px;
    background-position: top center;
    background-color: #222;
    background-image: var(--root-bg-img);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 100px);
    z-index: -1;
    background: rgba(22, 22, 22, .77);
    /*backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);*/
}
html::after {
    content: '';
    position: fixed;
    z-index: 999;
    top: 1px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-color);
    transition: width 2.5s ease-out;
}
html.bye {
    background-image: none;
}
html.bye::after {
    width: 99%;
    box-shadow: 0 0 6px 2px var(--primary-color);
}

body {
    margin: 0;
    min-height: 100vh;
    transition: opacity 2s ease-out;
    accent-color: var(--primary-color);
}
.bye body {
    opacity: .66;
}
.in-xapk-installer .hide-in-xapk-installer,
.in-apkz-app .hide-in-apkz-app {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-block: 5px;
}

img,
video,
iframe {
    max-width: 100%;
}

input,
select,
textarea {
    font: inherit;
    color: inherit;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
a.active {
    color: var(--primary-color) !important;
}
a[href^="market:"] {
    text-decoration: underline;
}

[href] {
    touch-action: manipulation;
}

ins {
    text-decoration: none;
}

mark {
    color: inherit;
}

small {
    font-weight: normal;
}

font {
    font-size: inherit;
    font-weight: normal;
    color: inherit;
}

.warn {
    color: var(--warn-color);
}

.warn::before {
    content: '⚠    ';
}

.warn a {
    text-decoration: underline;
}

.txt-ellipsis {
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.txt-center {
    text-align: center;
}
.wbbw {
    word-break: break-word;
}

.icon-star,
.icon-download {
    display: inline-block;
    margin-right: 10px;
}

.icon-star:empty,
.icon-download:empty {
    display: none;
}

.icon-star::before,
.icon-download::before {
    display: inline-block;
    margin-right: 2px;
    vertical-align: bottom;
}

.icon-star::before {
    content: '★';
}

.icon-download::before {
    content: '↓';
    position: relative;
    border-bottom: 2px solid currentColor;
    top: -1px;
    font-weight: bold;
    font-size: .8em;
    line-height: 1;
}

.btn-share {
    display: none;
    min-width: 34px!important;
    padding: 7px 8px!important;
    background: #fff!important;
}
.btn-share::before {
    content: '';
    display: inline-block;
    position: relative;
    top: 1px;
    width: 1em;
    height: 1em;
    background: url(/asset/share.svg) no-repeat 0 0;
    background-size: cover;
}

[apk-ready="true"] .update-trigger {
    cursor: pointer;
}
[apk-ready="true"] .update-trigger::after {
    content: ' 🔄 ';
    display: inline-block;
    color: #363;
    background: rgba(222, 255, 222, .77);
    border-radius: 4px;
    padding: 1px 4px;
    font-size: 11px;
    margin-left: 4px;
    border: 1px solid currentColor;
}
[lang^="zh"] [apk-ready="true"] .update-trigger::after {
    content: '🔄 催更';
}

#main {
    max-width: var(--max-content-width);
    min-height: calc(100vh - 160px);
    margin: 0 auto;
    padding-bottom: 1px;
    background: rgba(255, 255, 255, .88);
}

#main>section {
    padding-inline: var(--gap);
}

#main>section:not(:first-child) {
    margin-block: 16px;
}


#bread {
    display: flex;
    margin-block: 0 var(--gap);
    padding: 8px;
    font-size: 13px;
    border-block: 1px solid #ddd;
    background: #fff;
}
/*[adu] + #bread {
    margin-block: var(--gap);
}*/

#bread a {
    display: inline-block;
    padding: 5px;
    max-width: calc(100% - 100px);
    line-height: 1;
}

#bread .sepa {
    display: inline-block;
    padding: 5px 0;
    color: #666;
    line-height: 1;
}

div[adu] {
    max-width: 100%;
    min-height: 90px;
    text-align: center;
    background: #fafafa;
}
[noad] div[adu],
div[adu]:has([data-ad-status="unfilled"]) {
    position: relative;
}
div[adu]:has([data-ad-status="filled"]) {
    height: auto;
    background: none;
}
[noad] div[adu] > ins,
ins[data-ad-status="unfilled"] {
    display: none!important;
}
[noad] div[adu]::before,
div[adu]:has([data-ad-status="unfilled"])::before {
    content: attr(placeholder);
    display: block;
    width: 100%;
    height: 90px;
    color: #ccc;
    font-size: 24px;
    text-align: center;
    line-height: 90px;
}
[noad] div[adu]::after,
div[adu]:has([data-ad-status="unfilled"])::after {
    content: 'AD';
    position: absolute;
    top: 0;
    right: 0;
    padding-inline: 4px;
    color: #3ac;
    font-size: 12px;
}

div[adu]:first-child,
div[adu]:last-child {
    margin-inline: auto;
}

div[adu="infeed_ad"] {
    margin: 16px var(--gap);
    border-radius: 6px;
    background: #fff;
}


fieldset {
  margin-inline: 0;
  padding: var(--gap);
  border-radius: 6px;
  border-color: #fafafa;
  font-size: 13px;
  line-height: 1.5;
}

fieldset legend {
  font-size: 16px;
}



@media (min-width: 640px) {
    [qr] {
        min-height: 130px;
        background: var(--qr-img) no-repeat top right;
        background-size: 120px;
    }
}

.actions {
  display: flex;
  flex-wrap: wrap;
}
.in-quark .actions,
.alternate-first .actions {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.in-quark .btn-primary,
.alternate-first .btn-primary {
  opacity: .9;
}
.in-quark .lnk-alternate,
.alternate-first .lnk-alternate {
  background: #2552f6;
  opacity: 1 !important;
  color: #fff;
  text-shadow: 0 0 1px #000;
  box-shadow: none;
}

.btn-primary {
  font-size: 18px;
  line-height: 1;
  text-align: center;
  margin: 8px;
  padding: 8px 16px;
  background: var(--primary-color);
  color: #fff;
  min-width: 120px;
  border-radius: 4px;
  box-shadow: 0 0 4px #ccc;
  text-shadow: 0 0 1px #000;
}

.btn-secondary {
  font-size: 18px;
  line-height: 1;
  text-align: center;
  margin: 8px;
  padding: 8px 16px;
  background: none;
  min-width: 120px;
  border-radius: 4px;
  box-shadow: 0 0 4px currentColor;
}

.btn-primary:empty,
.btn-secondary:empty {
  min-width: auto;
  padding: 8px;
}

.btn-primary:hover {
  box-shadow: 0 0 8px var(--primary-color);
}


.related-apps {}

.app-list {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    margin: 0;
    padding: 6px 2px;
    list-style: none;
}
.app-list li {
    width: 96px;
    flex: 0 0 96px;
    text-align: center;
    font-size: 12px;
    background: #fff;
    color: #333;
    border-radius: 6px;
    margin-inline: 2px 6px;
    padding: 8px;
    overflow: hidden;
    transition: all .3s ease-in;
}
/*.app-list:hover li {
    opacity: .6;
    background: #aaa;
    color: #666;
}*/
.app-list li:hover {
    opacity: 1;
    background: #fff;
    color: #333;
    box-shadow: 0 0 6px #666;
}
.app-list a {
    color: inherit;
}
.app-list img {
    width: 80px;
    aspect-ratio: 1;
    display: block;
    background: #eee;
    border-radius: 6px;
    transition: all .3s ease;
}
.app-list li:hover img {
    transform: scale3d(1.2, 1.2, 1);
    border-radius: 0;
}
.app-list p {
    text-align: left;
}
.app-list .ratings {
    color: #666;
}
.app-list .app-item {
    position: relative;
}
.app-list .app-item[svr]::before {
    content: attr(svr);
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    font-size: 10px;
    background: rgba(222, 255, 222, .77);
    color: #363;
    border-radius: 6px 0;
    padding: 0 3px;
}

#ft {
    max-width: var(--max-content-width);
    margin: auto;
    padding: 16px 8px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

nav.about a {
    color: inherit;
    margin: .5em;
}

nav.cates {
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
}
nav.cates .cate {
    margin-inline: 8px;
    padding: 4px;
    opacity: .6;
}
nav.cates .cate:hover {
    opacity: 1;
}


.notification-denied-shown {
    display: none;
}

.notification-denied .warn-notification {
    display: none;
}

.notification-denied .notification-denied-shown {
    display: block;
}

dialog {
    width: 80%;
    max-width: 360px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 0 8px #888;
    padding: 10px;
    font-size: 13px;
}

dialog::backdrop {
    background: rgba(0, 0, 0, .7);
}

dialog header {
    font-size: 16px;
    font-weight: bold;
}

dialog main {
    margin-block: 10px;
    padding: 10px;
    color: #222;
    min-height: 90px;
    background: #eee;
    border-radius: 6px;
}

dialog main:first-child {
    margin-top: 0;
}

dialog main:last-child {
    margin-bottom: 0;
}

dialog footer {
    display: flex;
    justify-content: space-around;
}

dialog .btn-cancel,
dialog .btn-confirm {
    display: inline-block;
    padding: 8px;
    border: solid 1px var(--primary-color);
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

dialog .btn-cancel {
    border-color: #999;
    color: #666;
}

dialog .btn-confirm {
    background-color: var(--primary-color);
    color: #fff;
}

dialog a:focus {
    outline: none;
}

[popover] {
    width: 80%;
    max-width: 360px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 0 8px #888;
    padding: 10px;
    font-size: 13px;
}

[popover]::backdrop {
    background: rgba(0, 0, 0, .3);
}

.toast[popover] {
    width: fit-content;
    border-radius: 3em;
    background: rgba(0, 0, 0, .66);
    color: #fff;
    text-align: center;
    opacity: 1;
    transition: opacity 2s ease;
    outline: none;
}

.toast[popover]::backdrop {
    display: none;
}

.toast.fade-out[popover] {
    opacity: 0;
    transition: opacity 2s ease;
}

@-webkit-keyframes rotating {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

#loading {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: dotted 8px var(--primary-color);
    background: none;
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
}
body #loading {
    background: url(/asset/apkz.svg) no-repeat 50% 50%;
    background-size: 100% 100%;
    border: none;
    outline: solid 2px var(--primary-color);
}

#loading::backdrop {
    background: rgba(0, 0, 0, .2);
}
body #loading::backdrop {
    background: rgba(0, 0, 0, .4);
}
