.hot-row .hot-card {
    flex: 0 0 min(76vw, 280px);
    width: min(76vw, 280px);
    max-width: min(76vw, 280px);
    overflow: hidden;
}

.hot-row .catalog-open,
.hot-row .card-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-link {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.header-link:hover {
    background: var(--charcoal);
    color: #fff;
}

.reader-toolbar button,
.reader-contact {
    white-space: nowrap;
}

.reader-contact {
    justify-self: end;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.reader-toolbar .reader-contact {
    justify-self: end;
}

.reader-contact:hover {
    text-decoration: underline;
}

.wechat-share-guide {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: start center;
    padding: max(92px, env(safe-area-inset-top)) 20px 24px;
    background: rgba(37, 42, 40, 0.76);
}

.wechat-share-arrow {
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    right: 18px;
    color: #fff;
    font-size: 54px;
    line-height: 1;
    transform: rotate(-12deg);
}

.wechat-share-panel {
    position: relative;
    width: min(100%, 420px);
    padding: 30px 24px 24px;
    border-radius: 18px;
    background: var(--paper);
    color: var(--charcoal);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.wechat-share-panel > span {
    color: var(--muted);
    font-size: 13px;
}

.wechat-share-panel > strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
    overflow-wrap: anywhere;
}

.wechat-share-panel > p {
    margin: 18px 0 22px;
    line-height: 1.7;
}

.wechat-share-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .category-tabs {
        position: static;
        flex-wrap: wrap;
        overflow: visible;
        background: none;
    }

    .category-tabs a,
    .category-tabs .favorites-tab {
        flex: 0 1 auto;
        max-width: 100%;
        height: auto;
        min-height: 44px;
        padding: 10px 16px;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        justify-content: center;
    }

    .admin-header nav > a.admin-filing-link {
        display: inline-flex;
    }
}

.filing-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 8px;
}

.filing-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: inherit;
    text-decoration: none;
}

.filing-links a:hover {
    text-decoration: underline;
}

.filing-links img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.filing-form form {
    margin-top: 22px;
}
