.footer__powered {
    display: none;
}

.footer__copyright::after {
    display: none !important;
}

.footer__notice {
    position: absolute;
    top: 50%;
    right: 0;
    margin: 0;
    transform: translateY(-50%);
}

.footer__notice a {
    display: flex;
    width: 110px;
    height: 84px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer__notice a .footer__icon {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    margin: 0;
}

.footer__notice a::after {
    width: 110px;
    height: 26px;
    flex: 0 0 26px;
    background: url("e-catalysis-logo-wordmark.svg") center / 154px 154px no-repeat;
    content: "";
}

.footer__notice a .footer__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-wechat__trigger {
    position: relative;
    z-index: 2;
}

.footer-wechat__popover {
    position: absolute;
    z-index: 10;
    bottom: calc(100% + 12px);
    left: var(--footer-wechat-popover-offset-x, 0);
    box-sizing: border-box;
    width: min(196px, calc(100vw - 48px));
    padding: 8px;
    visibility: hidden;
    border: 1px solid rgb(0 0 0 / 14%);
    border-radius: 6px;
    opacity: 0;
    background: #ffffff;
    box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
    pointer-events: none;
    transform: translateY(4px);
    transition:
        opacity 120ms ease-out,
        visibility 120ms ease-out,
        transform 120ms ease-out;
}

.footer-wechat__popover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.footer-wechat__trigger:focus-visible:not(.is-dismissed) .footer-wechat__popover,
.footer-wechat__trigger.is-open .footer-wechat__popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .footer-wechat__trigger:hover .footer-wechat__popover {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-wechat__trigger.is-dismissed .footer-wechat__popover {
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(4px) !important;
}

.lab-feedback {
    --lab-feedback-accent: #307fff;
    --lab-feedback-accent-hover: #1f64d7;
    --lab-feedback-background: var(--wh-color-bg-main, #ffffff);
    --lab-feedback-border: var(--wh-color-border-default, #d8dce5);
    --lab-feedback-muted: var(--wh-color-text-secondary, #5d6472);
    --lab-feedback-text: var(--wh-color-text-main, #1f2329);
    position: fixed;
    right: var(--lab-feedback-edge-offset, 0px);
    bottom: 21vh;
    z-index: 1000;
    color: var(--lab-feedback-text);
    font: 14px/1.5 Arial, "Microsoft YaHei", sans-serif;
}

.lab-feedback__trigger {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    width: 36px;
    height: 120px;
    min-width: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px 0 0 10px;
    color: #ffffff;
    background: var(--lab-feedback-accent);
    box-shadow: 0 8px 24px rgba(31, 35, 41, 0.18);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 6px;
    text-orientation: upright;
    white-space: nowrap;
    writing-mode: vertical-rl;
}

.lab-feedback__trigger:hover,
.lab-feedback__trigger:focus-visible {
    background: var(--lab-feedback-accent-hover);
}

.lab-feedback__panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 24px;
    border: 1px solid var(--lab-feedback-border);
    border-radius: 10px;
    background: var(--lab-feedback-background);
    box-shadow: 0 16px 48px rgba(31, 35, 41, 0.2);
}

.lab-feedback__panel[hidden] {
    display: none;
}

.lab-feedback--open .lab-feedback__trigger {
    display: none;
}

.lab-feedback__close {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 4px 8px;
    border: 0;
    color: var(--lab-feedback-muted);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 24px;
    line-height: 1;
}

.lab-feedback__title {
    margin: 0 32px 16px 0;
    color: var(--lab-feedback-text);
    font-size: 18px;
    line-height: 1.4;
}

.lab-feedback__form,
.lab-feedback__content {
    display: grid;
    gap: 12px;
}

.lab-feedback__textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 120px;
    padding: 10px 12px;
    resize: vertical;
    border: 1px solid var(--lab-feedback-border);
    border-radius: 6px;
    color: var(--lab-feedback-text);
    background: var(--lab-feedback-background);
    font: inherit;
}

.lab-feedback__textarea:focus {
    border-color: var(--lab-feedback-accent);
    outline: 2px solid color-mix(in srgb, var(--lab-feedback-accent) 25%, transparent);
    outline-offset: 1px;
}

.lab-feedback__error {
    margin: 0;
    font-size: 12px;
    color: #c33b32;
}

.lab-feedback__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.lab-feedback__actions--question {
    justify-content: flex-start;
}

.lab-feedback__button {
    min-height: 36px;
    padding: 7px 16px;
    border: 1px solid var(--lab-feedback-accent);
    border-radius: 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.lab-feedback__button--primary {
    color: #ffffff;
    background: var(--lab-feedback-accent);
}

.lab-feedback__button--primary:hover:not(:disabled),
.lab-feedback__button--primary:focus-visible {
    background: var(--lab-feedback-accent-hover);
}

.lab-feedback__button--secondary {
    color: var(--lab-feedback-accent);
    background: transparent;
}

.lab-feedback__button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.lab-feedback--success .lab-feedback__title {
    margin-bottom: 0;
}

.lab-feedback button:focus-visible,
.lab-feedback a:focus-visible {
    outline: 2px solid var(--lab-feedback-accent);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .footer__notice {
        position: static;
        flex: 0 0 110px;
        margin-left: auto;
        transform: none;
    }

    .lab-feedback__panel {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        box-sizing: border-box;
        width: auto;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lab-feedback__panel {
        animation: lab-feedback-enter 150ms ease-out;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-wechat__popover {
        transition: none;
    }
}

@keyframes lab-feedback-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
