/*!
 * Theme Name: QzxxHome
 * Description: 由青州小熊自己设计并制作的主题。
 * Author: 青州小熊
 * Version: 2.10.309
 */

:root {
    --tb--main: #FF6651;
    --tb--base: #333333;
    --tb--bdbg: #ffffff;
    --tb--dark: #202935;
    --tb--line: #f2f2f2;
    --tb--link: #2F9FFF;
    --tb--gray: #999999;
    --tb--tint: #bbbbbb;
    --tb--light: #eeeeee
}

.darking:root {
    --tb--main: #FF6651;
    --tb--base: #dddddd;
    --tb--bdbg: #252e3a;
    --tb--dark: #202935;
    --tb--line: #f2f2f2;
    --tb--link: #2F9FFF;
    --tb--gray: #999999;
    --tb--tint: #888888;
    --tb--light: #202935;
    --form-label-color: #ff6651
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust:100%
}

body {
    margin:0
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display:block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align:baseline
}

audio:not([controls]) {
    display: none;
    height:0
}

[hidden], template {
    display:none
}

a {
    background-color:rgba(0, 0, 0, 0)
}

a:active, a:hover {
    outline:0
}

abbr[title] {
    border-bottom:1px dotted
}

b, strong {
    font-weight:bold
}

dfn {
    font-style:italic
}

h1 {
    font-size: 2em;
    margin:.67em 0
}

mark {
    background: #ff0;
    color:#000
}

small {
    font-size:100%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align:baseline
}

sup {
    top:-0.5em
}

sub {
    bottom:-0.25em
}

img {
    border:0
}

svg:not(:root) {
    overflow:hidden
}

figure {
    margin:1em 40px
}

hr {
    box-sizing: content-box;
    height:0
}

pre {
    overflow:auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size:1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin:0
}

button {
    overflow:visible
}

button, select {
    text-transform:none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    cursor:pointer
}

button[disabled], html input[disabled] {
    cursor:default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding:0
}

input {
    line-height:normal
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding:0
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height:auto
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    box-sizing:content-box
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance:none
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding:.35em .625em .75em
}

legend {
    border: 0;
    padding:0
}

textarea {
    overflow:auto
}

optgroup {
    font-weight:bold
}

table {
    border-collapse: collapse;
    border-spacing:0
}

td, th {
    padding:0
}

* {
    box-sizing:border-box
}

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

/* 防横向溢出放 html 上：body 带 overflow-x:hidden 会使后代 position:sticky 全部失效 */
html {
    font-size: 12px;
    -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
    overflow-x: hidden
}

body {
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height:inherit
}

figure {
    margin:0
}

img {
    vertical-align:middle
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top:1px solid #eee
}

[role=button] {
    cursor:pointer
}

fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    min-width:0
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom:1px solid #e5e5e5
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight:bold
}

input[type=search] {
    box-sizing:border-box
}

input[type=radio], input[type=checkbox] {
    margin: 4px 0 0;
    margin-top: 1px \9;
    line-height:normal
}

input[type=file] {
    display:block
}

input[type=range] {
    display: block;
    width:100%
}

select[multiple], select[size] {
    height:auto
}

input[type=file]:focus, input[type=radio]:focus, input[type=checkbox]:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset:-2px
}

output {
    display: block;
    padding-top: 7px;
    font-size: 14px;
    line-height: 1.42857143;
    color:#555
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance:none
}

@font-face {
    font-family: "tbfont";
    src: url("assets/fonts/iconfont.woff2?ver=3.3") format("woff2"), url("assets/fonts/iconfont.woff?ver=3.3") format("woff"), url("assets/fonts/iconfont.ttf?ver=3.3") format("truetype")
}

.fa {
    font-family: "tbfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing:grayscale
}

video, embed, iframe {
    max-width:100%
}

img {
    max-width:100%
}

.pull-right {
    float:right !important
}

.pull-left {
    float:left !important
}

.hide {
    display:none !important
}

.show {
    display:block !important
}

.text-hide {
    font: 0/0 a;
    color: rgba(0, 0, 0, 0);
    text-shadow: none;
    background-color: rgba(0, 0, 0, 0);
    border:0
}

.hidden {
    display:none !important
}

.affix {
    position:fixed
}

.clearfix:before, .clearfix:after, .container:before, .container:after {
    display: table;
    content: "";
    line-height:0
}

.clearfix:after, .container:after {
    clear:both
}

a, input, .thumb {
    transition:all .3s ease-in-out
}

/* 缩略图统一按 3:2 显示（与后台 600x400 硬裁剪设置一致），老图/外链图为 4:3 等混合比例时居中裁切，保证各列表卡片高度整齐 */
img.thumb {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

a {
    color: var(--tb--base);
    text-decoration:none
}

a:hover, a:focus {
    text-decoration:none
}

a:hover {
    color:var(--tb--main)
}

a:focus {
    outline: 0;
    color:var(--tb--base)
}

.breadcrumbs {
    font-size: 12px;
    line-height: 1;
    text-align: left;
    margin-bottom: 15px;
    color: #999;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis
}

.breadcrumbs small {
    font-size: 12px;
    font-family: serif;
    color: #bbb;
    margin: 0 2px;
    font-weight:bold
}

.breadcrumbs a {
    color:#999
}

.breadcrumbs a:hover {
    color:#666
}

@media (max-width: 544px) {
    .breadcrumbs {
        margin-bottom:10px
    }
}

#shareimage {
    display:none
}

body {
    font-size: 14px;
    line-height: 1.4;
    color: var(--tb--base);
    background-color: var(--tb--bdbg)
}

.container {
    max-width: 1280px;
    text-align: left;
    position: relative;
    margin: 0 auto;
    padding-left: 15px;
    padding-right:15px
}

.content-wrap {
    width: 100%;
    float: left;
    margin-bottom:15px
}

.content {
    position:relative
}

.single-post .content, .page-template-default .content {
    margin-right: 390px;
    padding-top:22.5px
}

.onecolum .content {
    margin-right:0
}

.sidebar {
    float: left;
    width: 360px;
    margin-left: -360px;
    margin-top:30px
}

.leader {
    margin-bottom: 15px;
    margin-right:2%
}

.leader h3 {
    margin: 0;
    font-size: 18px;
    font-weight:bold
}

.leader .-more {
    margin-top: 2px;
    float: right;
    color:var(--tb--gray)
}

.leader .-more:hover {
    color:var(--tb--main)
}

@media (max-width: 544px) {
    .leader {
        margin-right: 4%;
        margin-bottom:10px
    }

    .leader h3 {
        font-size:15px
    }
}

@media (max-width: 1024px) {
    .single-post .content-wrap, .page-template-default .content-wrap {
        float: none;
        width:100%
    }

    .single-post .content, .page-template-default .content {
        margin-right:0
    }

    .single-post .sidebar, .page-template-default .sidebar {
        float: none;
        width: auto;
        margin-left: 0;
        margin-top:45px
    }
}

@media (max-width: 768px) {
    .single-post .content, .page-template-default .content {
        padding-top:18px
    }
}

@media (max-width: 768px) {
    .homecatposts .excerpt-c5:nth-child(4), .homecatposts .excerpt-c5:nth-child(5) {
        display:none
    }
}

@media (max-width: 544px) {
    .homecatposts .excerpt-c5:nth-child(4) {
        display:inline-block
    }
}

.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index:1
}

.swiper-container-no-flexbox .swiper-slide {
    float:left
}

.swiper-container-vertical > .swiper-wrapper {
    flex-direction:column
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing:content-box
}

.swiper-container-android .swiper-slide, .swiper-wrapper {
    transform:translate3d(0, 0, 0)
}

.swiper-container-multirow > .swiper-wrapper {
    flex-wrap:wrap
}

.swiper-container-free-mode > .swiper-wrapper {
    transition-timing-function: ease-out;
    margin:0 auto
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property:transform
}

.swiper-slide-invisible-blank {
    visibility:hidden
}

.swiper-container-autoheight, .swiper-container-autoheight .swiper-slide {
    height:auto
}

.swiper-container-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property:transform, height
}

.swiper-container-3d {
    perspective:1200px
}

.swiper-container-3d .swiper-cube-shadow, .swiper-container-3d .swiper-slide, .swiper-container-3d .swiper-slide-shadow-bottom, .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-top, .swiper-container-3d .swiper-wrapper {
    transform-style:preserve-3d
}

.swiper-container-3d .swiper-slide-shadow-bottom, .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index:10
}

.swiper-container-3d .swiper-slide-shadow-left {
    background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-container-3d .swiper-slide-shadow-right {
    background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-container-3d .swiper-slide-shadow-top {
    background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-container-3d .swiper-slide-shadow-bottom {
    background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-container-wp8-horizontal, .swiper-container-wp8-horizontal > .swiper-wrapper {
    touch-action:pan-y
}

.swiper-container-wp8-vertical, .swiper-container-wp8-vertical > .swiper-wrapper {
    touch-action:pan-x
}

.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 80px;
    height: 60px;
    line-height: 60px;
    margin-top: -30px;
    z-index: 10;
    cursor: pointer;
    font-size: 28px;
    text-align: center;
    color: #fff;
    outline: none;
    opacity:.9
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events:none
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: -50px;
    right:auto
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: -50px;
    left:auto
}

.swiper-container:hover .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left:0
}

.swiper-container:hover .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right:0
}

.swiper-button-lock {
    display:none
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    color:#ddd
}

.swiper-pagination.swiper-pagination-hidden {
    opacity:0
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 15px;
    left: 0;
    width:100%
}

.swiper-pagination-bullets-dynamic {
    overflow: hidden;
    font-size:0
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: scale(0.33);
    position:relative
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    transform:scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform:scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    transform:scale(0.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
    transform:scale(0.33)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
    transform:scale(0.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
    transform:scale(0.33)
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #000;
    opacity: .25;
    outline:none
}

button.swiper-pagination-bullet {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance:none
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor:pointer
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background:#fff
}

.darking .swiper-pagination-bullet-active {
    background-color:#bbb
}

.swiper-container-vertical > .swiper-pagination-bullets {
    right: 10px;
    top: 50%;
    transform:translate3d(0, -50%, 0)
}

.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 6px 0;
    display:block
}

.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width:8px
}

.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    display: inline-block;
    transition: .2s top, .2s -webkit-transform;
    transition: .2s transform, .2s top;
    transition:.2s transform, .2s top, .2s -webkit-transform
}

.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin:0 4px
}

.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space:nowrap
}

.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: .2s left, .2s -webkit-transform;
    transition: .2s transform, .2s left;
    transition:.2s transform, .2s left, .2s -webkit-transform
}

.swiper-container-horizontal.swiper-container-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: .2s right, .2s -webkit-transform;
    transition: .2s transform, .2s right;
    transition:.2s transform, .2s right, .2s -webkit-transform
}

.swiper-pagination-progressbar {
    background: rgba(0, 0, 0, .25);
    position:absolute
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #007aff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin:left top
}

.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    transform-origin:right top
}

.swiper-container-horizontal > .swiper-pagination-progressbar, .swiper-container-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: 4px;
    left: 0;
    top:0
}

.swiper-container-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite, .swiper-container-vertical > .swiper-pagination-progressbar {
    width: 4px;
    height: 100%;
    left: 0;
    top:0
}

.swiper-pagination-white .swiper-pagination-bullet-active {
    background:#fff
}

.swiper-pagination-progressbar.swiper-pagination-white {
    background:rgba(255, 255, 255, .25)
}

.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill {
    background:#fff
}

.swiper-pagination-black .swiper-pagination-bullet-active {
    background:#000
}

.swiper-pagination-progressbar.swiper-pagination-black {
    background:rgba(0, 0, 0, .25)
}

.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill {
    background:#000
}

.swiper-pagination-lock {
    display:none
}

.swiper-scrollbar {
    border-radius: 10px;
    position: relative;
    touch-action: none;
    background:rgba(0, 0, 0, .1)
}

.swiper-container-horizontal > .swiper-scrollbar {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width:98%
}

.swiper-container-vertical > .swiper-scrollbar {
    position: absolute;
    right: 3px;
    top: 1%;
    z-index: 50;
    width: 5px;
    height:98%
}

.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    left: 0;
    top:0
}

.swiper-scrollbar-cursor-drag {
    cursor:move
}

.swiper-scrollbar-lock {
    display:none
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center
}

.swiper-zoom-container > canvas, .swiper-zoom-container > img, .swiper-zoom-container > svg {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit:contain
}

.swiper-slide-zoomed {
    cursor:move
}

@keyframes swiper-preloader-spin {
    100% {
        transform:rotate(360deg)
    }
}

.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index:-1000
}

.swiper-container-fade.swiper-container-free-mode .swiper-slide {
    transition-timing-function:ease-out
}

.swiper-container-fade .swiper-slide {
    pointer-events: none;
    transition-property:opacity
}

.swiper-container-fade .swiper-slide .swiper-slide {
    pointer-events:none
}

.swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active {
    pointer-events:auto
}

.swiper-container-cube {
    overflow:visible
}

.swiper-container-cube .swiper-slide {
    pointer-events: none;
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
    transform-origin: 0 0;
    width: 100%;
    height:100%
}

.swiper-container-cube .swiper-slide .swiper-slide {
    pointer-events:none
}

.swiper-container-cube.swiper-container-rtl .swiper-slide {
    transform-origin:100% 0
}

.swiper-container-cube .swiper-slide-active, .swiper-container-cube .swiper-slide-active .swiper-slide-active {
    pointer-events:auto
}

.swiper-container-cube .swiper-slide-active, .swiper-container-cube .swiper-slide-next, .swiper-container-cube .swiper-slide-next + .swiper-slide, .swiper-container-cube .swiper-slide-prev {
    pointer-events: auto;
    visibility:visible
}

.swiper-container-cube .swiper-slide-shadow-bottom, .swiper-container-cube .swiper-slide-shadow-left, .swiper-container-cube .swiper-slide-shadow-right, .swiper-container-cube .swiper-slide-shadow-top {
    z-index: 0;
    backface-visibility:hidden
}

.swiper-container-cube .swiper-cube-shadow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .6;
    filter: blur(50px);
    z-index:0
}

.swiper-container-flip {
    overflow:visible
}

.swiper-container-flip .swiper-slide {
    pointer-events: none;
    backface-visibility: hidden;
    z-index:1
}

.swiper-container-flip .swiper-slide .swiper-slide {
    pointer-events:none
}

.swiper-container-flip .swiper-slide-active, .swiper-container-flip .swiper-slide-active .swiper-slide-active {
    pointer-events:auto
}

.swiper-container-flip .swiper-slide-shadow-bottom, .swiper-container-flip .swiper-slide-shadow-left, .swiper-container-flip .swiper-slide-shadow-right, .swiper-container-flip .swiper-slide-shadow-top {
    z-index: 0;
    backface-visibility:hidden
}

.swiper-container-coverflow .swiper-wrapper {
    -ms-perspective: 1200px;
    perspective:1200px
}

@media (max-width: 640px) {
    .swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom:15px
    }

    .focusslide.swiper-container-horizontal > .swiper-pagination-bullets, .focusslide .swiper-pagination-custom, .focusslide .swiper-pagination-fraction {
        bottom:8px
    }
}

.focusslide-wrap {
    margin-top:24px
}

.focusslide .swiper-slide {
    text-align:center
}

.focusslide .swiper-button-next .fa, .focusslide .swiper-button-prev .fa {
    font-size:24px
}

@media (max-width: 768px) {
    .focusslide-wrap {
        margin-top:15px
    }

    .focusslide .swiper-button-next, .focusslide .swiper-button-prev {
        display:none
    }
}

@media (max-width: 600px) {
    /* 幻灯片手机端自适应：图片完整显示不裁切；slide用max-width压制内联1250px，避免与Swiper宽度计算冲突（Safari一行两列兼容） */
    .focusslide .swiper-slide {
        max-width: 100% !important;
        flex-shrink: 0 !important;
        margin: 0 auto !important;
    }

    .focusslide .swiper-slide a,
    .focusslide img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

.tipsy {
    padding: 5px 0;
    font-size: 10px;
    position: absolute;
    z-index:100000
}

.tipsy:before {
    display: inline-block;
    content: "";
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #000 rgba(0, 0, 0, 0);
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    position:absolute
}

.tipsy-n:before {
    top: -4px;
    left: 50%;
    margin-left:-5px
}

.tipsy-ne:before {
    top: -4px;
    right:10px
}

.tipsy-inner {
    padding: 4px 7px 3px 7px;
    background-color: #000;
    color: #fff;
    max-width: 200px;
    text-align: center;
    font-size: 12px;
    border-radius:2px
}

.tipsy-nw:before {
    top: 0;
    left:10px
}

.tipsy-s .tipsy-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    background-position:bottom left
}

.tipsy-sw .tipsy-arrow {
    bottom: 0;
    left: 10px;
    background-position:bottom left
}

.tipsy-se .tipsy-arrow {
    bottom: 0;
    right: 10px;
    background-position:bottom left
}

.tipsy-e .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    right: 0;
    width: 5px;
    height: 9px;
    background-position:top right
}

.tipsy-w .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    left: 0;
    width: 5px;
    height:9px
}

.header {
    position: relative;
    z-index: 99;
    height: 80px;
    background-color: var(--tb--bdbg);
    box-shadow:1px 0 10px rgba(0, 0, 0, .06)
}

.darking .header {
    box-shadow:1px 0 10px rgba(0, 0, 0, .15)
}

.nav-fixed-top {
    margin-top:80px
}

.nav-fixed-top .header {
    position: fixed;
    top: 0;
    left: 0;
    right:0
}

@media (max-width: 768px) {
    .nav-fixed-top {
        margin-top:0
    }
}

.logo {
    float: left;
    overflow: hidden;
    margin: 20px 70px 0 0;
    height: 40px;
    font-size: 1px;
    line-height: 40px;
    color:#fff
}

.logo span {
    display:none
}

.logo a {
    display:block
}

.logo img {
    display: block;
    margin-bottom: 100px;
    max-height:40px
}

/* 暗色模式：浅色背景 logo 反转为白色，避免在深色顶栏上隐形 */
.darking .logo img {
    filter: brightness(0) invert(1)
}

/* logo 悬停染成品牌橙剪影（浅色/暗夜通用） */
.logo a:hover img,
.darking .logo a:hover img {
    filter: brightness(0) invert(52%) sepia(96%) saturate(2476%) hue-rotate(334deg) brightness(105%) contrast(97%);
}

/* 矢量 logo：默认深蓝，悬停/聚焦/按下变品牌色（#ff6651） */
.logo a svg {
    display: block;
    width: 133px;
    height: 37px;
    margin-bottom: 100px;
}
.logo a svg path {
    fill: #1f2d4a;
    stroke: #1f2d4a;
    stroke-width: .4;
    stroke-linejoin: round;
    transition: fill .2s ease, stroke .2s ease;
}
.darking .logo a svg path {
    fill: #fff;
    stroke: #fff;
}
.logo a:hover svg path,
.logo a:focus-visible svg path,
.logo a:active svg path {
    fill: #ff6651;
    stroke: #ff6651;
}

.sitenav {
    float: left;
    font-size: 18px;
    line-height:40px
}

.sitenav > ul > li.menu-item-has-children:hover > a::after {
    border-top-color:var(--tb--main)
}

.sitenav > ul > li.menu-item-has-children > a {
    position: relative;
    padding-right:15px
}

.sitenav > ul > li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border-left: 4px solid rgba(0, 0, 0, 0);
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-top: 4px solid var(--tb--base);
    margin-top:-1px
}

.sitenav ul {
    list-style: none;
    padding: 0;
    margin:0
}

.sitenav ul > li {
    position: relative;
    float: left;
    margin-right:30px
}

.sitenav ul > li:hover {
    z-index:2
}

.sitenav ul > li > a {
    display: block;
    color: var(--tb--base);
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    padding:20px 0 18px
}

.sitenav ul li:hover > a, .sitenav ul li.active a:hover, .sitenav ul li a:hover {
    color:var(--tb--main)
}

.sitenav ul li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    margin-top:-1px
}

.sitenav ul li.current-menu-item > a, .sitenav ul li.current-menu-parent > a, .sitenav ul li.current-category-ancestor > a {
    color: var(--tb--main);
    border-bottom-color:var(--tb--main)
}

.sitenav ul li.current-menu-item > a::after, .sitenav ul li.current-menu-parent > a::after, .sitenav ul li.current-category-ancestor > a::after {
    border-top-color:var(--tb--main)
}

.sitenav ul .sub-menu {
    transition: all .3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: -25px;
    background-color: var(--tb--bdbg);
    font-size: 14px;
    padding: 6px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    line-height: 32px;
    width: 160px;
    margin-left: -88px;
    list-style: none;
    text-align: center;
    border-radius:2px
}

.sitenav ul .sub-menu::before, .sitenav ul .sub-menu::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -3px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right:5px solid rgba(0, 0, 0, 0)
}

.sitenav ul .sub-menu::before {
    border-bottom:5px solid #f2f2f2
}

.sitenav ul .sub-menu::after {
    border-bottom: 5px solid #fff;
    margin-top:1px
}

.sitenav ul .sub-menu li {
    margin-right: 0;
    float:none
}

.sitenav ul .sub-menu li a {
    display: block;
    padding: 0 15px;
    border-bottom:none
}

.sitenav ul .sub-menu li a:hover {
    background-color: var(--tb--light);
    color:var(--tb--base)
}

.darking .sitenav ul .sub-menu::before {
    border-bottom-color:var(--tb--bdbg)
}

.darking .sitenav ul .sub-menu::after {
    border-bottom-color:var(--tb--bdbg)
}

.sitenav ul ul .sub-menu {
    left: 100%;
    margin-left: 0;
    top:-5px
}

.sitenav ul ul .sub-menu::before, .sitenav ul ul .sub-menu::after {
    left: -5px;
    transform: rotate(-90deg);
    margin-top:23px
}

.sitenav ul ul .sub-menu::after {
    margin-left:-2px
}

.sitenav .-sw {
    display:none
}

@media (min-width: 767px) {
    .nav-2c3 .sitenav > ul > li.menu-item-has-children > .sub-menu {
        width: 450px;
        margin-left: -225px;
        padding:10px
    }

    .nav-2c3 .sitenav > ul > li.menu-item-has-children > .sub-menu > li {
        float: left;
        width:33.3333333333%
    }
}

.header .searchform-wrap {
    float: right;
    margin-top:24px !important
}

.searchstart-on, .searchstart-off {
    display: none;
    line-height: 32px;
    cursor: pointer;
    transition:all .3s ease-in-out
}

.searchstart-on .fa, .searchstart-off .fa {
    font-size:25px;
    color:#FF6651;
    -webkit-text-stroke:.6px #FF6651;
    text-shadow:0 0 .5px #FF6651
}

.header .searchform .sinput {
    float: left;
    color: #999;
    border: solid 1px var(--tb--light);
    width: 160px;
    height: 32px;
    padding: 4px 8px;
    border-right: none;
    font-size: 14px;
    border-radius: 2px 0 0 2px;
    outline:none
}

.header .searchform .sinput:focus {
    border-color: var(--tb--main);
    position: relative;
    z-index:2
}

.header .searchform select.sinput {
    width: auto;
    max-width: 106px;
    border: solid 1px var(--tb--light);
    padding-right:4px
}

.header .searchform select.sinput + .sinput {
    border-radius: 0;
    margin-left:-1px
}

.header .searchform .sbtn {
    float: right;
    color: #fff;
    background-color: var(--tb--main);
    height: 32px;
    width: 32px;
    border: none;
    padding: 4px 0;
    font-size: 14px;
    border-radius: 0 2px 2px 0;
    outline: none;
    opacity: .9;
    text-align:center
}

.header .searchform .sbtn:hover {
    opacity:1
}

.darking .header .searchform .sinput {
    background-color: var(--tb--dark);
    border-color:var(--tb--dark)
}

.nav-search-onshow .searchstart-on {
    display:block
}

.nav-search-onshow .header .searchform {
    display:none
}

.nav-search-onshow.searchform-active .header .searchform-wrap {
    z-index: 9;
    position:relative
}

.nav-search-onshow.searchform-active .header .searchform {
    position: absolute;
    right: 100%;
    top: 0;
    margin-right: 10px;
    display: block;
    width:192px
}

@media (max-width: 1200px) {
    .nav-search-onshow.searchform-active .header .searchform {
        width:152px
    }
}

.nav-search-onshow.searchform-active .header .searchform-cat {
    width:297px
}

.nav-search-onshow.searchform-active .header .searchform-cat select.sinput {
    width:106px
}

@media (max-width: 1200px) {
    .nav-search-onshow.searchform-active .header .searchform-cat {
        width:257px
    }
}

@media (max-width: 1200px) {
    .header .searchform .sinput {
        width:120px
    }
}

@media (max-width: 768px) {
    .header .searchform-wrap {
        float: right;
        margin-top:0 !important
    }

    .searchstart-on, .searchstart-off {
        position: absolute;
        top: 0;
        right: 0;
        line-height: 80px;
        padding:0 15px
    }

    .dark-on .searchstart-on, .dark-on .searchstart-off {
        right:40px
    }

    .searchstart-on {
        display:block
    }

    .header .searchform {
        visibility: hidden;
        opacity: 0;
        transition: all .3s ease-in-out;
        position: absolute;
        top: 120px;
        left: 0;
        right: 0;
        z-index: 999980;
        padding: 24px 15px;
        margin-top: 0 !important;
        background-color: #fff;
        width: auto;
        margin-right:0
    }

    .header .searchform .sinput {
        width: 100%;
        float: none;
        border-radius:2px
    }

    .header .searchform .sbtn {
        float: none;
        position: absolute;
        top: 24px;
        right: 15px;
        opacity: 1;
        z-index:3
    }

    .darking .header .searchform {
        background-color:var(--tb--bdbg)
    }

    .header .searchform-cat {
        width:100% !important
    }

    .header .searchform-cat .sinput {
        float: left;
        width: 60% !important;
        border-radius:0
    }

    .header .searchform-cat select.sinput {
        width: 30% !important;
        max-width: 30% !important;
        border-radius:2px 0 0 2px
    }

    .header .searchform-cat select.sinput + .sinput {
        margin-left:0
    }

    .header .searchform-cat .sbtn {
        width:10% !important
    }

    .nav-search-onshow.searchform-active .header .searchform-wrap {
        position:static
    }

    .nav-search-onshow.searchform-active .header .searchform, .searchform-active .header .searchform {
        visibility: visible;
        opacity: 1;
        top:80px
    }
}

/* 769–900px：logo+导航+搜索框放不下会把搜索框挤出 80px 顶栏，改为只显示放大镜图标，点击在顶栏下方展开（2.10.110） */
@media (min-width: 769px) and (max-width: 900px) {
    .header .searchstart-on {
        display:block
    }

    .header .searchform {
        display:none
    }

    body.searchform-active .header .searchstart-on {
        display:none
    }

    body.searchform-active .header .searchstart-off {
        display:block
    }

    body.searchform-active .header .searchform {
        display:block;
        position:absolute;
        right:15px;
        top:calc(100% + 12px);
        width:192px;
        padding:10px;
        margin:0;
        background-color:#fff;
        box-shadow:0 4px 12px rgba(0,0,0,.1);
        z-index:999
    }

    body.searchform-active .header .searchform .sinput {
        width:100%;
        float:none;
        border-radius:2px
    }

    body.searchform-active .header .searchform .sbtn {
        position:absolute;
        top:10px;
        right:10px;
        z-index:3;
        border-radius:0 2px 2px 0
    }

    .darking body.searchform-active .header .searchform {
        background-color:var(--tb--bdbg)
    }
}

@media (max-width: 544px) {
    .searchstart-on, .searchstart-off {
        line-height:50px
    }

    .header .searchform {
        padding:15px 15px
    }

    .header .searchform .sbtn {
        top:15px
    }

    .nav-search-onshow.searchform-active .header .searchform, .searchform-active .header .searchform {
        top:50px
    }
}

.accounts {
    position: relative;
    z-index: 3;
    float: right;
    margin-top: 24px;
    margin-left:15px
}

.accounts a {
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 32px;
    border-radius: 2px;
    float: left;
    margin-left: 5px;
    text-align: center;
    position:relative
}

.accounts a:hover {
    opacity: .8;
    color:#fff
}

.accounts a:hover .account-popover {
    visibility: visible;
    opacity: 1;
    margin-top:0
}

.accounts a.account-weixin:hover, .accounts a.account-kuaishou:hover, .accounts a.account-douyin:hover {
    opacity:1
}

.accounts a .fa {
    font-size:18px
}

.accounts a .account-popover {
    transition: all .3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 140px;
    margin-left: -70px;
    margin-top: -25px;
    padding-top: 23px;
    background-color:rgba(0, 0, 0, 0)
}

.accounts a .account-popover .account-popover-content {
    background-color: #fff;
    border: 1px solid var(--tb--gray);
    padding: 4px;
    border-radius: 2px;
    position:relative
}

.accounts a .account-popover .account-popover-content::before, .accounts a .account-popover .account-popover-content::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -3px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right:5px solid rgba(0, 0, 0, 0)
}

.accounts a .account-popover .account-popover-content::before {
    border-bottom:5px solid var(--tb--base)
}

.accounts a .account-popover .account-popover-content::after {
    border-bottom: 5px solid #fff;
    margin-top:1px
}

.accounts .account-weixin {
    background-color:#7cd673
}

.accounts .account-weibo {
    background-color:#ff8d8d
}

.accounts .account-tqq {
    background-color:#52c3f5
}

.accounts .account-qzone {
    background-color:#ffce00
}

.accounts .account-qq {
    background-color:#009bdb
}

.accounts .account-phone {
    background-color:#08bc1f
}

.accounts .account-aliwang {
    background-color:#2f8ae7
}

.accounts .account-twitter {
    background-color:#41b8fc
}

.accounts .account-facebook {
    background-color:#4867aa
}

.accounts .account-instagram {
    background-color:#996a55
}

.accounts .account-qqun {
    background-color:#24bdff
}

.accounts .account-telegram {
    background-color:#2ca5e0
}

.accounts .account-douyin {
    background-color:#202935
}

.accounts .account-email {
    background-color:#2ca5e0
}

.accounts .account-kuaishou {
    background-color:#fe3666
}

.accounts .account-whatsapp {
    background-color:#41c552
}

.signuser-welcome {
    float: right;
    margin-left: 15px;
    margin-top:24px
}

.signuser-info {
    float: left;
    line-height:32px
}

.signuser-info .avatar {
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 5px;
    border-radius:2px
}

.signuser-logout {
    float: left;
    line-height: 32px;
    margin-left: 10px;
    color:var(--tb--gray)
}

.usersign {
    float: right;
    margin-left: 15px;
    margin-top: 24px;
    line-height:32px
}

.usersign-login {
    float:left
}

.usersign-register {
    float: left;
    margin-left: 21px;
    position:relative
}

.usersign-register::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 10px;
    width: 1px;
    height: 12px;
    background-color:#ccc
}

@media (max-width: 768px) {
    .signuser-welcome, .usersign {
        z-index: 999992;
        position: fixed;
        right: 100%;
        bottom: 0;
        padding: 15px;
        width: 50%;
        text-align: center;
        transition:all .3s ease-in-out
    }

    .signuser-welcome .usersign-login, .signuser-welcome .usersign-register, .usersign .usersign-login, .usersign .usersign-register {
        float: none;
        display:inline-block
    }

    .sitenav-active .signuser-welcome, .sitenav-active .usersign {
        right:50%
    }
}

.sitedark {
    float: right;
    height: 32px;
    line-height: 32px;
    margin-top: 24px;
    margin-left: 15px;
    cursor: pointer;
    width:18px
}

.sitedark:hover {
    color:var(--tb--main)
}

.sitedark i {
    font-size:18px
}

.sitedark i:last-child {
    display:none
}

@media (max-width: 768px) {
    .sitedark {
        position: absolute;
        top: 0;
        right: 0 !important;
        line-height: 80px;
        height: 80px;
        padding: 0 15px;
        margin-top: 0;
        margin-left: 0;
        width:auto
    }

    .sitedark i {
        font-size:25px
    }

    .nav-search-show .sitedark {
        right:50px
    }
}

@media (max-width: 544px) {
    .sitedark {
        line-height: 50px;
        height:50px
    }

    .nav-search-show .sitedark {
        right:40px
    }
}

.darking .sitedark i:first-child {
    display:none
}

.darking .sitedark i:last-child {
    display:block
}

.sitenav-on {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999995;
    line-height: 80px;
    padding: 0 15px;
    cursor: pointer;
    transition:all .3s ease-in-out
}

.sitenav-on .fa {
    font-size:18px
}

.sitenav-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999990;
    background-color: #222;
    background-color: rgba(0, 0, 0, .7);
    transition:all .3s ease-in-out
}

@media (max-width: 1200px) {
    .logo {
        margin-right:30px
    }

    .sitenav ul li {
        margin-right:30px
    }

    .accounts {
        margin-left:5px
    }
}

@media (max-width: 1024px) {
    .accounts {
        display:none
    }
}

@media (max-width: 768px) {
    body {
        padding-top:80px
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 80px;
        z-index: 999;
        transition:all .3s ease-in-out
    }

    .logo {
        float: none;
        margin-left: 60px;
        margin-right: 60px;
        text-align:center
    }

    .logo img {
        margin:0 auto 100px
    }

    .logo a svg {
        margin: 0 auto 100px
    }

    .sitenav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 19%;
        padding: 40px 0 0;
        z-index: 999991;
        font-size: 15px;
        background-color: rgba(255, 255, 255, .15);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        backdrop-filter: blur(20px) saturate(180%);
        border-right: 1px solid rgba(255, 255, 255, .25);
        box-shadow: 8px 0 30px rgba(0, 0, 0, .12);
        transform: translateX(-100%);
        transition: transform .3s ease-in-out
    }

    .darking .sitenav {
        background-color: rgba(32, 41, 53, .72);
        border-right-color: rgba(255, 255, 255, .08)
    }

    /* 日间模式：抽屉文字用白色（透出的内容被遮罩压暗，白字更清晰） */
    .sitenav ul li a,
    .sitenav .tb-btswitch > span {
        color: #fff
    }

    .sitenav > ul {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: absolute;
        top: 80px;
        left: 0;
        bottom: 65px;
        right:0
    }

    .sitenav > ul > li a {
        font-weight:bold
    }

    .sitenav > ul > li.menu-item-has-children {
        position:relative
    }

    .sitenav > ul > li.menu-item-has-children > a::before, .sitenav > ul > li.menu-item-has-children > a::after {
        display:none
    }

    .sitenav > ul > li.menu-item-has-children > .sub-menu {
        display:none
    }

    .sitenav ul li {
        float: none;
        margin-right:0
    }

    .sitenav ul li a {
        line-height: 1;
        padding:15px 15px
    }

    .sitenav ul li:hover > a, .sitenav ul li.active a:hover, .sitenav ul li a:hover {
        background-color:var(--tb--light)
    }

    .sitenav ul li:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        margin-top:0
    }

    .sitenav ul li.current-menu-item > a {
        color: #fff;
        background-color: var(--tb--main);
        border-bottom:none
    }

    .sitenav ul li.current-menu-parent > a {
        color: var(--tb--main);
        border-bottom:none
    }

    .sitenav ul .sub-menu {
        display: none;
        position: relative;
        visibility: visible;
        opacity: 1;
        margin-top: 0;
        margin-left: 30px;
        left: 0;
        padding: 0;
        width: auto;
        font-size: 12px;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 0, 0, 0);
        text-align:left
    }

    .sitenav ul .sub-menu::before, .sitenav ul .sub-menu::after {
        display:none
    }

    .sitenav ul .sub-menu li a {
        padding:12px 15px
    }

    .sitenav ul ul .sub-menu {
        left: 0;
        top: 0;
        margin-left:30px
    }

    .sitenav .-sw {
        display: block;
        position: relative;
        z-index: 2;
        float: right;
        width: 40px;
        height: 40px;
        text-align: center;
        font-size: 12px;
        transform:rotate(180deg)
    }

    .sitenav .-sw.active {
        transform:rotate(0)
    }

    .sitenav-on {
        display:block
    }

    .sitenav-mask {
        display: block;
        opacity: 0;
        visibility:hidden
    }

    .sitenav-active .sitenav-mask {
        opacity: 1;
        visibility:visible
    }

    .sitenav-active .sitenav {
        transform:translateX(0)
    }

    .sitenav-active .sitenav ul .sub-menu {
        display:block
    }
}

@media (max-width: 544px) {
    body {
        padding-top:50px
    }

    .header {
        height:50px
    }

    .logo {
        margin-top: 10px;
        height: 30px;
        line-height:30px
    }

    .logo img {
        max-height:30px
    }

    .logo a svg {
        width: auto;
        height: 30px
    }

    .sitenav-on {
        line-height:50px
    }

    .sitenav {
        padding-top:50px
    }

    .sitenav > ul {
        top:50px
    }
}

.shares {
    margin-bottom:15px
}

.shares strong {
    line-height: 32px;
    display: inline-block;
    font-weight: normal;
    color:var(--tb--gray)
}

.shares a {
    position: relative;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    display: inline-block;
    margin-right: 10px;
    opacity: 1;
    border-radius: 2px;
    cursor:pointer
}

.shares a:hover {
    opacity:.8
}

.shares a:hover .share-popover {
    visibility: visible;
    opacity: 1;
    margin-bottom:0
}

.shares a:before {
    height: 32px;
    width:10px
}

.shares a:hover:before {
    transition: right .5s;
    right:-70%
}

.shares a.share-tsina {
    background-color:#ff8d8d
}

.shares a.share-weixin {
    background-color:#07c160
}

.shares a.share-qzone {
    background-color:#fbc440
}

.shares a.share-sqq {
    background-color:#00a9ee
}

.share-copy {
    background-color:#7b8794
}

.share-copy:hover {
    background-color:#5f6b76
}

.share-zhihu {
    background-color:#0084ff
}

.qzxx-copy-tip {
    position: absolute;
    z-index: 99999;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, .82);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 4px;
    white-space: nowrap
}

.shares a.share-twitter {
    background-color:#41b8fc
}

.shares a.share-facebook {
    background-color:#4867aa
}

.shares a.share-telegram {
    background-color:#2ca5e0
}

.shares i {
    color: #fff;
    font-size: 20px;
    font-weight:normal
}

@media (max-width: 544px) {
    .shares a {
        margin: 0 2.5px 5px 2.5px;
        width: 28px;
        height: 28px;
        line-height:28px
    }

    .shares i {
        font-size:16px
    }
}

.shares .share-popover {
    transition: all .3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    padding-bottom: 6px;
    background-color:rgba(0, 0, 0, 0)
}

.shares .share-popover .share-popover-inner {
    display: block;
    background-color: #fff;
    border: 1px solid var(--tb--gray);
    padding: 4px;
    border-radius: 2px;
    position: relative;
    bottom: 6px;
    height:90px
}

.shares .share-popover .share-popover-inner::before, .shares .share-popover .share-popover-inner::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 9px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right:5px solid rgba(0, 0, 0, 0)
}

.shares .share-popover .share-popover-inner::before {
    border-top:5px solid var(--tb--base)
}

.shares .share-popover .share-popover-inner::after {
    border-top: 5px solid #fff;
    margin-bottom:1px
}

.f404 {
    padding: 100px 15px;
    text-align:center
}

.f404 h2 {
    font-weight: normal;
    font-size:36px
}

.f404 h3 {
    font-weight: normal;
    font-size:18px
}

.focusbox {
    text-align: center;
    background-color: var(--tb--dark);
    color: #f6f6f6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 135px; /* 全站统一固定高度（以首页原高度为准），页面间跳转横幅不再跳动（2.9.82） */
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    transition:all .3s ease-in-out
}

.focusbox .container {
    position: static; /* 压掉 .container 全站 relative，让详情页标题链接 ::after 以整栏 .focusbox 为定位基准（2.9.82） */
    text-align:center
}

.focusbox .focusbox-title {
    font-weight: bold;
    font-size: 22px;
    margin:0
}

.focusbox .focusbox-title a {
    color: inherit; /* 分类横幅标题链接颜色与标题一致（2.9.75） */
}

.focusbox .focusbox-title + .focusbox-text {
    margin-top:4.5px
}

.focusbox .focusbox-text {
    color:#bbb
}

.focusbox .focusbox-text p {
    margin: 0; /* 分类描述经 wc_format_content 会包 <p> 自带边距，归零以与详情页间距一致（2.9.82） */
}

.focusbox .focusbox-counts {
    margin-top: 5px;
    font-size: 12px;
    color:#bbb
}

.darking .focusbox {
    color:var(--tb--base)
}

/* 商品详情页横幅整栏无感点击：标题链接透明铺满整栏（2.9.80） */
.single-product .focusbox .focusbox-title a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0
}

.focusbox .searchstart-on, .focusbox .searchstart-off {
    display:none !important
}

.focusbox .searchform {
    width: 50%;
    margin:20px auto 0
}

.focusbox .searchform .sinput {
    float: left;
    color: var(--tb--base);
    border: solid 2px var(--tb--light);
    width: 90%;
    height: 46px;
    padding: 4px 15px;
    border-right: none;
    font-size: 14px;
    border-radius: 6px 0 0 6px;
    outline:none
}

.focusbox .searchform .sinput:focus {
    border-color: var(--tb--main);
    position: relative;
    z-index:2
}

.focusbox .searchform select.sinput {
    width: auto;
    width: 20%;
    border: solid 2px var(--tb--light);
    padding-right:4px
}

.focusbox .searchform select.sinput + .sinput {
    border-radius: 0;
    margin-left:-2px
}

.focusbox .searchform .sbtn {
    float: right;
    color: #fff;
    background-color: var(--tb--main);
    height: 46px;
    width: 10%;
    border: none;
    padding: 4px 0;
    font-size: 14px;
    border-radius: 0 6px 6px 0;
    outline: none;
    text-align: center;
    font-weight:bold
}

.focusbox .searchform .sbtn:hover {
    opacity:.9
}

.darking .focusbox .searchform .sinput {
    border: solid 2px var(--tb--main);
    color:var(--tb--light)
}

.darking .focusbox .searchform .sbtn {
    border:solid 2px var(--tb--main)
}

@media (max-width: 544px) {
    .focusbox .searchform {
        width: 100%;
        margin-top:15px
    }

    .focusbox .searchform .sinput {
        width: 85%;
        height:42px
    }

    .focusbox .searchform select.sinput {
        width:25%
    }

    .focusbox .searchform .sbtn {
        width: 15%;
        height:42px
    }
}

.focusbox .searchform-cat .sinput {
    width:70%
}

.focusbox .searchform-cat select.sinput {
    width:20%
}

.focusbox .searchform-cat .sbtn {
    width:calc(10% + 2px)
}

@media (max-width: 768px) {
    .focusbox {
        padding:30px 0
    }

    .focusbox .focusbox-title {
        font-size:18px
    }

    .focusbox .focusbox-text {
        font-size:12px
    }
}

@media (max-width: 544px) {
    .focusbox .focusbox-title + .focusbox-text {
        margin-top:1.5px
    }
}

.thumb-video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9;
    text-align:center
}

.thumb-video:hover .fa {
    color: #fff;
    color:#fff
}

.thumb-video .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 40px;
    width: 40px;
    height: 40px;
    line-height: 1;
    margin: -20px 0 0 -20px;
    color: #fff;
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    transition:all .3s ease-in-out
}

.post-view {
    margin-right: 15px;
    display:inline-block
}

.post-view .fa {
    margin-right:3px
}

.post-comm {
    display:inline-block
}

.post-comm .fa {
    margin-right:3px
}

.post-like {
    position: relative;
    color: var(--tb--tint);
    float:right
}

.post-like .fa {
    margin-right:3px
}

.post-like.actived {
    color:var(--tb--main)
}

.excerpts-wrapper {
    overflow: hidden;
    margin-top:24px
}

.excerpts {
    margin-bottom: 15px;
    margin-right: -2%;
    min-height:600px
}

.excerpts-none {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    color: var(--tb--gray);
    padding:200px 0
}

.excerpt {
    position: relative;
    display: inline-block;
    margin-right: 2%;
    margin-bottom: 2.5%;
    vertical-align: top;
    word-break:break-all
}

.excerpt h2 {
    font-size: 15px;
    margin: 0 0 7px;
    max-height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:2
}

.excerpt .thumbnail {
    position: relative;
    margin-bottom: 10px;
    display: block;
    overflow: hidden;
    border-radius:6px
}

/* 文章列表缩略图加卡片阴影：白底商品图有轮廓，不加深色模式专用规则，与商店卡片阴影统一（2.9.59） */
.excerpt .thumbnail {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.excerpt .thumb {
    width:100%
}

.excerpt .post-cat {
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    margin: 15px;
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 12px;
    color: #fff;
    background-color:rgba(0, 0, 0, .6)
}

.excerpt .post-cat:hover {
    color: #fff;
    background-color:var(--tb--main)
}

.excerpt footer {
    font-size: 12px;
    color:var(--tb--tint)
}

.excerpt time {
    display: inline-block;
    margin-right:15px
}

.excerpt time.hot {
    color: var(--tb--main);
    font-weight:bold
}

.list-thumb-hover-action .excerpt:hover .thumb {
    transform:scale(1.1)
}

.excerpt-c2 {
    width:48%
}

.excerpt-c4 {
    width:23%
}

.excerpt-c5 {
    width:18%
}

.excerpt-c2 h2 {
    font-size: 18px;
    max-height:54px
}

.excerpt-c2 time, .excerpt-c2 .post-view {
    margin-right:20px
}

.excerpt-combine {
    margin-bottom:2%
}

.excerpt-combine:hover .thumbnail::before {
    opacity:.8
}

.excerpt-combine .thumbnail {
    margin-bottom:0
}

.excerpt-combine .thumbnail::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: all .3s ease-in-out;
    background: -moz-gradient(linear, 0 50%, 0 100%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.9)));
    background: -webkit-gradient(linear, 0 50%, 0 100%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.9)));
    background:gradient(linear, 0 50%, 0 100%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.9)))
}

.excerpt-combine h2 {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    z-index: 2;
    margin-bottom: 0;
    padding: 0 15px 0;
    font-weight: normal;
    text-shadow:-1px 1px 0 rgba(0, 0, 0, .1)
}

.excerpt-combine h2 a, .excerpt-combine h2 a:hover {
    color:#fff
}

.excerpt-combine footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 0 15px 15px 15px;
    color:var(--tb--gray)
}

.excerpt-combine footer time.hot {
    background-color: var(--tb--main);
    color: #fff;
    font-weight: normal;
    padding: 0 3px;
    border-radius:2px
}

.excerpt-combine.excerpt-hoverplugin {
    overflow:hidden
}

.excerpt-combine.excerpt-hoverplugin h2 {
    bottom: 13px;
    transition:all .3s ease-in-out
}

.excerpt-combine.excerpt-hoverplugin footer {
    bottom: -50px;
    transition:all .3s ease-in-out
}

.excerpt-combine.excerpt-hoverplugin:hover h2 {
    bottom:36px
}

.excerpt-combine.excerpt-hoverplugin:hover footer {
    bottom:0
}

@media (max-width: 1024px) {
    .excerpt-c4 {
        width:48%
    }

    .excerpt-c5 {
        width:23%
    }
}

@media (max-width: 768px) {
    .excerpt-c4 {
        width:48%
    }

    .excerpt-c5 {
        width:31.3333333333%
    }
}

@media (max-width: 544px) {
    .excerpts-wrapper {
        margin-top:15px
    }

    .excerpts {
        margin-right: -4%;
        min-height:100px
    }

    .excerpt {
        width: 46%;
        margin-right: 4%;
        margin-bottom:4%
    }

    .excerpt .thumbnail {
        margin-bottom:0
    }

    .excerpt h2 {
        margin: 7px 0 5px;
        font-weight: normal;
        font-size: 14px;
        line-height: 1.4;
        max-height:39.2px
    }

    .excerpt h2 a {
        display:block
    }

    .excerpt footer {
        margin: 0;
        border-top: none;
        font-size:10px
    }

    .excerpt footer time, .excerpt footer .post-view {
        margin-right:10px
    }

    .excerpt .post-cat {
        margin: 10px;
        font-size:10px
    }

    .excerpt.excerpt-combine h2 {
        bottom: 5px;
        font-size: 13px;
        padding: 0 10px;
        max-height:36.4px
    }

    .excerpt.excerpt-combine footer {
        display: none;
        border:none
    }

    .excerpt.excerpt-combine.excerpt-hoverplugin h2 {
        bottom:5px !important
    }

    .mlist-one .excerpts-wrapper {
        margin-top: 0;
        overflow:unset
    }

    .mlist-one .excerpts {
        margin-right:0
    }

    .mlist-one .excerpt {
        width: 100%;
        margin:15px 0 0
    }

    .mlist-one .excerpt .post-cat {
        margin:15px
    }

    .mlist-one .excerpt h2 {
        font-size: 14px;
        font-weight: bold;
        height:auto
    }

    .mlist-one .excerpt footer {
        display: block;
        border: none;
        padding:0
    }

    .mlist-one .excerpt-combine h2 {
        bottom: 38px;
        padding:0 15px
    }

    .mlist-one .excerpt-combine footer {
        padding:0 15px 15px
    }

    .mlist-one .excerpt-combine.excerpt-hoverplugin h2 {
        bottom:38px !important
    }

    .mlist-one .excerpt-combine.excerpt-hoverplugin footer {
        bottom:0
    }

    .mlist-news .thumb-video .fa {
        font-size: 30px;
        width: 30px;
        height: 30px;
        margin:-15px 0 0 -15px
    }

    .mlist-news .excerpts-wrapper {
        margin-top: 0;
        margin-left: -15px;
        margin-right:-15px
    }

    .mlist-news .excerpt {
        display: block;
        width: auto;
        overflow: hidden;
        margin-bottom: 0;
        padding: 10px 15px 10px 105px;
        border-bottom:1px solid var(--tb--light)
    }

    .mlist-news .excerpt .thumbnail {
        margin-bottom: 0;
        float: left;
        width: 80px;
        margin-left:-90px
    }

    .mlist-news .excerpt h2 {
        font-size: 14px;
        height: 38px;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        border:none
    }

    .mlist-news .excerpt h2 a {
        display:block
    }

    .mlist-news .excerpt footer {
        padding: 0;
        border: none;
        position: absolute;
        bottom: 10px;
        left: 105px;
        right: 15px;
        line-height: 1;
        font-size:10px
    }

    .mlist-news .excerpt footer time, .mlist-news .excerpt footer .post-view {
        margin-right:15px
    }

    .mlist-news .excerpt .post-cat {
        display:none
    }

    .mlist-news .excerpt .post-comm {
        display:inline-block
    }

    .mlist-news .excerpt-combine .thumbnail::before {
        display:none
    }

    .mlist-news .excerpt-combine h2 {
        position: relative;
        bottom: 0;
        top: 0;
        padding: 0;
        font-weight: normal;
        text-shadow:none
    }

    .mlist-news .excerpt-combine h2 a {
        color:var(--tb--base)
    }

    .mlist-news .excerpt-combine h2 a:hover {
        color:var(--tb--main)
    }

    .mlist-news .excerpt-combine.excerpt-c5 footer, .mlist-news .excerpt-combine footer {
        display: block;
        padding: 0;
        color:var(--tb--tint)
    }

    .mlist-news .excerpt-combine.excerpt-c5 footer time.hot, .mlist-news .excerpt-combine footer time.hot {
        background-color: rgba(0, 0, 0, 0);
        padding: 0;
        color: var(--tb--main);
        font-weight:bold
    }

    .mlist-news .excerpt-combine.excerpt-hoverplugin footer {
        bottom:10px
    }

    .mlist-news .excerpt-combine.excerpt-hoverplugin:hover h2 {
        padding-bottom:0
    }

    .mlist-news .excerpt-combine.excerpt-hoverplugin:hover footer {
        bottom:10px
    }
}

.leadpager {
    line-height: 1;
    margin-top: 15px;
    margin-bottom: -10.5px;
    font-size: 12px;
    color: var(--tb--gray);
    text-align:center
}

.leadpager::before {
    content: "--- "
}

.leadpager::after {
    content: " ---"
}

@media (max-width: 544px) {
    .leadpager {
        padding-bottom: 15px;
        margin-bottom: 0;
        border-bottom:1px solid var(--tb--light)
    }
}

.pagination {
    margin-bottom: 15px;
    text-align: center;
    font-size:14px
}

.pagination ul {
    margin: 0;
    padding: 0;
    list-style-type:none
}

.pagination ul li {
    display: inline-block;
    margin:0 3px
}

.pagination ul li a, .pagination ul li span {
    display: inline-block;
    padding: 7px 15px;
    border-radius:4px
}

.pagination ul li a {
    text-decoration: none;
    background-color: #ddd;
    color: #666;
    opacity:1
}

.darking .pagination ul li a {
    background-color:var(--tb--dark)
}

.pagination ul li span {
    cursor: default;
    color:#aaa
}

.pagination ul li a:hover, .pagination ul li a:focus {
    opacity:.8
}

.pagination ul li.active span {
    color: #fff;
    background-color:#aaa
}

.darking .pagination ul li.active span {
    opacity: .6;
    background-color:var(--tb--dark)
}

.pagination ul li.prev-page a, .pagination ul li.next-page a {
    background-color: var(--tb--main);
    color:#fff
}

@media (max-width: 768px) {
    .pagination {
        font-size:12px
    }
}

.pagination-loading {
    text-align: center;
    padding:15px 0
}

.pagination-loading img {
    max-width:70px
}

@media (max-width: 768px) {
    .pagination-loading img {
        max-width:50px
    }

    .pagination-multi ul li {
        display:none
    }

    .pagination-multi ul li.prev-page, .pagination-multi ul li.next-page {
        display:inline-block
    }
}

.ias_trigger {
    margin-bottom: 15px;
    text-align:center
}

.ias_trigger a {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 2px;
    background-color: var(--tb--main);
    color:#fff
}

.cat-menus {
    position: relative;
    z-index: 90;
    margin-top: 22.5px;
    margin-bottom:-10px
}

.cat-menus .container > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    word-spacing: -1em;
    text-align:center
}

.cat-menus .container > ul > li {
    position: relative;
    display: inline-block;
    word-spacing: 0;
    margin: 0 10px;
    padding:0 0 10px
}

.cat-menus .container > ul > li > a {
    display:block
}

.cat-menus .container > ul > li.current-cat > a {
    color:var(--tb--main)
}

.cat-menus .container > ul > li.catitem-parent > a::before {
    content: "";
    float: right;
    position: relative;
    top: 8px;
    margin-left: 3px;
    border-left: 4px solid rgba(0, 0, 0, 0);
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-top:4px solid var(--tb--base)
}

@media (max-width: 544px) {
    .cat-menus .container > ul > li.catitem-parent > a::before {
        top:6px
    }
}

.cat-menus .container > ul > li.catitem-parent > a:hover::before {
    border-top-color:var(--tb--main)
}

.cat-menus .container > ul > li.current-cat-parent > a, .cat-menus .container > ul > li.current-cat-ancestor > a {
    color:var(--tb--main)
}

.cat-menus .container > ul > li.current-cat-parent > a::before, .cat-menus .container > ul > li.current-cat-ancestor > a::before {
    border-top-color:var(--tb--main)
}

.cat-menus .container > ul > li:hover .children {
    visibility: visible;
    opacity: 1;
    margin-top:0
}

.cat-menus .children {
    transition: all .3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: -25px;
    background-color: #fff;
    font-size: 14px;
    padding: 6px 0;
    border: 1px solid #999;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    line-height: 32px;
    width: 140px;
    margin-left: -78px;
    list-style: none;
    text-align: center;
    border-radius: 2px;
    z-index:2
}

.cat-menus .children::before, .cat-menus .children::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -3px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right:5px solid rgba(0, 0, 0, 0)
}

.cat-menus .children::before {
    border-bottom:5px solid #555
}

.cat-menus .children::after {
    border-bottom: 5px solid #fff;
    margin-top:1px
}

.cat-menus .children a {
    display: block;
    padding:0 15px
}

.cat-menus .children a:hover {
    background-color: #eee;
    color:#555
}

.cat-menus .children .current-cat a {
    color:var(--tb--main)
}

.darking .cat-menus .children {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.darking .cat-menus .children::before {
    border-bottom-color:var(--tb--dark)
}

.darking .cat-menus .children::after {
    border-bottom-color:var(--tb--dark)
}

.darking .cat-menus .children a:hover {
    color: #999;
    background-color:var(--tb--dark)
}

@media (max-width: 544px) {
    .cat-menus {
        margin-top: 15px;
        font-size: 12px;
        margin-bottom:0
    }

    .cat-menus .children {
        font-size:12px
    }
}

.article-header {
    padding-bottom:7.5px
}

.article-title {
    font-size: 24px;
    margin: 0 0 10px;
    font-weight:bold
}

.article-meta {
    color: var(--tb--gray);
    margin-bottom:15px
}

.article-meta .item {
    margin-right: 15px;
    display:inline-block
}

.article-meta .item-4 i {
    margin-right:4px
}

@media (max-width: 1024px) {
    .article-title {
        font-size:20px
    }
}

@media (max-width: 768px) {
    .article-meta {
        font-size:12px
    }

    .article-meta .item {
        margin-right:10px
    }
}

@media (max-width: 544px) {
    .article-title {
        font-size: 18px;
        margin-bottom:5px
    }

    .article-meta {
        margin-bottom:10px
    }
}

.article-content {
    font-size: 18px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow:hidden
}

.product-main-description {
    font-size: 18px;
    line-height: 1.7;
    word-wrap:break-word
}

/* 商品详情（含变体详情）图片：独占一行并留出上下间距，避免与文字贴在一起
   选择器带 body 前缀是为了压过 woocommerce.css 的 .woocommerce img{margin:0 auto}
   18px 与段落默认间距一致，外边距合并后文字与图片间距同为 18px */
body .product-main-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
}

body .article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
}

/* 纯图片段落：间距由段落本身提供 18px，图片不再叠加外边距
   否则上下两张图各自的 18px 会累加，相邻图片之间远大于 18px */
body .article-content p:has(> img:only-child) {
    margin: 18px 0;
}
body .article-content p:has(> img:only-child) > img {
    margin: 0 auto;
}

/* 文字与图片同段（<p>文字<br><img></p>）：图片不是段落唯一子元素，上一条规则不匹配
   隐藏图片前的 <br>，避免多出一整行空白；图片上下各 18px
   !important 用于压过 .article-content .aligncenter 的 margin:0 auto */
body .article-content p > br:has(+ img),
body .product-main-description p > br:has(+ img) {
    display: none;
}
body .article-content p:not(:has(> img:only-child)) > img[class],
body .product-main-description p:not(:has(> img:only-child)) > img[class] {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto !important;
}

.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6, .article-content p, .article-content ul, .article-content ol, .article-content table, .article-content pre, .article-content blockquote, .article-content .wp-caption {
    margin:0 0 10px
}

.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 {
    line-height:1.5
}

.article-content a {
    color:#4a4a4a(--tb--link)
}

.article-content a:hover {
    text-decoration: none;
    color:#800000(--tb--link)
}

.article-content pre {
    margin: 20px 0;
    font: 12px/20px "courier new";
    background: #4a4a4a;
    padding: 10px 20px;
    color: #f8f8d4;
    border:none
}

.article-content blockquote {
    margin: 30px 30px;
    padding: 15px 20px 1px;
    font-size: 16px;
    color: #999;
    border-left:5px solid #eee
}

.article-content blockquote p {
    margin: 0;
    padding: 0;
    margin-bottom:10px
}

.article-content h1 {
    font-size:22px
}

.article-content h2 {
    font-size:18px
}

.article-content h3 {
    font-size:18px
}

.article-content h4 {
    font-size:16px
}

.article-content h5 {
    font-size:16px
}

.article-content h6 {
    font-size:16px
}

.article-content ul, .article-content ol {
    margin:0 0 30px 13px
}

.article-content p {
    margin-bottom:10px
}

.article-content pre {
    word-wrap:break-word
}

.article-content table {
    border-top: solid 1px #ddd;
    border-left: solid 1px #ddd;
    width: 100%;
    margin-bottom:30px
}

.article-content table th {
    background-color: #f9f9f9;
    text-align:center
}

.article-content table th, .article-content table td {
    border-bottom: solid 1px #ddd;
    border-right: solid 1px #ddd;
    padding:5px 10px
}

.darking .article-content table {
    border-color:var(--tb--dark)
}

.darking .article-content table th {
    background-color:var(--tb--dark)
}

.darking .article-content table th, .darking .article-content table td {
    border-bottom-color: var(--tb--dark);
    border-right-color:var(--tb--dark)
}

/* 售后提交按钮：日间模式去掉浏览器默认黑边（仅边框色，其它保持原样） */
input.warranty-button,
.warranty-button.button,
#warranty_form input[type="submit"],
table.warranty-tracking-form-table input[type="submit"] {
    border: 1px solid #ddd
}
/* 暗夜模式：售后表格四边与提交按钮 */
.darking table.warranty-table th,
.darking table.warranty-table td {
    border-color: rgba(255,255,255,.14)
}
.darking input.warranty-button,
.darking .warranty-button.button,
.darking #warranty_form input[type="submit"],
.darking table.warranty-tracking-form-table input[type="submit"] {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #e8e8e8;
    box-shadow: none
}
.darking input.warranty-button:hover,
.darking .warranty-button.button:hover,
.darking #warranty_form input[type="submit"]:hover,
.darking table.warranty-tracking-form-table input[type="submit"]:hover {
    background: rgba(255,255,255,.14);
    color: #fff
}
/* 售后表格复选框：仅勾选态把黑色对号换成白色，未勾选保持浏览器原生外观 */
table.warranty-table input[type="checkbox"]:checked {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    padding: 0;
    border-radius: 2.5px;
    background: #ff6651 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.6 8.5l2.9 2.9 6-6.6'/%3E%3C/svg%3E") center/100% no-repeat
}

/* 暗夜模式：正文里写死的红色系内联文字统一改用品牌橙，避免深底上暗红不可读（浅色模式保持原样） */
.darking [style*="color: #800000" i], .darking [style*="color: #ff0000" i], .darking [style*="color: #cc0033" i], .darking [style*="color: #ff0033" i], .darking [style*="color: #990000" i], .darking [style*="color: #660000" i], .darking [style*="color: red" i], .darking font[color="#800000" i] {
    color: #ff6651 !important
}

.article-content embed[align=middle] {
    margin: 0 auto;
    display:block
}

.article-content .alignnone {
    margin:0 auto
}

.article-content .alignleft {
    float: left;
    margin:0 30px 30px 0
}

.article-content .aligncenter {
    margin: 0 auto;
    text-align: center;
    display:block
}

.article-content .aligncenter img {
	margin:0 auto
}

.article-content .alignright {
    float: right;
    margin:0 0 30px 30px
}

.article-content .wp-caption {
    margin-bottom: 25px;
    max-width:100%
}

.article-content .wp-caption img {
    margin-bottom:5px
}

.article-content .wp-caption p {
    margin: 0;
    text-indent:0
}

.article-content .wp-caption .alignnone {
    text-align:center
}

.article-content .wp-caption .wp-caption-text {
    font-size: 14px;
    color:var(--tb--gray)
}

.postindent .article-content {
    text-indent:2em
}

.wp-block-gallery {
    margin-left:0 !important
}

.wp-block-image {
    margin-bottom:20px
}

.wp-block-image figcaption {
    font-size:inherit
}

.wp-block-quote cite {
    font-size: 12px;
    color:#bbb
}

.wp-block-file {
    background-color: #f6f6f6;
    padding: 2em;
    text-align:center
}

.wp-block-file .wp-block-file__button {
    font-size: inherit;
    padding:.5em 2em
}

.wp-block-file * + .wp-block-file__button {
    margin-left:2em
}

.wp-block-button__link {
    font-size: inherit;
    text-decoration: none !important;
    color: #fff !important;
    padding:.5em 2em
}

.wp-block-button__link:hover {
    background-color:#505559
}

.wp-block-image {
    overflow:hidden
}

.aligncenter img {
    margin-left: auto;
    margin-right:auto
}

.wp-block-image .aligncenter > figcaption {
    display:block
}

.article-copyright {
    margin-bottom: 30px;
    overflow: hidden;
    clear:both
}

.article-paging {
    text-align: center;
    overflow: hidden;
    clear: both;
    margin: 15px 0 45px;
    font-size:0
}

.article-paging .post-page-numbers {
    font-size: 12px;
    margin: 3px 2px;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 2px;
    background-color: var(--tb--light);
    color:var(--tb--gray)
}

.article-paging .post-page-numbers.current {
    background-color: var(--tb--tint);
    color:#fff
}

.article-paging a:hover {
    background-color: var(--tb--dark);
    color:#fff
}

.article-actions {
    margin:45px 0
}

.article-actions .shares {
    float: left;
    margin-bottom:0
}

.article-actions .shares strong {
    color: #999;
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: normal;
    line-height:1
}

.article-actions .action-like {
    float: right;
    border-radius: 2px;
    padding: 0 15px;
    height: 32px;
    line-height: 31px;
    font-size: 14px;
    text-align: center;
    min-width: 80px;
    color: #fff;
    background-color: #f7b10d;
    margin-left: 15px;
    margin-top: 22px;
    opacity:.8
}

.article-actions .action-like:hover {
    opacity:1
}

.article-actions .action-like i {
    font-size: 14px;
    margin-right: 3px;
    position:relative
}

.article-actions .action-like {
    background-color:var(--tb--main)
}

.article-actions .action-like i {
    margin-right: 5px;
    top:1px
}

@media (max-width: 544px) {
    .article-actions {
        text-align:center
    }

    .article-actions .shares {
        float: none;
        margin-bottom:30px
    }

    .article-actions .action-like {
        float: none;
        display: inline-block;
        margin: 0 10px;
        font-size:12px
    }
}

.article-wechats {
    text-align:center
}

.article-wechatitem {
    display: inline-block;
    text-align: left;
    width: 450px;
    border-radius: 8px;
    border: 1px solid var(--tb--light);
    padding: 20px 20px 20px 140px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .02);
    overflow: hidden;
    position:relative
}

.article-wechatitem img {
    width: 100px;
    height: 100px;
    float: left;
    margin-left:-120px
}

.darking .article-wechatitem {
    background-color:var(--tb--dark)
}

.article-wechatitem-tit {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 18px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis
}

.article-wechatitem-desc {
    font-size: 14px;
    color: var(--tb--tint);
    height: 38px;
    overflow:hidden
}

.article-wechatitem-users {
    position: absolute;
    bottom: 20px;
    color: #7bd172;
    font-size:14px
}

@media (max-width: 544px) {
    .article-wechatitem {
        width: 100%;
        padding:15px 15px 15px 110px
    }

    .article-wechatitem img {
        margin-left: -95px;
        width: 80px;
        height:80px
    }

    .article-wechatitem-tit {
        font-size:14px
    }

    .article-wechatitem-desc {
        font-size: 12px;
        height:32px
    }

    .article-wechatitem-users {
        font-size: 12px;
        bottom:15px
    }
}

.article-tags {
    margin-bottom:30px
}

.article-tags a {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 30px;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--tb--gray);
    background-color:var(--tb--light)
}

.article-tags a:hover {
    color: #fff;
    background-color:var(--tb--main)
}

.colortags .article-tags a {
    color: #fff;
    opacity: .8;
    background-color:#333
}

.colortags .article-tags a:hover {
    opacity:1
}

.colortags .article-tags a:nth-child(1) {
    background-color:#ff6651
}

.colortags .article-tags a:nth-child(2) {
    background-color:#00d6ac
}

.colortags .article-tags a:nth-child(3) {
    background-color:#16c0f8
}

.colortags .article-tags a:nth-child(4) {
    background-color:#ea84ff
}

.colortags .article-tags a:nth-child(5) {
    background-color:#fdac5f
}

.colortags .article-tags a:nth-child(6) {
    background-color:#ff926f
}

.colortags .article-tags a:nth-child(7) {
    background-color:#8ac78f
}

.colortags .article-tags a:nth-child(8) {
    background-color:#c7c183
}

.colortags .article-tags a:nth-child(9) {
    background-color:#76bdff
}

.colortags .article-tags a:nth-child(10) {
    background-color:#5cb85c
}

.article-nav {
    clear: both;
    overflow: hidden;
    color: var(--tb--gray);
    font-size: 12px;
    margin-bottom:45px
}

.article-nav a {
    font-size:14px
}

.article-nav .article-nav-prev {
    float: left;
    width:50%
}

.article-nav .article-nav-next {
    float: right;
    width: 50%;
    text-align:right
}

@media (max-width: 544px) {
    .article-nav .article-nav-prev {
        float: none;
        width: auto;
        display:block
    }

    .article-nav .article-nav-next {
        margin-top: 15px;
        float: none;
        width: auto;
        display: block;
        text-align:left
    }
}

.postitems {
    margin-bottom:30px
}

.postitems h3 {
    margin: 0 0 15px;
    line-height: 1;
    font-size: 15px;
    font-weight:bold
}

.postitems ul {
    list-style: none;
    padding: 0;
    overflow: hidden;
    margin:0 -15px 0 0
}

.postitems ul:after {
    display: block;
    content: "";
    clear:both
}

.postitems li {
    width: calc(25% - 15px);
    margin-right: 15px;
    margin-bottom: 22.5px;
    display: inline-block;
    vertical-align: top;
    word-break:break-all
}

.postitems li .thumb {
    width:100%
}

.postitems li .thumbnail {
    margin-bottom: 7px;
    position: relative;
    display: block;
    border-radius: 6px;
    overflow:hidden
}

/* 相关推荐缩略图同款卡片阴影（2.9.59） */
.postitems li .thumbnail {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 相关推荐：标题两行后省略号截断 */
.postitems li a {
    display: block;
}

.postitems li a .t {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 544px) {
    .postitems ul {
        margin-right:-15px
    }

    .postitems li {
        width: calc(50% - 15px);
        margin-right:15px
    }

    .postitems li img {
        width:100%
    }
}

.postformat-gallery .article-content, .postformat-image .article-content, .postformat-video .article-content {
    margin:24px 0
}

.gallerybox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background-color: #0c0c0c;
    background-color:rgba(0, 0, 0, .9)
}

.gallerybox .glide__slide {
    position:relative
}

.gallerybox .gallerybox-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin:0 auto
}

.gallerybox .gallerybox-item img {
    max-height: 100%;
    width:auto
}

.gallerybox .gallerybox-itemdesc {
    position: absolute;
    bottom: 12%;
    width: 40%;
    left: 30%;
    text-align: center;
    color: #ddd;
    font-size: 14px;
    border-radius: 100px;
    background-color: rgba(0, 0, 0, .4);
    padding:15px 30px
}

.gallerybox .gallerybox-close {
    position: fixed;
    top: 0;
    right: 0;
    color: #ddd;
    padding: 30px;
    cursor:pointer
}

.gallerybox .gallerybox-close .fa {
    font-size: 20px;
    line-height:1
}

.gallerybox .gallerybox-close:hover {
    color:#fff
}

@media (max-width: 1024px) {
    .gallerybox .glide--horizontal .glide__arrows {
        width: 100%;
        margin-left:0
    }

    .gallerybox .glide__arrow {
        padding: 30px 15px;
        background-color:rgba(0, 0, 0, .5)
    }

    .gallerybox .glide__arrow:hover {
        background-color:rgba(0, 0, 0, .8)
    }

    .gallerybox .glide--horizontal .glide__bullets {
        bottom:5%
    }
}

@media (max-width: 544px) {
    .gallerybox .glide__arrow {
        padding:20px 10px
    }

    .gallerybox .glide__arrow .fa {
        font-size:20px
    }
}

.gallery .glide {
    margin-bottom:50px
}

.gallery .glide:hover .glide__arrow {
    display:block
}

.gallery ul.glide__track {
    margin: 0;
    padding:0
}

.gallery .glide__bullets {
    bottom:-5px
}

.gallery .glide__arrow {
    display: none;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 2px;
    padding:15px 10px
}

.gallery .glide__arrow .fa {
    font-size: 18px;
    color:#fff
}

.gallery .glide__bullets > * {
    background-color:#bbb
}

.gallery .glide__bullets > *:hover, .gallery .glide__bullets > *:focus {
    border:2px solid #bbb
}

.gallery .glide__bullets > * .active {
    background-color:#666
}

.gallery .glide__slide {
    position:relative
}

.gallery .gallery-item {
    margin:0 auto
}

.gallery .gallery-item img {
    margin:0 auto
}

.gallery .gallery-itemdesc {
    position: absolute;
    bottom: 10px;
    width: 50%;
    left: 25%;
    text-align: center;
    background-color: rgba(0, 0, 0, .4);
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 100px;
    color:#eee
}

.gallery-size-large, .gallery-size-medium, .gallery-size-thumbnail {
    clear: both;
    overflow: hidden;
    margin-bottom: 22.5px;
    margin-right:-2%
}

.gallery-size-large .gallery-item, .gallery-size-medium .gallery-item, .gallery-size-thumbnail .gallery-item {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 2%;
    margin-right: 2%;
    text-align:center
}

.gallery-size-large .gallery-item img, .gallery-size-medium .gallery-item img, .gallery-size-thumbnail .gallery-item img {
    margin:0 auto
}

.gallery-size-large .gallery-caption, .gallery-size-medium .gallery-caption, .gallery-size-thumbnail .gallery-caption {
    margin-top: 4px;
    font-size: 14px;
    color:var(--tb--gray)
}

.gallery-size-large.gallery-columns-1 .gallery-item, .gallery-size-medium.gallery-columns-1 .gallery-item, .gallery-size-thumbnail.gallery-columns-1 .gallery-item {
    width:98%
}

.gallery-size-large.gallery-columns-2 .gallery-item, .gallery-size-medium.gallery-columns-2 .gallery-item, .gallery-size-thumbnail.gallery-columns-2 .gallery-item {
    width:48%
}

.gallery-size-large.gallery-columns-3 .gallery-item, .gallery-size-medium.gallery-columns-3 .gallery-item, .gallery-size-thumbnail.gallery-columns-3 .gallery-item {
    width:31.3333333333%
}

.gallery-size-large.gallery-columns-4 .gallery-item, .gallery-size-medium.gallery-columns-4 .gallery-item, .gallery-size-thumbnail.gallery-columns-4 .gallery-item {
    width:23%
}

.gallery-size-large.gallery-columns-5 .gallery-item, .gallery-size-medium.gallery-columns-5 .gallery-item, .gallery-size-thumbnail.gallery-columns-5 .gallery-item {
    width:18%
}

.gallery-size-large.gallery-columns-6 .gallery-item, .gallery-size-medium.gallery-columns-6 .gallery-item, .gallery-size-thumbnail.gallery-columns-6 .gallery-item {
    width:14.6666666667%
}

.gallery-size-large.gallery-columns-7 .gallery-item, .gallery-size-medium.gallery-columns-7 .gallery-item, .gallery-size-thumbnail.gallery-columns-7 .gallery-item {
    width:12.2857142857%
}

.gallery-size-large.gallery-columns-8 .gallery-item, .gallery-size-medium.gallery-columns-8 .gallery-item, .gallery-size-thumbnail.gallery-columns-8 .gallery-item {
    width:10.5%
}

.gallery-size-large.gallery-columns-9 .gallery-item, .gallery-size-medium.gallery-columns-9 .gallery-item, .gallery-size-thumbnail.gallery-columns-9 .gallery-item {
    width:9.1111111111%
}

@media (max-width: 768px) {
    .gallery-size-large.gallery-columns-4 .gallery-item, .gallery-size-medium.gallery-columns-4 .gallery-item, .gallery-size-thumbnail.gallery-columns-4 .gallery-item {
        width:31.3333333333%
    }

    .gallery-size-large.gallery-columns-5 .gallery-item, .gallery-size-medium.gallery-columns-5 .gallery-item, .gallery-size-thumbnail.gallery-columns-5 .gallery-item {
        width:23%
    }

    .gallery-size-large.gallery-columns-6 .gallery-item, .gallery-size-medium.gallery-columns-6 .gallery-item, .gallery-size-thumbnail.gallery-columns-6 .gallery-item {
        width:23%
    }

    .gallery-size-large.gallery-columns-7 .gallery-item, .gallery-size-medium.gallery-columns-7 .gallery-item, .gallery-size-thumbnail.gallery-columns-7 .gallery-item {
        width:18%
    }

    .gallery-size-large.gallery-columns-8 .gallery-item, .gallery-size-medium.gallery-columns-8 .gallery-item, .gallery-size-thumbnail.gallery-columns-8 .gallery-item {
        width:14.6666666667%
    }

    .gallery-size-large.gallery-columns-9 .gallery-item, .gallery-size-medium.gallery-columns-9 .gallery-item, .gallery-size-thumbnail.gallery-columns-9 .gallery-item {
        width:12.2857142857%
    }
}

@media (max-width: 544px) {
    .gallery-size-large, .gallery-size-medium, .gallery-size-thumbnail {
        margin-right:-4%
    }

    .gallery-size-large .gallery-item, .gallery-size-medium .gallery-item, .gallery-size-thumbnail .gallery-item {
        margin-bottom: 4%;
        margin-right:4%
    }

    .gallery-size-large.gallery-columns-1 .gallery-item, .gallery-size-medium.gallery-columns-1 .gallery-item, .gallery-size-thumbnail.gallery-columns-1 .gallery-item {
        width:96%
    }

    .gallery-size-large.gallery-columns-2 .gallery-item, .gallery-size-medium.gallery-columns-2 .gallery-item, .gallery-size-thumbnail.gallery-columns-2 .gallery-item {
        width:46%
    }

    .gallery-size-large.gallery-columns-3 .gallery-item, .gallery-size-medium.gallery-columns-3 .gallery-item, .gallery-size-thumbnail.gallery-columns-3 .gallery-item {
        width:46%
    }

    .gallery-size-large.gallery-columns-4 .gallery-item, .gallery-size-medium.gallery-columns-4 .gallery-item, .gallery-size-thumbnail.gallery-columns-4 .gallery-item {
        width:46%
    }

    .gallery-size-large.gallery-columns-5 .gallery-item, .gallery-size-medium.gallery-columns-5 .gallery-item, .gallery-size-thumbnail.gallery-columns-5 .gallery-item {
        width:29.3333333333%
    }

    .gallery-size-large.gallery-columns-6 .gallery-item, .gallery-size-medium.gallery-columns-6 .gallery-item, .gallery-size-thumbnail.gallery-columns-6 .gallery-item {
        width:29.3333333333%
    }

    .gallery-size-large.gallery-columns-7 .gallery-item, .gallery-size-medium.gallery-columns-7 .gallery-item, .gallery-size-thumbnail.gallery-columns-7 .gallery-item {
        width:21%
    }

    .gallery-size-large.gallery-columns-8 .gallery-item, .gallery-size-medium.gallery-columns-8 .gallery-item, .gallery-size-thumbnail.gallery-columns-8 .gallery-item {
        width:21%
    }

    .gallery-size-large.gallery-columns-9 .gallery-item, .gallery-size-medium.gallery-columns-9 .gallery-item, .gallery-size-thumbnail.gallery-columns-9 .gallery-item {
        width:16%
    }
}

.image-container {
    text-align: center;
    padding-top: 15px;
    padding-bottom:15px
}

.image-header {
    margin-bottom:30px
}

.image-title {
    margin:0 0 7.5px
}

.image-meta {
    color:var(--tb--gray)
}

.image-content img {
    height:auto
}

.image-navigation {
    margin-top: 30px;
    margin-bottom:30px
}

.image-navigation a {
    padding: 7px 15px;
    display: inline-block;
    border-radius: 2px;
    background-color: var(--tb--main);
    opacity: 1;
    color:#fff
}

.image-navigation a:hover {
    opacity:.8
}

.image-caption, .image-description {
    margin: 0 auto 30px;
    max-width:600px
}

@media (max-width: 1024px) {
    .image-title {
        font-size:18px
    }
}

.page-template-blank .article-header {
    text-align: center;
    margin:24px 0
}

.page-template-blank-2 .article-content {
    margin:24px 0
}

.plinks {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
    overflow:hidden
}

.plinks h2 {
    margin: 30px 0 0;
    font-size: 18px;
    font-weight:bold
}

.plinks h2 .fa {
    font-size: 18px;
    margin-right: 10px;
    width:18px
}

.plinks .linkcat {
    margin-bottom:30px
}

.plinks .linkcat ul {
    list-style: none;
    margin: 0 0 0 28px;
    padding: 0;
    overflow:hidden
}

.plinks .linkcat li {
    float: left;
    width: 20%;
    margin-top: 15px;
    height: 19px;
    overflow:hidden
}

@media (max-width: 768px) {
    .plinks .linkcat li {
        width:33.3333333333%
    }
}

@media (max-width: 544px) {
    .plinks h2 {
        margin-top: 15px;
        font-size:14px
    }

    .plinks h2 .fa {
        font-size: 14px;
        margin-right: 10px;
        width:14px
    }

    .plinks .linkcat {
        margin-bottom:15px
    }

    .plinks .linkcat ul {
        margin-left:24px
    }

    .plinks .linkcat li {
        margin-top: 10px;
        width:50%
    }
}

.tagslist {
    overflow:hidden
}

.tagslist ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-right:-15px
}

.tagslist li {
    float: left;
    width: calc(20% - 15px);
    margin-right: 15px;
    margin-top: 15px;
    border: 1px solid var(--tb--light);
    padding: 15px;
    border-radius: 2px;
    transition:all .3s ease-in-out
}

.tagslist li:hover {
    border-color:var(--tb--gray)
}

.tagslist li:hover .name {
    background-color: var(--tb--dark);
    color:#fff
}

.darking .tagslist li {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.darking .tagslist li:hover {
    border-color:var(--tb--dark)
}

.tagslist li .name {
    background-color: var(--tb--light);
    display: inline-block;
    padding: 5px 10px 4px;
    font-size: 12px;
    color:#666
}

.tagslist li .name:hover {
    background-color: var(--tb--main);
    color:#fff
}

.tagslist li small {
    margin-left: 10px;
    color:var(--tb--tint)
}

.tagslist li p {
    margin: 10px 0 0;
    font-size: 12px;
    height: 36px;
    overflow: hidden;
    display: block;
    line-height:1.5
}

.tagslist li p a {
    color:var(--tb--gray)
}

.tagslist li p a:hover {
    color:var(--tb--base)
}

@media (max-width: 1024px) {
    .tagslist li {
        width:calc(25% - 15px)
    }
}

@media (max-width: 768px) {
    .tagslist li {
        width:calc(33.3333333% - 15px)
    }
}

@media (max-width: 544px) {
    .tagslist li {
        width:calc(50% - 15px)
    }
}

.sidebar .-roll-top {
    width: 360px;
    position:fixed
}

.sidebar .-roll-bottom {
    width: 360px;
    position:absolute
}

@media (max-width: 1024px) {
    .sidebar .-roll-top, .sidebar .-roll-bottom {
        width: auto;
        position: static;
        top:0
    }
}

.widget {
    clear: both;
    position: relative;
    margin-bottom:22.5px
}

.widget h3 {
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    margin:0 0 10px
}

.widget ul {
    list-style: none;
    padding: 0;
    margin:0
}

.widget ul ul {
    border:none
}

.widget ul:before, .widget ul:after {
    display: table;
    content: "";
    line-height:0
}

.widget ul:after {
    clear:both
}

.widget_text {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_text {
    border-color:var(--tb--dark)
}

.widget_text h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_text h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_text .textwidget {
    color:#999
}

.widget_meta {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_meta {
    border-color:var(--tb--dark)
}

.widget_meta h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_meta h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_meta ul {
    color:#999
}

.widget_meta ul li {
    list-style: disc;
    width: 43%;
    float: left;
    margin-left: 20px;
    margin-bottom:5px
}

.widget_categories {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_categories {
    border-color:var(--tb--dark)
}

.widget_categories h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_categories h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_categories ul {
    color:#bbb
}

.widget_categories li .children {
    margin-top:10px
}

.widget_categories li {
    margin-bottom: 7px;
    list-style: disc;
    width: 43%;
    float: left;
    margin-left:20px
}

.widget_categories li ul {
    padding:0 0 0 15px
}

.widget_categories select {
    margin-top: 10px;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 4px 5px;
    border: 1px solid #e6e6e6;
    border-radius:2px
}

.widget_categories .screen-reader-text {
    display:none
}

.widget_archive {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_archive {
    border-color:var(--tb--dark)
}

.widget_archive h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_archive h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_archive ul {
    color:#bbb
}

.widget_archive li {
    float: left;
    width: 43%;
    margin: 5px 0 5px 20px;
    list-style:disc
}

.widget_archive li a {
    margin-right:5px
}

.widget_archive select {
    margin-top: 10px;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 4px 5px;
    border: 1px solid #e6e6e6;
    border-radius:2px
}

.widget_archive .screen-reader-text {
    display:none
}

.widget_tag_cloud {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_tag_cloud {
    border-color:var(--tb--dark)
}

.widget_tag_cloud h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_tag_cloud h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    margin:3px 10px 3px 0
}

.widget_calendar h3 {
    display:none
}

.widget_calendar table {
    width: 100%;
    text-align:center
}

.widget_calendar table caption {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight:bold
}

.widget_calendar table #prev a, .widget_calendar table #next a {
    display: block;
    padding:0 10px
}

.widget_calendar table #prev {
    text-align:left
}

.widget_calendar table #next {
    text-align:right
}

.widget_calendar table tbody td, .widget_calendar table tfoot td, .widget_calendar table thead th {
    padding: 5px 3px;
    border:1px solid #eee
}

.darking .widget_calendar table tbody td, .darking .widget_calendar table tfoot td, .darking .widget_calendar table thead th {
    border-color:var(--tb--dark)
}

.widget_calendar table thead th {
    background-color: #fbfbfb;
    text-align:center
}

.darking .widget_calendar table thead th {
    background-color:var(--tb--dark)
}

.widget_calendar table tbody td a {
    display: block;
    margin: 0 3px;
    background-color: #666;
    color:#fff
}

.widget_calendar table tbody td a:hover {
    background-color:#444
}

.widget_pages {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_pages {
    border-color:var(--tb--dark)
}

.widget_pages h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_pages h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_pages ul {
    color:#bbb
}

.widget_pages li {
    float: left;
    width: 43%;
    margin: 5px 0 5px 20px;
    list-style:disc
}

.widget_recent_entries {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_recent_entries {
    border-color:var(--tb--dark)
}

.widget_recent_entries h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding: 15px;
    margin-bottom:0
}

.darking .widget_recent_entries h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_recent_entries li {
    border-bottom: solid 1px #eee;
    padding:10px 0
}

.widget_recent_entries li:last-child {
    padding-bottom: 0;
    border-bottom:none
}

.widget_recent_entries .post-date {
    display: block;
    font-size: 12px;
    color: #bbb;
    margin-top:5px
}

.widget_nav_menu {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_nav_menu {
    border-color:var(--tb--dark)
}

.widget_nav_menu h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding: 15px;
    margin-bottom:0
}

.darking .widget_nav_menu h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_nav_menu ul {
    color:#999
}

.widget_nav_menu ul li {
    margin: 10px 0 0 20px;
    list-style:disc
}

.widget_links {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_links {
    border-color:var(--tb--dark)
}

.widget_links h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding:15px
}

.darking .widget_links h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_links ul {
    color:#bbb
}

.widget_links li {
    float: left;
    width: 43%;
    margin: 5px 0 5px 20px;
    list-style:disc
}

.widget_rss {
    border: 1px solid #eee;
    border-radius: 2px;
    padding:15px
}

.darking .widget_rss {
    border-color:var(--tb--dark)
}

.widget_rss h3 {
    background-color: #fbfbfb;
    border-bottom: 1px solid #eee;
    margin: -15px -15px 15px;
    padding: 15px;
    margin-bottom:0
}

.darking .widget_rss h3 {
    border-bottom-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget_rss .rsswidget img {
    display:none
}

.widget_rss ul {
    color:#999
}

.widget_rss li {
    border-bottom: solid 1px #eee;
    padding:15px 0
}

.widget_rss li:last-child {
    padding-bottom: 0;
    border-bottom:none
}

.widget-osst {
    border-radius: 2px;
    overflow: hidden;
    text-align:center
}

.widget-osst img {
    display: block;
    margin:0 auto
}

.widget-textosst a {
    display: block;
    padding: 0 15px 15px;
    border: 1px solid #eee;
    background-color: #fff;
    font-size: 12px;
    border-radius:6px
}

.darking .widget-textosst a {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.widget-textosst a h2 {
    font-size: 20px;
    font-weight: normal;
    margin:10px 0
}

.widget-textosst a p {
    color: #999;
    margin-bottom:0
}

.widget-textosst a strong {
    margin: -1px 0 0 0;
    display: inline-block;
    padding: 4px 10px;
    color: #fff;
    font-size: 14px;
    font-weight:normal
}

.widget-textosst a.style01 {
    color:#ff6651
}

.widget-textosst a.style01:hover {
    border-color:#ff6651
}

.widget-textosst a.style01 strong {
    background-color:#ff6651
}

.widget-textosst a.style02 {
    color:#ff5e52
}

.widget-textosst a.style02:hover {
    border-color:#ff5e52
}

.widget-textosst a.style02 strong {
    background-color:#ff5e52
}

.widget-textosst a.style03 {
    color:#5cb85c
}

.widget-textosst a.style03:hover {
    border-color:#5cb85c
}

.widget-textosst a.style03 strong {
    background-color:#5cb85c
}

.widget-textosst a.style04 {
    color:#c35bff
}

.widget-textosst a.style04:hover {
    border-color:#c35bff
}

.widget-textosst a.style04 strong {
    background-color:#c35bff
}

.widget-postlist {
    margin-bottom:10px
}

.widget-postlist ul {
    margin-right:-15px
}

.widget-postlist li {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 15px);
    margin-right: 15px;
    margin-bottom: 22.5px;
    word-break:break-all
}

.widget-postlist .col1 li {
    display: block;
    width: 100%;
    margin-right:0
}

.widget-postlist .thumb {
    width:100%
}

.widget-postlist .thumbnail {
    margin-bottom: 7px;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius:6px
}

/* 侧栏热点文章缩略图同款卡片阴影（2.9.59） */
.widget-postlist .thumbnail {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 文章详情页正文图片：同款卡片阴影 + 圆角（2.9.59） */
.article-content img {
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 侧栏文章小工具：标题两行后省略号截断 */
.widget-postlist li a {
    display: block;
}

.widget-postlist li a .t {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .widget-postlist li {
        width:calc(25% - 15px)
    }
}

@media (max-width: 544px) {
    .widget-postlist li {
        width:calc(50% - 15px)
    }
}

.widget-comments a {
    padding: 5px 0 5px 52px;
    display: block;
    overflow: hidden;
    position: relative;
    color:#777
}

.widget-comments li:last-child a {
    padding-bottom:0
}

.widget-comments a:hover {
    color:#444
}

.widget-comments a:hover .inner {
    background-color:#fbfbfb
}

.darking .widget-comments a:hover .inner {
    background-color:var(--tb--dark)
}

.widget-comments .inner {
    border-radius: 2px;
    padding: 12px 15px;
    border: 1px solid #eee;
    position:relative
}

.widget-comments .inner::before, .widget-comments .inner::after {
    content: "";
    position: absolute;
    left: -5px;
    top: 9px;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-bottom:5px solid rgba(0, 0, 0, 0)
}

.widget-comments .inner::before {
    border-right:5px solid #aaa
}

.widget-comments .inner::after {
    border-right: 5px solid #fff;
    margin-bottom:1px
}

.darking .widget-comments .inner {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.darking .widget-comments .inner::before {
    border-right-color:var(--tb--dark)
}

.darking .widget-comments .inner::after {
    border-right-color:var(--tb--dark)
}

.widget-comments time {
    display: block;
    font-size: 12px;
    color: #bbb;
    margin-bottom:3px
}

.widget-comments strong {
    margin-right: 10px;
    color:#bbb
}

.widget-comments .avatar {
    float: left;
    width: 42px;
    height: 42px;
    margin-left: -52px;
    border-radius:50%
}

.widget-htags {
    overflow:hidden
}

.widget-htags .items {
    overflow: hidden;
    margin-right: -2%;
    text-align:center
}

.widget-htags .items a {
    float: left;
    width: 31.3333333333%;
    margin-right: 2%;
    margin-bottom: 2%;
    padding: 4px 10px;
    border-radius: 2px;
    overflow: hidden;
    line-height: 2;
    height: 36px;
    color: #fff;
    opacity: .8;
    background-color:#333
}

.widget-htags .items a:hover {
    opacity:1
}

.widget-htags .items a:nth-child(10n + 1) {
    background-color:#ff6651
}

.widget-htags .items a:nth-child(10n + 2) {
    background-color:#00d6ac
}

.widget-htags .items a:nth-child(10n + 3) {
    background-color:#16c0f8
}

.widget-htags .items a:nth-child(10n + 4) {
    background-color:#ea84ff
}

.widget-htags .items a:nth-child(10n + 5) {
    background-color:#fdac5f
}

.widget-htags .items a:nth-child(10n + 6) {
    background-color:#ff926f
}

.widget-htags .items a:nth-child(10n + 7) {
    background-color:#8ac78f
}

.widget-htags .items a:nth-child(10n + 8) {
    background-color:#c7c183
}

.widget-htags .items a:nth-child(10n + 9) {
    background-color:#76bdff
}

.widget-htags .items a:nth-child(10n + 10) {
    background-color:#5cb85c
}

.widget .gallery {
    margin-right:-9px !important
}

.widget .gallery .gallery-item {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    margin-right: 0 !important;
    padding-right:5px !important
}

.widget .gallery .gallery-item img {
    height: auto !important;
    border:none !important
}

.comments-title {
    margin: 0;
    line-height: 1;
    margin-bottom: 15px;
    font-weight: bold;
    font-size:15px
}

.comments-title small {
    font-weight: normal;
    display: inline-block;
    margin-left: 10px;
    color: var(--tb--gray);
    font-size:12px
}

.comments-respond {
    position: relative;
    margin-bottom:15px
}

.comt {
    position: relative;
    padding-left:52px
}

.comt-title {
    font-size: 12px;
    color: #999;
    float: left;
    margin-left: -52px;
    width: 42px;
    text-align:center
}

.comt-title .avatar {
    height: 42px;
    width: 42px;
    border-radius: 2px;
    margin-bottom:5px
}

.comt-title p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap
}

.comt-box {
    border: 2px solid #ccd4d9;
    padding: 5px 10px 0;
    border-radius: 2px;
    background-color: #fff;
    position:relative
}

.darking .comt-box {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.comt-area {
    width: 100%;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
    line-height: 22px;
    font-size: 14px;
    outline: 0;
    color: #666;
    height:72px
}

.darking .comt-area {
    background-color:var(--tb--dark);
    color: var(--tb--base)
}

.comt-ctrl {
    background-color: #fbfbfb;
    height: 36px;
    margin-left: -10px;
    border-top:solid 1px #f2f2f2
}

.darking .comt-ctrl {
    border-top: 1px solid var(--tb--bdbg);
    background-color:var(--tb--dark)
}

.comt-submit {
    position: absolute;
    right: -2px;
    bottom: -2px;
    background: var(--tb--main);
    border: none;
    border: 2px solid;
    border-color: var(--tb--main);
    border-left: none;
    border-top: none;
    padding: 0px;
    width: 100px;
    height: 38px;
    line-height: 38px;
    color: #fff;
    outline: 0;
    border-radius: 0 0 2px 0;
    font-size:14px
}

/* 评论前必须登录按钮（品牌橙） */
.comment-signarea {
    text-align: center;
    padding: 30px 20px;
}
.comment-signarea h3 {
    margin-bottom: 16px;
    font-size: 16px;
}
.comment-login-btn {
    display: inline-block;
    background: var(--tb--main);
    color: #fff !important;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    transition: opacity .2s;
}
.comment-login-btn:hover {
    opacity: .9;
    color: #fff !important;
    text-decoration: none;
}

/* 2.10.211 评论区登录入口提示条 */
.comt-login-tip {
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    background: #fff8f6;
    border-bottom: 1px solid #f0f0f1;
}
.comt-login-tip a.qzxx-comment-login {
    color: var(--tb--main);
    text-decoration: underline;
}
.comt-login-tip a.qzxx-comment-login:hover {
    opacity: .9;
}
.darking .comt-login-tip {
    color: #cfcfcf;
    background: #202935;
    border-bottom-color: #333;
}
.must-log-in {
    text-align: center;
    padding: 30px 20px;
    font-size: 16px;
    color: #666;
}
.must-log-in .comment-login-btn {
    margin-left: 10px;
}

.comt-count {
    float: right;
    color: #999;
    margin-bottom:5px
}

.comt-tips {
    text-align: center;
    margin-right: 110px;
    line-height: 116px;
    font-size: 18px;
    color:#fff
}

.comt-tips .comt-tip {
    position: absolute;
    top: -2px;
    left: -2px;
    background: #7ad071;
    right: -2px;
    z-index: 2;
    bottom: -2px;
    border-radius:2px
}

.comt-error {
    background:#ff5e52
}

.comt-comterinfo {
    padding: 15px 0;
    text-align:center
}

.comt-comterinfo ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
    display: flex;
    width: 100%;
    color:#999
}

.comt-comterinfo li {
    flex: 1;
    margin: 0 10px 0 0
}

.comt-comterinfo li:last-child {
    margin-right: 0
}

.comt-comterinfo input {
    margin-right: 0;
    position: relative;
    border: 2px solid #ccd4d9;
    border-radius: 4px;
    height: 36px;
    padding: 4px 12px;
    outline: none;
    width: 100%;
    box-shadow: none;
    * height:20px
}

.darking .comt-comterinfo input {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark);
    color: var(--tb--base)
}

@media (max-width: 544px) {
    .comt-submit {
        font-size:12px
    }

    .comt-comterinfo {
        text-align:left
    }

    .comt-comterinfo ul {
        display:block
    }

    .comt-comterinfo li {
        height: 36px;
        overflow:hidden;
        margin: 0 0 10px
    }

    .comt-comterinfo li:last-child {
        margin-bottom: 0
    }

    .comt-comterinfo input {
        width:100%
    }
}

.postcomments {
    margin-bottom:45px
}

.commentlist {
    padding: 0;
    list-style: none;
    margin:0
}

.comment {
    position: relative;
    padding: 15px 0 15px 52px;
    overflow: hidden;
    border-bottom:1px solid #eee
}

.comment .comments-respond {
    margin-top:30px
}

.comment .comt-avatar {
    width: 42px;
    height: 42px;
    background-color: #fff;
    float: left;
    position: relative;
    margin-left:-52px
}

.comment .comt-avatar .avatar {
    display: block;
    border-radius: 2px;
    width: 42px;
    height:42px
}

.comment .comt-main {
    position: relative;
    margin-right: 50px;
    color: #666;
    font-size: 14px;
    word-wrap:break-word
}

.comment .comt-main p {
    margin-top: 15px;
    margin-bottom:0
}

.comment .comt-author {
    margin-right:10px
}

.comment .url {
    color:#999
}

.comment .url:hover {
    color: #666;
    text-decoration:underline
}

.comment .comt-meta {
    font-size: 12px;
    color: #bbb;
    margin-top:7px
}

/* 评论 IP 归属地：昵称与时间之间 */
.comment .comt-meta .qzxx-region,
.comment-text .meta .qzxx-region {
    font-weight: 400;
    margin: 0 8px
}

.comment .comment-reply-link {
    font-size: 12px;
    color: #bbb;
    display: none;
    margin-left:30px
}

.comment .comment-reply-link:hover {
    color:#666
}

.comment .comt-f {
    position: absolute;
    top: 15px;
    right: 0;
    font-size: 16px;
    color:#bbb
}

.comment .comt-approved {
    border-radius: 2px;
    font-size: 12px;
    background-color: #666;
    color: #fff;
    display: inline-block;
    padding: 2px 3px 1px;
    line-height: 1;
    margin-right:10px
}

.comment .children {
    list-style: none;
    padding:0
}

.comment .children .comment {
    margin: 15px 0 0;
    border-top: 1px solid #eee;
    border-bottom: none;
    padding-bottom:0
}

.comment pre {
    margin: 3px 0 5px;
    padding: 7px 10px;
    border-radius:1px
}

.comment .depth-1 {
    border-bottom:#eee 1px solid
}

.comment .wp-smiley {
    margin-bottom:2px
}

.comment:hover {
    background-color:#f8f8f8
}

.comment:hover .comt-f {
    color:#666
}

.comment:hover .comment-reply-link {
    display:inline-block
}

.darking .comment {
    border-bottom-color:var(--tb--dark)
}

.darking .comment:hover {
    background-color:rgba(0, 0, 0, 0)
}

/* 商品评论区：复用文章评论结构后，按需覆盖 WooCommerce 默认的高权重样式 */
.woocommerce #reviews #comments ol.commentlist li.comment {
    padding: 15px 0 15px 52px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.woocommerce #reviews #comments ol.commentlist li.comment img.avatar {
    position: static;
    float: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    margin: 0;
    background: none;
    border-radius: 2px;
    box-shadow: none;
}

.woocommerce #reviews #comments ol.commentlist .children li.comment {
    margin: 15px 0 0;
    padding-bottom: 0;
    border-top: 1px solid #eee;
    border-bottom: 0;
}

.woocommerce #reviews #comments ol.commentlist ul.children,
.woocommerce #reviews #comments ol.commentlist ol.children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce #reviews #comments ol.commentlist #respond {
    padding: 12px 16px;
    margin: 20px 0 0;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f8f8f8;
}

.woocommerce #reviews #comments ol.commentlist #respond .comment-reply-title {
    display: block;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.woocommerce #reviews #comments ol.commentlist #respond .comment-reply-title > a {
    color: var(--tb--main);
}

.woocommerce #reviews #comments ol.commentlist #respond #cancel-comment-reply-link {
    display: block;
    float: right;
    margin-top: 0;
    font-size: 12px !important;
    text-align: right;
    color: #bbb;
}

.woocommerce #reviews #comments ol.commentlist #respond #cancel-comment-reply-link:hover {
    color: #666;
}

.woocommerce #reviews #comments ol.commentlist #respond .comment-form-comment {
    margin: 0;
}

.woocommerce #reviews #comments ol.commentlist #respond .comment-form-comment label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #999;
}

.woocommerce #reviews #comments ol.commentlist #respond .comment-form-comment label .required {
    color: var(--tb--main);
}

.woocommerce #reviews #comments ol.commentlist #respond textarea {
    width: 100%;
    min-height: 72px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.woocommerce #reviews #comments ol.commentlist #respond textarea:focus {
    border-color: var(--tb--main);
    outline: none;
}

.woocommerce #reviews #comments ol.commentlist #respond .form-submit {
    margin: 10px 0 0;
    text-align: right;
}

.woocommerce #reviews #comments ol.commentlist #respond .form-submit input#submit {
    display: inline-block;
    padding: 6px 18px;
    border: 0;
    border-radius: 3px;
    background-color: var(--tb--main);
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.woocommerce #reviews #comments ol.commentlist #respond .form-submit input#submit:hover {
    background-color: #e8553f;
}

.darking .woocommerce #reviews #comments ol.commentlist #respond {
    background-color: var(--tb--dark);
    border-color: rgba(255, 255, 255, 0.08);
}

.darking .woocommerce #reviews #comments ol.commentlist #respond textarea {
    background-color: var(--tb--bdbg);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.darking .woocommerce #reviews #comments ol.commentlist li.comment {
    border-bottom-color: var(--tb--dark);
}

.darking .woocommerce #reviews #comments ol.commentlist .children li.comment {
    border-top-color: var(--tb--dark);
}

#cancel-comment-reply-link {
    display: none;
    font-size: 12px;
    text-align: center;
    margin-top: 7px;
    color:#999
}

#cancel-comment-reply-link:hover {
    color:#666
}

.comment #cancel-comment-reply-link {
    display:block
}

.comments-pagination {
    margin-top: 15px;
    text-align: center;
    font-size:14px
}

.comments-pagination a, .comments-pagination span {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 2px;
    margin:0 2px
}

.comments-pagination a {
    text-decoration: none;
    background-color: #ddd;
    color: #666;
    opacity:1
}

.comments-pagination span {
    cursor: default;
    color:#aaa
}

.comments-pagination a:hover, .comments-pagination a:focus {
    opacity:.8
}

.comments-pagination .current {
    color: #fff;
    background-color:#aaa
}

.footer {
    clear: both;
    color: var(--tb--tint);
    padding-top: 30px;
    padding-bottom: 45px;
    border-top: 1px solid var(--tb--light);
    margin-top: -5px;
    font-size: 12px;
    text-align: center;
    background-color:var(--tb--bdbg)
}

.footer a {
    color:var(--tb--tint)
}

.footer a:hover {
    color:var(--tb--base)
}

/* 联系页：页脚与上方卡片之间留 17px 间距（其他页面保持原样 -5px） */
.page-template-contact .footer {
    margin-top: 17px
}

@media (max-width: 544px) {
    .footer {
        padding-top: 22.5px;
        padding-bottom:22.5px
    }
}

.flinks {
    margin-bottom:8px
}

.flinks dfn {
    display:none
}

.flinks ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    word-spacing: -1em;
    text-align:center
}

.flinks li {
    margin: 0 7px 7px;
    display: inline-block;
    word-spacing:0
}

.bomnav {
    text-align: center;
    overflow: hidden;
    clear: both;
    margin-bottom:8px
}

.bomnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    word-spacing: -1em;
    text-align:center
}

.bomnav li {
    display: inline-block;
    word-spacing: 0;
    margin:0 7px 7px
}

.rollbar {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 999;
    width: 50px;
    display:none
}

.rollbar .rollbar-item {
    position: relative;
    margin-top: 10px;
    text-align: center;
    height: 50px;
    border-radius: 4px;
    background: rgba(255,255,255,.15);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,.25);
    color: #333;
    opacity: .85;
    cursor: pointer;
    transition:all .3s ease-in-out
}

.rollbar .rollbar-item:hover {
    color: #333;
    opacity:1
}

/* 暗色模式：深色玻璃 */
.darking .rollbar .rollbar-item,
.darking .rollbar .rollbar-item:hover {
    background: rgba(32,41,53,.72);
    border-color: rgba(255,255,255,.08);
    color: var(--tb--base)
}

.darking .rollbar a.rollbar-edit,
.darking .rollbar a.rollbar-edit:hover {
    color: var(--tb--base)
}

.rollbar .rollbar-item .fa {
    line-height: 48px;
    font-size:18px
}

.rollbar a.rollbar-cart,
.rollbar a.rollbar-fav,
.rollbar a.rollbar-copy,
.rollbar a.rollbar-edit,
.rollbar a.rollbar-taobao,
.rollbar a.rollbar-home,
.rollbar a.rollbar-shop,
.rollbar a.rollbar-account {
    display: block;
    text-decoration: none
}

/* 透明玻璃底栏样式（默认） */
.rollbar .rollbar-cart-count {
    background: #FF6651
}

/* 单品页浮动购物车图标：加购成功后的已加购标记色 */
.rollbar a.rollbar-cart.qzxx-marked {
    color: #FF6651
}

.rollbar .rollbar-cart svg,
.rollbar .rollbar-fav svg,
.rollbar .rollbar-copy svg,
.rollbar .rollbar-edit svg,
.rollbar .rollbar-taobao svg,
.rollbar .rollbar-home svg,
.rollbar .rollbar-shop svg,
.rollbar .rollbar-account svg {
    width: 20px;
    height: 20px;
    margin-top: 15px
}

.rollbar a.rollbar-edit {
    color: #666
}

.rollbar a.rollbar-edit:hover {
    color: #FF6651
}

.rollbar a.rollbar-taobao {
    color: #ff5000
}

.rollbar .rollbar-fav.active .fav-star {
    fill: #f5a623;
    stroke: #f5a623
}

.rollbar .rollbar-fav,
.rollbar .rollbar-copy {
    overflow: visible
}

.rollbar .rollbar-copy-tip,
.rollbar .rollbar-fav-tip {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 170px;
    padding: 3px 10px;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease-in-out
}

.rollbar .rollbar-copy-tip.show,
.rollbar .rollbar-fav-tip.show {
    opacity: .9
}

.rollbar .rollbar-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background-color: #f60;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-style: normal;
    box-sizing: border-box
}

.rollbar .rollbar-cart-count.is-zero {
    display: none
}

@media (max-width: 768px) {
    .flinks {
        display:none
    }

    .rollbar {
        right: 10px;
        bottom: calc(50px + env(safe-area-inset-bottom) + 10px)
    }

    html.tb-bar-off .rollbar {
        bottom: 10px
    }

    html.tb-roll-off .rollbar {
        display: none !important
    }
}

/* 手机端底部固定菜单（全宽贴底毛玻璃，圆角交给屏幕本身；默认不显示，手机端媒体查询里开启） */
#tb-bottom-menu {
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    padding: 0;
}

#tb-bottom-menu * {
    box-sizing: border-box;
}

#tb-bottom-menu .tb-btmenu-box {
    display: flex;
    width: 100%;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .28));
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, .55);
    border-bottom: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .6);
}

#tb-bottom-menu .tb-btmenu-link {
    flex: 1;
    min-width: 0;
    height: 44px;
    margin: 0 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    border-radius: 17px;
    color: #1c1c1e;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

#tb-bottom-menu .tb-btmenu-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

#tb-bottom-menu .tb-btmenu-title {
    font-size: 10px;
    line-height: 1.1;
}

#tb-bottom-menu .tb-btmenu-link:active {
    background-color: rgba(0, 0, 0, .08);
}

/* 当前项：浅色圆角块 + 强调色（仅图标与文字上色） */
#tb-bottom-menu .tb-btmenu-link.is-active {
    background-color: rgba(0, 0, 0, .05);
    color: #ff6651;
}

/* 暗色模式：深色玻璃胶囊底栏 */
.darking #tb-bottom-menu .tb-btmenu-box {
    background: linear-gradient(135deg, rgba(40, 50, 64, .62), rgba(24, 31, 42, .42));
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.darking #tb-bottom-menu .tb-btmenu-link {
    color: var(--tb--base);
}

.darking #tb-bottom-menu .tb-btmenu-link:active {
    background-color: rgba(255, 255, 255, .06);
}

.darking #tb-bottom-menu .tb-btmenu-link.is-active {
    background-color: rgba(255, 255, 255, .08);
    color: #ff6651;
}

/* 抽屉内底栏开关：桌面端不显示 */
.tb-btswitch {
    display: none;
}

/* 用户手动关闭底栏（header 内联脚本在渲染前置此类，防闪烁） */
html.tb-bar-off #tb-bottom-menu {
    display: none !important;
}

@media (max-width: 767px) {
    #tb-bottom-menu {
        display: block;
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    }

    html.tb-bar-off body {
        padding-bottom: 0 !important;
    }

    /* 开关位于抽屉菜单顶部（上下结构避免横向挤压） */
    .tb-btswitch {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 3px;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        height: 60px;
        padding-left: 15px;
        background-color: transparent;
        border-bottom: 1px solid rgba(0, 0, 0, .06);
    }

    /* 第二个开关（侧栏）位于底栏开关正下方，同尺寸对齐 */
    .tb-rbswitch {
        top: 140px;
    }

    /* 开关占位后，菜单列表整体下移：768 断点两个开关各占 60px */
    .sitenav > ul {
        top: 200px;
    }

    .darking .tb-btswitch {
        background-color: transparent;
        border-bottom-color: rgba(255, 255, 255, .08);
    }

    .tb-btswitch > span {
        font-size: 12px;
        line-height: 1;
        color: #333;
    }

    .darking .tb-btswitch > span {
        color: var(--tb--base);
    }

    .tb-btswitch-toggle {
        width: 38px;
        height: 22px;
        flex: none;
        margin-left: -4px;
        position: relative;
        top: 3px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background-color: #d1d1d6;
        transition: background-color .2s;
    }

    .tb-btswitch-toggle i {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
        transition: left .2s;
    }

    .tb-btswitch-toggle.on {
        background-color: #34c759;
    }

    .tb-btswitch-toggle.on i {
        left: 18px;
    }
}

@media (max-width: 544px) {
    /* 544 断点抽屉 ul top 原为 50px，开关占位 60px */
    .tb-btswitch {
        top: 50px;
    }

    .tb-rbswitch {
        top: 110px;
    }

    .sitenav > ul {
        top: 170px;
    }
}

.woocommerce-breadcrumb {
    display:none
}

.woocommerce-result-count {
    display:none
}

.woocommerce #respond input#submit, .woocommerce button.button, .woocommerce input.button {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: normal;
    border-radius:4px
}

.woocommerce a.button{
    padding: 8px 10px;
    font-size: 13px;
    font-weight: normal;
    border-radius:4px
}

.darking .woocommerce #respond input#submit, .darking .woocommerce a.button:not(.view):not(.view_warranty):not(.confirm-order):not(.request_warranty):not(.add_to_cart_button), .darking .woocommerce button.button, .darking .woocommerce input.button,
.darking .woocommerce #respond input#submit.alt, .darking .woocommerce a.button.alt, .darking .woocommerce button.button.alt, .darking .woocommerce input.button.alt {
    opacity:.8;
    /* 暗夜模式：橙底白字，保持品牌按钮风格 */
    color: #fff !important
}

.darking .woocommerce #respond input#submit:hover, .darking .woocommerce a.button:hover, .darking .woocommerce button.button:hover, .darking .woocommerce input.button:hover,
.darking .woocommerce #respond input#submit.alt:hover, .darking .woocommerce a.button.alt:hover, .darking .woocommerce button.button.alt:hover, .darking .woocommerce input.button.alt:hover {
    color: #fff !important
}

/* 暗夜模式：商店页「加入购物车」按钮红底白字加粗（订单操作按钮、列表加购两态按钮除外，保持日间配色） */
.darking .woocommerce a.button:not(.view):not(.view_warranty):not(.confirm-order):not(.request_warranty):not(.add_to_cart_button) {
    background-color: #ff6651 !important;
    color: #fff !important;
    font-weight: bold
}

/* 暗夜模式：WooCommerce 提示信息文字改白 */
.darking .woocommerce-info {
    color: #fff
}

/* 暗夜模式：结账页订单表产品名称改白 */
.darking .woocommerce-checkout-review-order-table .product-name,
.darking .woocommerce-checkout-review-order-table .product-name a,
.darking .cqoc_product_name a {
    color: #fff !important
}

/* 暗夜模式：订单表移除按钮 X 改红色，悬停白字 */
.darking .woocommerce-checkout-review-order-table .product-name .cqoc_remove_btn,
.darking .cqoc_remove_btn {
    color: #ff6651 !important
}
.darking .woocommerce-checkout-review-order-table .product-name .cqoc_remove_btn:hover,
.darking .cqoc_remove_btn:hover {
    color: #fff !important
}

/* 暗夜模式：商品详情页当前标签文字改品牌橙 */
.darking .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #ff6651
}

/* 暗夜模式：售后申请表单标签改品牌橙 */
.darking .wfb-field-div label {
    color: #ff6651 !important
}

/* 暗夜模式：售后申请表单的文件上传框改深底浅字（仅文件框，其它输入框不动） */
.darking .wfb-field-div input[type="file"] {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.22);
    color: #e8e8e8
}
.darking .wfb-field-div input[type="file"]::file-selector-button {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 4px;
    color: #e8e8e8;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px
}
.darking .wfb-field-div input[type="file"]::file-selector-button:hover {
    background: rgba(255,255,255,.24);
    color: #fff
}

/* 售后快递表单：「发给小熊快递」与输入框上下居中；暗夜模式标签改浅色 */
table.warranty-tracking-form-table td {
    vertical-align: middle
}
/* 售后快递表单「添加」按钮高度，文字上下居中 */
table.warranty-tracking-form-table input[type="submit"] {
    height: 37px;
    line-height: 35px;
    padding-top: 0;
    padding-bottom: 0
}
.darking table.warranty-tracking-form-table .tracking-form-title,
.darking table.warranty-tracking-form-table .tracking-form-title label {
    color: #e8e8e8
}

/* 暗夜模式：售后表格文字改白（售后单号、退换货商品） */
.darking .warranty-info-table th,
.darking .warranty-info-cell strong,
.darking .warranty-products-table th,
.darking .warranty-products-table td,
.darking .warranty-products-table td a {
    color: #fff !important
}

/* 结账页运费说明：浅色模式红色，暗夜模式改用品牌橙（深底红字对比度不足） */
.woocommerce .qzxx-shipping-notice {
    font-weight: normal !important;
    color: #ff6651
}
.darking .woocommerce .qzxx-shipping-notice {
    color: #ff6651
}

/* 加入购物车后「查看购物车」链接：暗夜模式改深底橙字，避免浅灰底+红字在深底页面刺眼 */
.darking .article-content .added_to_cart {
    background-color: var(--tb--dark);
    color: #ff6651
}

.woocommerce-products-header {
    float: left;
    margin:20px 0
}

.woocommerce-products-header h1 {
    margin:0
}

.woocommerce .woocommerce-ordering {
    margin:25px 0 0
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius:4px
}

.darking .woocommerce .woocommerce-ordering select {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.woocommerce ul.products li.product {
    text-align:center
}

.woocommerce ul.products li.product .added_to_cart {
    margin-left:15px
}

.woocommerce ul.products li.product a img {
    border-radius: 6px;
    margin-bottom:5px
}

.woocommerce span.onsale {
    background-color: #5cb85c;
    padding:6px
}

.woocommerce ul.products li.product .onsale {
    margin:-10px -10px 0 0
}

.woocommerce ul.products li.product .price {
    color: #5cb85c;
    font-size:14px
}

.woocommerce ul.products li.product .price del {
    margin-right:10px
}

.woocommerce ul.products li.product .price ins {
    text-decoration:none
}

.woocommerce-cart .content {
    margin-right:0 !important
}

.woocommerce-cart .sidebar {
    display:none !important
}

.woocommerce-cart .article-meta {
    display:none
}

.woocommerce-cart .article-actions {
    display:none
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width:100%
}

.woocommerce-account .content {
    margin-right:0 !important
}

/* 账户页放开 article-content 的 overflow:hidden（祖先带 overflow 会使导航条 position:sticky 失效） */
.account-page-content {
    overflow: visible;
}

.woocommerce-account .sidebar {
    display:none !important
}

.woocommerce-account .article-meta {
    display:none
}

.woocommerce-account .article-actions {
    display:none
}

.woocommerce-account .woocommerce {
    padding-left:0
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    margin: 0 0 15px;
    background-color: #f7f6f7;
    border-radius: 4px;
}

.darking .woocommerce-account .woocommerce-MyAccount-navigation {
    background-color:var(--tb--dark)
}

/* 电脑端导航横向标签栏（与手机端统一样式） */
.darking .woocommerce-account .woocommerce-MyAccount-navigation a {
    color: rgba(255,255,255,0.7);
}

.darking .woocommerce-account .woocommerce-MyAccount-navigation .is-active {
    background-color: rgba(255,255,255,0.15);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 4px;
    list-style: none;
    font-size:17px;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active {
    background-color:#303841
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    color:#fff
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    height: 48px;
    line-height: 48px;
    padding: 0;
    text-align:center;
    text-decoration: none;
    color:var(--tb--base)
}

/* 账户导航随滚动吸顶（全端生效；站点头部非固定，登录时避开管理条） */
.woocommerce-account .woocommerce-MyAccount-navigation {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.admin-bar .woocommerce-account .woocommerce-MyAccount-navigation {
    top: 46px;
}

/* 手机端站点头部固定(80px)：吸顶位置落到头部下方，避免被盖住 */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        top: 80px;
    }
}

@media (min-width: 783px) {
    body.admin-bar .woocommerce-account .woocommerce-MyAccount-navigation {
        top: 32px;
    }
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    font-size:16px
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
    margin-top:20px
}

.woocommerce-account .woocommerce-MyAccount-content legend {
    font-weight:bold
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding:8px 12px
}

.darking .woocommerce form .form-row input.input-text, .darking .woocommerce form .form-row textarea {
    border-color: #3a4556;
    background-color:var(--tb--dark)
}

/* 暗夜模式：表单 select 下拉框与 input 保持一致的深色背景，避免白底浅字看不清 */
.darking .woocommerce form .form-row select,
.darking .woocommerce form select {
    border-color: #3a4556;
    background-color: var(--tb--dark);
    color: var(--tb--base)
}

.darking .woocommerce form .form-row select option,
.darking .woocommerce form select option {
    background-color: var(--tb--dark);
    color: var(--tb--base)
}

/* 暗夜模式：覆盖所有 WooCommerce 文本输入框（不限 .input-text 类），统一深底浅字 */
.darking .woocommerce input[type="text"],
.darking .woocommerce input[type="email"],
.darking .woocommerce input[type="tel"],
.darking .woocommerce input[type="url"],
.darking .woocommerce input[type="password"],
.darking .woocommerce input[type="search"],
.darking .woocommerce input[type="number"],
.darking .woocommerce textarea:not(.comt-area),
.darking .woocommerce select {
    background-color: var(--tb--dark);
    border-color: #3a4556;
    color: var(--tb--base)
}
/* 暗夜模式：输入框聚焦时边框变白色 */
.darking .woocommerce input[type="text"]:focus,
.darking .woocommerce input[type="email"]:focus,
.darking .woocommerce input[type="tel"]:focus,
.darking .woocommerce input[type="url"]:focus,
.darking .woocommerce input[type="password"]:focus,
.darking .woocommerce input[type="search"]:focus,
.darking .woocommerce input[type="number"]:focus,
.darking .woocommerce textarea:not(.comt-area):focus,
.darking .woocommerce select:focus {
    border-color: #ffffff;
    outline: none
}

.woocommerce-form-row em {
    color:#999
}

/* 登录/注册页：左侧"登录"标题与右侧选项卡栏等高，使下方表单标签对齐 */
.woocommerce-account article.article-content {
    margin-top: 0;
}
#customer_login > .u-column1 > h2 {
    height: 50px;
    padding: 0;
    line-height: 50px;
    margin-bottom: 0;
    text-align: center;
    border-bottom: 2px solid #eee;
    font-weight: bold;
    color: #333;
}
/* 默认左侧登录激活：左侧标题线橙、文字橙 */
#customer_login > .u-column1 > h2 {
    border-bottom-color: #ff6651;
    color: #ff6651;
}
/* 右列聚焦/标签点击：右侧标签线橙、左侧标题线灰、文字灰 */
#customer_login.qzxx-focus-right > .u-column1 > h2 {
    border-bottom-color: #eee;
    color: #333;
}
.qzxx-login-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 0;
}
/* 消除标题/选项卡与表单之间的大空白 */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.woocommerce-form-track-order {
    margin: 1rem 0;
}
/* 登录表单："忘记密码"移至按钮行右侧 */
.woocommerce-form-login > .form-row:not(.form-row-wide) {
    display: block;
}
.woocommerce-form-login > .form-row:not(.form-row-wide) .woocommerce-form-login__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    height: 36px;
    box-sizing: border-box;
}
.woocommerce-form-login > .form-row:not(.form-row-wide) .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    height: 36px;
    box-sizing: border-box;
    margin-right: 1rem;
}
.woocommerce-form-login > .form-row:not(.form-row-wide) .woocommerce-form-login__rememberme input {
    margin: 0 4px 0 0;
}
.woocommerce-form-login > .form-row:not(.form-row-wide) .lost_password {
    float: right;
    line-height: 36px;
    margin-bottom: 0;
}
/* 手机端：两列堆叠，收紧表单上下边距 */
@media (max-width: 768px) {
    .woocommerce form.login,
    .woocommerce form.register,
    .woocommerce form.woocommerce-form-track-order {
        margin: 0.5rem 0;
    }
}
.qzxx-login-tab {
    flex: 1;
    height: 50px;
    padding: 0;
    line-height: 50px;
    border: none;
    background: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
    appearance: none;
    -webkit-appearance: none;
}
.qzxx-login-tab:hover {
    color: #ff6651;
}
.qzxx-login-tab.active {
    color: #333;
    border-bottom-color: #eee;
    font-weight: bold;
}
#customer_login.qzxx-focus-right .qzxx-login-tab.active {
    color: #ff6651;
    border-bottom-color: #ff6651;
}
.darking .qzxx-login-tabs {
    border-bottom-color: #333;
}
.darking #customer_login > .u-column1 > h2 {
    border-bottom-color: #fff;
    color: #fff;
}
.darking #customer_login .qzxx-login-tab.active {
    border-bottom-color: #333;
    color: #aaa;
}
.darking #customer_login.qzxx-focus-right > .u-column1 > h2 {
    border-bottom-color: #333;
    color: #aaa;
}
.darking #customer_login.qzxx-focus-right .qzxx-login-tab.active {
    border-bottom-color: #fff;
    color: #fff;
}
.darking .qzxx-login-tab {
    color: #aaa;
}
.darking .qzxx-login-tab.active {
    color: #aaa;
}
/* 手机端：选项卡固定高度 */
@media (max-width: 768px) {
    .qzxx-login-tab {
        height: 44px;
        padding: 0;
        line-height: 44px;
    }
}

/* 游客查单表单：与注册表单保持一致的边框样式 */
.woocommerce form.woocommerce-form-track-order {
    border: 1px solid #d3ced2;
    padding: 20px;
    text-align: left;
    border-radius: 5px;
}
.darking .woocommerce form.woocommerce-form-track-order {
    border-color: var(--tb--dark);
}

.select2-container--default .select2-selection--single {
    border:1px solid #ddd
}

.select2-container .select2-selection--single {
    height:37px
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:35px
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right:5px
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left:12px
}

.select2-dropdown {
    border-color:#ddd
}

/* 移动端我的账户导航 - 方案A 横向标签栏 */
@media (max-width: 768px) {
    .woocommerce-account .article-header {
        display:none
    }

    .woocommerce-account .woocommerce {
        padding-left:0
    }

    /* 统一导航栏：小屏整行等宽，可横向滚动（隐藏滚动条） */
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }
}

/* 电脑端：隐藏消息预览，只显示气泡 */
.woocommerce-account .omw-msg-mobile { display: none; }

/* 购物车删除按钮：桌面端只显示垃圾桶图标，手机端显示「🗑 删除商品」 */
.woocommerce-cart .product-remove {
    text-align: center;
    vertical-align: middle;
}
.woocommerce-cart .product-remove .remove {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    font-size: 0;
    color: transparent !important;
    background: none !important;
    border-radius: 0;
    line-height: 1;
}
.woocommerce-cart .product-remove .remove::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: #ff6651;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z'/%3E%3C/svg%3E") no-repeat center / contain;
    vertical-align: middle;
}
.woocommerce-cart .product-remove .remove:hover::before {
    background-color: #e55a46;
}

/* 结算页商品删除按钮：square-x SVG 图标 */
.woocommerce-checkout .cqoc_remove_btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    font-size: 0 !important;
    margin: 0 12px 0 0 !important;
}
.woocommerce-checkout .cqoc_remove_btn::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: #ff6651;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.woocommerce-checkout .cqoc_remove_btn:hover::before {
    background-color: #ff6651;
}
/* 结算页数量减号按钮：悬浮黑灰底白字 */
.woocommerce-checkout .cqoc_minus:hover {
    background-color: #555 !important;
    color: #fff !important;
}

/* 暗夜模式：账号中心三张表格行底色（电脑端生效；手机端由下方媒体查询的卡片规则接管） */
.darking .woocommerce-account .account-orders-table tbody tr,
.darking .woocommerce-account .woocommerce-table--order-downloads tbody tr,
.darking .woocommerce-account .account-social-media-account-table tbody tr {
    background: #2e3a47;
}
.darking .woocommerce-account .qzxx-order-status.status-refunded {
    color: #cfd6de;
}

/* 暗夜模式：结算页收货地址卡片（内联样式需 !important 覆盖） */
.darking .wc-address-card {
    background: #2e3a47 !important;
}
.darking .wc-address-card:not(.wc-default-card) strong {
    color: #dddddd !important;
}
.darking .wc-address-card:not(.wc-default-card) span,
.darking .wc-address-card:not(.wc-default-card) div {
    color: #a9b2bd !important;
}

/* 暗夜模式：结算页历史地址弹窗（内联样式需 !important 覆盖） */
.darking #history-modal {
    background: #2e3a47 !important;
    border-color: #3a4556 !important;
    color: #dddddd;
}
.darking #history-modal > div:first-child {
    color: #dddddd;
}
.darking #history-modal .history-item {
    background: #333f4d !important;
    border-color: #3a4556 !important;
}
.darking #history-modal .history-item b {
    color: #dddddd;
}
.darking #history-modal .history-item > span:not([data-del]) {
    color: #a9b2bd !important;
}
.darking #history-modal .history-item [data-del] {
    color: #ff7b7b !important;
}
.darking #history-modal #close-history {
    background: #3a4556 !important;
    border-color: #3a4556 !important;
    color: #dddddd !important;
}

/* 暗夜模式：购物车删除按钮圈叉变白 */
.darking .woocommerce-cart .product-remove .remove::before {
    background-color: #ffffff;
}
.darking .woocommerce-cart .product-remove .remove:hover::before {
    background-color: #d0d0d0;
}

/* 地址自动识别小链接（原内联样式改 class，两种模式统一管理） */
.addr-helper-link {
    font-size: 16px;
    cursor: pointer;
    color: #777;
}
.addr-helper-link:hover {
    color: #ff6651;
}

/* 暗夜模式：结账页 */
.darking form.checkout h3,
.darking #order_review_heading {
    color: #ffffff;
}
.darking .addr-helper-link {
    color: #a9b2bd;
}
.darking .woocommerce-checkout-review-order-table {
    color: #dddddd;
}
.darking .woocommerce-checkout-review-order-table th,
.darking .woocommerce-checkout-review-order-table td {
    border-color: #3a4556;
}
.darking #shipping_method label,
.darking .wc_payment_methods > li > label {
    color: #dddddd;
}
.darking .wc_payment_methods > li {
    border-color: #3a4556;
}
.darking div.payment_box {
    background: #202935;
    color: #dddddd;
}
.darking div.payment_box::before {
    border-bottom-color: #202935;
}
.darking ul.wc_payment_methods li.wc_payment_method {
    background: #252e3a;
    border-color: #3a4556;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.darking ul.wc_payment_methods li.wc_payment_method:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.darking ul.wc_payment_methods li.wc_payment_method.active {
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.darking .qzxx-pay-group-title {
    color: #a9b2bd;
}
.darking ul.wc_payment_methods li.wc_payment_method .payment_box,
.darking ul.wc_payment_methods li.wc_payment_method .payment_box p {
    color: #888888;
}

/* 订单详情页顶部信息条 */
.woocommerce-MyAccount-content > p {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #666;
}
.woocommerce-MyAccount-content > p mark {
    background: transparent;
    color: inherit;
    padding: 0;
}
.woocommerce-MyAccount-content > p mark.order-number {
    color: #ff6651;
    font-weight: 700;
    font-size: 16px;
}
.woocommerce-MyAccount-content > p mark.order-date {
    color: #888;
}
.woocommerce-MyAccount-content > p mark.order-status {
    color: #ff6651;
    font-weight: 700;
}

/* 订单详情页（view-order）暗夜适配 */
.darking .woocommerce-MyAccount-content > p {
    background: #202935;
    color: #a9b2bd;
}

.darking .woocommerce-MyAccount-content > p mark {
    background: transparent;
}

.darking .woocommerce-MyAccount-content > p mark.order-number,
.darking .woocommerce-MyAccount-content > p mark.order-status {
    color: #ff6651;
}

.darking .woocommerce-MyAccount-content > p mark.order-date {
    color: #888;
}

.darking .messages-history {
    background: #202935 !important;
    border-color: #3a4556 !important;
}

.darking .message-item[style*="text-align: left"] > div {
    background: #2e3a47 !important;
    border-color: #3a4556 !important;
}

/* 暗夜：我方气泡用中灰与深底区分（覆盖内联浅灰底/深灰字），正文白字、署名淡白 */
.darking .message-item[style*="text-align: right"] > div {
    background: #3a4556 !important;
    border-color: #45516a !important;
}
.darking .message-item[style*="text-align: right"] > div > div:last-child {
    color: #ffffff !important;
}
.darking .message-item[style*="text-align: right"] > div > div:first-child {
    color: rgba(255,255,255,0.55) !important;
}

.darking .message-item div[style*="color: #666"],
.darking .customer-message-form div[style*="color: #666"] {
    color: #a9b2bd !important;
}

.darking .customer-message-form textarea {
    background: #202935 !important;
    border-color: #3a4556 !important;
    color: #dddddd !important;
}

.darking .woocommerce-order-details .shop_table,
.darking .logistics_details {
    border-color: #3a4556 !important;
}

.darking .woocommerce-order-details th,
.darking .woocommerce-order-details td,
.darking .logistics_details th,
.darking .logistics_details td {
    border-color: #3a4556 !important;
    color: #dddddd;
}

.darking .logistics_details a[style*="#0066cc"] {
    color: #ff6651 !important;
}

.darking .logistics_details p {
    color: #a9b2bd !important;
}

/* 移动端订单表格适配 */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 0 10px;
    }

    /* 购物车删除按钮：手机端显示「🗑 删除商品」 */
    .woocommerce-cart .product-remove .remove {
        font-size: 13px;
        color: #ff6651 !important;
        white-space: nowrap;
    }

    /* 手机端去结算按钮高度42px */
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        height: 42px;
        line-height: 42px;
        padding: 0;
        font-size: 16px;
    }
    .woocommerce-cart .product-remove .remove::before {
        content: "🗑";
        display: inline-block;
        margin-right: 4px;
        font-size: 14px;
        width: auto;
        height: auto;
        background: none;
        -webkit-mask: none;
        mask: none;
    }

    .woocommerce-account .account-orders-table {
        font-size: 13px;
    }

    /* 每个订单作为独立卡片 */
    .woocommerce-account .account-orders-table {
        border: none;
    }
    .woocommerce-account .account-orders-table tbody tr {
        display: block;
        background: #fff;
        border: none;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 10px 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .woocommerce-account .account-orders-table tbody tr:last-child {
        margin-bottom: 0;
    }

    /* 暗夜模式：订单卡片深色底 #2e3a47 */
    .darking .woocommerce-account .account-orders-table tbody tr {
        background: #2e3a47;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    .darking .woocommerce-account .qzxx-order-status.status-refunded {
        color: #cfd6de;
    }

    /* 下载列表同样卡片化 */
    .woocommerce-account .woocommerce-table--order-downloads {
        border: none;
    }
    .woocommerce-account .woocommerce-table--order-downloads tbody tr {
        display: block;
        background: #fff;
        border: none;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 10px 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .woocommerce-account .woocommerce-table--order-downloads tbody tr:last-child {
        margin-bottom: 0;
    }
    .woocommerce-account .woocommerce-table--order-downloads th,
    .woocommerce-account .woocommerce-table--order-downloads td {
        padding: 6px 0;
        border: none;
        display: block;
        text-align: right;
    }

    /* 暗夜模式：下载卡片深色底 #2e3a47 */
    .darking .woocommerce-account .woocommerce-table--order-downloads tbody tr {
        background: #2e3a47;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    /* 合作登录帐号列表同样卡片化 */
    .woocommerce-account .account-social-media-account-table {
        border: none;
    }
    .woocommerce-account .account-social-media-account-table tbody tr {
        display: block;
        background: #fff;
        border: none;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 10px 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .woocommerce-account .account-social-media-account-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .woocommerce-account .account-social-media-account-table th,
    .woocommerce-account .account-social-media-account-table td {
        padding: 6px 0;
        border: none;
        display: block;
        text-align: right;
    }

    /* 暗夜模式：合作登录帐号卡片深色底 #2e3a47 */
    .darking .woocommerce-account .account-social-media-account-table tbody tr {
        background: #2e3a47;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    .woocommerce-account .account-orders-table th,
    .woocommerce-account .account-orders-table td {
        padding: 6px 0;
        border: none;
        display: block;
        text-align: right;
    }

    /* 手机端显示订单号（WooCommerce 响应式表格默认隐藏 tbody th） */
    .woocommerce-account table.account-orders-table tbody tr th.woocommerce-orders-table__cell-order-number {
        display: block;
        border: none;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-number a {
        color: #ff6651;
        font-weight: bold;
        font-size: 14px;
    }
    .darking .woocommerce-account .account-orders-table th {
        background-color: transparent;
    }

    .woocommerce-account .woocommerce-orders-table__cell-order-actions {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        text-align: right !important;
    }
    .woocommerce-account .woocommerce-orders-table__cell-order-actions::before {
        display: none !important;
    }

    /* 手机端：状态下方显示「已购商品」明细 */
    .woocommerce-account table.account-orders-table tbody tr td.woocommerce-orders-table__cell-qzxx-items {
        display: block !important;
        text-align: left !important;
        padding: 2px 0 6px;
    }
    .woocommerce-account table.account-orders-table tbody tr td.woocommerce-orders-table__cell-qzxx-items::before {
        display: none;
    }
    .woocommerce-account .account-orders-table .qzxx-order-items {
        margin: 0;
        padding: 0 0 0 10px;
        list-style: none;
        font-size: 13px;
        line-height: 1.8;
        color: #555;
    }
    .woocommerce-account .account-orders-table .qzxx-order-item-qty,
    .woocommerce-account .account-orders-table .qzxx-order-item-price {
        color: #999;
        margin-left: 6px;
        font-size: 12px;
    }
    .darking .woocommerce-account .account-orders-table .qzxx-order-items {
        color: #dddddd;
    }
    .darking .woocommerce-account .account-orders-table .qzxx-order-item-qty,
    .darking .woocommerce-account .account-orders-table .qzxx-order-item-price {
        color: #a9b2bd;
    }

    /* 手机端：无消息的订单隐藏「消息」行 */
    .woocommerce-account .woocommerce-orders-table__cell-order-message-states:has(.omw-empty-msg) {
        display: none;
    }

    /* 手机端：隐藏 WooCommerce 表格自带的「消息: 」行标签，「消息：」改由下方消息栏内输出（无留言时不显示） */
    .woocommerce-account .woocommerce-orders-table__cell-order-message-states::before {
        display: none;
    }

    /* 手机端：物流信息居中显示 */
    .woocommerce-account .omw-logistics-line {
        text-align: center;
    }

    /* 手机端：物流分隔线两侧外扩 8px（抵消 td 的 4px 8px 内边距），与上方表格线等宽 */
    .woocommerce-account .omw-logistics-line.omw-logistics-sep {
        margin-left: -8px;
        margin-right: -8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* 手机端：隐藏数字气泡，显示消息预览 */
    .woocommerce-account .woocommerce-orders-table__cell-order-message-states {
        vertical-align: middle;
    }
    .woocommerce-account .omw-bubble-desktop { display: none !important; }
    .woocommerce-account .omw-msg-mobile {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        text-decoration: none;
        color: #ff6651;
        font-size: 14px;
        line-height: 1;
        gap: 4px;
        overflow: hidden;
        height: 26px;
    }
    .woocommerce-account .omw-msg-mobile .omw-msg-mobile-label {
        flex-shrink: 0;
        font-size: 14px;
        color: #333;
        white-space: nowrap;
        order: 0;
    }
    .darking .woocommerce-account .omw-msg-mobile .omw-msg-mobile-label {
        color: #dddddd;
    }
    .woocommerce-account .omw-msg-mobile .omw-msg-text {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #ff6651;
        max-width: 60%;
        order: 2;
    }
    .woocommerce-account .omw-msg-mobile .omw-msg-time {
        display: block;
        font-size: 14px;
        color: #ff6651;
        white-space: nowrap;
        order: 1;
    }
    .woocommerce-account .omw-msg-mobile.omw-mobile-unread .omw-msg-text {
        font-weight: bold;
    }
}

/* 订单合计：已退金额红字（品牌橙，两端通用） */
.woocommerce-account .qzxx-order-refunded {
    color: #ff6651;
}

/* 账户导航「订单」未读红点（商家新回复） */
.woocommerce-MyAccount-navigation .qzxx-nav-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6651;
    margin-left: 6px;
}

/* 订单列表顶部未读回复提醒条 */
.omw-unread-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff7f5;
    border: 1px solid #ffd9d2;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 15px;
    font-size: 13px;
    color: #666;
}
.omw-unread-banner-text {
    font-weight: 600;
    color: #333;
}
.omw-unread-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 0;
}
.omw-unread-order {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 11px;
    background: #ff6651;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.omw-unread-time {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}
.omw-unread-msg {
    color: #555;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 340px;
}
.darking .omw-unread-banner {
    background: rgba(255,102,81,0.12);
    border-color: rgba(255,102,81,0.35);
    color: #a9b2bd;
}
.darking .omw-unread-banner-text {
    color: #fff;
}
.darking .omw-unread-time {
    color: #a9b2bd;
}
.darking .omw-unread-msg {
    color: #dddddd;
}

/* 订单卡片：气泡后跟最后商家回复时间+内容（电脑端，手机端由 omw-msg-mobile 呈现） */
.woocommerce-account .omw-msg-preview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
    margin-left: 10px;
    text-decoration: none;
    min-width: 0;
    max-width: calc(100% - 140px);
}
.woocommerce-account .omw-msg-preview .omw-msg-preview-time {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}
.woocommerce-account .omw-msg-preview .omw-msg-preview-text {
    color: #555;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.darking .woocommerce-account .omw-msg-preview .omw-msg-preview-time {
    color: #a9b2bd;
}
.darking .woocommerce-account .omw-msg-preview .omw-msg-preview-text {
    color: #dddddd;
}

/* 订单列表消息列：最新物流动态行（泡泡上方，有本地缓存才显示；时间+状态+内容整段排列，换行与时间对齐） */
.woocommerce-account .omw-logistics-line {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.woocommerce-account .omw-logistics-line .omw-logistics-status {
    font-weight: 600;
    color: #ff6651;
    margin-right: 6px;
}
.woocommerce-account .omw-logistics-line .omw-logistics-text-mobile {
    display: none;
}
/* 物流行与消息之间：实线分隔（比商品明细上方虚线深一档，仅下方有留言时输出 sep 类） */
.woocommerce-account .omw-logistics-line.omw-logistics-sep {
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.darking .woocommerce-account .omw-logistics-line.omw-logistics-sep {
    border-bottom-color: #3a4556;
}
@media (max-width: 768px) {
    .woocommerce-account .omw-logistics-line .omw-logistics-text {
        display: none;
    }
    .woocommerce-account .omw-logistics-line .omw-logistics-text-mobile {
        display: inline;
    }
}
.darking .woocommerce-account .omw-logistics-line {
    color: #dddddd;
}
@media (max-width: 768px) {
    .woocommerce-account .omw-msg-preview,
    .woocommerce-account .omw-msg-label {
        display: none !important;
    }
}

/* 桌面端订单列表卡片化（与手机端统一），卡片内含购买商品信息 */
@media (min-width: 769px) {
    .woocommerce-account .account-orders-table {
        border: none;
        background: transparent;
        box-shadow: none;
    }
    .woocommerce-account .account-orders-table thead {
        display: none;
    }
    /* 去掉商城默认给单元格加的顶边框（每个字段上方的小横线） */
    .woocommerce-account table.account-orders-table th,
    .woocommerce-account table.account-orders-table td,
    .woocommerce-account table.account-orders-table tbody tr th {
        border: none;
    }
    .woocommerce-account .account-orders-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 12px;
        row-gap: 6px;
        background: #fff;
        border: none;
        border-radius: 8px;
        margin-bottom: 14px;
        padding: 16px 20px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .woocommerce-account .account-orders-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.10);
    }
    .woocommerce-account .account-orders-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .woocommerce-account .account-orders-table th,
    .woocommerce-account .account-orders-table td {
        display: block;
        padding: 0;
        border: none;
        background: transparent;
        text-align: left;
    }
    .woocommerce-account .account-orders-table tbody tr td:empty {
        display: none;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-date {
        order: 1;
        color: #888;
        font-size: 13px;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-number {
        order: 2;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-number a {
        color: #ff6651;
        font-weight: bold;
        font-size: 14px;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-total {
        order: 3;
        margin-left: auto;
        text-align: right;
        font-size: 14px;
        font-weight: 600;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-status {
        order: 4;
        text-align: right;
    }
    /* 商品明细占卡片主体，避免大片留白 */
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-qzxx-items {
        order: 5;
        flex: 1 1 100%;
    }
    .woocommerce-account .account-orders-table .qzxx-order-items {
        margin: 4px 0 0;
        padding: 8px 0 0;
        list-style: none;
        font-size: 13px;
        line-height: 1.9;
        color: #555;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    .woocommerce-account .account-orders-table .qzxx-order-item-qty {
        color: #999;
        margin-left: 6px;
        font-size: 12px;
    }
    .woocommerce-account .account-orders-table .qzxx-order-item-price {
        color: #999;
        margin-left: 6px;
        font-size: 12px;
    }
    .darking .woocommerce-account .account-orders-table th {
        background-color: transparent;
    }
    .darking .woocommerce-account .account-orders-table .qzxx-order-items {
        color: #dddddd;
    }
    .darking .woocommerce-account .account-orders-table .qzxx-order-item-qty,
    .darking .woocommerce-account .account-orders-table .qzxx-order-item-price {
        color: #a9b2bd;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-message-states {
        order: 6;
        flex: 1 1 100%;
    }
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-actions {
        order: 7;
        flex: 1 1 100%;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }
    /* 恢复商品明细与下方内容之间的分隔线 */
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-message-states,
    .woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-actions {
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    /* 暗夜模式：桌面订单卡片阴影加深（底色由上方全局规则提供 #2e3a47） */
    .darking .woocommerce-account .account-orders-table tbody tr {
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    .darking .woocommerce-account .account-orders-table tbody tr:hover {
        box-shadow: 0 6px 16px rgba(0,0,0,0.45);
    }
}

/* 订单操作按钮样式（电脑端+手机端通用） */
.woocommerce-account .woocommerce-orders-table__cell-order-actions {
    text-align: right;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    display: inline-block;
    margin: 2px;
    border: none;
}

/* 订单列表分页（上一个 / 下一个）：靠右显示 + 加大按钮 */
.woocommerce-account .woocommerce-pagination {
    text-align: right;
}
.woocommerce-account .woocommerce-pagination .button {
    display: inline-block;
    font-size: 14px;
    padding: 9px 24px;
    min-width: 88px;
    text-align: center;
}
/* 订单详情合计表：左侧标签列水平居中 */
.woocommerce-account .woocommerce-order-details table tfoot th {
    text-align: center !important;
}
/* 「总计」行标签向右微调 4px：用 text-indent 只挪文字，不动单元格盒子和边框 */
.woocommerce-account .woocommerce-order-details table tfoot tr.qzxx-total-row th {
    text-indent: 8px;
}

/* 查看：品牌橙主按钮 */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.view {
    background: #ff6651;
    color: #fff;
    border: none;
    padding: 8px 24px;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.view:hover {
    background: #e85742;
    color: #fff;
}

/* 售后详情：品牌橙底白字 */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.view_warranty {
    background: #ff6651;
    color: #fff;
}

/* 确认收货：绿色底白字 */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.confirm-order {
    background: #52c41a;
    color: #fff;
}

/* 申请售后：深灰底白字（次要操作） */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.request_warranty {
    background: #555;
    color: #fff;
}

/* 再次购买（订单列表）：白底橙字描边次要按钮 */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.order-again {
    background: #fff;
    color: #ff6651;
    border: 1px solid #ff6651;
    padding: 7px 23px;
    margin-left: 0;
    margin-right: 1em;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.order-again:hover {
    background: #ff6651;
    color: #fff;
    border-color: #ff6651;
}

/* 订单详情页：申请售后按钮沿用列表同款深灰样式 */
.woocommerce-account .woocommerce-order-details .warranty-button {
    background: #555;
    color: #fff;
}

/* 订单详情标题行：标题在左，售后详情 / 再次购买按钮在右 */
.qzxx-order-details-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 18px;
}
.qzxx-order-details-head .woocommerce-order-details__title {
    margin: 0;
    flex: 0 1 auto;
}
.qzxx-order-detail-actions {
    margin: 0 0 0 auto;
    flex: 0 0 auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Woo 的「再次购买」是 <p class="order-again">、保修插件也是 <p>，块级元素会整行撑开把标题挤下去，这里统一改成行内块 */
.qzxx-order-detail-actions > * {
    display: inline-block;
    margin: 0 !important;
    vertical-align: middle;
}
@media (max-width: 768px) {
    .qzxx-order-details-head {
        align-items: flex-end;
    }
}

/* 订单状态文字颜色 */
.woocommerce-account .qzxx-order-status.status-completed { color: #ff6651; font-weight: bold; }
.woocommerce-account .qzxx-order-status.status-refunded  { color: #555; font-weight: bold; }
.woocommerce-account .qzxx-order-status.status-delivered { color: #52c41a; font-weight: bold; }

.woocommerce-checkout .content {
    margin-right:0 !important
}

.woocommerce-checkout .sidebar {
    display:none !important
}

.woocommerce-checkout .article-meta {
    display:none
}

.woocommerce-checkout .article-actions {
    display:none
}

.woocommerce-checkout .woocommerce {
    font-size:15px
}

.woocommerce-checkout .woocommerce h3 {
    margin:15px 0
}

.single.woocommerce .woocommerce-breadcrumb {
    display: block;
    margin-top:15px
}

.div.product .product_title {
    font-size:22px
}

.woocommerce div.product p.price ins, .woocommerce div.product span.price ins {
    text-decoration:none
}

.woocommerce div.product p.price del, .woocommerce div.product span.price del {
    margin-right:15px
}

.woocommerce .quantity .qty {
    height: 30px;
    border-radius: 4px;
    border:1px solid #ddd
}

.darking .woocommerce .quantity .qty {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.woocommerce div.product form.cart div.quantity {
    margin-right:10px
}

.woocommerce div.product div.summary {
    margin:8px 0
}

.woocommerce #review_form #respond textarea {
    padding:8px 12px
}

.woocommerce #review_form #respond .comt-box textarea.comt-area {
    padding:0
}

@media (max-width: 768px) {
    .woocommerce div.product .product_title {
        font-size:18px
    }
}

.darking .woocommerce-error, .darking .woocommerce-info, .darking .woocommerce-message {
    background-color:var(--tb--dark)
}

.darking .select2-container--default .select2-selection--single {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.darking .select2-dropdown {
    border-color: var(--tb--dark);
    background-color:var(--tb--dark)
}

.darking .select2-container--default .select2-results__option[aria-selected=true], .darking .select2-container--default .select2-results__option[data-selected=true] {
    background-color:var(--tb--bdbg)
}

.darking .select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: var(--tb--bdbg);
    background-color:var(--tb--bdbg)
}

.darking #add_payment_method #payment, .darking .woocommerce-cart #payment, .darking .woocommerce-checkout #payment {
    background-color:var(--tb--dark)
}

.logistics_details {
    border: none;
}

/* 物流轨迹（基础样式自物流查询扩展迁入 + 浅色美化） */
.logistics_details tbody tr td table {
    font-size: 13px;
}
.logistics_details tbody tr td table td {
    padding: 3px 0;
}
.logistics_details tbody tr td p {
    font-size: 11px;
}
.logistics_details > tbody > tr:first-child > td {
    font-weight: 700;
    font-size: 14px;
}
.logistics_details > tbody > tr:nth-child(2) > td {
    color: #ff6651;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 快递单号点击复制（复制单号，成功显示「已复制」） */
.logistics_details > tbody > tr:nth-child(2) > td.qzxx-copy-waybill {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.logistics_details > tbody > tr:nth-child(2) > td.qzxx-copy-waybill:hover {
    color: #e5523d;
}
.logistics_details > tbody > tr:nth-child(2) > td.qzxx-copy-waybill.qzxx-copy-done {
    color: #52c41a;
}
.logistics_details tbody tr td table td:first-child {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    padding-right: 12px;
}
.logistics_details tbody tr td table tr:first-child td:last-child {
    color: #ff6651;
    font-weight: 600;
}

/* 收货地址：去 WC 默认斜体 */
.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.8;
}

.woocommerce .woocommerce-tabs h2 {
    display: none;
}

#add_fee_field .optional {
    display: none;
}

#order_comments {
    height: 120px;
}

/* 购物车空提示：顶部横线与左侧图标改为主题红 #FF6651 */
.woocommerce-cart .cart-empty.woocommerce-info {
    border-top-color: #ff6651;
}
.woocommerce-cart .cart-empty.woocommerce-info::before {
    color: #ff6651;
}

/* 商品属性表格：值列文字不要斜体（覆盖 Woo 原生 table.shop_attributes td 的 italic） */
.woocommerce table.shop_attributes td {
    font-style: normal;
}

/* 地址自动识别粘贴框：宽高与订单备注框一致（覆盖模板内联高度/宽度） */
#paste_address_text {
    width: 100% !important;
    height: 120px !important;
    box-sizing: border-box;
}

.cart_item .product-total {
    width: 114px;
    /*结帐页中通的宽度 */
}

.woocommerce table.shop_table {
    text-align: center
}

.woocommerce-button.button.confirm-order {
    margin-left: 8px
}

/* 确认收货按钮已移至标题右侧，不再需要 right 偏移 */
.button.confirm-order-button {
    right: auto;
}

.shipping-method-label::after {
    content: "";
    /* 移除伪元素内容 */
}

body.woocommerce-view-order .woocommerce-Price-amount {
    display: inline-block;
    width: 70px;
    /*批定我的帐户页面中合计的宽度 */
}

/* 帐户关联：图标在左、名称在后；flex 布局使三行图标左边缘对齐成一条线，组合整体居中偏左 */
#binding-social-media-account td {
    vertical-align: middle;
}

#binding-social-media-account th:first-child {
    text-align: center;
    width: 40%;
}

/* 三列显式宽度合计100%，让表格严格按比例分配：账号40 / 状态21 / 操作39 */
#binding-social-media-account .woocommerce-social-media-account-table__header-action {
    width: 39%;
}

/* 状态列收窄 50%（42%→21%） */
#binding-social-media-account .woocommerce-social-media-account-table__header-status {
    width: 21%;
}

#binding-social-media-account td:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30%;
}

#binding-social-media-account td:first-child .icon {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    margin: 0 18px 0 0;
}

#binding-social-media-account td:first-child .icon img {
    display: block;
    max-width: 32px;
    max-height: 32px;
}

#binding-social-media-account td:first-child strong {
    vertical-align: middle;
}









/* 解绑确认弹窗 + 手机绑定弹窗：共用遮罩层 + 居中卡片（v1.3.0 / v1.6.5） */
.qoo-unbind-modal,
.qoo-bind-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.qoo-unbind-modal.is-open,
.qoo-bind-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qoo-unbind-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.qoo-unbind-dialog,
.qoo-bind-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    padding: 24px 28px;
    width: 90%;
    max-width: 420px;
    box-sizing: border-box;
}

/* 手机绑定弹窗专用：右上角关闭按钮 */
.qoo-bind-x {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qoo-bind-x:hover {
    color: #ff6651;
}

/* 手机绑定弹窗内表单：去掉旧背景图和定位，适配弹窗（需压过 login.css 的 !important） */
.qoo-bind-dialog .mobile-sms-login-form {
    width: 100% !important;
    max-width: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    z-index: auto;
}
.qoo-bind-dialog .mobile-sms-login-form input,
.qoo-bind-dialog .mobile-sms-login-form button {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 0;
}
.qoo-bind-dialog .mobile-sms-login-form input:focus {
    outline: none;
    border-color: #ff6651;
}
.qoo-bind-dialog .mobile-sms-login-form .step-1,
.qoo-bind-dialog .mobile-sms-login-form .step-2,
.qoo-bind-dialog .mobile-sms-login-form .step-3,
.qoo-bind-dialog .mobile-sms-login-form .step-4 {
    margin: 0 0 12px;
}
.qoo-bind-dialog .mobile-sms-login-form .step-4 {
    margin-bottom: 0;
}
.qoo-bind-dialog .mobile-sms-login-form .step-4 button.verify {
    background: #ff6651;
    border-color: #ff6651;
    color: #fff;
}
.qoo-bind-dialog .mobile-sms-login-form .step-4 button.verify:hover {
    background: #e55a42;
    border-color: #e55a42;
}

/* 登录页短信表单说明文字：小三号(15px)、不加粗（v1.6.8） */
#qqworld-operating-officer-container .mobile-sms-login-form .step-1 label {
    font-size: 15px;
    font-weight: normal;
}

/* 注册提示文字：电脑端 16px、手机端 14px */
.qzxx-reg-tip {
    font-size: 16px;
}
@media (max-width: 768px) {
    .qzxx-reg-tip {
        font-size: 14px;
    }
}

/* 手机端注册按钮：加长居中（v1.7.0） */
@media (max-width: 768px) {
    .woocommerce-form-register .woocommerce-form-register__submit {
        display: block;
        width: 100%;
        float: none;
        margin: 0 auto;
    }
}

/* 登录页短信登录表单：手机端与绑定弹窗统一为居中卡片（v1.6.7） */
@media (max-width: 768px) {
    #qqworld-operating-officer-container .mobile-sms-login-form {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        right: auto;
        width: 90%;
        max-width: 420px;
        margin: 0;
        padding: 24px 28px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
        z-index: 100000;
    }
    #qqworld-operating-officer-container .mobile-sms-login-form input,
    #qqworld-operating-officer-container .mobile-sms-login-form button {
        padding: 10px 12px;
        border: 1px solid #ddd;
    }
    #qqworld-operating-officer-container .mobile-sms-login-form input:focus {
        outline: none;
        border-color: #ff6651;
        box-shadow: none;
    }
    #qqworld-operating-officer-container .mobile-sms-login-form .step-4 button.verify {
        background: #ff6651;
        border-color: #ff6651;
        color: #fff;
    }
    #qqworld-operating-officer-container .mobile-sms-login-form .step-4 button.verify:hover {
        background: #e55a42;
        border-color: #e55a42;
    }
}

.qoo-unbind-dialog .qoo-unbind-tip {
    color: #ff6651;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.qoo-unbind-dialog input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    background: #fff;
    color: #333;
}

/* 空值（未输入）时保持灰色边框，输入文字后显示品牌橙 */
.qoo-unbind-dialog input[type="password"]:not(:placeholder-shown) {
    border-color: #ff6651;
}

/* 聚焦时仅去掉默认高亮框；边框颜色由是否有输入文字决定 */
.qoo-unbind-dialog input[type="password"]:focus {
    outline: none;
    box-shadow: none;
}

.qoo-unbind-actions {
    margin: 0;
    text-align: right;
}

.qoo-unbind-actions .button {
    margin-left: 10px;
}

/* WooCommerce 错误提示统一品牌红 #ff6651（v1.3.3） */
.woocommerce-error {
    border-top-color: #ff6651;
    text-align: center;
}

.woocommerce-error::before {
    color: #ff6651;
}

.woocommerce-error a {
    color: #ff6651;
    text-decoration: none;
}

/* Safari 下错误/提示框被 JS focus() 后会画一圈蓝色 focus ring（v2.10.306）。
   程序化 focus 去掉 outline；键盘 Tab 触发的 focus-visible 保留品牌红焦点框，不损无障碍。 */
.woocommerce-error:focus,
.woocommerce-message:focus,
.woocommerce-info:focus {
    outline: none;
}

.woocommerce-error:focus-visible,
.woocommerce-message:focus-visible,
.woocommerce-info:focus-visible {
    outline: 2px solid #ff6651;
    outline-offset: 2px;
}

/* 解绑弹窗按钮：默认素雅，悬停才变品牌红（v1.3.9，提权压过 woocommerce.css 的 !important） */
.woocommerce .qoo-unbind-actions .button,
.woocommerce .qoo-unbind-actions .button-primary,
.woocommerce .qoo-unbind-actions button.button {
    background: #f7f7f7 !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.woocommerce .qoo-unbind-actions .button:hover,
.woocommerce .qoo-unbind-actions .button-primary:hover,
.woocommerce .qoo-unbind-actions button.button:hover {
    background: #ff6651 !important;
    background-color: #ff6651 !important;
    border-color: #ff6651 !important;
    color: #fff !important;
}

/* 帐户关联表格「重新绑定」「解绑」「立即绑定」按钮：与弹窗按钮同一规范（v1.4.1，配合插件 1.1.9 的 qoo-rebind-toggle / qoo-bind-toggle / qoo-unbind-toggle） */
.woocommerce #binding-social-media-account .qoo-rebind-toggle,
.woocommerce #binding-social-media-account .qoo-unbind-toggle,
.woocommerce #binding-social-media-account .qoo-bind-toggle,
.woocommerce #binding-social-media-account button.qoo-rebind-toggle,
.woocommerce #binding-social-media-account button.qoo-unbind-toggle,
.woocommerce #binding-social-media-account button.qoo-bind-toggle {
    display: inline-block !important;
    min-width: 74px !important;
    text-align: center !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 13px !important;
    background: #f7f7f7 !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
}

.woocommerce #binding-social-media-account .qoo-rebind-toggle:hover,
.woocommerce #binding-social-media-account .qoo-unbind-toggle:hover,
.woocommerce #binding-social-media-account .qoo-bind-toggle:hover,
.woocommerce #binding-social-media-account button.qoo-rebind-toggle:hover,
.woocommerce #binding-social-media-account button.qoo-unbind-toggle:hover,
.woocommerce #binding-social-media-account button.qoo-bind-toggle:hover {
    background: #ff6651 !important;
    background-color: #ff6651 !important;
    border-color: #ff6651 !important;
    color: #fff !important;
}

/* 密码框\"显示密码\"眼睛图标垂直居中 */
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
	top: 50%;
	transform: translateY(-50%);
}

/* 手机端帐户关联表格：恢复WC原生响应式（标签居左、内容居右），仅修复第一格被桌面端样式污染的问题 */
@media screen and (max-width: 768px) {
	.woocommerce #binding-social-media-account td:first-child,
	.woocommerce-page #binding-social-media-account td:first-child {
		display: block;
		padding-left: 12px; /* 覆盖桌面端 padding-left:30% */
	}
	#binding-social-media-account td:first-child .icon {
		float: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		margin: 0 10px 0 0;
		vertical-align: middle;
	}
	/* 统一各平台图标尺寸：等比缩放到 20px 方块内 */
	#binding-social-media-account td:first-child .icon img {
		width: 20px;
		height: 20px;
		object-fit: contain;
	}
	#binding-social-media-account td:first-child strong {
		vertical-align: middle;
	}
	/* 手机端表格内所有字体不加粗（含WC标签伪元素和平台名称） */
	.woocommerce #binding-social-media-account td,
	.woocommerce-page #binding-social-media-account td,
	.woocommerce #binding-social-media-account td::before,
	.woocommerce-page #binding-social-media-account td::before,
	#binding-social-media-account td strong {
		font-weight: normal;
	}
}

/* 收藏页头部统计（1.7.8） */
.wc-fav-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.wc-fav-count {
    font-size: 14px;
    color: #666;
}
.wc-fav-empty h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.wc-fav-login-tip h2 {
    font-size: 20px;
}

/* 结账页左右两栏等高：右栏（地址识别/订单备注）随左栏收货地址拉伸到同一高度 */
.woocommerce-checkout .col2-set {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
}

/* 结账页邮箱字段：label 与 input 同一行，input 占满剩余宽度 */
.woocommerce-billing-fields .form-row.qzxx-email-inline {
    display: flex;
    align-items: center;
}
.woocommerce-billing-fields .form-row.qzxx-email-inline label {
    white-space: nowrap;
    margin-bottom: 0;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 18px;
}
.woocommerce-billing-fields .form-row.qzxx-email-inline .woocommerce-input-wrapper {
    flex: 1;
}
.woocommerce-billing-fields .form-row.qzxx-email-inline .woocommerce-input-wrapper input {
    width: 100%;
}

/* 退出登录二次确认弹窗 */
.qzxx-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 17, 17, 0.45);
    opacity: 0;
    visibility: hidden;
}
.qzxx-modal-mask.is-open {
    opacity: 1;
    visibility: visible;
}
.qzxx-modal {
    width: 100%;
    max-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    transform: translateY(14px) scale(0.96);
}
.qzxx-modal-mask.is-open .qzxx-modal {
    transform: none;
    animation: qzxxModalRise 0.2s ease;
}
@keyframes qzxxModalRise {
    from { transform: translateY(14px) scale(0.96); }
    to { transform: none; }
}
.qzxx-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 102, 81, 0.1);
    color: var(--tb--main);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qzxx-modal-icon svg {
    width: 26px;
    height: 26px;
}
.qzxx-modal h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #222222;
}
.qzxx-modal p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #888888;
}
.qzxx-modal-actions {
    display: flex;
    gap: 12px;
}
.qzxx-modal-actions .qzxx-btn {
    flex: 1;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: opacity 0.15s ease;
}
.qzxx-modal-actions .qzxx-btn:hover {
    opacity: 0.85;
}
.qzxx-btn-cancel {
    background: #f2f2f2;
    color: #666666;
}
.qzxx-btn-confirm {
    background: var(--tb--main);
    color: #ffffff;
}
/* 暗夜模式适配 */
.darking .qzxx-modal {
    background: #202935;
}
.darking .qzxx-modal h3 {
    color: #eeeeee;
}
.darking .qzxx-modal p {
    color: #a9b2bd;
}
.darking .qzxx-btn-cancel {
    background: #3a4556;
    color: #dddddd;
}

/* 评价图片上传（2.10.145）：缩略图固定 64×64，object-fit: cover，避免不同比例图片撑乱布局 */
.qzxx-rv-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.qzxx-rv-pick {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px dashed #d0d0d0;
    border-radius: 6px;
    background: #fafafa;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.qzxx-rv-pick:hover {
    border-color: #FF6651;
    color: #FF6651;
}

.qzxx-rv-tip {
    font-size: 12px;
    color: #aaa;
}

.qzxx-rv-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.qzxx-rv-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f3f3;
}

.qzxx-rv-thumb img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.qzxx-rv-del {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    border-radius: 0 6px 0 6px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 13px;
    line-height: 16px;
    cursor: pointer;
}

.qzxx-rv-msg {
    width: 100%;
    margin: 2px 0 0;
    font-size: 12px;
    color: #888;
}

.qzxx-rv-msg.is-error {
    color: #d63636;
}

.qzxx-rv-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.qzxx-rv-img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f3f3f3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.darking .qzxx-rv-pick {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .18);
    color: #bbb;
}

.darking .qzxx-rv-thumb,
.darking .qzxx-rv-img {
    background: rgba(255, 255, 255, .08);
}

.darking .qzxx-rv-msg {
    color: #999;
}

.darking .qzxx-rv-msg.is-error {
    color: #ff8a76;
}

.darking .qzxx-rv-tip {
    color: #777;
}

/* [qzxx] 订单页底部「我的下载」区块 */
.qzxx-orders-downloads-title {
    margin: 28px 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--tb--base);
}

/* [qzxx] 账户页订单/问答共用分类标签（自订单页内联样式全局化） */
.qzxx-order-tabs {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e8e8e8;
}

.qzxx-order-tab a {
    display: inline-block;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    font-size: 17px;
    white-space: nowrap;
}

.qzxx-order-tab.active a {
    color: #ff6651;
    border-bottom: 2px solid #ff6651;
    font-weight: 600;
}

.qzxx-order-tab a:hover {
    color: #ff6651;
}

.qzxx-order-tab a .qzxx-qa-tab-count {
    font-size: 12px;
    color: #999;
    margin-left: 2px;
}

.qzxx-order-tab.active a .qzxx-qa-tab-count {
    color: #ff6651;
}

.qzxx-order-tab a .qzxx-qa-tab-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6651;
    margin-left: 4px;
    vertical-align: middle;
}

.darking .qzxx-order-tabs {
    border-bottom-color: rgba(255, 255, 255, .12);
}

.darking .qzxx-order-tab a {
    color: #aaa;
}

.darking .qzxx-order-tab a:hover {
    color: #ff8a76;
}

.darking .qzxx-order-tab.active a {
    color: #ff6651;
    border-bottom-color: #ff6651;
}

.darking .qzxx-order-tab a .qzxx-qa-tab-count {
    color: #777;
}

.darking .qzxx-order-tab.active a .qzxx-qa-tab-count {
    color: #ff6651;
}

@media (max-width: 768px) {
    .qzxx-order-tabs {
        gap: 4px;
        justify-content: center;
    }

    .qzxx-order-tab a {
        padding: 8px 10px;
        font-size: 0;
    }

    .qzxx-order-tab a::before {
        content: attr(data-short);
        font-size: 18px;
    }

    .qzxx-order-tab a .qzxx-qa-tab-count {
        font-size: 12px;
    }
}


/* 2.10.309 主导航「联系」项：全端输出 HTML，桌面端隐藏；≤768px 抽屉导航内显示。
   配合整页静态缓存（缓存不区分设备，显隐由浏览器媒体查询决定） */
.sitenav .tb-menu-contact {
    display: none;
}
@media (max-width: 768px) {
    .sitenav .tb-menu-contact {
        display: list-item;
    }
}
