html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: rgba(var(--zoo-body-bg-color));
}

:root {
    --zoo-color: 18, 36, 165;
    --zoo-black-color: 0, 0, 0;
    --zoo-body-bg-color: 240, 242, 245;
    --zoo-card-bg-color: 255, 255, 255;
    --zoo-hover-bg-color: 241, 242, 243;
}

*,
::after,
::before {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
button,
input,
select,
textarea {
    margin: 0;
    padding: 0;
}

a,
a:hover,
a:active {
    outline: none;
    text-decoration: none;
}

a:hover {
    color: rgba(var(--zoo-color));
}

a {
    color: rgba(var(--zoo-black-color));
}

img {
    border: none;
}


input,
input:focus,
select,
select:focus,
textarea,
textarea:focus {
    outline: none;
    border: 0;
}

button {
    background: unset;
    border: 0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

button:focus-visible,
button:focus {
    outline: 0;
}

ul,
li,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 4px;
    transition: background .3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--zoo-color));
}

::-webkit-scrollbar-thumb:active {
    background: rgba(var(--zoo-color));
}
.zoo-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
header {
    position: sticky;
    top: 0;
    background: rgba(var(--zoo-card-bg-color));
    z-index: 999;
    box-shadow: 0px -2px 10px 1px rgba(0, 0, 0, 0.05);
}
.zoo-head {
    display: flex;
    align-items: center;
    min-height: 50px;
}

.zoo-head-logo h1 {
    margin: 0;
    padding: 0;
    letter-spacing: 3px;
    display: flex;
}
.zoo-head-logo h1 a{
    color: rgba(var(--zoo-black-color));
}
.zoo-head-center{
    flex: 1;
}
.zoo-head-menu {
    display: flex;
}
.zoo-head-menu div{
    margin-left: 10px;
}
/*
 * ------------------------------------------------------------------------------
 * 主要内容
 * ------------------------------------------------------------------------------
 */
 main{
     margin-bottom: 45px;
 }
/*
 * ------------------------------------------------------------------------------
 * 搜索
 * ------------------------------------------------------------------------------
 */
.zoo-search {
    display: flex;
    position: relative;
    width: 100%;
    padding: 70px 0 50px;
    justify-content: center;
}

.zoo-search-box {
    display: flex;
    flex: 1;
    max-width: 850px;
    height: 55px;
    background: rgba(var(--zoo-card-bg-color), .6);
    backdrop-filter: blur(12px);
    align-items: center;
    border-radius: 8px;
    z-index: 1;
}

.zoo-search-select {
    display: flex;
    width: 28px;
    height: 28px;
    cursor: pointer;
    position: relative;
    margin: 2px 16px;
    justify-content: center;
    align-items: center;
}

.zoo-search-select img {
    width: 100%;
    height: 100%;
}

.zoo-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: rgba(var(--zoo-black-color));
    margin: 0 8px;
    min-width: 0;
    width: 100%;
}

.zoo-search-input::placeholder {
    color: rgba(var(--zoo-black-color), .6);
}

.zoo-search-clear {
    display: flex;
    width: 40px;
    cursor: pointer;
    transform: scale(0);
    transition: all 0.2s ease;
    justify-content: center;
    align-items: center;
}

.zoo-search-clear.show {
    transform: scale(1);
}

.zoo-search-clear i {
    color: rgba(var(--zoo-black-color));
}

.zoo-search-submit {
    display: flex;
    width: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.zoo-search-submit i {
    font-size: 22px;
    font-weight: 500;
    color: rgba(var(--zoo-black-color));
}

.engine-panel {
    position: absolute;
    padding: 8px;
    z-index: 999;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    background: rgba(var(--zoo-card-bg-color));
    backdrop-filter: blur(12px);
    margin-top: 5px;
    border-radius: 8px;
    box-shadow: 0px -2px 10px 1px rgba(0, 0, 0, 0.05);
}

.engine-panel.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.engine-panel-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.engine-item {
    display: flex;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.engine-item-img {
    display: flex;
    cursor: pointer;
    width: 36px;
    height: 36px;
    background-color: rgba(var(--zoo-hover-bg-color));
    border-radius: 4px;
    justify-content: center;
    align-items: center;
}

.engine-item-img img {
    width: 20px;
    height: 20px;
}

.engine-item-name {
    display: flex;
    font-size: 11px;
    color: rgba(var(--zoo-black-color), .6);
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}

.suggest-list {
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    background: rgba(var(--zoo-card-bg-color));
    backdrop-filter: blur(12px);
    border-radius: 8px;
    z-index: 999;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.22s ease;
}

.suggest-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.suggest-item {
    padding: 10px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.18s ease;
    color: rgba(var(--zoo-black-color));
}

.suggest-item:hover {
    background: rgba(var(--zoo-hover-bg-color));
}

.suggest-item.active {
    background: rgba(var(--zoo-hover-bg-color));
}

    /*网址*/
.zoo-site {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.zoo-site-item {
    position: relative;
    width: 10%;
    padding: 5px;
}


.zoo-site-item-wrap {
    display: flex;
    position: relative;
    text-align: center;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    overflow: hidden;
    padding: 30px 0 15px 0;
    background: rgba(var(--zoo-card-bg-color));
}

.zoo-site-item-wrap:after {
    content: '';
    position: absolute;
    height: 70px;
    width: 150px;
    background: rgba(247, 247, 247);
    bottom: 0;
    left: 50%;
    border-radius: 100%;
    transform: translate(-50%, 50%);
}

.zoo-site-img {
    width: 38px;
    height: 38px;
    position: relative;
}

.zoo-site-img:before {
    content: '';
    position: absolute;
    height: 43px;
    width: 43px;
    background: rgba(var(--zoo-hover-bg-color));
    top: 50%;
    left: 50%;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: width 0.6s ease, height 0.6s ease;
}

.zoo-site-img img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    border-radius: 100%;
}

.zoo-site-info {
    z-index: 1;
    flex: 1;
    width: 100%;
}

.zoo-site-title {
    font-size: 12px;
    color: rgba(var(--zoo-black-color));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
}

.zoo-site-item a:hover .zoo-site-img:before {
    width: 200px;
    height: 200px;
}
/*软件*/

.zoo-soft {
    display: flex;
    flex-direction: column;
}
.zoo-soft-cat {
    margin-top: 20px;
}
.zoo-soft-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.zoo-soft-cat-title {
    font-size: 20px;
}
.zoo-soft-cat-desc {
    color: rgba(var(--zoo-black-color), .5);
    font-size: 14px;
}
.zoo-soft-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.zoo-soft-item {
    position: relative;
    width: 20%;
}

.zoo-soft-item:hover {
    z-index: 10;
}

.zoo-soft-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgba(var(--zoo-card-bg-color));
    border-radius: 8px;
    margin: 7px;
    transition: all .3s ease;
    box-sizing: border-box;
}

.zoo-soft-content:hover .zoo-soft-body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
    overflow: unset;
}
.zoo-soft-content:hover {
    opacity: 1;
    border-radius: 8px 8px 0 0 ;
    z-index: 999;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}

.zoo-soft-content::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(113, 74, 252, .12),
            transparent 40%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    border-radius: 12px;
}


.zoo-soft-content:hover::before {
    opacity: 1;
}

.zoo-soft-content:hover {
    transform: translateY(-2px);
}


/* 头部 */
.zoo-soft-header {
    display: flex;
    padding: 8px;
    align-items: center;
    cursor: pointer;
}


/* 软件图标 */
.zoo-soft-img {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    margin-right:5px;
}


.zoo-soft-img img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}


.zoo-soft-content:hover .zoo-soft-img img {
    transform:scale(1.08);
}


/* 软件信息 */
.zoo-soft-info {
    flex:1;
    width:0;
}

.zoo-soft-title-ver {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.zoo-soft-title {
    font-size:13px;
    line-height:1.5;
    font-weight: 600;
}
.zoo-soft-ver {
    font-size: 10px;
    line-height: 1.5;
    color: #999999;
}


/* 标签 */
.zoo-soft-tag {
    display:flex;
    color: #999999;
}


.zoo-soft-tag span {
    font-size:10px;
    line-height:18px;
    display:block;
    margin-right:5px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}


.zoo-soft-tag span i {
    font-size:10px;
    margin-right:2px;
}


.zoo-soft-time {
    flex:1;
    text-align:right;
}


/* 内容 */
.zoo-soft-body {
    z-index: 999;
    position: absolute;
    left: 0;
    top: calc(100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, max-height 0.5s ease;
    background: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 0 0 8px 8px;
}


/* 网盘 */
.zoo-soft-down {
    display:flex;
    align-items:center;
    background-color:rgba(000,000,000,.04);
    margin-bottom:6px;
    border-radius:4px;
    padding:8px;
    position:relative;
}



/* 网盘logo */
.zoo-soft-down-img {
    width:24px;
    height:24px;
    flex-shrink:0;
}


.zoo-soft-down-img img {
    width:100%;
    height:100%;
    object-fit:contain;
}


/* 网盘名称 */
.zoo-soft-down-title {
    flex:1;
    margin:0 8px;
    font-size:12px;
    display:flex;
    align-items:center;
}


/* 下载按钮 */
.zoo-soft-down-link {
    padding-right:5px;
    border-right:1.5px solid rgba(000,000,000,.04);
    margin-right: 5px;
}


.zoo-soft-down-link a {
    transition:all .25s ease;
}


/* 二维码 */
.zoo-soft-down-qr {
    position:relative;
}


.zoo-soft-down-qr i {
    cursor:pointer;
}


.zoo-soft-down-qr:hover .zoo-soft-down-phone {
    display:inline;
}


.zoo-soft-down-phone {
    display:none;
    position:absolute;
    padding:8px;
    background:#000;
    bottom:-8px;
    left:50%;
    transform:translate(-50%,100%);
    filter:drop-shadow(hsla(210,80%,55%,.2) 0 6px 15px);
    border-radius:8px;
    box-shadow:0 4px 20px rgba(0,0,0,.2);
    z-index:100;
}


.zoo-soft-down-phone:before {
    content:'';
    border-width:6px;
    border-style:solid;
    border-color:transparent transparent #000;
    position:absolute;
    left:50%;
    top:-12px;
    margin-left:-6px;
}


/* 二维码 */
.zoo-soft-dp-content {
    width:120px;
    height:120px;
    padding:6px;
    background:#fff;
    border-radius:8px;
}


.zoo-soft-dp-content img {
    width:100%;
    height:100%;
    object-fit:contain;
}
/*编辑*/
.zoo-soft-edit {
    background: rgba(13, 110, 253, .08);
    color: #4285f4;
    margin: 0 8px 8px;
    border-radius: 4px;
}
.zoo-soft-edit a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 5px;
    letter-spacing: 3px;
}
/*未从KDMAO跳转*/
.zoo-no-kdmao-title{
    font-size: 11px;
    text-align: center;
    flex: 1;
}
/*悬浮搜索框*/
.zoo-soft-search {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 9999;
}
.zoo-soft-search-box {
    display: flex;
    padding: 10px 10px;
    background: rgba(var(--zoo-card-bg-color));
    border-radius: 8px 8px 0 0;
    align-items: center;
    box-shadow: 0px -2px 10px 1px rgba(0, 0, 0, 0.05);
}
.zoo-soft-search-input{
    margin-right: 2px;
}
.zoo-soft-search-input input {
    font-size: 14px;
    height: 20px;
    background: rgba(000, 000, 000, .04);
    padding: 12px 4px;
    border-radius: 4px;
    min-width: 150px;
    width: 0;
}
.zoo-soft-search-actions {
    display: flex;
    align-items: center;
}
.zoo-soft-search-counter {
    display: flex;
    font-size: 12px;
    background: rgba(000, 000, 000, .04);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
    margin: 0 2px;
    height: 24px;
    align-items: center;
    min-width: 44px;
    justify-content: center;
}
.zoo-soft-search-nav {
    display: flex;
}
.zoo-soft-search-nav button,.zoo-soft-search-btn,.zoo-soft-search-close {
    font-size: 12px;
    background: rgba(000, 000, 000, .04);
    padding: 4px 4px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
    margin: 0 2px;
    min-width: 32px;
    text-align: center;
    height: 24px;
}
.highlight-match {
    font-weight: 600;
    color: #000aff;
}