:root {
    --yy-ease-out: cubic-bezier(.16, 1, .3, 1);
    --yy-ease-spring: cubic-bezier(.34, 1.32, .64, 1);
    --yy-blue: #0a84ff;
    --yy-blue-soft: rgba(10, 132, 255, .11);
    --yy-surface: rgba(255, 255, 255, .84);
    --yy-surface-strong: #fff;
    --yy-border: rgba(15, 23, 42, .09);
    --yy-text-muted: #64748b;
    color-scheme: light dark;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body.yy-app-shell {
    min-width: 0;
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 88% -10%, rgba(10, 132, 255, .08), transparent 34rem),
        #f7f8fa;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.yy-public-auth {
    min-height: 100dvh;
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 50% -10%, rgba(10, 132, 255, .11), transparent 30rem),
        #f7f8fa;
    -webkit-font-smoothing: antialiased;
}

.yy-auth-card {
    border: 1px solid var(--yy-border);
    background: var(--yy-surface) !important;
    border-radius: 22px !important;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .1) !important;
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    animation: yy-auth-card-in .62s var(--yy-ease-out) both;
}

.yy-auth-card input,
.yy-auth-card button {
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    transition:
        border-color .25s var(--yy-ease-out),
        box-shadow .3s var(--yy-ease-out),
        background-color .3s var(--yy-ease-out),
        transform .36s var(--yy-ease-spring) !important;
}

.yy-auth-card input:focus {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, .13);
}

.yy-auth-card button:active {
    transform: scale(.975);
    transition-duration: .08s !important;
}

.overflow-wrap-anywhere {
    overflow-wrap: anywhere;
}

@keyframes yy-auth-card-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes yy-page-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.993);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes yy-captcha-mask-in {
    from {
        opacity: 0;
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
}

@keyframes yy-captcha-box-in {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 18px)) scale(.94);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.yy-sidebar {
    background: var(--yy-surface) !important;
    border-color: var(--yy-border) !important;
    box-shadow: 16px 0 42px rgba(15, 23, 42, .035);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    transition:
        transform .48s var(--yy-ease-out),
        box-shadow .35s var(--yy-ease-out) !important;
}

.yy-brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #2f9bff, #0878e8);
    box-shadow: 0 8px 18px rgba(10, 132, 255, .24);
}

.yy-nav-label {
    margin: 18px 12px 6px;
    color: var(--yy-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.yy-sidebar nav a,
.yy-sidebar nav summary,
.yy-nav-link,
.yy-control,
.yy-action {
    -webkit-tap-highlight-color: transparent;
    transition:
        color .22s var(--yy-ease-out),
        background-color .32s var(--yy-ease-out),
        border-color .32s var(--yy-ease-out),
        box-shadow .32s var(--yy-ease-out),
        transform .38s var(--yy-ease-spring),
        opacity .2s var(--yy-ease-out) !important;
}

.yy-sidebar nav a,
.yy-sidebar nav summary,
.yy-nav-link {
    position: relative;
    min-height: 42px;
    color: #475569;
}

.yy-sidebar nav a::before,
.yy-nav-link::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--yy-blue);
    content: "";
    opacity: 0;
    transform: scaleY(.35);
    transition: opacity .22s var(--yy-ease-out), transform .38s var(--yy-ease-spring);
}

.yy-sidebar nav a:hover,
.yy-sidebar nav summary:hover,
.yy-nav-link:hover {
    color: #0f172a;
    background: rgba(148, 163, 184, .11);
    transform: translateX(2px);
}

.yy-sidebar nav a[aria-current="page"],
.yy-nav-link[aria-current="page"] {
    color: #006edc;
    background: var(--yy-blue-soft);
    font-weight: 650;
}

.yy-sidebar nav a[aria-current="page"]::before,
.yy-nav-link[aria-current="page"]::before {
    opacity: 1;
    transform: scaleY(1);
}

.yy-control:active,
.yy-action:active,
.yy-sidebar nav a:active,
.yy-sidebar nav summary:active,
.yy-nav-link:active {
    transform: scale(.965);
    transition-duration: .08s !important;
}

.yy-control:focus-visible,
.yy-action:focus-visible,
.yy-nav-link:focus-visible,
.yy-profile-button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(10, 132, 255, .28);
    outline-offset: 2px;
}

.yy-control:disabled,
.yy-action:disabled {
    cursor: not-allowed;
    filter: saturate(.65);
    opacity: .42;
}

.yy-topbar {
    min-height: 64px;
    padding-top: env(safe-area-inset-top);
    background: rgba(247, 248, 250, .78);
    border-color: var(--yy-border);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
}

.yy-profile-menu {
    transform: translateY(-6px) scale(.97);
    transform-origin: top right;
    transition:
        opacity .2s var(--yy-ease-out),
        visibility .2s var(--yy-ease-out),
        transform .38s var(--yy-ease-spring);
}

.yy-profile-menu[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.yy-content {
    min-width: 0;
    min-height: calc(100dvh - 64px);
}

.yy-content > section {
    animation: yy-page-in .52s var(--yy-ease-out) both;
}

.yy-surface-card,
.yy-content .rounded-2xl.shadow {
    border: 1px solid var(--yy-border);
    background: var(--yy-surface-strong);
    box-shadow: 0 12px 38px rgba(15, 23, 42, .065);
    transition:
        border-color .3s var(--yy-ease-out),
        box-shadow .42s var(--yy-ease-out),
        transform .48s var(--yy-ease-spring);
}

input,
select,
textarea,
.layui-input,
.layui-textarea {
    transition:
        color .22s var(--yy-ease-out),
        background-color .3s var(--yy-ease-out),
        border-color .3s var(--yy-ease-out),
        box-shadow .36s var(--yy-ease-out);
}

input:focus,
select:focus,
textarea:focus,
.layui-input:focus,
.layui-textarea:focus {
    border-color: rgba(10, 132, 255, .58) !important;
    box-shadow: 0 0 0 4px rgba(10, 132, 255, .11);
}

.yy-scroll-region,
.yy-table-shell {
    scrollbar-color: rgba(100, 116, 139, .35) transparent;
    scrollbar-width: thin;
}

.yy-scroll-region::-webkit-scrollbar,
.yy-table-shell::-webkit-scrollbar {
    display: block;
    width: 8px;
    height: 8px;
}

.yy-scroll-region::-webkit-scrollbar-thumb,
.yy-table-shell::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(100, 116, 139, .32);
    background-clip: padding-box;
}

.yy-table-shell {
    max-width: 100%;
    overflow: auto;
    border: 1px solid var(--yy-border);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .055);
    transition:
        border-color .3s var(--yy-ease-out),
        box-shadow .42s var(--yy-ease-out);
}

.yy-table-shell table {
    width: 100%;
}

.yy-table-shell tbody tr {
    transition: background-color .3s var(--yy-ease-out);
}

.yy-action-group {
    display: flex;
    min-width: 196px;
    flex-wrap: wrap;
    gap: 7px;
}

.yy-action-group .yy-action {
    width: auto !important;
    min-height: 34px;
    flex: 1 1 calc(50% - 4px);
    white-space: nowrap;
}

.yy-entity-table {
    min-width: 1040px !important;
}

.yy-entity-table th {
    white-space: nowrap;
}

.yy-entity-table td {
    vertical-align: top;
}

.yy-entity-profile {
    display: flex;
    min-width: 190px;
    align-items: center;
    gap: 12px;
}

.yy-entity-plain {
    min-width: 142px;
    padding-top: 2px;
}

.yy-cell-stack {
    min-width: 0;
}

.yy-table-empty {
    color: var(--yy-text-muted);
    text-align: center;
}

.yy-preview-trigger:disabled {
    cursor: progress;
    filter: saturate(.55);
    opacity: .62;
}

.yy-entity-avatar,
.yy-entity-placeholder {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: 19px;
    object-fit: cover;
    box-shadow:
        0 8px 20px rgba(15, 23, 42, .14),
        0 0 0 1px var(--yy-border);
}

.yy-entity-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #38a4ff, #6366f1);
    font-size: 22px;
    font-weight: 750;
}

.yy-entity-name {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.yy-entity-meta {
    display: block;
    margin-top: 4px;
    color: var(--yy-text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.yy-entity-copy {
    min-width: 260px;
    max-width: 380px;
    color: #334155;
    line-height: 1.55;
}

.yy-entity-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #0f172a;
    font-size: 12px;
}

.yy-entity-copy + .yy-entity-copy {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--yy-border);
}

.yy-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    margin: 0 4px 5px 0;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    transition:
        color .24s var(--yy-ease-out),
        background-color .3s var(--yy-ease-out),
        border-color .3s var(--yy-ease-out),
        transform .36s var(--yy-ease-spring);
}

.yy-badge.is-success {
    color: #087443;
    background: rgba(34, 197, 94, .11);
    border-color: rgba(34, 197, 94, .16);
}

.yy-badge.is-warning {
    color: #a65b00;
    background: rgba(245, 158, 11, .12);
    border-color: rgba(245, 158, 11, .18);
}

.yy-badge.is-neutral {
    color: #475569;
    background: rgba(100, 116, 139, .1);
    border-color: rgba(100, 116, 139, .14);
}

.yy-badge.is-info {
    color: #0068c9;
    background: var(--yy-blue-soft);
    border-color: rgba(10, 132, 255, .17);
}

.yy-audience-cell {
    min-width: 190px;
    max-width: 260px;
    color: #475569;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.yy-chat-shell {
    height: calc(100dvh - 64px);
    min-height: 420px;
}

.yy-chat-composer {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .82);
    border-color: var(--yy-border);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
}

.yy-chat-input {
    min-height: 48px;
    max-height: 180px;
    transition:
        background-color .28s var(--yy-ease-out),
        box-shadow .28s var(--yy-ease-out),
        height .28s var(--yy-ease-out);
}

.yy-chat-input:focus {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, .13);
}

.yy-message-in {
    animation: yy-message-in .48s var(--yy-ease-out) both;
}

.yy-message-restored,
.yy-message-restored .yy-ai-note,
.yy-message-restored .yy-ai-note::before {
    animation: none;
}

.yy-message-restored .yy-ai-note::before {
    transform: scaleX(1);
}

.yy-current-history-loading {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: var(--yy-text-muted);
}

.yy-current-history-loading > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.yy-current-history-notice {
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 10px auto 4px;
    padding: 6px 11px;
    color: var(--yy-text-muted);
    border: 1px solid var(--yy-border);
    border-radius: 999px;
    background: rgba(148, 163, 184, .07);
    font-size: 10px;
    line-height: 1.5;
    animation: yy-message-in .38s var(--yy-ease-out) both;
}

.yy-message-in[data-kind="assistant"] > img {
    box-shadow:
        0 6px 16px rgba(15, 23, 42, .12),
        0 0 0 1px rgba(148, 163, 184, .16);
}

.yy-chat-bubble {
    position: relative;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.yy-chat-bubble-user {
    padding: 12px 16px;
    border: 1px solid rgba(10, 132, 255, .08);
    border-radius: 18px;
    border-top-left-radius: 6px;
    background: #edf5ff;
}

.yy-chat-bubble-assistant {
    width: fit-content;
    max-width: calc(100% - 3rem);
    padding: 13px 15px;
    border: 1px solid rgba(10, 132, 255, .1);
    border-radius: 19px;
    border-top-left-radius: 6px;
    background: rgba(248, 250, 252, .96);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, .05),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
    transition:
        border-color .34s var(--yy-ease-out),
        box-shadow .42s var(--yy-ease-out),
        min-width .42s var(--yy-ease-spring),
        padding .36s var(--yy-ease-spring);
}

.yy-chat-bubble-assistant.is-thinking {
    min-width: 64px;
    padding: 9px 12px;
}

.yy-ai-thinking {
    display: inline-flex;
    width: 40px;
    min-height: 22px;
    align-items: center;
    justify-content: center;
}

.yy-ai-note-mark {
    display: inline-grid;
    place-items: center;
    color: #0878e8;
    background: rgba(10, 132, 255, .1);
}

.yy-ai-thinking-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.yy-ai-thinking-dots i {
    --yy-dot-start: #c7d3de;
    --yy-dot-end: #7c9bb8;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--yy-dot-start), var(--yy-dot-end));
    background-size: 170% 170%;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    transform-origin: 50% 100%;
    animation:
        yy-ai-thinking-dot 1.22s var(--yy-ease-out) infinite both,
        yy-ai-thinking-gradient 1.8s ease-in-out infinite alternate;
    will-change: opacity, transform;
}

.yy-ai-thinking-dots i:nth-child(1) {
    animation-delay: -.28s, -.54s;
}

.yy-ai-thinking-dots i:nth-child(2) {
    --yy-dot-start: #acd2f2;
    --yy-dot-end: #3f8fd1;
    animation-delay: -.14s, -.27s;
}

.yy-ai-thinking-dots i:nth-child(3) {
    --yy-dot-start: #78bfff;
    --yy-dot-end: #0878e8;
}

.yy-stream-char {
    display: inline-block;
    transform-origin: 50% 80%;
    animation: yy-stream-char-in .3s var(--yy-ease-out) both;
    animation-delay: calc(var(--yy-char-index, 0) * 9ms);
}

.yy-ai-note {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px -15px -13px;
    padding: 10px 15px 11px;
    border-radius: 0 0 18px 18px;
    color: #8393a8;
    background: rgba(241, 245, 249, .72);
    font-size: 11px;
    line-height: 1.45;
    animation: yy-ai-note-in .5s .38s var(--yy-ease-out) both;
}

.yy-ai-note::before {
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 132, 255, .22) 25%, rgba(148, 163, 184, .17) 75%, transparent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    animation: yy-ai-note-line .62s .28s var(--yy-ease-out) forwards;
}

.yy-ai-note-mark {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: #0878e8;
    -webkit-mask-image: url("/static/opencyberfurry_black.png?ver=2607311712");
    mask-image: url("/static/opencyberfurry_black.png?ver=2607311712");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 124% 124%;
    mask-size: 124% 124%;
}

.yy-chat-bubble-assistant.is-error {
    max-width: min(100%, 430px);
    padding: 12px 14px;
    border-color: rgba(220, 38, 38, .15);
    background: #fff7f7;
    box-shadow:
        0 8px 24px rgba(127, 29, 29, .055),
        inset 0 1px 0 rgba(255, 255, 255, .82);
    animation: yy-ai-error-in .46s var(--yy-ease-out) both;
}

.yy-chat-bubble-assistant.is-error-safety {
    border-color: rgba(217, 119, 6, .18);
    background: #fffaf0;
    box-shadow:
        0 8px 24px rgba(146, 64, 14, .05),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.yy-ai-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.yy-ai-error-mark {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    margin-top: 1px;
    border-radius: 9px;
    color: #c62828;
    background: rgba(220, 38, 38, .09);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    animation: yy-ai-error-mark-in .52s .08s var(--yy-ease-spring) both;
}

.is-error-safety .yy-ai-error-mark {
    color: #b45309;
    background: rgba(217, 119, 6, .1);
}

.yy-ai-error-copy {
    min-width: 0;
    color: #8f3434;
    font-size: 12px;
    line-height: 1.55;
}

.yy-ai-error-copy strong,
.yy-ai-error-copy > span {
    display: block;
}

.yy-ai-error-copy strong {
    margin-bottom: 1px;
    color: #7f1d1d;
    font-size: 12px;
    font-weight: 700;
}

.is-error-safety .yy-ai-error-copy {
    color: #9a5b14;
}

.is-error-safety .yy-ai-error-copy strong {
    color: #7c3f08;
}

.conversation {
    overflow-wrap: anywhere;
}

.conversation > * + * {
    margin-top: .75rem;
}

.conversation h1,
.conversation h2,
.conversation h3 {
    margin-top: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
}

.conversation ul,
.conversation ol {
    padding-left: 1.4rem;
}

.conversation ul {
    list-style: disc;
}

.conversation ol {
    list-style: decimal;
}

.conversation a {
    color: var(--yy-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.conversation blockquote {
    padding-left: .9rem;
    color: var(--yy-text-muted);
    border-left: 3px solid rgba(10, 132, 255, .35);
}

.conversation code {
    padding: .12rem .35rem;
    border-radius: .38rem;
    background: rgba(100, 116, 139, .13);
    font-size: .88em;
}

.conversation pre {
    max-width: 100%;
    padding: .9rem;
    overflow: auto;
    border: 1px solid var(--yy-border);
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

.conversation pre code {
    padding: 0;
    background: transparent;
}

.conversation table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.conversation th,
.conversation td {
    min-width: 7rem;
    padding: .5rem .65rem;
    border: 1px solid var(--yy-border);
    text-align: left;
}

.conversation img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@keyframes yy-message-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes yy-stream-char-in {
    from {
        opacity: 0;
        filter: blur(2.5px);
        transform: translateY(.3em) scale(.94);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: none;
    }
}

@keyframes yy-ai-thinking-dot {
    0%,
    62%,
    100% {
        opacity: .38;
        transform: translateY(1px) scale(.82, .72);
        box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    }
    28% {
        opacity: 1;
        transform: translateY(-4px) scale(.94, 1.12);
        box-shadow: 0 5px 9px rgba(10, 132, 255, .18);
    }
    42% {
        opacity: .78;
        transform: translateY(1.5px) scale(1.08, .72);
        box-shadow: 0 1px 2px rgba(15, 23, 42, .1);
    }
}

@keyframes yy-ai-thinking-gradient {
    from {
        background-position: 0% 0%;
        filter: saturate(.86);
    }
    to {
        background-position: 100% 100%;
        filter: saturate(1.14);
    }
}

@keyframes yy-ai-note-line {
    to {
        transform: scaleX(1);
    }
}

@keyframes yy-ai-note-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes yy-ai-error-in {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes yy-ai-error-mark-in {
    from {
        opacity: 0;
        transform: scale(.72) rotate(-8deg);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.layui-layer {
    max-width: calc(100vw - 24px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 18px !important;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .22) !important;
    overflow: hidden;
    animation-duration: .4s !important;
    animation-timing-function: var(--yy-ease-out) !important;
}

.layui-layer-title {
    height: auto !important;
    min-height: 50px;
    padding: 14px 48px 12px 20px !important;
    line-height: 24px !important;
    background: rgba(248, 250, 252, .92) !important;
    border-color: var(--yy-border) !important;
}

.layui-layer-btn a,
.layui-btn {
    min-height: 36px;
    border-radius: 10px !important;
    transition: transform .3s var(--yy-ease-spring), filter .2s var(--yy-ease-out) !important;
}

.layui-layer-btn a:active,
.layui-btn:active {
    transform: scale(.96);
}

.layui-layer.yy-chat-toast-error {
    border-color: rgba(220, 38, 38, .16);
    border-radius: 14px !important;
    background: #fff7f7 !important;
    box-shadow: 0 18px 48px rgba(127, 29, 29, .14) !important;
}

.layui-layer.yy-chat-toast-error .layui-layer-content {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 18px 14px 14px !important;
    color: #8f3434 !important;
    background: transparent !important;
    font-size: 13px;
    line-height: 1.55;
}

.layui-layer.yy-chat-toast-error .layui-layer-content .layui-layer-ico,
.layui-layer.yy-chat-toast-error .layui-layer-content .layui-layer-face {
    position: static !important;
    top: auto;
    left: auto;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-right: 10px;
    flex: 0 0 30px;
    align-self: center;
    font-size: 30px;
    line-height: 1;
}

.yy-permission-layer .layui-layer-content {
    overflow: auto !important;
}

.layui-layer.yy-vrm-preview-layer {
    background: var(--yy-surface-strong) !important;
}

.yy-vrm-preview-layer .layui-layer-content {
    height: calc(100% - 51px) !important;
    overflow: hidden !important;
}

.yy-vrm-preview {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    background: var(--yy-surface-strong);
}

.yy-vrm-stage {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 38%, #fff 0 8%, rgba(246, 247, 248, .98) 46%, rgba(229, 231, 234, .96) 100%),
        #f1f2f4;
    isolation: isolate;
}

.yy-vrm-stage::before,
.yy-vrm-stage::after {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    content: '';
    filter: blur(2px);
    opacity: .78;
    pointer-events: none;
}

.yy-vrm-stage::before {
    width: 42%;
    aspect-ratio: 1;
    top: -18%;
    right: -9%;
    background: radial-gradient(circle, rgba(255, 255, 255, .74), transparent 68%);
}

.yy-vrm-stage::after {
    width: 38%;
    aspect-ratio: 1;
    bottom: -21%;
    left: -8%;
    background: radial-gradient(circle, rgba(148, 163, 184, .12), transparent 70%);
}

.yy-vrm-stage-actions {
    position: absolute;
    z-index: 6;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yy-vrm-icon-button,
.yy-vrm-control-button {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
    color: #263548;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 9px 26px rgba(34, 48, 68, .1);
    font: 650 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    cursor: pointer;
    backdrop-filter: saturate(150%) blur(16px);
    transition:
        color .24s var(--yy-ease-out),
        background .24s var(--yy-ease-out),
        border-color .24s var(--yy-ease-out),
        box-shadow .3s var(--yy-ease-out),
        transform .48s var(--yy-ease-spring),
        opacity .24s var(--yy-ease-out);
}

.yy-vrm-icon-button:hover,
.yy-vrm-control-button:hover {
    color: #0878e3;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(34, 48, 68, .14);
    transform: translateY(-1px);
}

.yy-vrm-icon-button:active,
.yy-vrm-control-button:active {
    transform: scale(.94);
    transition-duration: .12s;
}

.yy-vrm-icon-button:focus-visible,
.yy-vrm-control-button:focus-visible {
    outline: 3px solid rgba(10, 132, 255, .25);
    outline-offset: 2px;
}

.yy-vrm-icon-button:disabled,
.yy-vrm-control-button:disabled {
    opacity: .42;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.yy-vrm-photo-button {
    display: none;
}

.yy-vrm-photo-flash {
    position: absolute;
    z-index: 8;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
}

.yy-vrm-preview.is-capturing .yy-vrm-photo-flash {
    animation: yy-vrm-photo-flash .48s var(--yy-ease-out);
}

.yy-vrm-photo-feedback {
    position: absolute;
    z-index: 9;
    top: max(18px, env(safe-area-inset-top));
    left: 50%;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: #1e293b;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 12px 34px rgba(30, 41, 59, .13);
    font-size: 12px;
    font-weight: 650;
    opacity: 0;
    transform: translate(-50%, -8px) scale(.94);
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: saturate(160%) blur(16px);
    transition:
        opacity .24s var(--yy-ease-out),
        transform .52s var(--yy-ease-spring),
        visibility .24s var(--yy-ease-out);
}

.yy-vrm-photo-feedback.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    visibility: visible;
}

.yy-vrm-canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(.982);
    filter: blur(5px);
    touch-action: none;
    transition:
        opacity .46s var(--yy-ease-out),
        transform .72s var(--yy-ease-spring),
        filter .42s var(--yy-ease-out);
}

.yy-vrm-preview[data-preview-state="ready"] .yy-vrm-canvas {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

.yy-vrm-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    padding: 28px;
    color: #172033;
    text-align: center;
    transition:
        opacity .3s var(--yy-ease-out),
        transform .46s var(--yy-ease-spring),
        visibility .3s var(--yy-ease-out);
}

.yy-vrm-loading strong {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 700;
}

.yy-vrm-progress {
    --yy-vrm-progress: 4%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    width: min(300px, 76vw);
    margin-top: 3px;
    transition: opacity .24s var(--yy-ease-out), transform .36s var(--yy-ease-spring);
}

.yy-vrm-progress-track {
    position: relative;
    display: block;
    height: 6px;
    overflow: hidden;
    border: 1px solid rgba(10, 132, 255, .1);
    border-radius: 999px;
    background: rgba(148, 163, 184, .18);
    box-shadow: inset 0 1px 2px rgba(51, 65, 85, .08);
}

.yy-vrm-progress-track > i {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--yy-vrm-progress);
    min-width: 6px;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(90deg, #0a84ff, #55aaff 62%, #86c5ff);
    box-shadow: 0 0 10px rgba(10, 132, 255, .2);
    transition: width .58s var(--yy-ease-out);
}

.yy-vrm-progress-track > i::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 22%, rgba(255, 255, 255, .78) 48%, transparent 72%);
    content: '';
    transform: translateX(-115%);
}

.yy-vrm-preview[data-progress-mode="waiting"] .yy-vrm-progress-track > i::after {
    animation: yy-vrm-progress-shimmer 1.35s var(--yy-ease-in-out) infinite;
}

.yy-vrm-progress-value {
    color: #718096;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: right;
}

.yy-vrm-status-copy {
    max-width: 420px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.yy-vrm-preview[data-preview-state="ready"] .yy-vrm-loading {
    visibility: hidden;
    opacity: 0;
    transform: scale(.96);
}

.yy-vrm-preview[data-preview-state="error"] .yy-vrm-loading {
    color: #9f2f38;
}

.yy-vrm-preview[data-preview-state="error"] .yy-vrm-loading-orbit {
    animation: none;
    border-color: rgba(220, 38, 38, .18);
    background: rgba(255, 255, 255, .68);
}

.yy-vrm-preview[data-preview-state="error"] .yy-vrm-loading-orbit i {
    display: none;
}

.yy-vrm-preview[data-preview-state="error"] .yy-vrm-loading-orbit::after {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #dc3f4c;
    content: '!';
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-1px);
}

.yy-vrm-preview[data-preview-state="error"] .yy-vrm-progress {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transform: scale(.96);
}

.yy-vrm-loading-orbit {
    position: relative;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(10, 132, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .54);
    box-shadow: 0 12px 34px rgba(29, 78, 140, .12);
    animation: yy-vrm-orbit-breathe 1.8s var(--yy-ease-in-out) infinite alternate;
}

.yy-vrm-loading-orbit i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0a84ff;
    box-shadow: 0 2px 7px rgba(10, 132, 255, .3);
    animation: yy-vrm-dot-orbit 1.65s var(--yy-ease-in-out) infinite;
}

.yy-vrm-loading-orbit i:nth-child(2) {
    animation-delay: -.55s;
    background: #57aaff;
}

.yy-vrm-loading-orbit i:nth-child(3) {
    animation-delay: -1.1s;
    background: #8abfff;
}

.yy-vrm-stage-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 999px;
    color: #42536b;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 8px 24px rgba(35, 63, 99, .09);
    font-size: 11px;
    opacity: 0;
    transform: translate(-50%, 8px) scale(.97);
    backdrop-filter: saturate(160%) blur(14px);
    white-space: nowrap;
    pointer-events: none;
    transition:
        opacity .32s .14s var(--yy-ease-out),
        transform .54s .1s var(--yy-ease-spring);
}

.yy-vrm-preview[data-preview-state="ready"] .yy-vrm-stage-hint {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.yy-vrm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
    padding: 14px 18px;
    border-top: 1px solid var(--yy-border);
    background: var(--yy-surface-strong);
}

.yy-vrm-animation-field {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 12px;
    font-weight: 650;
}

.yy-vrm-animation-select {
    width: min(260px, 42vw);
    min-height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--yy-border);
    border-radius: 12px;
    color: #0f172a;
    background: var(--yy-surface-strong);
}

.yy-vrm-toolbar-note {
    margin: 0;
    color: var(--yy-text-muted);
    font-size: 11px;
    line-height: 1.45;
    text-align: right;
}

.yy-vrm-advanced-controls {
    display: none;
    align-items: center;
    gap: 8px;
}

.yy-vrm-control-button {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-color: var(--yy-border);
    border-radius: 12px;
    color: #334155;
    background: rgba(248, 250, 252, .9);
    box-shadow: none;
}

.yy-vrm-control-button.is-active {
    color: #fff;
    border-color: #0a84ff;
    background: #0a84ff;
    box-shadow: 0 7px 18px rgba(10, 132, 255, .22);
}

.yy-vrm-speed-field {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--yy-text-muted);
    font-size: 11px;
    font-weight: 650;
}

.yy-vrm-speed-select {
    width: 82px;
    min-height: 42px;
    padding: 0 30px 0 10px;
    border: 1px solid var(--yy-border);
    border-radius: 12px;
    color: #0f172a;
    background: var(--yy-surface-strong);
}

.yy-vrm-preview.is-fullscreen,
.yy-vrm-preview:fullscreen,
.yy-vrm-preview:-webkit-full-screen {
    position: relative;
    display: block;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #f1f2f4;
}

html.yy-vrm-fullscreen-fallback,
html.yy-vrm-fullscreen-fallback body {
    overflow: hidden !important;
}

.yy-vrm-preview[data-fullscreen-fallback="true"] {
    position: fixed !important;
    z-index: 2147483000;
    inset: 0;
}

.yy-vrm-preview.is-fullscreen .yy-vrm-stage {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.yy-vrm-preview.is-fullscreen .yy-vrm-stage-actions {
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
}

.yy-vrm-preview.is-fullscreen .yy-vrm-photo-button,
.yy-vrm-preview.is-fullscreen .yy-vrm-advanced-controls {
    display: flex;
}

.yy-vrm-preview.is-fullscreen .yy-vrm-toolbar {
    position: absolute;
    z-index: 7;
    right: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: min(900px, calc(100% - 32px));
    min-height: 72px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 19px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 48px rgba(30, 41, 59, .14);
    transform: translateX(50%);
    backdrop-filter: saturate(165%) blur(22px);
    animation: yy-vrm-fullscreen-toolbar-in .66s var(--yy-ease-spring) both;
}

.yy-vrm-preview.is-fullscreen .yy-vrm-toolbar-note {
    display: none;
}

.yy-vrm-preview.is-fullscreen .yy-vrm-stage-hint {
    bottom: max(104px, calc(env(safe-area-inset-bottom) + 96px));
}

@keyframes yy-vrm-dot-orbit {
    0% {
        transform: rotate(0deg) translateY(-17px) scale(.78);
        opacity: .5;
    }
    48% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateY(-17px) scale(1.08);
        opacity: .58;
    }
}

@keyframes yy-vrm-orbit-breathe {
    from { transform: scale(.96); }
    to { transform: scale(1.025); }
}

@keyframes yy-vrm-progress-shimmer {
    0% { transform: translateX(-115%); }
    58%, 100% { transform: translateX(115%); }
}

@keyframes yy-vrm-photo-flash {
    0%, 100% { opacity: 0; }
    24% { opacity: .78; }
}

@keyframes yy-vrm-fullscreen-toolbar-in {
    from { opacity: 0; transform: translate(50%, 18px) scale(.96); }
    to { opacity: 1; transform: translate(50%, 0) scale(1); }
}

.yy-permission-dialog {
    padding: 18px;
}

.yy-permission-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #0f172a;
}

.yy-permission-intro-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 13px;
    color: #0673df;
    background: var(--yy-blue-soft);
    font-size: 19px;
    font-weight: 800;
}

.yy-permission-intro strong,
.yy-permission-intro small,
.yy-open-all-card strong,
.yy-open-all-card small,
.yy-all-users-hint strong,
.yy-all-users-hint small {
    display: block;
}

.yy-permission-intro small,
.yy-open-all-card small,
.yy-all-users-hint small {
    margin-top: 3px;
    color: var(--yy-text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.yy-open-all-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(10, 132, 255, .17);
    border-radius: 14px;
    background: var(--yy-blue-soft);
    cursor: pointer;
    transition:
        background-color .3s var(--yy-ease-out),
        border-color .3s var(--yy-ease-out),
        transform .4s var(--yy-ease-spring);
}

.yy-open-all-card:hover {
    border-color: rgba(10, 132, 255, .35);
    transform: translateY(-1px);
}

.yy-open-all-card.is-disabled {
    cursor: not-allowed;
    filter: saturate(.55);
    opacity: .68;
}

.yy-open-all-card input {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    appearance: none;
    place-content: center;
    border: 1.5px solid rgba(100, 116, 139, .5);
    border-radius: 5px;
    color: #fff;
    background: var(--yy-surface-strong);
    accent-color: var(--yy-blue);
    transition:
        background-color .24s var(--yy-ease-out),
        border-color .24s var(--yy-ease-out),
        box-shadow .3s var(--yy-ease-out),
        transform .34s var(--yy-ease-spring);
}

.yy-open-all-card input::before {
    width: 5px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: '';
    opacity: 0;
    transform: translateY(-1px) rotate(45deg) scale(.45);
    transition:
        opacity .18s var(--yy-ease-out),
        transform .38s var(--yy-ease-spring);
}

.yy-open-all-card input:checked {
    border-color: var(--yy-blue);
    background: var(--yy-blue);
    box-shadow: 0 4px 12px rgba(10, 132, 255, .24);
}

.yy-open-all-card input:checked::before {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg) scale(1);
}

.yy-open-all-card input:focus-visible {
    outline: 3px solid rgba(10, 132, 255, .2);
    outline-offset: 2px;
}

.yy-open-all-card input:active:not(:disabled) {
    transform: scale(.88);
}

.yy-open-all-card input:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.yy-permission-warning {
    margin: -3px 2px 12px;
    color: #b26700;
    font-size: 12px;
    line-height: 1.5;
}

.yy-permission-transfer > .layui-transfer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.yy-permission-transfer .layui-transfer-box {
    width: 100% !important;
    height: 330px !important;
    border-color: var(--yy-border);
    border-radius: 14px;
    overflow: hidden;
}

.yy-permission-transfer .layui-transfer-header {
    height: 42px;
    padding: 0 14px;
    border-color: var(--yy-border);
    background: rgba(148, 163, 184, .07);
    line-height: 42px;
}

.yy-permission-transfer .layui-transfer-search {
    margin: 10px;
}

.yy-permission-transfer .layui-transfer-search .layui-input {
    height: 38px;
    border-radius: 10px;
}

.yy-permission-transfer .layui-transfer-data {
    padding: 0 8px 8px;
}

.yy-permission-transfer .layui-transfer-data li {
    min-height: 34px;
    padding: 7px 7px;
    border-radius: 8px;
    line-height: 20px;
    transition:
        color .22s var(--yy-ease-out),
        background-color .28s var(--yy-ease-out);
}

.yy-permission-transfer .layui-transfer-data li:hover {
    background: rgba(10, 132, 255, .08);
}

.yy-permission-transfer .layui-form-checkbox[lay-skin="primary"] {
    min-height: 20px;
    padding-left: 26px;
}

.yy-permission-transfer .layui-form-checkbox[lay-skin="primary"] > i {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    line-height: 16px;
}

.yy-permission-transfer .layui-form-checkbox[lay-skin="primary"] > div {
    line-height: 20px;
}

.yy-permission-transfer .layui-transfer-active {
    display: flex;
    margin: 0;
    flex-direction: column;
    gap: 8px;
}

.yy-permission-transfer .layui-transfer-active .layui-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    margin: 0 !important;
    padding: 0;
    border-radius: 12px !important;
}

.yy-all-users-hint {
    display: none;
    min-height: 220px;
    padding: 40px 20px;
    border: 1px dashed rgba(10, 132, 255, .27);
    border-radius: 16px;
    background: rgba(10, 132, 255, .045);
    text-align: center;
}

.yy-all-users-hint > span {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 8px auto 14px;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(145deg, #35a2ff, #0878e8);
    box-shadow: 0 10px 24px rgba(10, 132, 255, .24);
    font-size: 25px;
}

.yy-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--yy-border);
}

#mpanel2 .mask {
    background: rgba(2, 8, 23, .46) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: yy-captcha-mask-in .3s var(--yy-ease-out) both;
}

#mpanel2 .verifybox {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    max-width: calc(100vw - 24px);
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 22px !important;
    background: var(--yy-surface-strong) !important;
    box-shadow: 0 28px 90px rgba(2, 8, 23, .28) !important;
    overflow: hidden;
    transform: translate(-50%, -50%);
    animation: yy-captcha-box-in .5s var(--yy-ease-spring) both;
}

#mpanel2 .verifybox-top {
    height: 54px !important;
    padding: 0 16px !important;
    color: #0f172a !important;
    background: rgba(248, 250, 252, .9) !important;
    border-color: var(--yy-border) !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 54px !important;
}

#mpanel2 .verifybox-close {
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    background: rgba(100, 116, 139, .1);
    line-height: 34px !important;
    transition:
        color .22s var(--yy-ease-out),
        background-color .28s var(--yy-ease-out),
        transform .38s var(--yy-ease-spring);
}

#mpanel2 .verifybox-close:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, .1);
    transform: rotate(8deg) scale(1.06);
}

#mpanel2 .verifybox-bottom {
    padding: 16px !important;
}

#mpanel2 .verify-img-out,
#mpanel2 .verify-img-panel {
    max-width: 100%;
    border-radius: 15px !important;
    overflow: hidden;
}

#mpanel2 .verify-img-panel {
    border: 1px solid var(--yy-border) !important;
    background: #e9eef5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

#mpanel2 .verify-img-panel img {
    object-fit: cover;
}

#mpanel2 .verify-refresh {
    top: 10px !important;
    right: 10px !important;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff !important;
    background: rgba(15, 23, 42, .48);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    line-height: 36px !important;
    text-align: center;
    transition:
        background-color .28s var(--yy-ease-out),
        transform .48s var(--yy-ease-spring);
}

#mpanel2 .verify-refresh:hover {
    background: rgba(10, 132, 255, .82);
    transform: rotate(105deg) scale(1.06);
}

#mpanel2 .verify-bar-area {
    isolation: isolate;
    max-width: 100%;
    border: 1px solid var(--yy-border) !important;
    border-radius: 14px !important;
    background: rgba(148, 163, 184, .11) !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .035);
}

#mpanel2 .verify-bar-area > .verify-msg {
    position: relative;
    z-index: 2;
    display: block;
    pointer-events: none;
}

#mpanel2 .verify-left-bar {
    z-index: 1;
    box-sizing: border-box !important;
    top: 0 !important;
    left: 0 !important;
    border: 0 !important;
    border-radius: 13px 7px 7px 13px !important;
    background: rgba(10, 132, 255, .12);
}

#mpanel2 .verify-move-block {
    z-index: 4;
    box-sizing: border-box !important;
    top: 0 !important;
    width: 42px !important;
    height: 40px !important;
    border: 1px solid rgba(10, 132, 255, .2) !important;
    border-radius: 13px !important;
    color: #0878e8;
    background: #fff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .14);
    transition:
        color .25s var(--yy-ease-out),
        background-color .25s var(--yy-ease-out),
        box-shadow .32s var(--yy-ease-out);
}

#mpanel2 .verify-msg {
    color: var(--yy-text-muted) !important;
    font-size: 12px !important;
}

@media (prefers-color-scheme: dark) {
    :root {
        --yy-surface: rgba(15, 23, 42, .82);
        --yy-surface-strong: #111827;
        --yy-border: rgba(226, 232, 240, .1);
        --yy-text-muted: #94a3b8;
    }

    body.yy-app-shell {
        background:
            radial-gradient(circle at 88% -10%, rgba(10, 132, 255, .12), transparent 34rem),
            #090f1a;
    }

    body.yy-public-auth {
        background:
            radial-gradient(circle at 50% -10%, rgba(10, 132, 255, .14), transparent 30rem),
            #090f1a;
    }

    .yy-sidebar nav a,
    .yy-sidebar nav summary,
    .yy-nav-link {
        color: #cbd5e1;
    }

    .yy-sidebar nav a:hover,
    .yy-sidebar nav summary:hover,
    .yy-nav-link:hover {
        color: #fff;
        background: rgba(226, 232, 240, .08);
    }

    .yy-sidebar nav a[aria-current="page"],
    .yy-nav-link[aria-current="page"] {
        color: #73baff;
        background: rgba(10, 132, 255, .14);
    }

    .yy-topbar,
    .yy-chat-composer {
        background: rgba(9, 15, 26, .78);
    }

    .yy-public-auth > h1 {
        margin-bottom: 1rem !important;
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .yy-auth-card {
        padding: 20px !important;
        border-radius: 18px !important;
    }

    .layui-layer,
    .layui-layer-content,
    .layui-layer-title {
        color: #e5e7eb !important;
        background: #172033 !important;
    }

    .layui-layer {
        border-color: rgba(148, 163, 184, .18);
        box-shadow: 0 28px 90px rgba(0, 0, 0, .48) !important;
    }

    .layui-layer-title,
    .layui-layer-btn {
        border-color: rgba(148, 163, 184, .13) !important;
    }

    .layui-layer-setwin .layui-layer-close,
    .layui-layer-setwin .layui-icon {
        color: #cbd5e1 !important;
    }

    .layui-layer-setwin .layui-layer-close:hover,
    .layui-layer-setwin .layui-icon:hover {
        color: #fff !important;
    }

    .layui-layer-btn a,
    .layui-layer .layui-btn-primary {
        border-color: rgba(148, 163, 184, .26) !important;
        color: #dbe5f2 !important;
        background: #243146 !important;
    }

    .layui-layer-btn a:hover,
    .layui-layer .layui-btn-primary:hover {
        border-color: rgba(117, 189, 255, .58) !important;
        color: #fff !important;
        background: #2d3d55 !important;
    }

    .layui-layer-btn .layui-layer-btn0,
    .layui-layer .layui-btn-normal {
        border-color: #1783ea !important;
        color: #fff !important;
        background: #1783ea !important;
    }

    .layui-layer-btn .layui-layer-btn0:hover,
    .layui-layer .layui-btn-normal:hover {
        border-color: #3499f5 !important;
        background: #3499f5 !important;
    }

    .layui-layer .layui-btn-disabled,
    .layui-layer .layui-btn-disabled:hover {
        border-color: rgba(148, 163, 184, .1) !important;
        color: #65758b !important;
        background: #1a2433 !important;
    }

    .layui-layer .layui-form-label,
    .layui-layer .layui-form-mid,
    .layui-layer .layui-word-aux,
    .layui-layer .layui-upload-choose {
        color: #cbd5e1 !important;
    }

    .layui-layer .layui-input,
    .layui-layer .layui-select,
    .layui-layer .layui-textarea,
    .layui-layer .layui-layer-input,
    .layui-layer .layui-upload-drag {
        border-color: rgba(148, 163, 184, .22) !important;
        color: #edf3fa !important;
        background: #111827 !important;
    }

    .layui-layer .layui-input::placeholder,
    .layui-layer .layui-textarea::placeholder,
    .layui-layer .layui-layer-input::placeholder {
        color: #718198 !important;
    }

    .layui-layer .layui-input:hover,
    .layui-layer .layui-textarea:hover,
    .layui-layer .layui-layer-input:hover {
        border-color: rgba(117, 189, 255, .46) !important;
    }

    .layui-layer .layui-input:focus,
    .layui-layer .layui-textarea:focus,
    .layui-layer .layui-layer-input:focus {
        border-color: #3499f5 !important;
        box-shadow: 0 0 0 3px rgba(52, 153, 245, .14) !important;
    }

    .layui-layer .layui-input[disabled],
    .layui-layer .layui-textarea[disabled] {
        color: #718198 !important;
        background: #172131 !important;
    }

    .layui-layer .layui-form-select .layui-edge {
        border-top-color: #94a3b8;
    }

    .layui-layer .layui-form-select dl {
        border-color: rgba(148, 163, 184, .2);
        color: #dbe5f2;
        background: #111827;
        box-shadow: 0 16px 42px rgba(0, 0, 0, .32);
    }

    .layui-layer .layui-form-select dl dd:hover,
    .layui-layer .layui-form-select dl dd.layui-this {
        color: #fff;
        background: #243146;
    }

    .layui-layer .layui-form-select dl dt,
    .layui-layer .layui-form-select dl dd.layui-select-tips {
        color: #8190a5;
    }

    .layui-layer .layui-form-select dl dd.layui-disabled {
        color: #64748b !important;
        background: #111827;
    }

    .layui-layer .layui-form-checkbox[lay-skin="primary"] > div {
        color: #dbe5f2;
    }

    .layui-layer .layui-form-checkbox[lay-skin="primary"] > i {
        border-color: #526176;
        color: transparent;
        background: #111827;
    }

    .layui-layer .layui-form-checkbox[lay-skin="primary"]:hover > i {
        border-color: #58aefd;
        color: transparent;
    }

    .layui-layer .layui-form-checked[lay-skin="primary"] > i {
        border-color: #1783ea !important;
        color: #fff !important;
        background: #1783ea !important;
    }

    .layui-layer .layui-checkbox-disabled[lay-skin="primary"] > div {
        color: #65758b !important;
    }

    .layui-layer .layui-checkbox-disabled[lay-skin="primary"] > i,
    .layui-layer .layui-form-checked.layui-checkbox-disabled[lay-skin="primary"] > i {
        border-color: #344155 !important;
        color: #65758b !important;
        background: #202b3b !important;
    }

    .layui-layer .layui-form-checkbox:not([lay-skin="primary"]) > div {
        color: #dbe5f2;
        background: #334155;
    }

    .layui-layer .layui-form-checkbox:not([lay-skin="primary"]) > i {
        border-color: #526176;
        background: #111827;
    }

    .layui-layer .layui-form-checked:not([lay-skin="primary"]) > div {
        color: #fff;
        background: #1783ea;
    }

    .layui-layer .layui-form-switch {
        border-color: #526176;
        background: #111827;
    }

    .layui-layer .layui-form-switch > i {
        background: #8291a6;
    }

    .layui-layer .layui-form-switch > div {
        color: #aebbd0 !important;
    }

    .layui-layer .layui-form-onswitch {
        border-color: #1783ea;
        background: #1783ea;
    }

    .layui-layer .layui-form-onswitch > i {
        background: #fff;
    }

    .layui-layer .layui-form-radio,
    .layui-layer .layui-form-radio > i {
        color: #aebbd0;
    }

    .layui-layer .layui-form-radio:hover,
    .layui-layer .layui-form-radio:hover > *,
    .layui-layer .layui-form-radioed,
    .layui-layer .layui-form-radioed > i {
        color: #58aefd;
    }

    .layui-layer .layui-upload-drag:hover {
        border-color: #3499f5 !important;
        background: #172337 !important;
    }

    .layui-layer .yy-layer-muted {
        color: #9aa9bd !important;
    }

    .yy-permission-warning {
        color: #f4bb58;
    }

    .yy-permission-transfer .layui-transfer-search .layui-icon-search,
    .yy-permission-transfer .layui-transfer-data .layui-none {
        color: #8190a5;
    }

    .yy-permission-transfer .layui-transfer-data li:hover {
        background: rgba(88, 174, 253, .1);
    }

    .yy-entity-name,
    .yy-entity-copy strong,
    .yy-permission-intro {
        color: #f1f5f9;
    }

    .yy-entity-copy,
    .yy-audience-cell {
        color: #cbd5e1;
    }

    .yy-chat-bubble-user {
        border-color: rgba(115, 186, 255, .1);
        background: #10233d;
    }

    .yy-chat-bubble-assistant {
        border-color: rgba(115, 186, 255, .12);
        background: rgba(15, 23, 42, .94);
        box-shadow:
            0 12px 32px rgba(0, 0, 0, .16),
            inset 0 1px 0 rgba(255, 255, 255, .035);
    }

    .yy-ai-thinking {
        color: #aab9cb;
    }

    .yy-ai-note {
        color: #8fa1b8;
        background: rgba(30, 41, 59, .72);
    }

    .yy-ai-note-mark {
        background: #75bdff;
    }

    .yy-chat-bubble-assistant.is-error {
        border-color: rgba(248, 113, 113, .16);
        background: #28171c;
        box-shadow:
            0 12px 30px rgba(0, 0, 0, .16),
            inset 0 1px 0 rgba(255, 255, 255, .025);
    }

    .yy-chat-bubble-assistant.is-error-safety {
        border-color: rgba(251, 191, 36, .16);
        background: #282016;
    }

    .yy-ai-error-copy {
        color: #e5a8a8;
    }

    .yy-ai-error-copy strong {
        color: #fecaca;
    }

    .is-error-safety .yy-ai-error-copy {
        color: #e5bd82;
    }

    .is-error-safety .yy-ai-error-copy strong {
        color: #fde3ad;
    }

    .layui-layer.yy-chat-toast-error {
        border-color: rgba(248, 113, 113, .18);
        background: #28171c !important;
    }

    .layui-layer.yy-chat-toast-error .layui-layer-content {
        color: #fecaca !important;
        background: transparent !important;
    }

    .yy-badge.is-neutral {
        color: #cbd5e1;
        background: rgba(148, 163, 184, .12);
    }

    .yy-badge.is-success {
        color: #6ee7a8;
    }

    .yy-badge.is-warning {
        color: #fbbf55;
    }

    .yy-badge.is-info {
        color: #74bcff;
    }

    .yy-permission-transfer .layui-transfer-box,
    .yy-permission-transfer .layui-transfer-header,
    .yy-permission-transfer .layui-transfer-search,
    .yy-permission-transfer .layui-transfer-search .layui-input {
        color: #e2e8f0;
        background: #111827;
        border-color: var(--yy-border);
    }

    .yy-permission-transfer .layui-transfer-header {
        background: rgba(148, 163, 184, .08);
    }

    .layui-layer.yy-vrm-preview-layer,
    .yy-vrm-preview,
    .yy-vrm-toolbar {
        background: #111827 !important;
    }

    .yy-vrm-stage {
        background:
            radial-gradient(circle at 50% 38%, #fff 0 8%, rgba(246, 247, 248, .98) 46%, rgba(229, 231, 234, .96) 100%),
            #f1f2f4;
    }

    .yy-vrm-animation-field {
        color: #e5edf8;
    }

    .yy-vrm-loading {
        color: #172033;
    }

    .yy-vrm-preview[data-preview-state="error"] .yy-vrm-loading {
        color: #9f2f38;
    }

    .yy-vrm-status-copy,
    .yy-vrm-toolbar-note {
        color: #94a3b8;
    }

    .yy-vrm-progress-track {
        border-color: rgba(117, 189, 255, .13);
        background: rgba(148, 163, 184, .14);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, .22);
    }

    .yy-vrm-progress-track > i {
        background: linear-gradient(90deg, #1589f5, #5eb1ff 62%, #94ceff);
        box-shadow: 0 0 12px rgba(61, 158, 247, .24);
    }

    .yy-vrm-progress-value {
        color: #9bacc1;
    }

    .yy-vrm-loading-orbit,
    .yy-vrm-stage-hint {
        border-color: rgba(255, 255, 255, .68);
        background: rgba(255, 255, 255, .76);
        box-shadow: 0 12px 34px rgba(30, 41, 59, .13);
    }

    .yy-vrm-stage-hint {
        color: #42536b;
    }

    .yy-vrm-animation-select {
        color: #e2e8f0;
        background: #1b2637;
        border-color: rgba(148, 163, 184, .2);
    }

    .yy-vrm-control-button {
        color: #dbe7f5;
        border-color: rgba(148, 163, 184, .2);
        background: #1b2637;
    }

    .yy-vrm-control-button:hover {
        color: #8ec8ff;
        background: #243146;
    }

    .yy-vrm-control-button.is-active {
        color: #fff;
        border-color: #1783ea;
        background: #1783ea;
    }

    .yy-vrm-speed-select {
        color: #e2e8f0;
        background: #1b2637;
        border-color: rgba(148, 163, 184, .2);
    }

    .yy-vrm-preview.is-fullscreen .yy-vrm-toolbar {
        border-color: rgba(148, 163, 184, .2);
        background: rgba(17, 24, 39, .86) !important;
        box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
    }

    #mpanel2 .verifybox,
    #mpanel2 .verifybox-bottom {
        background: #111827 !important;
    }

    #mpanel2 .verifybox-top {
        color: #f1f5f9 !important;
        background: rgba(15, 23, 42, .94) !important;
    }

    #mpanel2 .verify-bar-area {
        background: rgba(148, 163, 184, .15) !important;
    }

    #mpanel2 .verify-move-block {
        color: #75bdff;
        background: #1e293b;
    }
}

@media (max-width: 1023px) {
    .yy-sidebar {
        width: min(86vw, 320px) !important;
    }

    .yy-content {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .yy-topbar {
        min-height: 58px;
    }

    .yy-content {
        min-height: calc(100dvh - 58px);
    }

    .yy-mobile-pad {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .yy-mobile-list-section {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .yy-list-toolbar {
        display: grid !important;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
        gap: 10px !important;
    }

    .yy-list-toolbar > input,
    .yy-list-toolbar > select,
    .yy-list-toolbar > label {
        width: 100%;
        min-width: 0;
    }

    .yy-list-pager {
        align-items: center;
        gap: 10px;
    }

    .yy-list-pager > div,
    .yy-list-pager > span {
        min-width: 0;
        text-align: center;
    }

    .yy-mobile-card-shell {
        width: 100%;
        margin: 0;
        overflow: visible;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .yy-mobile-card-table {
        width: 100%;
        min-width: 0 !important;
    }

    .yy-mobile-card-table thead {
        display: none;
    }

    .yy-mobile-card-table tbody,
    .yy-mobile-card-table tr,
    .yy-mobile-card-table td {
        display: block;
        width: 100%;
    }

    .yy-mobile-card-table tbody {
        padding: 0;
    }

    .yy-mobile-card-table tbody tr {
        margin: 0 0 10px;
        padding: 8px 0;
        border: 1px solid var(--yy-border);
        border-radius: 16px;
        background: var(--yy-surface-strong);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
        overflow: hidden;
    }

    .yy-mobile-card-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .yy-mobile-card-table tbody tr[hidden] {
        display: none !important;
    }

    .yy-mobile-card-table tbody td {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        min-width: 0;
        padding: 8px 13px !important;
        border: 0;
    }

    .yy-mobile-card-table tbody td::before {
        padding-top: 2px;
        color: var(--yy-text-muted);
        content: attr(data-label);
        font-size: 11px;
        font-weight: 650;
        line-height: 1.45;
    }

    .yy-mobile-card-table .yy-entity-profile,
    .yy-mobile-card-table .yy-entity-plain,
    .yy-mobile-card-table .yy-cell-stack,
    .yy-mobile-card-table .yy-action-group {
        min-width: 0;
    }

    .yy-mobile-card-table .yy-entity-profile {
        width: 100%;
    }

    .yy-mobile-card-table .yy-action-group {
        width: 100%;
    }

    .yy-mobile-card-table .yy-action-group .yy-action {
        min-height: 44px;
        min-width: min(100%, 126px);
    }

    .yy-mobile-card-table .yy-table-empty {
        display: block;
        padding: 34px 12px !important;
    }

    .yy-mobile-card-table .yy-table-empty::before {
        display: none;
    }

    .yy-action,
    .yy-control,
    .layui-btn {
        min-height: 44px;
    }

    .yy-chat-shell {
        height: calc(100dvh - 58px);
        min-height: 360px;
    }

    .yy-chat-composer {
        padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    }

    .layui-layer {
        width: calc(100vw - 24px) !important;
    }

    .layui-layer-content {
        max-height: min(70dvh, 620px);
        overflow: auto;
    }

    .yy-permission-dialog {
        padding: 14px;
    }

    .yy-permission-transfer > .layui-transfer {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .yy-permission-transfer .layui-transfer-box {
        height: 220px !important;
    }

    .yy-permission-transfer .layui-transfer-active {
        flex-direction: row;
        justify-content: center;
    }

    .yy-permission-transfer .layui-transfer-active .layui-btn {
        transform: rotate(90deg);
    }

    .yy-permission-transfer .layui-transfer-active .layui-btn:active {
        transform: rotate(90deg) scale(.94);
    }

    .yy-dialog-actions {
        position: sticky;
        bottom: 0;
        margin-right: -14px;
        margin-left: -14px;
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
        background: var(--yy-surface-strong);
    }

    .yy-vrm-preview-layer .layui-layer-content {
        max-height: none;
    }

    .yy-vrm-stage {
        min-height: 280px;
    }

    .yy-vrm-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    }

    .yy-vrm-animation-field {
        justify-content: space-between;
    }

    .yy-vrm-animation-select {
        width: min(68vw, 250px);
    }

    .yy-vrm-toolbar-note {
        display: none;
    }

    .yy-vrm-preview.is-fullscreen .yy-vrm-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
        width: calc(100% - 20px);
        padding: 10px;
        border-radius: 17px;
    }

    .yy-vrm-preview.is-fullscreen .yy-vrm-animation-field {
        width: 100%;
    }

    .yy-vrm-preview.is-fullscreen .yy-vrm-animation-select {
        width: min(68vw, 250px);
        flex: 1 1 auto;
    }

    .yy-vrm-preview.is-fullscreen .yy-vrm-advanced-controls {
        justify-content: center;
    }

    .yy-vrm-preview.is-fullscreen .yy-vrm-stage-hint {
        display: none;
    }

    .yy-vrm-stage-actions {
        top: 9px;
        right: 9px;
    }

    .yy-vrm-icon-button {
        width: 44px;
        padding: 0;
    }

    .yy-vrm-icon-button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .yy-vrm-stage-hint {
        bottom: 10px;
        max-width: calc(100% - 24px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #mpanel2 .verifybox-bottom {
        padding: 12px !important;
    }

    #mpanel2 .verifybox-top {
        padding-right: 52px !important;
    }
}

@media (max-width: 360px) {
    .yy-vrm-animation-field {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .yy-vrm-animation-select {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
