
.ticker-page {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}
.ticker-intro {
    text-align: center;
    margin: 0 auto 2rem;
}
.ticker-eyebrow {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
}
.ticker-intro h2,
.ticker-guide h2,
.ticker-guide h3 {
    color: #d4af37;
    font-family: Oswald, sans-serif;
}
.ticker-intro h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin: .5rem 0;
}
.ticker-intro p {
    max-width: 680px;
    margin: .7rem auto;
}
.ticker-widget {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 1.15rem;
    background: #101113;
    border: 1px solid #655227;
    border-radius: 16px;
    color: #f1f1f1;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.ticker-widget-heading,
.ticker-credit,
.ticker-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.ticker-widget-heading strong {
    color: #d4af37;
    display: block;
    font-size: .9rem;
    letter-spacing: .07em;
}
.ticker-widget-heading span:not(.ticker-symbol) {
    display: block;
    color: #aaa;
    font-size: .8rem;
}
.ticker-symbol {
    color: #d4af37;
    font-size: 1.7rem;
}
.ticker-leagues {
    border: 0;
    padding: 0;
    margin: 1.2rem 0 1rem;
    min-width: 0;
}
.ticker-leagues legend,
.ticker-label {
    display: block;
    margin-bottom: .5rem;
    font-size: .75rem;
    color: #c6c6c6;
    letter-spacing: .05em;
}
.ticker-league-options,
.ticker-tabs {
    display: flex;
    gap: .35rem;
}
.ticker-league-options label {
    position: relative;
    flex: 1;
    cursor: pointer;
}
.ticker-league-options input {
    position: absolute;
    opacity: 0;
}
.ticker-league-options span,
.ticker-tabs button {
    display: block;
    width: 100%;
    text-align: center;
    padding: .65rem .35rem;
    border: 1px solid #464646;
    border-radius: 8px;
    background: #202124;
    color: #ddd;
    font: inherit;
    font-size: .85rem;
    box-sizing: border-box;
    cursor: pointer;
}
.ticker-league-options input:checked + span,
.ticker-tabs button[aria-pressed="true"] {
    color: #111;
    border-color: #d4af37;
    background: #d4af37;
    font-weight: 700;
}
.ticker-league-options input:focus-visible + span,
.ticker-tabs button:focus-visible,
.ticker-team-select:focus-visible,
.ticker-actions button:focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: 3px;
}
.ticker-team-select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: .85rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #626262;
    background: #232428;
    color: #fff;
    font: inherit;
}
.ticker-tabs {
    margin-bottom: .9rem;
}
.ticker-tabs button {
    flex: 1;
}
.ticker-content {
    padding: 1rem;
    background: #1d1e21;
    border: 1px solid #343434;
    border-radius: 12px;
}
.ticker-content h3 {
    color: #f5f5f5;
    margin: 0 0 1rem;
    font-size: 1rem;
}
.ticker-state {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.ticker-state-icon {
    color: #d4af37;
    font-size: 1.5rem;
}
.ticker-state p {
    color: #c1c1c1;
    font-size: .86rem;
    line-height: 1.55;
    margin: 0;
}
.ticker-state a,
.ticker-credit a {
    color: #e8c867;
}
.ticker-actions {
    margin: 1rem 0;
    flex-wrap: wrap;
}
.ticker-actions button {
    border: 1px solid #d4af37;
    border-radius: 8px;
    color: #d4af37;
    background: transparent;
    padding: .6rem .85rem;
    font: inherit;
    cursor: pointer;
}
#ticker-message {
    color: #c5c5c5;
    font-size: .8rem;
}
.ticker-credit {
    border-top: 1px solid #3a3a3a;
    padding-top: .85rem;
    font-size: .72rem;
}
.ticker-credit span {
    color: #aaa;
}
.ticker-guide {
    margin: 3rem auto 0;
    max-width: 740px;
    line-height: 1.65;
}
.ticker-guide h3 {
    margin-top: 1.8rem;
}
@media(max-width: 420px) {
    .ticker-page {padding: 0 .5rem;}
    .ticker-widget {padding: .85rem;}
    .ticker-widget-heading strong {font-size: .8rem;}
}


.ticker-team-search {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: .4rem;
    padding: .8rem;
    border-radius: 8px;
    border: 1px solid #626262;
    background: #232428;
    color: #fff;
    font: inherit;
}

.ticker-team-search::placeholder {
    color: #b8b8b8;
}

.ticker-team-search:focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: 2px;
}

.ticker-team-search:disabled {
    opacity: .7;
}

.ticker-search-status {
    margin-bottom: 1rem;
    color: #bdbdbd;
    font-size: .77rem;
}

.ticker-team-select:disabled {
    opacity: .7;
}


.ticker-combobox {
    position: relative;
}

.ticker-combobox .ticker-team-search {
    margin-bottom: .4rem;
}

.ticker-combobox-results {
    max-height: 255px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #222326;
    border: 1px solid #a58a34;
    border-radius: 8px;
    margin: 0 0 .45rem;
}

.ticker-combobox-results[hidden] {
    display: none !important;
}

.ticker-combobox-option {
    padding: .8rem;
    color: #f2f2f2;
    border-bottom: 1px solid #37383a;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.ticker-combobox-option:last-child {
    border-bottom: 0;
}

.ticker-combobox-option:hover,
.ticker-combobox-option[aria-selected="true"] {
    background: #d4af37;
    color: #111;
}

.ticker-combobox-empty {
    padding: .8rem;
    color: #ddd;
    margin: 0;
}

#ticker-team[hidden] {
    display: none !important;
}


.ticker-favorites {
    margin: .25rem 0 1rem;
    padding: .85rem;
    background: #191a1c;
    border: 1px solid #414141;
    border-radius: 10px;
}

.ticker-favorites-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: .65rem;
}

.ticker-favorites-header h3 {
    font-family: Oswald, sans-serif;
    font-size: 1rem;
    color: #d4af37;
    margin: 0;
}

#ticker-add-favorite {
    border: 1px solid #d4af37;
    border-radius: 7px;
    background: transparent;
    color: #e8c867;
    padding: .55rem .65rem;
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}

#ticker-add-favorite:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ticker-favorites-list {
    display: grid;
    gap: .45rem;
}

.ticker-favorite-row {
    display: flex;
    gap: .4rem;
    min-width: 0;
}

.ticker-favorite-select {
    flex: 1;
    min-width: 0;
    text-align: left;
    border: 1px solid #444;
    border-radius: 8px;
    background: #232428;
    color: #fff;
    padding: .65rem;
    font: inherit;
    cursor: pointer;
}

.ticker-favorite-select span {
    display: block;
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.ticker-favorite-select small {
    display: block;
    color: #aaa;
    font-size: .72rem;
    margin-top: .2rem;
}

.ticker-favorite-select[aria-pressed="true"] {
    border-color: #d4af37;
    background: #453a1d;
}

.ticker-favorite-remove {
    min-width: 42px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #232428;
    color: #eee;
    font: inherit;
    font-size: 1.35rem;
    cursor: pointer;
}

.ticker-favorites-empty,
.ticker-favorites-status {
    color: #bdbdbd;
    font-size: .78rem;
    line-height: 1.5;
}

.ticker-favorites-empty {
    margin: .2rem 0;
}

.ticker-favorites-status:empty {
    display: none;
}

.ticker-favorites-status {
    margin: .55rem 0 0;
}

#ticker-add-favorite:focus-visible,
.ticker-favorite-select:focus-visible,
.ticker-favorite-remove:focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: 3px;
}


/* VB_TICKER_CLEAR_CONTROL_V1 */
/* Main tracker only; embedded widget appearance unchanged. */
.ticker-combobox--clearable .ticker-team-search {
    padding-right: 3.75rem;
}

.ticker-combobox--clearable .ticker-team-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.ticker-combobox--clearable .ticker-team-clear {
    position: absolute;
    top: 3px;
    right: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #d4af37;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.ticker-combobox--clearable .ticker-team-clear[hidden] {
    display: none !important;
}

.ticker-combobox--clearable .ticker-team-clear:hover {
    color: #ffe082;
}

.ticker-combobox--clearable .ticker-team-clear:focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: -2px;
}
