.detail {
    min-height: 100vh;
    background: #f8f9fa;
    padding-bottom: 140px;
}

.detail-header {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-color: #e8e8e8;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.header-back {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.header-content {
    position: absolute;
    bottom: 24px;
    left: 16px;
    right: 16px;
    z-index: 1;
}

.activity-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.content {
    padding: 16px;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-arrow {
    font-size: 16px;
    color: #999;
    margin-left: 8px;
}

.info-icon {
    font-size: 24px;
    color: #FF6700;
    margin-right: 12px;
}

.info-text {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.price-value {
    color: #FF6700;
    font-weight: 600;
    font-size: 16px;
}

.section {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 16px;
    color: #333;
}

.section-title .count {
    color: #FF6700;
    font-size: 14px;
}

.description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    white-space: pre-line;
}

/* Timeline样式 */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #FF6700 0%, #FF8533 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item-last {
    padding-bottom: 0;
}

.timeline-item-last::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #FF6700;
    box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.1);
    z-index: 1;
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
    cursor: pointer;
}

.timeline-content:active {
    transform: scale(0.98);
}

.timeline-content.expanded {
    box-shadow: 0 4px 12px rgba(255, 103, 0, 0.15);
    border-color: #FF6700;
}

.timeline-time {
    font-size: 13px;
    color: #FF6700;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.timeline-time::before {
    content: '🕐';
    margin-right: 6px;
}

.time-text {
    margin-right: auto;
}

.expand-icon {
    font-size: 16px;
    color: #999;
    transition: transform 0.3s;
    margin-left: 8px;
}

.timeline-title {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-brief {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.timeline-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.timeline-detail.expanded {
    max-height: 3000px;
    transition: max-height 0.5s ease-in;
}

.detail-content {
    margin-top: 12px;
}

.flow-steps {
    margin-bottom: 12px;
}

.step-item {
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #FF6700;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.step-item:last-child {
    margin-bottom: 0;
}

.tip-box {
    padding: 10px 12px;
    background: #fff7e6;
    border-radius: 6px;
    font-size: 13px;
    color: #ff9800;
    line-height: 1.6;
}

.game-rule {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #FF6700;
}

.rule-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.rule-content {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.score-badge {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 2px;
}

/* 游戏卡片样式 */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-card {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.2s;
}

.game-card:active {
    transform: scale(0.98);
}

.game-card.expanded {
    border-color: #FF6700;
    background: #fff7e6;
}

.game-card.highlight-game {
    background: linear-gradient(135deg, #fff7e6 0%, #fff 100%);
    border-color: #FF6700;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.game-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
}

.game-detail.expanded {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
    margin-top: 12px;
}

.game-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
}

/* 其他组件样式 */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.sponsor-card {
    text-align: center;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}

.sponsor-card:active {
    transform: scale(0.98);
}

.sponsor-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.sponsor-name {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.photo-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.media-section {
    margin-bottom: 20px;
}

.media-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-player {
    width: 100%;
    max-height: 300px;
    display: block;
}

.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 16px;
    justify-items: center;
}

.member-item {
    display: flex;
    justify-content: center;
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 103, 0, 0.3);
    transition: transform 0.2s;
    cursor: default;
}

.member-avatar:hover {
    transform: scale(1.1);
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.member-car {
    font-size: 12px;
    color: #999;
}

.expense-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expense-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.expense-info {
    flex: 1;
}

.expense-name {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 6px;
}

.expense-category {
    display: inline-block;
    font-size: 11px;
    color: #FF6700;
    background: #fff7e6;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.expense-media {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.expense-media-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.2s;
}

.expense-media-item:active {
    transform: scale(0.95);
}

.expense-video {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.expense-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expense-video .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.expense-amount {
    font-size: 15px;
    color: #FF6700;
    font-weight: bold;
    text-align: right;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #f0f0f0;
}

.upload-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.upload-tip {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* 底部按钮和弹窗样式 */
.footer-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-button {
    height: 48px;
    background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%);
    border: none;
    font-weight: 600;
}

.action-button .van-icon {
    margin-right: 4px;
}

.login-button {
    margin-top: 0;
    background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%) !important;
    color: #fff !important;
}

.share-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    color: #FF6700;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.map-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.map-header h3 {
    margin: 0;
    font-size: 16px;
}

.map-header .van-icon {
    font-size: 20px;
    color: #999;
}

.login-form {
    padding: 16px;
}

/* 车牌号字段样式优化 - 标签和输入框同行显示 */
.login-form .van-field {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.login-form .van-field__label {
    width: 60px;
    flex-shrink: 0;
    margin-right: 8px;
}

.login-form .van-field__control {
    flex: 1;
    display: flex;
    align-items: center;
}

.login-form .van-field__control--custom {
    padding: 0;
}

.permission-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fff7e6;
    border-radius: 8px;
    color: #ff9800;
    font-size: 14px;
}

.permission-tip .van-icon {
    font-size: 18px;
}

.video-player-popup {
    padding: 20px;
    background: #000;
    border-radius: 16px;
}

.popup-video {
    width: 100%;
    max-height: 60vh;
    border-radius: 12px;
}

/* 车牌输入样式 */
.license-plate-input {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 5px 8px;
    background: linear-gradient(135deg, #FF6700 0%, #FF8533 100%);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 103, 0, 0.3);
    width: fit-content;
}

.plate-prefix {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.plate-letter {
    width: 20px;
    height: 26px;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 3px;
    background: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    outline: none;
    text-transform: uppercase;
    padding: 0;
}

.plate-dot {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 1px;
}

.plate-digits {
    width: 95px;
    height: 26px;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 3px;
    background: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    outline: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0;
}

.plate-letter::placeholder,
.plate-digits::placeholder {
    color: #ddd;
    font-weight: 400;
}

/* 奖品礼品样式 */
.prize-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prize-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #fff 0%, #fffbf5 100%);
    border-radius: 12px;
    border: 1px solid #ffe8cc;
    box-shadow: 0 2px 8px rgba(255, 103, 0, 0.08);
    transition: transform 0.2s;
}

.prize-card:active {
    transform: scale(0.98);
}

.prize-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffe8cc;
}

.prize-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.prize-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.prize-sponsor-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 18px;
    color: #FF6700;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s;
}

.prize-sponsor-icon:active {
    transform: scale(0.9);
}

.prize-level {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    width: fit-content;
}

.level-特等奖 {
    background: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 23, 68, 0.4);
}

.level-一等奖 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.level-二等奖 {
    background: linear-gradient(135deg, #E0E0E0 0%, #9E9E9E 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(192, 192, 192, 0.4);
}

.level-三等奖 {
    background: linear-gradient(135deg, #D4A574 0%, #B8860B 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(205, 127, 50, 0.4);
}

.level-四等奖 {
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(66, 165, 245, 0.4);
}

.level-参与奖 {
    background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(102, 187, 106, 0.3);
}

.level-伴手礼 {
    background: linear-gradient(135deg, #AB47BC 0%, #8E24AA 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(171, 71, 188, 0.3);
}

.prize-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
}

.prize-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
}

.prize-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px dashed #ffe8cc;
}

.prize-quantity {
    font-size: 12px;
    color: #FF6700;
    font-weight: 500;
}

/* 场地展示样式 */
.venue-swipe {
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
}

.venue-image {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 赞助商Dialog样式 */
:deep(.sponsor-dialog) {
    border-radius: 16px !important;
}

:deep(.sponsor-dialog .van-dialog__header) {
    padding-top: 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

:deep(.sponsor-dialog .van-dialog__message) {
    padding: 20px 24px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #FF6700 !important;
    line-height: 1.5 !important;
}

:deep(.sponsor-dialog .van-dialog__confirm) {
    color: #FF6700 !important;
    font-weight: 500 !important;
}
