.olympic-bracket-wrapper {
    --bg-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111;
    background: var(--bg-color);
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    max-width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.olympic-bracket-wrapper * { box-sizing: border-box; }

.ob-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
.ob-widget-title, .ob-main-title { margin: 0 0 5px 0; font-size: 1.5em; line-height: 1.2; color: #1e293b; }
.ob-meta-text { font-size: 13px; color: #64748b; margin: 0; }

.ob-public-controls label { display: flex; align-items: center; gap: 5px; cursor: pointer; background: #f8fafc; padding: 5px 10px; border-radius: 20px; border: 1px solid #e2e8f0; }
.ob-lang-icon { font-size: 16px; }
.ob-lang-selector { border: none !important; background: transparent !important; font-weight: 500; color: #334155; outline: none; padding: 0 !important; margin: 0 !important; font-size: 13px !important; }

.ob-admin-panel { background: #eff6ff; border: 1px solid #bfdbfe; padding: 15px; border-radius: 8px; margin-bottom: 15px; display: flex; flex-direction: column; gap: 10px; }
.admin-header { font-weight: 800; color: #1e40af; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.control-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 5px; }

.olympic-bracket-wrapper select:not(.ob-lang-selector), 
.olympic-bracket-wrapper input[type=text], 
.olympic-bracket-wrapper button { font-size: 13px; padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; height: auto; line-height: normal; margin: 0; transition: all 0.2s; }
.ob-btn-save { background: #22c55e !important; color: #fff !important; border-color: #16a34a !important; font-weight: bold; box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2); }
.ob-btn-save:hover { background: #16a34a !important; transform: translateY(-1px); }
.ob-btn-reset { background: #fee2e2 !important; color: #991b1b !important; border-color: #fca5a5 !important; }
.ob-btn-toggle-admin { width: 100%; cursor: pointer; background: #f1f5f9; font-weight: 600; color: #475569; }
.ob-btn-toggle-admin:hover { background: #e2e8f0; }

.ob-board-container { width: 100%; overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; scrollbar-width: thin; scrollbar-color: #cbd5e1 #f1f5f9; }

.ob-board { display: flex; gap: 20px; padding-bottom: 10px; min-height: 100px; }
.ob-round { display: flex; flex-direction: column; gap: 24px; min-width: 160px; }
.ob-round h3 { text-align: center; margin: 0 0 12px 0; font-size: 12px; text-transform: uppercase; color: #64748b; font-weight: 700; letter-spacing: 0.5px; }

.ob-match { display: flex; flex-direction: column; border-radius: 8px; padding: 6px; border: 1px solid; transition: all 0.2s ease; position: relative; box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05); }
.ob-match:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(15, 23, 42, 0.1); z-index: 10; }

/* Round Colors */
.ob-round:nth-child(1) .ob-match { background: linear-gradient(to bottom, #e0f7fa, #b2ebf2); border-color: #4dd0e1; }
.ob-round:nth-child(2) .ob-match { background: linear-gradient(to bottom, #e1f5fe, #b3e5fc); border-color: #4fc3f7; }
.ob-round:nth-child(3) .ob-match { background: linear-gradient(to bottom, #e3f2fd, #90caf9); border-color: #64b5f6; }
.ob-round:nth-child(4) .ob-match { background: linear-gradient(to bottom, #e8eaf6, #c5cae9); border-color: #7986cb; }
.ob-round:nth-child(n+5) .ob-match { background: linear-gradient(to bottom, #f3e5f5, #e1bee7); border-color: #ba68c8; }

.ob-player { display: flex; align-items: center; gap: 6px; padding: 4px 6px; font-size: 12px; background: rgba(255,255,255,0.85); margin-bottom: 3px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.6); }
.ob-player:last-child { margin-bottom: 0; }

/* Standard Radio Buttons */
.ob-player input[type=radio] { margin: 0; width: 16px; height: 16px; cursor: pointer; accent-color: #2563eb; }

.ob-player input[type=text] { border: 1px solid transparent; background: transparent; width: 100%; padding: 2px; font-size: 12px; font-weight: 500; color: #334155; }
.ob-player input[type=text]:focus { outline: none; border-bottom: 1px dashed #2563eb; background: #fff; }
.ob-seed { font-size: 10px; opacity: 0.6; width: 18px; text-align: right; font-weight: bold; }

/* Champion Highlight */
.ob-player.ob-champion {
    background-color: #fef9c3; /* Gold bg */
    border-color: #eab308;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.3);
}
.ob-player.ob-champion input[type=text] {
    color: #854d0e;
    font-weight: 900;
}

.ob-save-status { font-size: 11px; font-weight: bold; min-height: 15px; margin-top: 5px; }