.br-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 36px 28px 80px;
    color: #242322
}

.br-page * {
    box-sizing: border-box
}

.br-back,
.br-page a {
    color: inherit
}

.br-back {
    font-size: 13px;
    text-decoration: none
}

.br-header {
    padding: 42px 0 24px
}

.br-eyebrow {
    font-size: 11px;
    letter-spacing: .19em;
    font-weight: 700;
    margin: 0 0 14px
}

.br-header h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.035em;
    margin: 0 0 20px
}

.br-header p:last-child {
    max-width: 580px;
    color: #68625f;
    font-size: 15px;
    line-height: 1.7
}

.br-request {
    padding: 26px;
    background: #f6f3ef;
    border: 1px solid #e4dfd9;
    margin-bottom: 52px
}

.br-request label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px
}

.br-input-row {
    display: flex;
    gap: 10px
}

.br-page input,
.br-page select {
    min-width: 0;
    flex: 1;
    padding: 14px;
    border: 1px solid #d7d1ca;
    border-radius: 0;
    background: white;
    color: #242322;
    font: inherit;
    font-size: 16px
}

.br-page button {
    background: #282522;
    border: 1px solid #282522;
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap
}

.br-page button:disabled {
    cursor: default;
    background: #edeae5;
    border-color: #ded8d0;
    color: #69635c
}

.br-page button.br-secondary {
    background: transparent;
    color: #282522
}

.br-page :focus-visible,
.br-banner a:focus-visible {
    outline: 2px solid #946041;
    outline-offset: 4px
}

.br-fine {
    font-size: 12px;
    line-height: 1.65;
    color: #746d65
}

.br-chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.br-chart-heading h2 {
    font: 400 31px Georgia, serif;
    margin: 0 0 12px
}

.br-live {
    font-size: 11px;
    white-space: nowrap;
    color: #38704e
}

.br-columns {
    display: grid;
    grid-template-columns: 85px 1fr 200px;
    border-bottom: 1px solid #242322;
    padding: 20px 0 12px;
    font-size: 10px;
    letter-spacing: .12em
}

.br-columns span:last-child {
    text-align: right
}

.br-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.br-row {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr) 200px;
    align-items: center;
    min-height: 90px;
    border-bottom: 1px solid #e4dfd9;
    background: #fff;
    position: relative
}

.br-position {
    display: flex;
    align-items: center;
    gap: 10px
}

.br-rank {
    font: 24px Georgia, serif;
    font-variant-numeric: tabular-nums
}

.br-movement {
    font: 11px sans-serif;
    color: #92877c
}

.br-movement.up {
    color: #28794d
}

.br-movement.down {
    color: #a64e42
}

.br-brand {
    font: 24px Georgia, serif;
    overflow-wrap: anywhere;
    padding-right: 15px
}

.br-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px
}

.br-count {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    text-align: right
}

.br-count small {
    display: block;
    font: 10px sans-serif;
    color: #766d65
}

.br-page .br-vote {
    padding: 9px 12px;
    min-width: 80px
}

.br-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0
}

.br-tabs a[aria-current] {
    font-weight: 700;
    text-underline-offset: 6px
}

.br-voters {
    list-style: none;
    padding: 0
}

.br-voters li {
    border-bottom: 1px solid #e4dfd9
}

.br-voters a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    text-decoration: none;
    overflow-wrap: anywhere
}

.br-voters span {
    color: #766d65
}

.br-admin-card {
    border: 1px solid #e4dfd9;
    padding: 24px;
    margin: 22px 0
}

.br-admin-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 20px 0
}

.br-admin-actions form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.br-admin-card summary {
    cursor: pointer;
    font-size: 13px
}

.br-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: #f6f3ef;
    border-bottom: 1px solid #ded8d0;
    padding: 20px max(24px, calc((100% - 1180px)/2));
    color: #282522
}

.br-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6
}

.br-banner a {
    color: inherit;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 4px
}

.br-banner strong {
    font-weight: 600
}

@media(max-width:600px) {
    .br-page {
        padding: 24px 18px 60px
    }

    .br-header {
        padding-top: 30px
    }

    .br-request {
        padding: 18px;
        margin-bottom: 36px
    }

    .br-input-row {
        flex-direction: column
    }

    .br-columns,
    .br-row {
        grid-template-columns: 50px minmax(0, 1fr) 130px
    }

    .br-columns {
        font-size: 9px
    }

    .br-row {
        min-height: 86px
    }

    .br-position {
        gap: 4px;
        flex-wrap: wrap
    }

    .br-rank {
        font-size: 21px
    }

    .br-brand {
        font-size: 20px;
        padding-right: 8px
    }

    .br-actions {
        gap: 10px
    }

    .br-count {
        font-size: 18px
    }

    .br-page .br-vote {
        min-width: 66px;
        padding: 9px 7px;
        font-size: 12px
    }

    .br-chart-heading h2 {
        font-size: 27px
    }

    .br-live {
        font-size: 10px
    }

    .br-banner {
        padding: 16px 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px
    }

    .br-admin-card {
        padding: 16px
    }

    .br-admin-card .br-chart-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .br-voters a {
        flex-direction: column;
        gap: 6px
    }
}

@media(prefers-reduced-motion:reduce) {
    .br-row {
        animation: none !important;
        transition: none !important
    }
}

/* Request page */
#brand-requests .br-header {
    padding: 30px 0 24px;
}

#brand-requests .br-header h1 {
    font-size: clamp(36px, 5vw, 50px);
    margin-bottom: 12px;
}

#brand-requests .br-header p:last-child {
    max-width: 640px;
    margin-bottom: 0;
}

/* A prominent, high-contrast request box */
#brand-requests .br-request {
    background: #191919;
    color: #fff;
    border: 1px solid #191919;
    padding: 30px;
    margin-bottom: 38px;
    box-shadow: 7px 7px 0 #e5e5e5;
}

#brand-requests .br-request-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

#brand-requests .br-request label {
    color: #fff;
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.25;
    font-weight: 500;
    margin: 0;
}

#brand-requests .br-request-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #777;
    font-size: 27px;
}

#brand-requests .br-request .br-input-row {
    gap: 0;
    padding: 5px;
    background: #fff;
    border: 1px solid #fff;
}

#brand-requests .br-request input {
    padding: 16px;
    border: 0;
    background: #fff;
    color: #191919;
}

#brand-requests .br-request input::placeholder {
    color: #767676;
}

#brand-requests .br-request .br-input-row:focus-within {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

#brand-requests .br-request input:focus-visible {
    outline: 2px solid #555;
    outline-offset: -3px;
}

#brand-requests .br-request button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #191919;
    border-color: #191919;
    color: #fff;
    padding: 14px 22px;
}

#brand-requests .br-request button:hover:not(:disabled) {
    background: #3c3c3c;
}

#brand-requests .br-request button:disabled {
    background: #ddd;
    border-color: #ddd;
    color: #555;
}

#brand-requests .br-request .br-fine {
    color: #c7c7c7;
    margin: 16px 0 0;
}

#brand-requests .br-request a {
    color: #fff;
    text-underline-offset: 4px;
}

#brand-requests .br-request #br-message:not(:empty) {
    border-top: 1px solid #555;
    padding-top: 16px;
    margin-top: 20px;
    color: #fff;
}

#brand-requests .br-request #br-message:empty {
    margin: 0;
}

/* Give the chart a clearer visual structure */
#brand-requests section[aria-labelledby="br-chart-title"] {
    border-top: 2px solid #191919;
    padding-top: 24px;
}

#brand-requests .br-chart-heading .br-eyebrow {
    margin-bottom: 8px;
}

#brand-requests .br-live {
    border: 1px solid #d4d4d4;
    padding: 8px 10px;
    background: #fff;
}

#brand-requests .br-columns {
    background: #191919;
    color: #fff;
    border: 0;
    padding: 14px 16px;
    margin-top: 20px;
}

#brand-requests .br-row {
    padding: 0 16px;
    border-left: 1px solid #dedede;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

#brand-requests .br-row:nth-child(even) {
    background: #f7f7f7;
}

#brand-requests .br-row:first-child {
    background: #eeeeee;
    box-shadow: inset 3px 0 0 #191919;
}

#brand-requests .br-row:first-child .br-brand {
    font-weight: 700;
}

#brand-requests .br-rank {
    font-size: 28px;
}

#brand-requests .br-count {
    font-size: 23px;
    font-weight: 600;
}

#brand-requests .br-count:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

#brand-requests .br-vote:hover:not(:disabled) {
    background: #484848;
    border-color: #484848;
}

#brand-requests #br-empty:not([hidden]) {
    padding: 32px 20px;
    margin: 0;
    background: #f7f7f7;
    border: 1px solid #dedede;
    text-align: center;
}

@media (max-width: 600px) {
    #brand-requests .br-request {
        padding: 20px;
        box-shadow: 4px 4px 0 #e5e5e5;
    }

    #brand-requests .br-request-heading {
        gap: 12px;
        margin-bottom: 18px;
    }

    #brand-requests .br-request-symbol {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

    #brand-requests .br-request .br-input-row {
        gap: 5px;
    }

    #brand-requests .br-request input {
        width: 100%;
        padding: 14px 10px;
    }

    #brand-requests .br-request button {
        width: 100%;
        padding: 14px;
    }

    #brand-requests .br-columns,
    #brand-requests .br-row {
        grid-template-columns: 40px minmax(0, 1fr) 120px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #brand-requests .br-rank {
        font-size: 23px;
    }

    #brand-requests .br-count {
        font-size: 20px;
    }

    #brand-requests .br-actions {
        gap: 8px;
    }

    #brand-requests .br-live {
        padding: 7px;
        font-size: 10px;
    }
}

/* Profile pictures on the voter list */
.br-voters a.br-voter-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 0;
}

.br-voters .br-voter-avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background: #eeeeee;
    color: #242322;
    border: 1px solid #dedede;
}

.br-voters .br-voter-initial {
    color: inherit;
    font-size: 20px;
    font-weight: 600;
}

.br-voter-avatar img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eeeeee;
}

.br-voter-avatar img[hidden] {
    display: none;
}

.br-voters .br-voter-info {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    color: #242322;
    overflow-wrap: anywhere;
}

.br-voter-info strong {
    font-size: 15px;
    line-height: 1.4;
}

.br-voters .br-voter-username {
    font-size: 12px;
    color: #737373;
}

.br-voters .br-voter-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: #242322;
    font-size: 20px;
}

.br-voters .br-voter-link:hover .br-voter-info strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Rounded outer request box; square typing box */
#brand-requests .br-request {
    border-radius: 20px;
}

#brand-requests .br-request .br-input-row,
#brand-requests .br-request input,
#brand-requests .br-request button {
    border-radius: 0;
}

/* Make the voter count visibly clickable */
#brand-requests .br-count {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 44px;
    min-height: 44px;
    padding: 5px;
    border-radius: 6px;
    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    cursor: pointer;
}

#brand-requests .br-count small {
    font-size: 11px;
    line-height: 1.4;
}

#brand-requests .br-count:hover {
    background: #dedede;
    color: #000;
}

#brand-requests .br-count:focus-visible {
    outline: 2px solid #191919;
    outline-offset: 3px;
}

/* Voter popup additions; window and rows use existing follower styles */
#brandVotersModal[hidden] {
    display: none;
}

#brandVotersModal .follow-modal-window h2 {
    padding-right: 34px;
    overflow-wrap: anywhere;
}

#brandVotersModal .br-voters-status {
    color: #777;
    font-size: 13px;
    padding: 8px 0;
}

#brandVotersModal .br-voters-more {
    display: block;
    width: 100%;
    padding: 11px;
    margin-top: 12px;
    background: #fff;
    color: #242322;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

#brandVotersModal .br-voters-more[hidden] {
    display: none;
}

#brandVotersModal .br-voters-more:disabled {
    opacity: .6;
    cursor: wait;
}

/* Refined request box */
#brand-requests .br-request {
    padding: 26px 28px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

#brand-requests .br-request-heading {
    margin-bottom: 18px;
}

#brand-requests .br-request label {
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.02em;
}

#brand-requests .br-request .br-input-row {
    gap: 0;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 0;
    align-items: stretch;
}

#brand-requests .br-request input {
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 0;
    font-size: 16px;
}

#brand-requests .br-request button {
    min-height: 52px;
    padding: 12px 20px;
    gap: 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
}

#brand-requests .br-request-notes {
    margin-top: 16px;
}

#brand-requests .br-request-notes p {
    margin: 0;
    color: #d2d2d2;
    font-size: 12px;
    line-height: 1.65;
}

#brand-requests .br-request-notes p+p {
    margin-top: 4px;
    color: #b5b5b5;
}

@media (max-width: 600px) {
    #brand-requests .br-request {
        padding: 22px 18px;
        border-radius: 18px;
    }

    #brand-requests .br-request .br-input-row {
        flex-direction: column;
        gap: 4px;
    }

    #brand-requests .br-request input,
    #brand-requests .br-request button {
        width: 100%;
    }
}