﻿/* ===== 赛事前台统一样式(移动优先) ===== */
body { background: #f4f6f9; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
#content-container { max-width: 760px; padding-bottom: 40px; }

.t-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff; padding: 22px 16px 18px; border-radius: 0 0 16px 16px;
}
.t-hero h3 { margin: 0 0 4px; color: #fff; font-weight: 700; }
.t-hero p { margin: 0; opacity: .85; font-size: 13px; }

.t-card {
    background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
    padding: 16px; margin: 12px 0; border: none;
}
.t-card h4 { margin: 0 0 8px; font-weight: 700; }

.t-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600; vertical-align: 2px;
}
.t-badge.s1 { background: #fff3e0; color: #e65100; }
.t-badge.s2 { background: #e3f2fd; color: #1565c0; }
.t-badge.s3 { background: #eceff1; color: #546e7a; }
.t-badge.ok { background: #e8f5e9; color: #2e7d32; }
.t-badge.warn { background: #fff8e1; color: #f9a825; }
.t-badge.gray { background: #f0f0f0; color: #888; }

.t-meta { color: #888; font-size: 13px; margin: 6px 0; line-height: 1.7; }
.t-meta .fa { width: 18px; color: #aab; }
.t-prize {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 60%);
    border: 1px dashed #f0b37e; border-radius: 10px; padding: 10px 12px;
    font-size: 13px; margin: 10px 0;
}
.t-rule {
    background: #fafbfd; border-radius: 10px; padding: 12px;
    font-size: 13px; color: #555; margin: 10px 0; line-height: 1.9;
}

.btn-t {
    display: block; width: 100%; padding: 12px; border: none; border-radius: 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #e74c3c 100%);
    color: #fff; font-size: 16px; font-weight: 600; text-align: center;
    text-decoration: none; box-shadow: 0 4px 14px rgba(231,76,60,.35);
}
.btn-t:hover, .btn-t:focus { color: #fff; text-decoration: none; opacity: .92; }
.btn-t.ghost { background: #fff; color: #666; border: 1px solid #ddd; box-shadow: none; }
.btn-t.green { background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%); box-shadow: 0 4px 14px rgba(24,90,157,.3); }

.t-progress { height: 6px; background: #eef0f4; border-radius: 6px; overflow: hidden; margin: 8px 0 2px; }
.t-progress i { display: block; height: 100%; background: linear-gradient(90deg, #ff6b35, #e74c3c); border-radius: 6px; }

.t-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.t-table th { background: #f7f8fa; color: #888; font-weight: 600; padding: 9px 10px; text-align: left; white-space: nowrap; }
.t-table td { padding: 10px; border-top: 1px solid #f0f1f4; }
.t-rank1 { color: #d4a017; font-weight: 800; font-size: 16px; }
.t-rank2 { color: #8e9aaf; font-weight: 800; font-size: 16px; }
.t-rank3 { color: #b0713b; font-weight: 800; font-size: 16px; }

.t-form label { color: #666; font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.t-form .form-control {
    height: 46px; border-radius: 10px; border: 1px solid #e2e5ea;
    box-shadow: none; font-size: 15px; margin-bottom: 14px;
}
.t-form .form-control:focus { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,.08); }
.t-form select.form-control { appearance: none; -webkit-appearance: none; }
.t-tip { color: #999; font-size: 12px; margin-top: -10px; margin-bottom: 14px; }

.t-coupon {
    display: flex; align-items: center; border-radius: 12px; margin: 10px 0;
    background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
    border: 1px solid #ffd9c7; overflow: hidden;
}
.t-coupon .code-side {
    background: linear-gradient(135deg, #ff6b35, #e74c3c); color: #fff;
    padding: 16px 12px; text-align: center; min-width: 96px;
}
.t-coupon .code-side .code { font-size: 15px; font-weight: 800; letter-spacing: 1px; word-break: break-all; }
.t-coupon .info-side { padding: 12px 14px; flex: 1; }
.t-coupon .info-side .pname { font-weight: 700; font-size: 15px; }
.t-coupon .info-side .plev { color: #e67e22; font-size: 12px; margin: 2px 0 6px; }
.t-coupon.used { filter: grayscale(.9); opacity: .65; }

.t-sec { margin: 20px 0 10px; font-size: 16px; font-weight: 700; color: #333; }
.t-sec::before { content: ""; display: inline-block; width: 4px; height: 15px; background: #e74c3c; border-radius: 2px; margin-right: 8px; vertical-align: -2px; }

.t-empty { text-align: center; color: #b5bac2; padding: 40px 0; font-size: 14px; }
.t-empty .fa { font-size: 40px; display: block; margin-bottom: 10px; color: #d8dce2; }

.t-page-title { margin: 18px 0 4px; font-size: 20px; font-weight: 700; }

/* 小按钮(卡片内) */
.btn-t-mini {
    display: inline-block; padding: 7px 18px; border-radius: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #e74c3c 100%);
    color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
    text-decoration: none; box-shadow: 0 3px 10px rgba(231,76,60,.3);
}
.btn-t-mini:hover { color: #fff; text-decoration: none; opacity: .92; }