.yinse-nav-shell.yinse-banner-shell {
    position: relative;
    z-index: 900;
}

.yinse-is-hidden,
#yinse-notice-popup {
    display: none;
}

.yinse-nav-link svg.yinse-nav-icon,
.yinse-nav-link .yinse-nav-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    font-size: 1rem;
    vertical-align: -0.12em;
}

/* 闄ゅ浘鐗囨í骞呭锛屼富棰樼殑瀵艰埅銆佸崱鐗囧拰寮瑰眰缁熶竴浣跨敤鍗婇€忔槑姣涚幓鐠冦€?*/
body.yinse-theme .yinse-nav:not(.yinse-hero-banner--image),
body.yinse-theme .panel,
body.yinse-theme .yinse-footer-wrap,
body.yinse-theme .yinse-table-wrap,
body.yinse-theme .yinse-search-combo,
body.yinse-theme .yinse-dropdown-menu,
body.yinse-theme .yinse-language-menu,
body.yinse-theme .yinse-meta-card,
body.yinse-theme .component-popup,
body.yinse-theme .yinse-layer-popup {
    background-color: rgba(255, 255, 255, 0.34) !important;
    backdrop-filter: blur(var(--yinse-container-blur, 20px));
    -webkit-backdrop-filter: blur(var(--yinse-container-blur, 20px));
}

/* 鍟嗗搧鍒楄〃闈㈡澘锛氬綋鍓嶅垎绫诲浘鏍囧湪宸︼紝鍒嗙被鏍囬鍦ㄥ彸銆?*/
.yinse-current-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yinse-current-name .yinse-current-cat-icon {
    display: block;
    flex: 0 0 50px;
    margin: 0;
    border: 0;
    background: transparent;
    transform: none;
}

.yinse-current-name .yinse-current-cat-text {
    display: block;
    min-width: 0;
}

/* 宸︿晶鍟嗗搧鍒嗙被鏍戠殑 Logo锛氬幓闄ゅ浘鏍囧鍣ㄨ嚜韬殑鎻忚竟銆佸簳鑹插拰闃村奖銆?*/
body.ys .yinse-category-icon,
body.ys .yinse-category-icon:hover,
body.ys .yinse-category-icon:focus,
body.ys .yinse-category-icon:active {
    border: 0 !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 鍥剧墖妯箙浠呬繚鐣欎笂涓嬪眰娆￠槾褰憋紝绉婚櫎宸︿晶榛戣壊娓愬彉钂欑増銆?*/
body.ys .yinse-hero-banner--image::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(12, 29, 45, 0.18) 58%, rgba(7, 16, 26, 0.48) 100%) !important;
}

/* 鍥剧墖妯箙鏍囬锛氭暣浣撹繘鍦哄悗锛屼富鏍囬閫愬瓧鎺ュ姏浜捣銆?*/
body.ys .yinse-hero-banner--image .yinse-hero-title {
    transform-origin: left center;
    isolation: isolate;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
    animation: yinse-hero-title-enter 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 甯告€佷笉鍐嶇敤鐢熺‖鎵厜锛屾敼涓烘爣棰樿儗鍚庣殑缂撴參鍛煎惛鍏夋檿銆?*/
body.ys .yinse-hero-banner--image .yinse-hero-title::before {
    content: "";
    position: absolute;
    top: -46%;
    right: -18%;
    bottom: -54%;
    left: -18%;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(ellipse at 24% 56%, rgba(205, 242, 255, 0.46), rgba(152, 210, 255, 0.15) 37%, transparent 72%);
    filter: blur(16px);
    opacity: 0.34;
    transform-origin: 25% 55%;
    animation: yinse-hero-title-aura 7.8s cubic-bezier(0.45, 0, 0.55, 1) 1.1s infinite;
}

/* The title container is intentionally click-through; re-enable just the large text
   so its pointerenter/pointerdown handlers can actually receive mouse input. */
@media (hover: hover) and (pointer: fine) {
    body.ys .yinse-hero-banner--image .yinse-hero-title > span {
        pointer-events: auto;
    }
}
body.ys .yinse-hero-banner--image .yinse-hero-title span {
    display: inline-block;
    text-shadow: 0 5px 18px rgba(8, 24, 42, 0.42), 0 0 1px rgba(255, 255, 255, 0.95);
}

body.ys .yinse-hero-banner--image .yinse-hero-title .yinse-hero-letter {
    display: inline-block;
    font-style: normal;
    font-weight: inherit;
    line-height: inherit;
    white-space: pre;
    /* Keep hover on the stable text box, not on bouncing letter hit targets. */
    pointer-events: none;
    transform-origin: center bottom;
    backface-visibility: hidden;
    animation: yinse-hero-letter-wave var(--yinse-letter-cycle, 6s) ease-in-out var(--yinse-letter-delay, 1.2s) infinite;
}

body.ys .yinse-hero-banner--image .yinse-hero-title > span.yinse-wave-resetting .yinse-hero-letter {
    animation: none !important;
}

body.ys .yinse-hero-banner--image .yinse-hero-title strong {
    position: relative;
    display: inline-block;
    transform-origin: left center;
    text-shadow: 0 3px 12px rgba(7, 22, 38, 0.38);
    animation: yinse-hero-subtitle-enter 0.76s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 0.42s ease, text-shadow 0.42s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.ys .yinse-hero-banner--image:hover .yinse-hero-title {
        transform: translate3d(10px, -5px, 0) scale(1.025);
        filter: drop-shadow(0 12px 18px rgba(0, 32, 68, 0.2));
    }

    body.ys .yinse-hero-banner--image:hover .yinse-hero-title span {
        text-shadow: 0 7px 24px rgba(0, 28, 62, 0.52), 0 0 14px rgba(202, 244, 255, 0.56);
    }

    body.ys .yinse-hero-banner--image:hover .yinse-hero-title strong {
        transform: translateX(6px);
        letter-spacing: 0.035em;
        text-shadow: 0 4px 16px rgba(0, 32, 68, 0.48), 0 0 12px rgba(207, 244, 255, 0.52);
    }
}

@keyframes yinse-hero-title-enter {
    from { opacity: 0; transform: translate3d(-34px, 18px, 0) scale(0.92); filter: blur(6px); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes yinse-hero-subtitle-enter {
    from { opacity: 0; transform: translate3d(-20px, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes yinse-hero-title-aura {
    0%, 100% { opacity: 0.24; transform: translate3d(-4px, 2px, 0) scale(0.94); }
    50% { opacity: 0.48; transform: translate3d(10px, -3px, 0) scale(1.08); }
}

@keyframes yinse-hero-letter-wave {
    0%, 26%, 100% {
        transform: translate3d(0, 0, 0) rotate(0) scale(1);
        filter: brightness(1);
        text-shadow: inherit;
    }
    3% {
        transform: translate3d(0, 1px, 0) rotate(-1.5deg) scale(0.985);
        animation-timing-function: cubic-bezier(0.16, 1, 0.28, 1);
    }
    10% {
        transform: translate3d(0, -12px, 0) rotate(3deg) scale(1.09);
        filter: brightness(1.18);
        text-shadow: 0 7px 22px rgba(8, 24, 42, 0.52), 0 0 22px rgba(190, 241, 255, 0.86);
        animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    17% {
        transform: translate3d(0, 2px, 0) rotate(-1.8deg) scale(0.98);
        filter: brightness(1.04);
        animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1);
    }
    22% {
        transform: translate3d(0, -2px, 0) rotate(0.8deg) scale(1.01);
        animation-timing-function: ease-out;
    }
}

/* The original theme's underline is unrelated to the letter effect. */
body.ys .yinse-hero-banner--image .yinse-hero-title::after {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-hero-banner--image .yinse-hero-title,
    body.ys .yinse-hero-banner--image .yinse-hero-title::before,
    body.ys .yinse-hero-banner--image .yinse-hero-title span,
    body.ys .yinse-hero-banner--image .yinse-hero-title .yinse-hero-letter,
    body.ys .yinse-hero-banner--image .yinse-hero-title strong {
        animation: none;
        transition: none;
    }
}

/* The image-banner announcement floats on a separate, restrained parallax plane. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.ys .yinse-hero-banner--image .xigua-hero-side-notice {
        transform: translate3d(var(--yinse-hero-notice-x, 0px), var(--yinse-hero-notice-y, 0px), 0);
        will-change: transform;
    }
}

/* Image-banner quick links: layered sky glass, with a single clear lead action. */
body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-nav-buttons {
    gap: 9px;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item {
    position: relative;
    isolation: isolate;
    min-height: 42px;
    gap: 9px;
    padding: 0 15px 0 8px;
    overflow: hidden;
    border: 1px solid rgba(211, 240, 255, 0.58) !important;
    border-radius: 13px 13px 13px 5px;
    background: linear-gradient(125deg, rgba(16, 47, 75, 0.73), rgba(43, 104, 143, 0.48)) !important;
    color: #f5fcff !important;
    font-weight: 760;
    letter-spacing: 0.025em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -1px 0 rgba(120, 206, 246, 0.17), 0 8px 22px rgba(6, 33, 60, 0.22) !important;
    backdrop-filter: blur(var(--yinse-container-blur, 20px)) saturate(125%);
    -webkit-backdrop-filter: blur(var(--yinse-container-blur, 20px)) saturate(125%);
    animation: none !important;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(149, 227, 255, 0.85));
    pointer-events: none;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item i {
    display: inline-grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(211, 245, 255, 0.28);
    border-radius: 8px;
    background: rgba(189, 232, 255, 0.16);
    color: #c5f2ff;
    font-size: 13px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 0.28s ease, background 0.28s ease;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:first-child {
    border-color: rgba(228, 251, 255, 0.8) !important;
    background: linear-gradient(125deg, rgba(212, 246, 255, 0.92), rgba(112, 205, 239, 0.84)) !important;
    color: #103c60 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 24px rgba(25, 128, 178, 0.28) !important;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:first-child i {
    border-color: rgba(35, 125, 173, 0.27);
    background: rgba(255, 255, 255, 0.45);
    color: #146992;
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:first-child::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9));
}

@media (hover: hover) and (pointer: fine) {
    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:hover {
        transform: translateY(-4px);
        border-color: rgba(222, 250, 255, 0.85) !important;
        background: linear-gradient(125deg, rgba(38, 97, 139, 0.9), rgba(63, 160, 193, 0.76)) !important;
        color: #fff !important;
        animation: none !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 13px 27px rgba(5, 45, 78, 0.3), 0 0 16px rgba(131, 222, 255, 0.18) !important;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:hover i {
        transform: translateY(-1px) rotate(-7deg);
        background: rgba(215, 249, 255, 0.23);
        color: #fff;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:first-child:hover {
        background: linear-gradient(125deg, #f1fcff, #9cdef5) !important;
        color: #103c60 !important;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:first-child:hover i {
        color: #146992;
    }
}

body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(39, 163, 211, 0.7), 0 8px 22px rgba(6, 33, 60, 0.22) !important;
}

@media (max-width: 767px) {
    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-nav-buttons {
        gap: 5px;
        max-height: 59px;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item {
        min-height: 27px;
        max-width: calc(50% - 3px);
        gap: 5px;
        padding: 0 8px 0 4px;
        border-radius: 9px 9px 9px 4px;
        font-size: 10px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(6, 33, 60, 0.2) !important;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item i {
        flex-basis: 19px;
        width: 19px;
        height: 19px;
        border-radius: 6px;
        font-size: 10px;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item::after {
        right: 7px;
        width: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item,
    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item i {
        animation: none !important;
        transition: none !important;
    }
}
/* Keep the original outer panel surface; remove only the nested opaque slabs. */

/* Keep the loading overlay's positioning context while visually removing its wrapper. */
body.ys .yinse-catalog-panel .yinse-card-catalog-wrap {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.ys .yinse-catalog-panel .yinse-catalog-body {
    padding: 16px 18px 18px !important;
}

/* The included product panel is content, not a second panel inside the detail panel. */
body.ys .yinse-inline-item-panel .yinse-item-unified-panel {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.ys .yinse-inline-item-panel .yinse-inline-item-body {
    padding: 12px 14px 16px !important;
}

/* Individual rows remain legible, without rebuilding a near-solid white sheet. */
body.ys .yinse-catalog-panel .yinse-commodity-card {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.ys .yinse-catalog-panel .yinse-commodity-card .row-inner {
    background: rgba(255, 255, 255, 0.26) !important;
}

body.ys .yinse-catalog-panel .yinse-commodity-card:hover .row-inner,
body.ys .yinse-catalog-panel .yinse-commodity-card.is-inline-active .row-inner,
body.ys .yinse-catalog-panel .yinse-commodity-card.is-inline-active:hover .row-inner {
    background: rgba(236, 250, 255, 0.43) !important;
}

@media (max-width: 767px) {
    body.ys .yinse-catalog-panel .yinse-catalog-body {
        padding: 12px !important;
    }

    body.ys .yinse-inline-item-panel .yinse-inline-item-body {
        padding: 10px !important;
    }
}
/* Tie the navigation and primary panels into the banner's sky-blue / lilac palette. */
body.ys .yinse-nav-shell .yinse-nav:not(.yinse-hero-banner--image) {
    border-color: rgba(126, 194, 233, 0.42) !important;
    background-image:
        radial-gradient(ellipse 38% 130% at 8% 0%, rgba(134, 210, 246, 0.20), transparent 80%),
        radial-gradient(ellipse 34% 130% at 94% 100%, rgba(175, 160, 231, 0.18), transparent 82%),
        linear-gradient(105deg, rgba(223, 243, 255, 0.82), rgba(238, 248, 255, 0.75) 52%, rgba(227, 233, 252, 0.70)) !important;
}

/* Only the outer shells receive a tint; inner catalog/detail wrappers stay flattened. */
body.ys .yinse-shop-layout > .yinse-sidebar-panel,
body.ys .yinse-shop-layout > .yinse-catalog-panel,
body.ys .yinse-shop-layout > .yinse-inline-item-panel {
    border-color: rgba(126, 194, 233, 0.38) !important;
    background-image:
        radial-gradient(ellipse 62% 42% at 0% 0%, rgba(133, 207, 247, 0.18), transparent 88%),
        radial-gradient(ellipse 50% 42% at 100% 100%, rgba(207, 173, 235, 0.13), transparent 90%),
        linear-gradient(125deg, rgba(223, 243, 255, 0.74), rgba(237, 248, 255, 0.62) 52%, rgba(232, 230, 250, 0.54)) !important;
}
/* Language choices need their own frosted surface, even when the global blur setting is low. */
body.ys .yinse-language-switcher .yinse-language-menu {
    border-color: rgba(136, 196, 234, 0.62) !important;
    background: linear-gradient(145deg, rgba(235, 247, 255, 0.90), rgba(226, 237, 252, 0.86)) !important;
    backdrop-filter: blur(24px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(135%) !important;
    box-shadow: 0 14px 32px rgba(18, 53, 85, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}
/* The nav's own backdrop creates a backdrop root; release it while this menu is open
   so the menu can actually blur the banner content underneath. */
body.ys .yinse-nav:has(.yinse-language-menu.show) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* Let elevated product rows and their hover shadows paint beyond the catalog wrappers. */
body.ys .yinse-catalog-panel,
body.ys .yinse-catalog-panel .yinse-card-catalog-wrap,
body.ys .yinse-catalog-panel .yinse-commodity-card .row-inner {
    overflow: visible !important;
}

body.ys .yinse-catalog-panel .yinse-commodity-card:hover,
body.ys .yinse-catalog-panel .yinse-commodity-card:focus-within {
    position: relative;
    z-index: 2;
}
/* Product-description actions: quiet blue glass instead of plain white pills. */
body.ys .yinse-description-body a {
    min-height: 40px;
    margin: 5px 6px 5px 0;
    padding: 9px 17px;
    border: 1px solid rgba(91, 179, 222, 0.52) !important;
    border-radius: 12px 12px 12px 5px;
    background: linear-gradient(125deg, rgba(225, 246, 255, 0.94), rgba(225, 235, 253, 0.78)) !important;
    color: #174d71 !important;
    font-weight: 800;
    box-shadow: inset 3px 0 0 rgba(62, 177, 216, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.90), 0 7px 18px rgba(31, 85, 121, 0.13) !important;
    backdrop-filter: blur(var(--yinse-container-blur, 20px));
    -webkit-backdrop-filter: blur(var(--yinse-container-blur, 20px));
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

body.ys .yinse-description-body a:hover {
    transform: translateY(-2px);
    border-color: rgba(58, 159, 213, 0.75) !important;
    background: linear-gradient(125deg, rgba(206, 239, 255, 0.96), rgba(218, 226, 252, 0.90)) !important;
    color: #103e62 !important;
    text-shadow: none;
    box-shadow: inset 3px 0 0 #399fd1, inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 25px rgba(25, 88, 134, 0.20) !important;
}

body.ys .yinse-description-body a:focus-visible {
    outline: 2px solid #278fca;
    outline-offset: 3px;
}

/* Item.js hydrates --xn-quote-accent from preset classes or inline hex colors.
   Keep that variable as the sole source of the rail, border, tint and quote mark. */
body.ys .yinse-description-body blockquote,
body.ys .yinse-description-body blockquote[class],
body.ys .yinse-description-body blockquote[style] {
    --ys-quote-color: var(--xn-quote-accent, #4baedc);
    --ys-quote-rgb: var(--xn-quote-accent-rgb, 75, 174, 220);
    position: relative;
    margin: 16px 0 !important;
    padding: 19px 36px 18px 22px !important;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ys-quote-color) 36%, white) !important;
    border-left: 4px solid var(--ys-quote-color) !important;
    border-radius: 13px !important;
    background:
        radial-gradient(ellipse 70% 85% at 0% 0%, rgba(var(--ys-quote-rgb), 0.14), transparent 85%),
        linear-gradient(120deg, rgba(247, 252, 255, 0.86), rgba(228, 239, 253, 0.66)) !important;
    color: #18354a !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 9px 24px rgba(23, 75, 112, 0.11) !important;
    transform: none;
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

body.ys .yinse-description-body blockquote::before,
body.ys .yinse-description-body blockquote[class]::before,
body.ys .yinse-description-body blockquote[style]::before {
    content: "";
    position: absolute;
    left: -30px;
    top: -38px;
    bottom: auto;
    width: 150px;
    height: 112px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(var(--ys-quote-rgb), 0.19), transparent 72%) !important;
    box-shadow: none !important;
    filter: blur(8px);
    pointer-events: none;
}

body.ys .yinse-description-body blockquote::after,
body.ys .yinse-description-body blockquote[class]::after,
body.ys .yinse-description-body blockquote[style]::after {
    content: "\201D";
    display: block !important;
    position: absolute;
    top: 7px;
    right: 13px;
    width: auto;
    height: auto;
    border: 0 !important;
    background: none !important;
    color: var(--ys-quote-color) !important;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.44;
    box-shadow: none !important;
    pointer-events: none;
    transform: none;
}

body.ys .yinse-description-body blockquote:hover,
body.ys .yinse-description-body blockquote[class]:hover,
body.ys .yinse-description-body blockquote[style]:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--ys-quote-color) 52%, white) !important;
    border-left-color: var(--ys-quote-color) !important;
    background:
        radial-gradient(ellipse 70% 85% at 0% 0%, rgba(var(--ys-quote-rgb), 0.19), transparent 85%),
        linear-gradient(120deg, rgba(250, 253, 255, 0.90), rgba(229, 241, 255, 0.74)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.90), 0 13px 28px rgba(23, 75, 112, 0.16) !important;
}

body.ys .yinse-description-body blockquote:hover::after,
body.ys .yinse-description-body blockquote[class]:hover::after,
body.ys .yinse-description-body blockquote[style]:hover::after {
    transform: none;
    background: none !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    body.ys .yinse-description-body blockquote,
    body.ys .yinse-description-body blockquote[class],
    body.ys .yinse-description-body blockquote[style] {
        padding: 16px 28px 16px 17px !important;
    }

    body.ys .yinse-description-body blockquote::after {
        right: 8px;
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-description-body a,
    body.ys .yinse-description-body blockquote {
        transition: none;
    }
    body.ys .yinse-description-body a:hover,
    body.ys .yinse-description-body blockquote:hover {
        transform: none;
    }
}
/* Keep panel header surfaces rounded without clipping elevated product-row hover effects. */
body.ys .yinse-shop-layout > .yinse-sidebar-panel > .panel-header,
body.ys .yinse-shop-layout > .yinse-catalog-panel > .panel-header,
body.ys .yinse-shop-layout > .yinse-inline-item-panel > .panel-header {
    border-top-left-radius: 19px !important;
    border-top-right-radius: 19px !important;
    background-clip: padding-box !important;
}

body.ys .yinse-shop-layout > .yinse-sidebar-panel > .panel-body,
body.ys .yinse-shop-layout > .yinse-catalog-panel > .panel-body,
body.ys .yinse-shop-layout > .yinse-inline-item-panel > .panel-body {
    border-bottom-left-radius: 19px !important;
    border-bottom-right-radius: 19px !important;
    background-clip: padding-box !important;
}

@media (max-width: 767px) {
    body.ys .yinse-shop-layout > .yinse-sidebar-panel > .panel-header,
    body.ys .yinse-shop-layout > .yinse-catalog-panel > .panel-header,
    body.ys .yinse-shop-layout > .yinse-inline-item-panel > .panel-header {
        border-top-left-radius: 19px !important;
        border-top-right-radius: 19px !important;
    }
}
/* Loading surface is another full-width child; give its lower edge the same shell radius. */
body.ys .yinse-catalog-panel .yinse-table-loading,
body.ys .yinse-catalog-panel .yinse-card-catalog-wrap > .yinse-table-loading {
    border-radius: 0 0 19px 19px !important;
    overflow: hidden !important;
}

body.ys .yinse-catalog-panel .yinse-card-catalog-wrap,
body.ys .yinse-inline-item-panel .yinse-inline-item-content {
    border-bottom-left-radius: 19px !important;
    border-bottom-right-radius: 19px !important;
}
/* Round the secondary catalog surface too; its corners must not fight the main shell. */
body.ys .yinse-catalog-panel .yinse-card-catalog-wrap,
body.ys .yinse-catalog-panel .yinse-commodity-grid,
body.ys .yinse-catalog-panel .yinse-table-loading {
    border-radius: 14px !important;
    background-clip: padding-box !important;
}

body.ys .yinse-catalog-panel .yinse-table-loading {
    overflow: hidden !important;
}
/* Language menu selection: replace Bootstrap blue with the theme's sky-to-lilac accent. */
body.ys .yinse-language-menu .dropdown-item.active,
body.ys .yinse-language-menu .dropdown-item:active,
body.ys .yinse-language-menu .dropdown-item:focus {
    border: 1px solid rgba(112, 190, 226, 0.48) !important;
    background: linear-gradient(135deg, rgba(113, 199, 235, 0.92), rgba(157, 169, 229, 0.86)) !important;
    color: #123d5d !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 4px 12px rgba(46, 111, 157, 0.15) !important;
}

body.ys .yinse-language-menu .dropdown-item:hover {
    border: 1px solid rgba(112, 190, 226, 0.36) !important;
    background: linear-gradient(135deg, rgba(205, 239, 252, 0.78), rgba(216, 221, 248, 0.74)) !important;
    color: #123d5d !important;
}

body.ys .yinse-language-menu .dropdown-item.active:hover,
body.ys .yinse-language-menu .dropdown-item.active:focus {
    background: linear-gradient(135deg, rgba(99, 190, 229, 0.98), rgba(151, 163, 227, 0.92)) !important;
}


/* ????????????????????????????????????? hover? */
body.ys .yinse-catalog-panel .yinse-table-wrap.is-loading {
    overflow: hidden !important;
    border-radius: 19px !important;
}

body.ys .yinse-catalog-panel .yinse-table-wrap.is-loading .yinse-table-loading {
    inset: 0 !important;
    z-index: 30 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: clamp(24px, 5vh, 56px) 20px 20px !important;
    border-radius: inherit !important;
    pointer-events: auto !important;
    cursor: wait !important;
}


/* Notice popup: unified deep sky-glass surface, scoped to its own Layui skin. */
body.ys .layui-layer.yinse-layer-popup {
    /* Bound both mobile calc widths and desktop pixel widths across window resizes. */
    width: calc(100vw - 48px) !important;
    max-width: 900px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid rgba(204, 231, 255, 0.35) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 6% 0%, rgba(113, 201, 242, 0.24), transparent 48%),
        radial-gradient(circle at 100% 88%, rgba(159, 151, 225, 0.22), transparent 50%),
        linear-gradient(145deg, rgba(35, 78, 116, 0.88), rgba(66, 68, 124, 0.85)) !important;
    box-shadow: 0 28px 72px rgba(17, 39, 70, 0.34),
                0 5px 18px rgba(45, 103, 160, 0.19),
                inset 0 1px 0 rgba(232, 248, 255, 0.26) !important;
    backdrop-filter: blur(var(--yinse-container-blur, 20px)) saturate(135%) !important;
    -webkit-backdrop-filter: blur(var(--yinse-container-blur, 20px)) saturate(135%) !important;
}

body.ys .yinse-layer-popup .layui-layer-content {
    overflow: hidden !important;
    background: transparent !important;
}

body.ys .yinse-layer-popup .yinse-notice-modal {
    max-height: min(calc(100vh - 32px), 840px);
    max-height: min(calc(100dvh - 32px), 840px);
}

body.ys .yinse-layer-popup .yinse-notice-modal-head {
    position: relative;
    gap: 5px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(193, 225, 252, 0.17) !important;
    background: linear-gradient(110deg, rgba(171, 220, 250, 0.14), rgba(179, 169, 234, 0.08)) !important;
}

body.ys .yinse-layer-popup .yinse-notice-modal-head::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -1px;
    left: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 183, 228, 0.70), rgba(166, 162, 225, 0.42), transparent);
}

body.ys .yinse-layer-popup .yinse-notice-kicker {
    color: #caeaff;
    font-weight: 750;
    letter-spacing: 0.18em;
}

body.ys .yinse-layer-popup .yinse-notice-title {
    color: #f6fbff !important;
    font-size: 1.4rem;
}

body.ys .yinse-layer-popup .yinse-notice-title i {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(202, 233, 255, 0.25);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(193, 225, 251, 0.17), rgba(156, 165, 225, 0.12));
    color: #e1f5ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 5px 14px rgba(77, 147, 198, 0.12);
}

body.ys .yinse-layer-popup .yinse-notice-modal > .yinse-notice-popup-inner {
    margin: 18px 20px 16px;
    padding: 20px 24px;
    border: 1px solid rgba(190, 224, 252, 0.22);
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 0%, rgba(169, 219, 251, 0.08), transparent 52%),
        linear-gradient(135deg, rgba(177, 222, 248, 0.12), rgba(183, 173, 235, 0.09)) !important;
    box-shadow:
        0 15px 38px rgba(11, 30, 63, 0.20),
        0 4px 12px rgba(21, 39, 80, 0.11),
        inset 0 1px 0 rgba(232, 247, 255, 0.12);
    color: #f1f8ff !important;
    scrollbar-color: rgba(195, 225, 250, 0.50) transparent;
}

body.ys .yinse-layer-popup .yinse-notice-modal > .yinse-notice-popup-inner a:not([style]) {
    color: #bde8ff;
}

/* Expand standalone notice images to the readable content width, not just their intrinsic width. */
body.ys .yinse-layer-popup .yinse-notice-modal > .yinse-notice-popup-inner p > img:only-child {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    object-fit: contain;
}

/* The server-side notice already has an inner wrapper; do not double-pad it. */
body.ys .yinse-layer-popup .yinse-notice-popup-inner > .yinse-notice-popup-inner {
    padding: 0;
    background: transparent !important;
    overflow: visible;
    color: inherit !important;
}

body.ys .yinse-layer-popup .yinse-notice-actions {
    padding: 0 24px 12px;
}

body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button {
    min-height: 42px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button-light {
    border: 1px solid rgba(121, 186, 224, 0.52) !important;
    background: linear-gradient(145deg, rgba(203, 231, 248, 0.68), rgba(168, 203, 234, 0.52)) !important;
    color: #245a78 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 5px 14px rgba(50, 120, 165, 0.08) !important;
}

body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button-dark {
    border: 1px solid rgba(44, 148, 197, 0.72) !important;
    background: linear-gradient(125deg, #398fbf, #55b9d3 57%, #909cda) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(52, 142, 192, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(52, 142, 192, 0.20) !important;
}

body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button:focus-visible {
    outline: 2px solid #398fbf;
    outline-offset: 3px;
}

body.ys .yinse-layer-popup .yinse-notice-tip {
    padding: 0 25px 22px;
    color: #bed9ee !important;
}

@media (max-width: 767px) {
    body.ys .layui-layer.yinse-layer-popup {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        width: calc(100vw - 24px) !important;
        border-radius: 18px !important;
        /* Keep the first paint centered even if a stale script adds a Layer animation. */
        transform: translate(-50%, -50%) !important;
        /* Opacity only: never animate the transform used for centering. */
        -webkit-animation: yinse-notice-fade-in 200ms ease-out both !important;
        animation: yinse-notice-fade-in 200ms ease-out both !important;
        transition: none !important;
    }
    body.ys .yinse-layer-popup .yinse-notice-modal {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
    }
    body.ys .yinse-layer-popup .yinse-notice-modal-head { padding: 19px 20px 16px; }
    body.ys .yinse-layer-popup .yinse-notice-modal-head::after { right: 20px; left: 20px; }
    body.ys .yinse-layer-popup .yinse-notice-modal > .yinse-notice-popup-inner {
        margin: 12px 13px 16px;
        padding: 14px 16px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    body.ys .yinse-layer-popup .yinse-notice-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 15px 12px;
    }
    body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button { min-width: 0; }
    body.ys .yinse-layer-popup .yinse-notice-tip { padding: 0 16px 18px; }
}

@keyframes yinse-notice-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    body.ys .layui-layer.yinse-layer-popup {
        -webkit-animation: none !important;
        animation: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button { transition: none; }
    body.ys .yinse-layer-popup .yinse-notice-actions .yinse-button:hover { transform: none; }
}


/* Purchase details: compact, aligned rows for both direct item and inline item views. */
body.ys .yinse-item-content-root .yinse-item-form-wrap {
    gap: 10px;
}

body.ys .yinse-item-content-root .cyber-item-header-vertical {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

body.ys .yinse-item-content-root .cyber-static-logo-box {
    width: 76px !important;
    height: 76px !important;
    min-height: 0 !important;
    flex: 0 0 76px !important;
}

body.ys .yinse-item-content-root .cyber-static-logo-box .item-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.ys .yinse-item-content-root .cyber-item-header-vertical .yinse-item-inline-title {
    min-width: 0;
    width: auto !important;
}

body.ys .yinse-item-content-root .yinse-item-badges {
    gap: 6px;
    margin: 0 !important;
}

body.ys .yinse-item-content-root .yinse-item-badges .badge-soft {
    min-height: 26px;
    padding: 4px 9px !important;
}

body.ys .yinse-item-content-root .yinse-item-price {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: calc(clamp(1.85rem, 3vw, 2.65rem) + 24px);
    margin: 0 !important;
    padding: 11px 14px;
}

body.ys .yinse-item-content-root .yinse-item-price .price {
    font-size: clamp(1.85rem, 3vw, 2.65rem) !important;
}

body.ys .yinse-item-content-root form.yinse-form-stack {
    gap: 10px !important;
}

body.ys .yinse-item-content-root form.yinse-form-stack > .yinse-field,
body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):not(.cash-pay):has(> label.form-label) {
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
}

/* Common simple fields and optional account/captcha controls share a label-input row. */
body.ys .yinse-item-content-root .yinse-field--inline,
body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):has(> input.form-control),
body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):has(> select.form-control),
body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):has(> div > .form-check) {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

body.ys .yinse-item-content-root form.yinse-form-stack .yinse-field > .form-label,
body.ys .yinse-item-content-root form.yinse-form-stack > div:has(> label.form-label) > .form-label {
    min-width: 0;
    margin: 0 !important;
    line-height: 1.3;
}

body.ys .yinse-item-content-root form.yinse-form-stack .yinse-field--inline > .form-control,
body.ys .yinse-item-content-root form.yinse-form-stack .yinse-field--inline > .input-group,
body.ys .yinse-item-content-root form.yinse-form-stack .yinse-field--inline > .optional-card,
body.ys .yinse-item-content-root form.yinse-form-stack > div:has(> label.form-label) > .form-control,
body.ys .yinse-item-content-root form.yinse-form-stack > div:has(> label.form-label) > div {
    min-width: 0;
    width: 100%;
}

body.ys .yinse-item-content-root form.yinse-form-stack .form-control,
body.ys .yinse-item-content-root form.yinse-form-stack .optional-card {
    min-height: 40px;
}

body.ys .yinse-item-content-root .sku-list {
    gap: 6px;
    padding-top: 0 !important;
}

body.ys .yinse-item-content-root .sku {
    min-height: 34px;
    padding: 6px 10px !important;
}

body.ys .yinse-item-content-root .qty-group,
body.ys .yinse-item-content-root .yinse-captcha-group {
    min-width: 0;
    width: 100%;
    padding: 3px !important;
}

body.ys .yinse-item-content-root .qty-group {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 4px;
}

body.ys .yinse-item-content-root .qty-group .form-control {
    min-width: 0;
    min-height: 32px !important;
}

body.ys .yinse-item-content-root .change-num-sub,
body.ys .yinse-item-content-root .change-num-add {
    width: 32px;
    height: 32px;
}

body.ys .yinse-item-content-root .yinse-captcha-group .form-control {
    min-width: 0;
}

body.ys .yinse-item-content-root .captcha-img {
    min-width: 96px;
    width: 96px;
    height: 32px;
}

/* The core script inserts wholesale tiers immediately after .qty-group. */
body.ys .yinse-item-content-root .yinse-field--inline > .wholesale-table {
    grid-column: 1 / -1;
    margin: 2px 0 0 !important;
    border-radius: 10px !important;
    font-size: 0.82rem;
}

body.ys .yinse-item-content-root .wholesale-table th,
body.ys .yinse-item-content-root .wholesale-table td {
    padding: 6px 10px !important;
}

body.ys .yinse-item-content-root form.yinse-form-stack > div:has(> label.form-label) > div:has(> .form-check) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
}

body.ys .yinse-item-content-root .form-check-inline {
    margin-right: 0;
}

body.ys .yinse-item-content-root .cash-pay {
    padding: 10px 12px;
    border-radius: 12px;
}

body.ys .yinse-item-content-root .cash-pay > .form-label {
    margin-bottom: 6px !important;
}

body.ys .yinse-item-content-root .pay-list {
    gap: 7px;
}

body.ys .yinse-item-content-root .pay-list .pay {
    min-height: 38px;
    padding: 5px 10px;
}

body.ys .yinse-item-content-root .yinse-payment-notice {
    padding: 10px 12px;
    line-height: 1.5;
}

body.ys .yinse-item-content-root .yinse-login-required-pay {
    gap: 10px;
    padding: 10px 12px;
}

@media (max-width: 991.98px) {
    body.ys .yinse-item-content-root .cyber-right-form-block {
        padding: 14px !important;
    }
}

@media (max-width: 575px) {
    body.ys .yinse-item-content-root .cyber-item-header-vertical {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
    }

    body.ys .yinse-item-content-root .cyber-static-logo-box {
        width: 64px !important;
        height: 64px !important;
        flex-basis: 64px !important;
    }

    body.ys .yinse-item-content-root .yinse-field--inline,
    body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):has(> input.form-control),
    body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):has(> select.form-control),
    body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):has(> div > .form-check) {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
    }

    body.ys .yinse-item-content-root form.yinse-form-stack > .yinse-field,
    body.ys .yinse-item-content-root form.yinse-form-stack > div:not(.yinse-field):not(.cash-pay):has(> label.form-label) {
        padding: 9px 10px;
    }
}

/* The nested product detail panel needs no second accent line above the logo. */
body.ys .yinse-item-content-root .yinse-item-unified-panel::before {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
}


/* Product type options: full in-card name and price, never a floating price bubble. */
body.ys .yinse-item-content-root .yinse-field--category > .sku-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding-top: 2px !important;
}

body.ys .yinse-item-content-root .yinse-field--category .switch-race.sku {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    flex: 0 1 auto;
    box-sizing: border-box;
    width: max-content;
    min-width: 132px;
    max-width: min(100%, 240px);
    min-height: 80px;
    padding: 11px 14px !important;
    border-radius: 13px !important;
    text-align: left;
}

body.ys .yinse-item-content-root .yinse-field--category .switch-race .sku-label {
    display: block;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.ys .yinse-item-content-root .yinse-field--category .switch-race .badge-money,
body.ys .yinse-item-content-root .yinse-field--category .switch-race.is-primary .badge-money {
    position: static;
    z-index: auto;
    display: block;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 7px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(70, 149, 194, 0.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #246e9b !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    transform: none !important;
    pointer-events: none;
}

body.ys .yinse-item-content-root .yinse-field--category .switch-race.is-primary .badge-money {
    border-top-color: rgba(255, 255, 255, 0.34) !important;
    color: #f6fcff !important;
}

body.ys .yinse-item-content-root .yinse-field--category .switch-race .badge-money::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 575px) {
    body.ys .yinse-item-content-root .yinse-field--category > .sku-list {
        gap: 8px;
    }

    body.ys .yinse-item-content-root .yinse-field--category .switch-race.sku {
        min-width: 118px;
        max-width: min(100%, 220px);
        min-height: 72px;
        padding: 10px 12px !important;
    }
}


/* Valuation transition: no outgoing price; reveal only the new total. */
body.ys .yinse-item-content-root .yinse-item-price.is-valuation-pending .price,
body.ys .yinse-item-content-root .yinse-item-price.is-valuation-pending .yinse-price-meta,
body.ys .yinse-item-content-root .yinse-price-stock.is-stock-pending {
    visibility: hidden;
}

body.ys .yinse-item-content-root .yinse-item-price .yinse-price-loading {
    position: absolute;
    top: 50%;
    left: 14px;
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(113, 182, 225, 0.32);
    border-radius: 9px;
    background: rgba(229, 246, 255, 0.62);
    color: #347aa5;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    pointer-events: none;
    transform: translateY(-50%);
}

body.ys .yinse-item-content-root .yinse-item-price.is-price-loading-visible .yinse-price-loading {
    display: inline-flex;
    animation: yinse-price-hint-in 0.18s ease-out both;
}

body.ys .yinse-item-content-root .yinse-item-price .yinse-price-loading::before {
    content: "";
    width: 26px;
    height: 8px;
    background:
        radial-gradient(circle at 4px 50%, currentColor 0 2px, transparent 2.5px),
        radial-gradient(circle at 13px 50%, currentColor 0 2px, transparent 2.5px),
        radial-gradient(circle at 22px 50%, currentColor 0 2px, transparent 2.5px);
    animation: yinse-price-dots 1.1s ease-in-out infinite;
}

@keyframes yinse-price-hint-in {
    from { opacity: 0; transform: translate3d(8px, -50%, 0); }
    to { opacity: 1; transform: translate3d(0, -50%, 0); }
}

@keyframes yinse-price-dots {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

body.ys .yinse-item-content-root .yinse-item-price.is-price-entering .price {
    animation: yinse-price-arrive 0.54s cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

@keyframes yinse-price-arrive {
    0% { opacity: 0; filter: blur(3px); transform: translate3d(24px, 0, 0); }
    65% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; filter: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-item-content-root .yinse-item-price.is-price-entering .price,
    body.ys .yinse-item-content-root .yinse-item-price.is-price-loading-visible .yinse-price-loading,
    body.ys .yinse-item-content-root .yinse-item-price .yinse-price-loading::before {
        animation: none;
    }
}

/* Item purchase summary: price first, compact service states in the right-hand space. */
body.ys .yinse-item-content-root .yinse-item-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

body.ys .yinse-item-content-root .yinse-item-heading .yinse-item-inline-title {
    margin: 0 !important;
}

body.ys .yinse-item-content-root .yinse-share-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(51, 164, 198, 0.32);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(237, 250, 255, 0.56), rgba(255, 255, 255, 0.18));
    color: #287393;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.ys .yinse-item-content-root .yinse-share-action:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 164, 198, 0.55);
    background: rgba(225, 248, 255, 0.68);
    box-shadow: 0 6px 16px rgba(30, 112, 148, 0.12);
}

body.ys .yinse-item-content-root .yinse-share-action:focus-visible {
    outline: 2px solid var(--yinse-accent, #35c9d5);
    outline-offset: 2px;
}

body.ys .yinse-item-content-root .yinse-item-promo {
    margin: 0 !important;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    padding: 7px 13px !important;
    border: 1px solid rgba(58, 161, 203, 0.32) !important;
    border-radius: 10px !important;
    background: linear-gradient(100deg, rgba(225, 246, 255, 0.72), rgba(255, 239, 248, 0.42)) !important;
    color: #256a8c !important;
    font-size: 0.8rem !important;
    font-weight: 850 !important;
    font-variant-numeric: tabular-nums;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 5px 16px rgba(39, 123, 164, 0.08) !important;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up:empty {
    display: none !important;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up:not(:empty) {
    animation: yinse-promo-arrive 0.45s cubic-bezier(0.22, 0.85, 0.3, 1) both;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up:hover {
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 5px 16px rgba(39, 123, 164, 0.08) !important;
}
body.ys .yinse-item-content-root .yinse-item-promo .snap-up::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(64, 163, 205, 0.13);
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up::after {
    display: none;
    content: none;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up.badge-soft-primary {
    border-color: rgba(238, 113, 158, 0.38) !important;
    background: linear-gradient(100deg, rgba(255, 230, 241, 0.78), rgba(239, 245, 255, 0.5)) !important;
    color: #b74170 !important;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up.badge-soft-primary::before {
    animation: yinse-promo-beacon 2.2s ease-in-out infinite;
}

body.ys .yinse-item-content-root .yinse-item-promo .snap-up.badge-soft-muted {
    border-color: rgba(118, 139, 158, 0.25) !important;
    background: rgba(235, 243, 247, 0.55) !important;
    color: #687f90 !important;
}

body.ys .yinse-item-content-root .yinse-item-price {
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 8px;
    padding-right: 16px;
}

body.ys .yinse-item-content-root .yinse-item-price::after {
    display: none;
    content: none;
}

body.ys .yinse-item-content-root .yinse-price-main {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 42px;
}

body.ys .yinse-item-content-root .yinse-price-meta {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 7px;
    margin-left: auto;
}

body.ys .yinse-item-content-root .yinse-price-meta-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 31px;
    padding: 6px 9px;
    border: 1px solid rgba(65, 164, 195, 0.22);
    border-radius: 9px;
    background: rgba(236, 250, 255, 0.38);
    color: #347f94;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

body.ys .yinse-item-content-root .yinse-price-meta-item > i {
    color: #409bb2;
    font-size: 0.88rem;
}

body.ys .yinse-item-content-root .yinse-price-stock {
    min-width: 92px;
    border-color: rgba(59, 173, 141, 0.24);
    background: rgba(224, 251, 242, 0.38);
    color: #218a70;
}

body.ys .yinse-item-content-root .yinse-price-stock > i,
body.ys .yinse-item-content-root .yinse-price-stock .item-stock.badge-soft-success {
    color: #218a70 !important;
}

body.ys .yinse-item-content-root .yinse-price-stock:has(.badge-soft-danger) {
    border-color: rgba(225, 102, 132, 0.32);
    background: rgba(255, 235, 241, 0.48);
}

body.ys .yinse-item-content-root .yinse-price-stock:has(.badge-soft-danger) > i,
body.ys .yinse-item-content-root .yinse-price-stock .item-stock.badge-soft-danger {
    color: #b94671 !important;
}

body.ys .yinse-item-content-root .yinse-price-stock .item-stock {
    display: inline;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font: inherit;
    white-space: nowrap;
}

body.ys .yinse-item-content-root .yinse-price-stock.is-stock-pending {
    border-color: rgba(65, 164, 195, 0.22);
    background: rgba(236, 250, 255, 0.38);
}

body.ys .yinse-item-content-root .yinse-price-stock.is-stock-pending > i {
    color: #409bb2;
}
body.ys .yinse-item-content-root .yinse-price-stock:is(.is-stock-pending, .is-stock-unavailable) .item-stock {
    visibility: hidden;
}

body.ys .yinse-item-content-root .yinse-price-stock.is-stock-pending::after {
    content: "查询中";
    position: absolute;
    left: 30px;
    top: 50%;
    color: #378699;
    transform: translateY(-50%);
}

body.ys .yinse-item-content-root .yinse-item-price.is-price-entering .yinse-price-delivery {
    animation: yinse-meta-arrive 0.4s 0.13s cubic-bezier(0.22, 0.85, 0.3, 1) both;
}

body.ys .yinse-item-content-root .yinse-price-stock.is-stock-unavailable {
    border-color: rgba(118, 139, 158, 0.25);
    background: rgba(235, 243, 247, 0.55);
}

body.ys .yinse-item-content-root .yinse-price-stock.is-stock-unavailable > i {
    color: #7c8491;
}
body.ys .yinse-item-content-root .yinse-price-stock.is-stock-unavailable::after {
    content: "库存待确认";
    position: absolute;
    left: 23px;
    top: 50%;
    color: #7c8491;
    transform: translateY(-50%);
}

body.ys .yinse-item-content-root .yinse-price-stock.is-stock-entering {
    animation: yinse-meta-arrive 0.4s cubic-bezier(0.22, 0.85, 0.3, 1) both;
}

@keyframes yinse-meta-arrive {
    from { opacity: 0; transform: translate3d(10px, 4px, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes yinse-promo-arrive {
    from { opacity: 0; transform: translate3d(0, -7px, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes yinse-promo-beacon {
    0%, 100% { box-shadow: 0 0 0 4px rgba(218, 88, 135, 0.13); }
    50% { box-shadow: 0 0 0 7px rgba(218, 88, 135, 0.02); }
}

@media (max-width: 575px) {
    body.ys .yinse-item-content-root .yinse-item-price {
        column-gap: 10px;
        padding: 10px 12px;
    }

    body.ys .yinse-item-content-root .yinse-price-meta {
        gap: 5px;
    }

    body.ys .yinse-item-content-root .yinse-price-meta-item {
        gap: 4px;
        padding: 5px 7px;
        font-size: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-item-content-root .yinse-item-price.is-price-entering .yinse-price-delivery,
    body.ys .yinse-item-content-root .yinse-price-stock.is-stock-entering,
    body.ys .yinse-item-content-root .yinse-item-promo .snap-up:not(:empty),
    body.ys .yinse-item-content-root .yinse-item-promo .snap-up.badge-soft-primary::before {
        animation: none;
    }
}
/* Soft signal lights shared by the primary panels; decoration only, no hit area. */
body.ys .yinse-shop-layout > .yinse-sidebar-panel::after,
body.ys .yinse-shop-layout > .yinse-catalog-panel::after,
body.ys .yinse-shop-layout > .yinse-inline-item-panel::after,
body.ys .yinse-item-content-root .yinse-item-unified-panel::after,
body.ys .yinse-query-panel::after,
body.ys .order-results > .panel::after,
body.ys .order-results .order-item::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 3;
    display: block;
    width: 64px;
    height: 12px;
    border: 0;
    border-radius: 0;
    /* Vector circles use normal edge antialiasing instead of half-pixel gradient stops. */
    background: url("./PanelSignalLights.svg?v=1") center / 100% 100% no-repeat;
    box-shadow: none;
    opacity: 0.92;
    transform: none;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

body.ys .yinse-shop-layout > .yinse-sidebar-panel:hover::after,
body.ys .yinse-shop-layout > .yinse-catalog-panel:hover::after,
body.ys .yinse-shop-layout > .yinse-inline-item-panel:hover::after,
body.ys .yinse-item-content-root .yinse-item-unified-panel:hover::after,
body.ys .yinse-query-panel:hover::after,
body.ys .order-results > .panel:hover::after,
body.ys .order-results .order-item:hover::after {
    opacity: 1;
}

/* Only the outer product panel is decorated; avoid a duplicate above the cover. */
body.ys .yinse-inline-item-panel .yinse-item-unified-panel::after {
    display: none !important;
    content: none !important;
}

/* Replace the old header dots instead of stacking two sets. */
body.ys .yinse-catalog-heading::after,
body.ys .yinse-query-heading::after {
    display: none !important;
}

@media (max-width: 767px) {
    body.ys .yinse-shop-layout > .yinse-sidebar-panel::after,
    body.ys .yinse-shop-layout > .yinse-catalog-panel::after,
    body.ys .yinse-shop-layout > .yinse-inline-item-panel::after,
    body.ys .yinse-item-content-root .yinse-item-unified-panel::after,
    body.ys .yinse-query-panel::after,
    body.ys .order-results > .panel::after,
    body.ys .order-results .order-item::after {
        top: 14px;
        right: 16px;
        width: 52px;
        height: 10px;
        /* Keep true circles and the existing mobile centers and diameter. */
        background-image: url("./PanelSignalLightsMobile.svg?v=1");
    }

    /* Leave the mobile category close control unobstructed. */
    body.ys .yinse-shop-layout > .yinse-sidebar-panel::after {
        right: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ys .yinse-shop-layout > .yinse-sidebar-panel::after,
    body.ys .yinse-shop-layout > .yinse-catalog-panel::after,
    body.ys .yinse-shop-layout > .yinse-inline-item-panel::after,
    body.ys .yinse-item-content-root .yinse-item-unified-panel::after,
    body.ys .yinse-query-panel::after,
    body.ys .order-results > .panel::after,
    body.ys .order-results .order-item::after {
        transition: none;
    }
}

/* Keep the search controls below the upper-right signal lights.
   Narrow layouts already place the toolbar in normal document flow. */
@media (min-width: 768px) {
    body.ys .yinse-catalog-panel > .yinse-catalog-heading > .yinse-catalog-tools {
        top: 42px !important;
    }
}

@media (min-width: 1181px) {
    body.ys .yinse-catalog-panel > .yinse-catalog-heading {
        min-height: 102px !important;
    }
}
/* The image-banner shell sits at 900; ambient motes must paint above it.
   Keep the layer noninteractive and below modal/lightbox UI. */
body.yinse-theme .yinse-heart-particle-layer {
    z-index: 901;
    pointer-events: none;
}

/* Mobile image banner: readable content in normal flow, not scaled-down desktop overlays. */
@media (max-width: 767px) {
    body.ys .yinse-hero-banner--image {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: 16px;
        min-height: 0;
        height: auto;
        padding: 22px 18px 18px !important;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-title,
    body.ys .yinse-hero-banner--image .xigua-hero-side-notice,
    body.ys .yinse-hero-banner--image .yinse-hero-actions {
        position: relative;
        inset: auto;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-title {
        gap: 7px;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-title > span {
        max-width: 100%;
        font-size: clamp(28px, 7.4vw, 34px) !important;
        line-height: 1.14 !important;
        overflow-wrap: anywhere;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-title > strong {
        max-width: 100%;
        font-size: 12px !important;
        line-height: 1.6 !important;
        font-weight: 650;
        text-wrap: pretty;
    }

    body.ys .yinse-hero-banner--image .xigua-hero-side-notice {
        gap: 8px;
    }

    body.ys .yinse-hero-banner--image .xigua-hero-side-notice p {
        display: block;
        min-height: 0;
        padding: 9px 12px;
        border-radius: 11px;
        font-size: 12px;
        font-weight: 650;
        line-height: 1.65;
        text-align: left;
        overflow-wrap: anywhere;
    }

    body.ys .yinse-hero-banner--image .xigua-hero-side-notice p:nth-child(3) {
        font-size: 11.5px;
        font-weight: 550;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions {
        padding: 0;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-nav-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        max-height: none;
        overflow: visible;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item {
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 40px;
        height: auto;
        gap: 7px;
        padding: 7px 10px;
        border-radius: 11px 11px 11px 5px;
        font-size: 12px;
        line-height: 1.4;
        letter-spacing: 0;
        box-sizing: border-box;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item i {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    body.ys .yinse-hero-banner--image .yinse-hero-actions .cyber-btn-item span {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Keep mobile catalog search in one compact glass row. */
@media (max-width: 767px) {
    body.ys .yinse-catalog-tools > .yinse-search-combo {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        padding: 4px;
        border: 1px solid var(--yinse-border-strong);
        border-radius: var(--yinse-radius-pill);
        box-sizing: border-box;
    }

    body.ys .yinse-catalog-tools .yinse-searchbox-combo {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        height: 36px;
        min-height: 36px;
        gap: 8px;
        margin: 0;
        padding: 0 0 0 10px;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-sizing: border-box;
    }

    body.ys .yinse-catalog-tools .yinse-searchbox-combo input {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        padding: 0;
        font-size: 16px;
    }

    body.ys .yinse-catalog-tools .yinse-search-combo > .item-search-trigger {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        min-height: 36px;
        margin: 0;
        padding: 0 12px;
        gap: 5px;
        font-size: 12px;
        white-space: nowrap;
        box-sizing: border-box;
    }
}

/* A viewport-fixed mobile wallpaper avoids scrolling the body's background image. */
.yinse-mobile-wallpaper {
    display: none;
}

@media (max-width: 767px) {
    body.yinse-theme.ys {
        /* Keep the negative-z wallpaper and existing mask above the body paint. */
        isolation: isolate;
        background-image: none !important;
    }

    body.yinse-theme.ys > .yinse-mobile-wallpaper {
        display: block;
        position: fixed;
        inset: 0;
        z-index: -2;
        width: 100%;
        height: 100vh;
        /* A stable large viewport prevents toolbar collapse from resizing the image. */
        height: 100lvh;
        pointer-events: none;
        background-color: #dff4f8;
        background-image: var(--yinse-page-background-image, none);
        background-size: cover;
        background-position: 60% top;
        background-repeat: no-repeat;
    }
}
