/* ============================================================
   CLR ENERGY — tema TNL (creme + dourado)
   Folha unica carregada por ultimo em todas as telas do app.
   Tokens no topo; componentes na ordem em que aparecem nas telas.
   ============================================================ */

:root {
    --tnl-bg: #ffffff;
    --tnl-bg-2: #faf8f4;
    --tnl-card: #ffffff;
    --tnl-line: #f0e9df;
    --tnl-line-2: #e8dccb;
    --tnl-ink: #3e2f20;
    --tnl-ink-2: #6b5945;
    --tnl-muted: #a3968a;
    --tnl-muted-2: #b3a696;
    --tnl-gold: #c6a374;
    --tnl-gold-2: #b78e5b;
    --tnl-gold-3: #9e7746;
    --tnl-gold-soft: #f7efe2;
    --tnl-green: #2e9e6b;
    --tnl-radius: 14px;
    --tnl-radius-sm: 12px;
    --tnl-shadow: 0 2px 10px rgba(84, 64, 38, .045);
    --tnl-max: 480px;
    --tnl-nav-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.tnl-body,
body.tnl-legacy {
    margin: 0;
    background: #efeae3;
    color: var(--tnl-ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.tnl-legacy {
    background: var(--tnl-bg);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* ---------- shell ---------- */

.tnl-app {
    position: relative;
    width: 100%;
    max-width: var(--tnl-max);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--tnl-bg);
    box-shadow: 0 0 40px rgba(70, 52, 30, .10);
    padding-bottom: calc(var(--tnl-nav-h) + 20px);
}

.tnl-app--plain {
    padding-bottom: 28px;
    min-height: 100vh;
}

.tnl-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px 24px;
}

/* ---------- header ---------- */

.tnl-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #f0eae0;
}

.tnl-header--plain {
    position: relative;
}

.tnl-header--center {
    justify-content: space-between;
}

.tnl-header__title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--tnl-ink);
    letter-spacing: .01em;
}

.tnl-header__spacer {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.tnl-iconbtn {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cdc5b8;
    border-radius: 50%;
    background: #fff;
    color: #2f2a24;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.tnl-iconbtn svg {
    width: 17px;
    height: 17px;
}

.tnl-iconbtn--plain {
    border-color: transparent;
    background: transparent;
}

.tnl-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.tnl-brand--center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tnl-brand__mark {
    width: 40px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--tnl-gold);
}

.tnl-brand__mark--sm {
    width: 30px;
    height: 17px;
}

.tnl-brand__name {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--tnl-gold-2);
}

.tnl-brand__sub {
    display: block;
    margin-top: 3px;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1;
    color: #a99c8b;
}

/* gold rule under header, used on the recharge screen */

.tnl-goldbar {
    height: 3px;
    background: linear-gradient(90deg, #c3ccd1 0%, #b78e5b 22%, #e8d2ae 50%, #b78e5b 78%, #c3ccd1 100%);
}

/* ---------- typography helpers ---------- */

.tnl-section-label {
    margin: 4px 2px -5px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--tnl-muted);
}

.tnl-h2 {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--tnl-ink);
}

.tnl-muted {
    color: var(--tnl-muted);
}

/* ---------- cards ---------- */

.tnl-card {
    background: var(--tnl-card);
    border: 1px solid var(--tnl-line);
    border-radius: var(--tnl-radius);
    box-shadow: var(--tnl-shadow);
}

.tnl-card--pad {
    padding: 15px 16px;
}

.tnl-card--gold {
    border-color: var(--tnl-line-2);
}

/* ---------- buttons ---------- */

.tnl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(176, 139, 87, .28);
    -webkit-tap-highlight-color: transparent;
}

.tnl-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(176, 139, 87, .24);
}

.tnl-btn svg {
    width: 17px;
    height: 17px;
}

.tnl-btn--sm {
    width: auto;
    height: 36px;
    padding: 0 16px;
    font-size: 12px;
}

.tnl-btn--ghost {
    background: #f3efe8;
    color: #6b5945;
    box-shadow: none;
}

.tnl-btn--quiet {
    background: transparent;
    color: var(--tnl-gold-3);
    box-shadow: none;
    height: auto;
    padding: 0;
    font-size: 12.5px;
}

/* ---------- form ---------- */

.tnl-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--tnl-line);
    border-radius: 12px;
}

.tnl-field:focus-within {
    border-color: var(--tnl-gold);
    box-shadow: 0 0 0 3px rgba(198, 163, 116, .14);
}

.tnl-field > svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: #bfb2a1;
}

.tnl-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tnl-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
}

.tnl-field input::placeholder {
    color: var(--tnl-muted-2);
    font-weight: 400;
}

.tnl-field__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #b9ac9b;
    cursor: pointer;
    padding: 4px;
    margin-right: -4px;
}

.tnl-field__action svg {
    width: 18px;
    height: 18px;
}

.tnl-help {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #8d7d69;
}

.tnl-help a,
.tnl-help span[data-link] {
    color: var(--tnl-gold-3);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

/* ---------- segmented control (login / register) ---------- */

.tnl-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    background: #f2eee7;
    border-radius: 14px;
}

.tnl-seg__btn {
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6b5945;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tnl-seg__btn.is-active {
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(176, 139, 87, .25);
}

/* ---------- auth ---------- */

.tnl-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px 26px;
}

.tnl-auth__hero {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--tnl-line);
}

.tnl-auth__panel {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--tnl-line);
    border-radius: 16px;
    box-shadow: var(--tnl-shadow);
}

.tnl-auth__terms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #8d7d69;
    padding: 2px;
}

.tnl-auth__terms svg {
    width: 16px;
    height: 16px;
    color: var(--tnl-gold-2);
    flex: 0 0 auto;
}

.tnl-auth__terms b {
    color: var(--tnl-gold-3);
    font-weight: 600;
}

.tnl-auth__bonus {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px dashed #e2cfae;
    border-radius: 12px;
    background: #fdfaf4;
    font-size: 11px;
    font-weight: 500;
    color: #8a6f4c;
}

.tnl-auth__bonus svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--tnl-gold-2);
}

.tnl-auth__bonus b {
    color: var(--tnl-gold-3);
    font-weight: 700;
}

/* campos do login/cadastro: fundo levemente cinza como na referencia */

.tnl-auth .tnl-field {
    background: #faf8f5;
    border-color: #f1ebe2;
}

.tnl-auth .tnl-seg {
    background: #f4f2ee;
}

/* ---------- home: hero ---------- */

.tnl-hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8dfd2;
    background: #1d2a3f;
    box-shadow: var(--tnl-shadow);
}

.tnl-hero__img {
    display: block;
    width: 100%;
    height: 174px;
    object-fit: cover;
}

.tnl-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 20, 32, .74) 0%, rgba(13, 20, 32, .22) 58%, rgba(13, 20, 32, .52) 100%);
}

.tnl-hero__brand {
    position: absolute;
    left: 13px;
    top: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #f3e7d3;
}

.tnl-hero__brand svg {
    width: 40px;
    height: 21px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55));
}

.tnl-hero__brand span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
}

.tnl-hero__text {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 58%;
    text-align: right;
    color: #fff;
}

.tnl-hero__text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.tnl-hero__text span {
    display: block;
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .86);
}

/* ---------- home: quick actions ---------- */

.tnl-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.tnl-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 11px 3px 10px;
    background: #fff;
    border: 1px solid var(--tnl-line);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(84, 64, 38, .04);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.tnl-quick__icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #efe3d2;
    background: #fbf7f1;
    color: #c09a67;
}

.tnl-quick__icon svg {
    width: 19px;
    height: 19px;
}

.tnl-quick__label {
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--tnl-ink);
}

.tnl-quick__sub {
    font-size: 8px;
    line-height: 1.15;
    color: #afa293;
}

/* ---------- inicio: layout de referencia ---------- */

.tnl-header--home {
    height: 64px;
    gap: 12px;
}

.tnl-header--home .tnl-brand__mark {
    width: 40px;
    height: 22px;
}

.tnl-header--home .tnl-brand__name {
    font-size: 16px;
    letter-spacing: .05em;
}

.tnl-header--home .tnl-brand__sub {
    margin-top: 3px;
    font-size: 11.5px;
    letter-spacing: .01em;
    text-transform: none;
}

.tnl-medal {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0;
    border: 1px solid #e2d7c8;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.tnl-medal__mark {
    width: 26px;
    height: 14px;
}

.tnl-medal__label {
    font-size: 5.5px;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1;
    color: #a3968a;
}

.tnl-page--home {
    gap: 14px;
}

.tnl-page--home .tnl-hero {
    border-radius: 16px;
    border-color: #e6dccd;
}

.tnl-page--home .tnl-hero__img {
    height: 208px;
}

.tnl-page--home .tnl-hero__shade {
    background: linear-gradient(180deg, rgba(10, 16, 26, .58) 0%, rgba(10, 16, 26, .14) 52%, rgba(10, 16, 26, .10) 70%, rgba(10, 16, 26, .42) 100%);
}

.tnl-hero__top {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tnl-hero__lockup {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.tnl-hero__lockup svg {
    width: 96px;
    height: 51px;
    filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .45));
}

.tnl-hero__word {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
    color: rgba(255, 255, 255, .95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

.tnl-page--home .tnl-hero__text {
    position: static;
    transform: none;
    max-width: none;
    text-align: left;
}

.tnl-page--home .tnl-hero__text strong {
    font-size: 16px;
    letter-spacing: -.01em;
}

.tnl-page--home .tnl-hero__text span {
    margin-top: 5px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .84);
}

.tnl-page--home .tnl-quick {
    gap: 9px;
}

.tnl-page--home .tnl-quick__item {
    gap: 8px;
    padding: 15px 4px 13px;
    border: 1px solid #eee2d0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fdfaf5 100%);
    box-shadow: 0 4px 14px rgba(120, 90, 50, .07);
    transition: transform .12s ease, box-shadow .12s ease;
}

.tnl-page--home .tnl-quick__item:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(120, 90, 50, .07);
}

.tnl-page--home .tnl-quick__icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 15px;
    background: linear-gradient(155deg, #d7b98f 0%, #c29b69 48%, #a97e4c 100%);
    color: #fff;
    box-shadow: 0 6px 12px rgba(170, 127, 77, .26), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.tnl-page--home .tnl-quick__icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.8;
}

.tnl-page--home .tnl-quick__label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.tnl-page--home .tnl-quick__sub {
    display: block;
    font-size: 9.5px;
    color: #a89a8a;
}

.tnl-brandcard {
    display: block;
    overflow: hidden;
    border: 1px solid #e6dccd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(84, 64, 38, .06);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.tnl-brandcard img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: cover;
    object-position: 50% 56%;
}

.tnl-brandcard__body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
}

.tnl-brandcard__lock {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.tnl-brandcard__lock svg {
    flex: 0 0 auto;
}

.tnl-brandcard__title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f1a14;
}

.tnl-brandcard__sub {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 1.2;
    color: var(--tnl-muted);
}

.tnl-brandcard__go {
    width: 32px;
    height: 32px;
    margin-left: auto;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f7efe2;
    color: #b78e5b;
}

.tnl-brandcard__go svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 380px) {
    .tnl-page--home .tnl-hero__img {
        height: 188px;
    }

    .tnl-page--home .tnl-hero__lockup svg {
        width: 82px;
        height: 44px;
    }

    .tnl-page--home .tnl-hero__top {
        gap: 12px;
    }

    .tnl-page--home .tnl-hero__text strong {
        font-size: 15px;
    }

    .tnl-page--home .tnl-quick__item {
        padding-left: 2px;
        padding-right: 2px;
    }

    .tnl-page--home .tnl-quick__sub {
        font-size: 8.5px;
    }
}

/* ---------- invest ---------- */

.tnl-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tnl-product {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--tnl-line);
    border-radius: 14px;
    box-shadow: var(--tnl-shadow);
}

.tnl-product__img {
    width: 100px;
    height: 116px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid #efe7db;
    border-radius: 12px;
    background: #faf8f4;
}

.tnl-product__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tnl-product__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.tnl-product__name {
    margin: 2px 0 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    color: #3a2c1d;
}

.tnl-price-tag {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d3b387 0%, #bc9463 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.tnl-metric {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #96866f;
}

.tnl-metric svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.tnl-metric--green {
    color: var(--tnl-green);
    font-weight: 600;
}

.tnl-metric__value {
    margin-left: auto;
    color: #6b5945;
    font-weight: 500;
}

.tnl-product__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    margin-top: auto;
    padding: 0 20px;
    align-self: flex-start;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(176, 139, 87, .24);
}

.tnl-product__btn svg {
    width: 15px;
    height: 15px;
}

.tnl-product__owned {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    margin-top: auto;
    border-radius: 999px;
    background: #f2ede5;
    color: #8d7d69;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- recharge ---------- */

.tnl-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
}

.tnl-balance__label {
    font-size: 10.5px;
    color: var(--tnl-muted);
}

.tnl-balance__value {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #3a2c1d;
}

.tnl-wallet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #efe4d4;
    border-radius: 9px;
    background: #fbf7f1;
    color: #5a4835;
    font-size: 10.5px;
    font-weight: 600;
}

.tnl-wallet svg {
    width: 14px;
    height: 14px;
    color: #4b3b29;
}

.tnl-methods {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 17px 12px 13px;
    overflow: hidden;
}

.tnl-methods--single {
    grid-template-columns: 1fr;
    padding: 15px 12px 13px;
}

.tnl-methods::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: var(--tnl-radius) var(--tnl-radius) 0 0;
    background: linear-gradient(90deg, #dcc094 0%, #b08a57 55%, #dcc094 100%);
}

.tnl-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 62px;
    border: 1px solid var(--tnl-line);
    border-radius: 9px;
    background: #fff;
    color: #3e2f20;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 6px;
}

.tnl-method__name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.tnl-method__note {
    font-size: 8.5px;
    color: var(--tnl-muted-2);
}

.tnl-method.is-active {
    border-color: var(--tnl-gold);
    box-shadow: inset 0 0 0 1px var(--tnl-gold);
}

.tnl-method--pix {
    flex-direction: row;
    align-items: center;
    gap: 11px;
    min-height: 64px;
    padding: 10px 12px;
    text-align: left;
    border-color: var(--tnl-gold);
    background: linear-gradient(180deg, #fffdf9 0%, #fbf5eb 100%);
}

.tnl-method__badge {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(155deg, #d7b98f 0%, #c29b69 48%, #a97e4c 100%);
    color: #fff;
    box-shadow: 0 4px 9px rgba(170, 127, 77, .24), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.tnl-method__badge svg {
    width: 18px;
    height: 18px;
}

.tnl-method__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tnl-method--pix .tnl-method__name {
    font-size: 13px;
    letter-spacing: .06em;
}

.tnl-method--pix .tnl-method__note {
    font-size: 10.5px;
    color: #8d7f71;
}

.tnl-method__check {
    width: 24px;
    height: 24px;
    margin-left: auto;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tnl-gold);
    color: #fff;
}

.tnl-method__check svg {
    width: 13px;
    height: 13px;
}

.tnl-amount {
    padding: 14px 15px 16px;
}

.tnl-amount__label {
    margin-bottom: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tnl-ink);
}

.tnl-amount input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--tnl-line);
    border-radius: 11px;
    background: #fff;
    color: var(--tnl-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    outline: 0;
}

.tnl-amount input::placeholder {
    color: #beb2a3;
    font-weight: 400;
}

.tnl-amount input:focus {
    border-color: var(--tnl-gold);
    box-shadow: 0 0 0 3px rgba(198, 163, 116, .14);
}

.tnl-amount__hint {
    margin: 8px 0 13px;
    font-size: 10px;
    line-height: 1.5;
    color: var(--tnl-muted);
}

.tnl-amount__hint b {
    color: #7a6955;
    font-weight: 600;
}

.tnl-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.tnl-chip {
    height: 36px;
    border: 1px solid var(--tnl-line);
    border-radius: 999px;
    background: #fff;
    color: #4b3b29;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.tnl-chip.is-active {
    border-color: var(--tnl-gold);
    background: var(--tnl-gold-soft);
    color: #8a6636;
}

.tnl-chip--custom {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-style: dashed;
    background: #fdfbf7;
    color: #8d7a63;
}

.tnl-chip--custom svg {
    width: 13px;
    height: 13px;
}

.tnl-chip--custom.is-active {
    border-style: solid;
}

.tnl-amount .tnl-amountfield {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 14px;
    border: 1.5px solid #dcc8ac;
    border-radius: 12px;
    background: #fdfbf7;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.tnl-amount .tnl-amountfield:focus-within {
    border-color: var(--tnl-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(198, 163, 116, .15);
}

.tnl-amount .tnl-amountfield__prefix {
    flex: 0 0 auto;
    margin-right: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tnl-gold-2);
}

.tnl-amount .tnl-amountfield input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .01em;
}

.tnl-amount .tnl-amountfield input:focus {
    box-shadow: none;
}

/* ---------- avisos e listas ---------- */

.tnl-note {
    padding: 12px 14px;
    border: 1px solid #ecdcc0;
    border-radius: 12px;
    background: #fdf7ea;
    color: #8a6c3f;
    font-size: 11px;
    line-height: 1.6;
}

.tnl-planlock {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border: 1px solid #e6cfaa;
    border-radius: 14px;
    background: linear-gradient(180deg, #fdf8ef 0%, #fbf2e2 100%);
    box-shadow: 0 4px 14px rgba(96, 72, 42, .05);
}

.tnl-planlock__icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(180deg, #d9bd93 0%, #c19a68 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.tnl-planlock__icon svg {
    width: 19px;
    height: 19px;
}

.tnl-planlock__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.tnl-planlock__copy b {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #7d5c33;
}

.tnl-planlock__copy span {
    font-size: 10.5px;
    line-height: 1.45;
    color: #8d7d69;
}

.tnl-planlock__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(176, 139, 87, .26);
}

.tnl-planlock__cta:active {
    transform: translateY(1px);
}

.tnl-planlock--blocked {
    border-color: #e6c3bb;
    background: linear-gradient(180deg, #fdf5f2 0%, #faebe6 100%);
}

.tnl-planlock--blocked .tnl-planlock__icon {
    background: linear-gradient(180deg, #d89a8a 0%, #b76c5c 100%);
}

.tnl-planlock--blocked .tnl-planlock__copy b {
    color: #8f4b3c;
}

.tnl-rules {
    margin: 0;
    padding-left: 17px;
    color: #8d7d69;
    font-size: 11px;
    line-height: 1.75;
}

.tnl-rules li + li {
    margin-top: 5px;
}

/* ---------- team ---------- */

.tnl-teamhero {
    overflow: hidden;
    border: 1px solid #e6d6be;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--tnl-shadow);
}

.tnl-teamhero img {
    display: block;
    width: 100%;
    height: 126px;
    object-fit: cover;
}

.tnl-teamhero__strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tnl-ink);
}

.tnl-teamhero__strip svg {
    width: 17px;
    height: 17px;
    color: #c09a67;
    flex: 0 0 auto;
}

.tnl-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.tnl-stat {
    padding: 11px 5px 10px;
    border: 1px solid #e6d6be;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.tnl-stat svg {
    width: 19px;
    height: 19px;
    color: #c09a67;
    margin-bottom: 5px;
}

.tnl-stat__label {
    font-size: 9px;
    line-height: 1.2;
    color: var(--tnl-muted);
}

.tnl-stat__value {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-go {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(176, 139, 87, .22);
}

.tnl-go svg {
    width: 12px;
    height: 12px;
}

.tnl-copy {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px;
}

.tnl-copy__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tnl-copy__row span {
    font-size: 10.5px;
    color: var(--tnl-muted);
}

.tnl-copy__row b {
    font-size: 14px;
    letter-spacing: .07em;
    color: #3a2c1d;
}

.tnl-copy__link {
    padding: 8px 10px;
    border: 1px dashed #e6d8c5;
    border-radius: 9px;
    background: var(--tnl-bg-2);
    color: var(--tnl-muted);
    font-size: 10px;
    line-height: 1.4;
    word-break: break-all;
}

/* ---------- profile ---------- */

.tnl-profilehero {
    position: relative;
    overflow: visible;
    margin: -14px -16px 0;
    padding: 20px 16px 12px;
    background:
        radial-gradient(86% 66% at 50% 38%, rgba(255, 255, 255, .46) 0%, rgba(255, 255, 255, 0) 64%),
        linear-gradient(180deg, #ab8053 0%, #c8a87f 24%, #e2cdae 50%, #d2b186 74%, #bd9463 100%);
    text-align: center;
}

/* base: usado no modal de check-in */
.tnl-avatar {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: var(--tnl-gold-soft);
    box-shadow: 0 6px 18px rgba(120, 90, 50, .12);
}

.tnl-avatar svg {
    width: 54px;
    height: 29px;
}

/* perfil: circulo de vidro sobre a faixa dourada, marca em branco */
.tnl-profilehero .tnl-avatar {
    width: 92px;
    height: 92px;
    border: 3px solid rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 4px 14px rgba(90, 66, 36, .16);
}

.tnl-profilehero .tnl-avatar svg {
    width: 58px;
    height: 31px;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.tnl-id {
    position: relative;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    color: #4a3520;
}

/* ---------- perfil ---------- */

.tnl-phero {
    margin: -14px -16px 0;
}

.tnl-phero__band {
    position: relative;
    overflow: hidden;
    padding: 28px 16px 54px;
    text-align: center;
    border-radius: 0 0 22px 22px;
    background:
        radial-gradient(64% 52% at 50% 22%, #ffffff 0%, rgba(255, 255, 255, 0) 66%),
        linear-gradient(165deg, #fdfbf7 0%, #f8efe1 42%, #eeddc4 72%, #e1c9a6 100%);
}

.tnl-phero__band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(198, 163, 116, .07) 0 2px, transparent 2px 18px);
    pointer-events: none;
}

.tnl-pavatar {
    position: relative;
    width: 98px;
    height: 98px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 32%, #fff 0%, #fbf4e8 58%, #ecd9bd 100%);
    box-shadow: 0 14px 28px rgba(120, 90, 50, .22), inset 0 0 0 1px rgba(198, 163, 116, .5);
}

.tnl-pavatar::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(183, 142, 92, .26);
    border-radius: 50%;
}

.tnl-pavatar svg {
    width: 58px;
    height: 31px;
    opacity: .9;
}

.tnl-pid {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 20px 0 0;
    padding: 7px 13px;
    border: 1px solid #e4d2b6;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 4px 12px rgba(120, 90, 50, .08);
    color: #6b563c;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* cartões de números */

.tnl-pstats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}

.tnl-pstat {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 11px 5px 10px;
    border: 1px solid #e6d6be;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fdfaf4 100%);
    box-shadow: 0 6px 16px rgba(96, 72, 42, .09);
}

.tnl-pstat__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #faf3e7;
    color: #b78e5c;
}

.tnl-pstat__icon svg {
    width: 15px;
    height: 15px;
}

.tnl-pstat b {
    margin-top: 3px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #3e2f20;
    white-space: nowrap;
}

.tnl-pstat__label {
    margin-top: 2px;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #a3968a;
}

.tnl-pstat--balance {
    border-color: #c6a374;
    background: linear-gradient(150deg, #d3b184 0%, #b78e5c 100%);
    box-shadow: 0 10px 22px rgba(151, 113, 64, .28);
}

.tnl-pstat--balance .tnl-pstat__icon {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.tnl-pstat--balance b {
    color: #fff;
}

.tnl-pstat--balance .tnl-pstat__label {
    color: rgba(255, 255, 255, .82);
}

.tnl-phero .tnl-pstats {
    margin: -38px 16px 0;
}

/* títulos de seção */

.tnl-phead {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 28px 2px 0;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8a6f4c;
}

.tnl-phead::before {
    content: "";
    width: 16px;
    height: 2px;
    flex: 0 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, #c6a374 0%, #ecd9bd 100%);
}

/* listas agrupadas */

.tnl-mgmt {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #e6d6be;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(96, 72, 42, .07);
}

.tnl-mgmt__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #f5efe6;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease;
}

.tnl-mgmt__row:last-child {
    border-bottom: 0;
}

.tnl-mgmt__row:active {
    background: #fdfaf4;
}

@media (hover: hover) {
    .tnl-mgmt__row:hover {
        background: #fdfaf4;
    }
}

.tnl-mgmt__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0e2cd;
    border-radius: 12px;
    background: linear-gradient(160deg, #fdf7ee 0%, #f6e9d6 100%);
    box-shadow: inset 0 1px 0 #fff;
    color: #b78e5c;
}

.tnl-mgmt__icon svg {
    width: 19px;
    height: 19px;
}

.tnl-mgmt__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: #3e2f20;
}

.tnl-mgmt__sub {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
    color: #a3968a;
}

.tnl-chev {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 6px;
    border-radius: 50%;
    background: #faf3e7;
    color: #b78e5c;
}

.tnl-mgmt__row--danger .tnl-mgmt__title {
    color: #a3543e;
}

.tnl-mgmt__row .tnl-go {
    height: 34px;
    padding: 0 20px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    background: linear-gradient(180deg, #c9a26b 0%, #a97f4e 100%);
}

/* layout de referência do perfil */

.tnl-page--profile {
    gap: 0;
    padding-bottom: 4px;
}

.tnl-page--profile .tnl-mgmt {
    margin-top: 10px;
}

.tnl-page--profile .tnl-mgmt__row {
    min-height: 70px;
    padding: 13px 15px;
}

.tnl-page--profile .tnl-mgmt__icon {
    width: 43px;
    height: 43px;
}

.tnl-page--profile .tnl-mgmt__title {
    font-size: 14.5px;
}

.tnl-page--profile .tnl-mgmt__sub {
    font-size: 11.5px;
}

.tnl-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    margin-top: 16px;
    padding: 12px 18px;
    border: 1px solid #eed7cb;
    border-radius: 14px;
    background: #fff;
    color: #a3543e;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(96, 72, 42, .05);
    transition: background .18s ease, border-color .18s ease, transform .12s ease;
}

.tnl-logout:active {
    transform: scale(.99);
}

.tnl-logout:hover {
    border-color: #e0b6a4;
    background: #fdf5f1;
}

.tnl-logout__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.tnl-logout__icon svg {
    width: 20px;
    height: 20px;
}

.tnl-logout__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

@media (max-width: 380px) {
    .tnl-phero {
        margin-left: -13px;
        margin-right: -13px;
    }

    .tnl-phero__band {
        padding: 24px 14px 50px;
    }

    .tnl-pavatar {
        width: 88px;
        height: 88px;
    }

    .tnl-pavatar svg {
        width: 52px;
        height: 28px;
    }

    .tnl-pid {
        margin-top: 18px;
        padding: 6px 11px;
        font-size: 10.5px;
    }

    .tnl-phero .tnl-pstats {
        margin: -34px 12px 0;
        gap: 8px;
    }

    .tnl-pstat {
        min-height: 88px;
        padding: 10px 4px 9px;
    }

    .tnl-pstat__icon {
        width: 25px;
        height: 25px;
        border-radius: 8px;
    }

    .tnl-pstat__icon svg {
        width: 14px;
        height: 14px;
    }

    .tnl-pstat b {
        font-size: 13px;
    }

    .tnl-pstat__label {
        font-size: 8px;
    }

    .tnl-phead {
        font-size: 10.5px;
        margin-top: 24px;
    }

    .tnl-mgmt__icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .tnl-mgmt__title {
        font-size: 13.5px;
    }

    .tnl-mgmt__sub {
        font-size: 10.5px;
    }
}

/* ---------- equipe: painel personalizado ---------- */

.tnl-page--team {
    gap: 15px;
}

.tnl-page--team .tnl-section-label {
    margin: 3px 2px -6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #a3968a;
}

/* hero */

.tnl-tm-hero {
    position: relative;
    overflow: hidden;
    padding: 16px 16px 15px;
    border: 1px solid #3a2c1d;
    border-radius: 20px;
    background: #2a1f14;
    box-shadow: 0 16px 34px rgba(62, 47, 32, .24);
    color: #fff;
}

.tnl-tm-hero__bg {
    position: absolute;
    inset: 0;
}

.tnl-tm-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tnl-tm-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 70% at 88% 0%, rgba(198, 163, 116, .34) 0%, rgba(198, 163, 116, 0) 62%),
        linear-gradient(180deg, rgba(20, 14, 8, .3) 0%, rgba(20, 14, 8, .7) 52%, rgba(16, 11, 6, .94) 100%);
}

.tnl-tm-hero__top,
.tnl-tm-hero__goal {
    position: relative;
    z-index: 2;
}

.tnl-tm-hero__top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.tnl-tm-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: linear-gradient(160deg, #e8d0a8 0%, #c6a374 48%, #a97e4c 100%);
    color: #3a2c1d;
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}

.tnl-tm-avatar__dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 13px;
    height: 13px;
    border: 2.5px solid #241a10;
    border-radius: 50%;
    background: #2e9e6b;
}

.tnl-tm-hero__id {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tnl-tm-hero__hi {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .68);
}

.tnl-tm-hero__id strong {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tnl-tm-hero__since {
    margin-top: 2px;
    font-size: 9.5px;
    color: rgba(255, 255, 255, .58);
}

.tnl-tm-rank {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #f4e4c9;
}

.tnl-tm-rank svg {
    width: 13px;
    height: 13px;
    color: #e5c493;
}

.tnl-tm-hero__goal {
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.tnl-tm-hero__goalhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, .66);
}

.tnl-tm-hero__goalhead span b {
    color: #f0d9b2;
    font-weight: 700;
}

.tnl-tm-hero__goalhead > b {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.tnl-tm-bar {
    margin-top: 8px;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.tnl-tm-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #c6a374 0%, #f0d9b2 100%);
    box-shadow: 0 0 12px rgba(240, 217, 178, .55);
    transition: width .5s ease;
}

/* números */

.tnl-tm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tnl-tm-stat {
    display: flex;
    flex-direction: column;
    padding: 13px 13px 12px;
    border: 1px solid #e6d6be;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(96, 72, 42, .06);
}

.tnl-tm-stat__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #faf3e7;
    color: #b78e5c;
}

.tnl-tm-stat__icon svg {
    width: 17px;
    height: 17px;
}

.tnl-tm-stat__icon--green {
    background: #e9f6ef;
    color: #2e9e6b;
}

.tnl-tm-stat__label {
    margin-top: 10px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #a3968a;
}

.tnl-tm-stat__value {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #3e2f20;
}

.tnl-tm-stat__note {
    margin-top: 3px;
    font-size: 9.5px;
    line-height: 1.3;
    color: #a3968a;
}

.tnl-tm-stat--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding: 15px 16px;
    border: 0;
    background: linear-gradient(135deg, #c9a878 0%, #b78e5c 52%, #9a7344 100%);
    box-shadow: 0 10px 24px rgba(151, 113, 64, .32);
    color: #fff;
}

.tnl-tm-stat--wide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 16px);
    opacity: .5;
    pointer-events: none;
}

.tnl-tm-stat__widebody {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tnl-tm-stat--wide .tnl-tm-stat__label {
    margin-top: 0;
    color: rgba(255, 255, 255, .82);
}

.tnl-tm-stat--wide .tnl-tm-stat__value {
    font-size: 24px;
    color: #fff;
}

.tnl-tm-stat--wide .tnl-tm-stat__note {
    color: rgba(255, 255, 255, .76);
}

.tnl-tm-stat__coin {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.tnl-tm-stat__coin svg {
    width: 22px;
    height: 22px;
}

/* níveis */

.tnl-tm-levels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tnl-tm-level {
    padding: 13px 14px 12px;
    border: 1px solid #e6d6be;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(96, 72, 42, .06);
}

.tnl-tm-level__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tnl-tm-level__badge {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(160deg, #d8bb8f 0%, #b78e5c 100%);
    box-shadow: 0 4px 10px rgba(151, 113, 64, .26);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.tnl-tm-level--2 .tnl-tm-level__badge {
    background: linear-gradient(160deg, #c3a27a 0%, #9c7747 100%);
}

.tnl-tm-level--3 .tnl-tm-level__badge {
    background: linear-gradient(160deg, #8f7457 0%, #644a2f 100%);
}

.tnl-tm-level__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tnl-tm-level__meta strong {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    color: #3e2f20;
}

.tnl-tm-level__meta span {
    margin-top: 2px;
    font-size: 10px;
    color: #a3968a;
}

.tnl-tm-level__earn {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #2e9e6b;
}

.tnl-tm-level__bar {
    margin-top: 11px;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #f2ebe0;
}

.tnl-tm-level__bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #d9bea0 0%, #b78e5c 100%);
    transition: width .4s ease;
}

.tnl-tm-level__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    font-size: 9.5px;
    color: #a3968a;
}

.tnl-tm-level__dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #2e9e6b;
}

.tnl-tm-level__dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2e9e6b;
}

.tnl-tm-level__dot.is-off {
    color: #a3968a;
}

.tnl-tm-level__dot.is-off::before {
    background: #d9cfc2;
}

.tnl-tm-level__link {
    margin-left: auto;
    font-size: 9.5px;
    font-weight: 700;
    color: #b78e5c;
    text-decoration: none;
}

.tnl-tm-level__people {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #f0e5d6;
}

.tnl-tm-level__stack {
    display: flex;
}

.tnl-tm-level__stack i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #f3e7d5;
    color: #8a6a44;
    font-style: normal;
    font-size: 9.5px;
    font-weight: 800;
}

.tnl-tm-level__stack i:first-child {
    margin-left: 0;
}

.tnl-tm-level__stack i:nth-child(2) {
    background: #eadcc6;
}

.tnl-tm-level__stack i:nth-child(3) {
    background: #e2f2e9;
    color: #2e9e6b;
}

.tnl-tm-level__stack i:nth-child(4) {
    background: #f6e8d8;
}

.tnl-tm-level__share {
    font-size: 9.5px;
    font-weight: 600;
    color: #a3968a;
}

/* membros */

.tnl-tm-members {
    padding: 4px 14px;
}

.tnl-tm-mem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5efe6;
}

.tnl-tm-mem:last-child {
    border-bottom: 0;
}

.tnl-tm-mem__avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0e2cd;
    border-radius: 50%;
    background: #faf3e7;
    color: #b78e5c;
    font-size: 13px;
    font-weight: 800;
}

.tnl-tm-mem__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tnl-tm-mem__body strong {
    font-size: 12px;
    font-weight: 600;
    color: #3e2f20;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tnl-tm-mem__body span {
    margin-top: 1px;
    font-size: 9.5px;
    color: #a3968a;
}

.tnl-tm-mem__pill {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f7f1e7;
    color: #a3968a;
    font-size: 9px;
    font-weight: 700;
}

.tnl-tm-mem__pill.is-on {
    background: #e9f6ef;
    color: #2e9e6b;
}

.tnl-tm-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 2px;
}

.tnl-tm-empty__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #dcc7a6;
    border-radius: 14px;
    background: #fdfaf4;
    color: #b78e5c;
}

.tnl-tm-empty__icon svg {
    width: 21px;
    height: 21px;
}

.tnl-tm-empty strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #3e2f20;
}

.tnl-tm-empty div span {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    line-height: 1.45;
    color: #a3968a;
}

/* convite */

.tnl-tm-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #3e2f20 0%, #5a4327 56%, #7a5c36 100%);
    box-shadow: 0 12px 26px rgba(62, 47, 32, .26);
    color: #fff;
}

.tnl-tm-cta__glow {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 163, 116, .5) 0%, rgba(198, 163, 116, 0) 68%);
}

.tnl-tm-cta__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.tnl-tm-cta__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d8bb8f;
}

.tnl-tm-cta__body strong {
    margin-top: 4px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.tnl-tm-cta__body span:not(.tnl-tm-cta__eyebrow) {
    margin-top: 5px;
    font-size: 10.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

.tnl-tm-cta__btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    color: #3e2f20;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.tnl-tm-cta__btn svg {
    width: 14px;
    height: 14px;
}

/* código */

.tnl-tm-code {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px;
    border-color: #e6d6be;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(96, 72, 42, .06);
}

.tnl-tm-code__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.tnl-tm-code__top span {
    font-size: 10px;
    color: #a3968a;
}

.tnl-tm-code__top b {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #3e2f20;
}

.tnl-tm-code__link {
    padding: 9px 11px;
    border: 1px dashed #e6d8c5;
    border-radius: 10px;
    background: #fdfaf5;
    color: #a3968a;
    font-size: 10px;
    line-height: 1.45;
    word-break: break-all;
}

.tnl-tm-code__actions {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.tnl-tm-code__actions .tnl-btn {
    flex: 1;
    height: 46px;
    font-size: 11.5px;
}

.tnl-tm-code__share {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e6d6be;
    border-radius: 12px;
    background: #fff;
    color: #8a6a44;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.tnl-tm-code__share svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 380px) {
    .tnl-tm-hero {
        padding: 14px 14px 13px;
    }

    .tnl-tm-avatar {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .tnl-tm-hero__id strong {
        font-size: 18px;
    }

    .tnl-tm-rank {
        padding: 5px 8px;
        font-size: 8.5px;
    }

    .tnl-tm-stat__value {
        font-size: 16px;
    }

    .tnl-tm-stat--wide .tnl-tm-stat__value {
        font-size: 21px;
    }

    .tnl-tm-level__earn {
        font-size: 12px;
    }

    .tnl-tm-level__foot {
        gap: 8px;
        font-size: 9px;
    }

    .tnl-tm-code__actions .tnl-btn {
        font-size: 10.5px;
    }

    .tnl-tm-code__share {
        padding: 0 11px;
        font-size: 10.5px;
    }
}

/* ---------- bottom nav ---------- */

.tnl-nav {
    position: fixed;
    left: 50%;
    bottom: 10px;
    z-index: 50;
    width: calc(100% - 24px);
    max-width: calc(var(--tnl-max) - 24px);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border: 1px solid rgba(233, 222, 206, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 12px 30px rgba(74, 55, 32, .16), 0 2px 6px rgba(74, 55, 32, .05);
}

.tnl-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 0 3px;
    border: 0;
    border-radius: 16px;
    background: none;
    color: #a3968a;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s ease;
}

.tnl-nav__ico {
    width: 34px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    transition: background .18s ease, box-shadow .18s ease, color .18s ease;
}

.tnl-nav__item svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
}

.tnl-nav__item.is-active {
    color: var(--tnl-gold-3);
}

.tnl-nav__item.is-active .tnl-nav__ico {
    background: linear-gradient(155deg, #d7b98f 0%, #c29b69 48%, #a97e4c 100%);
    color: #fff;
    box-shadow: 0 5px 10px rgba(170, 127, 77, .26), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.tnl-nav__label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1;
}

.tnl-nav__item.is-active .tnl-nav__label {
    font-weight: 700;
}

/* ---------- modals ---------- */

.tnl-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    background: rgba(22, 15, 7, .46);
}

.tnl-overlay.is-open {
    display: block;
}

.tnl-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 61;
    display: none;
    width: min(88vw, 360px);
    transform: translate(-50%, -50%);
    padding: 20px 18px 18px;
    border: 1px solid var(--tnl-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(30, 20, 8, .28);
}

.tnl-modal.is-open {
    display: block;
}

.tnl-modal__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tnl-ink);
    text-align: center;
}

.tnl-modal__text {
    margin: 0 0 14px;
    font-size: 11.5px;
    line-height: 1.55;
    color: #7a6955;
    text-align: center;
}

.tnl-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f6f1e9;
    color: #8d7d69;
    cursor: pointer;
}

.tnl-modal__close svg {
    width: 14px;
    height: 14px;
}

.tnl-modal .tnl-field {
    margin-bottom: 12px;
}

/* reward modal variant */

.tnl-modal--reward {
    text-align: center;
}

.tnl-modal--reward .tnl-avatar {
    margin-bottom: 12px;
}

.tnl-modal__amount {
    margin: 4px 0 8px;
    font-size: 26px;
    font-weight: 800;
    color: var(--tnl-gold-3);
}

/* ---------- bottom sheet (investimento) ---------- */

.tnl-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 61;
    display: block;
    width: 100%;
    max-width: var(--tnl-max);
    max-height: 88vh;
    overflow-y: auto;
    padding: 9px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(30, 20, 8, .24);
    transform: translate(-50%, 105%);
    transition: transform .28s ease;
    visibility: hidden;
}

.tnl-sheet.is-open {
    transform: translate(-50%, 0);
    visibility: visible;
}

.tnl-sheet__grip {
    width: 42px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 2px;
    background: #e8dfd2;
}

.tnl-sheet__img {
    display: block;
    width: 100%;
    height: 150px;
    margin-bottom: 12px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3eee6;
}

.tnl-sheet__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--tnl-ink);
    text-align: center;
}

.tnl-sheet__sub {
    margin: 4px 0 0;
    font-size: 10.5px;
    color: var(--tnl-muted);
    text-align: center;
}

.tnl-sheet__amount {
    margin: 10px 0 14px;
    font-size: 22px;
    font-weight: 800;
    color: var(--tnl-gold-3);
    text-align: center;
}

.tnl-sheet__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 2px;
    border-top: 1px solid #f4eee5;
    font-size: 11.5px;
    color: #8d7d69;
}

.tnl-sheet__row b {
    color: var(--tnl-ink);
    font-weight: 600;
}

.tnl-sheet .tnl-btn {
    margin-top: 14px;
}

.tnl-earning {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
}

.tnl-earning__value {
    margin-top: 3px;
    font-size: 19px;
    font-weight: 700;
    color: var(--tnl-gold-3);
}

.tnl-stats--2 {
    grid-template-columns: 1fr 1fr;
}

.tnl-stats--2 .tnl-stat {
    padding: 13px 8px;
    text-align: left;
}

.tnl-stats--2 .tnl-stat__value {
    font-size: 15px;
}

.tnl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 34px 18px 26px;
    border: 1px solid var(--tnl-line);
    border-radius: var(--tnl-radius);
    background: #fff;
    text-align: center;
}

.tnl-empty img {
    width: 148px;
    max-width: 62%;
    opacity: .9;
}

.tnl-empty p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b5945;
}

.tnl-empty .tnl-btn {
    max-width: 240px;
    height: 44px;
    font-size: 13px;
}

/* ---------- central de recompensas ---------- */

.tnl-taskhero {
    padding: 18px 16px 16px;
    text-align: center;
}

.tnl-taskhero__mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efdfc6;
    border-radius: 50%;
    background: linear-gradient(180deg, #fdf7ec 0%, #f7ecda 100%);
    color: #c39b66;
    box-shadow: 0 6px 16px rgba(176, 139, 87, .14);
}

.tnl-taskhero__mark svg {
    width: 28px;
    height: 28px;
}

.tnl-taskhero__title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #3a2c1d;
}

.tnl-taskhero__sub {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #8d7d69;
}

.tnl-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.tnl-code + .tnl-code {
    border-top: 1px solid #f5efe6;
}

.tnl-code span {
    display: block;
    font-size: 9.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #b3a696;
}

.tnl-code b {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #3a2c1d;
}

.tnl-code__link {
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    color: #8d7d69 !important;
    word-break: break-all;
}

.tnl-code .tnl-go {
    height: 30px;
    padding: 0 14px;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.tnl-reward {
    padding: 14px;
}

.tnl-reward__head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tnl-reward__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fdf3e3;
    color: #c39b66;
}

.tnl-reward__icon svg {
    width: 17px;
    height: 17px;
}

.tnl-reward__head p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: #6b5945;
}

.tnl-reward__head b {
    color: #3a2c1d;
    font-weight: 700;
}

.tnl-reward__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 13px 0 12px;
    padding-top: 12px;
    border-top: 1px solid #f5efe6;
    text-align: center;
}

.tnl-reward__stats b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-reward__stats span {
    display: block;
    margin-top: 3px;
    font-size: 8.5px;
    line-height: 1.3;
    color: #a3968a;
}

.tnl-rebate {
    padding: 14px;
}

.tnl-rebate__text {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.7;
    color: #6b5945;
}

.tnl-rebate__text span {
    color: var(--tnl-gold-3);
    font-weight: 700;
}

.tnl-rebate__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 13px 0 12px;
    padding-top: 12px;
    border-top: 1px solid #f5efe6;
}

.tnl-rebate__stats b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-rebate__stats span {
    display: block;
    margin-top: 3px;
    font-size: 8.5px;
    color: #a3968a;
}

.tnl-reward > .tnl-btn,
.tnl-rebate > .tnl-btn {
    min-width: 108px;
}

.tnl-copy__note {
    margin: 0 0 2px;
    font-size: 10.5px;
    line-height: 1.55;
    color: #8d7d69;
}

.tnl-rules-card {
    padding: 14px 16px;
}

.tnl-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tnlstep;
}

.tnl-steps li {
    position: relative;
    counter-increment: tnlstep;
    padding: 8px 0 8px 30px;
    border-top: 1px solid #f5efe6;
    font-size: 11px;
    line-height: 1.65;
    color: #8d7d69;
}

.tnl-steps li:first-child {
    border-top: 0;
}

.tnl-steps li::before {
    content: counter(tnlstep);
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f4f0e8;
    color: #a98a5e;
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

/* ---------- paginas de conteudo (guia / sobre) ---------- */

.tnl-doc {
    padding: 16px;
}

.tnl-doc h1 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #3a2c1d;
}

.tnl-doc h2 {
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-doc p {
    margin: 0 0 9px;
    font-size: 11.5px;
    line-height: 1.75;
    color: #7a6955;
}

.tnl-doc p:last-child {
    margin-bottom: 0;
}

.tnl-doc b {
    color: #3a2c1d;
    font-weight: 600;
}

.tnl-doc__lead {
    font-size: 12px !important;
    color: #8d7d69 !important;
}

.tnl-doc img {
    display: block;
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--tnl-line);
    border-radius: 10px;
}

.tnl-doc--flush {
    padding: 8px;
}

.tnl-doc--flush img {
    margin-top: 0;
    border: 0;
}

.tnl-doc--flush img + img {
    margin-top: 8px;
}

.tnl-doc .tnl-btn {
    margin-top: 4px;
    height: 44px;
    font-size: 13px;
}

.tnl-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.tnl-facts div {
    padding: 11px 6px;
    border: 1px solid var(--tnl-line);
    border-radius: 10px;
    background: #fbf8f3;
    text-align: center;
}

.tnl-facts b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--tnl-gold-3);
}

.tnl-facts span {
    display: block;
    margin-top: 3px;
    font-size: 8.5px;
    line-height: 1.3;
    color: #a3968a;
}

/* ---------- formularios ligados ---------- */

.tnl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---------- servico / atendimento ---------- */

.tnl-suphero {
    padding: 18px 16px 8px;
    text-align: center;
}

.tnl-suphero__mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efdfc6;
    border-radius: 50%;
    background: linear-gradient(180deg, #fdf7ec 0%, #f7ecda 100%);
    color: #c39b66;
    box-shadow: 0 6px 16px rgba(176, 139, 87, .14);
}

.tnl-suphero__mark svg {
    width: 27px;
    height: 27px;
}

.tnl-suphero__title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #3a2c1d;
}

.tnl-suphero__time {
    margin: 5px 0 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--tnl-gold-3);
}

.tnl-suphero__sub {
    margin: 8px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: #8d7d69;
}

.tnl-channels {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
}

.tnl-channel {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--tnl-line);
    border-radius: var(--tnl-radius);
    background: #fff;
    box-shadow: var(--tnl-shadow);
}

.tnl-channel__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fdf3e3;
    color: #c39b66;
}

.tnl-channel__icon svg {
    width: 19px;
    height: 19px;
}

.tnl-channel__body {
    flex: 1;
    min-width: 0;
}

.tnl-channel__body b {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #3a2c1d;
}

.tnl-channel__body span {
    display: block;
    margin-top: 2px;
    font-size: 9.5px;
    color: #a3968a;
}

.tnl-channel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 15px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(176, 139, 87, .22);
}

/* ---------- avaliacoes ---------- */
.tnl-review {
    padding: 18px 16px 6px;
    text-align: center;
}

.tnl-review__mark {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efdfc6;
    border-radius: 50%;
    background: linear-gradient(180deg, #fdf7ec 0%, #f7ecda 100%);
    color: #c39b66;
}

.tnl-review__mark svg {
    width: 25px;
    height: 25px;
}

.tnl-review__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #3a2c1d;
}

.tnl-review__sub {
    margin: 5px 0 0;
    font-size: 11px;
    color: #8d7d69;
}

.tnl-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 4px;
}

.tnl-star {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e4d9c8;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.tnl-star svg {
    width: 100%;
    height: 100%;
}

.tnl-star.is-on {
    color: #e0b352;
}

.tnl-star.is-on svg {
    fill: currentColor;
}

.tnl-review__field {
    position: relative;
    display: block;
}

.tnl-review__field textarea {
    width: 100%;
    padding: 12px;
    padding-bottom: 26px;
    border: 1px solid #f1ebe2;
    border-radius: 10px;
    background: #faf8f5;
    color: var(--tnl-ink);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.6;
    resize: none;
    outline: 0;
}

.tnl-review__field textarea:focus {
    border-color: var(--tnl-gold);
}

.tnl-review__field textarea::placeholder {
    color: var(--tnl-muted-2);
}

.tnl-review__count {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 9.5px;
    color: var(--tnl-muted-2);
}

.tnl-uploads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 14px;
}

.tnl-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    border: 1px dashed #e6dbc9;
    border-radius: 12px;
    background: #fbf8f3;
    color: #c1b09a;
    cursor: pointer;
}

.tnl-upload svg {
    width: 24px;
    height: 24px;
}

.tnl-upload input {
    display: none;
}

.tnl-review__note {
    margin: 12px 0 0;
    font-size: 10px;
    line-height: 1.7;
    color: #a3968a;
    text-align: center;
}

/* ---------- cobranca pix ---------- */

.tnl-pixhead {
    padding: 16px;
    text-align: center;
}

.tnl-pixhead .tnl-section-label {
    margin: 0 0 4px;
}

.tnl-pixhead__amount {
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #3a2c1d;
}

.tnl-pixhead__gateway {
    margin: 10px 0 0;
    font-size: 10px;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #b3a696;
}

.tnl-pixqr {
    padding: 16px;
    text-align: center;
}

.tnl-pixqr .tnl-section-label {
    margin: 0 0 12px;
}

.tnl-pixqr #qrcode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 208px;
    min-height: 208px;
    padding: 10px;
    border: 1px solid var(--tnl-line);
    border-radius: 12px;
    background: #fff;
}

.tnl-pixqr #qrcode img,
.tnl-pixqr #qrcode canvas {
    display: block;
}

.tnl-pixqr__hint {
    margin: 12px 0 10px;
    font-size: 11px;
    line-height: 1.6;
    color: #8d7d69;
}

.tnl-pixqr textarea {
    width: 100%;
    height: 86px;
    padding: 10px 12px;
    border: 1px solid #f1ebe2;
    border-radius: 10px;
    background: #faf8f5;
    color: #6b5945;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    line-height: 1.5;
    resize: none;
}

.tnl-pixqr .tnl-btn {
    margin-top: 12px;
}

.tnl-pixok {
    padding: 22px 18px;
    text-align: center;
}

.tnl-pixok__mark {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef7f1;
    color: #2e9e6b;
}

.tnl-pixok__mark svg {
    width: 24px;
    height: 24px;
}

.tnl-pixok h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-pixok p {
    margin: 6px 0 14px;
    font-size: 11.5px;
    line-height: 1.6;
    color: #8d7d69;
}

/* ---------- conta de recebimento ---------- */

.tnl-account {
    padding: 0;
    overflow: hidden;
}

.tnl-account__top {
    padding: 18px 16px 16px;
    background: linear-gradient(180deg, #e7d3b2 0%, #d7bb93 60%, #cbab7d 100%);
    text-align: center;
    color: #43301a;
}

.tnl-account__mark {
    width: 42px;
    height: 42px;
    margin: 0 auto 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .55);
    color: #8a6636;
}

.tnl-account__mark svg {
    width: 21px;
    height: 21px;
}

.tnl-account__kind {
    margin: 0;
    font-size: 9.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(67, 48, 26, .62);
}

.tnl-account__number {
    margin-top: 5px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
    word-break: break-all;
}

.tnl-account__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(120, 90, 50, .18);
}

.tnl-account__meta span {
    display: block;
    font-size: 9px;
    color: rgba(67, 48, 26, .58);
}

.tnl-account__meta b {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 600;
}

.tnl-field--select select {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tnl-ink);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
}

/* ---------- historicos ---------- */

.tnl-hlist {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tnl-hrow {
    padding: 13px 15px;
    border: 1px solid var(--tnl-line);
    border-radius: var(--tnl-radius);
    background: #fff;
    box-shadow: var(--tnl-shadow);
}

.tnl-hrow__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5efe6;
}

.tnl-hrow__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: #3a2c1d;
}

.tnl-hrow__label svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: #bb9a6c;
}

.tnl-hrow__date {
    flex: 0 0 auto;
    font-size: 9.5px;
    color: #a3968a;
    white-space: nowrap;
}

.tnl-hrow__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
}

.tnl-hrow__amount {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #3a2c1d;
}

.tnl-hrow__amount--out {
    color: #a3543e;
}

.tnl-hrow__sub {
    margin: 3px 0 0;
    font-size: 10.5px;
    line-height: 1.5;
    color: #8d7d69;
}

.tnl-pill {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}

.tnl-pill--ok {
    background: #eef7f1;
    color: #2e9e6b;
}

.tnl-pill--wait {
    background: #fff7e7;
    color: #b98432;
}

.tnl-pill--no {
    background: #fbeeeb;
    color: #a3543e;
}

/* ---------- central de parceiros ---------- */

.tnl-partner {
    padding: 18px 16px 16px;
    margin-bottom: 12px;
    border: 1px solid #ecdfc9;
    border-radius: var(--tnl-radius);
    background: linear-gradient(180deg, #fdf8ef 0%, #f9f0e0 100%);
    box-shadow: 0 6px 18px rgba(176, 139, 87, .08);
    text-align: center;
}

.tnl-partner__tier {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #8d7d69;
}

.tnl-partner__tier span {
    margin-left: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f3e6d0;
    color: #a8824f;
    font-size: 8.5px;
    text-transform: uppercase;
}

.tnl-partner__medal {
    width: 62px;
    height: 62px;
    margin: 12px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ecd9b9;
    border-radius: 50%;
    background: linear-gradient(180deg, #e9d3ae 0%, #d6b98f 100%);
    color: #7d5c2d;
    box-shadow: inset 0 -2px 6px rgba(140, 104, 50, .18), 0 6px 14px rgba(176, 139, 87, .18);
}

.tnl-partner__medal svg {
    width: 30px;
    height: 30px;
}

.tnl-partner__bar {
    position: relative;
    height: 7px;
    margin: 0 8px;
    border-radius: 999px;
    background: #efe3d0;
    overflow: hidden;
}

.tnl-partner__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #cbaa7c 0%, #b78e5b 100%);
}

.tnl-partner__count {
    margin: 7px 0 0;
    font-size: 10px;
    font-weight: 600;
    color: #a3968a;
}

.tnl-partner__label {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-partner__hint {
    margin: 7px 0 0;
    font-size: 10.5px;
    line-height: 1.6;
    color: #8d7d69;
}

.tnl-partner__hint b {
    color: #a8824f;
}

.tnl-partner-team {
    padding: 14px 15px;
    margin-bottom: 12px;
}

.tnl-partner-team h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-partner-team__sub {
    margin: 3px 0 0;
    font-size: 9.5px;
    color: #a3968a;
}

.tnl-partner-team__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #f5efe6;
}

.tnl-partner-team__grid span {
    display: block;
    font-size: 9.5px;
    color: #a3968a;
}

.tnl-partner-team__grid b {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-partner-team__grid em {
    font-size: 9px;
    font-style: normal;
    color: #b3a696;
}

.tnl-partner-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.tnl-partner-card {
    padding: 13px 12px;
}

.tnl-partner-card__tag {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f5f1ea;
    color: #a3968a;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.tnl-partner-card__title {
    margin: 8px 0 0;
    font-size: 9.5px;
    color: #8d7d69;
}

.tnl-partner-card__value {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #3a2c1d;
}

.tnl-partner-card--accent {
    border-color: #e9d7b7;
    background: linear-gradient(180deg, #fdf8ef 0%, #faf2e4 100%);
}

.tnl-partner-card--accent .tnl-partner-card__tag {
    background: #f4e6ce;
    color: #a8824f;
}

.tnl-partner-img {
    margin-top: 12px;
}

.tnl-partner-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---------- sorteio ---------- */

.tnl-spin {
    padding-top: 4px;
    text-align: center;
}

.tnl-spin .wheel-spin-box {
    position: relative;
    margin: 0 auto 6px;
    padding: 6px 0 0;
    max-width: 340px;
    filter: drop-shadow(0 10px 22px rgba(176, 139, 87, .18));
}

.tnl-spin .wheel-spin-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    line-height: 0;
    pointer-events: none;
}

.tnl-spin .wheel-spin-arrow svg {
    width: 44px;
    height: 40px;
}

.tnl-spin #spinwheel svg {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.tnl-spin .wheeldotsround {
    display: none;
}

.tnl-spin__btn {
    margin: 6px auto 16px;
    max-width: 240px;
}

.tnl-spin__hint {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    text-align: left;
}

.tnl-spin__hinticon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fdf3e3;
    color: #c09a67;
}

.tnl-spin__hinticon svg {
    width: 18px;
    height: 18px;
}

.tnl-spin__hint p {
    margin: 0;
    font-size: 11px;
    line-height: 1.65;
    color: #8d7d69;
}

.tnl-spin + .tnl-card,
.tnl-spin__hint + .tnl-card {
    margin-top: 12px;
}

/* modal do codigo do sorteio (estrutura antiga, pele nova) */

.pModal {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(58, 44, 29, .38);
    backdrop-filter: blur(2px);
}

.pModalContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 56px);
    max-width: 300px;
    transform: translate(-50%, -50%);
    padding: 18px 16px 0;
    border: 1px solid var(--tnl-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(58, 44, 29, .22);
    overflow: hidden;
}

.pModalContainer h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #3a2c1d;
    text-align: center;
}

.pModalContainer p {
    margin: 12px 0 16px;
    padding: 0;
    text-align: center;
}

.pModalContainer input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--tnl-line);
    border-radius: 12px;
    background: #faf8f5;
    color: var(--tnl-ink);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    text-align: center;
    outline: 0;
}

.pModalContainer input[type="text"]:focus {
    border-color: var(--tnl-gold);
    box-shadow: 0 0 0 3px rgba(198, 163, 116, .14);
}

.pModalContainer input[type="text"]::placeholder {
    color: var(--tnl-muted-2);
    font-weight: 400;
}

.pModalContainer .btn_group {
    position: static;
    display: flex;
    height: 48px;
    margin: 0 -16px;
    border-top: 1px solid #f2ebe1;
}

.pModalContainer .leftBtn,
.pModalContainer .rightBtn {
    flex: 1;
    float: none;
    width: auto;
    height: 100%;
    padding-top: 15px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

.pModalContainer .leftBtn {
    border-right: 1px solid #f2ebe1;
    color: #8d7d69;
}

.pModalContainer .rightBtn {
    color: #b78e5b;
}

/* ---------- legacy page overrides ----------
   As telas antigas continuam usando as classes do bundle Vue.
   Este bloco converte o esqueleto delas para o tema novo.
   --------------------------------------------------------- */

body.tnl-legacy,
body:has(.homepage):not(.tnl-body),
body:has(.productpage):not(.tnl-body),
body:has(.teampage):not(.tnl-body) {
    background: var(--tnl-bg) !important;
}

/* headers antigos */

body.tnl-legacy .topclr,
body:not(.tnl-body) .homepage > .topclr,
body:not(.tnl-body) .productpage > .topclr,
body:not(.tnl-body) .teampage > .topclr {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 56px !important;
    height: 56px !important;
    padding: 0 16px !important;
    background: #fff !important;
    border-bottom: 1px solid #f0eae0;
}

body.tnl-legacy .topclr .leftti,
body:not(.tnl-body) .topclr .leftti {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--tnl-ink) !important;
}

body.tnl-legacy .topclr .rightimg img,
body:not(.tnl-body) .topclr .rightimg img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    object-fit: cover;
}

/* blocos de estatistica antigos */

body.tnl-legacy .planbox,
body:not(.tnl-body) .planbox {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 16px 0 !important;
}

body.tnl-legacy .planbox .lefti,
body:not(.tnl-body) .planbox .lefti {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px !important;
    border: 1px solid var(--tnl-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--tnl-shadow);
}

body.tnl-legacy .planbox .lefti > img,
body:not(.tnl-body) .planbox .lefti > img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain;
}

body.tnl-legacy .planbox .accounti p,
body:not(.tnl-body) .planbox .accounti p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--tnl-ink) !important;
}

body.tnl-legacy .planbox .accounti span,
body:not(.tnl-body) .planbox .accounti span {
    display: block;
    margin-top: 2px;
    font-size: 8.5px !important;
    color: var(--tnl-muted) !important;
}

/* labels "— texto —" antigos */

body.tnl-legacy .dynamic,
body:not(.tnl-body) .dynamic {
    margin: 16px 16px 8px !important;
    text-align: center;
    font-size: 10px !important;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--tnl-muted) !important;
}

/* cards antigos de produto / lista */

body.tnl-legacy .product-list2 .list,
body:not(.tnl-body) .product-list2 .list {
    margin: 0 16px 12px !important;
    padding: 12px !important;
    border: 1px solid var(--tnl-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: var(--tnl-shadow);
}

body.tnl-legacy .product-list2 .list .imgpro,
body:not(.tnl-body) .product-list2 .list .imgpro {
    border-radius: 10px;
}

body.tnl-legacy .product-list2 .list .name,
body:not(.tnl-body) .product-list2 .list .name {
    color: var(--tnl-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.tnl-legacy .product-list2 .list .leasebox .pricei p,
body:not(.tnl-body) .product-list2 .list .leasebox .pricei p {
    color: var(--tnl-ink) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.tnl-legacy .product-list2 .list .leasebox .pricei span,
body:not(.tnl-body) .product-list2 .list .leasebox .pricei span {
    color: var(--tnl-muted) !important;
    font-size: 8.5px !important;
}

body.tnl-legacy .btnlease,
body:not(.tnl-body) .btnlease,
body.tnl-legacy .btncon,
body:not(.tnl-body) .btncon {
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(176, 139, 87, .24);
}

body.tnl-legacy .btnlease p,
body:not(.tnl-body) .btnlease p {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* linhas de menu antigas */

body.tnl-legacy .item-list .itemi,
body:not(.tnl-body) .item-list .itemi {
    border: 1px solid var(--tnl-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
}

body.tnl-legacy .item-list .itemi p,
body:not(.tnl-body) .item-list .itemi p {
    color: var(--tnl-ink) !important;
    font-size: 10.5px !important;
}

body.tnl-legacy .accouti,
body:not(.tnl-body) .accouti {
    margin: 0 16px 12px !important;
    border: 1px solid var(--tnl-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: var(--tnl-shadow);
}

body.tnl-legacy .accouti .list,
body:not(.tnl-body) .accouti .list {
    padding: 13px 14px !important;
    border-bottom: 1px solid #f4eee5 !important;
    background: #fff !important;
}

body.tnl-legacy .accouti .list:last-child,
body:not(.tnl-body) .accouti .list:last-child {
    border-bottom: 0 !important;
}

body.tnl-legacy .accouti .list .lefti p,
body:not(.tnl-body) .accouti .list .lefti p {
    color: var(--tnl-ink) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body.tnl-legacy .accouti .list .lefti img,
body:not(.tnl-body) .accouti .list .lefti img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

body.tnl-legacy .accouti .incoi,
body:not(.tnl-body) .accouti .incoi {
    color: #cbbfac !important;
}

/* cards de equipe antigos */

body.tnl-legacy .listteam,
body:not(.tnl-body) .listteam {
    margin: 0 16px 12px !important;
    border: 1px solid #e6d6be !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: var(--tnl-shadow);
    overflow: hidden;
}

body.tnl-legacy .listteam .firsti,
body:not(.tnl-body) .listteam .firsti {
    padding: 12px 14px !important;
    border-bottom: 1px solid #f4eee5 !important;
}

body.tnl-legacy .listteam .firsti .left p,
body:not(.tnl-body) .listteam .firsti .left p {
    color: var(--tnl-ink) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

body.tnl-legacy .listteam .ratio,
body:not(.tnl-body) .listteam .ratio {
    color: var(--tnl-muted) !important;
    font-size: 9.5px !important;
}

body.tnl-legacy .listteam .cumulalist .commis p,
body:not(.tnl-body) .listteam .cumulalist .commis p {
    color: var(--tnl-ink) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.tnl-legacy .listteam .cumulalist .commis span,
body:not(.tnl-body) .listteam .cumulalist .commis span {
    color: var(--tnl-muted) !important;
    font-size: 8.5px !important;
}

/* caixa de convite antiga */

body.tnl-legacy .copybox,
body:not(.tnl-body) .copybox {
    margin: 0 16px 14px !important;
    padding: 14px !important;
    border: 1px solid var(--tnl-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: var(--tnl-shadow);
}

body.tnl-legacy .copybox .codei,
body:not(.tnl-body) .copybox .codei {
    color: var(--tnl-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
}

body.tnl-legacy .copybox .methodi,
body:not(.tnl-body) .copybox .methodi {
    color: var(--tnl-muted) !important;
    font-size: 10px !important;
    word-break: break-all;
}

body.tnl-legacy .copybox button,
body:not(.tnl-body) .copybox button {
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* botoes e campos genéricos do bundle antigo */

body.tnl-legacy .btnin,
body:not(.tnl-body) .btnin {
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 14px rgba(176, 139, 87, .28);
}

body.tnl-legacy .input-box,
body:not(.tnl-body) .input-box {
    border: 1px solid var(--tnl-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.tnl-legacy .van-popup,
body:not(.tnl-body) .van-popup {
    border-radius: 18px !important;
    background: #fff !important;
    color: var(--tnl-ink) !important;
    box-shadow: 0 22px 60px rgba(30, 20, 8, .28);
}

body.tnl-legacy .van-overlay,
body:not(.tnl-body) .van-overlay {
    background: rgba(22, 15, 7, .46) !important;
}

body.tnl-legacy .xuanfu,
body:not(.tnl-body) .xuanfu {
    border-radius: 50% !important;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%) !important;
    box-shadow: 0 8px 20px rgba(120, 90, 50, .3) !important;
}

/* esconde barras de marca antigas que nao existem no tema */

body.tnl-legacy .imginvite,
body:not(.tnl-body) .imginvite {
    display: none !important;
}

/* ---------- small screens ---------- */

@media (max-width: 380px) {
    .tnl-page,
    .tnl-auth {
        padding-left: 13px;
        padding-right: 13px;
    }

    .tnl-hero__img {
        height: 158px;
    }

    .tnl-quick__sub {
        display: none;
    }
}

@media (min-width: 481px) {
    body.tnl-body {
        background: #e7e0d5;
    }
}


/* marca na tela de entrar/cadastrar */
.tnl-auth__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 2px 14px;
}

.tnl-auth__mark {
    width: 46px;
    height: 25px;
    flex: 0 0 auto;
}

.tnl-auth__name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--tnl-gold-2);
}

.tnl-auth__sub {
    display: block;
    margin-top: 3px;
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    line-height: 1;
    color: #a99c8b;
}
/* ---------- check-in diario ---------- */

.tnl-page--checkin {
    gap: 12px;
    padding-top: 16px;
}

.tnl-checkin {
    position: relative;
    overflow: hidden;
    padding: 26px 20px 22px;
    border: 1px solid var(--tnl-line-2);
    border-radius: 18px;
    background:
        radial-gradient(120% 90% at 50% 0%, #fdf8ef 0%, #f8efe0 54%, #f4e7d3 100%);
    box-shadow: 0 8px 22px rgba(150, 116, 70, .12);
    text-align: center;
}

.tnl-checkin::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 40% at 50% 0%, rgba(198, 163, 116, .22), transparent 70%);
    pointer-events: none;
}

.tnl-checkin__label {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--tnl-line-2);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tnl-gold-3);
}

.tnl-checkin__amount {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--tnl-gold-2);
}

.tnl-checkin__hint {
    position: relative;
    z-index: 1;
    margin: 10px 0 18px;
    font-size: 13px;
    color: #8d7a63;
}

.tnl-checkin form,
.tnl-checkin .tnl-btn {
    position: relative;
    z-index: 1;
}

.tnl-checkin__done {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    border-radius: 999px;
    border: 1px solid #cfe7db;
    background: #f1faf5;
    font-size: 14px;
    font-weight: 700;
    color: var(--tnl-green);
}

.tnl-checkin__done svg {
    width: 17px;
    height: 17px;
}

.tnl-cal {
    padding: 15px 14px 16px;
    border: 1px solid var(--tnl-line);
    border-radius: var(--tnl-radius);
    background: #fff;
    box-shadow: var(--tnl-shadow);
}

.tnl-cal__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tnl-ink);
}

.tnl-cal__strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.tnl-cal__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tnl-cal__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--tnl-muted);
}

.tnl-cal__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1px solid #efe6d8;
    background: #fbf8f3;
    font-size: 12px;
    font-weight: 700;
    color: #a2907b;
}

.tnl-cal__dot svg {
    width: 14px;
    height: 14px;
}

.tnl-cal__day.is-done .tnl-cal__dot {
    border-color: #cfe7db;
    background: #eef9f3;
    color: var(--tnl-green);
}

.tnl-cal__day.is-today .tnl-cal__label {
    color: var(--tnl-gold-3);
}

.tnl-cal__day.is-today .tnl-cal__dot {
    border-color: var(--tnl-gold);
    box-shadow: 0 0 0 3px rgba(198, 163, 116, .16);
}

.tnl-checkin__rules .tnl-h2 {
    margin-bottom: 8px;
}

.tnl-checkin__list {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    line-height: 1.65;
    color: #7c6a55;
}

.tnl-checkin__list li + li {
    margin-top: 4px;
}

/* ---------- resgate de codigo ---------- */

.tnl-page--gift {
    gap: 12px;
    padding-top: 16px;
}

.tnl-gift {
    position: relative;
    border: 1px solid var(--tnl-line-2);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(150, 116, 70, .10);
    overflow: hidden;
}

.tnl-gift__top {
    position: relative;
    padding: 24px 22px 22px;
    text-align: center;
    background:
        radial-gradient(120% 100% at 50% 0%, #fdf8ef 0%, #f7eedd 58%, #f3e5cf 100%);
}

.tnl-gift__top::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, rgba(198, 163, 116, .07) 0 1px, transparent 1px 12px);
    pointer-events: none;
}

.tnl-gift__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border: 1px solid var(--tnl-line-2);
    border-radius: 50%;
    background: #fff;
    color: var(--tnl-gold-2);
    box-shadow: 0 4px 12px rgba(150, 116, 70, .14);
}

.tnl-gift__icon svg {
    width: 27px;
    height: 27px;
}

.tnl-gift__kicker {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tnl-gold-3);
}

.tnl-gift__title {
    position: relative;
    z-index: 1;
    margin: 7px 0 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--tnl-ink);
}

.tnl-gift__text {
    position: relative;
    z-index: 1;
    margin: 6px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #8d7a63;
}

.tnl-gift__perf {
    position: relative;
    height: 0;
    margin: 0 18px;
    border-top: 1px dashed #d9c4a7;
}

.tnl-gift__perf::before,
.tnl-gift__perf::after {
    content: "";
    position: absolute;
    top: -9px;
    width: 18px;
    height: 18px;
    border: 1px solid var(--tnl-line-2);
    border-radius: 50%;
    background: #fff;
}

.tnl-gift__perf::before {
    left: -28px;
}

.tnl-gift__perf::after {
    right: -28px;
}

.tnl-gift__body {
    padding: 18px 18px 20px;
}

.tnl-gift__label {
    display: block;
    margin: 0 0 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--tnl-muted);
}

.tnl-gift__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 14px;
    border: 1.5px solid #dcc8ac;
    border-radius: 12px;
    background: #fdfbf7;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.tnl-gift__field:focus-within {
    border-color: var(--tnl-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(198, 163, 116, .15);
}

.tnl-gift__field svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--tnl-gold-2);
}

.tnl-gift__field input {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .07em;
    color: var(--tnl-ink);
}

.tnl-gift__field input::placeholder {
    font-weight: 500;
    letter-spacing: 0;
    color: #bcae9d;
}

.tnl-gift__submit {
    margin-top: 14px;
}

.tnl-gift__submit:disabled {
    opacity: .7;
    cursor: default;
    transform: none;
}

.tnl-gift__hint {
    margin: 12px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
    color: var(--tnl-muted);
}

.tnl-gift__balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f2ebdf;
    font-size: 12px;
    color: var(--tnl-muted);
}

.tnl-gift__balance b {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--tnl-ink);
}

.tnl-gift__steps-title {
    margin-bottom: 12px;
}

.tnl-giftsteps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tnl-giftsteps li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #7c6a55;
}

.tnl-giftsteps b {
    font-weight: 700;
    color: var(--tnl-ink);
}

.tnl-giftsteps__n {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--tnl-gold-soft);
    border: 1px solid #ecdfcb;
    font-size: 11px;
    font-weight: 800;
    color: var(--tnl-gold-3);
}

.tnl-gift__foot {
    margin: 2px 6px 0;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    color: var(--tnl-muted-2);
}

/* ---------- saque: tipos de chave pix ---------- */

.tnl-pixkey {
    padding: 14px 16px 16px;
}

.tnl-pixtypes {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
}

.tnl-pixtype {
    flex: 0 0 calc((100% - 14px) / 3);
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e4d6c2;
    border-radius: 999px;
    background: #fdfbf7;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #8d7a63;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.tnl-pixtype.is-active {
    border-color: var(--tnl-gold-2);
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(176, 139, 87, .24);
}

.tnl-pixkey__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 14px;
    border: 1.5px solid #dcc8ac;
    border-radius: 12px;
    background: #fdfbf7;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.tnl-pixkey__field:focus-within {
    border-color: var(--tnl-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(198, 163, 116, .15);
}

.tnl-pixkey__field svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    color: var(--tnl-gold-2);
}

.tnl-pixkey__field input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--tnl-ink);
}

.tnl-pixkey__field input::placeholder {
    font-weight: 500;
    letter-spacing: 0;
    color: #bcae9d;
}

.tnl-pixkey__hint {
    margin: 9px 2px 0;
    font-size: 11.5px;
    color: var(--tnl-muted);
}

.tnl-pixkey__hint b {
    font-weight: 600;
    color: #8d7a63;
}



/* ---------- popup do grupo do telegram ---------- */

.tnl-tgoverlay {
    background: rgba(22, 15, 7, .62);
    backdrop-filter: blur(3px);
}

.tnl-tgpop {
    width: min(92vw, 352px);
    max-height: 92vh;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(20, 12, 4, .38);
}

.tnl-tgpop.is-open {
    display: block;
    animation: tnlTgIn .36s cubic-bezier(.2, .9, .3, 1.06) both;
}

@keyframes tnlTgIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.tnl-tgpop__hero {
    position: relative;
    height: 128px;
    background: #2a2015;
    overflow: visible;
}

.tnl-tgpop__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    filter: saturate(.85);
}

.tnl-tgpop__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 92% at 50% 120%, rgba(198, 163, 116, .95) 0%, rgba(198, 163, 116, .3) 42%, rgba(20, 13, 6, .1) 72%),
        linear-gradient(180deg, rgba(20, 13, 6, .74) 0%, rgba(20, 13, 6, .22) 52%, rgba(20, 13, 6, .58) 100%);
}

.tnl-tgpop__ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
}

.tnl-tgpop__close {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #6b5945;
    cursor: pointer;
}

.tnl-tgpop__close svg {
    width: 13px;
    height: 13px;
}

.tnl-tgpop__badge {
    position: absolute;
    left: 50%;
    bottom: -30px;
    z-index: 3;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(180deg, #d7b98f 0%, #b78e5b 100%);
    box-shadow: 0 10px 24px rgba(151, 112, 64, .3);
    color: #fff;
}

.tnl-tgpop__badge::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(198, 163, 116, .6);
    border-radius: 50%;
    animation: tnlTgPulse 2.4s ease-out infinite;
}

@keyframes tnlTgPulse {
    0%   { transform: scale(.86); opacity: .9; }
    70%  { transform: scale(1.22); opacity: 0; }
    100% { opacity: 0; }
}

.tnl-tgpop__badge svg {
    width: 30px;
    height: 30px;
}

.tnl-tgpop__body {
    padding: 42px 20px 16px;
    background: #fff;
    text-align: center;
}

.tnl-tgpop__hello {
    margin: 0 0 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tnl-muted);
}

.tnl-tgpop__title {
    margin: 0 0 7px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -.01em;
    color: var(--tnl-ink);
}

.tnl-tgpop__title span {
    background: linear-gradient(180deg, #cbaa7c 0%, #a87f4d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tnl-tgpop__sub {
    margin: 0 0 14px;
    font-size: 11.5px;
    line-height: 1.6;
    color: #7a6955;
}

.tnl-tgpop__list {
    display: grid;
    gap: 9px;
    margin: 0 0 15px;
    padding: 12px 14px;
    list-style: none;
    border: 1px solid #f0e6d8;
    border-radius: 14px;
    background: #fdfbf7;
    text-align: left;
}

.tnl-tgpop__list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #5a4630;
}

.tnl-tgpop__list i {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46, 158, 107, .12);
    color: var(--tnl-green);
}

.tnl-tgpop__list svg {
    width: 10px;
    height: 10px;
}

.tnl-tgpop__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    border-radius: 999px;
    background: linear-gradient(180deg, #cbaa7c 0%, #b78e5b 100%);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(176, 139, 87, .3), inset 0 1px 0 rgba(255, 255, 255, .38);
    overflow: hidden;
}

.tnl-tgpop__cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
    animation: tnlTgShine 3.6s ease-in-out infinite;
}

@keyframes tnlTgShine {
    0%, 55%   { left: -60%; }
    85%, 100% { left: 125%; }
}

.tnl-tgpop__cta svg {
    width: 17px;
    height: 17px;
}

.tnl-tgpop__cta:active {
    transform: translateY(1px);
}

.tnl-tgpop__cta.is-disabled {
    background: #ece2d4;
    color: #8d7d69;
    box-shadow: none;
    pointer-events: none;
}

.tnl-tgpop__alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 42px;
    margin-top: 9px;
    padding: 0 14px;
    border: 1px solid #e6d6bf;
    border-radius: 999px;
    background: #fdfbf7;
    color: #8a6636;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.tnl-tgpop__alt:active {
    background: var(--tnl-gold-soft);
}

.tnl-tgpop__later {
    display: block;
    width: 100%;
    margin-top: 9px;
    padding: 6px;
    border: 0;
    background: transparent;
    color: var(--tnl-muted);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.tnl-tgpop__later:hover {
    color: #7a6955;
}

@media (max-width: 380px) {
    .tnl-tgpop__hero {
        height: 116px;
    }

    .tnl-tgpop__body {
        padding: 40px 16px 14px;
    }

    .tnl-tgpop__title {
        font-size: 16.5px;
    }

    .tnl-tgpop__list {
        padding: 11px 12px;
    }
}

/* ---------- popup de bonus de cadastro ---------- */

.tnl-bpop {
    width: min(92vw, 344px);
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(20, 12, 4, .38);
}

.tnl-bpop.is-open {
    display: block;
    animation: tnlBpIn .4s cubic-bezier(.2, .9, .3, 1.06) both;
}

@keyframes tnlBpIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.88); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.tnl-bpop__hero {
    position: relative;
    height: 118px;
    background:
        radial-gradient(90% 130% at 50% -24%, #f6e8d0 0%, rgba(246, 232, 208, 0) 62%),
        linear-gradient(160deg, #d8bb8f 0%, #c6a374 42%, #a97e4c 100%);
}

.tnl-bpop__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .16) 0 2px, transparent 2px 16px);
    opacity: .45;
}

.tnl-bpop__spark {
    position: absolute;
    z-index: 2;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 10px rgba(255, 255, 255, .85);
    animation: tnlBpTwinkle 2.6s ease-in-out infinite;
}

.tnl-bpop__spark--a { top: 24px; left: 46px; }
.tnl-bpop__spark--b { top: 56px; right: 60px; width: 4px; height: 4px; animation-delay: .7s; }
.tnl-bpop__spark--c { top: 16px; right: 92px; width: 5px; height: 5px; animation-delay: 1.3s; }

@keyframes tnlBpTwinkle {
    0%, 100% { opacity: .18; transform: scale(.8); }
    50%      { opacity: 1; transform: scale(1.15); }
}

.tnl-bpop__close {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 3;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #8a6636;
    cursor: pointer;
}

.tnl-bpop__close svg {
    width: 13px;
    height: 13px;
}

.tnl-bpop__coin {
    position: absolute;
    left: 50%;
    bottom: -32px;
    z-index: 3;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(180deg, #e9d1a8 0%, #bd9159 100%);
    box-shadow: 0 12px 26px rgba(120, 84, 40, .38);
    color: #fff;
}

.tnl-bpop__coin svg {
    width: 34px;
    height: 34px;
}

.tnl-bpop__ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    animation: tnlBpPulse 2.4s ease-out infinite;
}

@keyframes tnlBpPulse {
    0%   { transform: scale(.85); opacity: .85; }
    70%  { transform: scale(1.24); opacity: 0; }
    100% { opacity: 0; }
}

.tnl-bpop__body {
    padding: 44px 20px 16px;
    background: #fff;
    text-align: center;
}

.tnl-bpop__eyebrow {
    margin: 0 0 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tnl-gold-2);
}

.tnl-bpop__title {
    margin: 0 0 8px;
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--tnl-ink);
}

.tnl-bpop__text {
    margin: 0 0 12px;
    font-size: 11.5px;
    line-height: 1.6;
    color: #7a6955;
}

.tnl-bpop__amount {
    margin: 0 0 3px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--tnl-gold-2);
}

.tnl-bpop__hint {
    margin: 0 0 16px;
    font-size: 11.5px;
    font-weight: 600;
    color: #8d7a63;
}

.tnl-bpop__later {
    display: block;
    width: 100%;
    margin-top: 9px;
    padding: 6px;
    border: 0;
    background: transparent;
    color: var(--tnl-muted);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.tnl-bpop__later:hover {
    color: #7a6955;
}

@media (max-width: 380px) {
    .tnl-bpop__hero {
        height: 106px;
    }

    .tnl-bpop__body {
        padding: 42px 16px 14px;
    }

    .tnl-bpop__title {
        font-size: 16px;
    }

    .tnl-bpop__amount {
        font-size: 32px;
    }
}
