@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/Figtree-400.woff2") format("woff2");
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("./fonts/Figtree-500.woff2") format("woff2");
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("./fonts/Figtree-700.woff2") format("woff2");
}
body {
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    background-color: #043bc8;
    color: #ffffff;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection {
    background: #043bc8;
    color: #ffffff;
    text-shadow: none;
}

::-moz-selection {
    background: #043bc8;
    color: #ffffff;
    text-shadow: none;
}
::-webkit-scrollbar {
    display: none;
}
.search-focus:focus-within {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
#search-input {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
    -webkit-touch-callout: default !important;
    font-weight: 500;
}

#search-input::selection {
    background: #043bc8 !important;
    color: #ffffff !important;
}

#search-input::-moz-selection {
    background: #043bc8 !important;
    color: #ffffff !important;
}

.search-focus {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
}

.search-focus * {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* 强制所有输入框可选中 */
input,
textarea,
[contenteditable] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
}
.footer-link {
    border-bottom: 1px solid #ffffff;
    transition: border-color 0.2s;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.025em;
    padding-bottom: 0.125rem;
    width: fit-content;
}
.footer-link:hover {
    border-color: transparent;
}
.header-logo {
    padding: 64px 0 0 64px;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.corner-monster-card {
    --corner-monster-cream: #ffffff;
    width: 240px;
    max-width: 240px;
    color: #000;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    align-self: flex-end;
    margin: 10px 0;
}
.corner-monster-card__face {
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.corner-monster-card__eye {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--corner-monster-cream);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.corner-monster-card__eye + .corner-monster-card__eye {
    margin-left: 4px;
}
.corner-monster-card__pupil {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: #000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}
.icon-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}
.icon-btn:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.icon-btn > div {
    transition: transform 0.2s;
}
.icon-btn:hover > div {
    transform: scale(1.1);
}

/* 导航图标图片 */
.nav-icon-img {
    width: 2.125rem;
    height: 2.125rem;
}
@media (max-width: 640px) {
    .header-logo {
        padding: 64px 0 0 64px;
    }
    footer {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 32px;
    }
    .corner-monster-card {
        width: 160px;
        min-width: 160px;
        margin-top: 16px;
    }
    .corner-monster-card__face {
        height: 73px;
    }
    .corner-monster-card__eye {
        width: 73px;
        height: 73px;
        flex-shrink: 0;
    }
    .corner-monster-card__pupil {
        width: 27px;
        height: 27px;
    }
    .nav-icons-row {
        display: none;
    }
    .main-content {
        padding-bottom: 20px;
    }
    .search-focus {
        min-height: 3.5rem;
    }
}
@media (max-width: 480px) {
    .header-logo {
        padding: 20px 0 0 16px;
    }
    .main-content {
        padding-top: 16px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
    }
    #greeting {
        font-size: 2.25rem !important;
        line-height: 1.1 !important;
    }
}
@media (max-height: 600px) {
    .header-logo {
        padding-top: 16px;
    }
    .main-content {
        padding-top: 20px;
    }
    #greeting {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }
    .flex.flex-col.space-y-8 {
        gap: 1rem;
    }
    .flex.flex-col.space-y-12 {
        gap: 1.5rem;
    }
}
@media (max-height: 400px) {
    .header-logo {
        padding-top: 12px;
    }
    .main-content {
        padding-top: 12px;
    }
    #greeting {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem;
    }
    .flex.flex-col.space-y-8 {
        gap: 0.5rem;
    }
    .flex.flex-col.space-y-12 {
        gap: 0.75rem;
    }
    footer {
        padding-bottom: 16px;
    }
}
