﻿.review-main-box {
    max-height: 95%;
    border-radius: 20px;
    transition: max-height .5s ease-in-out;
    max-width: 100vw;
    background: #1f1f1f;
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, .2);
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    overflow: hidden;
    position: fixed;
    width: 580px;
    z-index: 1001;
}

.review-main-body {
    position: relative;
    z-index: 1;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 18px;
    color: #bfbfbf;
}

.review-box {
    display: flex;
    flex-direction: column;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.review-body {
    overflow: hidden;
    flex: 1 1;
}

.review-top {
    height: 68px;
    line-height: 68px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    background-color: transparent;
    white-space: nowrap;
}

.review-left {
    align-items: center;
    display: flex;
}

h2.review-tit {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    color: #e8e8e8;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    margin: auto 0;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.review-right {
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
}

.review-bottom {
    position: relative;
}

.bottom-cover {
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.bottom-body {
    background-color: #1f1f1f;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
}

.rate-list {
    padding-top: 16px;
    text-align: center;
    padding-left: 32px;
    padding-right: 32px;
}

.rate-box {
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .rate-box .rate-item:not(:first-child) {
        margin-left: 12px;
    }

.rate-item {
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding-top: 7px;
    padding-bottom: 7px;
}

    .rate-item::before {
        position: absolute;
        content: "";
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 48px;
        height: 48px;
    }

    .rate-item svg {
        width: 34px;
        height: 34px;
    }

/* 默认：只显示空心 */
.star-fill {
    display: none;
}

/* 选中：切换 */
.rate-item.active .star-empty {
    display: none;
}

.rate-item.active .star-fill {
    display: block;
}

.note-body {
    position: relative;
}

.text-box {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 20px;
}

.text-container {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    position: relative;
}

    .text-container label {
        flex-direction: column;
        align-items: center;
        width: auto;
        height: auto;
        padding: 0;
        transition: none;
        overflow: visible;
        border-top-right-radius: var(--mdc-shape-small, 4px);
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        display: inline-flex;
        position: relative;
        box-sizing: border-box;
        will-change: opacity, transform, color;
    }

.note-tag-box {
    z-index: 1;
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 100%;
    text-align: left;
    pointer-events: none;
}

.tag-left {
    border-color: var(--gm-outlinedtextfield-outline-color, rgb(189, 193, 198));
    border-top-left-radius: var(--mdc-shape-small, 4px);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: var(--mdc-shape-small, 4px);
    border-left: 3px solid;
    border-right: none;
    border-top: 3px solid;
    border-bottom: 3px solid;
    box-sizing: border-box;
    height: 100%;
    pointer-events: none;
}

.tag-right {
    border-color: var(--gm-outlinedtextfield-outline-color, rgb(189, 193, 198));
    border-top-right-radius: var(--mdc-shape-small, 4px);
    border-bottom-right-radius: var(--mdc-shape-small, 4px);
    border-bottom-left-radius: 0;
    border-left: none;
    border-right: 3px solid;
    border-top: 3px solid;
    border-bottom: 3px solid;
    flex-grow: 1;
    box-sizing: border-box;
    height: 100%;
    pointer-events: none;
}

#note {
    color: var(--gm-outlinedtextfield-ink-color, rgb(232, 234, 237));
    margin-top: 16px;
    margin-bottom: 16px;
    caret-color: var(--gm-outlinedtextfield-caret-color, rgb(138, 180, 248));
    font-size: 1rem;
    letter-spacing: .00625em;
    font-weight: 400;
    flex-grow: 1;
    height: auto;
    min-height: 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    resize: none;
    padding: 0 16px;
    line-height: 1.5rem;
    display: flex;
    border: none !important;
    background-color: transparent;
    transition: opacity .15s cubic-bezier(.4, 0, .2, 1) 0s;
    width: 100%;
    min-width: 0;
    border-radius: 0;
    background: none;
}

.text-container label:hover > span:not(.facous) .tag-left,
.text-container label:hover > span:not(.facous) .tag-right {
    border-color: rgb(248, 249, 250);
}

.facous .tag-left,
.facous .tag-right {
    border-color: rgb(26,115,232)
}

textarea {
    outline: none;
    box-shadow: none;
}

    textarea:focus {
        outline: none;
        box-shadow: none;
    }

.upload-box {
    margin-top: 16px;
    margin-bottom: 12px;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 4px;
}

.upload-content {
    white-space: normal;
}

.upload-area {
    width: 100%;
    color: #eef0ff;
    outline: 0;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.upload-container {
    background: #2c303d;
    padding: 11px 15px;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    width: 100%;
    z-index: 0;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 9999px;
    text-transform: none;
    text-align: center;
}

    .upload-container::before {
        content: "";
        height: 48px;
        margin-top: -24px;
        top: 50%;
        position: absolute;
        left: 0;
        width: 100%;
        border-radius: inherit;
    }

.upload-left {
    left: -6px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.upload-svg {
    margin-right: 6px;
    height: 20px;
    color: #8ab4f8;
    display: block;
    unicode-bidi: isolate;
}

.upload-area:hover .upload-container::after {
    background: rgba(182, 207, 251, .08);
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.x-select {
    margin-left: -8px;
    margin-right: 0;
    display: flex;
    flex-flow: wrap;
    min-width: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 18px;
    color: #bfbfbf;
}

.x-box {
    background-color: rgba(138, 180, 248, .24);
    margin: 8px;
    margin-right: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 18px;
    color: #bfbfbf;
    background-color: transparent;
    background: #1f1f1f;
    border-radius: 8px;
    height: 32px;
    position: relative;
    max-width: 100%;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
}

.x-content {
    padding-left: 0;
    padding-right: 16px;
    overflow-x: hidden;
    align-items: center;
    background: none;
    border: none;
    box-sizing: content-box;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    outline: none;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

    .x-content::after {
        border-color: #3c4043;
        border-style: solid;
        border-width: 1px;
        border-radius: 8px;
        box-sizing: border-box;
        content: "";
        height: 100%;
        left: 0;
        position: absolute;
        pointer-events: none;
        top: 0;
        width: 100%;
        z-index: 1;
    }

.x-cover {
    position: absolute;
    top: 50%;
    height: 37px;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.x-item {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    box-sizing: content-box;
    overflow: hidden;
    pointer-events: none;
}

.x-svg-box {
    font-size: 18px;
    padding-left: 8px;
    padding-right: 8px;
    height: 18px;
    transition: width .1s cubic-bezier(.4, 0, .2, 1) 0s;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    position: relative;
    flex: 1 0 auto;
    width: 0;
}

.x-svg-content {
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transition: opacity 50ms linear 0s, transform .1s cubic-bezier(.4, 0, .2, 1) 0s;
    transform: translate(-75%, -50%);
    height: 20px;
    width: 20px;
    color: rgb(210, 227, 252);
}

.x-text {
    color: rgb(154, 160, 166);
    font-size: .875rem;
    letter-spacing: .0178571429em;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    text-overflow: ellipsis;
    overflow: hidden;
}

.x-content:hover .x-text {
    color: rgb(232, 234, 237);
}

.x-content:hover .x-svg-content svg {
    color: rgb(232, 234, 237);
}

.x-active .x-content::after {
    border-color: #8ab4f8;
}

.x-active .x-svg-box {
    width: 18px;
}

.x-active .x-svg-content {
    opacity: 1;
}
.review-footer {
    flex: 0 0 66px;
    background-color: #1f1f1f;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    display: flex;
    align-items: center;
}

.footer-box {
    line-height: 66px;
    text-align: right;
    flex: 1 1;
    display: block;
    unicode-bidi: isolate;
}

.cancel-box {
    display: inline-block;
    margin: 0 6px;
}

.btn-box {
    display: inline;
    unicode-bidi: isolate;
}

#cancel-btn:not(:disabled) {
    border-color: var(--gm-hairlinebutton-outline-color, rgb(95, 99, 104));
    color: var(--gm-hairlinebutton-ink-color, rgb(138, 180, 248));
}

#cancel-btn {
    font-size: .875rem;
    letter-spacing: .0107142857em;
    font-weight: 500;
    text-transform: none;
    transition: border .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: none;
    will-change: unset;
    padding: 0 23px 0 23px;
    border-width: 1px;
    height: 36px;
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 6px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 64px;
    border: none;
    outline: none;
    line-height: inherit;
    user-select: none;
    overflow: visible;
    vertical-align: middle;
    background: transparent;
    border-style: solid;
    cursor: pointer;
}

.btn-cover {
    left: -1px;
    width: calc(100% + 2px);
    position: absolute;
    top: 50%;
    height: 48px;
    right: 0;
    transform: translateY(-50%);
}

.btn-alert {
    height: 100%;
    position: absolute;
    overflow: hidden;
    width: 100%;
    z-index: 0;
    top: -1px;
    left: -1px;
    bottom: -1px;
    right: -1px;
    border-width: 1px;
    border-radius: 4px;
    border-style: solid;
    border-color: transparent;
    box-sizing: content-box;
}

.btn-text {
    position: relative;
    color: var(--gm-hairlinebutton-ink-color, rgb(138, 180, 248));
    font-size: .875rem;
    letter-spacing: .0107142857em;
    font-weight: 500;
    text-transform: none;
}

.post-box {
    display: inline-block;
    margin: 0 6px 0 14px;
}

#post-btn:disabled {
    box-shadow: none;
    color: var(--gm-fillbutton-disabled-ink-color, rgba(232, 234, 237, .38));
    background-color: var(--gm-fillbutton-disabled-container-color, rgba(232, 234, 237, .12));
    cursor: default;
    pointer-events: none;
}

.btn-body:hover {
    color: var(--gm-hairlinebutton-ink-color--stateful, rgb(174, 203, 250));
}

    .btn-body:hover .btn-text {
        color: var(--gm-hairlinebutton-ink-color--stateful, rgb(174, 203, 250));
    }

#post-btn {
    font-size: .875rem;
    letter-spacing: .0107142857em;
    font-weight: 500;
    text-transform: none;
    transition: border .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
    padding: 0 24px 0 24px;
    height: 36px;
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 6px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 64px;
    border: none;
    outline: none;
    line-height: inherit;
    user-select: none;
    overflow: visible;
    vertical-align: middle;
    background: transparent;
}

    #post-btn .btn-text {
        color: var(--gm-fillbutton-disabled-ink-color, rgba(232, 234, 237, .38));
    }

.img-box {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    height: 95px;
    margin: 12px 4px 0 0;
    vertical-align: top;
    width: calc(33.3333333333% - 4px);
    max-width: 114px;
}

.img-body {
    height: 100%;
    position: relative;
    width: 100%;
}

.img-main {
    position: relative;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: opacity .4s ease-in-out;
    border: none;
}

.img-cover {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.close {
    background-color: #fff;
    border-radius: 100%;
    border: none;
    display: inline-block;
    height: 20px;
    position: absolute;
    right: 6px;
    top: 6px;
    width: 20px;
    z-index: 2;
    cursor: pointer;
}

.main-selects {
    margin-bottom: 48px;
    margin-top: 0;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 4px;
}

.select-box {
    border-radius: 16px;
    margin-top: 16px;
    padding: 0 16px 12px;
    overflow: hidden;
    background: #242832;
}

.select-tit-box {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 0;
    color: #e8e8e8;
    margin-bottom: 6px;
    -webkit-text-size-adjust: 100%;
    white-space: normal;
}

.select-sub {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 16px;
    color: #9e9e9e;
    white-space: pre-wrap;
}