@font-face {
    font-weight: normal;
    font-family: Angkor;
    font-style: normal;
    src: url('https://assets.sunzi.cool/preload/brick-head-cub/fonts/Angkor-Regular.ttf');
    font-display: swap;
}

body.home {
    padding-bottom: 200px;
}

#sunzi-brick-head-cub {
    color: var(--gift-theme-color-05);
    font-size: 15px;
    font-family: Angkor;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    border-bottom: 2px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub img {
    display: block;
    user-select: none;
    pointer-events: none;
}

#sunzi-brick-head-cub svg {
    width: 100%;
    height: 100%;
}

#sunzi-brick-head-cub div {
    -webkit-tap-highlight-color: transparent;
}

#sunzi-brick-head-cub .brick-share {
    word-break: break-word;
}

#sunzi-brick-head-cub .brick-color-copied {
    position: fixed;
    z-index: 999;
    top: 0px;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(47, 19, 10, 0.9);
    color: white;
    transition: 0.3s ease-in-out;
    padding: 15px 30px 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    font-family: initial;
    pointer-events: none;
}

#sunzi-brick-head-cub .brick-color-copied-show {
    top: 125px;
    opacity: 1;
}

#sunzi-brick-head-cub .brick-share-edit .share-hidden,
#sunzi-brick-head-cub .pop-result.share-hidden,
#sunzi-brick-head-cub .pop-result .share-hidden,
#sunzi-brick-head-cub .brick-share-block-contrast.share-hidden,
#sunzi-brick-head-cub .share-hidden {
    display: none;
    animation: none !important;
}

#sunzi-brick-head-cub .flex-ct {
    display: flex;
    align-items: center;
    justify-content: center;
}

#sunzi-brick-head-cub .wrapper {
    /* position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; */
}

#sunzi-brick-head-cub .mb-50 {
    margin-bottom: 50px;
}

#sunzi-brick-head-cub .mb-40 {
    margin-bottom: 40px;
}

#sunzi-brick-head-cub .mt-40 {
    margin-top: 40px;
}

#sunzi-brick-head-cub .mb-20 {
    margin-bottom: 20px;
}

#sunzi-brick-head-cub .mb-10 {
    margin-bottom: 10px;
}

#sunzi-brick-head-cub .bd {
    border: 2px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .text-storke {
    position: relative;
}

#sunzi-brick-head-cub .text-storke-top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#sunzi-brick-head-cub .bg {
    background: var(--gift-theme-color) url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACeSURBVHgB7dTLCsJADIXh03qpFIq+/1MKoouK6ASm4EYJPdPd/0GgMCFNL4kEAACADXVqYygxlTjUmnOJRw3LTr5o7FJrdV91T/V6lsFtcCxx/nMebzYafGmlXp4xkTPJ4DZ4TOTsZXAbfCdyrHu4DT4TOdaQuA3eEjnWqnGneJnO4cd5PMBdhhZ7cFkjfa0X/2V8+qsaLGoAAABs6gPgMRQdxW5I4gAAAABJRU5ErkJggg==');
    background-size: 10px;
}

#sunzi-brick-head-cub .brick-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 20px;
    color: var(--gift-theme-color-05);
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    background-color: var(--gift-theme-color-01);
    border: 2px solid var(--gift-theme-color-05);
    box-shadow: 4px 4px 0 var(--gift-theme-color-05);
    cursor: pointer;
    user-select: none;
}

#sunzi-brick-head-cub #brick-share-next:hover {
    background-color: #B4F3D1;
}

#sunzi-brick-head-cub #brick-share-edit:hover {
    background-color: #C2E6FF;
}

#sunzi-brick-head-cub .theme {
    background-color: var(--gift-theme-color);
}

#sunzi-brick-head-cub .theme:hover {
    background-color: #FFF3A9;
}

#sunzi-brick-head-cub .blue {
    background-color: #1877F2;
}

#sunzi-brick-head-cub .blue:hover {
    background-color: #6DAAF9;
}

#sunzi-brick-head-cub .sky {
    background-color: #00B5F1;
}

#sunzi-brick-head-cub .sky:hover {
    background-color: #7DD7F5;
}

#sunzi-brick-head-cub .pink {
    background-color: #0085FF;
}

#sunzi-brick-head-cub .pink:hover {
    background-color: #70B9FD;
}

#sunzi-brick-head-cub .green {
    background-color: var(--gift-theme-color-04);
}

#sunzi-brick-head-cub .green2 {
    background-color: #2CB742;
}

#sunzi-brick-head-cub .green2:hover {
    background-color: #80D58E;
}

#sunzi-brick-head-cub .white {
    background-color: #fff;
}

#sunzi-brick-head-cub .font-orange {
    color: #ff7c1e !important
}

#sunzi-brick-head-cub .brick-share-button:active {
    background-color: #fff3a9;
    box-shadow: unset;
    transform: translate(4px, 4px);
}

#sunzi-brick-head-cub .brick-share-button.disabled {
    pointer-events: none;
    background: #DFDFDF;
    border: 2px solid #BFBFBF;
    box-shadow: 4px 4px 0px #BFBFBF;
    color: rgba(47, 19, 10, 0.2);
}

#sunzi-brick-head-cub .brick-share-content {
    width: 100%;
    position: relative;
    border-top: 2px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-share-content-wrapper {
    width: 100%;
    max-width: 880px;
    padding: 50px 40px 40px;
    margin: 0 auto;
}

#sunzi-brick-head-cub .brick-share-title {
    color: #fff;
    font-size: 60px;
    line-height: 65px;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-share-order {
    padding: 3px 45px 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 14px;
    background-color: #fff;
}

#sunzi-brick-head-cub .brick-share-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    border-bottom: 1px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-share-order-item span {
    font-weight: 600;
}

#sunzi-brick-head-cub .brick-share-order-item:last-child {
    border-bottom: 0;
}

#sunzi-brick-head-cub .brick-share-side-title {
    padding: 15px 20px;
    color: var(--gift-theme-color);
    background-color: var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-share-side-title-edit {
    padding: 15px 20px;
    color: #fff;
    background-color: var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-modify-price-table {
    border: 2px solid var(--gift-theme-color-05);
    background-color: var(--gift-theme-color);
    padding: 5px 40px;
    border-bottom: 0px;
}

#sunzi-brick-head-cub .brick-modify-price-table .brick-modify-price-table-item {
    width: 100%;
    padding: 9px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sunzi-brick-head-cub .brick-modify-price-table .brick-modify-price-table-item:not(:last-child) {
    border-bottom: 1px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-modify-price-table .brick-modify-price-table-item__text-bold {
    font-weight: 700;
    font-family: sans-serif;
    font-size: 14px;

}

#sunzi-brick-head-cub .brick-modify-price-table .brick-modify-price-table-item__text {
    font-size: 14px;
    font-weight: 400;
    font-family: sans-serif;
}

#sunzi-brick-head-cub .brick-share-side {
    position: relative;
    width: 100%;
}

#sunzi-brick-head-cub .brick-share-side::before {
    display: block;
    /* padding-top: 50%; */
    content: '';
}

#sunzi-brick-head-cub .brick-share-side-info {
    display: flex;
    background-color: #fff;
}

#sunzi-brick-head-cub .brick-share-side-info .brick-share-side-item {
    flex-basis: 30.625%;
    height: 100%;
    padding: 15px 0 10px 15px;
    border-width: 2px 0px 2px 2px;
    overflow: hidden;
}

#sunzi-brick-head-cub .brick-share-side-info .fix-preview-wrapper {
    flex-basis: 38.75%;
    /* height: 100%; */
    pointer-events: none;
    overflow: unset;
}

#sunzi-brick-head-cub .brick-share-side-info .fix-preview-wrapper .brick-share-side-item {
    border-width: 2px 0px 2px 2px !important;
    padding: 15px 15px 10px;
}

#sunzi-brick-head-cub .brick-share-side-info .brick-share-side-item:last-child {
    border-width: 2px 2px 2px 0px;
    padding: 15px 15px 10px 0;
}

#sunzi-brick-head-cub .brick-share-side-tip {
    display: inline-flex;
    height: 20px;
    padding: 1px 8px;
    font-size: 12px;
    line-height: 16px;
    background-color: var(--gift-theme-color);
    margin-bottom: 5px;
}

#sunzi-brick-head-cub .brick-modify-info {
    width: 100%;
    background-color: rgba(47, 19, 10, .04);
    padding: 30px 40px 40px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 60px;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-title {
    font-weight: 400;
    font-size: 18px;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-desc {
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content {
    width: 100%;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-item {
    border-bottom: 1px solid var(--gift-theme-color-05);
    margin-top: 20px;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-choose {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-choose span {
    font-family: sans-serif;
    font-weight: 700;
    font-size: 14px;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-choose label {
    font-family: sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0px;
    color: var(--gift-theme-color-05);
    text-transform: none;
}

#sunzi-brick-head-cub .brick-modify-info .edit-choose-group input[type="radio"] {
    display: none;
}

#sunzi-brick-head-cub .brick-modify-info .edit-choose-group input[type="radio"]+label::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    margin-left: 8px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0px 0px 0px 2px var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-modify-info .edit-choose-group input[type="radio"]:checked+label::before {
    background-color: var(--gift-theme-color-05);
    box-shadow: 0px 0px 0px 2px var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-item textarea {
    font-family: sans-serif;
    width: 100%;
    height: 50px;
    overflow: auto;
    padding: 14px 0px 0px 0px;
    font-weight: 400;
    font-size: 12px;
    color: #2F130A;
    line-height: 16px;
    outline: none;
    border: none;
    resize: none;
    text-transform: capitalize;
    transition: height 0.3s ease-in-out;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: none;
    min-height: unset;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-item textarea::-webkit-scrollbar {
    display: none;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-item textarea::placeholder {
    font-family: sans-serif;
    font-size: 12px;
    color: #2F130A;
    opacity: 0.3;
}

#sunzi-brick-head-cub .brick-modify-info .brick-modify-info-content-item .textarea-hide {
    pointer-events: none;
    overflow: hidden;
    height: 0px !important;
}

.brick-share-front-side,
.brick-share-back-side {
    width: 100%;
    height: calc(100% - 25px);
}

#brick-share-user,
#brick-share-user-edit {
    width: 100%;
    height: 100%;
}

.brick-share-front-side img,
.brick-share-back-side img,
#brick-share-user img,
#brick-share-user-edit img,
#brick-share-user-mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#brick-share-user,
#brick-share-user-edit {
    position: relative;
}

#brick-share-user img.user-image,
#brick-share-user-edit img.user-image {
    position: relative;
    width: unset;
    height: unset;
    max-width: 100%;
    max-height: 100%;
    border: 2px solid #fff;
}

#brick-share-user .brick-share-side-tip,
#brick-share-user-edit .brick-share-side-tip {
    position: relative;
    z-index: 1;
}

#brick-share-user .bottom-image,
#brick-share-user-edit .bottom-image {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transform: none !important;
    border: none;
}

#brick-share-user .bottom-image-mask,
#brick-share-user-edit .bottom-image-mask {
    position: absolute;
    bottom: 0 !important;
    left: 0;
    width: 100%;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 20px 15px;
}

#brick-share-user .user-image-wrapper,
#brick-share-user-edit .user-image-wrapper {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#brick-share-user .user-image-info,
#brick-share-user-edit .user-image-info {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#brick-share-user .user-scale-image,
#brick-share-user-edit .user-scale-image {
    display: none;
}

/* 24-01-18 hotfix: 添加提交修改按钮禁用 */
#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-submit .disable-submit {
    pointer-events: none;
    background-color: #d3d3d3;
    color: #8f8f8f;
    border: 2px solid #8f8f8f;
}

#brick-share-user-mobile {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 90px;
    height: 120px;
    z-index: 2;
    background-color: #fff;
    filter: drop-shadow(2px 2px 0px var(--gift-theme-color-05));
    cursor: pointer;
    transition: all 0.3s;
}

#brick-share-user-mobile {
    display: none;
    top: -10px;
    transform: translateY(-100%);
    transform-origin: left bottom;
}

#brick-share-user .brick-share-user-add,
#brick-share-user .brick-share-user-sub,
#brick-share-user-edit .brick-share-user-add,
#brick-share-user-edit .brick-share-user-sub,
#brick-share-user-mobile .brick-share-user-add,
#brick-share-user-mobile .brick-share-user-sub {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 5px;
    bottom: 5px;
    display: none;
}

#brick-share-user .brick-share-user-sub,
#brick-share-user-edit .brick-share-user-sub,
#brick-share-user-mobile .brick-share-user-sub {
    width: 50px;
    height: 50px;
    right: 0;
    bottom: 0;
}

#brick-share-user-mobile.brick-share-user-preview {
    width: 300px;
    height: 400px;
    z-index: 999;
}

.brick-share-back-side,
.brick-share-front-side {
    transition: all 0.3s;
}

#qrcode {
    display: none;
}

#sunzi-brick-head-cub .brick-share-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 98;
    padding: 20px 40px 40px;
    background-color: #fff;
    border-top: 2px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-share-footer-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}

#sunzi-brick-head-cub .brick-share-footer-tips {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 5px;
}

#brick-share-home.hidden-edit #brick-share-edit {
    display: none;
}

#sunzi-brick-head-cub .brick-share-footer-title {
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    font-family: 'Roboto';
    white-space: pre-line;
}

#sunzi-brick-head-cub .brick-share-footer-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    margin-bottom: 20px;
}

#sunzi-brick-head-cub .pop-result-content-text span,
#sunzi-brick-head-cub .brick-share-footer-title span {
    color: var(--gift-theme-color-03);
}

#sunzi-brick-head-cub .brick-share-footer-button {
    max-width: 500px;
}

#sunzi-brick-head-cub .brick-share-footer-button:last-child {
    margin-right: 50px;
}

#sunzi-brick-head-cub #brick-share-preview .brick-share-content-wrapper {
    padding: 50px 40px 40px;
}

#sunzi-brick-head-cub .brick-share-sub-title {
    font-size: 30px;
    line-height: 35px;
}

#sunzi-brick-head-cub #brick-share-preview .brick-share-footer {
    display: block;
    padding: 0;
    position: relative;
}

#brick-share-preview .brick-share-footer-cool {
    font-size: 40px;
    line-height: 45px;
}

#brick-share-preview .brick-share-footer-sub-title {
    color: var(--gift-theme-color);
    text-shadow: 3px 3px 0px #2F0A0A;
}

#brick-share-preview .brick-share-card,
#brick-share-preview .brick-edit-card {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

#brick-share-preview .brick-share-card:before {
    display: block;
    /* padding-top: 40%; */
    content: "";
}

#brick-share-preview .brick-edit-card:before {
    display: block;
    /* padding-top: 60%; */
    content: "";
}

#brick-share-preview.brick-share-edit .brick-share-card {
    display: none;
}

#brick-share-preview.brick-share-edit .brick-edit-card {
    display: block;
}

#brick-share-preview .brick-edit {
    width: 100%;
}

#brick-share-preview .brick-share-preview-image,
#brick-share-preview .brick-share-edit-color,
#brick-share-preview .brick-share-preview-color {
    height: 100%;
    border: 2px solid var(--gift-theme-color-05);
    border-width: 2px 1px 2px 2px;
    position: relative;
}

#brick-share-preview .brick-share-edit-color {
    width: 37.5%;
    border-width: 2px 2px 2px 1px;
}

#brick-share-image,
.watermark {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watermark {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
}

#brick-share-preview .brick-share-preview-image {
    width: 71.5%;
    height: 100%;
}

#brick-share-preview .brick-share-preview-color {
    width: 28.5%;
    height: 100%;
    border-width: 2px 2px 2px 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 29px 0px;
}

#brick-share-preview .brick-share-preview-color-title {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 14px;
    font-family: 'Roboto';
    font-weight: 600;
    text-align: center;
}

#brick-share-preview .brick-share-preview-color-info {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    grid-template-rows: repeat(4, 42px);
    justify-content: center;
    align-content: center;
    column-gap: 20px;
    row-gap: 20px;
}

#brick-share-preview .brick-share-preview-color-item {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    cursor: pointer;
    border: 2px solid var(--gift-theme-color-05);
}

#brick-share-preview .brick-share-preview-color-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#brick-share-preview .brick-share-preview-color-item.active {
    position: relative;
}

#brick-share-preview .brick-share-preview-color-item.active:before,
#brick-share-preview .brick-share-preview-color-item.active:after {
    position: absolute;
    width: 52px;
    height: 52px;
    left: 50%;
    top: 50%;
    content: "";
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
}

#brick-share-preview .brick-share-preview-color-item.active:after {
    border: 2px solid var(--gift-theme-color-05);
}

#brick-share-preview .brick-share-preview-button-title {
    font-size: 20px;
    line-height: 25px;
    display: flex;
    text-align: left;
    padding-bottom: 84px;
    margin-bottom: 10px;
    position: relative;
}

#brick-share-preview .down-title {
    padding-bottom: 0;
    margin-bottom: 15px;
    opacity: 0.3;
}

#brick-share-preview .brick-share-preview-button-title .brick-share-preview-button-title-dot {
    position: absolute;
    width: 4px;
    height: calc(100% - 35px);
    left: 12.5px;
    top: 35px;
    border-left: 4px dotted #2F130A;
    transform: translateX(-50%);
    opacity: 0.3;
}

#brick-share-preview .down-title.active,
#brick-share-preview .brick-share-preview-button-title .brick-share-preview-button-title-dot.active {
    opacity: 1;
}

#brick-share-preview .brick-share-preview-button-title span {
    width: 25px;
    height: 25px;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    color: #FFDA00;
    border-radius: 50%;
    background: #2F130A;
    flex-shrink: 0;
    margin-right: 10px;
    text-align: center;
}

#brick-share-preview .brick-share-preview-button-info {
    background: #fff;
}

#brick-share-preview .brick-share-preview-button-wrapper {
    display: flex;
    position: absolute;
    left: 35px;
    bottom: 10px;
    width: calc(100% - 35px);
}

#brick-share-preview .down-image-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 15px 20px 30px;
}

#brick-share-preview .down-image-list-item {
    width: 25%;
    padding: 0 15px 20px 0;
}

#brick-share-preview .down-item-image {
    background: #FFFBE4;
    display: flex;
    justify-content: center;
    padding: 10px 10px;
    margin-bottom: 10px;
    position: relative;
}

#brick-share-preview .down-item-title {
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    text-align: left;
    color: #2F130A;
    text-transform: capitalize;
    font-family: 'Roboto';
}

#brick-share-preview .down-item-button {
    position: absolute;
    z-index: 3;
    width: 46px;
    height: 46px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    top: 5px;
    right: 5px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
}

#brick-share-preview .down-item-button.loading {
    cursor: not-allowed;
}

#brick-share-preview .down-item-button.loading .down-item-button-svg,
#brick-share-preview .down-item-button-loading {
    display: none;
}

#brick-share-preview .down-item-button.loading .down-item-button-loading {
    display: flex;
}

#brick-share-preview .down-item-button.active {
    display: flex;
}

#brick-share-preview .down-item-button-svg,
#brick-share-preview .down-item-button-loading {
    width: 30px;
    height: 30px;
}

#brick-share-preview .down-item-image-info {
    width: 60px;
    height: 115px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.15), 0px 2px 5px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

#brick-share-preview .down-item-image-info img {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

#brick-share-preview .down-item-image-thumb {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#brick-share-preview #down-facebook {
    height: 35px;
    top: 19px;
}

#brick-share-preview #down-landscape {
    height: 50px;
    top: 37px;
}

#brick-share-preview #down-square {
    height: 60px;
    top: 38px;
}

#brick-share-preview #down-twitter {
    height: 34px;
    top: 41px;
}

#sunzi-brick-head-cub .brick-share-preview-button-wrapper .brick-share-button {
    padding: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 2px 2px 0 var(--gift-theme-color-05);
    margin-right: 20px;
}

#sunzi-brick-head-cub #share-down {
    width: 100%;
    max-width: 260px;
    margin-top: 20px;
    border-radius: 0;
    height: 46px;
    font-size: 16px;
    line-height: 16px;
    color: var(--gift-theme-color-05);
}

#sunzi-brick-head-cub #share-down.loading {
    opacity: 0.3;
    cursor: not-allowed;
}

#sunzi-brick-head-cub #share-down.loading .brick-share-button-loading {
    display: block;
}

#sunzi-brick-head-cub .brick-share-button-loading {
    display: none;
    width: 16px;
    height: 16px;
    margin-right: 12px;
}

#sunzi-brick-head-cub .down-item-button-loading svg,
#sunzi-brick-head-cub .brick-share-button-loading svg {
    width: 100%;
    height: 100%;
    animation: loading-rotate 2s linear infinite;
}

#sunzi-brick-head-cub .down-item-button-loading svg circle,
#sunzi-brick-head-cub .brick-share-button-loading svg circle {
    animation: loading-dash 1.5s ease-in-out infinite;
    stroke: var(--gift-theme-color-05);
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-width: 6;
    stroke-linecap: round;
}

#sunzi-brick-head-cub .down-item-button-loading svg circle {
    stroke: #fff;
}

#sunzi-brick-head-cub .brick-share-preview-button-wrapper .brick-share-button.close {
    opacity: 0.3;
    cursor: not-allowed;
}

#sunzi-brick-head-cub .brick-share-button-icon {
    width: 40px;
    height: 40px;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-button:active,
#sunzi-brick-head-cub .brick-share-preview-button-wrapper .brick-share-button:active {
    box-shadow: unset;
    transform: translate(2px, 2px);
}

#sunzi-brick-head-cub .brick-share-preview-button-wrapper a:last-child,
#sunzi-brick-head-cub .brick-share-preview-button-wrapper .brick-share-button:last-child {
    margin-right: 0;
}

#sunzi-brick-head-cub .brick-share-preview-loading {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    font-family: 'Roboto';
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

#sunzi-brick-head-cub .brick-share-preview-loading:before {
    content: "";
    position: absolute;
    width: 95%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    background-color: var(--gift-theme-color);
    animation: loading-share 8s linear;
}

#sunzi-brick-head-cub .brick-share-preview-loading.share-hidden {
    display: none;
    animation: none;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-title,
#sunzi-brick-head-cub .brick-share-edit .brick-share-sub-title {
    display: none;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-title {
    display: block;
    margin-bottom: 10px;
}

#sunzi-brick-head-cub #brick-share-back {
    display: none;
}

#sunzi-brick-head-cub .brick-share-edit #brick-share-back {
    display: flex;
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-23px);
    width: 46px;
    height: 46px;
    padding: 0;
    box-shadow: 3px 3px 0 var(--gift-theme-color-05);
}

#sunzi-brick-head-cub #brick-share-back:active {
    box-shadow: unset;
    transform: translate(3px, -20px);
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-button-icon {
    width: 20px;
    height: 20px;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-preview-color {
    display: none;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-color {
    display: flex;
    flex-direction: column;
    position: relative;
}

#sunzi-brick-head-cub .pop-result {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sunzi-brick-head-cub .pop-result-content {
    width: calc(100% - 20px);
    max-width: 500px;
    background-color: #fff;
    padding: 15px 50px 40px;
    border: 2px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .pop-result-content-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

#sunzi-brick-head-cub .pop-result-content-text {
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    white-space: pre-line;
}

#sunzi-brick-head-cub .pop-result-content .brick-share-button {
    max-width: 250px;
    margin: 0 auto;
}

#sunzi-brick-head-cub .pop-result:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.4);
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-input {
    flex: 1;
    border-bottom: 1px solid var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-input textarea {
    width: 100%;
    height: 100%;
    padding: 20px;
    font-size: 18px;
    color: #2F130A;
    line-height: 22px;
    outline: none;
    border: none;
    resize: none;
    text-transform: capitalize;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-input textarea::placeholder {
    color: #2F130A;
    opacity: 0.3;
}

#sunzi-brick-head-cub .brick-share-edit .brick-share-edit-submit {
    /* height: 106px; */
    margin-top: 40px;
    width: 262px;
    /* background-color: #fff; */
    padding: 0 20px;
    /* border-top: 1px solid var(--gift-theme-color-05); */
}

#sunzi-brick-head-cub #brick-share-preview.brick-share-edit .brick-share-content .brick-share-content-wrapper {
    padding: 50px 50px 40px 136px;
}

#sunzi-brick-head-cub #brick-share-preview.brick-share-edit .brick-share-footer .brick-share-content-wrapper {
    padding: 60px 40px;
}

#brick-share-preview.brick-share-edit .brick-share-footer-cool {
    display: none;
}

#sunzi-brick-head-cub .pop-result .brick-share-button,
#sunzi-brick-head-cub .brick-share-edit .brick-share-button {
    padding: 15px 20px;
    font-size: 16px;
    line-height: 16px;
    box-shadow: 3px 3px 0 var(--gift-theme-color-05);
}

#sunzi-brick-head-cub .pop-result .brick-share-button:active,
#sunzi-brick-head-cub .brick-share-edit .brick-share-button:active {
    box-shadow: unset;
    transform: translate(3px, 3px);
}

#sunzi-brick-head-cub .brick-share-edit-no {
    padding: 20px;
    color: var(--gift-theme-color-03);
    background: #fff;
    text-align: left;
    z-index: 3;
}

#sunzi-brick-head-cub .brick-share-block-contrast {}

#sunzi-brick-head-cub .brick-share-block-contrast__desc {
    color: #2F130A;
    text-align: center;
    font-family: SF Pro Display;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 122.222% */
    letter-spacing: -0.36px;
    margin-bottom: 15px;
    padding: 0px 145px;
}

#sunzi-brick-head-cub .brick-share-block-contrast__desc--hint {
    /* font-style: italic; */
    padding: 0 198px;
}

#sunzi-brick-head-cub .brick-share-block-contrast__specific {
    max-width: max-content;
    /* width: 320px;
  height: 85px; */
    margin: 0 auto;
    gap: 10px;
    border: 2px solid #2F130A;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

#sunzi-brick-head-cub .specific__item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: auto;
}

#sunzi-brick-head-cub .specific__part--divider {
    background-color: #2F130A;
    height: 1px;
    width: 100%;
}

#sunzi-brick-head-cub .specific__item--label {
    text-align: center;
    font-family: SF Pro Display;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.36px;
    margin-right: 4px;
}

#sunzi-brick-head-cub .specific__item--text {
    color: #FF7C1E;
    font-size: 18px;
    font-weight: 400;
}

#sunzi-brick-head-cub .brick-share-block-contrast__color-cards {
    background: rgba(47, 19, 10, .04);
    padding: 0px 10px 10px 10px;
    overflow: hidden;
    margin-top: 25px;
}

#sunzi-brick-head-cub .color-cards__title {
    margin: 20px 0;
}

#sunzi-brick-head-cub .color-cards__list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

#sunzi-brick-head-cub .color-cards__list .color-card {
    max-width: 122px;
    /* aspect-ratio: 1; */
    background-color: #fff;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    cursor: pointer
}

#sunzi-brick-head-cub .color-cards__list .color-card:hover .color-card__num .color-card__copy g {
    opacity: 1;
}

#sunzi-brick-head-cub .color-cards__list .color-card .color-card__thumb {
    max-width: 64px;
    aspect-ratio: 1;
    margin: 0 auto;
}

#sunzi-brick-head-cub .color-card__content {
    position: relative;
    /* margin-bottom: 9px; */
}

#sunzi-brick-head-cub .color-card__num {
    text-align: left;
    padding: 0 5px;
    /* margin-top: 5px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sunzi-brick-head-cub .color-card__copy {
    height: 20px;
    width: 20px;
}

#sunzi-brick-head-cub .color-card__copy g {
    height: 100%;
    width: 100%;
    opacity: 0.3;
    transition: 0.3s ease;
}

#sunzi-brick-head-cub .color-card__name {
    color: #2F130A;
    text-align: center;
    font-family: SF Pro Display;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.24px;
    text-transform: capitalize;
}

#sunzi-brick-head-cub .color-card__tag {
    color: #B8B0AD;
    text-align: center;
    font-family: SF Pro Display;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.24px;
}

.brick-share-block-contrast--mark {
    font-weight: 700;
}

@keyframes loading-share {
    0% {
        width: 5%;
    }

    100% {
        width: 95%;
    }
}

@keyframes show-bt {
    0% {
        transform: translate3d(0, 100%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes loading-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -40px;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -120px;
    }
}