/* Tournament System - Frontend Styles */

/* Global */
.ts-alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: 500;
}

.ts-alert-success {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #16a34a;
}

.ts-alert-error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.ts-alert-warning {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #d97706;
}

/* Buttons */
.ts-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.ts-button-primary {
    background: #3b82f6;
    color: white;
}

.ts-button-primary:hover {
    background: #2563eb;
}

.ts-button-danger {
    background: #dc2626;
    color: white;
}

.ts-button-danger:hover {
    background: #b91c1c;
}

.ts-button-warning {
    background: #d97706;
    color: white;
}

.ts-button-warning:hover {
    background: #b45309;
}

.ts-button-small {
    padding: 5px 10px;
    font-size: 12px;
}

.ts-button-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* Forms */
.ts-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ts-form-group {
    margin-bottom: 20px;
}

.ts-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.ts-form-group input[type="text"],
.ts-form-group input[type="email"],
.ts-form-group input[type="tel"],
.ts-form-group input[type="number"],
.ts-form-group input[type="date"],
.ts-form-group input[type="datetime-local"],
.ts-form-group select,
.ts-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
}

.ts-form-group input[type="checkbox"] {
    margin-right: 5px;
}

.ts-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ts-form-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.ts-form-inline .ts-form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 150px;
}

/* Tables */
.ts-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ts-table thead {
    background: #f3f4f6;
}

.ts-table th,
.ts-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.ts-table th {
    font-weight: 600;
    color: #374151;
}

.ts-table tbody tr:hover {
    background: #f9fafb;
}

/* Badges */
.ts-badge {
    display: inline-block;
    padding: 3px 8px;
    margin: 2px;
    background: #3b82f6;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

/* Team Registration */
.ts-team-registration {
    max-width: 600px;
    margin: 0 auto;
}

/* Team Management */
.ts-team-management {
    max-width: 1000px;
    margin: 0 auto;
}

.ts-team-selector {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.ts-team-selector select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}

.ts-team-info {
    padding: 20px;
    background: #eff6ff;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #3b82f6;
}

/* Referee Panel */
.ts-referee-panel {
    max-width: 1200px;
    margin: 0 auto;
}

.ts-game-selector {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.ts-game-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}

.ts-game-control {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ts-game-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.ts-game-score {
    font-size: 48px;
    font-weight: bold;
    color: #1f2937;
    margin: 20px 0;
}
.ts-penalty-summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}
.ts-penalty-values {
    font-weight: 800;
    font-size: 20px;
}

.ts-status-live {
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.ts-status-scheduled {
    background: #3b82f6;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ts-score-panel,
.ts-penalty-panel {
    margin: 30px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.ts-penalties-list {
    margin-top: 30px;
}

.ts-game-end-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

/* Live View */
.ts-live-view {
    max-width: 1400px;
    margin: 0 auto;
}

.ts-section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1f2937;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 10px;
}

.ts-no-live-games {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 18px;
    color: #6b7280;
}

.ts-live-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ts-live-game-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    position: relative;
    border: 3px solid #ef4444;
}

.ts-live-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    animation: pulse 2s infinite;
}

.ts-game-info {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.ts-tournament-name {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.ts-field-number {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
}

.ts-game-matchup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.ts-team {
    flex: 1;
    text-align: center;
}

.ts-team1 .ts-team-name {
    text-align: right;
}

.ts-team2 .ts-team-name {
    text-align: left;
}

.ts-team-name {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 10px;
}

.ts-team-score {
    font-size: 48px;
    font-weight: bold;
    color: #3b82f6;
}

.ts-vs {
    font-size: 36px;
    font-weight: bold;
    color: #9ca3af;
    margin: 0 20px;
}

.ts-game-time {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #ef4444;
    margin-top: 15px;
}

.ts-game-events {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.ts-game-events h4 {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.ts-events-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ts-event {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.ts-event-minute {
    font-weight: bold;
    color: #6b7280;
    min-width: 30px;
}

.ts-event-icon {
    font-size: 16px;
}

.ts-event-details {
    color: #374151;
}

.ts-upcoming-games-list,
.ts-completed-games-list {
    display: grid;
    gap: 15px;
}

.ts-upcoming-game-card,
.ts-completed-game-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
    align-items: center;
}

.ts-game-time-badge {
    background: #3b82f6;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
}

.ts-game-details {
    flex: 1;
}

.ts-game-matchup-simple {
    font-size: 16px;
    margin: 5px 0;
}

.ts-game-result {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
}

/* Moderation Dashboard */
.ts-moderation-dashboard {
    max-width: 1600px;
    margin: 0 auto;
}

.ts-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.ts-dashboard-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ts-dashboard-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.ts-mod-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.ts-mod-games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ts-mod-game-card {
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.ts-mod-live {
    border-color: #ef4444;
    background: #fef2f2;
}

.ts-mod-game-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.ts-mod-live-indicator {
    color: #ef4444;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.ts-mod-tournament {
    color: #6b7280;
}

.ts-mod-field {
    margin-left: auto;
    color: #9ca3af;
}

.ts-mod-game-matchup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.ts-mod-team {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ts-mod-team-name {
    font-weight: 600;
    font-size: 16px;
}

.ts-mod-score {
    font-size: 32px;
    font-weight: bold;
    color: #3b82f6;
}

.ts-mod-vs {
    font-size: 24px;
    color: #9ca3af;
}

.ts-mod-game-time {
    text-align: center;
    font-weight: 600;
    color: #ef4444;
}

.ts-countdown-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ts-countdown-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.ts-countdown-card.ts-countdown-starting {
    border-color: #ef4444;
    background: #fef2f2;
}

.ts-countdown-timer {
    min-width: 120px;
    text-align: center;
}

.ts-countdown-display {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
}

.ts-countdown-now {
    color: #ef4444;
    animation: pulse 1s infinite;
}

.ts-countdown-details {
    flex: 1;
}

.ts-countdown-time {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
}

.ts-countdown-matchup {
    margin: 5px 0;
    font-size: 14px;
}

.ts-countdown-info {
    font-size: 12px;
    color: #6b7280;
}

.ts-today-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ts-today-game {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px;
    border-radius: 5px;
    background: #f9fafb;
}

.ts-today-game.ts-status-live {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.ts-today-game.ts-status-completed {
    background: #f3f4f6;
}

.ts-today-time {
    font-weight: bold;
    min-width: 50px;
}

.ts-today-details {
    flex: 1;
}

.ts-today-matchup {
    font-size: 14px;
}

.ts-today-score {
    font-weight: bold;
    color: #3b82f6;
}

.ts-today-live-badge {
    color: #ef4444;
    font-weight: bold;
    font-size: 12px;
}

.ts-today-field {
    color: #9ca3af;
    font-size: 12px;
}

/* Audio-Stream-Widget */
.ts-audio-stream-widget {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0284c7;
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ts-audio-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #0284c7;
}

.ts-audio-icon {
    font-size: 20px;
}

.ts-audio-label {
    font-size: 14px;
}

.ts-audio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ts-audio-source-hint {
    font-size: 12px;
    font-weight: 500;
    color: #0369a1;
    background: rgba(3, 105, 161, 0.1);
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 10px;
}

.ts-audio-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3);
}

.ts-audio-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.4);
}

.ts-audio-btn:active {
    transform: translateY(0);
}

.ts-audio-btn-icon {
    font-size: 16px;
}

.ts-audio-status {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    min-width: 100px;
    text-align: center;
}

.ts-audio-stream-widget--youtube .ts-audio-controls {
    flex-direction: column;
    align-items: flex-start;
}

.ts-audio-stream-widget--youtube .ts-audio-btn {
    width: 100%;
    justify-content: center;
}

.ts-audio-youtube-container {
    margin-top: 12px;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 16 / 9;
}

.ts-audio-youtube-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ts-audio-status-playing {
    background: #10b981;
    color: white;
    animation: pulse 2s infinite;
}

.ts-audio-status-loading {
    background: #f59e0b;
    color: white;
}

.ts-audio-status-error {
    background: #ef4444;
    color: white;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 768px) {
    .ts-form-row {
        grid-template-columns: 1fr;
    }
    
    .ts-live-games-grid {
        grid-template-columns: 1fr;
    }
    
    .ts-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .ts-team-score {
        font-size: 32px;
    }
}

/* Publikums-Abstimmungen / Tipp-System */
.ts-game-poll-widget {
    margin-top: 15px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* Auffälliges Abstimmungs-Design - Modern */
.ts-poll-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%) !important;
    border: 4px solid #f59e0b !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.35), 0 4px 16px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255,255,255,0.5) !important;
    animation: tsPollPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.ts-poll-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: tsShine 3s infinite;
}

@keyframes tsShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes tsPollPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(245, 158, 11, 0.5);
    }
}

.ts-poll-header-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ts-poll-badge-pulse {
    font-size: 24px;
    animation: tsBadgePulse 1.5s ease-in-out infinite;
}

@keyframes tsBadgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.ts-poll-title-highlight {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #d97706 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(217, 119, 6, 0.2);
}

.ts-poll-subtitle {
    text-align: center;
    font-size: 14px;
    color: #92400e;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.ts-poll-subtitle-audience {
    text-align: center;
    font-size: 15px;
    color: #92400e;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0;
}

.ts-poll-results {
    margin-bottom: 10px;
}

.ts-poll-bar {
    margin-bottom: 8px;
}

.ts-poll-option {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ts-poll-label {
    min-width: 80px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.ts-poll-bar-container {
    flex: 1;
    position: relative;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    min-width: 100px;
}

.ts-poll-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 12px;
}

.ts-poll-percent {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    z-index: 1;
}

.ts-poll-count {
    min-width: 80px;
    font-size: 11px;
    color: #6b7280;
    text-align: right;
}

.ts-poll-total {
    margin-top: 8px;
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    font-weight: 500;
}

.ts-poll-vote-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.ts-poll-vote-buttons-highlight {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ts-poll-btn {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    background: white;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ts-poll-btn:hover:not(:disabled) {
    background: #3b82f6;
    color: white;
}

.ts-poll-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.ts-poll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ts-poll-btn[data-vote="draw"] {
    border-color: #6b7280;
    color: #6b7280;
}

.ts-poll-btn[data-vote="draw"]:hover:not(:disabled) {
    background: #6b7280;
    color: white;
}

.ts-poll-btn[data-vote="team2"] {
    border-color: #ef4444;
    color: #ef4444;
}

.ts-poll-btn[data-vote="team2"]:hover:not(:disabled) {
    background: #ef4444;
    color: white;
}

/* Auffällige Abstimmungs-Buttons - Modern */
.ts-poll-btn-highlight {
    flex: 1;
    min-width: 120px;
    padding: 20px 24px !important;
    border: 3px solid !important;
    border-radius: 16px !important;
    background: white !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.ts-poll-btn-highlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ts-poll-btn-highlight:hover::before {
    width: 300px;
    height: 300px;
}

.ts-poll-btn-highlight:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.1) !important;
    border-width: 4px !important;
}

.ts-poll-btn-highlight:active {
    transform: translateY(-2px) scale(0.98) !important;
}

.ts-poll-btn-highlight:active {
    transform: translateY(-1px) scale(0.98) !important;
}

.ts-poll-btn-team1 {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
}

.ts-poll-btn-team1:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4) !important;
}

.ts-poll-btn-draw {
    border-color: #6b7280 !important;
    color: #6b7280 !important;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
}

.ts-poll-btn-draw:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
    box-shadow: 0 12px 32px rgba(107, 114, 128, 0.4) !important;
}

.ts-poll-btn-team2 {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
}

.ts-poll-btn-team2:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.4) !important;
}

.ts-poll-btn-emoji {
    font-size: 28px;
    line-height: 1;
}

.ts-poll-btn-text {
    font-size: 13px;
}

.ts-poll-voted {
    margin-top: 12px;
    padding: 8px 12px;
    background: #dbeafe;
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
    color: #1e40af;
    font-weight: 500;
}

.ts-poll-message {
    margin-top: 8px;
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 4px;
    text-align: center;
}

@media (max-width: 768px) {
    .ts-poll-option {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ts-poll-label {
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .ts-poll-bar-container {
        min-width: 100%;
    }
    
    .ts-poll-count {
        min-width: auto;
        text-align: left;
        margin-top: 4px;
    }
    
    .ts-poll-btn {
        flex: 1 1 100%;
    }
}

/* Zuschauer-Übersicht */
.ts-audience-view {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.ts-audience-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.ts-audience-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
}

/* Modern Header */
.ts-audience-header-modern {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.ts-audience-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.ts-tournament-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ts-tournament-info-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.ts-tournament-badge, .ts-sport-badge {
    padding: 6px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.ts-tournament-badge-modern {
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.ts-sport-badge-modern {
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

.ts-live-badge-animated {
    padding: 8px 16px;
    background: #ef4444;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.ts-live-badge-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    position: relative;
}

.ts-live-pulse {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: tsPulseLive 1.5s ease-in-out infinite;
}

@keyframes tsPulseLive {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.ts-live-text {
    letter-spacing: 1px;
}

.ts-scheduled-badge {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.ts-scheduled-badge-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.ts-time-icon {
    font-size: 18px;
}

.ts-field-info {
    font-size: 14px;
    opacity: 0.9;
}

.ts-field-info-modern {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ts-score-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 3px solid #e5e7eb;
}

/* Modern Score Section */
.ts-score-section-modern {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-bottom: 4px solid #e2e8f0;
    box-shadow: inset 0 -4px 12px rgba(0,0,0,0.05);
}

.ts-team-display {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.ts-team-display-modern {
    flex: 1;
    text-align: center;
    padding: 0 30px;
}

.ts-team-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ts-team-header-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ts-team-name {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
}

.ts-team-name-modern {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ts-jersey-display {
    display: inline-flex;
    align-items: center;
}

.ts-jersey-display-modern {
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.ts-team-score-large {
    font-size: 72px;
    font-weight: bold;
    color: #1f2937;
    line-height: 1;
}

.ts-team-score-modern-large {
    font-size: 96px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    letter-spacing: -2px;
}

.ts-score-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
}

.ts-score-separator-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
}

.ts-score-colon {
    font-size: 72px;
    font-weight: bold;
    color: #9ca3af;
    margin-bottom: 15px;
}

.ts-score-colon-modern {
    font-size: 96px;
    font-weight: 900;
    color: #cbd5e1;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ts-game-time {
    text-align: center;
}

.ts-game-time-info-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.ts-game-time-modern {
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #bfdbfe;
}

.ts-original-time-modern,
.ts-start-time-modern,
.ts-scheduled-time-modern {
    text-align: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.ts-half-time-modern {
    text-align: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
    border: 1px solid #f59e0b;
}

.ts-time-value-modern-original {
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
}

.ts-time-value-modern-half {
    font-size: 18px;
    font-weight: 800;
    color: #92400e;
}

.ts-time-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.ts-time-label-modern {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-time-value {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
}

.ts-time-value-modern {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ts-audience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.ts-audience-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ts-section-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.ts-section-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.ts-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.ts-lineup-section {
    margin-bottom: 0;
}

.ts-team-header-lineup {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ts-lineup-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.ts-lineup-player {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.ts-player-number {
    font-weight: bold;
    color: #3b82f6;
    min-width: 35px;
}

.ts-player-name {
    flex: 1;
    color: #374151;
    font-size: 14px;
}

.ts-substitutes {
    margin-top: 12px;
    padding: 10px;
    background: #eff6ff;
    border-radius: 6px;
    font-size: 12px;
    color: #1e40af;
    line-height: 1.6;
}

.ts-no-lineup {
    padding: 20px;
    text-align: center;
    color: #9ca3af;
    font-style: italic;
}

.ts-events-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ts-event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
}

.ts-event-minute {
    font-weight: bold;
    color: #3b82f6;
    min-width: 40px;
}

.ts-event-icon {
    font-size: 18px;
}

.ts-event-details {
    flex: 1;
    color: #374151;
    font-size: 14px;
}

.ts-event-team {
    color: #6b7280;
    font-size: 12px;
}

.ts-no-events {
    padding: 20px;
    text-align: center;
    color: #9ca3af;
    font-style: italic;
}

/* Publikums-Tipps in Zuschauer-Übersicht */
.ts-poll-results-audience {
    margin-bottom: 15px;
}

.ts-poll-bar-audience {
    margin-bottom: 12px;
}

.ts-poll-option-audience {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-poll-label-audience {
    min-width: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.ts-poll-bar-container-audience {
    flex: 1;
    position: relative;
    height: 28px;
    background: #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.ts-poll-bar-fill-audience {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 14px;
}

.ts-poll-percent-audience {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    z-index: 1;
}

.ts-poll-count-audience {
    min-width: 40px;
    font-size: 12px;
    color: #6b7280;
    text-align: right;
}

.ts-poll-total-audience {
    margin-top: 12px;
    padding: 10px;
    background: #eff6ff;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    color: #1e40af;
}

.ts-poll-vote-buttons-audience {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.ts-poll-vote-buttons-audience-highlight {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ts-poll-btn-audience {
    flex: 1;
    padding: 12px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    background: white;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ts-poll-btn-audience:hover {
    background: #3b82f6;
    color: white;
}

.ts-poll-btn-audience:nth-child(2) {
    border-color: #6b7280;
    color: #6b7280;
}

.ts-poll-btn-audience:nth-child(2):hover {
    background: #6b7280;
    color: white;
}

.ts-poll-btn-audience:nth-child(3) {
    border-color: #ef4444;
    color: #ef4444;
}

.ts-poll-btn-audience:nth-child(3):hover {
    background: #ef4444;
    color: white;
}

/* Auffällige Abstimmungs-Buttons für Audience-View */
.ts-poll-card-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    border: 3px solid #f59e0b !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3) !important;
    animation: tsPollPulse 2s ease-in-out infinite;
}

.ts-poll-btn-audience-highlight {
    flex: 1;
    min-width: 140px;
    padding: 20px 24px !important;
    border: 3px solid !important;
    border-radius: 12px !important;
    background: white !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-poll-btn-audience-highlight:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
}

.ts-poll-btn-audience-highlight:active {
    transform: translateY(-1px) scale(0.98) !important;
}

.ts-poll-btn-team1-audience {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
}

.ts-poll-btn-team1-audience:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
}

.ts-poll-btn-draw-audience {
    border-color: #6b7280 !important;
    color: #6b7280 !important;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
}

.ts-poll-btn-draw-audience:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
}

.ts-poll-btn-team2-audience {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
}

.ts-poll-btn-team2-audience:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
}

.ts-poll-btn-emoji-audience {
    font-size: 32px;
    line-height: 1;
}

.ts-poll-btn-text-audience {
    font-size: 14px;
}

.ts-poll-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 100px;
}

.ts-poll-odds {
    font-size: 11px;
    color: #d97706;
    font-weight: 700;
    background: #fef3c7;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Kommende Spiele Sektion */
.ts-upcoming-games-section-audience {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #3b82f6;
}

.ts-upcoming-games-title {
    font-size: 28px;
    font-weight: 900;
    color: #1e40af;
    margin: 0 0 8px 0;
    text-align: center;
}

.ts-upcoming-games-subtitle {
    text-align: center;
    font-size: 16px;
    color: #1e40af;
    font-weight: 600;
    margin: 0 0 30px 0;
}

.ts-upcoming-games-grid-audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.ts-upcoming-game-card-audience {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ts-upcoming-game-card-audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.ts-upcoming-game-card-audience:hover::before {
    left: 100%;
}

.ts-upcoming-game-card-audience:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15), 0 4px 16px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    border-width: 3px;
}

.ts-upcoming-game-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.ts-upcoming-game-tournament {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.ts-upcoming-game-time {
    font-size: 14px;
    font-weight: 700;
    color: #3b82f6;
    text-align: right;
}

.ts-upcoming-game-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.ts-upcoming-team {
    flex: 1;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    letter-spacing: -0.3px;
}

.ts-upcoming-vs {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 600;
}

.ts-upcoming-field {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 15px;
}

.ts-upcoming-poll {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
}

.ts-upcoming-poll-stats {
    margin-bottom: 12px;
}

.ts-upcoming-poll-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.ts-upcoming-poll-label {
    color: #6b7280;
}

.ts-upcoming-poll-value {
    font-weight: 700;
    color: #1f2937;
}

.ts-upcoming-poll-odds {
    font-size: 11px;
    color: #d97706;
    font-weight: 700;
    background: #fef3c7;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.ts-upcoming-poll-total {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

.ts-upcoming-poll-buttons {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.ts-upcoming-poll-btn {
    flex: 1;
    padding: 10px 8px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    background: white;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.ts-upcoming-poll-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.ts-upcoming-poll-btn-draw {
    border-color: #6b7280;
    color: #6b7280;
    flex: 0 0 auto;
    width: 50px;
}

.ts-upcoming-poll-btn-draw:hover {
    background: #6b7280;
    color: white;
}

.ts-upcoming-poll-voted {
    text-align: center;
    padding: 10px;
    background: #dbeafe;
    border-radius: 8px;
    color: #1e40af;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .ts-upcoming-games-grid-audience {
        grid-template-columns: 1fr;
    }
    
    .ts-upcoming-poll-buttons {
        flex-direction: column;
    }
    
.ts-upcoming-poll-btn-draw {
    width: 100%;
    }
}

/* Turnierauswahl */
.ts-tournament-selector-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.ts-section-title-large {
    font-size: 32px;
    font-weight: 900;
    color: #1f2937;
    text-align: center;
    margin: 0 0 10px 0;
}

.ts-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 40px 0;
}

.ts-tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ts-tournament-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

.ts-tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-color: #3b82f6;
    text-decoration: none;
    color: inherit;
}

.ts-tournament-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ts-tournament-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.ts-tournament-card-info {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.ts-tournament-card-sport {
    font-size: 13px;
    color: #3b82f6;
    font-weight: 600;
    margin: 0;
}

/* Navigation */
.ts-audience-navigation {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ts-tournament-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ts-select-label {
    font-weight: 700;
    font-size: 16px;
    color: #374151;
}

.ts-select-large {
    flex: 1;
    max-width: 500px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    font-size: 16px;
    font-weight: 600;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ts-select-large:hover {
    border-color: #3b82f6;
}

.ts-select-large:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Top-Spieler Sektion */
.ts-top-players-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 2px solid #f59e0b;
}

.ts-top-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.ts-player-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.ts-player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f59e0b;
}

.ts-player-rank {
    font-size: 32px;
    font-weight: 900;
    color: #f59e0b;
    min-width: 50px;
    text-align: center;
}

.ts-player-info {
    flex: 1;
}

.ts-player-name-main {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.ts-player-team {
    font-size: 13px;
    color: #6b7280;
}

.ts-player-stats {
    text-align: right;
}

.ts-player-goals {
    font-size: 24px;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1;
}

.ts-player-games {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

/* Spiel-Auswahl Markierung */
.ts-game-selected {
    border-color: #3b82f6 !important;
    border-width: 4px !important;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3) !important;
    transform: translateY(-2px) !important;
}

.ts-game-selected::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent #3b82f6 transparent transparent;
}

.ts-game-selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 16px;
    font-weight: 900;
    z-index: 1;
}

.ts-game-selected-badge {
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 5px;
}

.ts-upcoming-game-live-badge {
    background: #ef4444;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Publikums-Voting Section */
.ts-public-voting-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 2px solid #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.ts-voting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ts-voting-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.ts-voting-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #f59e0b;
}

.ts-voting-title {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #fef3c7;
}

.ts-voting-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ts-voting-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ts-voting-select:hover {
    border-color: #f59e0b;
}

.ts-voting-select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.ts-voting-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.ts-voting-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.ts-voting-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ts-voting-results {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #4b5563;
}

.ts-voting-results strong {
    display: block;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 15px;
}

.ts-voting-results ol {
    margin: 0;
    padding-left: 20px;
}

.ts-voting-results li {
    margin-bottom: 8px;
    padding: 4px 0;
}

@media (max-width: 768px) {
    .ts-tournament-grid {
        grid-template-columns: 1fr;
    }
    
    .ts-top-players-grid {
        grid-template-columns: 1fr;
    }
    
    .ts-tournament-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ts-select-large {
        max-width: 100%;
    }
    
    .ts-voting-grid {
        grid-template-columns: 1fr;
    }
}

/* Publikums-Voting Ergebnisse Sektion */
.ts-public-voting-results-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.ts-voting-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ts-voting-results-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.ts-voting-results-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.ts-voting-results-title {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-voting-icon {
    font-size: 24px;
}

.ts-voting-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ts-voting-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.ts-voting-result-item:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-color: #3b82f6;
    transform: translateX(4px);
}

.ts-voting-rank {
    font-size: 32px;
    min-width: 50px;
    text-align: center;
}

.ts-voting-result-info {
    flex: 1;
}

.ts-voting-result-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.ts-voting-result-team {
    font-size: 13px;
    color: #6b7280;
}

.ts-voting-result-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 70px;
}

.ts-voting-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.ts-voting-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .ts-voting-results-grid {
        grid-template-columns: 1fr;
    }
}

.ts-poll-voted-audience {
    padding: 12px;
    background: #dbeafe;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #1e40af;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .ts-audience-content {
        grid-template-columns: 1fr;
    }
    
    .ts-score-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .ts-score-separator {
        padding: 20px 0;
    }
    
    .ts-team-score-large {
        font-size: 56px;
    }
    
    .ts-score-colon {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .ts-audience-view {
        padding: 10px;
    }
    
    .ts-audience-header {
        padding: 20px;
    }
    
    .ts-score-section {
        padding: 30px 20px;
    }
    
    .ts-team-score-large {
        font-size: 48px;
    }
    
    .ts-lineup-list {
        grid-template-columns: 1fr;
    }
    
    .ts-poll-vote-buttons-audience {
        flex-direction: column;
    }
}

