/* ================================================================
 * SunnyPhone — 淘宝
 * ================================================================ */
.tb-overlay {
	inset: 0;
	z-index: 3200;
	background: #f7f7f7;
	color: #252525;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}
.tb-overlay.visible { display: flex; }
.tb-app { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #f6f6f6; }
.tb-header {
	height: 52px; min-height: 52px; padding: 0 12px; display: grid; grid-template-columns: 54px 1fr 54px;
	align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(0,0,0,.06); z-index: 5;
}
.tb-header-title { text-align: center; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-icon-btn { border: 0; background: none; padding: 8px 0; color: #272727; font: inherit; cursor: pointer; }
.tb-icon-btn:first-child { text-align: left; }
.tb-icon-btn svg { width: 23px; height: 23px; fill: currentColor; vertical-align: middle; }
.tb-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 90px; }
.tb-nav {
	position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 65px; padding-bottom: env(safe-area-inset-bottom);
	display: grid; grid-template-columns: repeat(2,1fr); background: rgba(255,255,255,.96); border-top: 1px solid rgba(0,0,0,.08);
	box-sizing: content-box; backdrop-filter: blur(14px);
}
.tb-nav button { border: 0; background: none; color: #8a8a8a; font-size: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.tb-nav button span { width: 24px; height: 24px; border-radius: 9px; background: #ececec; display: grid; place-items: center; color: #777; font-size: 12px; font-weight: 800; }
.tb-nav button.active { color: #ff5000; font-weight: 650; }
.tb-nav button.active span { background: linear-gradient(135deg,#ff7a18,#ff3500); color: white; box-shadow: 0 4px 12px rgba(255,80,0,.22); }
.tb-search {
	display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 2px; height: 43px; padding-left: 12px;
	border: 2px solid #ff5000; border-radius: 24px; background: white; overflow: hidden; margin-bottom: 12px;
}
.tb-search > span { font-size: 25px; line-height: 1; color: #ff5000; transform: rotate(-18deg); }
.tb-search input { min-width: 0; border: 0; outline: 0; font-size: 14px; background: transparent; }
.tb-search button {
	height: 35px; min-width: 60px; margin-right: 2px; border: 0; border-radius: 20px; color: white; font-weight: 650;
	background: linear-gradient(90deg,#ff8a00,#ff4200);
}
.tb-search button:disabled, .tb-source-actions button:disabled { opacity: .55; }
.tb-add-bar { border-radius: 15px; padding: 10px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tb-source-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.tb-source-actions button { min-height: 38px; border: 0; border-radius: 11px; background: #fff1ea; color: #e94900; font-size: 12px; font-weight: 650; }
.tb-source-actions button:first-child { color: white; background: linear-gradient(135deg,#ff7d26,#ff4500); }
.tb-section-head { margin: 18px 3px 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tb-section-head b { font-size: 17px; }
.tb-section-head span { color: #989898; font-size: 11px; }
.tb-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tb-product-card { min-width: 0; overflow: hidden; border-radius: 14px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,.04); user-select: none; }
.tb-card-image { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #fff4ef; }
.tb-product-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.tb-image-state { position: absolute; inset: auto 6px 6px; border: 0; border-radius: 8px; padding: 5px; background: rgba(0,0,0,.62); color: white; font-size: 10px; text-align: center; }
.tb-image-state.error { background: rgba(182,39,0,.82); cursor: pointer; }
.tb-card-info { padding: 9px 9px 10px; }
.tb-card-info h3 { margin: 0; height: 38px; overflow: hidden; font-size: 13px; line-height: 19px; font-weight: 600; }
.tb-card-info p { margin: 6px 0; color: #979797; font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-card-row { display: flex; align-items: end; justify-content: space-between; gap: 4px; }
.tb-card-row strong { color: #ff4d00; font-size: 16px; }
.tb-card-row small { color: #aaa; font-size: 9px; max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-card-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 9px; }
.tb-card-actions button { min-height: 29px; padding: 2px 1px; border: 1px solid #eee; border-radius: 9px; background: #fafafa; color: #666; font-size: 10px; }
.tb-card-actions button.primary { border-color: #ff5b16; background: #ff5b16; color: white; }
.tb-card-actions button:disabled { border-color: #eee; background: #eee; color: #999; }
.tb-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #a2a2a2; text-align: center; }
.tb-empty b { color: #686868; font-size: 15px; }
.tb-empty span { max-width: 260px; font-size: 12px; }
.tb-empty button { margin-top: 8px; border: 0; border-radius: 18px; padding: 8px 18px; color: white; background: #ff5000; }
.tb-loading { height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #ff5000; font-size: 12px; }
.tb-loading i { width: 18px; height: 18px; border: 2px solid #ffd6c4; border-top-color: #ff5000; border-radius: 50%; animation: tb-spin .8s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }
.tb-order-list, .tb-address-list { display: flex; flex-direction: column; gap: 10px; }
.tb-my-hero {
	display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 12px;
	margin-bottom: 12px; padding: 17px; border-radius: 18px; color: white;
	background: radial-gradient(circle at 90% 0,rgba(255,255,255,.3),transparent 40%),linear-gradient(135deg,#ff7424,#ff3d00);
	box-shadow: 0 8px 22px rgba(255,74,0,.18);
}
.tb-my-hero > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.23); font-size: 22px; font-weight: 750; }
.tb-my-hero h2 { margin: 0 0 4px; font-size: 18px; }
.tb-my-hero p { margin: 0; color: rgba(255,255,255,.78); font-size: 11px; }
.tb-my-hero dl { display: flex; gap: 14px; margin: 0; }
.tb-my-hero dl div { display: flex; flex-direction: column; align-items: center; min-width: 31px; }
.tb-my-hero dl b { font-size: 17px; }
.tb-my-hero dl small { margin-top: 2px; color: rgba(255,255,255,.75); font-size: 9px; }
.tb-my-panel { margin-top: 12px; padding: 13px; border-radius: 17px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tb-my-panel > header { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-bottom: 10px; }
.tb-my-panel > header b { font-size: 16px; }
.tb-my-panel > header span { color: #999; font-size: 11px; }
.tb-my-panel > header button { border: 0; border-radius: 16px; padding: 7px 12px; color: #ff5000; background: #fff0e9; font-size: 11px; font-weight: 650; }
.tb-my-panel .tb-order-card,.tb-my-panel .tb-address-card { box-shadow: none; border: 1px solid #f0f0f0; }
.tb-my-order-stages { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.tb-my-order-stages button { position: relative; min-width: 0; border: 0; border-radius: 12px; padding: 10px 2px 8px; background: #fafafa; color: #666; }
.tb-my-order-stages button > span { width: 28px; height: 28px; margin: 0 auto 6px; display: grid; place-items: center; border-radius: 10px; color: #ff5000; background: #fff0e9; font-size: 12px; font-weight: 750; }
.tb-my-order-stages button > span svg { width: 17px; height: 17px; }
.tb-my-order-stages button b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; font-weight: 550; }
.tb-my-order-stages button em { position: absolute; top: 5px; right: 6px; min-width: 16px; height: 16px; box-sizing: border-box; padding: 0 4px; border-radius: 8px; color: white; background: #ff5000; font-size: 9px; line-height: 16px; font-style: normal; }
.tb-my-address-entry { width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; margin-top: 12px; border: 0; border-radius: 17px; padding: 14px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,.04); text-align: left; }
.tb-my-address-entry > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: #ff5000; background: #fff0e9; font-weight: 750; }
.tb-my-address-entry > span svg { width: 21px; height: 21px; }
.tb-my-address-entry div { min-width: 0; }
.tb-my-address-entry b { font-size: 14px; }
.tb-my-address-entry p { margin: 5px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #999; font-size: 10px; }
.tb-my-address-entry em { color: #999; font-size: 10px; font-style: normal; white-space: nowrap; }
.tb-my-empty { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #aaa; text-align: center; }
.tb-my-empty b { color: #666; font-size: 13px; }
.tb-my-empty span { font-size: 10px; }
.tb-my-empty button { margin-top: 5px; border: 0; border-radius: 17px; padding: 8px 16px; color: white; background: #ff5000; }
.tb-order-card { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 11px; border-radius: 14px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tb-order-image { width: 78px; height: 78px; border-radius: 10px; object-fit: cover; background: #fff2ed; }
.tb-order-card > div { min-width: 0; }
.tb-order-top,.tb-order-bottom { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.tb-order-top b { font-size: 11px; color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-order-top span { color: #ff5000; font-size: 11px; white-space: nowrap; }
.tb-order-card h3 { margin: 7px 0 4px; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-order-card p { margin: 0 0 7px; color: #aaa; font-size: 10px; }
.tb-order-bottom strong { font-size: 14px; }
.tb-order-actions { display: flex; justify-content: flex-end; gap: 5px; }
.tb-order-bottom button { border: 1px solid #ddd; border-radius: 14px; padding: 4px 8px; background: white; font-size: 10px; }
.tb-order-bottom button.primary { border-color: #ff5000; color: white; background: #ff5000; }
.tb-order-tabs { position: sticky; z-index: 3; top: -12px; display: grid; grid-template-columns: repeat(5,1fr); gap: 3px; margin: -12px -12px 12px; padding: 9px 8px; background: rgba(246,246,246,.96); backdrop-filter: blur(12px); }
.tb-order-tabs button { min-width: 0; border: 0; border-radius: 11px; padding: 7px 2px; color: #888; background: transparent; }
.tb-order-tabs button b,.tb-order-tabs button span { display: block; }
.tb-order-tabs button b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; font-weight: 550; }
.tb-order-tabs button span { margin-top: 3px; font-size: 9px; }
.tb-order-tabs button.active { color: white; background: linear-gradient(135deg,#ff7a22,#ff4700); box-shadow: 0 4px 10px rgba(255,75,0,.18); }
.tb-order-page-list,.tb-address-page-list { display: flex; flex-direction: column; gap: 10px; }
.tb-address-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 4px 2px; }
.tb-address-page-head > div { display: flex; flex-direction: column; gap: 3px; }
.tb-address-page-head b { font-size: 17px; }
.tb-address-page-head span { color: #999; font-size: 10px; }
.tb-address-page-head button { border: 0; border-radius: 18px; padding: 8px 14px; color: white; background: #ff5000; font-size: 11px; font-weight: 650; }
.tb-address-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 3px 13px; }
.tb-address-toolbar > div { display: flex; flex-direction: column; gap: 4px; }
.tb-address-toolbar b { font-size: 17px; }
.tb-address-toolbar span { color: #999; font-size: 11px; }
.tb-address-toolbar > button { border: 0; border-radius: 18px; padding: 8px 14px; color: white; background: #ff5000; }
.tb-address-card { padding: 14px; border-radius: 14px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tb-address-card > div { display: flex; align-items: center; gap: 8px; }
.tb-address-card > div b { font-size: 15px; }
.tb-address-card > div span { color: #888; font-size: 12px; }
.tb-address-card em { margin-left: auto; border: 1px solid #ff5a16; border-radius: 5px; padding: 1px 4px; color: #ff5a16; font-style: normal; font-size: 9px; }
.tb-address-card p { margin: 9px 0 12px; color: #555; font-size: 12px; line-height: 1.55; }
.tb-address-card footer { display: flex; justify-content: flex-end; gap: 7px; border-top: 1px solid #f2f2f2; padding-top: 9px; }
.tb-address-card footer button { border: 0; background: none; color: #888; font-size: 11px; }
.tb-modal-mask { position: absolute; z-index: 30; inset: 0; display: flex; align-items: flex-end; background: rgba(0,0,0,0); transition: background .2s; }
.tb-modal-mask.visible { background: rgba(0,0,0,.42); }
.tb-modal {
	width: 100%; max-height: 92%; overflow: auto; border-radius: 22px 22px 0 0; background: #f8f8f8;
	transform: translateY(100%); transition: transform .23s ease-out; box-shadow: 0 -10px 40px rgba(0,0,0,.13);
}
.tb-modal-mask.visible .tb-modal { transform: translateY(0); }
.tb-modal-header { position: sticky; z-index: 2; top: 0; height: 51px; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; }
.tb-modal-header b { text-align: center; font-size: 16px; }
.tb-modal-header button { border: 0; background: none; padding-left: 13px; text-align: left; }
.tb-modal-header svg { width: 22px; height: 22px; fill: #333; }
.tb-candidate-modal { height: min(86%,720px); overflow: hidden; display: flex; flex-direction: column; }
.tb-candidate-modal .tb-modal-header { flex: 0 0 51px; }
.tb-candidate-picker { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.tb-candidate-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px 10px; color: #888; font-size: 11px; }
.tb-candidate-select-all { display: flex; align-items: center; gap: 5px; color: #ff5000; white-space: nowrap; }
.tb-candidate-select-all input,.tb-candidate-check { accent-color: #ff5000; }
.tb-candidate-list { min-height: 0; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 9px; padding: 0 12px 12px; }
.tb-candidate-card { position: relative; display: grid; grid-template-columns: 22px 76px minmax(0,1fr); align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: white; box-shadow: 0 2px 9px rgba(0,0,0,.04); }
.tb-candidate-check { width: 17px; height: 17px; margin: 0; }
.tb-candidate-cover { position: relative; width: 76px; height: 76px; overflow: hidden; border-radius: 10px; background: #fff1eb; }
.tb-candidate-image { width: 100%; height: 100%; object-fit: cover; }
.tb-candidate-cover .tb-image-state { inset: auto 4px 4px; padding: 3px 4px; font-size: 8px; }
.tb-candidate-info { min-width: 0; }
.tb-candidate-info h3 { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.tb-candidate-info p { margin: 6px 0 12px; color: #999; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; }
.tb-candidate-info > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 7px; }
.tb-candidate-info strong { color: #ff5000; font-size: 16px; }
.tb-candidate-info span { max-width: 48%; color: #aaa; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; }
.tb-candidate-picker > footer { flex: 0 0 auto; margin-top: 2px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(248,248,248,.96); backdrop-filter: blur(12px); }
.tb-candidate-picker > footer button { width: 100%; min-height: 44px; border: 0; border-radius: 23px; color: white; background: linear-gradient(90deg,#ff8a00,#ff4300); font-weight: 700; }
.tb-candidate-picker > footer button:disabled { color: #999; background: #e8e8e8; }
.tb-product-detail-page { margin: -12px -12px 0; padding-bottom: 76px; }
.tb-product-detail-cover { background: #fff1eb; }
.tb-product-detail-image { width: 100%; aspect-ratio: 1/1; display: block; object-fit: cover; }
.tb-product-detail-main,.tb-product-detail-section { margin-bottom: 10px; padding: 16px; background: white; }
.tb-product-detail-main > strong { display: block; color: #ff5000; font-size: 26px; }
.tb-product-detail-main h1 { margin: 8px 0 12px; font-size: 18px; line-height: 1.45; }
.tb-product-detail-shop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; color: #666; font-size: 11px; }
.tb-product-detail-shop span { color: #999; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-product-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 15px; padding-top: 14px; border-top: 1px solid #f1f1f1; }
.tb-product-stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; border-right: 1px solid #f1f1f1; }
.tb-product-stats div:last-child { border-right: 0; }
.tb-product-stats b { font-size: 15px; }
.tb-product-stats span { color: #999; font-size: 9px; }
.tb-product-detail-section h2 { margin: 0 0 12px; font-size: 15px; }
.tb-product-intro { margin: 0; color: #555; font-size: 12px; line-height: 1.8; white-space: pre-wrap; }
.tb-product-specs { margin: 0; border-radius: 12px; overflow: hidden; background: #f8f8f8; }
.tb-product-specs div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eee; font-size: 11px; }
.tb-product-specs div:last-child { border-bottom: 0; }
.tb-product-specs dt { color: #999; }
.tb-product-specs dd { margin: 0; color: #444; text-align: right; }
.tb-review-section > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tb-review-section > header h2 { margin: 0; }
.tb-review-section > header span { display: block; margin-top: 3px; color: #aaa; font-size: 9px; }
.tb-review-section > header button { border: 0; border-radius: 16px; padding: 7px 11px; color: #ff5000; background: #fff0e9; font-size: 10px; font-weight: 650; }
.tb-review-section > header button:disabled { opacity: .55; }
.tb-review-list { display: flex; flex-direction: column; }
.tb-review-list article { padding: 13px 0; border-top: 1px solid #f0f0f0; }
.tb-review-list article > div,.tb-review-list article footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tb-review-list article > div b { font-size: 11px; }
.tb-review-list article > div span { color: #ff8a00; letter-spacing: 1px; font-size: 10px; }
.tb-review-list article p { margin: 9px 0; color: #444; font-size: 12px; line-height: 1.65; }
.tb-review-list article footer { color: #aaa; font-size: 9px; }
.tb-review-list article time { white-space: nowrap; }
.tb-review-empty { padding: 28px 12px; border-radius: 12px; color: #aaa; background: #fafafa; font-size: 11px; text-align: center; }
.tb-product-detail-actions { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(65px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.5fr; gap: 9px; padding: 10px 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.tb-product-detail-actions button { min-height: 43px; border: 1px solid #ff5000; border-radius: 22px; background: white; color: #ff5000; font-weight: 650; }
.tb-product-detail-actions button.primary { color: white; background: linear-gradient(90deg,#ff8a00,#ff4300); }
.tb-detail-image { width: 100%; aspect-ratio: 1/1; display: block; object-fit: cover; background: #fff1eb; }
.tb-detail-body { padding: 16px; background: white; }
.tb-detail-body h2 { margin: 0; font-size: 18px; line-height: 1.45; }
.tb-detail-body > strong { display: block; margin-top: 9px; color: #ff5000; font-size: 25px; }
.tb-detail-body .tb-shop { color: #888; font-size: 12px; }
.tb-detail-body dl { margin: 18px 0; padding: 5px 12px; border-radius: 12px; background: #f8f8f8; }
.tb-detail-body dl div { display: grid; grid-template-columns: 70px 1fr; padding: 9px 0; font-size: 12px; }
.tb-detail-body dt { color: #999; }
.tb-detail-body dd { margin: 0; text-align: right; }
.tb-detail-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.5fr; gap: 9px; }
.tb-detail-actions button { min-height: 43px; border: 1px solid #ff5000; border-radius: 22px; background: white; color: #ff5000; font-weight: 650; }
.tb-detail-actions .primary { color: white; background: linear-gradient(90deg,#ff8a00,#ff4300); }
.tb-form,.tb-checkout { display: flex; flex-direction: column; gap: 14px; padding: 17px 16px calc(22px + env(safe-area-inset-bottom)); }
.tb-form label,.tb-checkout label { display: flex; flex-direction: column; gap: 7px; color: #555; font-size: 12px; }
.tb-form input,.tb-form textarea,.tb-checkout input,.tb-checkout select {
	width: 100%; box-sizing: border-box; border: 1px solid #e5e5e5; border-radius: 11px; padding: 11px 12px; outline: 0; color: #222; background: white; font: inherit; font-size: 14px;
}
.tb-form textarea { min-height: 85px; resize: vertical; }
.tb-form input:focus,.tb-form textarea:focus,.tb-checkout input:focus,.tb-checkout select:focus { border-color: #ff7b44; box-shadow: 0 0 0 3px rgba(255,80,0,.08); }
.tb-file-label small,.tb-form-note { color: #999; font-size: 11px; line-height: 1.5; }
.tb-form-warning { border-radius: 10px; padding: 9px 11px; color: #a44900; background: #fff1dd; font-size: 11px; }
.tb-submit { min-height: 44px; border: 0; border-radius: 23px; color: white; background: linear-gradient(90deg,#ff8a00,#ff4300); font-weight: 700; font-size: 14px; }
.tb-submit:disabled { opacity: .6; }
.tb-checkout-product,.tb-order-summary { display: grid; grid-template-columns: 78px 1fr; gap: 11px; padding: 11px; border-radius: 14px; background: white; }
.tb-checkout-product h3,.tb-order-summary h3 { margin: 3px 0 7px; font-size: 13px; }
.tb-checkout-product p,.tb-order-summary p { margin: 0 0 7px; color: #999; font-size: 11px; }
.tb-checkout-product strong,.tb-order-summary strong { color: #ff5000; }
.tb-checkout-total { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 14px 0; border-top: 1px solid #e9e9e9; }
.tb-checkout-total strong { color: #ff5000; font-size: 23px; }
.tb-text-btn { align-self: flex-start; border: 0; background: none; color: #ff5000; font-size: 12px; }
.tb-order-detail { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.tb-order-summary { margin: 12px; }
.tb-logistics,.tb-order-meta { margin: 12px; padding: 15px; border-radius: 14px; background: white; }
.tb-logistics h3 { margin: 0 0 5px; color: #ff5000; }
.tb-logistics > p { margin: 0 0 16px; color: #888; font-size: 11px; }
.tb-logistics ol { margin: 0; padding: 0; list-style: none; }
.tb-logistics li { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 7px; min-height: 52px; color: #bbb; }
.tb-logistics li:before { content: ""; position: absolute; left: 6px; top: 13px; bottom: -2px; width: 1px; background: #ddd; }
.tb-logistics li:last-child:before { display: none; }
.tb-logistics li i { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 4px; border: 2px solid #ddd; border-radius: 50%; background: white; }
.tb-logistics li.active { color: #444; }
.tb-logistics li.active i { border-color: #ff5000; background: #ff5000; }
.tb-logistics li b { display: block; font-size: 12px; font-weight: 550; }
.tb-logistics li span { display: block; margin-top: 4px; color: #aaa; font-size: 10px; }
.tb-order-meta p { display: grid; grid-template-columns: 70px 1fr; margin: 10px 0; color: #666; font-size: 11px; line-height: 1.45; }
.tb-order-meta b { color: #999; font-weight: 500; }
.tb-share-list { max-height: 65vh; overflow: auto; padding: 9px 12px 22px; }
.tb-share-target { width: 100%; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 11px; border: 0; border-bottom: 1px solid #eee; padding: 10px 4px; background: none; text-align: left; }
.tb-share-target span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(135deg,#ff8a38,#ff4c00); font-weight: 700; }
.tb-share-target b { font-size: 14px; }
.tb-sheet-modal { background: transparent; box-shadow: none; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
.tb-action-sheet { display: flex; flex-direction: column; gap: 1px; overflow: hidden; border-radius: 17px; background: #eee; }
.tb-action-sheet > b { padding: 13px; color: #888; background: white; text-align: center; font-size: 11px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-action-sheet button { min-height: 48px; border: 0; background: white; font-size: 15px; }
.tb-action-sheet button.danger,.tb-confirm button.danger { color: #e33c2f; }
.tb-confirm { padding: 23px 20px calc(16px + env(safe-area-inset-bottom)); background: white; }
.tb-confirm h3 { margin: 0 0 8px; text-align: center; }
.tb-confirm p { margin: 0 0 20px; color: #888; font-size: 12px; line-height: 1.55; text-align: center; }
.tb-confirm > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tb-confirm button { min-height: 41px; border: 0; border-radius: 21px; background: #f2f2f2; font-weight: 650; }
.tb-toast { position: absolute; z-index: 60; left: 50%; bottom: 88px; max-width: 80%; padding: 10px 15px; border-radius: 10px; color: white; background: rgba(22,22,22,.86); font-size: 12px; opacity: 0; transform: translate(-50%,8px); transition: .18s; pointer-events: none; text-align: center; }
.tb-toast.visible { opacity: 1; transform: translate(-50%,0); }

/* QQ 淘宝卡片（qq_taobao.js） */
.qq-forward-card.qq-taobao-card { width: 260px; min-width: 0; max-width: 100%; padding: 0; overflow: hidden; border-radius: 12px; background: #fff; color: #292929; box-shadow: 0 1px 4px rgba(0,0,0,.1); cursor: pointer; }
.qq-taobao-card .qq-taobao-cover { width: 100%; height: 132px; display: block; object-fit: cover; background: #fff1eb; }
.qq-taobao-card .qq-taobao-content { padding: 9px 11px; }
.qq-taobao-card .qq-taobao-title { max-height: 38px; overflow: hidden; font-size: 13px; line-height: 19px; font-weight: 600; }
.qq-taobao-card .qq-taobao-price { margin-top: 6px; color: #ff5000; font-size: 17px; font-weight: 700; }
.qq-taobao-card .qq-taobao-foot { display: flex; justify-content: space-between; margin-top: 7px; padding-top: 7px; border-top: 1px solid #eee; color: #aaa; font-size: 9px; }
.qq-taobao-card .qq-forward-card-footer { align-items: center; margin-top: 0; padding: 9px 11px 10px; line-height: 1.35; }
.qq-taobao-card .qq-forward-card-footer > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qq-taobao-card .qq-forward-card-footer > span:last-child { flex-shrink: 0; }
.qq-taobao-card.order { border-top: 3px solid #ff5000; }
.qq-taobao-card.order .qq-taobao-cover { height: 88px; }
.qq-taobao-status { color: #ff5000; }
.qq-taobao-wallet-prompt { margin: 0 16px 16px; padding: 12px; border-radius: 12px; background: rgba(255,122,0,.1); }
.cp-taobao-product-img { width: 100%; max-height: 220px; display: block; object-fit: cover; border-radius: 12px; background: rgba(var(--sp-text-rgb),.06); }
.cp-pay-pending { margin-top: 7px; color: #d27423; }

@media (min-width: 520px) {
	.tb-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
