        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --tb-orange: #ff5000;
            --tb-orange-deep: #f04b00;
            --tb-bg: #f4f4f4;
            --tb-card: #ffffff;
            --tb-text: #333333;
            --tb-sub: #666666;
            --tb-muted: #999999;
            --tb-line: #eeeeee;
            --tb-soft: #fff0e8;
            --tb-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
            background:
                radial-gradient(circle at top right, rgba(var(--tb-orange-light-rgb), 0.08), transparent 24%),
                linear-gradient(180deg, #fbfbfd 0%, var(--tb-bg) 140px, var(--tb-bg) 100%);
            color: var(--tb-text);
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        input,
        textarea {
            font: inherit;
        }

        ul,
        li {
            list-style: none;
        }

        .container {
            width: 1200px;
            max-width: calc(100% - 32px);
            margin: 0 auto;
        }

        .page-shell {
            min-height: calc(100vh - 240px);
        }

        .site-header {
            background: rgba(255, 255, 255, 0.94);
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 30;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(14px);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .logo-area {
            min-width: 160px;
            color: var(--tb-orange);
            font-weight: 700;
            font-size: 24px;
            line-height: 1.05;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0;
        }

        .logo-text span {
            display: block;
            font-size: 14px;
            margin-top: 4px;
        }

        .search-area {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        @media (min-width: 961px) {
            .search-area.search-hidden-desktop {
                display: none !important;
            }
        }

        @media (max-width: 960px) {
            .search-area.search-hidden-mobile {
                display: none !important;
            }
        }

        .search-wrap {
            width: 760px;
            max-width: 100%;
            display: flex;
            align-items: center;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 14px 28px rgba(var(--tb-orange-rgb), 0.08);
        }

        .search-input {
            width: 100%;
            height: 48px;
            border: 2px solid var(--tb-orange);
            border-right: 0;
            padding: 0 20px;
            outline: none;
            font-size: 14px;
            background: #fff;
        }

        .search-shop-btn {
            height: 48px;
            min-width: 144px;
            border: 2px solid var(--tb-orange);
            cursor: pointer;
            font-size: 15px;
            font-weight: 700;
        }

        .search-shop-btn {
            background: var(--tb-orange);
            color: #fff;
        }

        .header-right {
            min-width: 120px;
            display: flex;
            justify-content: flex-end;
        }

        .header-query {
            height: 38px;
            padding: 0 16px;
            border-radius: 999px;
            border: 1px solid #eef2f7;
            background: #fff;
            color: var(--tb-sub);
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
        }

        .header-query.is-hidden {
            opacity: 0;
            pointer-events: none;
        }

        .home-wrap {
            padding: 24px 0 68px;
        }

        .shop-card {
            background: var(--tb-card);
            border-radius: 22px;
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
            margin-bottom: 20px;
            box-shadow: var(--tb-shadow);
            border: 1px solid rgba(var(--tb-orange-rgb), 0.08);
            background: linear-gradient(135deg, #ffffff 0%, #fffaf6 100%);
            position: relative;
            overflow: hidden;
        }

        .shop-card::after {
            content: "";
            position: absolute;
            right: -48px;
            top: -52px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(var(--tb-orange-rgb), 0.12) 0%, rgba(var(--tb-orange-rgb), 0) 70%);
            pointer-events: none;
        }

        .shop-info-left {
            display: flex;
            align-items: center;
            gap: 22px;
            min-width: 0;
        }

        .shop-logo {
            width: 82px;
            height: 82px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            transform: rotate(45deg);
            flex-shrink: 0;
        }

        .shop-logo div,
        .shop-avatar {
            border-radius: 6px;
        }

        .shop-avatar {
            width: 82px;
            height: 82px;
            object-fit: cover;
            flex-shrink: 0;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 14px 28px rgba(var(--tb-orange-rgb), 0.12);
        }

        .shop-logo .c1 { background: #f7b500; }
        .shop-logo .c2 { background: #fa6400; }
        .shop-logo .c3 { background: #86d739; }
        .shop-logo .c4 { background: #2d8cf0; }

        .shop-details {
            min-width: 0;
        }

        .shop-title-row {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 10px;
        }

        .shop-details h1 {
            font-size: 22px;
            font-weight: 700;
            color: #333;
        }

        .sub-links {
            font-size: 12px;
            color: var(--tb-muted);
            white-space: nowrap;
        }

        .shop-desc {
            margin-bottom: 10px;
            font-size: 13px;
            color: var(--tb-sub);
            line-height: 1.6;
        }

        .shop-stats {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
            font-size: 12px;
            color: var(--tb-sub);
        }

        .tag-gold {
            background: #d89f3c;
            color: #fff;
            padding: 4px 9px;
            border-radius: 6px;
            font-size: 12px;
            line-height: 1;
        }

        .diamonds {
            color: #4da1ff;
            letter-spacing: 2px;
        }

        .stat-item {
            color: var(--tb-muted);
        }

        .stat-item span {
            color: var(--tb-orange);
            font-weight: 700;
        }

        .shop-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .btn {
            min-width: 94px;
            height: 44px;
            border-radius: 24px;
            border: 1px solid transparent;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
            padding: 0 20px;
        }

        .btn-cs {
            background: #fff;
            border-color: #e5e5e5;
            color: #333;
        }

        .btn-cs:hover {
            border-color: var(--tb-orange);
            color: var(--tb-orange);
        }

        .btn-follow {
            background: var(--tb-orange);
            border-color: var(--tb-orange);
            color: #fff;
            font-weight: 700;
        }

        .btn-follow:hover {
            background: var(--tb-orange-deep);
            border-color: var(--tb-orange-deep);
        }

        .btn-entry {
            background: linear-gradient(90deg, var(--tb-orange-light) 0%, var(--tb-orange) 100%);
            border-color: transparent;
            color: #fff;
            font-weight: 700;
            box-shadow: 0 12px 22px rgba(var(--tb-orange-rgb), 0.16);
        }

        .btn-entry:hover {
            background: var(--tb-orange-deep);
            border-color: var(--tb-orange-deep);
        }

        .main-layout {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }

        .sidebar {
            width: 220px;
            background: #fff;
            border-radius: 20px;
            padding: 10px 0;
            box-shadow: var(--tb-shadow);
            flex-shrink: 0;
            border: 1px solid rgba(226, 232, 240, 0.9);
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            font-size: 14px;
            color: #333;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .nav-item.no-icon {
            gap: 0;
        }

        #tb2CategoryList.tb2-hide-cat-icon-desktop .nav-item {
            gap: 0;
        }

        #tb2CategoryList.tb2-hide-cat-icon-desktop .nav-icon {
            display: none;
        }

        .nav-icon {
            width: 46px;
            height: 46px;
            border-radius: 14px;
            overflow: hidden;
            background: linear-gradient(145deg, #f6f7fb, #eef3fb);
            box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: var(--tb-orange);
            font-size: 18px;
            font-weight: 800;
        }

        .nav-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .nav-icon.is-generated {
            position: relative;
            background: var(--cat-cover-bg);
            border: 1px solid var(--cat-cover-border);
            box-shadow: 0 8px 18px var(--cat-cover-shadow), inset 0 1px 0 rgba(255,255,255,0.16);
            color: var(--cat-cover-ink);
            font-size: 0;
            isolation: isolate;
        }

        .nav-icon.is-generated::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 72% 24%, var(--cat-cover-soft), transparent 56%);
            opacity: 0.84;
        }

        .nav-icon-text {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 100%;
            padding: 0 4px;
            letter-spacing: 0.05em;
            text-shadow: 0 1px 10px rgba(15, 23, 42, 0.12);
            font-weight: 800;
        }

        .nav-icon-text[data-length="1"] { font-size: 19px; }
        .nav-icon-text[data-length="2"] { font-size: 12px; }
        .nav-icon-text[data-length="3"] { font-size: 10px; }
        .nav-icon-text[data-length="4"] { font-size: 9px; }

        .nav-icon.is-all {
            background: linear-gradient(135deg, rgba(var(--tb-orange-rgb), 0.14), rgba(var(--tb-orange-light-rgb), 0.08));
            font-size: 20px;
            letter-spacing: 0;
        }

        .nav-text {
            min-width: 0;
            line-height: 1.35;
            word-break: break-word;
        }

        #tb2CategoryList.tb2-no-cat-icon .nav-item {
            padding-top: 13px;
            padding-bottom: 13px;
        }

        .nav-item:hover {
            color: var(--tb-orange);
        }

        .nav-item.active {
            background: var(--tb-soft);
            color: var(--tb-orange);
            font-weight: 700;
            border-radius: 12px;
            margin: 0 12px;
            box-shadow: 0 10px 18px rgba(var(--tb-orange-rgb), 0.08);
        }

        .nav-item.active .nav-icon {
            background: linear-gradient(135deg, rgba(var(--tb-orange-light-rgb), 0.18), rgba(var(--tb-orange-rgb), 0.08));
            box-shadow: 0 10px 18px rgba(var(--tb-orange-rgb), 0.12);
        }

        .content-area {
            flex: 1;
            background: #fff;
            border-radius: 22px;
            padding: 22px 24px 28px;
            box-shadow: var(--tb-shadow);
            min-width: 0;
            border: 1px solid rgba(226, 232, 240, 0.9);
        }

        .tabs {
            display: flex;
            gap: 36px;
            align-items: center;
            margin-bottom: 24px;
            border-bottom: 1px solid var(--tb-line);
            padding-bottom: 14px;
        }

        .tab-item {
            font-size: 14px;
            color: var(--tb-sub);
            cursor: pointer;
            position: relative;
        }

        .tab-item.active {
            color: var(--tb-orange);
            font-weight: 700;
        }

        .tab-item.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -15px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--tb-orange-light), var(--tb-orange));
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 18px 16px;
            align-items: start;
        }

        .product-grid.is-loading {
            pointer-events: none;
        }

        .product-skeleton {
            cursor: default;
            border-color: #eef2f7;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
        }

        .product-skeleton .product-img,
        .product-skeleton .skeleton-line {
            position: relative;
            overflow: hidden;
            background: #f3f5f9;
        }

        .product-skeleton .product-img::after,
        .product-skeleton .skeleton-line::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: -40%;
            width: 38%;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.74) 50%, transparent 100%);
            animation: tb2-skeleton-wave 1.1s ease-in-out infinite;
        }

        .skeleton-line {
            border-radius: 8px;
            margin: 0 10px;
        }

        .skeleton-title {
            height: 14px;
            margin-bottom: 8px;
        }

        .skeleton-price {
            height: 12px;
            width: 52%;
            margin-bottom: 6px;
        }

        .product-card {
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.2s ease, opacity 0.2s ease;
            width: 100%;
            max-width: none;
            padding: 2px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 245, 0.98) 100%);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
            border: 1px solid rgba(226, 232, 240, 0.88);
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
            border-color: rgba(var(--tb-orange-rgb), 0.18);
        }

        .product-card.is-sold-out {
            opacity: 0.82;
            filter: saturate(0.92);
        }

        .product-card.is-sold-out .product-img-cover {
            filter: grayscale(0.18);
        }

        .product-img {
            width: 100%;
            aspect-ratio: 1 / 1;
            border-radius: 14px;
            background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            padding: 12px;
        }

        .product-img-cover {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 10px;
            background: #fff;
            opacity: 0;
            transition: opacity 0.24s ease;
        }

        .product-img-cover.is-loaded {
            opacity: 1;
        }

        .product-img-fallback {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 16px;
            color: #fff;
            text-align: center;
            font-weight: 700;
        }

        .img-title-large {
            font-size: 18px;
            margin-bottom: 6px;
            line-height: 1.3;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
        }

        .img-sub {
            font-size: 12px;
            opacity: 0.92;
            line-height: 1.4;
        }

        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 2;
            padding: 4px 9px;
            border-radius: 8px;
            background: linear-gradient(135deg, var(--tb-orange-light), var(--tb-orange));
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            box-shadow: 0 3px 8px rgba(var(--tb-orange-rgb), 0.22);
        }

        .product-stock-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 2;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.68);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            backdrop-filter: blur(2px);
        }

        .cover-buy-btn {
            position: absolute;
            left: 50%;
            bottom: 10px;
            transform: translateX(-50%);
            z-index: 3;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 32px;
            min-width: 104px;
            padding: 0 14px;
            border-radius: 999px;
            border: 0;
            background: linear-gradient(90deg, #ff8a2a 0%, #ff5a36 100%);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(255, 90, 54, 0.22);
            display: none;
        }

        .cover-buy-btn:hover {
            filter: brightness(1.03);
        }

        .cover-buy-btn[disabled],
        .cover-buy-btn.is-disabled {
            cursor: not-allowed;
            opacity: 0.72;
            filter: grayscale(0.08);
            box-shadow: none;
        }

        .product-title {
            padding: 0 10px;
            font-size: 13px;
            line-height: 1.4;
            color: #333;
            min-height: 32px;
            height: auto;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            margin-bottom: 4px;
        }

        .product-price-row {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 0 3px;
            padding: 0 10px 5px;
        }

        .price-symbol {
            font-size: 12px;
            color: var(--tb-orange);
        }

        .price-value {
            font-size: 18px;
            color: var(--tb-orange);
            font-weight: 700;
        }

        .sales-count {
            font-size: 12px;
            color: var(--tb-muted);
            margin-left: 8px;
        }

        .price-buy-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            border: 0;
            height: 26px;
            min-width: 54px;
            padding: 0 10px;
            border-radius: 999px;
            background: linear-gradient(90deg, #ff872c 0%, #ef524b 100%);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 8px 14px rgba(239, 82, 75, 0.2);
            transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
        }

        .price-buy-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 16px rgba(239, 82, 75, 0.24);
            filter: brightness(1.02);
        }

        .price-buy-btn:active {
            transform: translateY(0);
            box-shadow: 0 6px 12px rgba(239, 82, 75, 0.2);
            filter: saturate(0.98);
        }

        .price-buy-btn[disabled],
        .price-buy-btn.is-disabled {
            background: linear-gradient(90deg, #c9ced8 0%, #b8bfcb 100%);
            box-shadow: none;
            color: #fff;
            cursor: not-allowed;
            opacity: 0.92;
            transform: none;
            filter: none;
        }

        .empty-state,
        .loading-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 90px 20px;
            color: var(--tb-muted);
            font-size: 14px;
        }

        .fixed-tools {
            position: fixed;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
            display: flex;
            flex-direction: column;
            align-items: stretch;
            z-index: 15;
            border: 1px solid rgba(226, 232, 240, 0.88);
            overflow: hidden;
            width: 96px;
        }

        .tool-item {
            appearance: none;
            border: 0;
            background: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 108px;
            padding: 16px 10px;
            font-size: 13px;
            font-weight: 600;
            color: #4b5563;
            cursor: pointer;
            text-align: center;
            transition: background 0.2s ease, color 0.2s ease;
            border-bottom: 1px solid #eef1f5;
            width: 100%;
            font-family: inherit;
        }

        .tool-item:last-child {
            border-bottom: none;
        }

        .tool-item:hover {
            background: #fff8f3;
            color: var(--tb-orange);
        }

        .tool-icon {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: inherit;
        }

        .tool-icon svg {
            width: 28px;
            height: 28px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tool-label {
            display: block;
            line-height: 1.35;
        }

        .mobile-bottom-tools {
            display: none;
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 45;
            padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
            border-top: 1px solid #e8edf3;
            border-radius: 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.08);
            backdrop-filter: blur(8px);
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 0;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        body.tb2-mobile-input-active .mobile-bottom-tools {
            transform: translateY(calc(100% + env(safe-area-inset-bottom)));
            opacity: 0;
            pointer-events: none;
        }

        body.tb2-in-detail .mobile-bottom-tools {
            display: none !important;
        }

        .mobile-detail-buybar {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 47;
            display: none;
            align-items: center;
            gap: 10px;
            padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
            background: rgba(255, 255, 255, 0.98);
            border-top: 1px solid #e8edf3;
            box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.09);
            backdrop-filter: blur(10px);
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .mobile-detail-buy-meta {
            flex: 1;
            min-width: 0;
        }

        .mobile-detail-buy-title {
            font-size: 13px;
            font-weight: 700;
            color: #111827;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .mobile-detail-buy-sub {
            margin-top: 2px;
            font-size: 12px;
            color: #6b7280;
        }

        .mobile-detail-buy-sub span:last-child {
            color: #ef524b;
            font-weight: 800;
        }

        .mobile-detail-buy-btn {
            position: relative;
            height: 42px;
            min-width: 98px;
            padding: 0 16px;
            border-radius: 999px;
            border: 0;
            background: linear-gradient(90deg, #ff872c 0%, #ef524b 100%);
            color: #fff;
            font-size: 14px;
            font-weight: 800;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(239, 82, 75, 0.22);
            transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.2s ease, opacity 0.2s ease;
        }

        .mobile-detail-buy-btn:active {
            transform: scale(0.98);
            box-shadow: 0 6px 14px rgba(239, 82, 75, 0.2);
        }

        .mobile-detail-buy-btn.is-loading {
            cursor: wait;
            pointer-events: none;
        }

        .mobile-detail-buy-btn.is-loading::after {
            content: "";
            position: absolute;
            right: 12px;
            top: 50%;
            width: 14px;
            height: 14px;
            margin-top: -7px;
            border-radius: 999px;
            border: 2px solid rgba(255, 255, 255, 0.45);
            border-top-color: #fff;
            animation: tb2-spin 0.75s linear infinite;
        }

        .mobile-detail-buy-btn[disabled],
        .mobile-detail-buy-btn.is-unavailable {
            cursor: not-allowed;
            background: linear-gradient(90deg, #c7ccd8 0%, #b6bdc9 100%);
            box-shadow: 0 8px 16px rgba(148, 163, 184, 0.2);
            opacity: 0.96;
            filter: none;
        }

        .mb-tool {
            appearance: none;
            border: 0;
            background: transparent;
            color: #8b93a1;
            border-radius: 0;
            height: 48px;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: color 0.18s ease;
            white-space: nowrap;
            padding: 4px 2px;
            position: relative;
        }

        .mb-tool + .mb-tool::before {
            content: "";
            position: absolute;
            left: 0;
            top: 12px;
            bottom: 12px;
            width: 1px;
            background: #f1f4f8;
        }

        .mb-tool:active {
            color: #ff5a1f;
        }

        .mb-tool.is-active {
            color: #ff5a1f;
            font-weight: 700;
        }

        .mb-tool-icon {
            width: 16px;
            height: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: currentColor;
            flex-shrink: 0;
        }

        .mb-tool-icon svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .detail-page {
            padding: 16px 0 44px;
        }

        .detail-page .container {
            width: 980px;
            max-width: calc(100% - 24px);
        }

        .detail-top-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
            color: #666;
            cursor: pointer;
            font-size: 14px;
        }

        .detail-top-link:hover {
            color: var(--tb-orange);
        }

        .detail-card {
            background: #fff;
            border-radius: 22px;
            box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
            border: 1px solid rgba(226, 232, 240, 0.95);
            overflow: hidden;
            display: grid;
            grid-template-columns: 340px minmax(0, 1fr);
            position: relative;
        }

        .detail-card::after {
            content: "";
            position: absolute;
            right: 20px;
            top: 18px;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(var(--tb-orange-rgb), 0.05) 0%, rgba(var(--tb-orange-rgb), 0) 70%);
            pointer-events: none;
        }

        .detail-cover {
            width: auto;
            min-height: 318px;
            position: relative;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            text-align: center;
            color: #fff;
            overflow: hidden;
        }

        .detail-cover-media {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 300px;
            aspect-ratio: 1 / 1;
            border-radius: 14px;
            background: linear-gradient(180deg, #7aa6ef 0%, #6696e8 100%);
            border: 1px solid rgba(226, 232, 240, 0.86);
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 14px;
        }

        .detail-cover img {
            position: relative;
            inset: auto;
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            z-index: 2;
            border-radius: 16px;
            background: transparent;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .detail-cover img.is-loaded {
            opacity: 1;
        }

        .detail-cover-title {
            position: relative;
            z-index: 2;
            max-width: 240px;
            font-size: 24px;
            font-weight: 700;
            line-height: 1.3;
            text-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 18px;
        }

        .detail-cover-tag {
            position: absolute;
            right: 20px;
            bottom: 14px;
            z-index: 2;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            background: rgba(15, 23, 42, 0.72);
            color: #fff;
        }

        .detail-main {
            flex: 1;
            padding: 22px 22px 20px 8px;
            display: flex;
            flex-direction: column;
        }

        .detail-title {
            font-size: 17px;
            font-weight: 700;
            line-height: 1.5;
            color: #111827;
            margin-bottom: 14px;
        }

        .detail-price-box {
            background: linear-gradient(180deg, #f8f8f8 0%, #fcfcfc 100%);
            border: 1px solid #f1f5f9;
            border-radius: 16px;
            padding: 12px 14px;
            margin-bottom: 12px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
        }

        .detail-price-row {
            display: flex;
            align-items: flex-end;
            gap: 4px;
            color: #e26f24;
            margin-bottom: 12px;
        }

        .detail-price-row .unit {
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
            margin-bottom: 6px;
        }

        .detail-price-row .amount {
            font-size: 24px;
            font-weight: 800;
            line-height: 0.9;
        }

        .detail-price-row .old {
            margin-left: 8px;
            font-size: 14px;
            color: #b3b3b3;
            text-decoration: line-through;
            line-height: 1.6;
        }

        .detail-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 14px;
            color: #6b7280;
            font-size: 11px;
        }

        .detail-meta strong {
            color: #4caf50;
        }

        .detail-meta .safe {
            color: #ff6f21;
            font-weight: 700;
        }

        .detail-meta .member-level {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(78, 110, 255, 0.12);
            color: #4e6eff;
            font-weight: 700;
        }

        .detail-form {
            display: grid;
            gap: 12px;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
        }

        .detail-form-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 12px;
        }

        .detail-top-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 10px;
        }

        .detail-span-full {
            grid-column: 1 / -1;
        }

        .detail-form-group {
            display: grid;
            gap: 8px;
            padding: 12px 14px;
            border: 1px solid #e8edf3;
            border-radius: 14px;
            background: #fff;
        }

        .detail-form-group.detail-contact-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            align-items: stretch;
            gap: 8px;
            padding: 0;
            border: 0;
            background: transparent;
        }

        .detail-contact-row .detail-row-label {
            line-height: 1.25;
        }

        .detail-contact-row .detail-input {
            width: 100%;
            max-width: none;
            justify-self: stretch;
            height: 40px;
            border-radius: 10px;
            font-size: 12px;
            padding: 0 12px;
        }

        .detail-form-heading {
            display: grid;
            gap: 3px;
        }

        .detail-form-heading strong {
            font-size: 13px;
            color: #111827;
            font-weight: 700;
        }

        .detail-form-group label,
        .detail-row-label {
            font-size: 12px;
            font-weight: 700;
            color: #374151;
        }

        .detail-form-group .required {
            color: #ff5e5e;
        }

        .detail-input {
            width: 100%;
            height: 42px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            background: #fff;
            padding: 0 13px;
            color: #111827;
            font-size: 13px;
            outline: none;
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }

        .detail-input:focus,
        .detail-textarea:focus {
            border-color: #f59d5c;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(var(--tb-orange-rgb), 0.08);
        }

        .detail-input::placeholder,
        .detail-textarea::placeholder {
            color: #a8a8a8;
            font-size: 12px;
        }

        .detail-input-note {
            margin-top: -2px;
            color: #9ca3af;
            font-size: 10px;
            line-height: 1.6;
        }

        .detail-contact-row .detail-input-note {
            grid-column: auto;
            margin-top: -2px;
            display: none !important;
        }

        .detail-coupon-inline {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 8px;
            align-items: center;
        }

        .detail-coupon-btn {
            min-width: 68px;
            height: 40px;
            padding: 0 16px;
            border: 0;
            border-radius: 10px;
            background: #5b6576;
            color: #f8fafc;
            font-size: 12px;
            font-weight: 700;
            box-shadow: 0 10px 18px rgba(91, 101, 118, 0.16);
            cursor: pointer;
        }

        .detail-coupon-btn:hover {
            background: #4d5665;
        }

        .detail-inline-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            border: 1px solid #e8edf3;
            border-radius: 14px;
            background: #fff;
        }

        .detail-inline-row.detail-qty-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            align-items: stretch;
            gap: 8px;
            border: 0;
            border-radius: 0;
            background: transparent;
            padding: 0;
        }

        .detail-inline-row.detail-qty-row .detail-row-label {
            line-height: 1.25;
        }

        .detail-inline-row.detail-qty-row .quantity-box {
            width: 150px;
            max-width: 150px;
            height: 34px;
            margin-left: 0;
            justify-self: start;
            border-radius: 10px;
        }

        .detail-inline-row.detail-qty-row .quantity-btn {
            width: 30px;
            font-size: 14px;
        }

        .detail-inline-row.detail-qty-row .quantity-input {
            font-size: 12px;
            font-weight: 600;
        }

        .detail-inline-row.detail-qty-row .quantity-note {
            display: none !important;
        }

        .quantity-box {
            width: 100%;
            max-width: 140px;
            height: 42px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            background: #fff;
            display: flex;
            align-items: center;
            overflow: hidden;
            margin-top: 0;
            margin-left: auto;
        }

        .quantity-btn {
            width: 36px;
            height: 100%;
            border: 0;
            background: transparent;
            cursor: pointer;
            font-size: 16px;
            color: #666;
        }

        .quantity-btn:hover {
            background: #f7f7f7;
        }

        .quantity-btn[disabled],
        .quantity-btn.is-disabled {
            cursor: not-allowed;
            color: #b7bdc8;
            background: #f6f8fb;
        }

        .quantity-input {
            flex: 1;
            height: 100%;
            border: 0;
            text-align: center;
            font-size: 16px;
            font-weight: 700;
            color: #111827;
            outline: none;
            background: transparent;
            width: 0;
        }

        .quantity-input::-webkit-outer-spin-button,
        .quantity-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .quantity-input.is-disabled {
            color: #b7bdc8;
            background: #f8fafc;
        }

        .quantity-note {
            display: none;
            margin-top: 0;
            color: #9ca3af;
            font-size: 10px;
            line-height: 1.6;
        }

        .pay-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .pay-grid.is-entering .pay-item {
            animation: tb2-pay-in 0.28s ease forwards;
        }

        .pay-item {
            position: relative;
            height: 44px;
            border: 1px solid #dde5ef;
            border-radius: 12px;
            background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease, color 0.2s ease, background 0.2s ease;
            color: #4b5563;
            font-weight: 700;
            font-size: 13px;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
            overflow: hidden;
        }

        .pay-item::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 48%);
            opacity: 0.45;
            transition: opacity 0.2s ease;
        }

        .pay-item:hover {
            border-color: #c8d5e6;
            box-shadow: 0 8px 16px rgba(30, 64, 175, 0.08);
            transform: translateY(-1px);
        }

        .pay-item:hover::before {
            opacity: 0.7;
        }

        .pay-item:active {
            transform: translateY(0);
            box-shadow: 0 3px 10px rgba(30, 64, 175, 0.08);
        }

        .pay-item:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 8px 16px rgba(30, 64, 175, 0.08);
        }

        .pay-item.is-active {
            border-color: #6f9dff;
            background: linear-gradient(138deg, #f6f9ff 0%, #e9f1ff 54%, #dfeaff 100%);
            color: #1f5ddf;
            box-shadow: 0 0 0 2px rgba(99, 147, 255, 0.18), 0 14px 24px rgba(36, 104, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
            transform: translateY(-1px);
        }

        .pay-item.wx.is-active {
            border-color: #58bd64;
            background: linear-gradient(138deg, #f4fff6 0%, #e8fceb 55%, #dcf7e1 100%);
            color: #1f8f35;
            box-shadow: 0 0 0 2px rgba(104, 199, 108, 0.18), 0 14px 24px rgba(36, 181, 73, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .pay-item.balance.is-active {
            border-color: #8b5cf6;
            background: linear-gradient(138deg, #f8f3ff 0%, #f1eaff 56%, #e7dcff 100%);
            color: #6c39d3;
            box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.18), 0 14px 24px rgba(126, 63, 228, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .pay-item.is-active::before {
            opacity: 0.9;
        }

        .pay-item.is-active::after {
            content: "";
            position: absolute;
            right: 8px;
            top: 8px;
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: currentColor;
            opacity: 0.92;
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.72);
        }

        .pay-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            color: #fff;
            font-weight: 700;
            transition: transform 0.18s ease, box-shadow 0.2s ease;
        }

        .pay-icon.is-image {
            padding: 0;
            overflow: hidden;
            border-radius: 8px;
            background: #fff;
            border: 1px solid rgba(15, 23, 42, 0.08);
        }

        .pay-icon.is-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .pay-icon.ali { background: linear-gradient(160deg, #2791ff 0%, #1677ff 70%); }
        .pay-icon.wx { background: linear-gradient(160deg, #3dcf63 0%, #24b549 70%); }
        .pay-icon.balance { background: linear-gradient(160deg, #9a6fff 0%, #7a4df0 70%); }
        .pay-icon.other { background: linear-gradient(160deg, #ff9f4a 0%, #ff7b2c 70%); }

        .pay-item.is-active .pay-icon {
            transform: translateY(-0.5px) scale(1.1);
            box-shadow: 0 6px 12px rgba(15, 23, 42, 0.18);
        }

        .pay-item.is-active span:last-child {
            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
        }

        .detail-pay-note {
            color: #9ca3af;
            font-size: 10px;
            line-height: 1.6;
        }

        .detail-action-row {
            display: flex;
            gap: 12px;
            margin-top: 10px;
        }

        .buy-btn {
            position: relative;
            width: 100%;
            height: 46px;
            border: 0;
            border-radius: 14px;
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.03em;
            cursor: pointer;
            overflow: hidden;
            transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease, opacity 0.2s ease;
        }

        .buy-btn {
            color: #fff;
            background: linear-gradient(90deg, #ff872c 0%, #ef524b 100%);
            box-shadow: 0 10px 22px rgba(239, 82, 75, 0.16);
        }

        .buy-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(239, 82, 75, 0.22);
            filter: saturate(1.04);
        }

        .buy-btn:active {
            transform: translateY(0);
            box-shadow: 0 8px 16px rgba(239, 82, 75, 0.2);
            filter: saturate(0.98);
        }

        .buy-btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 4px rgba(239, 82, 75, 0.22), 0 14px 28px rgba(239, 82, 75, 0.22);
        }

        .buy-btn.is-loading {
            cursor: wait;
            pointer-events: none;
        }

        .buy-btn.is-loading::after {
            content: "";
            position: absolute;
            right: 14px;
            top: 50%;
            width: 14px;
            height: 14px;
            margin-top: -7px;
            border-radius: 999px;
            border: 2px solid rgba(255, 255, 255, 0.45);
            border-top-color: #fff;
            animation: tb2-spin 0.75s linear infinite;
        }

        .buy-btn[disabled] {
            cursor: not-allowed;
            opacity: 0.75;
        }

        .buy-btn.is-unavailable {
            background: linear-gradient(90deg, #c7ccd8 0%, #b6bdc9 100%);
            box-shadow: 0 8px 16px rgba(148, 163, 184, 0.2);
            color: #fff;
            filter: none;
        }

        @keyframes tb2-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes tb2-skeleton-wave {
            0% { transform: translateX(0); }
            100% { transform: translateX(320%); }
        }

        @keyframes tb2-pay-in {
            from {
                opacity: 0;
                transform: translateY(6px) scale(0.985);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .detail-info-card {
            background: #fff;
            border-radius: 20px;
            box-shadow: var(--tb-shadow);
            padding: 16px 18px 18px;
            margin-top: 12px;
            border: 1px solid rgba(226, 232, 240, 0.88);
        }

        .detail-section-head {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 14px;
        }

        .detail-section-bar {
            width: 4px;
            height: 22px;
            border-radius: 999px;
            background: linear-gradient(180deg, var(--tb-orange-light) 0%, var(--tb-orange) 100%);
            flex-shrink: 0;
            margin-top: 2px;
        }

        .detail-section-title {
            font-size: 15px;
            font-weight: 800;
            color: #111827;
            margin-bottom: 4px;
        }

        .detail-section-sub {
            font-size: 12px;
            color: #6b7280;
            line-height: 1.7;
        }

        .detail-section-sub strong {
            color: #111827;
        }

        .detail-info-box {
            background: #fafafa;
            border: 1px solid #f1f5f9;
            border-radius: 16px;
            padding: 14px 16px;
            color: #475569;
            line-height: 1.8;
        }

        .detail-info-box h3 {
            color: #1f2937;
            font-size: 15px;
            margin-bottom: 10px;
        }

        .detail-notice {
            white-space: pre-line;
            margin-bottom: 12px;
        }

        .detail-rich {
            color: #6a503b;
            font-size: 14px;
        }

        .detail-empty {
            color: #9ca3af;
            font-size: 12px;
            line-height: 1.8;
        }

        .detail-rich img {
            max-width: 100%;
            border-radius: 12px;
        }

        .detail-rich video {
            width: 100%;
            max-width: 100%;
            height: auto;
            max-height: 520px;
            display: block;
            border-radius: 12px;
            margin: 12px auto;
            background: #000;
        }

        .detail-rich ul,
        .detail-rich ol {
            padding-left: 20px;
            list-style: initial;
        }

        .panel-wrap {
            padding: 28px 0 64px;
        }

        .panel-card {
            background: #fff;
            border-radius: 22px;
            box-shadow: var(--tb-shadow);
            padding: 28px 30px;
        }

        .panel-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #666;
            margin-bottom: 18px;
            cursor: pointer;
        }

        .panel-back:hover {
            color: var(--tb-orange);
        }

        .panel-title {
            font-size: 28px;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 24px;
        }

        .faq-item,
        .tutorial-item,
        .order-item,
        .uc-card,
        .contact-card {
            border: 1px solid #efefef;
            border-radius: 16px;
            background: #fff;
        }

        .faq-item + .faq-item,
        .tutorial-item + .tutorial-item,
        .order-item + .order-item {
            margin-top: 12px;
        }

        .faq-q {
            padding: 18px 20px;
            cursor: pointer;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .faq-a {
            display: none;
            padding: 0 20px 18px;
            color: #666;
            line-height: 1.8;
        }

        .faq-item.is-open .faq-a {
            display: block;
        }

        .tutorial-item {
            display: flex;
            gap: 16px;
            padding: 20px;
        }

        .tutorial-step {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--tb-orange-light), var(--tb-orange));
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            flex-shrink: 0;
        }

        .tutorial-content h4 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .tutorial-content p {
            color: #666;
            line-height: 1.8;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .contact-card {
            padding: 26px 20px;
            text-align: center;
        }

        .contact-card strong {
            display: block;
            margin-bottom: 8px;
            font-size: 18px;
        }

        .contact-value {
            color: var(--tb-orange);
            font-weight: 700;
            word-break: break-all;
        }

        .page-content {
            border: 1px solid #efefef;
            border-radius: 18px;
            padding: 24px;
            line-height: 1.9;
            color: #555;
        }

        .auth-page {
            max-width: 520px;
            margin: 0 auto;
        }

        .auth-switch {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-bottom: 1px solid #ededed;
            margin-bottom: 18px;
        }

        .auth-switch button {
            height: 48px;
            border: 0;
            background: transparent;
            cursor: pointer;
            font-weight: 700;
            color: #666;
        }

        .auth-switch button.is-active {
            color: var(--tb-orange);
            border-bottom: 2px solid var(--tb-orange);
        }

        .auth-form {
            display: grid;
            gap: 12px;
        }

        .auth-btn {
            height: 50px;
            border: 0;
            border-radius: 14px;
            background: var(--tb-orange);
            color: #fff;
            font-weight: 700;
            cursor: pointer;
        }

        .tb2-user-shell {
            display: grid;
            grid-template-columns: 236px minmax(0, 1fr);
            gap: 16px;
            align-items: start;
        }

        .tb2-user-sidebar,
        .tb2-user-panel-hero,
        .tb2-user-shortcut,
        .uc-member-head,
        .uc-stat,
        .uc-wallet-card,
        .uc-ledger-list,
        .auth-form,
        .order-item {
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.045);
        }

        .tb2-user-sidebar {
            position: sticky;
            top: 92px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 16px 14px;
            border: 1px solid #edf1f5;
            border-radius: 16px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
        }

        .tb2-user-sidebar-top h2 {
            margin: 0;
            font-size: 22px;
            line-height: 1.1;
            color: #1f2937;
        }

        .tb2-user-sidebar-top p {
            margin: 0;
            color: #6b7280;
            font-size: 12px;
            line-height: 1.65;
        }

        .tb2-user-kicker {
            display: inline-block;
            margin-bottom: 10px;
            color: #9aa3b2;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .tb2-user-sidebar-profile {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px;
            border: 1px solid #edf0f6;
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
        }

        .tb2-user-avatar {
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 13px;
            background: rgba(var(--tb-theme-rgb), 0.12);
            color: var(--tb-orange);
            font-size: 16px;
            font-weight: 800;
        }

        .tb2-user-profile-copy strong {
            display: block;
            color: #1f2937;
            font-size: 15px;
            line-height: 1.2;
        }

        .tb2-user-profile-copy em {
            display: inline-flex;
            align-items: center;
            margin-top: 5px;
            padding: 3px 8px;
            border-radius: 999px;
            background: rgba(var(--tb-theme-rgb), 0.1);
            color: var(--tb-orange);
            font-size: 11px;
            font-style: normal;
            font-weight: 700;
        }

        .tb2-user-profile-copy span {
            display: block;
            margin-top: 5px;
            color: #7b8494;
            font-size: 11px;
            line-height: 1.45;
            word-break: break-all;
        }

        .tb2-user-sidebar-level {
            padding: 12px 13px;
            border-radius: 14px;
            background: linear-gradient(145deg, rgba(var(--tb-theme-rgb), 0.82), rgba(var(--tb-theme-rgb), 0.68));
            color: #fff;
        }

        .tb2-user-sidebar-level span {
            display: block;
            margin-bottom: 7px;
            color: rgba(255, 255, 255, 0.72);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .tb2-user-sidebar-level strong {
            display: block;
            font-size: 18px;
            line-height: 1.15;
        }

        .tb2-user-sidebar-level small {
            display: block;
            margin-top: 6px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 11px;
            line-height: 1.55;
        }

        .tb2-user-sidebar-stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 6px;
        }

        .tb2-user-sidebar-stat {
            padding: 9px 8px;
            border: 1px solid #eef1f6;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.9);
            text-align: center;
        }

        .tb2-user-sidebar-stat span {
            display: block;
            margin-bottom: 6px;
            color: #8b95a7;
            font-size: 11px;
        }

        .tb2-user-sidebar-stat strong {
            display: block;
            color: #1f2937;
            font-size: 14px;
            line-height: 1.2;
        }

        .tb2-user-nav {
            display: grid;
            gap: 5px;
        }

        .tb2-user-nav-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            min-height: 36px;
            padding: 0 11px;
            border: 1px solid #edf0f6;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.82);
            color: #374151;
            font-size: 12px;
            font-weight: 700;
            transition: .2s ease;
        }

        .tb2-user-nav-item small {
            color: #9aa3b2;
            font-size: 11px;
            font-weight: 600;
        }

        .tb2-user-nav-item:hover {
            border-color: rgba(var(--tb-theme-rgb), 0.16);
            box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
        }

        .tb2-user-nav-item.is-active {
            border-color: rgba(var(--tb-theme-rgb), 0.18);
            background: rgba(var(--tb-theme-rgb), 0.09);
            color: var(--tb-orange);
        }

        .tb2-user-sidebar-actions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        .tb2-user-side-link,
        .tb2-user-side-primary {
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            border: 1px solid #edf0f6;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
        }

        .tb2-user-side-link {
            background: #fff;
            color: #4b5563;
        }

        .tb2-user-side-link.is-button {
            font-family: inherit;
        }

        .tb2-user-side-primary {
            border: 0;
            background: #1f2937;
            color: #fff;
        }

        .tb2-user-side-logout {
            width: 100%;
            margin-top: 4px;
        }

        .tb2-user-main {
            min-width: 0;
        }

        .tb2-user-panel-surface {
            min-height: 100%;
            padding: 14px;
            border: 1px solid #edf0f6;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 252, 255, 0.92) 100%);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.045);
        }

        .tb2-user-panel-hero {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 12px;
            padding: 14px 16px;
            border: 1px solid #edf0f6;
            border-radius: 16px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
        }

        .tb2-user-panel-hero h1 {
            margin: 0 0 6px;
            color: #1f2937;
            font-size: 20px;
            line-height: 1.1;
        }

        .tb2-user-panel-hero p {
            margin: 0;
            color: #6b7280;
            font-size: 12px;
            line-height: 1.65;
        }

        .tb2-user-panel-badge {
            display: inline-flex;
            align-items: center;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(var(--tb-theme-rgb), 0.1);
            color: var(--tb-orange);
            font-size: 11px;
            font-weight: 700;
            white-space: nowrap;
        }

        .tb2-user-shortcuts {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
            margin-top: 12px;
        }

        .tb2-user-shortcut {
            display: block;
            padding: 11px 12px;
            border: 1px solid #edf0f6;
            border-radius: 13px;
            background: #fff;
        }

        .tb2-user-shortcut strong {
            display: block;
            margin: 0 0 6px;
            color: #1f2937;
            font-size: 13px;
            line-height: 1.3;
        }

        .tb2-user-shortcut span {
            display: block;
            color: #7b8494;
            font-size: 11px;
            line-height: 1.6;
        }

        .uc-member-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 13px;
            margin-bottom: 10px;
            border: 1px solid #eceff9;
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
        }

        .uc-member-meta {
            min-width: 0;
        }

        .uc-member-caption {
            color: #8b95a7;
            font-size: 12px;
            margin-bottom: 4px;
        }

        .uc-member-name {
            color: #1f2937;
            font-size: 16px;
            font-weight: 800;
            line-height: 1.2;
        }

        .uc-member-tip {
            font-size: 11px;
            color: #5a6476;
            white-space: nowrap;
            text-align: right;
        }

        .uc-member-head.lv1 {
            border-color: #e7dccd;
            background: linear-gradient(135deg, #f9f5ee 0%, #fffdf8 100%);
        }

        .uc-member-head.lv2 {
            border-color: #d9dee8;
            background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 100%);
        }

        .uc-member-head.lv3 {
            border-color: #f4dfad;
            background: linear-gradient(135deg, #fff8e8 0%, #fffdf7 100%);
        }

        .uc-member-head.lv4 {
            border-color: #dce4ff;
            background: linear-gradient(135deg, #f2f5ff 0%, #ffffff 100%);
        }

        .uc-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
            margin-bottom: 12px;
        }

        .uc-stat {
            padding: 12px 10px;
            text-align: center;
            border: 1px solid #efefef;
            border-radius: 13px;
            background: rgba(255, 255, 255, 0.92);
        }

        .uc-stat strong {
            display: block;
            font-size: 20px;
            margin-bottom: 4px;
        }

        .uc-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin: 14px 0 10px;
        }

        .uc-toolbar h3 {
            font-size: 15px;
        }

        #tb2UserCenterBox .auth-form {
            padding: 14px 14px 16px;
            border-radius: 14px;
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.045);
        }

        #tb2UserCenterBox .text-btn {
            color: #7b8494;
            font-size: 12px;
            font-weight: 700;
        }

        .uc-wallet-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            margin-bottom: 12px;
        }

        .uc-wallet-card {
            border: 1px solid #eceff7;
            border-radius: 13px;
            background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
            padding: 12px 13px;
        }

        .uc-wallet-title {
            font-size: 13px;
            color: #6b7280;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .uc-wallet-amount {
            color: #2563eb;
            font-size: 20px;
            font-weight: 800;
            font-family: Outfit, sans-serif;
            letter-spacing: 0.02em;
            line-height: 1.2;
            margin-bottom: 6px;
        }

        .uc-wallet-sub {
            color: #8b95a7;
            font-size: 12px;
            line-height: 1.7;
        }

        .uc-wallet-tip {
            margin-top: 8px;
            color: #6b7280;
            font-size: 12px;
            line-height: 1.6;
        }

        .uc-upgrade-row {
            display: flex;
            gap: 10px;
            margin-bottom: 8px;
        }

        .uc-upgrade-row .modal-input {
            margin: 0;
            flex: 1;
        }

        .uc-inline-btn {
            height: 44px;
            min-width: 120px;
            margin: 0;
            border-radius: 12px;
        }

        .uc-inline-2 {
            display: grid;
            grid-template-columns: 1fr 160px;
            gap: 10px;
        }

        .uc-withdraw-form .modal-input {
            margin: 0;
        }

        .uc-ledger-list {
            border: 1px solid #eceff7;
            border-radius: 14px;
            background: #fff;
            overflow: hidden;
        }

        .uc-ledger-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 11px 12px;
            border-bottom: 1px solid #f2f4f8;
        }

        .uc-ledger-item:last-child {
            border-bottom: 0;
        }

        .uc-ledger-main {
            min-width: 0;
        }

        .uc-ledger-title {
            font-size: 13px;
            font-weight: 700;
            color: #1f2937;
            line-height: 1.3;
        }

        .uc-ledger-sub {
            margin-top: 4px;
            color: #9aa3b2;
            font-size: 11px;
            line-height: 1.5;
            word-break: break-word;
        }

        .uc-ledger-amt {
            font-family: Outfit, sans-serif;
            font-size: 15px;
            font-weight: 800;
            white-space: nowrap;
        }

        .uc-ledger-amt.is-plus {
            color: #16a34a;
        }

        .uc-ledger-amt.is-minus {
            color: #dc2626;
        }

        .uc-ledger-amt.is-freeze {
            color: #7c3aed;
        }

        .text-btn {
            border: 0;
            background: transparent;
            color: #888;
            cursor: pointer;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            padding: 5px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
        }

        .status-badge.is-green { background: rgba(29, 191, 115, 0.12); color: #13a85e; }
        .status-badge.is-warn { background: rgba(245, 166, 35, 0.12); color: #d98b0a; }
        .status-badge.is-blue { background: rgba(74, 144, 217, 0.12); color: #2d76c8; }
        .status-badge.is-red { background: rgba(238, 68, 68, 0.12); color: #dd3333; }
        .status-badge.is-gray { background: rgba(149, 152, 174, 0.12); color: #6b7280; }

        .order-item {
            padding: 13px 12px;
            border: 1px solid #edf0f6;
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
        }

        .order-head {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            align-items: flex-start;
            margin-bottom: 10px;
        }

        .order-head h4 {
            font-size: 15px;
            margin-bottom: 6px;
        }

        .order-sub {
            color: #888;
            line-height: 1.7;
            font-size: 12px;
        }

        .order-price {
            color: var(--tb-orange);
            font-size: 18px;
            font-weight: 800;
        }

        .order-cards {
            display: grid;
            gap: 8px;
            margin-top: 12px;
        }

        .order-delivery-card {
            margin-bottom: 14px;
            padding: 12px;
            border: 1px solid #ececec;
            border-radius: 14px;
            background: #fafafa;
        }

        .order-delivery-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            flex-wrap: wrap;
        }

        .order-delivery-head strong {
            display: block;
            font-size: 14px;
            color: #333;
            margin-bottom: 6px;
        }

        .order-delivery-head p {
            color: #888;
            font-size: 12px;
            line-height: 1.7;
        }

        .order-delivery-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .order-card-bulk {
            width: 100%;
            min-height: 220px;
            margin-top: 12px;
            padding: 12px 14px;
            border: 1px solid #e8e8e8;
            border-radius: 12px;
            background: #fff;
            color: #333;
            font: 500 13px/1.8 Menlo, Consolas, monospace;
            resize: vertical;
        }

        .order-card-line {
            border: 1px solid #ececec;
            border-radius: 12px;
            padding: 10px 12px;
            background: #fafafa;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .order-card-line.is-rich {
            display: block;
        }

        .order-card-text {
            font-family: Menlo, Consolas, monospace;
            font-size: 13px;
            white-space: pre-wrap;
            word-break: break-all;
        }

        .order-card-line.is-rich .order-card-text {
            font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
            line-height: 1.8;
            white-space: normal;
            word-break: break-word;
        }

        .order-card-line.is-rich .order-card-text img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 12px auto;
            border-radius: 12px;
        }

        .order-card-line.is-rich .copy-btn {
            margin-top: 10px;
        }

        .copy-btn {
            border: 0;
            background: var(--tb-orange);
            color: #fff;
            border-radius: 999px;
            padding: 7px 12px;
            cursor: pointer;
            flex-shrink: 0;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .copy-btn.is-ghost {
            background: #fff;
            color: var(--tb-orange);
            border: 1px solid #ffd2bd;
        }

        .modal-mask {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.42);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 60;
            padding: 24px 16px;
        }

        .modal-mask.is-open {
            display: flex;
        }

        .modal-panel {
            width: 100%;
            max-width: 520px;
            background: #fff;
            border-radius: 22px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
            overflow: hidden;
        }

        .modal-head {
            padding: 18px 22px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 800;
            color: #222;
        }

        .modal-close {
            width: 36px;
            height: 36px;
            border: 0;
            background: #f7f7f7;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            color: #777;
        }

        .modal-body {
            padding: 20px 22px 24px;
        }

        .modal-stack {
            display: grid;
            gap: 12px;
        }

        .modal-input,
        .detail-textarea {
            width: 100%;
            border: 1px solid #e6e6e6;
            border-radius: 14px;
            padding: 14px 16px;
            outline: none;
            background: #fff;
        }

        .detail-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .modal-btn {
            width: 100%;
            height: 50px;
            border: 0;
            border-radius: 14px;
            background: var(--tb-orange);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
        }

        .query-result {
            display: grid;
            gap: 12px;
            max-height: 340px;
            overflow-y: auto;
            margin-top: 14px;
        }

        .query-item {
            padding: 16px;
            border: 1px solid #efefef;
            border-radius: 14px;
            background: #fafafa;
        }

        .query-item h4 {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .query-item .meta {
            color: #888;
            font-size: 12px;
            line-height: 1.8;
        }

        .query-item .amount {
            color: var(--tb-orange);
            font-size: 20px;
            font-weight: 800;
            margin-top: 10px;
        }

        .toast {
            position: fixed;
            top: 96px;
            left: 50%;
            transform: translateX(-50%);
            min-width: 180px;
            max-width: calc(100% - 32px);
            padding: 12px 20px;
            border-radius: 999px;
            background: rgba(34, 34, 34, 0.92);
            color: #fff;
            text-align: center;
            font-size: 14px;
            z-index: 90;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
        }

        .site-footer {
            margin-top: auto;
            padding: 28px 0 42px;
            color: #8b8b8b;
            font-size: 12px;
        }

        .site-footer .container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        @media (max-width: 1280px) {
            .product-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }

            .detail-card {
                grid-template-columns: 1fr;
            }

            .detail-cover {
                width: 100%;
                min-height: 280px;
                padding: 20px 18px;
            }
        }

        @media (max-width: 960px) {
            .shop-card,
            .main-layout,
            .order-head,
            .uc-toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .tb2-user-shell {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .tb2-user-sidebar {
                position: static;
            }

            .tb2-user-nav {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .tb2-user-panel-hero {
                flex-direction: column;
                align-items: flex-start;
                padding: 14px 14px;
                border-radius: 16px;
            }

            .tb2-user-shortcuts {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
            }

            .header-inner {
                display: grid;
                grid-template-columns: 1fr auto;
                align-items: center;
                gap: 12px;
            }

            .search-wrap,
            .search-area {
                width: 100%;
            }

            .search-area {
                grid-column: 1 / -1;
                justify-content: stretch;
            }

            .logo-area,
            .header-right {
                min-width: 0;
                width: auto;
                justify-content: flex-start;
                text-align: left;
            }

            .header-query.is-hidden {
                display: none;
            }

            .header-right {
                justify-content: flex-end;
            }

            .sidebar {
                width: 100%;
                overflow: hidden;
                padding: 10px 0;
            }

            .sidebar ul {
                display: flex;
                gap: 10px;
                padding: 0 12px 8px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .sidebar ul::-webkit-scrollbar {
                display: none;
            }

            .nav-item,
            .nav-item.active {
                margin: 0;
                width: 88px;
                min-width: 88px;
                flex-direction: column;
                justify-content: flex-start;
                gap: 8px;
                white-space: normal;
                text-align: center;
                border-radius: 22px;
                padding: 12px 8px 10px;
            }

            #tb2CategoryList.tb2-no-cat-icon .nav-item,
            #tb2CategoryList.tb2-no-cat-icon .nav-item.active {
                width: auto;
                min-width: unset;
                padding: 10px 14px;
                border-radius: 999px;
            }

            #tb2CategoryList.tb2-no-cat-icon .nav-text {
                white-space: nowrap;
                font-size: 13px;
            }

            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-item,
            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-item.active {
                width: auto;
                min-width: unset;
                padding: 10px 14px;
                border-radius: 999px;
                gap: 0;
            }

            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-icon {
                display: none;
            }

            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-text {
                white-space: nowrap;
                font-size: 13px;
            }

            .nav-icon {
                width: 56px;
                height: 56px;
                border-radius: 18px;
                font-size: 22px;
            }

            .nav-icon.is-all {
                font-size: 22px;
            }

            .nav-text {
                font-size: 12px;
            }

            .product-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .contact-grid,
            .uc-stats,
            .uc-wallet-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .fixed-tools {
                display: none;
            }

            .detail-cover-title {
                font-size: 28px;
            }

            .detail-main {
                padding: 0 16px 16px;
            }

            .detail-inline-row {
                flex-direction: row;
                align-items: center;
            }

            .detail-title {
                font-size: 18px;
            }

            .buy-btn {
                height: 44px;
                font-size: 14px;
            }

            .detail-action-row {
                flex-direction: column;
            }

            .detail-form-grid {
                grid-template-columns: 1fr;
            }

            .shop-actions {
                width: 100%;
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            .btn {
                width: 100%;
            }
        }

        @media (max-width: 640px) {
            .container {
                max-width: calc(100% - 20px);
            }

            .detail-page .container {
                max-width: calc(100% - 20px);
            }

            .site-header {
                padding: 12px 0;
            }

            .search-wrap {
                display: grid;
                grid-template-columns: 1fr 116px;
                gap: 8px;
                box-shadow: none;
                border-radius: 0;
                overflow: visible;
            }

            .search-input {
                width: 100%;
                border-right: 2px solid var(--tb-orange);
                border-radius: 12px;
                height: 44px;
                padding: 0 14px;
            }

            .search-btn,
            .search-shop-btn {
                width: 116px;
                border-radius: 12px;
                border-left: 2px solid var(--tb-orange);
                min-width: 0;
                height: 44px;
                padding: 0 10px;
                font-size: 13px;
            }

            .shop-card,
            .content-area,
            .panel-card,
            .detail-info-card {
                border-radius: 18px;
                padding-left: 16px;
                padding-right: 16px;
            }

            .shop-info-left {
                gap: 14px;
            }

            .shop-logo,
            .shop-avatar {
                width: 64px;
                height: 64px;
            }

            .shop-details h1 {
                font-size: 18px;
            }

            .shop-title-row {
                gap: 8px;
                margin-bottom: 8px;
            }

            .shop-stats {
                gap: 10px 12px;
                font-size: 11px;
            }

            .product-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }

            .tabs {
                gap: 16px;
                overflow-x: auto;
                white-space: nowrap;
                scrollbar-width: none;
            }

            .tabs::-webkit-scrollbar {
                display: none;
            }

            .detail-cover {
                min-height: 240px;
                padding: 18px;
            }

            .detail-cover-media {
                width: 100%;
                max-width: 280px;
                border-radius: 14px;
                padding: 12px;
            }

            .detail-cover-title {
                font-size: 22px;
            }

            .detail-price-row .amount {
                font-size: 24px;
            }

            .detail-price-box,
            .detail-info-box {
                padding-left: 16px;
                padding-right: 16px;
            }

            .detail-inline-row {
                flex-direction: column;
                align-items: stretch;
            }

            .quantity-box {
                margin-left: 0;
                max-width: 100%;
            }

            .pay-grid,
            .contact-grid,
            .uc-stats,
            .uc-wallet-grid {
                grid-template-columns: 1fr;
            }

            .tb2-user-sidebar {
                padding: 14px 12px;
                border-radius: 14px;
            }

            .tb2-user-sidebar-top h2 {
                font-size: 20px;
            }

            .tb2-user-sidebar-stats {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 8px;
            }

            .tb2-user-nav {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
            }

            .tb2-user-nav-item {
                min-height: 36px;
                padding: 0 9px;
            }

            .tb2-user-sidebar-actions {
                grid-template-columns: 1fr 1fr;
            }

            .tb2-user-panel-hero {
                padding: 12px 12px;
                border-radius: 14px;
            }

            .tb2-user-panel-hero h1 {
                font-size: 19px;
            }

            .tb2-user-shortcuts {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
            }

            .uc-upgrade-row {
                flex-direction: column;
                align-items: stretch;
            }

            .uc-inline-btn {
                width: 100%;
            }

            .uc-inline-2 {
                grid-template-columns: 1fr;
            }

            .uc-member-head {
                flex-direction: column;
                align-items: flex-start;
                padding: 12px;
                border-radius: 12px;
            }

            .uc-member-tip {
                white-space: normal;
                text-align: left;
            }

            .uc-stat {
                padding: 11px 9px;
            }

            .uc-stat strong,
            .uc-wallet-amount {
                font-size: 18px;
            }

            .tb2-user-panel-surface {
                padding: 12px;
                border-radius: 16px;
            }

            .detail-info-card {
                padding: 14px 14px 16px;
            }

            .header-inner {
                grid-template-columns: 1fr auto;
                gap: 10px;
            }

            .logo-area {
                font-size: 19px;
            }

            .logo-text span {
                font-size: 11px;
            }

            .header-query {
                height: 36px;
                padding: 0 14px;
                font-size: 13px;
            }

            .home-wrap {
                padding-top: 16px;
                padding-bottom: 36px;
            }

            .main-layout {
                gap: 14px;
            }

            .content-area {
                padding-top: 18px;
                padding-bottom: 20px;
            }

            .product-title {
                height: auto;
                min-height: 38px;
                margin-bottom: 6px;
            }

            .product-price-row {
                padding-bottom: 8px;
            }

            .order-card-line {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-bottom: calc(82px + env(safe-area-inset-bottom));
            }

            body.tb2-in-detail {
                padding-bottom: calc(92px + env(safe-area-inset-bottom));
            }

            .header-right,
            .shop-actions {
                display: none !important;
            }

            .mobile-bottom-tools {
                display: grid;
            }

            body.tb2-in-detail .mobile-detail-buybar {
                display: flex;
            }

            body.tb2-mobile-input-active.tb2-in-detail .mobile-detail-buybar {
                transform: translateY(calc(100% + env(safe-area-inset-bottom)));
                opacity: 0;
                pointer-events: none;
            }

            .home-wrap {
                padding-bottom: calc(110px + env(safe-area-inset-bottom));
            }

            .main-layout {
                gap: 12px;
            }

            .sidebar {
                width: 100%;
                border-radius: 0;
                padding: 0;
                background: transparent;
                border: 0;
                box-shadow: none;
                position: static;
                top: auto;
                z-index: auto;
                backdrop-filter: none;
            }

            .sidebar ul {
                display: flex;
                gap: 10px;
                padding: 0 2px 8px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                scroll-snap-type: x mandatory;
                scroll-padding-left: 2px;
                scroll-padding-right: 2px;
                overscroll-behavior-x: contain;
                touch-action: pan-x;
            }

            .sidebar ul::-webkit-scrollbar {
                display: none;
            }

            .nav-item,
            .nav-item.active {
                margin: 0;
                width: auto;
                min-width: unset;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                gap: 8px;
                white-space: nowrap;
                text-align: center;
                border-radius: 999px;
                padding: 8px 14px;
                scroll-snap-align: start;
                scroll-snap-stop: always;
            }

            .nav-item.active {
                background: linear-gradient(135deg, #fff3e8 0%, #ffe8da 100%);
                box-shadow: 0 6px 12px rgba(var(--tb-orange-rgb), 0.12);
            }

            #tb2CategoryList.tb2-no-cat-icon .nav-item,
            #tb2CategoryList.tb2-no-cat-icon .nav-item.active {
                width: auto;
                min-width: unset;
                padding: 9px 14px;
                border-radius: 999px;
            }

            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-item,
            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-item.active {
                width: auto;
                min-width: unset;
                padding: 9px 14px;
                border-radius: 999px;
                gap: 0;
            }

            #tb2CategoryList.tb2-hide-cat-icon-mobile .nav-icon {
                display: none;
            }

            .nav-icon {
                width: 24px;
                height: 24px;
                border-radius: 8px;
                font-size: 12px;
                box-shadow: none;
            }

            .nav-icon img {
                border-radius: 8px;
            }

            .nav-icon.is-all {
                font-size: 13px;
            }

            .nav-icon-text[data-length="1"] { font-size: 12px; }
            .nav-icon-text[data-length="2"] { font-size: 8px; }

            .nav-text {
                font-size: 13px;
                white-space: nowrap;
            }

            .content-area {
                border-radius: 18px;
                padding: 14px 14px 18px;
            }

            .detail-form-group.detail-contact-row {
                grid-template-columns: minmax(0, 1fr);
                gap: 8px;
                padding: 0;
            }

            .detail-top-row {
                grid-template-columns: minmax(0, 1fr);
                gap: 10px;
                align-items: stretch;
            }

            .detail-contact-row .detail-input {
                width: 100%;
                max-width: none;
                justify-self: stretch;
                height: 38px;
                border-radius: 10px;
                font-size: 12px;
                padding: 0 12px;
            }

            .detail-inline-row.detail-qty-row {
                grid-template-columns: minmax(0, 1fr);
                align-items: stretch;
                gap: 8px;
                padding: 0;
            }

            .detail-inline-row.detail-qty-row .detail-row-label {
                white-space: nowrap;
                font-size: 12px;
                text-align: left;
                line-height: 1;
            }

            .detail-inline-row.detail-qty-row .quantity-box {
                width: 124px;
                max-width: 124px;
                height: 32px;
                margin-left: 0;
                justify-self: start;
                border-radius: 9px;
            }

            .detail-inline-row.detail-qty-row .quantity-btn {
                width: 28px;
                font-size: 13px;
            }

            .detail-inline-row.detail-qty-row .quantity-input {
                font-size: 12px;
            }

            .detail-inline-row.detail-qty-row .quantity-note {
                display: none !important;
            }

            .pay-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
                overflow: visible;
                padding-bottom: 0;
            }

            .pay-grid::-webkit-scrollbar {
                display: none;
            }

            .pay-item {
                width: 100%;
                min-width: 0;
                max-width: none;
                height: 38px;
                border-radius: 10px;
                font-size: 12px;
                gap: 6px;
            }

            .pay-item span:last-child {
                min-width: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .pay-icon {
                width: 20px;
                height: 20px;
                font-size: 10px;
            }

            body.tb2-in-detail .detail-action-row {
                display: none;
            }

            .tabs {
                gap: 14px;
                padding-bottom: 10px;
                margin-bottom: 14px;
            }

            .tab-item {
                font-size: 13px;
            }

            .tab-item.active::after {
                bottom: -11px;
            }

            .product-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px 10px;
            }

            .product-card {
                border-radius: 18px;
                padding: 8px;
                background: #fff;
                border: 1px solid #eceff5;
                box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
            }

            .product-card:active {
                transform: scale(0.985);
                box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
            }

            .product-img {
                border-radius: 13px;
                padding: 0;
                margin-bottom: 8px;
                overflow: hidden;
                background: #f7f8fb;
            }

            .product-img-cover,
            .product-img-fallback {
                border-radius: 13px;
            }

            .product-img-cover {
                object-fit: cover;
                padding: 0;
                background: #fff;
            }

            .cover-buy-btn {
                display: none;
            }

            .product-title {
                padding: 0 4px;
                min-height: 0;
                height: auto;
                margin-bottom: 4px;
                font-size: 13px;
                line-height: 1.35;
            }

            .product-price-row {
                align-items: center;
                flex-wrap: nowrap;
                gap: 0 2px;
                padding: 0 4px 4px;
            }

            .price-value {
                font-size: 18px;
            }

            .sales-count {
                display: none !important;
            }

            .price-buy-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                margin-left: auto;
                margin-top: 0;
                min-width: 50px;
                height: 24px;
                padding: 0 9px;
                font-size: 11px;
                line-height: 1;
            }

            .price-buy-btn:active {
                transform: scale(0.98);
            }
        }
