        .sce-turniere-wrapper {
            max-width: 1000px;
            margin: 20px auto;
            padding: 20px;
        }

        .sce-turniere-wrapper h2,
        .sce-turniere-wrapper h3 {
            margin-bottom: 15px;
        }

        .sce-button,
        .sce-turniere-wrapper button {
            display: inline-block;
            background: #222;
            color: #fff;
            padding: 10px 16px;
            text-decoration: none;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .sce-button:hover {
            background: #444;
            color: #fff;
        }

        .sce-turniere-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 30px;
        }

        .sce-turniere-table th,
        .sce-turniere-table td {
            border: 1px solid #ddd;
            padding: 8px;
        }

        .sce-turniere-table th {
            background: #f2f2f2;
            text-align: left;
        }

        .sce-form-row {
            margin-bottom: 15px;
        }

        .sce-form-row label {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .sce-form-row input,
        .sce-form-row select {
            width: 100%;
            max-width: 400px;
            padding: 8px;
        }

        .sce-schedule-block {
            border: 1px solid #ddd;
            padding: 12px;
            margin: 0 0 18px 0;
            background: #fafafa;
        }

        .sce-schedule-block h4 {
            margin-top: 0;
        }

        .sce-notice {
            padding: 10px 12px;
            background: #fff8d8;
            border-left: 4px solid #d6a700;
            margin: 15px 0;
        }

        .sce-result-input {
            width: 90px !important;
            max-width: 90px !important;
            padding: 6px !important;
            text-align: right;
        }

        .sce-ranking-position {
            font-weight: bold;
            text-align: right;
        }

        .sce-match-row.sce-match-saved {
            background: #eef9ee;
        }

        .sce-ajax-status {
            display: block;
            margin-top: 6px;
            font-size: 0.9em;
        }

        .sce-ajax-status.sce-ok {
            color: #1f7a1f;
        }

        .sce-ajax-status.sce-error {
            color: #b00020;
        }

        .sce-crosstable-wrapper {
            overflow-x: auto;
            margin-bottom: 30px;
        }

        .sce-crosstable th,
        .sce-crosstable td {
            text-align: center;
            white-space: nowrap;
        }

        .sce-crosstable th:first-child,
        .sce-crosstable td:first-child {
            text-align: left;
            position: sticky;
            left: 0;
            background: #fff;
            z-index: 1;
        }

        .sce-crosstable thead th:first-child {
            background: #f2f2f2;
            z-index: 2;
        }

        .sce-crosstable-total {
            font-weight: bold;
            background: #f7f7f7;
        }

        .sce-crosstable-empty {
            color: #999;
        }


        .sce-modal-link {
            color: #222;
            text-decoration: underline;
            cursor: pointer;
            font-weight: bold;
            background: none;
            border: none;
            padding: 0;
            font-size: inherit;
        }

        .sce-modal-overlay {
            display: none;
            position: fixed;
            z-index: 99999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.55);
        }

        .sce-modal-overlay.sce-modal-open {
            display: block;
        }

        .sce-modal-box {
            position: relative;
            width: 90%;
            max-width: 950px;
            height: 75vh;
            margin: 6vh auto;
            background: #fff;
            border-radius: 6px;
            padding: 20px;
            box-sizing: border-box;
            overflow-y: auto;
        }

        .sce-modal-close {
            position: absolute;
            right: 15px;
            top: 10px;
            background: #222;
            color: #fff;
            border: none;
            border-radius: 4px;
            padding: 6px 10px;
            cursor: pointer;
        }

        .sce-modal-box h3 {
            margin-top: 0;
            padding-right: 80px;
        }


        .sce-timer-controls {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
            margin: 15px 0 20px 0;
        }

        .sce-timer-box {
            width: 100vw;
            max-width: none;
            height: 100vh;
            max-height: none;
            margin: 0;
            border-radius: 0;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 30px;
        }

        .sce-timer-box.sce-timer-has-bg {
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            color: #fff;
        }

        .sce-timer-box.sce-timer-has-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.62);
            z-index: 0;
        }

        .sce-timer-box.sce-timer-has-bg > * {
            position: relative;
            z-index: 1;
        }

        .sce-timer-box.sce-timer-ended {
            background: #fff0f0;
            border: 8px solid #b00020;
        }

        .sce-timer-box.sce-timer-ended.sce-timer-has-bg {
            border: 8px solid #b00020;
        }

        .sce-timer-box.sce-timer-ended.sce-timer-has-bg::before {
            background: rgba(80, 0, 0, 0.72);
        }

        .sce-timer-display {
            font-size: clamp(96px, 18vw, 260px);
            font-weight: bold;
            line-height: 1;
            margin: 20px 0;
            font-variant-numeric: tabular-nums;
        }

        .sce-timer-last-minute .sce-timer-display {
            color: #b00020;
            animation: sceTimerPulse 1s infinite;
        }

        .sce-timer-ended .sce-timer-display {
            color: #b00020;
            animation: none;
        }

        .sce-timer-settings {
            margin-bottom: 15px;
            font-size: 22px;
        }

        .sce-timer-settings input {
            width: 110px;
            padding: 8px;
            text-align: center;
            font-size: 24px;
        }

        .sce-timer-has-bg .sce-timer-settings,
        .sce-timer-has-bg .sce-timer-status,
        .sce-timer-has-bg #sce-timer-title {
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
        }

        .sce-timer-status {
            min-height: 40px;
            font-weight: bold;
            margin-top: 18px;
            font-size: clamp(24px, 4vw, 56px);
        }

        .sce-timer-buttons .sce-button {
            font-size: 22px;
            padding: 14px 22px;
            margin: 4px;
        }

        .sce-timer-box #sce-timer-title {
            font-size: clamp(28px, 4vw, 58px);
            padding-right: 0;
        }

        .sce-timer-ended #sce-timer-display {
            font-size: clamp(54px, 9vw, 160px);
        }

        @keyframes sceTimerPulse {
            0% { opacity: 1; }
            50% { opacity: 0.45; }
            100% { opacity: 1; }
        }

        .sce-finish-tournament-box {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px solid #ddd;
        }

        .sce-finish-button {
            background: #198754;
            color: #fff;
            font-weight: bold;
        }

.sce-turniere-table th,
.sce-turniere-table td {
    padding: 10px 12px !important;
}

.sce-cross-table th,
.sce-cross-table td {
    padding: 8px 10px !important;
}