html {
    font-size: 85px;
}
/* 5K+ */
@media only screen and (orientation: landscape) and (min-device-width: 5001px) {
    html {
        font-size: 160px !important;
    }
}
@media only screen and (orientation: portrait) and (min-device-height: 5001px) {
    html {
        font-size: 160px !important;
    }
}
/* 4K */
@media only screen and (orientation: landscape) and (max-device-width: 5000px) and (min-device-width: 3001px) {
    html {
        font-size: 140px !important;
    }
}
@media only screen and (orientation: portrait) and (max-device-height: 5000px) and (min-device-height: 3001px) {
    html {
        font-size: 140px !important;
    }
}
/* 2K */
@media only screen and (orientation: landscape) and (max-device-width: 3000px) and (min-device-width: 2001px) {
    html {
        font-size: 100px !important;
    }
}
@media only screen and (orientation: portrait) and (max-device-height: 3000px) and (min-device-height: 2001px) {
    html {
        font-size: 100px !important;
    }
}
/* 1K */
@media only screen and (orientation: landscape) and (max-device-width: 2000px) {
    html {
        font-size: 85px !important;
    }
}
@media only screen and (orientation: portrait) and (max-device-height: 2000px) {
    html {
        font-size: 85px !important;
    }
}

@font-face {
    font-family: 'HarmonyosSansEn';
    src: url('../fonts/harmonyos_sans_en.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}
@font-face {
    font-family: 'PangMenZhengDao';
    src: url('../fonts/pmzd.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg: #1D1F21;
    --bg-focus: #2c2e30;
    --primary-clear: #FF6600;
    --primary-dull: #ff983f;
    --primary-visible: #ffffa1;
    --accent-clear: #F5F5F5;
    --accent-dull: #929292;
    --clear: #FFFFFF;
    --dull: #e0e0e0;
    --duller: #444648;
}
/*
::-webkit-scrollbar {
    width: 10px; 
}
::-webkit-scrollbar-track {
    background: #424242; 
}
::-webkit-scrollbar-thumb {
    background: #686868; 
}
::-webkit-scrollbar-thumb:hover {
    background: #7b7b7b;
}
*/

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: HarmonyosSansEn, Roboto, Helvetica, Arial, sans-serif, 'MicrosoftYaHei', 'Apple Color Emoji', 'Segoe UI Emoji';
    font-size: 0.14rem;
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
    width: 100vw;
    max-width: 100vw;
    background-color: var(--bg);
    color: var(--clear);
    overflow: hidden;
    color-scheme: dark;
    will-change: transform;
    scrollbar-width: thin;
}
table{table-layout:fixed; word-break:break-all;}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.sticky {
    position: sticky;
}
.fixed {
    position: fixed;
}
.hidden {
    display: none;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.h-0 {
    height: 0;
}
.top-0 {
    top: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.bottom-0 {
    bottom: 0;
}

.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.flex-1 {
    flex: 1 1 0%;
}
.flex-ac {
    align-items: center;
}
.flex-juc {
    justify-content: center;
}
.flex-row {
    flex-direction: row;
}
.flex-col {
    flex-direction: column;
}
.flex-col-reverse {
    flex-direction: column-reverse;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.items-start {
    align-items: flex-start;
}
.items-center {
    align-items: center;
}
.items-middle {
    align-items: center;
    justify-content: center;
}
.justify-start {
    justify-content: flex-start;
}
.justify-end {
    justify-content: flex-end;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.grow {
    flex-grow: 1;
}
.grow-0 {
    flex-grow: 0;
}
.shrink {
    flex-shrink: 1;
}
.shrink-0 {
    flex-shrink: 0;
}

.grid {
    display: grid;
}
.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}
.col-span-2 {
    grid-column: span 2 / span 2;
}
.col-span-8 {
    grid-column: span 8 / span 8;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overflow-y-auto {
    overflow-y: auto;
}
.overflow-x-auto {
    overflow-x: auto;
}
.overflow-hidden {
    overflow: hidden;
}

.mr-10 {
    margin: 0.1rem;
}
.mr-t10 {
    margin-top: 0.1rem;
}
.mr-r10 {
    margin-right: 0.1rem;
}
.mr-b10 {
    margin-bottom: 0.1rem;
}
.mr-l10 {
    margin-left: 0.1rem;
}
.mr-15 {
    margin: 0.15rem;
}
.mr-t15 {
    margin-top: 0.15rem;
}
.mr-r15 {
    margin-right: 0.15rem;
}
.mr-b15 {
    margin-bottom: 0.15rem;
}
.mr-l15 {
    margin-left: 0.15rem;
}
.mr-20 {
    margin: 0.2rem;
}
.mr-t20 {
    margin-top: 0.2rem;
}
.mr-r20 {
    margin-right: 0.2rem;
}
.mr-b20 {
    margin-bottom: 0.2rem;
}
.mr-l20 {
    margin-left: 0.2rem;
}

.pd-10 {
    padding: 0.1rem;
}
.pd-t10 {
    padding-top: 0.1rem;
}
.pd-r10 {
    padding-right: 0.1rem;
}
.pd-b10 {
    padding-bottom: 0.1rem;
}
.pd-l10 {
    padding-left: 0.1rem;
}
.pd-15 {
    padding: 0.15rem;
}
.pd-t15 {
    padding-top: 0.15rem;
}
.pd-r15 {
    padding-right: 0.15rem;
}
.pd-b15 {
    padding-bottom: 0.15rem;
}
.pd-l15 {
    padding-left: 0.15rem;
}
.pd-20 {
    padding: 0.2rem;
}
.pd-t20 {
    padding-top: 0.2rem;
}
.pd-r20 {
    padding-right: 0.2rem;
}
.pd-b20 {
    padding-bottom: 0.2rem;
}
.pd-l20 {
    padding-left: 0.2rem;
}

.checkbox-switch {
    position: relative;
    display: inline-block;
    font-size: 0.2rem;
}
.checkbox-switch input {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    width: 0;
    height: 0;
}
.checkbox-switch .switch-indicator {
    position: relative;
    display: block;
    height: 1em;
    min-width: 1.8em;
    border: none;
    border-radius: 1.8em;
    background-color: var(--dull);
    cursor: pointer;
    transition: .2s;
}
.checkbox-switch .switch-indicator::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    height: calc(1em - 4px);
    width: calc(1em - 4px);
    margin: 2px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(17, 20, 24, .2);
    transition: left .2s;
}
.checkbox-switch input:checked+.switch-indicator {
    background-color: #1e9fff;
}
.checkbox-switch input:checked+.switch-indicator:before {
    left: calc(100% - 1em);
}

.radio-inputs {
    min-width: 0.32rem;
    height: 0.3rem;
    padding: 2px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    border-radius: 0.06rem;
    background-color: var(--duller);
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    font-size: 0.14rem;
}
.radio-inputs .radio {
    flex: 1 1 auto;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.radio-inputs .radio input {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-inputs .radio-name {
    height: 100%;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.02rem;
    font-size: 1em;
    border-radius: 0.06rem;
    border: none;
    transition: all .15s ease-in-out;
    box-sizing: border-box;
    cursor: pointer;
}
.radio-inputs .radio input:checked+.radio-name {
    background-color: var(--primary-dull);
}

.layui-layer-title {
    height: 0.42rem;
    line-height: 0.42rem;
    padding-left: 0.12rem;
}
.layui-layer-tab .layui-layer-title span.layui-this {
	height: 0.42rem;
    line-height: 0.42rem;
	background-color: var(--bg);
	font-weight: bold;
}
.layui-layer-setwin {
    top: 0.08rem;
    right: 0.07rem;
}
.layui-layer-setwin span {
    height: 0.26rem;
    width: 0.26rem;
    line-height: 0.26rem;
}
.layui-layer-msg {
    min-width: 0.3rem;
    max-width: 4rem;
    min-height: 0.54rem;
    border: 0 none;
    color: #fff;
    box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, .2), 0 2px 4px rgba(17, 20, 24, .4);
    overflow-y: hidden;
}
.layui-layer-msg .layui-layer-content {
    font-size: 0.15rem;
    line-height: 1.4;
    max-height: 3rem;
    overflow-y: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.layui-layer-msg .layui-layer-padding {
    padding: 0.15rem 0.5rem 0.15rem 0.6rem;
}
.layui-layer-msg .layui-layer-content .layui-icon {
    color: rgba(255,255,255,0.8);
    left: 0.15rem;
    top: 0.12rem;
    width: 0.3rem;
    height: 0.3rem;
    font-size: 0.3rem;
    line-height: 1.0 !important;
}
.layui-layer-msg .layui-layer-setwin {
    position: absolute;
    right: 0.1rem;
    top: 0.12rem;
}
.layui-layer-msg .layui-layer-setwin .layui-layer-close {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    border: 0 none;
    border-radius: 3px;
    width: 0.3rem;
    height: 0.3rem;
    line-height: 1.0;
    background-color: transparent;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.layui-layer-msg .layui-layer-setwin .layui-layer-close::before {
    display: inline-block;
}
.layui-layer-msg .layui-layer-setwin .layui-layer-close:hover {
    background-color: rgba(0,0,0,0.2);
}
.layer-intent-danger {
    background-color: #cd4246;
}
.layer-intent-success {
    background-color: #238551;
}
.layer-intent-warning {
    background-color: #EC9A3C;
}
.layer-intent-loading .layui-layer-padding {
    padding: 0.15rem 0.15rem 0.15rem 0.55rem;
}
.layer-intent-loading .layui-layer-content {
    overflow-y: hidden;
    min-height: 0.4rem;
}
.layui-layer-tips .layui-layer-content {
    padding: 0.2rem;
}
.layui-dropdown, .layui-dropdown.layui-panel {
    padding: 1px;
    border: 0 none;
    background-color: var(--bg-focus);
    color: var(--accent-clear);
    box-shadow: inset 0 0 0 1px hsla(0,0%,100%,.2),0 1px 1px 0 rgba(17,20,24,.4);
}
.layui-dropdown .layui-dropdown-menu,
.layui-dropdown.layui-panel .layui-menu {
    background-color: transparent;
    margin: 0;
    padding: 0.05rem;
}
.layui-menu li {
    padding: 0;
    font-size: 0.14rem;
    border-radius: 3px;
    line-height: 1.0;
    margin: 0;
}
.layui-menu li:hover {
    background-color: var(--duller);
}
.layui-menu-body-title {
    padding: 0.05rem 0.1rem;
    line-height: 1.5;
    margin: 0;
}
.layui-menu .layui-menu-item-divider {
    border-bottom-color: var(--duller);
}


@keyframes rotate-keyframes {
    100% {
        transform: rotate(360deg);
    }
}
.anim-rotate {
    animation: rotate-keyframes 1s linear infinite;
}
.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 16px;
    min-height: 16px;
}


/* loader tip */
@keyframes scale-up4 {
    20% {
        background-color: #ffff;
        transform: scaleY(1.5);
    }
    40% {
        transform: scaleY(1);
    }
}
.lazy-loader {
    display: flex;
    align-items: center;
}
.loader-bar {
    display: inline-block;
    width: 0.03rem;
    height: 0.2rem;
    background-color: rgba(255, 255, 255, .5);
    border-radius: 0.1rem;
    animation: scale-up4 1s linear infinite;
}
.loader-bar:nth-child(2) {
    height: 0.35rem;
    margin: 0 0.05rem;
    animation-delay: .25s;
}
.loader-bar:nth-child(3) {
    animation-delay: .5s;
}

/* mobile */
.mobile-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0);
    z-index: -1;
    display: none;
}
.mobile-hd-menu {
    margin-right: 0.2rem;
    font-size: 0;
    display: none;
}
.mobile-hd-settings {
    font-size: 0;
    display: none;
}
.mobile-hd-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 0 none;
    padding: 0;
    min-width: 0.34rem;
    min-height: 0.34rem;
    border-radius: 0.05rem;
    line-height: 1.0;
    background: none;
    background-color: transparent;
    color: var(--accent-clear);
    font-size: 0;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}
.mobile-hd-btn.active,
.mobile-hd-btn:active {
    background-color: var(--duller);
}
.mobile-hd-btn svg {
    pointer-events: none;
}

/* page loading 效果 */
@keyframes plspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.page-loading {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
}
.page-loading-icon {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-loading-icon > img {
    width: 0.64rem;
    height: auto;
    animation: plspin 2s linear infinite; 
    transform-origin: 50% 50%;
}
.page-loading-text {
    font-size: 0.16rem;
    color: var(--dull);
    text-align: center;
}

.app-header {
    height: 0.48rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--duller);
    padding: 0 0.1rem;
	background-color: var(--bg);
}
.app-footer {
    height: 0.3rem;
    border-top: 1px solid var(--bg-focus);
    color: var(--accent-dull);
	background-color: var(--bg);
}
.app-footer a:hover {
    color: var(--clear);
}
.app {
    position: relative;
    height: calc(100% - 0.78rem);
    width: 100%;
    max-width: 100%;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    overflow: hidden;
}

.app-header-title {
    font-family: 'PangMenZhengDao';
    font-size: 0.24rem;
    /*color: #E60012;
    text-shadow: 1px 1px 0 var(--dull);*/
    color: transparent;
    /*background-image: linear-gradient(to right, rgb(99, 102, 241), rgb(168, 85, 247), rgb(236, 72, 153));*/
    background-image: linear-gradient(to bottom, var(--clear), var(--dull));
    -webkit-background-clip: text;
    background-clip: text;
    margin-right: 0.5rem;
}
.app-header-logo {
    margin-right: 0.1rem;
    line-height: 1.0;
}
.app-header-logo img {
    width: 0.28rem;
    height: 0.28rem;
    border: 0 none;
    margin: 0;
}
.app-header-rgt {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.1rem;
}


.spine-canvas {
    position: absolute; 
    left: 0.1rem;
    top: 0.1rem;
    right: 0.1rem;
    bottom: 0.1rem;
    /*background-color: var(--bg-focus);
    border-radius: 0.03rem;*/
    overflow: hidden;
    z-index: 1;
}
.spine-canvas.canvas-hide {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.loading-tip {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 1.28rem;
    background-color: #001e31; 
    color:#fff; 
    border-radius: 0.06rem; 
    padding-bottom: 0.1rem;
    font-size: 0.14rem;
    z-index: 100;
}

.no-selected-image-tip {
    position: absolute; 
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    color: var(--dull);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    z-index: 3;
    overflow: hidden;
}
.no-selected-image-tip .tip-content {
    width: 100%;
    flex: 1;
    padding: 0 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    pointer-events: none;
}
.no-selected-image-tip .tip-content * {
    pointer-events: none;
}
.no-selected-image-tip .tip-content.dragover {
    display: none;
}
.no-selected-image-tip .tip-icon {
    width: 0.8rem;
    height: 0.8rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}
.no-selected-image-tip .tip-icon svg {
    width: 0.5rem;
    height: 0.5rem;
    opacity: 0.6;
    pointer-events: none;
}
.no-selected-image-tip .tip-text {
    max-width: 80%;
    font-size: 0.2rem;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    opacity: 0.6;
    pointer-events: none;
}
.no-selected-image-tip.dragover {
    background-color: var(--bg-focus)
}
.no-selected-image-tip.dragover .tip-content:not(.dragover) {
    display: none;
}
.no-selected-image-tip.dragover .tip-content.dragover {
    display: flex !important;
}

.left-imgs-list {
    position: relative;
    z-index: 4;
    width: 2rem;
    height: 100%;
    border-right: 1px solid var(--duller);
    background-color: var(--bg);
    will-change: transform;
    scrollbar-width: thin;
}
.left-imgs-list .vue-recycle-scroller {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    will-change: transform;
    scrollbar-width: thin;
}
.left-imgs-list .vscroll-content {
    margin-bottom: 0.1rem;
}
.left-imgs-list .img-list-item-wrapper {
    padding: 0.1rem;
}
.left-imgs-list .img-list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-focus);
    border-radius: 0.05rem;
    padding: 0.1rem;
    height: 2.1rem;
    cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}
.left-imgs-list .img-list-item:hover {
    background-color: var(--duller);
}
.left-imgs-list .img-list-item.selected {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.8);
    background-color: var(--duller) !important;
}
.left-imgs-list .img-list-item img {
    max-width: 100%;
    height: 1.8rem;
	pointer-events: none;
}
.left-imgs-list .img-list-item .img-tag {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0.05rem;
    color: var(--accent-clear);
    font-size: 0.12rem;
    font-family: 'HarmonyosSansEn';
    pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}
.left-imgs-list .img-list-item .img-name {
    position: absolute;
    left: 1px;
    bottom: 1px;
    right: 1px;
    text-align: center;
    padding: 0.08rem 0.1rem;
    min-height: 0.3rem;
    background-color: rgba(29,31,33,0.8);
    color: var(--accent-clear);
    font-size: 0.14rem;
    border-radius: 0 0 0.05rem 0.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	-webkit-user-select: none;
	user-select: none;
}
.left-imgs-list .img-list-item .img-actions {
    display: none;
    position: absolute;
    right: 2px;
    bottom: 2px;
}
.left-imgs-list .img-list-item:hover .img-actions {
    display: block;
}
.left-imgs-list .img-list-item .img-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 0.05rem;
    min-width: 0.28rem;
    height: 0.28rem;
    border: 0 none;
    line-height: 1.0;
    border-radius: 3px;
    background: none;
    -webkit-appearance: none;
    appearance: none;
}
.left-imgs-list .img-list-item .img-actions button:hover {
    background-color: var(--duller);
    cursor: pointer;
}
.left-imgs-list .img-list-item .img-actions button.intent-danger:hover {
    background-color: #dc2626;
    cursor: pointer;
}
.left-imgs-list .img-list-item .img-actions button svg {
    width: 0.16rem;
    height: 0.16rem;
}
.left-imgs-list .img-list-item .img-actions button span,
.left-imgs-list .img-list-item .img-actions button svg {
    pointer-events: none;
}
.left-imgs-list .img-list-item .img-actions .action-icon {
    line-height: 0;
    font-size: 0;
}
.left-imgs-list .img-list-item .img-actions button .tooltip {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    top: -100%;
    right: 0;
    margin-top: -2px;
    padding: 0.08rem 0.1rem 0.06rem 0.1rem;
    line-height: 1.2;
    border-radius: 0.05rem;
    background-color: rgba(29, 31, 33, 0.9);
    color: var(--accent-clear);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
    font-size: 0.14rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}
.left-imgs-list .img-list-item .img-actions button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.left-imgs-list .img-list-item .lazy-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.left-imgs-list .img-list-item.loaded .lazy-loader {
    display: none !important;
}
.imgs-list-loading {
    padding-top: 0;
}
.imgs-list-loading .img-list-item {
    height: 2rem;
    margin-bottom: 0.1rem;
}

.canvas-main {
    flex: 1 1 0%;
    z-index: 2;
    background-color: #000;
}

.canvas-toolbar {
    position: absolute;
    bottom: 0.1rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    z-index: 10;
}
.is-mobile .canvas-toolbar {
    bottom: 0.05rem;
}
.canvas-toolbar.at-left {
    left: 0.1rem;
    right: auto;
}
.canvas-toolbar.at-right {
    right: 0.1rem;
    left: auto;
    z-index: 12;
}
.canvas-toolbar.at-center {
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 8;
}
.canvas-toolbar .toolbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.04rem;
    background-color: rgba(29, 31, 33, 0.9);
    border-radius: 0.05rem;
}
.canvas-toolbar .toolbar-wrapper > button {
    margin: 0 0.04rem;
}
.canvas-toolbar button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 0 none;
    padding: 0 0.1rem;
    min-width: 0.32rem;
    min-height: 0.32rem;
    border-radius: 0.03rem;
    line-height: 1.0;
    background: none;
    background-color: transparent;
    color: var(--accent-clear);
    font-size: 0.14rem;
    cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}
.canvas-toolbar button:disabled,
.canvas-toolbar button[disabled] {
    color: var(--accent-dull);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.is-mobile .canvas-toolbar button {
    min-width: 0.4rem;
    min-height: 0.4rem;
}
.canvas-toolbar button.btn-primary,
.canvas-toolbar button.btn-primary:hover {
    background-color: #1e9fff;
    box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, .1), 0 1px 2px rgba(17, 20, 24, .2);
}
.canvas-toolbar button.btn-default {
    background-color: #2f343c;
    box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, .1), 0 1px 2px rgba(17, 20, 24, .2);
    color: #f6f7f9;
}
.canvas-toolbar button.active,
.canvas-toolbar button:hover {
    background-color: var(--duller);
}
.canvas-toolbar button .btn-text {
    line-height: 1.3;
    flex: 0 1 auto;
    pointer-events: none;
}
.canvas-toolbar button .btn-icon {
    display: inline-flex;
    flex: 0 0 auto;
    vertical-align: text-bottom;
    line-height: 1.0;
    font-size: 0;
}
.canvas-toolbar button svg {
    width: 0.22rem;
    height: 0.22rem;
    fill: currentcolor;
    pointer-events: none;
    transition: opacity 0.15s ease 0s;
}
.is-mobile .canvas-toolbar button svg {
    width: 0.26rem;
    height: 0.26rem;
}
.canvas-toolbar button svg path {
    fill: currentcolor;
}
.canvas-toolbar button.icon-btn .btn-icon {
    margin: 0 -0.03rem;
}
.canvas-toolbar button.icon-text-btn .btn-icon {
    margin-right: 0.05rem;
}
.canvas-toolbar button .tooltip {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    top: -100%;
    left: 50%;
    margin-top: -0.08rem;
    transform: translateX(-50%);
    padding: 0.08rem 0.1rem 0.06rem 0.1rem;
    line-height: 1.2;
    border-radius: 0.05rem;
    background-color: rgba(29, 31, 33, 0.9);
    color: var(--accent-clear);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
    font-size: 0.14rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}
.canvas-toolbar button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.canvas-toolbar .sep-line {
    display: inline-block;
    width: 0;
    height: 0.24rem;
    border-left: 1px solid var(--duller);
    font-size: 0;
    margin: 0 0.08rem;
}



.canvas-toolbar .toolbar-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.canvas-toolbar .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    margin-bottom: 0.04rem;
    z-index: 10;
    padding: 0.1rem;
    min-width: 120px;
    background-color: var(--bg-focus);
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.2), 0 1px 1px 0 rgba(17, 20, 24, 0.4);
	user-select: none;
	-webkit-user-select: none;
}
.canvas-toolbar .dropdown-menu.shown {
    display: block;
}
.canvas-toolbar ul,
.canvas-toolbar ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.canvas-toolbar .dropdown-menu ul {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.canvas-toolbar .dropdown-menu ul li {
    min-height: 0.4rem;
    display: flex;
    align-items: center;
    padding: 0.06rem 0.08rem;
    border-radius: 5px;
    cursor: pointer;
    color: #f6f7f9;
	user-select: none;
	-webkit-user-select: none;
}
.canvas-toolbar .dropdown-menu li:hover {
    background-color: var(--bg);
}
.canvas-toolbar .dropdown-menu .menu-icon {
    display: inline-flex;
    flex: 0;
    pointer-events: none;
    line-height: 1.0;
    font-size: 0;
    margin-right: 0.06rem;
}
.canvas-toolbar .dropdown-menu .menu-icon svg {
    width: 0.22rem;
    height: 0.22rem;
    fill: currentColor;
}
.canvas-toolbar .dropdown-menu .menu-text {
    flex: 1;
    line-height: 1.4;
	font-size: 0.14rem;
    white-space: nowrap;
    pointer-events: none;
    overflow: hidden;
    text-overflow: ellipsis;
	user-select: none;
	-webkit-user-select: none;
}
.dropdown-menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background-color: rgba(0,0,0,0.5);
}

.image-infos-sidebar {
    position: relative;
    width: 2.2rem;
    height: 100%;
    background-color: var(--bg-focus);
    color: var(--accent-clear);
    border-left: 1px solid var(--duller);
}
.image-infos-sidebar .sidebar-title {
    position: relative;
    text-align: center;
    font-size: 0.14rem;
    font-weight: 700;
    padding: 0.1rem 0.1rem 0.05rem 0.1rem;
    margin-bottom: 0.1rem;
}
.image-infos-sidebar .sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0.05rem;
    right: 0.05rem;
    border-bottom: 1px solid var(--duller);
}
.image-infos-sidebar table th,
.image-infos-sidebar table td {
    font-size: 0.13rem;
    vertical-align: middle;
    padding-top: 0.02rem;
    padding-bottom: 0.02rem;
}
.image-infos-sidebar table th {
    text-align: right;
    padding-right: 0.1rem;
    color: var(--dull);
    font-weight: normal;
}
.image-infos-sidebar .info-content {
    color: var(--clear);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.draw-opts-item {
    padding: 0.1rem;
    background-color: var(--bg);
    margin-bottom: 0.1rem;
    border-radius: 0.08rem;
	-webkit-user-select: none;
	user-select: none;
}
.draw-opts-item .radio .name {
    padding: 0.02rem;
}
.draw-opts-item .radio svg {
    width: 0.24rem;
    height: 0.24rem;
}
.draw-opts-item .radio svg circle {
    fill: var(--accent-clear);
}
.draw-opts-item .radio svg path {
    stroke: var(--accent-clear);
}

.cobbs-tag-list {
    list-style: none;
    margin: 0;
}
.cobbs-tag-list > li {
    list-style: none;
}
.cobbs-tag-list .cobb-color-tag {
    height: 0.24rem;
    width: 0.12rem;
    border-radius: 2px;
}
.cobbs-tag-list .cobb-angle {
    width: 0.4rem;
}


/* 拍照 */
.camera-video-modal {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    border-radius: 0 0 5px 5px;
}
.camera-preview {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 60%;
    padding: 4px;
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.9);
    background-color: #000;
    border-radius: 3px;
    overflow: hidden;
}
.camera-capture-btns {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 6;
    transform: translateX(-50%);
}
.take-photo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    border: 0 none;
    line-height: 0;
}
.take-photo-btn svg {
    fill: #1e9fff;
}
.camera-error {
    display:none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
}
.camera-error-text {
    color: #ff0000; 
    padding: 20px; 
    text-align: center;
    font-size: 0.16rem;
}

.image-editor-canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
}


.app-footer-legal-links {
    padding-left: 0.1rem;
}
.app-footer-legal-links > li {
    position: relative;
	margin-right: 0.1rem;
}
.app-footer-legal-links > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.02rem;
    height: 0.15rem;
    width: 1px;
    background-color: var(--accent-dull);
}
.app-footer-legal-links > li:first-child::before {
    display: none;
}
.app-footer-legal-links .legal-link {
    margin-left: 0.1rem;
    color: var(--accent-dull);
}
.app-footer-legal-links a:hover {
    text-decoration: underline;
}


.legal-info {
    background-color: var(--bg);
    color: var(--clear);
    padding: 0.2rem 0.3rem;
}
.legal-info h1 {
    text-align:center;
    font-size: 0.25rem;
    margin-bottom: 0.2rem;
}
.legal-info h3 {
    font-size: 0.22rem;
    font-weight: bold;
    margin-top: 0.3rem;
    margin-bottom: 0.1rem;
}
.legal-info h4 {
    font-size: 0.18rem;
    font-weight: bold;
    margin-bottom: 0.05rem;
}
.legal-info p {
    line-height: 1.8;
    margin-bottom: 0.15rem;
    font-size: 0.16rem;
}

button.wxmp-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    background-color: rgba(0,178,64,0.2);
    -webkit-appearance: none;
    appearance: none;
    border: 0 none;
    border-radius: 3px;
    padding: 0.05rem 0.1rem;
    font-size: 0.14rem;
    line-height: 1.5;
    cursor: pointer;
}
button.wxmp-qrcode:hover {
    background-color: rgba(0,178,64,0.4);
}
button.wxmp-qrcode img {
    display: inline-block;
    width: 0.18rem;
    height: 0.18rem;
    margin-right: 0.05rem;
}

/* mobile */
@media only screen and (orientation: portrait) and (max-device-width: 750px) { 
    .mobile-hd-menu, .mobile-hd-settings {
        display: flex !important;
    }
    .canvas-main {
        position: absolute !important;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    .left-imgs-list {
        position: absolute !important;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        z-index:20 !important;
        transition: transform .2s ease-in-out;
		will-change: transform;
    }
    .image-infos-sidebar {
        position: absolute !important;
        right: 0;
        top: 0;
        bottom: 0;
        transform: translateX(100%);
        z-index:20 !important;
        transition: transform .2s ease-in-out;
		will-change: transform;
    }
    .show-lft-imgslist .left-imgs-list {
        transform: translateX(0);
    }
    .show-rgt-sidebar .image-infos-sidebar {
        transform: translateX(0);
    }
    .show-lft-imgslist .mobile-overlay,
    .show-rgt-sidebar .mobile-overlay {
        display: block !important;
        z-index: 10;
    }

    .canvas-toolbar button svg {
        width: 0.26rem;
        height: 0.26rem;
    }

    button.wxmp-qrcode {
        display: none;
    }
}

.is-mobile .mobile-hide {
	display: none;
}

/* 微信小程序下显示 */
.is-wxmp .app-header {
	height: 0;
	background-color: transparent;
}
.is-wxmp .app-header-logo,
.is-wxmp .app-header-title {
	display: none;
}
.is-wxmp .app {
	height: calc(100% - 0.3rem);
}
.is-wxmp .mobile-hd-menu,
.is-wxmp .mobile-hd-settings {
	position: absolute;
	top: 0.1rem;
	z-index: 100;
}
.is-wxmp .mobile-hd-menu {
	left: 0.1rem;
}
.is-wxmp .mobile-hd-settings {
	right: 0.1rem;
}
.is-wxmp .mobile-hd-btn {
	background-color: var(--bg);
}
.is-wxmp .wxmp-hide {
    display: none;
}
