/* Turbo Legends UI refresh — loaded AFTER style.css, overrides only the
   lobby, header, footer and auth modals. Game pages (crash, chicken-road,
   ludo, slots) do not load this file, so their layout is untouched. */

:root {
    --tl-bg: #070b14;
    --tl-bg-2: #0e1626;
    --tl-surface: #131c2e;
    --tl-surface-2: #1a2540;
    --tl-line: rgba(255, 255, 255, .09);
    --tl-text: #e9eefb;
    --tl-muted: #8ea3c6;
    --tl-red: #e50539;
    --tl-red-2: #ff2d55;
    --tl-gold: #ffb020;
    --tl-green: #14c46a;
    --tl-radius: 16px;
}

html {
    background: var(--tl-bg);
}

/* background only - inheriting a light text colour here would wash out the
   white panels on profile/withdraw/history */
body.dark-bg-main {
    background: radial-gradient(1200px 600px at 50% -200px, #1b2a4a 0%, var(--tl-bg-2) 45%, var(--tl-bg) 100%) fixed;
    /* short pages (deposit, withdraw) ended mid-screen and left a band of bare
       background under the footer */
    min-height: 100vh;
}

/* Sticky, not flex: a column flex body disables cross-axis stretch on any child
   with margin:0 auto, so .tl-lobby fell back to its min-content width and the
   phone lobby scrolled sideways by 810px. Sticky moves the footer without
   touching how anything is sized, and min-height above gives it room to move. */
body.dark-bg-main > .tl-footer {
    position: sticky;
    top: 100vh;
}

/* ---------- header ---------- */
.header-top {
    background: rgba(9, 14, 24, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tl-line);
    box-shadow: none;
}

.register-btn,
.login-btn,
.deposite-btn {
    height: 38px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.register-btn {
    background: linear-gradient(180deg, var(--tl-red-2), var(--tl-red));
    box-shadow: 0 8px 22px rgba(229, 5, 57, .35);
    color: #fff;
}

.login-btn,
.deposite-btn {
    background: rgba(255, 255, 255, .06);
    border-color: var(--tl-line);
    color: var(--tl-text);
}

.register-btn:hover,
.login-btn:hover,
.deposite-btn:hover {
    transform: translateY(-1px);
    color: #fff;
}

/* ---------- lobby ---------- */
.tl-lobby {
    color: var(--tl-text);
    max-width: 1200px;
    margin: 0 auto;
    /* .header-top is position:fixed and 60px tall */
    padding: 84px 16px 56px;
}

.tl-slider-wrap {
    position: relative;
    border: 1px solid var(--tl-line);
    border-radius: 20px;
    overflow: hidden;
    background: #0b1120;
}

.tl-slide {
    display: block;
    aspect-ratio: 1600 / 740;
}

.tl-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* every banner has an arrow painted on each edge; these invisible strips are what
   actually drives the carousel, so the painted arrows are not decoration */
.tl-slide-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 9%;
    min-width: 54px;
    z-index: 3;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tl-slide-prev {
    left: 0;
}

.tl-slide-next {
    right: 0;
}

.tl-slide-nav:hover {
    background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent);
}

.tl-slide-next:hover {
    background: linear-gradient(270deg, rgba(0, 0, 0, .35), transparent);
}

.tl-slider .owl-dots {
    /* below the artwork, not on top of it - every banner has a busy bottom strip */
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.tl-slider .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 0 4px rgba(0, 0, 0, .6);
}

.tl-slider .owl-dot.active span {
    width: 22px;
    border-radius: 999px;
    background: var(--tl-red-2);
}

.tl-hero-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 18px 22px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    background: linear-gradient(160deg, #16203a, #0b1120);
}

.tl-hero-bar p {
    color: var(--tl-muted);
    font-size: 14px;
    max-width: 520px;
    margin: 10px 0 0;
}

.tl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 176, 32, .35);
    background: rgba(255, 176, 32, .10);
    color: var(--tl-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tl-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.tl-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.tl-btn-primary {
    background: linear-gradient(180deg, var(--tl-red-2), var(--tl-red));
    box-shadow: 0 10px 26px rgba(229, 5, 57, .38);
}

.tl-btn-ghost {
    background: rgba(255, 255, 255, .06);
    border-color: var(--tl-line);
}

.tl-btn-block {
    width: 100%;
}

.tl-balance {
    margin-left: 4px;
    color: var(--tl-muted);
    font-size: 14px;
}

.tl-balance b {
    color: var(--tl-green);
    font-size: 18px;
}

/* ---------- game grid ---------- */
.tl-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 48px 4px 18px;
}

.tl-section-head h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.tl-section-head span {
    color: var(--tl-muted);
    font-size: 14px;
}

.tl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
    gap: 20px;
}

.tl-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    background: linear-gradient(180deg, var(--tl-surface-2), var(--tl-surface));
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.tl-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 5, 57, .45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

/* Slot tiles — warmer frame + shine so they stand out in the lobby grid */
.tl-card--slot {
    border-color: rgba(255, 176, 32, .28);
    background: linear-gradient(165deg, #1c2438 0%, #121a2c 55%, #0e1422 100%);
}

.tl-card--slot:hover {
    border-color: rgba(255, 176, 32, .55);
    box-shadow: 0 18px 42px rgba(255, 140, 20, .18), 0 12px 32px rgba(0, 0, 0, .55);
}

.tl-card--egypt:hover {
    border-color: rgba(255, 186, 60, .6);
    box-shadow: 0 18px 42px rgba(255, 160, 40, .22), 0 12px 32px rgba(0, 0, 0, .55);
}

.tl-card--glamour {
    border-color: rgba(255, 60, 140, .28);
}

.tl-card--glamour:hover {
    border-color: rgba(255, 80, 160, .6);
    box-shadow: 0 18px 42px rgba(255, 40, 120, .22), 0 12px 32px rgba(0, 0, 0, .55);
}

.tl-card--slot .tl-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 255, 255, .18) 0%, transparent 42%, transparent 58%, rgba(0, 0, 0, .25) 100%);
    opacity: .55;
    transition: opacity .2s;
}

.tl-card--slot:hover .tl-card-media::after {
    opacity: .85;
}

.tl-card--slot .tl-card-media img {
    transform: scale(1.02);
    transition: transform .35s ease;
}

.tl-card--slot:hover .tl-card-media img {
    transform: scale(1.08);
}

.tl-card--egypt .tl-tag {
    color: #ffd27a;
    border-color: rgba(255, 186, 60, .35);
}

.tl-card--glamour .tl-tag {
    color: #ff9ec8;
    border-color: rgba(255, 90, 160, .4);
}

.tl-card--slot .tl-btn-primary {
    background: linear-gradient(180deg, #ffb020, #e50539);
    box-shadow: 0 10px 26px rgba(229, 5, 57, .32);
}

.tl-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0b1120;
}

/* absolute so a tall source image cannot stretch the card */
.tl-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tl-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(7, 11, 20, .78);
    border: 1px solid var(--tl-line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tl-gold);
}

/* sits on the other corner: these games play for fun coins, not the wallet */
.tl-tag-demo {
    left: auto;
    right: 12px;
    color: var(--tl-text);
    border-color: rgba(255, 255, 255, .28);
}

.tl-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 18px;
    flex: 1;
}

.tl-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.tl-card-body p {
    color: var(--tl-muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 14px;
    flex: 1;
}

/* ---------- auth modals ---------- */
.l-modal .modal-content {
    background: linear-gradient(180deg, #16203a, #0d1424);
    border: 1px solid var(--tl-line);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
    color: var(--tl-text);
    overflow: hidden;
}

.l-modal .login-header {
    background: transparent;
    border-bottom: 1px solid var(--tl-line);
    padding: 20px 24px;
    color: var(--tl-text);
}

.l-modal .login-header .modal-title {
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--tl-text);
}

.l-modal .login-header .material-symbols-outlined {
    color: var(--tl-red-2);
}

.l-modal .modal-body {
    padding: 22px 24px 8px;
}

.l-modal .login-controls {
    background-image: none;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--tl-line);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: border-color .15s, background .15s;
}

.l-modal .login-controls:focus-within {
    border-color: var(--tl-red-2);
    background: rgba(255, 255, 255, .07);
}

.l-modal .login-controls label {
    border: none;
    padding: 4px 6px;
}

.l-modal .login-controls label input {
    color: var(--tl-text);
}

.l-modal .login-controls label input::placeholder {
    color: #6d81a4;
}

.l-modal .checkforlogin {
    color: var(--tl-muted);
}

.l-modal .form-control,
.register-modal-popup .form-control,
.register-modal-popup .form-select {
    background: transparent;
    border: none;
    color: var(--tl-text);
    box-shadow: none;
}

.l-modal .form-control::placeholder,
.register-modal-popup .form-control::placeholder {
    color: #6d81a4;
}

.l-modal .input-ico {
    color: var(--tl-muted);
}

.l-modal .link-text {
    color: var(--tl-muted);
}

.l-modal .link-text:hover {
    color: var(--tl-red-2);
}

.l-modal .login-footer {
    background: rgba(255, 255, 255, .03);
    border-top: 1px solid var(--tl-line);
    padding: 16px 24px 20px;
}

.l-modal .login-footer h4 {
    color: var(--tl-muted);
}

.green-btn,
.orange-btn {
    border: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    transition: transform .15s, box-shadow .15s;
}

.green-btn {
    background: linear-gradient(180deg, #19d979, #0fa456);
    box-shadow: 0 10px 24px rgba(20, 196, 106, .32);
}

.orange-btn {
    background: linear-gradient(180deg, var(--tl-red-2), var(--tl-red));
    box-shadow: 0 10px 24px rgba(229, 5, 57, .34);
}

.green-btn:hover,
.orange-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* register popup: drop the floating dice/chip/ball props and the lone tab */
.register-modal-popup .modal-ico {
    display: none;
}

.register-modal-popup .modal-content {
    background: linear-gradient(180deg, #16203a, #0d1424);
}

.register-modal-popup .custom-header {
    background: transparent;
    border-bottom: 1px solid var(--tl-line);
}

.register-modal-popup .register-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .08em;
}

.register-modal-popup .nav-tabs {
    border: none;
}

.register-modal-popup .nav-tabs .nav-link {
    color: var(--tl-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
}

.register-modal-popup .nav-tabs .nav-link.active {
    color: var(--tl-gold);
    background: transparent;
    border-bottom-color: var(--tl-gold);
}

.register-modal-popup .input-group {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--tl-line);
    border-radius: 12px;
    overflow: hidden;
}

.register-modal-popup .input-group:focus-within {
    border-color: var(--tl-red-2);
}

.register-modal-popup .input-group-text {
    background: transparent;
    border: none;
    color: var(--tl-muted);
}

.register-modal-popup .checks-bg {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--tl-line);
    border-radius: 12px;
}

@media (max-width: 767px) {
    .tl-hero-bar {
        padding: 14px 16px;
    }

    .tl-slide-nav {
        width: 14%;
    }

    .tl-lobby {
        padding: 76px 12px 40px;
    }

    .tl-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .tl-card-body {
        padding: 12px;
    }

    .tl-card-body p {
        display: none;
    }
}

/* register popup: flatten the leftover blue panels + drop the single-tab bar */
.register-modal-popup .modal-body,
.register-modal-popup .register-tabs,
.register-modal-popup .tab-content,
.register-modal-popup .register-form {
    background: transparent;
}

.register-modal-popup .custom-header .register-tabs {
    display: none;
}

.register-modal-popup .pa-40 {
    padding: 32px 32px 24px;
}

.register-form .input-group {
    border: 1px solid var(--tl-line);
}

.register-form .input-group.promocode input::placeholder,
.register-form .input-group input::placeholder {
    color: #6d81a4;
    font-weight: 500;
}

.register-form .input-group input,
.register-form .input-group select {
    color: var(--tl-text) !important;
}

.register-modal-popup .checks-bg label,
.register-modal-popup .checks-bg a {
    color: var(--tl-muted);
}

/* ---------- login / register: one size for every auth dialog ---------- */
.l-modal .modal-dialog {
    max-width: 440px;
}

.l-modal .modal-content {
    /* keeps LOGIN, FORGOT, RESET and REGISTER the same box instead of jumping
       from a 320px card to a 700px one */
    min-height: min(630px, 88vh);
    max-height: 92vh;
}

.l-modal .modal-body {
    /* the short forms get centred in the shared box instead of leaving a hole */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.l-modal .login-footer {
    margin-top: auto;
}

/* chrome paints autofilled fields white, which is unreadable on the dark form.
   .register-form is here too: /register renders the same form as a bare page,
   outside any .l-modal, and was left with white email/password boxes. */
.l-modal input:-webkit-autofill,
.l-modal input:-webkit-autofill:focus,
.register-form input:-webkit-autofill,
.register-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--tl-text);
    -webkit-box-shadow: inset 0 0 0 1000px var(--tl-surface-2);
    caret-color: var(--tl-text);
}

/* ---------- info pages ---------- */
.tl-crumb {
    font-size: 13px;
    color: var(--tl-muted);
    margin-bottom: 14px;
}

.tl-crumb a {
    color: var(--tl-muted);
    text-decoration: none;
}

.tl-crumb a:hover {
    color: var(--tl-text);
}

.tl-crumb span {
    margin: 0 6px;
    opacity: .5;
}

.tl-doc h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 10px;
}

.tl-doc-lead {
    color: var(--tl-muted);
    font-size: 17px;
    max-width: 680px;
    margin: 0 0 28px;
}

.tl-doc-body {
    display: block;
    max-width: 780px;
    padding: 28px 30px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    background: var(--tl-surface);
}

.tl-doc-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--tl-gold);
    margin: 28px 0 10px;
}

.tl-doc-body h3:first-child {
    margin-top: 0;
}

.tl-doc-body p,
.tl-doc-body li {
    color: #c3d0e8;
    font-size: 15px;
    line-height: 1.65;
}

.tl-doc-body ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.tl-doc-body li {
    margin-bottom: 6px;
}

.tl-doc-body a {
    color: var(--tl-red-2);
}

/* FAQ uses <details>, no accordion script needed */
.tl-doc-body details {
    border-bottom: 1px solid var(--tl-line);
    padding: 14px 0;
}

.tl-doc-body details:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.tl-doc-body summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: var(--tl-text);
    list-style: none;
}

.tl-doc-body summary::-webkit-details-marker {
    display: none;
}

.tl-doc-body summary::after {
    content: "+";
    float: right;
    color: var(--tl-red-2);
    font-size: 20px;
    line-height: 1;
}

.tl-doc-body details[open] summary::after {
    content: "\2013";
}

.tl-doc-body details p {
    margin: 10px 0 0;
}

.tl-doc-more {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tl-doc-more a {
    padding: 8px 16px;
    border: 1px solid var(--tl-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--tl-muted);
    font-size: 13px;
    text-decoration: none;
}

.tl-doc-more a:hover {
    color: var(--tl-text);
    border-color: var(--tl-red-2);
}

@media (max-width: 767px) {
    .tl-doc h1 {
        font-size: 27px;
    }

    .tl-doc-body {
        padding: 18px 16px;
    }
}

/* ================= footer =================
   The vendor footer stacked three space-between rows, so on a wide screen the
   logo and the socials sat in one corner with a hole beside them. One grid, and
   the brand block gets a neighbour: the games and company columns. */
.tl-footer {
    display: block;
    position: relative;
    background: linear-gradient(180deg, #0a1020, #070b14);
    border-top: 1px solid var(--tl-line);
    color: var(--tl-text);
}

/* hairline that ties the footer back to the header accent */
.tl-footer::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tl-red), var(--tl-gold), transparent);
    opacity: .5;
}

.tl-foot-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.tl-footer .footer-logo {
    display: inline-block;
}

.tl-footer .footer-logo .logo1 {
    width: auto;
    max-width: none;
    height: 44px;
    border-radius: 10px;
}

.tl-foot-tag {
    margin: 14px 0 18px;
    max-width: 42ch;
    color: var(--tl-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* --- socials: one round button each, monochrome until hovered --- */
.tl-socials {
    display: flex;
    gap: 10px;
}

.tl-footer .footer-icon_monocolor {
    /* solid, not translucent: youtube's glyph needs a colour to punch out of */
    --tl-social-bg: #171f31;
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tl-social-bg);
    border: 1px solid var(--tl-line);
    color: var(--tl-muted);
    transition: color .18s, background .18s, border-color .18s, transform .18s;
}

.tl-footer .footer-icon_monocolor svg {
    width: 17px;
    height: 17px;
}

/* the vendor SVGs hardcode brand blues as fill attributes; a CSS property
   outranks a presentation attribute, so one rule greys the whole row */
.tl-footer .footer-icon_monocolor svg path,
.tl-footer .footer-icon_monocolor svg path[fill="#1183d3"] {
    fill: currentColor;
}

/* youtube is the one two-path glyph: the play arrow is drawn over the body,
   so it has to be painted in the button colour to read as a cut-out */
.tl-footer .footer-icon_monocolor svg path[fill="#04386e"] {
    fill: var(--tl-social-bg);
}

.tl-footer .footer-icon_monocolor:hover {
    --tl-social-bg: #3a1220;
    color: #fff;
    border-color: rgba(229, 5, 57, .55);
    transform: translateY(-2px);
}

/* --- link columns --- */
.tl-foot-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.tl-foot-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tl-foot-col h6 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tl-gold);
}

.tl-foot-col a {
    width: fit-content;
    color: var(--tl-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color .15s, transform .15s;
}

.tl-foot-col a:hover {
    color: var(--tl-text);
    transform: translateX(3px);
}

/* --- payment strip --- */
.footer-highlight.providers {
    margin: 0;
    padding: 18px 16px;
    background: rgba(255, 255, 255, .025) !important;
    border-top: 1px solid var(--tl-line);
    border-bottom: 1px solid var(--tl-line);
    border-radius: 0;
}

.tl-footer .providers-icons {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tl-footer .providers .footer-icon {
    flex: 0 1 auto;
    height: 24px;
    opacity: .8;
    transition: opacity .18s, transform .18s;
}

.tl-footer .providers .footer-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* --- legal line --- */
.tl-foot-legal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--tl-muted);
    font-size: 12.5px;
}

.tl-age-badge {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(229, 5, 57, .6);
    color: var(--tl-red-2);
    font-weight: 700;
    font-size: 12px;
}

.tl-foot-copy {
    margin-left: auto;
}

@media (max-width: 767px) {
    .tl-foot-main {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 16px 24px;
    }

    .tl-footer .providers-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 28px;
    }

    .tl-foot-copy {
        margin-left: 0;
    }
}

/* ================= account menu (hamburger) ================= */
.tl-burger {
    width: 42px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--tl-line);
    transition: background .15s, border-color .15s;
}

.tl-burger:hover,
.tl-burger.show {
    background: rgba(229, 5, 57, .18);
    border-color: rgba(229, 5, 57, .5);
}

.tl-burger .menu-icon {
    color: var(--tl-text);
    transition: transform .2s;
}

.tl-burger.show .menu-icon {
    transform: rotate(90deg);
}

.profile-dropdown {
    min-width: 288px;
    margin-top: 10px;
    padding: 8px 0 !important;
    background: linear-gradient(180deg, var(--tl-surface-2), var(--tl-surface));
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    /* a 13-row menu on a short phone has to scroll inside itself */
    max-height: min(78vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.profile-dropdown::-webkit-scrollbar {
    width: 6px;
}

.profile-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
}

/* the vendor sheet drew a divider on every row; the sections carry the rhythm */
.profile-dropdown li {
    border-top: 0;
}

.profile-dropdown li.profile-head,
.profile-dropdown li.profile-head:hover {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -8px 0 8px;
    padding: 16px 16px 14px;
    background: linear-gradient(135deg, rgba(229, 5, 57, .22), rgba(255, 176, 32, .1)) !important;
    border-bottom: 1px solid var(--tl-line);
}

.profile-head .avtar-ico {
    margin: 0;
    border: 2px solid rgba(255, 255, 255, .25);
}

.tl-profile-meta {
    min-width: 0;
}

.profile-head .profile-name {
    font-size: 13.5px;
    line-height: 1.3;
    /* emails run long and the panel is 288px wide */
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tl-profile-id {
    margin-top: 3px;
    font-size: 11.5px;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .6);
}

.tl-profile-id span {
    color: var(--tl-gold);
    font-weight: 600;
}

.tl-menu-wallet {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .3);
    border: 1px solid var(--tl-line);
    border-radius: 12px;
}

.tl-menu-wallet-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--tl-muted);
}

.tl-menu-wallet-amt {
    font-size: 15px;
    font-weight: 700;
    color: var(--tl-green);
}

.tl-menu-topup {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--tl-red-2), var(--tl-red));
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
}

.tl-menu-topup:hover {
    filter: brightness(1.1);
}

.tl-menu-sec {
    padding: 12px 16px 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tl-muted);
}

.profile-dropdown li a.tl-mi {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 8px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--tl-text);
    font-size: 13.5px;
    font-weight: 500;
    transition: background .14s, color .14s;
}

.tl-mi .ico {
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
    color: var(--tl-muted);
    font-size: 18px;
    transition: background .14s, color .14s;
}

.profile-dropdown li a.tl-mi:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.profile-dropdown li a.tl-mi:hover .ico {
    background: rgba(229, 5, 57, .22);
    color: var(--tl-red-2);
}

.tl-mi.tl-mi-danger {
    margin-top: 8px;
    color: #ff8a97;
}

.tl-mi.tl-mi-danger .ico {
    background: rgba(229, 5, 57, .14);
    color: #ff8a97;
}

/* the vendor rule painted the whole li on hover, including the header row */
.profile-dropdown li:hover,
.tl-menu-sec:hover {
    background: transparent;
}

/* ================= wallet: deposit / withdraw =================
   The vendor sheet painted this page for a light theme - white cards, #09519e
   text, a #DDE4EC grid - which read as a hole punched in the dark site. Same
   markup, dark surfaces. Vendor logos keep their own colours on a white chip,
   because a UPI or Net Banking mark inverted stops being that brand's mark. */
.tl-wallet {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    /* .header-top is position:fixed and 60px tall */
    padding: 88px 16px 56px;
    color: var(--tl-text);
}

.tl-wallet-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tl-wallet-head h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 4px;
}

.tl-wallet-bal {
    font-size: 13.5px;
    color: var(--tl-muted);
}

.tl-wallet-bal b {
    color: var(--tl-green);
    font-weight: 700;
}

/* --- deposit / withdraw switch: one pill, two segments --- */
.pay-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    border: 1px solid var(--tl-line);
    border-radius: 999px;
    background: rgba(0, 0, 0, .3);
}

.custom-tabs-link {
    flex: 1;
    margin: 0;
    padding: 10px 0;
    border-radius: 999px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--tl-muted);
    text-decoration: none;
    transition: background .16s, color .16s;
}

.custom-tabs-link:hover {
    color: var(--tl-text);
    background: rgba(255, 255, 255, .05);
}

.custom-tabs-link.active,
.custom-tabs-link.active:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--tl-red-2), var(--tl-red));
    box-shadow: 0 6px 18px rgba(229, 5, 57, .32);
}

/* the vendor underline is what the pill replaces */
.custom-tabs-link.active:after {
    display: none;
}

/* --- method tiles --- */
.grid-view {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 138px;
    align-items: stretch;
    grid-gap: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.tl-wallet-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tl-wallet-mobile-back {
    display: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--tl-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    color: var(--tl-text);
}

.tl-wallet-mobile-back .material-symbols-outlined {
    font-size: 18px;
}

.tl-test-mode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #83dcb8;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: .035em;
}

.tl-test-mode > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tl-green);
    box-shadow: 0 0 0 4px rgba(20, 196, 106, .1);
}

.grid-list {
    min-width: 0;
    height: 100%;
}

.payment-btn {
    height: 100%;
    gap: 10px;
    justify-content: center;
    padding: 14px 12px 12px;
    border: 1px solid var(--tl-line);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(27, 38, 62, .96), rgba(16, 24, 40, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 12px 30px rgba(0, 6, 18, .18);
    color: var(--tl-text);
    overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
}

.payment-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .24);
    background: linear-gradient(155deg, rgba(31, 44, 72, .98), rgba(18, 27, 46, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 34px rgba(0, 6, 18, .28);
}

.payment-btn:active {
    transform: translateY(0) scale(.985);
}

.payment-btn:focus-visible,
.wallet-pay-btn:focus-visible,
.deposit-primary-btn:focus-visible {
    outline: 3px solid rgba(255, 45, 85, .35);
    outline-offset: 3px;
}

.payment-btn.active {
    filter: none;
    border: 1px solid rgba(255, 45, 85, .88);
    background: linear-gradient(155deg, rgba(44, 35, 57, .98), rgba(25, 25, 43, .98));
    box-shadow: inset 0 0 0 1px rgba(255, 45, 85, .14), 0 12px 32px rgba(229, 5, 57, .2);
}

.payment-btn--soon,
.payment-btn--soon:hover,
.payment-btn--soon:active {
    cursor: not-allowed;
    opacity: 1;
    transform: none;
    border-color: var(--tl-line);
    background: linear-gradient(155deg, rgba(27, 38, 62, .72), rgba(16, 24, 40, .78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.payment-btn--soon .payment-mark {
    opacity: .72;
}

.payment-copy .payment-status {
    display: inline-flex;
    padding: 4px 8px;
    border: 1px solid rgba(255, 176, 32, .28);
    border-radius: 999px;
    background: rgba(255, 176, 32, .08);
    color: var(--tl-gold);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

/* Payment brands are kept on a small white chip so their official colours stay
   readable without turning the whole method card into a bright rectangle. */
.payment-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 52px;
    flex: 0 0 52px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(0, 6, 18, .2);
}

.payment-mark img,
.payment-btn .payment-mark img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.payment-mark--usdt,
.deposit-entry-icon--usdt {
    border-color: rgba(38, 189, 153, .42);
    background: linear-gradient(145deg, #2bc6a0, #159477);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.payment-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    line-height: 1.15;
}

.payment-copy strong {
    color: #f7f9ff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.payment-copy small {
    color: var(--tl-muted);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.25;
    text-wrap: balance;
}

.PaymentCard_limit {
    position: static;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tl-muted);
}

/* --- amount panel --- */
.deposite-box .d-box {
    margin: 16px 0 0;
    padding: 20px;
    border: 1px solid var(--tl-line);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(25, 35, 57, .98), rgba(13, 20, 34, .99));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 20px 45px rgba(0, 6, 18, .22);
}

.deposit-entry-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.deposit-entry-card::before {
    position: absolute;
    inset: -90px -90px auto auto;
    z-index: -1;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(229, 5, 57, .1);
    filter: blur(8px);
    content: '';
}

.deposit-entry-card--crypto::before {
    background: rgba(38, 189, 153, .15);
}

.deposit-entry-card--upi::before {
    background: rgba(255, 176, 32, .12);
}

.deposit-entry-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: -2px 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--tl-line);
}

.deposit-entry-head > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.deposit-entry-head small {
    color: var(--tl-muted);
    font-size: 12px;
    font-weight: 500;
}

.deposit-entry-head strong {
    color: #f8faff;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.02em;
}

.deposit-entry-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 6, 18, .24);
}

.deposit-entry-icon.deposit-entry-icon--usdt {
    border: 1px solid rgba(38, 189, 153, .42);
    background: linear-gradient(145deg, #2bc6a0, #159477);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.deposit-entry-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.deposit-entry-icon--wallet {
    background: linear-gradient(145deg, #ff4168, #d9083f);
    color: #fff;
}

.deposit-entry-icon--wallet .material-symbols-outlined {
    font-size: 26px;
}

.deposit-entry-badge {
    padding: 6px 9px;
    border: 1px solid var(--tl-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    color: var(--tl-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.limit-txt {
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--tl-muted);
}

.limit-txt span {
    color: var(--tl-gold);
}

/* .row lives outside a .container here, so its gutter margins would pull the
   input past the panel padding */
.deposite-box .row {
    margin-left: 0;
    margin-right: 0;
}

.deposite-container .login-controls {
    background-image: none;
    background: rgba(0, 0, 0, .3);
    border: 1px solid var(--tl-line);
    border-radius: 12px;
    transition: border-color .15s;
}

.deposite-box .login-controls {
    height: 50px;
    border-radius: 13px;
}

.deposite-container .login-controls:focus-within {
    border-color: var(--tl-red-2);
}

.deposite-container .login-controls label {
    border: none;
    width: 100%;
}

.deposite-container .form-control {
    background: transparent;
    border: none;
    color: var(--tl-text);
    font-weight: 600;
    box-shadow: none;
    font-variant-numeric: tabular-nums;
}

.deposite-container .Input_currency {
    color: var(--tl-muted);
}

.amount-tooltips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    min-height: 0;
    margin-top: 14px;
}

.amount-tooltips-btn {
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0 6px;
    border: 1px solid var(--tl-line);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .04);
    font-size: 13px;
    font-weight: 600;
    color: var(--tl-muted);
}

.deposit-primary-btn {
    min-height: 50px;
    justify-content: center;
    border-radius: 13px;
    text-transform: none;
    font-size: 14px;
    letter-spacing: .01em;
}

.wallet-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}

.wallet-pay-btn {
    display: flex;
    min-width: 0;
    height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 9px 24px rgba(0, 6, 18, .2);
    color: #30384a;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.wallet-pay-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 45, 85, .38);
    box-shadow: 0 13px 28px rgba(0, 6, 18, .3);
}

.wallet-pay-btn:active {
    transform: translateY(0) scale(.985);
}

.wallet-pay-btn:disabled,
.deposit-primary-btn:disabled {
    cursor: wait;
    opacity: .62;
    transform: none;
}

.wallet-pay-btn.is-loading,
.deposit-primary-btn.is-loading {
    animation: tl-payment-pulse 1s ease-in-out infinite alternate;
}

@keyframes tl-payment-pulse {
    to { opacity: .4; }
}

.wallet-pay-btn img {
    width: 82%;
    max-width: 86px;
    height: 30px;
    object-fit: contain;
}

.payment-mark img[src$="phone_pe_mt.svg"],
.wallet-pay-btn img[src$="phone_pe_mt.svg"] {
    transform: scale(1.28);
}

.wallet-pay-btn span {
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
}

.wallet-pay-note {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 11px;
}

.wallet-pay-note .material-symbols-outlined {
    color: var(--tl-green);
    font-size: 16px;
}

/* Local payment confirmation: mirrors the Google Pay test sheet while keeping
   fake payments entirely inside the local environment. */
body.tl-test-pay-open {
    overflow: hidden;
}

.tl-test-pay-sheet {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
}

.tl-test-pay-sheet.is-open {
    visibility: visible;
    opacity: 1;
}

.tl-test-pay-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(2, 6, 14, .76);
    backdrop-filter: blur(5px);
}

.tl-test-pay-dialog {
    position: relative;
    width: min(100%, 510px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
    color: #252a34;
    transform: translateY(14px) scale(.985);
    transition: transform .22s ease;
}

.tl-test-pay-sheet.is-open .tl-test-pay-dialog {
    transform: translateY(0) scale(1);
}

.tl-test-pay-header {
    display: flex;
    height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e4e7ec;
}

.tl-test-pay-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3c4043;
    font-size: 20px;
    font-weight: 600;
}

.tl-google-g {
    color: #4285f4;
    font-size: 24px;
    font-weight: 800;
}

.tl-test-pay-close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid #d7dce3;
    border-radius: 50%;
    background: #fff;
    color: #667085;
}

.tl-test-pay-close .material-symbols-outlined {
    font-size: 19px;
}

.tl-test-pay-body {
    padding: 20px;
}

.tl-test-card-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 14px;
    background: #edf2fa;
}

.tl-test-card-row > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.tl-test-card-row strong {
    font-size: 14px;
    font-weight: 650;
}

.tl-test-card-row small {
    color: #667085;
    font-size: 12px;
}

.tl-test-visa {
    display: grid;
    height: 34px;
    place-items: center;
    border: 1px solid #cad2df;
    border-radius: 5px;
    background: #fff;
    color: #1a36a8;
    font-size: 16px;
    font-style: italic;
    font-weight: 800;
}

.tl-test-card-row > .material-symbols-outlined {
    color: #717784;
    font-size: 21px;
}

.tl-test-pay-warning {
    margin: 14px 2px 19px;
    color: #c34035;
    font-size: 11px;
    line-height: 1.45;
}

.tl-test-pay-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 4px 17px;
    color: #4e5561;
    font-size: 13px;
}

.tl-test-pay-summary strong {
    color: #20242c;
    font-size: 24px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.tl-test-pay-actions {
    display: grid;
    grid-template-columns: minmax(90px, .34fr) 1fr;
    gap: 9px;
}

.tl-test-pay-actions button {
    height: 44px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 650;
    transition: transform .16s, background .16s;
}

.tl-test-pay-actions button:active {
    transform: scale(.985);
}

.tl-test-pay-cancel {
    border: 1px solid #d4d8df;
    background: #fff;
    color: #4e5968;
}

.tl-test-pay-confirm {
    border: 0;
    background: #1769e0;
    color: #fff;
}

.tl-test-pay-confirm:hover {
    background: #0d5dcc;
}

.tl-test-pay-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 12px 0 0;
    color: #7a8492;
    font-size: 10.5px;
}

.tl-test-pay-secure .material-symbols-outlined {
    color: #1877d3;
    font-size: 15px;
}

.amount-tooltips-btn:hover {
    color: var(--tl-text);
    background-color: rgba(255, 255, 255, .09);
}

.amount-tooltips-btn.active,
.amount-tooltips-btn.active:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(180deg, var(--tl-red-2), var(--tl-red));
}

.deposite-blc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--tl-line);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tl-muted);
}

.dopsite-vlue {
    margin-top: 0;
    color: var(--tl-gold);
    font-weight: 700;
}

/* --- step 2: transfer details + confirmation form --- */
.form-back {
    width: max-content;
    margin-bottom: 14px;
    padding: 7px 14px 7px 8px;
    border: 1px solid var(--tl-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: 12.5px;
    letter-spacing: .08em;
    color: var(--tl-muted);
}

.form-back:hover {
    color: var(--tl-text);
    border-color: var(--tl-red-2);
}

.form-back span {
    color: var(--tl-red-2);
}

.white-box {
    padding: 18px;
    border: 1px solid var(--tl-line);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(24, 34, 56, .98), rgba(14, 21, 36, .99));
    color: var(--tl-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 40px rgba(0, 6, 18, .18);
}

.deposit-transfer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--tl-line);
    color: #f7f9ff;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}

.deposit-transfer-head > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--tl-green);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.deposit-transfer-head .material-symbols-outlined {
    font-size: 14px;
}

.deposit-transfer-copy {
    max-width: 48ch;
    margin: 10px auto 16px;
    color: var(--tl-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    text-wrap: pretty;
}

#payment_rails_list > .d-flex {
    gap: 12px;
    margin: 0 !important;
    padding: 11px 0;
    border-top: 1px solid var(--tl-line);
    text-align: left;
}

#payment_rails_list > .d-flex:first-of-type {
    border-top: 0;
}

#payment_rails_list .copy_rail {
    min-width: 0;
    justify-content: flex-end;
    color: var(--tl-text);
}

#payment_rails_list .copy_rail > span:last-child {
    overflow-wrap: anywhere;
}

/* bootstrap's ink utilities are all over this markup and every one of them
   would be dark-on-dark now */
.pay-static-form .text-dark,
.pay-static-form h5,
.l-modal .text-dark {
    color: var(--tl-text) !important;
}

.pay-static-form .text-muted,
.pay-static-form .text-secondary,
.l-modal .text-muted,
.l-modal .text-secondary,
.l-modal .form-label {
    color: var(--tl-muted) !important;
}

/* the "edit amount" pencil is a bare .btn-transparent, i.e. ink-coloured */
.white-box .btn-transparent .material-symbols-outlined {
    color: var(--tl-muted);
}

.white-box .btn-transparent:hover .material-symbols-outlined {
    color: var(--tl-red-2);
}

/* nothing in either sheet gave validation text a colour */
.deposite-container label.error,
.l-modal label.error {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tl-red-2);
}

.pay-static-form .col-form-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .06em;
}

.white-box .link-text {
    color: var(--tl-red-2);
    font-weight: 600;
}

.tl-proof-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.tl-proof-picker {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: var(--tl-text);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.tl-proof-picker--camera {
    border-color: rgba(255, 45, 85, .34);
    background: rgba(255, 45, 85, .1);
}

.tl-proof-picker .material-symbols-outlined {
    font-size: 20px;
}

.tl-proof-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.tl-proof-status {
    min-height: 18px;
    margin-top: 5px;
    color: var(--tl-muted);
    font-size: 11.5px;
}

.tl-proof-status.is-ready {
    color: var(--tl-green);
}

.tl-proof-status.is-error {
    color: #ff7188;
}

.tl-proof-hint {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--tl-muted);
}

/* --- withdraw modal --- */
/* a centred column of eight labelled fields is hard to scan, and .text-center
   on the form is a bootstrap !important - the labels have to opt out themselves */
/* the balance line is help text wearing a .form-label class */
#withdraw-modal .form-label.text-secondary {
    margin: 6px 0 0;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

#withdraw-modal .form-label {
    display: block;
    margin: 14px 0 6px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* red is money in, gold is money out - keep them apart, but on theme */
#withdraw-modal .yellow-btn {
    background: linear-gradient(180deg, var(--tl-gold), #e08d00);
    border: none;
    color: #1a1206;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(255, 176, 32, .3);
}

.barcode-img {
    width: 190px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

.copy_owner_details {
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
}

.copy_owner_details:hover .material-symbols-outlined {
    color: var(--tl-red-2) !important;
}

/* the dark close glyph the vendor sheet sets is invisible on a dark header */
.l-modal .absolute-btn.text-dark {
    color: var(--tl-red-2) !important;
}

@media (max-width: 767px) {
    .tl-wallet {
        padding: 76px 14px 40px;
    }

    .tl-wallet-head h1 {
        font-size: 22px;
    }

    .tl-wallet-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .tl-wallet--method-open .tl-wallet-head {
        width: 100%;
        margin-bottom: 18px;
    }

    .tl-wallet--method-open .tl-wallet-head > div:first-child,
    .tl-wallet--method-open .tl-wallet-title-row {
        width: 100%;
    }

    .tl-wallet--method-open .tl-wallet-title-row h1 {
        flex: 1;
        margin: 0;
        padding-right: 36px;
        text-align: center;
        text-wrap: balance;
    }

    .tl-wallet--method-open .tl-wallet-mobile-back {
        display: grid;
        place-items: center;
        flex: 0 0 36px;
    }

    .tl-wallet--method-open .tl-test-mode,
    .tl-wallet--method-open .tl-wallet-bal,
    .tl-wallet--method-open .pay-tabs,
    .tl-wallet--method-open .grid-view {
        display: none;
    }

    .tl-wallet--method-open .deposite-box .d-box {
        margin-top: 0;
    }

    .grid-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 132px;
        gap: 10px;
    }

    .payment-btn {
        padding: 13px 9px 11px;
    }

    .payment-mark {
        width: 54px;
        height: 48px;
        flex-basis: 48px;
    }

    .payment-copy strong {
        font-size: 13px;
    }

    .payment-copy small {
        font-size: 9.8px;
    }

    .deposite-box .d-box {
        padding: 17px;
        border-radius: 19px;
    }

    .wallet-pay-grid {
        gap: 7px;
    }

    .wallet-pay-btn {
        height: 82px;
        padding-inline: 5px;
    }

    .wallet-pay-btn img {
        max-width: 74px;
    }

    .wallet-pay-btn span {
        font-size: 9.5px;
    }

    .tl-test-pay-sheet {
        align-items: end;
        padding: 10px;
    }

    .tl-test-pay-dialog {
        border-radius: 22px 22px 16px 16px;
    }

    .tl-test-pay-header {
        height: 58px;
        padding-inline: 17px;
    }

    .tl-test-pay-body {
        padding: 16px;
    }

    .tl-test-pay-summary strong {
        font-size: 22px;
    }
}

/* /register and /referal render the form as a bare page instead of the modal,
   so it carries its own width. w-75 / w-25 are viewport percentages: on a
   375px phone the referral form was a 94px column. */
.register-form.tl-page-form {
    width: 100%;
    max-width: 560px;
    margin: 100px auto 0;
    padding: 0 16px;
}

@media (max-width: 767px) {
    .register-form.tl-page-form {
        margin-top: 84px;
    }

    }

/* ---------- invite & earn ---------- */
.tl-ref-card {
    padding: 20px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    background: linear-gradient(180deg, var(--tl-surface-2), var(--tl-surface));
}

.tl-ref-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tl-muted);
}

.tl-ref-code,
.tl-ref-url {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--tl-line);
    border-radius: 12px;
    background: rgba(0, 0, 0, .32);
}

.tl-ref-code {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--tl-gold);
}

.tl-ref-code span:first-child {
    flex: 1;
    padding: 12px 0;
}

.tl-ref-url input {
    /* min-width:0 or the flex item refuses to shrink and the row scrolls the page */
    flex: 1;
    min-width: 0;
    padding: 13px 0;
    border: 0;
    background: none;
    color: var(--tl-text);
    font-size: 13px;
    text-overflow: ellipsis;
}

.tl-ref-url input:focus {
    outline: none;
}

.tl-ref-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: var(--tl-text);
    cursor: pointer;
    transition: background .16s, color .16s;
}

.tl-ref-icon:hover {
    background: rgba(255, 255, 255, .12);
}

.tl-ref-icon.is-copied {
    background: rgba(20, 196, 106, .18);
    color: var(--tl-green);
}

.tl-ref-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tl-ref-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.tl-ref-stat {
    padding: 16px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    background: var(--tl-surface);
    text-align: center;
}

.tl-ref-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--tl-text);
}

.tl-ref-stat-cash {
    color: var(--tl-green);
}

.tl-ref-stat-label {
    font-size: 12px;
    color: var(--tl-muted);
}

.tl-ref-steps {
    margin: 22px 0 0;
    padding-left: 20px;
    color: var(--tl-muted);
    font-size: 13.5px;
    line-height: 2;
}

.tl-ref-steps b {
    color: var(--tl-text);
}

@media (max-width: 480px) {
    /* two 46px pills side by side wrap their labels at 360px */
    .tl-ref-actions {
        grid-template-columns: 1fr;
    }

    .tl-ref-code {
        font-size: 19px;
        letter-spacing: .12em;
    }
}
