:root {
    --color-primary: #5c7cfa;
    --color-primary-dark: #4263eb;
    --color-primary-alpha: #5c7cfa50;

    --body-color: #495057;
    --body-bg: #f8f9fa;

    --border-color: #dee2e6;
}


/* @font-face {
    font-family: 'SmileySans';
    src: url('../font/SmileySans-Oblique.ttf.woff2') format('woff2');

}


body {
    font-family: 'SmileySans', sans-serif; 
} */


a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color .3s;
}

a:hover {
    color: #cb3636;
    text-decoration: none;
}

h1 {
    max-height: 10vh;
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    opacity: .2;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

h1 img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

main {
    flex: 1;
    /* flex-grow: 1; */
    max-width: 30rem !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    max-height: 80vh;
    /* margin-bottom: 30px; */
    /* margin-bottom: 10vh; */
    /* 调整底部间距，确保不被页脚遮挡 */
    /* overflow-y: auto;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 1px 1px 1px rgba(146, 146, 146, 0.1);
    opacity: .5;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
*/

}

main::-webkit-scrollbar {
    width: 8px;
}

main::-webkit-scrollbar-thumb {
    background-color: transparent;
}

main[x-cloak] {
    opacity: 0;
}

main:not([x-cloak]) {
    opacity: 1;
    transition: opacity .3s;
}

.input-p {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    padding: .5rem 1rem;
    margin-top: 5px;
    border: 1px solid var(--border-color);
    border-radius: .25rem;
    box-sizing: border-box;
    color: #33404d;
    line-height: inherit;
    font-size: 1rem;
    transition: border .3s, box-shadow .3s;
    flex: 1;
    margin-right: 1rem;
  }
  
  .input-p:focus {
    box-shadow: 0 0 0 .25rem var(--color-primary-alpha);
    border-color: var(--color-primary);
    outline: 0;
  }
  
  .input-container {
    display: flex;
    margin-bottom: 1rem;
  }
  
  
  .search-btn {
    flex-shrink: 0;
  }
  
  button {
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    /* width: 100%;
  margin-bottom: 2rem; */
    padding: .5rem .75rem;
    border: 1px solid var(--color-primary);
    border-radius: .25rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    user-select: none;
    transition: border .3s, background .3s, ;
  }
  
  button:hover {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
  }
  
  button:focus {
    box-shadow: 0 0 0 .25rem var(--color-primary-alpha);
    border-color: var(--color-primary);
    outline: 0;
  }
  
  button:disabled {
    background: var(--color-primary);
    border-color: var(--color-primary);
    opacity: .6;
    cursor: not-allowed;
  }
  
  button.loading::before {
    content: '';
    display: inline-block;
    margin-right: .5rem;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    width: .75rem;
    height: .75rem;
    animation: rotate .5s linear infinite;
  }
  @keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
  }
  
details {
    margin: 1rem 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: .25rem;
    transition: background .3s;
}

details[open] {
    background: #fff;
}

details summary {
    padding: .5rem 1rem;
    font-weight: 500;
    user-select: none;
    cursor: pointer;
    opacity: .8;
    outline: 0;
}

details div {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

details small {
    margin: 0;
    font-size: .875rem;
    line-height: 2;
}

.tip {
    max-height: 65vh;
    overflow-y: auto;
    padding: 1rem;
    /* border-top: 1px solid var(--border-color); */
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

/* Webkit浏览器（如Chrome和Safari）专用样式 */
.tip::-webkit-scrollbar {
    width: 8px;
}

.tip::-webkit-scrollbar-thumb {
    background-color: transparent;
}

footer {
    /* border-top: 1px solid var(--border-color); */
    width: 100%;
    background-color: #f5f5f5;
    z-index: 9999;
    position: fixed;
    bottom: 0;
    max-height: none;
    text-align: center;
}

footer p {
    margin: 10px;
    font-family: normal;
    font-size: 10px;
    color: #000000;
}

footer i {
    font-style: normal;
    color: #ff8787;
}

.icon {
    margin-left: 15px;
}

.icon img {
    width: 15px;
    height: 15px;
}

.fodong_tips {
    /*float:left;*/
    overflow: hidden;
    margin: 0 auto;
    height: 20px;
    width: 100%;
    line-height: 25px
}

.fodong_tips ul {
    padding: 0;
    margin: 0 10px;
    list-style: none
}

.fodong_tips li {
    list-style-type: none
}

.fodong_tips .font_zd {
    color: #fff;
    background: linear-gradient(-95deg, #FF813A, #FF3F3D 60%, #FF3D3D);
    box-shadow: 0 1px 4px rgba(255, 63, 61, 0.25);
    padding: 0 5px;
    font-size: 12px;
    line-height: 18px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: 1px;
    border-radius: 2px
}
.gh {
    margin-bottom: 5rem;
}