/* 展品列表 - 移动端，1rem=16px 使用 rem，参考图布局 */
.tpc-list {
    min-height: 18.75rem;
    background: #F5F7FA;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}

.tpc-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tpc-header-inner {
  
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.tpc-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.tpc-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.tpc-search-box {
    position: relative;
    flex: 1;
    min-width: 0;
}

.tpc-search-icon {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    z-index: 2;
}

.tpc-search-input {
    width: 85%;
    height: 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0 0.625rem 0 2.25rem;
    font-size: 0.875rem;
    outline: none;
    color: #111827;
    -webkit-appearance: none;
}

.tpc-search-input:focus {
    border-color: #126DB3;
}

.tpc-search-btn {
    height: 2.25rem;
    padding: 0 1rem;
    background: #126DB3;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.tpc-search-btn:active {
    background: #FF6600;
}

/* pt-6=24px pb-12=48px */
.tpc-content {
    padding: 1.5rem 0.625rem 3rem;
}

.tpc-content-inner {
    width: 100%;
}

/* grid-cols-1 gap-6=24px */
.tpc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.tpc-card {
    background: #fff;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tpc-card:active {
    opacity: 0.95;
}

/* 移动端：左图右文，p-6=24px gap-4=16px */
.tpc-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

/* 左侧方形图 ~80x80 */
.tpc-logo-wrap {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.tpc-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tpc-logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
    line-height: 1.3;
    word-break: break-all;
}

.tpc-info {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* text-lg mb-2 */
.tpc-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.15s;
    text-align: left;
}

.tpc-name:active {
    color: #FF6600;
}

/* text-sm mb-4 line-clamp-2 */
.tpc-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 推荐展会：移动端与 LOGO 左对齐（左边缘与 LOGO 一致） */
/* 卡片：padding 1.5rem > [LOGO 5rem + gap 1rem + flex-1]，推荐展会在 flex-1 内起点 7.5rem；左移 6rem 后起点=1.5rem=LOGO 左缘 */
.tpc-expos {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
    width: calc(100% + 6rem); /* 左移后需加宽以填满卡片右侧 */
    margin-left: -6rem;
    box-sizing: border-box;
}

/* text-xs mb-1.5 */
.tpc-expos-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.375rem;
    text-align: left;
}

/* space-y-3=12px */
.tpc-expos-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 移动端：flex-col，展会名上、日期下 */
.tpc-expo-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
    text-decoration: none;
    width: 100%;
}

.tpc-expo-item:active .tpc-expo-title,
.tpc-expo-item:active .tpc-expo-dot {
    color: #FF6600;
}

.tpc-expo-title {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 0.875rem;
    color: #126DB3;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.tpc-expo-dot {
    font-size: 0.25rem !important;
    color: #126DB3;
    margin-right: 0.375rem;
    flex-shrink: 0;
}

/* 移动端：虚线隐藏 */
.tpc-expo-line {
    display: none;
}

.tpc-expo-date {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
}

.tpc-loading,
.tpc-end {
    text-align: center;
    padding: 1.5rem 0.625rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.tpc-empty {
    text-align: center;
    padding: 4rem 1.5rem;
}

.tpc-empty-icon {
    font-size: 3.75rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.tpc-empty-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #374151;
    margin: 0 0 0.5rem 0;
}

.tpc-empty-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}
