.tn-wrap { max-width: 780px; margin: 0 auto; padding: 24px 18px 80px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.tn-hero { display: flex; align-items: center; gap: 18px; background: #0b2545; color: #fff; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; }
.tn-logo { width: 84px; height: 84px; flex-shrink: 0; object-fit: contain; }
.tn-hero h1 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.tn-hero p { font-size: 13px; color: rgba(255,255,255,.82); margin: 0; line-height: 1.5; }
.tn-balance { margin-top: 9px; font-size: 14px; background: rgba(255,255,255,.13); display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 20px; }
.tn-balance .fa-coins { color: #fbbf24; }

.tn-sec { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; margin: 22px 0 10px; display: flex; align-items: center; gap: 7px; }

.tn-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.tn-card h2 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }

.tn-match.is-live { border-color: #fecaca; box-shadow: 0 0 0 2px rgba(239,68,68,.10); }
.tn-match-top { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.tn-reward { margin-left: auto; font-size: 12px; color: #92400e; background: #fef3c7; padding: 3px 10px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.tn-grp { font-size: 11px; font-weight: 700; color: #6b7280; background: #f3f4f6; padding: 3px 9px; border-radius: 10px; }

.tn-live { color: #dc2626; font-weight: 800; font-size: 12px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; }
.tn-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc2626; display: inline-block; animation: tnpulse 1.3s infinite; }
@keyframes tnpulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.tn-fin { color: #6b7280; font-weight: 700; font-size: 11px; letter-spacing: .03em; }
.tn-sched { color: #2563eb; font-weight: 700; font-size: 11px; }

.tn-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.tn-team { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tn-team.tn-a { justify-content: flex-end; text-align: right; }
.tn-team.tn-b { justify-content: flex-start; flex-direction: row-reverse; text-align: left; }
.tn-name { font-size: 15px; font-weight: 700; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-team.win .tn-name { color: #15803d; }
.tn-flag { width: 34px; height: 23px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
.tn-flag-blank { display: inline-block; background: #e5e7eb; }
.tn-nums { font-size: 28px; font-weight: 800; color: #111; white-space: nowrap; }
.tn-nums span { color: #cbd5e1; margin: 0 5px; }

.tn-picks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.tn-pick { border: 1px solid #d1d5db; background: #fff; border-radius: 9px; padding: 9px 6px; cursor: pointer; transition: all .14s; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tn-pick-label { font-size: 13px; font-weight: 600; color: #374151; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-pick:hover { border-color: #111; }
.tn-pick.mine { border-color: #2563eb; background: #eff6ff; }
.tn-pick.mine .tn-pick-label { color: #1d4ed8; }
.tn-pct { font-size: 11px; font-weight: 600; color: #9ca3af; }

.tn-mypick { margin-top: 11px; font-size: 12px; color: #6b7280; }
.tn-won { color: #15803d; }
.tn-won .fa-coins { color: #f59e0b; }
.tn-lost { color: #9ca3af; }

.tn-staffctl { margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; border-top: 1px solid #f3f4f6; padding-top: 11px; }
.tn-staffctl-done { color: #9ca3af; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tn-staff-grp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tn-staff-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9ca3af; margin-right: 2px; }
.tn-btn { border: 1px solid #d1d5db; background: #fff; border-radius: 7px; padding: 6px 11px; font-size: 12px; font-weight: 600; cursor: pointer; color: #374151; display: inline-flex; align-items: center; gap: 5px; }
.tn-btn:hover { background: #f9fafb; }
.tn-btn-ghost { color: #9ca3af; padding: 6px 8px; }
.tn-btn-go { background: #16a34a; color: #fff; border-color: #16a34a; }
.tn-btn-go:hover { background: #15803d; }
.tn-btn-fin { color: #b91c1c; border-color: #fca5a5; }
.tn-btn-fin:hover { background: #fef2f2; }

.tn-staff-card { background: #0f172a; border: none; color: #fff; }
.tn-staff-card h2 { color: #fff; }
.tn-staff-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tn-staff-row input { border: 1px solid #334155; background: #1e293b; color: #fff; border-radius: 8px; padding: 8px 11px; font-size: 13px; flex: 1; min-width: 110px; }
.tn-staff-row input::placeholder { color: #64748b; }
.tn-staff-card .tn-btn { background: #38bdf8; color: #0f172a; border-color: #38bdf8; }
.tn-staff-note { font-size: 11px; color: #94a3b8; margin: 9px 0 0; }

.tn-watch-card h2 { display: flex; align-items: center; gap: 7px; }
.tn-watch-card .fa-youtube { color: #ff0000; }
.tn-watch { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.tn-watch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tn-watch-note { font-size: 11px; color: #9ca3af; margin: 8px 0 0; }

.tn-empty { text-align: center; color: #9ca3af; padding: 40px 0; font-size: 14px; }

@media (max-width: 560px) {
  .tn-name { font-size: 13px; }
  .tn-nums { font-size: 23px; }
  .tn-flag { width: 28px; height: 19px; }
}
