:root {
    --wlr-black: #0b0a09;
    --wlr-charcoal: #151310;
    --wlr-panel: #1c1915;
    --wlr-cream: #f0eadf;
    --wlr-muted: #aaa297;
    --wlr-gold: #c9a24b;
    --wlr-gold-bright: #e6c878;
    --wlr-line: rgba(240, 234, 223, 0.15);
}

.wlr,
.wlr * {
    box-sizing: border-box;
}

.wlr {
    width: 100%;
    min-height: 70vh;
    padding: clamp(28px, 5vw, 76px) clamp(18px, 4vw, 58px);
    color: var(--wlr-cream);
    background: radial-gradient(circle at 85% 5%, rgba(201, 162, 75, 0.14), transparent 30rem), var(--wlr-black);
    font-family: Inter, Arial, sans-serif;
}

.wlr h1,
.wlr h2,
.wlr p,
.wlr fieldset {
    margin-top: 0;
}

.wlr h1,
.wlr h2 {
    color: var(--wlr-cream);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    line-height: 1;
}

.wlr h1 {
    max-width: 900px;
    margin-bottom: 20px;
    font-size: clamp(2.9rem, 7vw, 6.3rem);
    letter-spacing: -0.04em;
}

.wlr h2 {
    margin-bottom: 19px;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.wlr p {
    color: var(--wlr-muted);
    line-height: 1.7;
}

.wlr a {
    color: var(--wlr-gold-bright);
}

.wlr__hero,
.wlr__member-hero,
.wlr__auth-grid,
.wlr__dashboard-grid {
    width: min(100%, 1320px);
    margin-right: auto;
    margin-left: auto;
}

.wlr__hero {
    padding: clamp(42px, 7vw, 94px) 0 clamp(36px, 6vw, 70px);
}

.wlr__hero > p:not(.wlr__eyebrow) {
    max-width: 720px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.wlr__eyebrow,
.wlr__kicker {
    margin-bottom: 14px !important;
    color: var(--wlr-gold) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wlr__earn-grid {
    display: grid;
    max-width: 820px;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 38px;
    border: 1px solid var(--wlr-line);
    background: var(--wlr-line);
}

.wlr__earn-grid div {
    display: flex;
    min-height: 112px;
    padding: 20px;
    align-items: center;
    background: var(--wlr-charcoal);
}

.wlr__earn-grid strong {
    margin-right: 15px;
    color: var(--wlr-gold-bright);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.2rem;
}

.wlr__earn-grid span {
    font-size: 13px;
    font-weight: 700;
}

.wlr__auth-grid,
.wlr__dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.wlr__panel {
    min-width: 0;
    padding: clamp(25px, 4vw, 46px);
    border: 1px solid var(--wlr-line);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 62%), var(--wlr-charcoal);
}

.wlr__panel--wide {
    grid-column: 1 / -1;
}

.wlr__form {
    display: grid;
    gap: 16px;
}

.wlr__form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wlr__form label,
.wlr__copy-field {
    display: grid;
    gap: 7px;
    color: var(--wlr-cream);
    font-size: 13px;
    font-weight: 700;
}

.wlr__form label > span {
    color: var(--wlr-muted);
    font-weight: 400;
}

.wlr__form label small {
    color: var(--wlr-muted);
    font-weight: 400;
}

.wlr__form input:not([type="checkbox"]),
.wlr__copy-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(240, 234, 223, 0.26);
    border-radius: 2px;
    outline: 0;
    background: #0e0d0b;
    color: var(--wlr-cream);
    font: 15px/1.4 Inter, Arial, sans-serif;
}

.wlr__form input:focus,
.wlr__copy-field input:focus {
    border-color: var(--wlr-gold-bright);
    box-shadow: 0 0 0 3px rgba(230, 200, 120, 0.18);
}

.wlr__check {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    align-items: flex-start;
    font-weight: 500 !important;
    line-height: 1.5;
}

.wlr__check input {
    width: 19px;
    height: 19px;
    margin-top: 1px;
    flex: 0 0 19px;
    accent-color: var(--wlr-gold);
}

.wlr__fieldset {
    display: grid;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--wlr-line);
}

.wlr__fieldset legend {
    padding: 0 7px;
    color: var(--wlr-gold-bright);
    font-size: 12px;
    font-weight: 800;
}

.wlr__button {
    display: inline-flex;
    width: fit-content;
    min-height: 48px;
    padding: 13px 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wlr-gold);
    border-radius: 2px;
    cursor: pointer;
    font: 800 12px/1.2 Inter, Arial, sans-serif;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.wlr__button--primary {
    background: var(--wlr-gold);
    color: #0b0a09;
}

.wlr__button--secondary {
    background: transparent;
    color: var(--wlr-gold-bright);
}

.wlr__button:hover {
    filter: brightness(1.1);
}

.wlr__button:focus-visible,
.wlr__logout:focus-visible,
.wlr summary:focus-visible {
    outline: 3px solid var(--wlr-gold-bright);
    outline-offset: 3px;
}

.wlr__reset {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--wlr-line);
}

.wlr__reset summary {
    cursor: pointer;
    color: var(--wlr-gold-bright);
    font-weight: 700;
}

.wlr__reset .wlr__form {
    margin-top: 15px;
}

.wlr__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.wlr__notice {
    width: min(100%, 1320px);
    margin: 0 auto 20px;
    padding: 15px 17px;
    border: 1px solid var(--wlr-gold);
    border-left-width: 4px;
    background: rgba(201, 162, 75, 0.1);
    color: var(--wlr-cream);
}

.wlr__notice--error {
    border-color: #d87970;
    background: rgba(216, 121, 112, 0.09);
}

.wlr__member-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: end;
    padding: clamp(28px, 5vw, 60px) 0;
}

.wlr__member-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
}

.wlr__member-hero p:not(.wlr__eyebrow) {
    max-width: 700px;
}

.wlr__balance {
    display: grid;
    min-width: 170px;
    padding: 24px;
    border: 1px solid var(--wlr-gold);
    background: rgba(201, 162, 75, 0.08);
    text-align: center;
}

.wlr__balance strong {
    color: var(--wlr-gold-bright);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 4.4rem;
    font-weight: 500;
    line-height: 0.9;
}

.wlr__balance span {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wlr__logout {
    position: absolute;
    top: 16px;
    right: 0;
    font-size: 13px;
}

.wlr__history {
    border-top: 1px solid var(--wlr-line);
}

.wlr__history-row {
    display: flex;
    gap: 20px;
    min-height: 68px;
    padding: 13px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--wlr-line);
}

.wlr__history-row > div {
    display: grid;
    gap: 4px;
}

.wlr__history-row strong {
    font-size: 14px;
}

.wlr__history-row small,
.wlr__coupons small {
    color: var(--wlr-muted);
    font-size: 12px;
}

.wlr__history-row > span {
    min-width: 38px;
    color: var(--wlr-gold-bright);
    font-size: 20px;
    font-weight: 800;
    text-align: right;
}

.wlr__history-row > span.is-negative {
    color: #e49b94;
}

.wlr__copy-field {
    margin-top: 14px;
}

.wlr__copy-field + .wlr__button {
    margin-top: 16px;
}

.wlr__status {
    padding: 14px;
    border-left: 3px solid var(--wlr-gold);
    background: rgba(201, 162, 75, 0.08);
}

.wlr__status--approved {
    border-color: #76a873;
    background: rgba(118, 168, 115, 0.08);
}

.wlr__coupons {
    display: grid;
    gap: 12px;
}

.wlr__coupons > div {
    display: grid;
    gap: 7px;
    padding: 16px;
    border: 1px dashed var(--wlr-gold);
    background: rgba(201, 162, 75, 0.06);
}

.wlr__coupons code {
    width: fit-content;
    padding: 6px 8px;
    color: var(--wlr-gold-bright);
    background: #0b0a09;
}

.wlr__empty {
    font-style: italic;
}

#woke-rewards-privacy-notice,
#woke-rewards-terms-notice {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(201, 162, 75, 0.35);
}

/* WordPress staff screen */
.wlr-admin {
    max-width: 1500px;
}

.wlr-admin__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.wlr-admin__stats div,
.wlr-admin__card,
.wlr-admin__section {
    padding: 20px;
    border: 1px solid #dcdcde;
    background: #fff;
}

.wlr-admin__stats div {
    display: grid;
    gap: 5px;
}

.wlr-admin__stats strong {
    font-size: 30px;
}

.wlr-admin__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.wlr-admin__card form {
    display: grid;
    gap: 12px;
}

.wlr-admin__card label {
    display: grid;
    gap: 5px;
    font-weight: 600;
}

.wlr-admin__card input,
.wlr-admin__card select {
    width: 100%;
}

.wlr-admin__section {
    margin-top: 18px;
}

.wlr-admin__inline {
    display: flex;
    gap: 7px;
}

@media (max-width: 900px) {
    .wlr__auth-grid,
    .wlr__dashboard-grid,
    .wlr-admin__grid {
        grid-template-columns: 1fr;
    }

    .wlr-admin__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .wlr {
        padding-right: 14px;
        padding-left: 14px;
    }

    .wlr__earn-grid,
    .wlr__form-row,
    .wlr__member-hero {
        grid-template-columns: 1fr;
    }

    .wlr__earn-grid {
        max-width: 100%;
    }

    .wlr__balance {
        width: 100%;
    }

    .wlr__logout {
        position: static;
        grid-column: 1;
    }

    .wlr__button {
        width: 100%;
    }

    .wlr-admin__stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wlr *,
    .wlr *::before,
    .wlr *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

