:root {
    --ffjr-blue: #1147ff;
    --ffjr-blue-dark: #082fca;
    --ffjr-ink: #172033;
    --ffjr-muted: #65728a;
    --ffjr-line: #d5dfed;
    --ffjr-orange: #ff9e0b;
    --ffjr-success: #159447;
}

.ffjr-widget,
.ffjr-activity {
    box-sizing: border-box;
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    color: var(--ffjr-ink);
    font-family: inherit;
}

.ffjr-widget *,
.ffjr-activity * {
    box-sizing: border-box;
}

.ffjr-widget {
    position: relative;
    padding: 30px 34px 32px;
    overflow: hidden;
    border: 1px solid #a9c6ff;
    border-radius: 15px;
    background:
        radial-gradient(circle at 100% 0, rgba(17, 71, 255, .08), transparent 30%),
        linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: 0 18px 42px rgba(20, 53, 115, .10);
}

.ffjr-widget-head {
    margin-bottom: 22px;
    text-align: center;
}

.ffjr-eyebrow,
.ffjr-activity-heading > span {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--ffjr-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
}

.ffjr-widget-head h2,
.ffjr-activity-heading h2 {
    margin: 0;
    color: var(--ffjr-ink);
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.14;
}

.ffjr-widget-head p {
    max-width: 660px;
    margin: 10px auto 0;
    color: var(--ffjr-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ffjr-current-item {
    display: flex;
    min-height: 126px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid var(--ffjr-line);
    border-left: 5px solid var(--ffjr-orange);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .06);
}

.ffjr-current-copy {
    min-width: 0;
}

.ffjr-current-copy > span {
    display: block;
    margin-bottom: 7px;
    color: #3c4b62;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ffjr-current-copy > strong {
    display: block;
    color: #111827;
    font-size: clamp(19px, 3vw, 25px);
    line-height: 1.2;
}

.ffjr-current-copy > small {
    display: block;
    margin-top: 7px;
    color: var(--ffjr-muted);
    font-size: 13px;
}

.ffjr-current-image {
    display: grid;
    flex: 0 0 94px;
    width: 94px;
    height: 94px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 158, 11, .55);
    border-radius: 12px;
    background: #111;
}

.ffjr-current-image img {
    display: block;
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.ffjr-current-image span {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
}

.ffjr-form label {
    display: block;
    margin: 0 0 8px;
    color: #263247;
    font-size: 15px;
    font-weight: 700;
}

.ffjr-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.ffjr-player-id {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #c7d2e2 !important;
    border-radius: 9px !important;
    outline: 0;
    background: #fff !important;
    box-shadow: none !important;
    color: #172033 !important;
    font-size: 16px !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ffjr-player-id:focus {
    border-color: var(--ffjr-blue) !important;
    box-shadow: 0 0 0 4px rgba(17, 71, 255, .12) !important;
}

.ffjr-submit {
    position: relative;
    min-width: 180px;
    min-height: 50px;
    padding: 10px 22px;
    border: 0 !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #1147ff, #082fca) !important;
    box-shadow: 0 9px 20px rgba(17, 71, 255, .22);
    color: #fff !important;
    cursor: pointer;
    font-size: 15px !important;
    font-weight: 800 !important;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ffjr-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 71, 255, .30);
}

.ffjr-submit:disabled {
    cursor: wait;
    opacity: .72;
}

.ffjr-widget.is-complete .ffjr-submit:disabled {
    cursor: not-allowed;
    opacity: .5;
    filter: grayscale(.25);
}

.ffjr-widget.is-complete .ffjr-player-id:disabled {
    cursor: not-allowed;
    background: #f3f6fb !important;
}

.ffjr-submit.is-loading .ffjr-submit-label {
    opacity: 0;
}

.ffjr-submit-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ffjr-spin .75s linear infinite;
}

.ffjr-submit.is-loading .ffjr-submit-spinner {
    display: block;
}

.ffjr-field-hint {
    display: block;
    margin-top: 8px;
    color: var(--ffjr-muted);
    font-size: 12px;
}

.ffjr-progress {
    margin-top: 20px;
    padding: 15px 16px;
    border: 1px solid #dbe6fb;
    border-radius: 11px;
    background: #f6f9ff;
}

.ffjr-progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe5f5;
}

.ffjr-progress-track span {
    display: block;
    width: 28%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ffjr-blue), #60a5fa, var(--ffjr-blue));
    animation: ffjr-progress 1.6s ease-in-out infinite;
}

.ffjr-progress-message {
    margin: 10px 0 0;
    color: #30415f;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.ffjr-result {
    margin-top: 20px;
}

.ffjr-alert {
    padding: 17px;
    border: 1px solid #d7e2f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.ffjr-alert-success {
    border-color: #a7dfbd;
    background: #f0fff6;
}

.ffjr-alert-warning {
    border-color: #f1cf8c;
    background: #fffaf0;
}

.ffjr-alert-error {
    border-color: #f0b6b6;
    background: #fff4f4;
}

.ffjr-alert h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 20px;
}

.ffjr-alert p {
    margin: 0;
    color: #44526a;
    line-height: 1.5;
}

.ffjr-success-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
}

.ffjr-success-image {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    border: 1px solid #b7dec6;
    border-radius: 10px;
    background: #111;
}

.ffjr-success-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.ffjr-success-meta span {
    padding: 5px 8px;
    border: 1px solid #d5e7dc;
    border-radius: 7px;
    background: rgba(255, 255, 255, .8);
    color: #3e5547;
    font-size: 12px;
}

.ffjr-retry,
.ffjr-reload-account,
.ffjr-share-toggle {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.ffjr-retry,
.ffjr-reload-account {
    background: #263247;
    color: #fff;
}

.ffjr-retry {
    margin-top: 13px;
}

.ffjr-share-toggle {
    border: 1px solid #1d5ddf;
    background: #fff;
    color: #1249c8;
}

.ffjr-success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 17px;
}

.ffjr-share-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #cde4d6;
}

.ffjr-share-panel[hidden] {
    display: none !important;
}

.ffjr-share-panel a,
.ffjr-share-panel button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid #c9d6e8;
    border-radius: 999px;
    background: #fff;
    color: #263247;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none !important;
}

.ffjr-share-panel a:hover,
.ffjr-share-panel button:hover {
    border-color: #8fb0e7;
    color: #1147ff;
}

.ffjr-captcha {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #d4deec;
    border-radius: 12px;
    background: #fff;
}

.ffjr-captcha-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 15px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.ffjr-captcha-head span {
    color: var(--ffjr-muted);
    font-size: 12px;
}

.ffjr-captcha iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
}

.ffjr-token-frame {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Lista pública exclusiva do FFJornal: fluxo vertical, sem cartões em duas colunas. */
.ffjr-activity {
    margin-top: 36px;
}

.ffjr-community-meter {
    position: relative;
    display: flex;
    min-height: 132px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding: 23px 25px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 18%, rgba(79, 220, 255, .32), transparent 25%),
        linear-gradient(135deg, #071b4f 0%, #0f45bb 55%, #0d7fc8 100%);
    box-shadow: 0 18px 38px rgba(8, 47, 138, .22);
    color: #fff;
}

.ffjr-community-meter::after {
    position: absolute;
    right: -50px;
    bottom: -95px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255,255,255,.04), 0 0 0 58px rgba(255,255,255,.025);
    content: "";
}

.ffjr-community-copy,
.ffjr-live-pill {
    position: relative;
    z-index: 1;
}

.ffjr-community-kicker {
    display: block;
    margin-bottom: 7px;
    color: #9edcff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

.ffjr-community-number {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
}

.ffjr-community-number strong {
    color: #fff;
    font-size: clamp(31px, 7vw, 49px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.035em;
}

.ffjr-community-number span {
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 650;
}

.ffjr-live-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(1, 15, 48, .24);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ffjr-live-pill i,
.ffjr-confirmed i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34e981;
    box-shadow: 0 0 0 5px rgba(52, 233, 129, .14);
    animation: ffjr-pulse 1.7s ease-in-out infinite;
}

.ffjr-activity-heading {
    margin-bottom: 17px;
}

.ffjr-activity-heading h2 {
    font-size: clamp(24px, 4vw, 32px);
}

.ffjr-activity-heading p {
    margin: 8px 0 0;
    color: var(--ffjr-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ffjr-feed {
    position: relative;
    display: grid;
    gap: 10px;
}

.ffjr-feed::before {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 42px;
    width: 2px;
    background: linear-gradient(#8fc7ff, #dceafd);
    content: "";
}

.ffjr-feed-item {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 38px;
    gap: 14px;
    align-items: center;
    min-height: 96px;
    padding: 13px 14px 13px 10px;
    border: 1px solid #dce6f3;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 7px 19px rgba(17, 50, 101, .055);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ffjr-feed-item:hover {
    transform: translateX(3px);
    border-color: #a9c9f4;
    box-shadow: 0 12px 26px rgba(17, 50, 101, .09);
}

.ffjr-feed-visual {
    position: relative;
    z-index: 1;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: visible;
    border: 4px solid #fff;
    border-radius: 17px;
    background: #0c1631;
    box-shadow: 0 0 0 1px #cbdcf0, 0 8px 18px rgba(14, 40, 86, .16);
}

.ffjr-feed-visual img {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: contain;
}

.ffjr-feed-fallback {
    color: #7cb7ff;
    font-size: 23px;
}

.ffjr-feed-index {
    position: absolute;
    top: -9px;
    left: -8px;
    min-width: 25px;
    padding: 3px 5px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: #1147ff;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.ffjr-feed-body {
    min-width: 0;
}

.ffjr-feed-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ffjr-feed-player {
    min-width: 0;
    overflow: hidden;
    color: #1047c7 !important;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ffjr-confirmed {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: #188447;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.ffjr-confirmed i {
    width: 6px;
    height: 6px;
    box-shadow: none;
    animation: none;
}

.ffjr-feed-body > p {
    margin: 5px 0 8px;
    color: #263247;
    font-size: 14px;
    line-height: 1.4;
}

.ffjr-feed-body > p strong {
    color: #111827;
}

.ffjr-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #718096;
    font-size: 11px;
}

.ffjr-feed-meta span,
.ffjr-feed-meta time {
    position: relative;
}

.ffjr-feed-meta span + span::before,
.ffjr-feed-meta time::before {
    position: absolute;
    top: 50%;
    left: -7px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a7b4c7;
    content: "";
    transform: translateY(-50%);
}

.ffjr-feed-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d4e1f3;
    border-radius: 50%;
    background: #f5f9ff;
    color: #1147ff !important;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ffjr-feed-arrow:hover {
    transform: translateX(2px);
    background: #1147ff;
    color: #fff !important;
}

.ffjr-recent-empty {
    margin: 0;
    padding: 27px;
    border: 1px dashed #b9cae0;
    border-radius: 14px;
    background: #f8fbff;
    color: var(--ffjr-muted);
    text-align: center;
}

.ffjr-complete > .ffjr-widget {
    margin-bottom: 36px;
}

@keyframes ffjr-spin {
    to { transform: rotate(360deg); }
}

@keyframes ffjr-progress {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(430%); }
}

@keyframes ffjr-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.78); opacity: .65; }
}

@media (max-width: 680px) {
    .ffjr-widget {
        padding: 17px;
        border-radius: 12px;
    }

    .ffjr-current-item {
        min-height: 108px;
        padding: 13px;
    }

    .ffjr-current-image {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .ffjr-current-image img {
        width: 68px;
        height: 68px;
    }

    .ffjr-input-row {
        grid-template-columns: 1fr;
    }

    .ffjr-submit {
        width: 100%;
    }

    .ffjr-community-meter {
        min-height: 120px;
        padding: 20px;
    }

    .ffjr-community-number {
        display: block;
    }

    .ffjr-community-number span {
        display: block;
        margin-top: 6px;
    }

    .ffjr-feed::before {
        display: none;
    }

    .ffjr-feed-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ffjr-feed-visual {
        width: 58px;
        height: 58px;
    }

    .ffjr-feed-visual img {
        width: 48px;
        height: 48px;
    }

    .ffjr-feed-arrow {
        display: none;
    }

    .ffjr-captcha iframe {
        min-height: 580px;
    }
}

@media (max-width: 440px) {
    .ffjr-success-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ffjr-success-image {
        width: 82px;
        height: 82px;
        margin: 0 auto;
    }

    .ffjr-success-meta,
    .ffjr-success-actions {
        justify-content: center;
    }

    .ffjr-reload-account,
    .ffjr-share-toggle {
        width: 100%;
    }

    .ffjr-community-meter {
        display: block;
    }

    .ffjr-live-pill {
        margin-top: 15px;
    }

    .ffjr-feed-line {
        display: block;
    }

    .ffjr-confirmed {
        margin-top: 5px;
    }

    .ffjr-feed-meta span + span::before,
    .ffjr-feed-meta time::before {
        display: none;
    }
}

.ffjr-current-copy > small[hidden] {
    display: none !important;
}

/* Perfil FF visual integration — v1.2.0 */
:root {
    --ffjr-blue: #f97316;
    --ffjr-blue-dark: #ea580c;
    --ffjr-orange: #f97316;
    --ffjr-ink: #10213a;
    --ffjr-muted: #60708a;
    --ffjr-line: #dce4ee;
}

.ffjr-widget {
    padding: 28px;
    border-color: #dce4ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 33, 58, .07);
}

.ffjr-widget-head {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 22px;
    text-align: left;
}

.ffjr-tool-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid #fed7aa;
    border-radius: 15px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 23px;
}

.ffjr-eyebrow,
.ffjr-activity-heading > span {
    color: #ea580c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
}

.ffjr-widget-head h2 {
    max-width: 560px;
    font-size: clamp(25px, 4vw, 34px);
}

.ffjr-widget-head p {
    max-width: 620px;
    margin: 8px 0 0;
}

.ffjr-current-item {
    border-color: #e3e8ef;
    border-left-color: #f97316;
    border-radius: 15px;
    box-shadow: none;
}

.ffjr-current-image {
    border-color: #fed7aa;
    background: #111827;
}

.ffjr-input-wrap {
    position: relative;
    min-width: 0;
}

.ffjr-input-wrap > span {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    color: #f97316;
    font-size: 18px;
    font-weight: 900;
    transform: translateY(-50%);
    pointer-events: none;
}

.ffjr-player-id {
    min-height: 54px;
    padding-left: 38px !important;
    border-color: #d8e0ea !important;
    border-radius: 12px !important;
}

.ffjr-player-id:focus {
    border-color: #fb923c !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .12) !important;
}

.ffjr-submit {
    min-height: 54px;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #fb923c, #f97316) !important;
    box-shadow: 0 10px 22px rgba(249, 115, 22, .22);
}

.ffjr-submit:hover:not(:disabled) {
    box-shadow: 0 12px 25px rgba(249, 115, 22, .30);
}

.ffjr-submit-spinner {
    border-color: rgba(255,255,255,.45);
    border-top-color: #fff;
}

.ffjr-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    color: #52657f;
    font-size: 12px;
    font-weight: 650;
}

.ffjr-trust-row span::first-letter {
    color: #16a34a;
}

.ffjr-progress {
    border-color: #e1e7ef;
    background: #f8fafc;
}

.ffjr-progress-track {
    background: #e2e8f0;
}

.ffjr-progress-track span {
    background: linear-gradient(90deg, #fb923c, #f97316, #fdba74);
}

.ffjr-progress-message {
    color: #52657f;
    text-align: left;
}

.ffjr-profile-preview {
    margin-top: 20px;
}

.ffjr-preview-card,
.ffjr-redemption-card {
    overflow: hidden;
    border: 1px solid #dce4ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 33, 58, .05);
}

.ffjr-preview-banner,
.ffjr-redemption-banner {
    height: 58px;
    background:
        linear-gradient(105deg, rgba(10, 25, 50, .86), rgba(27, 44, 72, .72)),
        radial-gradient(circle at 20% 30%, rgba(249,115,22,.50), transparent 34%),
        #122039;
    background-position: center;
    background-size: cover;
}

.ffjr-preview-body {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 0 16px 16px;
}

.ffjr-preview-avatar {
    display: block;
    width: 82px;
    height: 82px;
    margin-top: -30px;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 17px;
    background: #172033;
    box-shadow: 0 5px 14px rgba(15, 33, 58, .16), 0 0 0 1px #dce4ee;
    text-decoration: none !important;
}

.ffjr-preview-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ffjr-preview-content {
    min-width: 0;
    padding-top: 10px;
}

.ffjr-preview-kicker {
    display: block;
    margin-bottom: 4px;
    color: #ea580c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

.ffjr-preview-title-row,
.ffjr-redemption-title-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ffjr-preview-name,
.ffjr-redemption-name {
    min-width: 0;
    overflow: hidden;
    color: #10213a !important;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ffjr-preview-region,
.ffjr-redemption-region {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 10px;
    font-weight: 850;
}

.ffjr-preview-stats {
    display: grid;
    grid-template-columns: minmax(110px, 1.2fr) minmax(70px, .7fr) minmax(80px, .8fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf1f5;
}

.ffjr-preview-stats > span,
.ffjr-preview-stats > a:not(.ffjr-preview-cta),
.ffjr-redemption-details > span,
.ffjr-redemption-details > a:not(.ffjr-redemption-cta) {
    display: grid;
    min-width: 0;
    gap: 2px;
    color: #10213a !important;
    text-decoration: none !important;
}

.ffjr-preview-stats small,
.ffjr-preview-stats .ffjr-preview-id > span,
.ffjr-redemption-details small,
.ffjr-redemption-details > a > span {
    overflow: hidden;
    color: #718096;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ffjr-preview-stats strong,
.ffjr-redemption-details strong {
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ffjr-preview-cta,
.ffjr-redemption-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid #fed7aa;
    border-radius: 11px;
    background: #fff7ed;
    color: #ea580c !important;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none !important;
    white-space: nowrap;
}

.ffjr-alert-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ffjr-community-meter {
    background: linear-gradient(135deg, #10213a, #263b5b) !important;
}

.ffjr-activity {
    max-width: 760px;
}

.ffjr-redemption-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.ffjr-redemption-card {
    min-width: 0;
}

.ffjr-redemption-banner {
    height: 42px;
}

.ffjr-redemption-main {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 0 12px 13px;
}

.ffjr-redemption-avatar {
    display: block;
    width: 62px;
    height: 62px;
    margin-top: -19px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 14px;
    background: #172033;
    box-shadow: 0 4px 12px rgba(15, 33, 58, .14), 0 0 0 1px #dce4ee;
    text-decoration: none !important;
}

.ffjr-redemption-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ffjr-redemption-content {
    min-width: 0;
    padding-top: 8px;
}

.ffjr-redemption-name {
    font-size: 14px;
}

.ffjr-redemption-details {
    display: grid;
    grid-template-columns: minmax(80px, .9fr) minmax(100px, 1.35fr) auto;
    gap: 8px;
    align-items: end;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #edf1f5;
}

.ffjr-redemption-details strong {
    font-size: 11px;
}

.ffjr-redemption-cta {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 11px;
}

@media (max-width: 680px) {
    .ffjr-widget {
        padding: 16px;
    }

    .ffjr-widget-head {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .ffjr-tool-icon {
        width: 46px;
        height: 46px;
    }

    .ffjr-current-item {
        margin-bottom: 18px;
    }

    .ffjr-trust-row {
        display: grid;
        gap: 7px;
    }

    .ffjr-preview-body {
        grid-template-columns: 68px minmax(0, 1fr);
        padding: 0 12px 13px;
    }

    .ffjr-preview-avatar {
        width: 68px;
        height: 68px;
    }

    .ffjr-preview-name {
        font-size: 16px;
    }

    .ffjr-preview-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .ffjr-preview-cta {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ffjr-redemption-grid {
        grid-template-columns: 1fr;
    }

    .ffjr-redemption-details {
        grid-template-columns: minmax(80px, .85fr) minmax(100px, 1.15fr) auto;
    }
}

@media (max-width: 390px) {
    .ffjr-current-item {
        align-items: flex-start;
    }

    .ffjr-current-image {
        flex-basis: 66px;
        width: 66px;
        height: 66px;
    }

    .ffjr-current-image img {
        width: 60px;
        height: 60px;
    }

    .ffjr-redemption-main {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 9px;
        padding-right: 9px;
        padding-left: 9px;
    }

    .ffjr-redemption-avatar {
        width: 54px;
        height: 54px;
    }

    .ffjr-redemption-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ffjr-redemption-cta {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* v1.2.1 — layout compacto e proteção contra estilos do tema */
.ffjr-widget {
    max-width: 680px !important;
    padding: 22px 24px 24px !important;
    border-color: #dfe6ee !important;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(15, 33, 58, .08) !important;
}

.ffjr-widget-head {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    margin-bottom: 17px !important;
    text-align: left !important;
}

.ffjr-widget-head h2 {
    font-size: clamp(24px, 4vw, 31px) !important;
    line-height: 1.12 !important;
}

.ffjr-widget-head p {
    margin: 6px 0 0 !important;
    font-size: 14px !important;
}

.ffjr-tool-icon {
    width: 46px !important;
    height: 46px !important;
    border-color: #fed7aa !important;
    background: #fff7ed !important;
    color: #ea580c !important;
}

.ffjr-eyebrow,
.ffjr-activity-heading > span {
    color: #ea580c !important;
}

.ffjr-current-item {
    min-height: 102px !important;
    margin-bottom: 18px !important;
    padding: 13px 15px !important;
    border-left-color: #f97316 !important;
}

.ffjr-current-image {
    flex-basis: 78px !important;
    width: 78px !important;
    height: 78px !important;
}

.ffjr-current-image img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
}

.ffjr-input-row {
    grid-template-columns: minmax(0, 1fr) 168px !important;
}

.ffjr-player-id,
.ffjr-submit {
    min-height: 48px !important;
}

.ffjr-submit {
    min-width: 0 !important;
    background: linear-gradient(135deg, #fb923c, #f97316) !important;
    box-shadow: 0 8px 18px rgba(249, 115, 22, .22) !important;
}

.ffjr-player-id:focus {
    border-color: #fb923c !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .12) !important;
}

.ffjr-trust-row {
    margin-top: 10px !important;
}

.ffjr-activity {
    width: 100% !important;
    max-width: 760px !important;
}

.ffjr-activity .ffjr-redemption-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.ffjr-activity .ffjr-redemption-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 146px !important;
    overflow: hidden !important;
    border: 1px solid #dce4ee !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(15, 33, 58, .055) !important;
}

.ffjr-activity .ffjr-redemption-banner {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    background-position: center !important;
    background-size: cover !important;
}

.ffjr-activity .ffjr-redemption-main {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 0 11px 12px !important;
}

.ffjr-activity .ffjr-redemption-avatar {
    display: block !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    margin-top: -17px !important;
    overflow: hidden !important;
    border: 4px solid #fff !important;
    border-radius: 13px !important;
    background: #172033 !important;
    box-shadow: 0 4px 12px rgba(15, 33, 58, .14), 0 0 0 1px #dce4ee !important;
}

.ffjr-activity .ffjr-redemption-avatar img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    object-fit: cover !important;
}

.ffjr-activity .ffjr-redemption-content {
    min-width: 0 !important;
    padding-top: 7px !important;
}

.ffjr-activity .ffjr-redemption-title-row {
    display: flex !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 7px !important;
}

.ffjr-activity .ffjr-redemption-name {
    min-width: 0 !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-redemption-details {
    display: grid !important;
    grid-template-columns: minmax(78px, .9fr) minmax(90px, 1.25fr) auto !important;
    gap: 7px !important;
    align-items: end !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #edf1f5 !important;
}

.ffjr-activity .ffjr-redemption-details > span,
.ffjr-activity .ffjr-redemption-details > a:not(.ffjr-redemption-cta) {
    min-width: 0 !important;
}

.ffjr-activity .ffjr-redemption-details strong {
    display: block !important;
    overflow: hidden !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-redemption-cta {
    display: inline-flex !important;
    min-width: 84px !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 9px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 680px) {
    .ffjr-widget {
        max-width: 100% !important;
        padding: 15px !important;
    }

    .ffjr-widget-head {
        grid-template-columns: 43px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .ffjr-widget-head h2 {
        font-size: 23px !important;
    }

    .ffjr-current-item {
        min-height: 88px !important;
        padding: 11px 12px !important;
    }

    .ffjr-current-image {
        flex-basis: 66px !important;
        width: 66px !important;
        height: 66px !important;
    }

    .ffjr-current-image img {
        width: 60px !important;
        height: 60px !important;
    }

    .ffjr-input-row {
        grid-template-columns: 1fr !important;
    }

    .ffjr-submit {
        width: 100% !important;
    }

    .ffjr-activity .ffjr-redemption-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 390px) {
    .ffjr-activity .ffjr-redemption-main {
        grid-template-columns: 52px minmax(0, 1fr) !important;
    }

    .ffjr-activity .ffjr-redemption-avatar {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
    }

    .ffjr-activity .ffjr-redemption-details {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ffjr-activity .ffjr-redemption-cta {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
}

/* v1.2.2 — correção do botão dos cards e isolamento do arquivo JS novo */
.ffjr-activity .ffjr-redemption-details {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 9px !important;
    align-items: end !important;
    width: 100% !important;
    min-width: 0 !important;
}

.ffjr-activity .ffjr-redemption-meta {
    display: grid !important;
    grid-template-columns: minmax(72px, .82fr) minmax(0, 1.18fr) !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.ffjr-activity .ffjr-redemption-meta > span,
.ffjr-activity .ffjr-redemption-meta > a {
    display: grid !important;
    min-width: 0 !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #10213a !important;
    text-decoration: none !important;
}

.ffjr-activity .ffjr-redemption-meta small,
.ffjr-activity .ffjr-redemption-meta > a > span {
    display: block !important;
    overflow: hidden !important;
    color: #718096 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-redemption-meta strong {
    display: block !important;
    overflow: hidden !important;
    max-width: 100% !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-redemption-cta {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 78px !important;
    max-width: 96px !important;
    min-height: 34px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 7px 8px !important;
    overflow: visible !important;
    border: 1px solid #fed7aa !important;
    border-radius: 10px !important;
    background: #fff7ed !important;
    color: #ea580c !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

@media (max-width: 480px) {
    .ffjr-activity .ffjr-redemption-main {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 9px !important;
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    .ffjr-activity .ffjr-redemption-avatar {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }

    .ffjr-activity .ffjr-redemption-details {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 7px !important;
    }

    .ffjr-activity .ffjr-redemption-meta {
        grid-template-columns: minmax(66px, .78fr) minmax(0, 1.22fr) !important;
        gap: 6px !important;
    }

    .ffjr-activity .ffjr-redemption-cta {
        grid-column: auto !important;
        width: auto !important;
        min-width: 74px !important;
        max-width: 88px !important;
        padding-right: 7px !important;
        padding-left: 7px !important;
        font-size: 9.5px !important;
    }
}

@media (max-width: 350px) {
    .ffjr-activity .ffjr-redemption-details {
        grid-template-columns: 1fr !important;
    }

    .ffjr-activity .ffjr-redemption-cta {
        width: 100% !important;
        max-width: none !important;
    }
}



/* v1.2.3 — resgates recentes no mesmo layout dos jogadores online */
.ffjr-activity {
    max-width: 920px !important;
}

.ffjr-activity .ffjr-redemption-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px !important;
    align-items: stretch !important;
}

.ffjr-activity .ffjr-recent-card,
.ffjr-activity .ffjr-recent-card * {
    box-sizing: border-box !important;
}

.ffjr-activity .ffjr-recent-card {
    display: grid !important;
    grid-template-columns: 66px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
    align-items: start !important;
    min-width: 0 !important;
    padding: 13px !important;
    overflow: hidden !important;
    border: 1px solid #dce4ee !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(15, 33, 58, .045) !important;
}

.ffjr-activity .ffjr-recent-avatar-link {
    display: block !important;
    width: 66px !important;
    height: 66px !important;
    overflow: hidden !important;
    border-radius: 11px !important;
    line-height: 0 !important;
}

.ffjr-activity .ffjr-recent-avatar {
    display: block !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 66px !important;
    min-height: 66px !important;
    max-height: 66px !important;
    margin: 0 !important;
    padding: 2px !important;
    border: 1px solid #dde3e9 !important;
    border-radius: 11px !important;
    background: #f1f4f7 !important;
    object-fit: contain !important;
}

.ffjr-activity .ffjr-recent-content {
    align-self: center !important;
    min-width: 0 !important;
}

.ffjr-activity .ffjr-recent-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.ffjr-activity .ffjr-recent-title-row h3 {
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #10213a !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-recent-title-row h3 a {
    display: block !important;
    overflow: hidden !important;
    color: #10213a !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-recent-title-row h3 a:hover {
    color: #ea580c !important;
}

.ffjr-activity .ffjr-recent-region {
    flex: 0 0 auto !important;
    padding: 5px 7px !important;
    border: 1px solid #f0d5b1 !important;
    border-radius: 999px !important;
    background: #fff3e2 !important;
    color: #ea580c !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ffjr-activity .ffjr-recent-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 7px !important;
}

.ffjr-activity .ffjr-recent-confirmed {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 5px 7px !important;
    border-radius: 999px !important;
    background: #e9f8f0 !important;
    color: #15965f !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.ffjr-activity .ffjr-recent-confirmed i {
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: currentColor !important;
}

.ffjr-activity .ffjr-recent-footer {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 10px !important;
    align-items: end !important;
    min-width: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid #dce4ee !important;
}

.ffjr-activity .ffjr-recent-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.ffjr-activity .ffjr-recent-stats > span,
.ffjr-activity .ffjr-recent-stats > a,
.ffjr-activity .ffjr-recent-stats > time {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #60708a !important;
    text-decoration: none !important;
}

.ffjr-activity .ffjr-recent-stats > span > span,
.ffjr-activity .ffjr-recent-stats > a > span,
.ffjr-activity .ffjr-recent-stats > time > span {
    display: block !important;
    overflow: hidden !important;
    color: #718096 !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-recent-stats strong {
    display: block !important;
    overflow: hidden !important;
    margin-top: 2px !important;
    color: #10213a !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-recent-profile-cta {
    display: inline-flex !important;
    align-self: end !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 84px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    border: 1px solid #fed7aa !important;
    border-radius: 10px !important;
    background: #fff7ed !important;
    color: #ea580c !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.ffjr-activity .ffjr-recent-profile-cta:hover {
    border-color: #fb923c !important;
    background: #ffedd5 !important;
    color: #c2410c !important;
}

@media (max-width: 720px) {
    .ffjr-activity .ffjr-redemption-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 390px) {
    .ffjr-activity .ffjr-recent-card {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        padding: 11px !important;
    }

    .ffjr-activity .ffjr-recent-avatar-link,
    .ffjr-activity .ffjr-recent-avatar {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }

    .ffjr-activity .ffjr-recent-footer {
        gap: 8px !important;
    }

    .ffjr-activity .ffjr-recent-stats {
        gap: 5px !important;
    }

    .ffjr-activity .ffjr-recent-stats > span > span,
    .ffjr-activity .ffjr-recent-stats > a > span,
    .ffjr-activity .ffjr-recent-stats > time > span {
        font-size: 7px !important;
    }

    .ffjr-activity .ffjr-recent-stats strong {
        font-size: 9px !important;
    }

    .ffjr-activity .ffjr-recent-profile-cta {
        min-width: 76px !important;
        min-height: 34px !important;
        padding: 7px 9px !important;
        font-size: 9.5px !important;
    }
}

@media (max-width: 345px) {
    .ffjr-activity .ffjr-recent-footer {
        grid-template-columns: 1fr !important;
    }

    .ffjr-activity .ffjr-recent-profile-cta {
        width: 100% !important;
    }
}
