* {
    /*--prompt-box-bg: rgba(36, 36, 36, 0.9);*/
    --prompt-box-bg: rgba(36, 36, 36, 0.9);
}

.prompt-box-outer {
    position: fixed;
    bottom: 0;
    /*left: 10px;*/
    /*right: 10px;*/
    padding: 15px 10px;
    width: 100%;

    background: linear-gradient(to top, #000 80%, transparent);
    z-index: 100;
}

.prompt-box-wrapper {
    width: 100%;
    /*--prompt-box-height: 100px;*/
    /*height: var(--prompt-box-height);*/
    /*width: 100%;*/

    /*bottom: 0;*/

    /*background: rgba(34, 41, 51, 0.8);*/
    /*background: rgba(0, 0, 0, 0.8);*/


    background: var(--prompt-box-bg);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /*background: rgba(0, 0, 0, 0.8);*/

    /*--border-radius: 40px;*/
    --border-radius: 30px;
    /*--border-radius: 20px;*/
    --prompt-btn-height: 30px;

    /*border-radius: var(--border-radius) var(--border-radius) 0 0;*/
    border-radius: var(--border-radius);


    /*    -webkit-box-shadow:0px 0px 87px 8px rgba(255,255,255,0.86);*/
    /*-moz-box-shadow: 0px 0px 87px 8px rgba(255,255,255,0.86);*/
    /*box-shadow: 0px 0px 87px 8px rgba(255,255,255,0.86);*/


    /*-webkit-box-shadow: 0px 0px 189px 83px rgba(0, 0, 0, 0.9);*/
    /*-moz-box-shadow: 0px 0px 189px 83px rgba(0, 0, 0, 0.9);*/
    /*box-shadow: 0px 0px 189px 83px rgba(0, 0, 0, 0.9);*/


/*    -webkit-box-shadow:0px 0px 189px 117px rgba(0,0,0,0.9);*/
/*-moz-box-shadow: 0px 0px 189px 117px rgba(0,0,0,0.9);*/
/*box-shadow: 0px 0px 189px 117px rgba(0,0,0,0.9);*/

    padding: 10px;

    border: 1px solid var(--text-color-1);

}


.prompt-input-container {
    display: flex;
    align-items: flex-end;
    /*gap: 10px;*/
    width: 100%;
    position: relative;

    --input-padding: 12px;
    --input-font-size: 14px;
}


.prompt-input-container .placeholder {
    position: absolute;
    /*background: #FFDA2A;*/
    top: var(--input-padding);
    left: var(--input-padding);
    font-size: var(--input-font-size);
    z-index: -1;
    color: var(--text-color-4);
    display: flex;
    align-items: center;
}

.prompt-input-container .placeholder * {
    color: inherit;
}

.prompt-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    border-radius: 20px;
    /*padding: 12px 16px;*/
    padding: var(--input-padding);
    color: white;
    font-size: var(--input-font-size);
    resize: none;
    max-height: 150px; /* 5 lines height */
    overflow-y: auto;
    line-height: 1.4;
    outline: none;
    transition: height 0.2s;
}

.prompt-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}


.prompt-bottom-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 10px 0;
}

.prompt-bottom-left {
    display: flex;
    align-items: center;
}

.prompt-box-btn {
    /*background: var(--surface_color);*/
    background: transparent;
    border: 1px solid var(--text-color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--prompt-btn-height);
    color: var(--text-color-9);
    font-size: 11px;
    width: var(--prompt-btn-height);
    border-radius: 50%;
}

.prompt-box-btn * {
    font-size: inherit;
}

.prompt-box-long-btn {
    border-radius: 20px;
    width: fit-content;
    padding: 0 8px;
}

.prompt-box-btn:not(:last-child) {
    margin-right: 8px;
}

.prompt-box-btn i {
    font-size: inherit;
}


.prompt-box-btn .character-avatar {
    width: calc(var(--prompt-btn-height) - 3px);
    height: calc(var(--prompt-btn-height) - 3px);
    background: var(--text-color-1);
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}




.prompt-box-btn .character-avatar:not(:first-child) {
    margin-left: -6px;
    border-left: 2px solid #000;
}


/* 兄弟相邻选择器 */
.selected-character-btn .text + .character-avatar {
    margin-left: 8px;
}

.prompt-box-btn .character-avatar:first-child {
    margin-left: 8px;
    /*margin-left: 20px;*/
}


.prompt-box-main-btn {
    /*width: 35px;*/
    height: 35px;
    /*background: var(--theme_color);*/
    /*border-radius: 50%;*/
    border-radius: 20px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*font-size: 16px;*/
    font-size: 12px;
    color: var(--primary-btn-text-color);
}

.prompt-box-main-btn i {
    color: inherit;
    font-size: inherit;
    margin-right: 5px;
}


/* 菜单容器样式 */
.prompt-box-menu-wrapper {
    margin-bottom: 5px;
    /*position: fixed;*/
    /*left: 0;*/
    /*right: 0;*/
    /*height: 50px;*/
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* 平滑滚动(iOS) */
    /*padding: 0 15px;*/
    /*background: rgba(34, 41, 51, 0.8);*/
    background: transparent;

    /* 隐藏滚动条 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE和Edge */


    /* 只在右侧添加渐变遮罩 */
    mask-image: linear-gradient(
        to right,
        black 0%,
        black 85%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        black 85%,
        transparent 100%
    );

    z-index: 102;

}

/* 隐藏滚动条但保持可滚动 */
.prompt-box-menu-wrapper::-webkit-scrollbar {
    display: none;
}

/* 菜单样式 */
.prompt-box-menu {
    display: inline-flex;
    gap: 8px;
    height: 100%;
    align-items: center;
    white-space: nowrap;
    padding: 0 5px;

    padding-right: 30px;
}

/* 菜单项样式 */
.prompt-box-menu-item {
    /*background: rgba(34, 41, 51, 0.8);*/
    /*background: rgba(0, 0, 0, 0.8);*/
    background: var(--prompt-box-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color-9);
    padding: 0 8px;
    border-radius: 15px;
    /*border-radius: 8px;*/
    font-size: 13px;
    text-decoration: none;
    flex-shrink: 0;
    border: 1px solid var(--text-color-1);

    display: flex;
    align-items: center;
    justify-content: center;

    height: 30px;

    /*box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;*/
}


.prompt-box-menu-item i {
    font-size: inherit;
    margin-right: 5px;
}


.prompt-box-main-btn-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
