/* VIP offers: preserve the original solid dialog and show details above labels. */
.layui-layer.tkshop-credit-recharge-form {
    width: min(500px, calc(100vw - 24px)) !important;
    max-height: none;
    overflow: hidden;
    border: 1px solid #e8edf3 !important;
    border-radius: 12px !important;
    background: #fff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 20px 60px rgba(31, 45, 61, 0.22);
}

.layui-layer.tkshop-credit-recharge-form .layui-layer-title,
.layui-layer.tkshop-credit-recharge-form .layui-layer-content {
    background: #fff !important;
}

.layui-layer.tkshop-credit-recharge-form .layui-layer-title {
    height: 54px;
    padding: 0 22px;
    border-bottom: 1px solid #edf0f4 !important;
    color: #40516b;
    font-size: 18px;
    line-height: 54px;
}

.layui-layer.tkshop-credit-recharge-form .layui-layer-setwin {
    top: 16px;
    right: 18px;
}

.layui-layer.tkshop-credit-recharge-form .layui-layer-setwin a {
    opacity: 0.72;
}

.layui-layer.tkshop-credit-recharge-form .layui-layer-content {
    height: auto !important;
    max-height: none;
    padding: 0 !important;
    overflow: visible !important;
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-content {
    padding: 16px 20px 12px;
    box-sizing: border-box;
    background: #fff;
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-content .number {
    padding-top: 6px;
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-type {
    margin-top: 14px;
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-type li {
    margin-top: 8px;
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-number.vip > li,
.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-type li {
    background: #fff;
    border-color: #edf0f4;
    box-shadow: none;
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-number.vip > li:hover,
.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-number.vip > li.on,
.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-type li.on {
    background: #fff;
    border-color: rgba(32, 184, 255, 0.72);
}

.layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-number li .xianshi-pill {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.layui-layer.tkshop-credit-recharge-form .order-b-button {
    position: static;
    margin: 0;
    padding: 12px 0 4px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.tkshop-credit-recharge-number.vip {
    display: block;
    clear: both;
}

.tkshop-credit-recharge-number.vip > li {
    display: block;
    float: left;
    width: 24%;
    min-width: 0;
    padding: 8px 10px;
    margin-right: 1.3333%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.tkshop-credit-recharge-number.vip > li:hover,
.tkshop-credit-recharge-number.vip > li:focus-within {
    z-index: 10;
}

.tkshop-credit-recharge-number.vip > li:nth-child(4n) {
    margin-right: 0;
}

.tkshop-credit-recharge-number.vip > li .top {
    padding: 14px 0 16px;
}

.tkshop-credit-recharge-number.vip > li .bottom {
    margin-top: 0;
    padding-top: 8px;
}

.tkshop-credit-recharge-number li .xianshi {
    position: absolute;
    top: 52px;
    right: auto;
    left: 50%;
    display: flex;
    align-items: center;
    width: max-content;
    max-width: calc(100% - 16px);
    min-height: 26px;
    min-width: 0;
    margin: 0;
    padding: 0 9px;
    box-sizing: border-box;
    overflow: visible;
    white-space: nowrap;
    border-radius: 10px 0;
    background: #ffebde;
    color: #ff6700;
    line-height: 26px;
    outline: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.tkshop-credit-recharge-number li .xianshi-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    max-width: 100%;
    min-height: 26px;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.tkshop-credit-recharge-number li .xianshi-pill > i {
    flex: 0 0 auto;
    font-size: 16px;
}

.tkshop-credit-recharge-number li .xianshi-label {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}

.tkshop-credit-recharge-number li .xianshi-label > span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tkshop-credit-recharge-number li .xianshi::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    z-index: 30;
    box-sizing: border-box;
    width: max-content;
    min-width: 0;
    max-width: min(240px, calc(100vw - 40px));
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    box-shadow: 0 10px 28px rgba(31, 45, 61, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.42);
    color: #713a21;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.tkshop-credit-recharge-number li .xianshi::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    z-index: 31;
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.68);
    border-bottom: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) rotate(45deg);
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.tkshop-credit-recharge-number.vip > li:nth-child(4n + 1) .xianshi::after {
    left: 0;
    transform: translateY(5px);
}

.tkshop-credit-recharge-number.vip > li:nth-child(4n) .xianshi::after {
    right: 0;
    left: auto;
    transform: translateY(5px);
}

.tkshop-credit-recharge-number li .xianshi:hover::after,
.tkshop-credit-recharge-number li .xianshi:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.tkshop-credit-recharge-number li .xianshi:hover::before,
.tkshop-credit-recharge-number li .xianshi:focus::before {
    opacity: 1;
    visibility: visible;
}

.tkshop-credit-recharge-number.vip > li:nth-child(4n + 1) .xianshi:hover::after,
.tkshop-credit-recharge-number.vip > li:nth-child(4n + 1) .xianshi:focus::after,
.tkshop-credit-recharge-number.vip > li:nth-child(4n) .xianshi:hover::after,
.tkshop-credit-recharge-number.vip > li:nth-child(4n) .xianshi:focus::after {
    transform: translateY(0);
}

.tkshop-credit-recharge-number li .xianshi:focus-visible .xianshi-pill {
    outline: 2px solid #20a0ff;
    outline-offset: 2px;
}

.tkshop-mycredit-table {
    --wallet-item-column: minmax(0, 1fr);
    --wallet-amount-column: minmax(0, 2fr);
    --wallet-time-column: minmax(0, 1fr);
}

.layui-layer.tkshop-mywallet-form {
    width: min(520px, calc(100vw - 20px)) !important;
    max-height: none !important;
    border-radius: 12px !important;
    overflow: visible !important;
}

.layui-layer.tkshop-mywallet-form .layui-layer-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.layui-layer.tkshop-mywallet-form .tkshop-mycredit-form {
    overflow: visible;
}

.layui-layer.tkshop-mywallet-form .tkshop-mycredit-top {
    padding: 14px 20px 12px;
}

.layui-layer.tkshop-mywallet-form .tkshop-mycredit-bottom {
    padding: 0 20px 12px;
}

.layui-layer.tkshop-mywallet-form .tkshop-mycredit-bottom .layui-tab-title {
    height: 38px;
}

.layui-layer.tkshop-mywallet-form .tkshop-mycredit-bottom .layui-tab-title li {
    line-height: 38px;
}

.tkshop-mycredit-table > .title,
.tkshop-mycredit-table .content li {
    display: grid;
    grid-template-columns: var(--wallet-item-column) var(--wallet-amount-column) var(--wallet-time-column);
    align-items: center;
    column-gap: 10px;
    box-sizing: border-box;
}

.tkshop-mycredit-table > .title {
    position: relative;
    z-index: 0;
    min-height: 40px;
    margin: 0;
    padding: 0;
    isolation: isolate;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.tkshop-mycredit-table > .title::before {
    content: "";
    position: absolute;
    inset: 0 16px;
    z-index: -1;
    border-radius: 9px;
    background: linear-gradient(105deg, #209ff0, #20b8f5);
    box-shadow: 0 7px 18px rgba(32, 160, 255, 0.14);
}

.tkshop-mycredit-table .title span {
    min-width: 0;
    border-right: 0 !important;
}

.tkshop-mycredit-table .title span:nth-child(1) {
    text-align: center;
}

.tkshop-mycredit-table .title span:nth-child(2) {
    text-align: center;
}

.tkshop-mycredit-table .title span:nth-child(3) {
    text-align: center;
}

.tkshop-mycredit-table .content {
    position: relative;
    height: auto;
    min-height: 216px;
    overflow: visible;
    transition: opacity 0.16s ease;
}

.tkshop-mycredit-table .content.is-page-loading {
    opacity: 0.58;
    pointer-events: none;
}

.tkshop-mycredit-table .content.is-page-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    box-sizing: border-box;
    border: 2px solid rgba(32, 160, 255, 0.22);
    border-top-color: #20a0ff;
    border-radius: 50%;
    animation: tkshop-wallet-page-loading 0.7s linear infinite;
}

.tkshop-mycredit-table .content li {
    min-height: 36px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f3f7;
    color: #718198;
    text-align: left;
    cursor: default;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.tkshop-mycredit-table .content li[onclick] {
    cursor: pointer;
}

.tkshop-mycredit-table .content li:hover {
    background: #f8fbfe;
    color: #52647b;
}

.tkshop-mycredit-table .content li span {
    min-width: 0;
    line-height: 1.45;
}

.tkshop-mycredit-table .content li span:nth-child(1) {
    width: 100%;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.tkshop-mycredit-table .content li span:nth-child(2) {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@keyframes tkshop-wallet-page-loading {
    to {
        transform: rotate(360deg);
    }
}

.tkshop-mycredit-table .content li span:nth-child(3) {
    width: 100%;
    justify-self: stretch;
    color: #9aa7b9;
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.tkshop-mycredit-table .content li .apply-add,
.tkshop-mycredit-table .content li .apply-cut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    box-sizing: border-box;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1.35;
}

.tkshop-mycredit-page {
    display: flex;
    justify-content: center;
    min-height: 42px;
    padding-top: 8px;
    box-sizing: border-box;
    overflow: visible;
}

.tkshop-mycredit-page:empty {
    min-height: 0;
    padding-top: 0;
}

.tkshop-mycredit-page .layui-laypage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
}

.tkshop-mycredit-page .layui-laypage a,
.tkshop-mycredit-page .layui-laypage span {
    height: 30px;
    padding: 0 12px;
    line-height: 30px;
}

.tkshop-mycredit-page .layui-laypage .layui-laypage-count {
    margin-right: 12px;
    padding-right: 6px;
}

.tkshop-mycredit-page .layui-laypage .layui-laypage-skip {
    margin-left: 12px;
    padding-left: 6px;
}

.tkshop-mycredit-page .layui-laypage input {
    width: 40px;
    height: 28px;
}

.tkshop-mycredit-page .layui-laypage button {
    height: 30px;
    padding: 0 12px;
    line-height: 28px;
}

/*
 * Scope the active state to the wallet pagination itself. The wallet dialog
 * can be opened and re-skinned by more than one front-end entry, so relying
 * on a layer skin or a JavaScript marker leaves legacy entries uncovered.
 */
.tkshop-mycredit-page .layui-laypage > span.layui-laypage-curr {
    position: relative !important;
    isolation: isolate;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-color: #2496f3 !important;
    background: #2496f3 !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(36, 150, 243, 0.22);
    opacity: 1 !important;
    visibility: visible !important;
}

.tkshop-mycredit-page .layui-laypage > span.layui-laypage-curr > .layui-laypage-em {
    display: none !important;
}

.tkshop-mycredit-page .layui-laypage > span.layui-laypage-curr > em:not(.layui-laypage-em) {
    position: relative !important;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 1em;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    font-size: inherit !important;
    font-style: normal;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.tkshop-mycredit-table .content li .apply-add {
    background: rgba(0, 177, 103, 0.09);
    color: #00a663;
}

.tkshop-mycredit-table .content li .apply-cut {
    background: rgba(255, 100, 100, 0.09);
    color: #ef6666;
}

body.night .tkshop-credit-recharge-number li .xianshi {
    background: rgba(255, 103, 0, 0.15);
    color: #ffa467;
}

body.night .tkshop-credit-recharge-number li .xianshi-pill {
    background: transparent;
}

body.night .layui-layer.tkshop-credit-recharge-form,
body.night .layui-layer.tkshop-credit-recharge-form .layui-layer-title,
body.night .layui-layer.tkshop-credit-recharge-form .layui-layer-content,
body.night .layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-content {
    background: #34425a !important;
}

body.night .layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-number.vip > li,
body.night .layui-layer.tkshop-credit-recharge-form .tkshop-credit-recharge-type li {
    background: #34425a;
    border-color: rgba(153, 169, 191, 0.3);
}

body.night .layui-layer.tkshop-credit-recharge-form .order-b-button {
    background: transparent;
}

body.night .tkshop-credit-recharge-number li .xianshi::after {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 42, 59, 0.56);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    color: #ffdfc6;
}

body.night .tkshop-credit-recharge-number li .xianshi::before {
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 42, 59, 0.56);
}

body.night .tkshop-mycredit-table .content li {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #aab5c5;
}

body.night .tkshop-mycredit-table .content li:hover {
    background: rgba(255, 255, 255, 0.035);
    color: #d8e0eb;
}

body.night .tkshop-mycredit-table .content li span:nth-child(3) {
    color: #7f8da1;
}

body.night .tkshop-mycredit-table .content li .apply-add {
    background: rgba(0, 177, 103, 0.13);
}

body.night .tkshop-mycredit-table .content li .apply-cut {
    background: rgba(255, 100, 100, 0.13);
}

@media (max-width: 640px) {
    .tkshop-mycredit-table {
        --wallet-item-column: minmax(0, 1.1fr);
        --wallet-amount-column: minmax(88px, 0.8fr);
        --wallet-time-column: 68px;
    }

    .tkshop-mycredit-table > .title,
    .tkshop-mycredit-table .content li {
        column-gap: 9px;
    }

    .tkshop-mycredit-table > .title {
        min-height: 42px;
        margin: 0;
        padding: 0 11px;
        font-size: 13px;
    }

    .tkshop-mycredit-table > .title::before {
        inset: 0;
    }

    .tkshop-mycredit-table .content li {
        padding: 5px 11px;
        font-size: 13px;
    }

    .tkshop-mycredit-table .content li span:nth-child(3) {
        font-size: 12px;
    }

    .tkshop-mycredit-table .content li .apply-add,
    .tkshop-mycredit-table .content li .apply-cut {
        min-width: 0;
        padding: 4px 8px;
    }

    .tkshop-mycredit-page .layui-laypage {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .tkshop-mycredit-page .layui-laypage a,
    .tkshop-mycredit-page .layui-laypage span {
        padding-right: 7px;
        padding-left: 7px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .tkshop-mycredit-table .content,
    .tkshop-mycredit-table .content li {
        transition: none;
    }

    .tkshop-mycredit-table .content.is-page-loading::after {
        animation-duration: 1.4s;
    }
}

/* Sign-in center: resilient calendar and two-column page layout. */
.qiandao-page.dashboard-wrapper {
    align-items: stretch;
}

.qiandao-page .dashcontent_wrapper {
    width: 100%;
    min-width: 0;
}

.qiandao-page .tk-main-content.sign-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 300px);
    gap: 24px;
    width: 100%;
    min-width: 0;
}

.qiandao-page .tk-content-left,
.qiandao-page .tk-content-right {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

.qiandao-page .tk-content-left {
    padding-bottom: 0;
}

.qiandao-page .tk-sign-page-box.rank {
    grid-column: 1 / -1;
    min-width: 0;
}

.qiandao-page .sign-calendar {
    overflow: hidden;
    isolation: isolate;
    contain: paint;
}

.qiandao-page .sign-calendar table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse !important;
}

.qiandao-page .sign-calendar col {
    width: 14.285714%;
}

.qiandao-page .sign-calendar thead {
    display: table-header-group !important;
}

.qiandao-page .sign-calendar tbody {
    display: table-row-group !important;
}

.qiandao-page .sign-calendar tr {
    display: table-row !important;
}

.qiandao-page .sign-calendar th,
.qiandao-page .sign-calendar td {
    display: table-cell !important;
    box-sizing: border-box;
}

.qiandao-page .sign-calendar thead::after {
    display: none !important;
    content: none !important;
}

.qiandao-page .sign-calendar thead th {
    position: relative;
    width: 14.285714%;
    height: 48px;
    padding: 0;
    border: 0;
    color: #7f8da1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.qiandao-page .sign-calendar thead th span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.qiandao-page .sign-calendar tbody td {
    width: 14.285714% !important;
    height: 84px;
    padding: 0 !important;
    overflow: hidden;
    vertical-align: top;
}

/*
 * The original calendar applies a CSS drop-shadow filter to every date.
 * Filters force repeated off-screen rasterization while the document scrolls,
 * which is noticeably expensive across a complete month. Keep the same depth
 * on signed dates with a regular shadow, which stays on the compositor's fast
 * path and avoids repainting every calendar number.
 */
.qiandao-page .sign-calendar tbody td > span {
    -webkit-filter: none;
    filter: none;
}

.qiandao-page .sign-calendar tbody td.had-sign > span {
    box-shadow: 0 6px 14px rgba(0, 129, 255, 0.2);
}

.qiandao-page .sign-calendar tbody td.is-empty {
    cursor: default;
}

.qiandao-page .sign-calendar tbody td.today {
    background: rgba(32, 160, 255, 0.055);
    box-shadow: inset 0 0 0 1px rgba(32, 160, 255, 0.3);
}

.qiandao-page .sign-calendar tbody td.in {
    cursor: default;
}

.qiandao-page .sign-calendar tbody td.in > span {
    opacity: 0.56;
}

.qiandao-page .sign-calendar .c-event {
    margin: 6px;
}

/* A claimable reward only needs one attention cue; an infinite shake keeps
 * compositing active for the whole page lifetime and competes with scrolling. */
.qiandao-page .tk-sign-page-box.month li.shake img {
    animation-duration: 0.65s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .qiandao-page .tk-sign-page-box.month li.shake img {
        animation: none;
    }
}

body.night .qiandao-page .sign-calendar thead th {
    color: #99a9bf;
}

body.night .qiandao-page .sign-calendar tbody td.today {
    background: rgba(32, 160, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(77, 190, 245, 0.35);
}

/* TKSHOP owns the complete article action component. The action count is
 * supplied by the template so download, passwords and optional author links
 * remain in one equal-width row. */
.wp-block-pay-box .pay--box {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.wp-block-pay-box .pay--box.pay-box-actions {
    display: grid;
    grid-template-columns: repeat(var(--pay-box-action-count, 1), minmax(0, 1fr));
}

.wp-block-pay-box .pay--box > li {
    display: flex;
    float: none;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0 !important;
    list-style: none;
}

.wp-block-pay-box .pay--box > li > .btn,
.wp-block-pay-box .pay--box > li > .pay-box-pwd,
.wp-block-pay-box .pay--box > li > .pay-box-pwd > .pwd {
    width: 100%;
    min-width: 0;
}

.wp-block-pay-box .pay--box .btn,
.wp-block-pay-box .pay--box .pwd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 40px;
    margin: 0;
    padding-right: 10px;
    padding-left: 10px;
    overflow: hidden;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.wp-block-pay-box .pay--box .btn > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wp-block-pay-box .pay--box .btn > i {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
}

.wp-block-pay-box .pay--box .btn:focus-visible {
    outline: 3px solid rgba(32, 160, 255, 0.24);
    outline-offset: 3px;
}

.wp-block-pay-box .btn--purchase-notice,
.w--pay-box .btn--purchase-notice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    border-color: #e6b858;
    background: #fff7e6;
    color: #8a5700 !important;
    box-shadow: 0 3px 8px rgba(184, 121, 16, 0.14);
    text-shadow: none;
}

.wp-block-pay-box .btn--purchase-notice i,
.w--pay-box .btn--purchase-notice i {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
}

.wp-block-pay-box .btn--purchase-notice:hover,
.w--pay-box .btn--purchase-notice:hover {
    border-color: #d7a33e;
    background: #ffefca;
    color: #704600 !important;
}

.wp-block-pay-box .btn--purchase-notice:focus-visible,
.w--pay-box .btn--purchase-notice:focus-visible {
    outline: 3px solid rgba(217, 164, 55, 0.24);
    outline-offset: 3px;
}

body.night .wp-block-pay-box .btn--purchase-notice,
body.night .w--pay-box .btn--purchase-notice {
    border-color: rgba(235, 183, 79, 0.48);
    background: rgba(188, 124, 20, 0.16);
    color: #f2c76f !important;
    box-shadow: none;
}

@media (max-width: 600px) {
    .wp-block-pay-box .pay--box {
        gap: 6px;
    }

    .wp-block-pay-box .pay--box .btn,
    .wp-block-pay-box .pay--box .pwd {
        min-height: 38px;
        padding-right: 5px;
        padding-left: 5px;
        font-size: clamp(11px, 2.8vw, 14px);
    }

    .wp-block-pay-box .pay--box .btn > i {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .qiandao-page .tk-main-content.sign-page {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 280px);
        gap: 18px;
    }

    .qiandao-page .sign-calendar tbody td {
        height: 72px;
    }
}

@media (max-width: 991px) {
    .qiandao-page .tk-main-content.sign-page {
        grid-template-columns: minmax(0, 1fr);
    }

    .qiandao-page .tk-sign-page-box.rank {
        grid-column: auto;
    }

    .qiandao-page .tk-content-right {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .qiandao-page .tk-content-right > .tk-sign-page-box {
        min-width: 0;
    }

    .qiandao-page .tk-content-right > .tk-sign-page-box.sign-btn,
    .qiandao-page .tk-content-right > .tk-sign-page-box.custom {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .qiandao-page.dashboard-wrapper {
        padding: 18px 12px;
    }

    .qiandao-page .dashcontent_wrapper {
        padding-right: 0;
        padding-left: 0;
    }

    .qiandao-page .tk-main-content.sign-page {
        gap: 14px;
    }

    .qiandao-page .tk-sign-page-header {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .qiandao-page .tk-sign-page-header .one,
    .qiandao-page .tk-sign-page-header .sign-col {
        width: 100%;
        box-sizing: border-box;
    }

    .qiandao-page .sign-calendar thead th {
        height: 40px;
        font-size: 12px;
    }

    .qiandao-page .sign-calendar tbody td {
        height: 54px;
    }

    .qiandao-page .sign-calendar tbody td > span {
        top: 5px;
        right: 5px;
        width: 1.65rem;
        height: 1.65rem;
        font-size: 12px;
    }

    .qiandao-page .sign-calendar .c-event {
        min-height: 18px;
        margin: 4px;
        padding: 2px 5px;
        font-size: 10px;
    }

    .qiandao-page .tk-content-right {
        grid-template-columns: minmax(0, 1fr);
    }

    .qiandao-page .tk-content-right > .tk-sign-page-box.sign-btn,
    .qiandao-page .tk-content-right > .tk-sign-page-box.custom {
        grid-column: auto;
    }

    .qiandao-page .tk-sign-page-box.rank .layui-tab-item li {
        width: 100%;
        margin-right: 0;
    }
}

/* Slider captcha interaction and refresh control refinements. */
.slidercaptcha .vd-scv {
    isolation: isolate;
}

.slidercaptcha .refreshIcon {
    position: absolute;
    z-index: 4;
    top: 10px;
    right: 10px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    opacity: 1;
    color: #315d8b;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    cursor: pointer;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: color 160ms ease, opacity 160ms ease;
    appearance: none;
    -webkit-appearance: none;
}

.slidercaptcha .refreshIcon > i {
    display: block;
    font-size: 14px;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.92)) drop-shadow(0 1px 3px rgba(15, 23, 42, 0.46));
    pointer-events: none;
}

.slidercaptcha .refreshIcon:hover {
    color: #1689e6;
    background: transparent;
    box-shadow: none;
}

.slidercaptcha .refreshIcon:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.38);
    outline-offset: 2px;
}

.slidercaptcha .refreshIcon:active {
    color: #087bd1;
    background: transparent;
}

.slidercaptcha .captcha-slider {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.slidercaptcha .sc-body-canvas,
.slidercaptcha .sc-body-block {
    user-select: none;
    -webkit-user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .slidercaptcha .refreshIcon {
        transition: none;
    }
}
