/* ---- Bootstrap uyumluluğu (otomatik üretildi) ----
   Bootstrap @layer(bootstrap) içinde yüklenir. Aşağıdaki kurallar, Bootstrap'in Reboot katmanının
   mevcut sayfa görünümünü değiştirmemesi için ilgili özellikleri tarayıcı varsayılanına (revert) döndürür.
   Orijinal (katmansız) site kuralları her zaman önceliklidir. */
body {
    margin: revert;
    font-family: revert;
    font-size: revert;
    font-weight: revert;
    line-height: revert;
    color: revert;
    text-align: revert;
    background-color: revert;
    -webkit-text-size-adjust: revert;
    -webkit-tap-highlight-color: revert
}

:where(#app,#toast) [data-bs-theme=dark] {
    color-scheme: revert
}

:where(#app,#toast) * {
    box-sizing: revert
}

    :where(#app,#toast) *::after {
        box-sizing: revert
    }

    :where(#app,#toast) *::before {
        box-sizing: revert
    }

:where(#app,#toast) hr {
    margin: revert;
    color: revert;
    border: revert;
    border-top: revert;
    opacity: revert
}

:where(#app,#toast) h1 {
    margin-top: revert;
    margin-bottom: revert;
    font-weight: revert;
    line-height: revert;
    color: revert
}

:where(#app,#toast) h2 {
    margin-top: revert;
    margin-bottom: revert;
    font-weight: revert;
    line-height: revert;
    color: revert
}

:where(#app,#toast) h3 {
    margin-top: revert;
    margin-bottom: revert;
    font-weight: revert;
    line-height: revert;
    color: revert
}

:where(#app,#toast) h4 {
    margin-top: revert;
    margin-bottom: revert;
    font-weight: revert;
    line-height: revert;
    color: revert
}

:where(#app,#toast) h5 {
    margin-top: revert;
    margin-bottom: revert;
    font-weight: revert;
    line-height: revert;
    color: revert
}

:where(#app,#toast) h6 {
    margin-top: revert;
    margin-bottom: revert;
    font-weight: revert;
    line-height: revert;
    color: revert
}

:where(#app,#toast) h1 {
    font-size: revert
}

:where(#app,#toast) h2 {
    font-size: revert
}

:where(#app,#toast) h3 {
    font-size: revert
}

:where(#app,#toast) h4 {
    font-size: revert
}

:where(#app,#toast) h5 {
    font-size: revert
}

:where(#app,#toast) h6 {
    font-size: revert
}

:where(#app,#toast) p {
    margin-top: revert;
    margin-bottom: revert
}

:where(#app,#toast) abbr[title] {
    -webkit-text-decoration: revert;
    text-decoration: revert;
    -webkit-text-decoration-skip-ink: revert;
    text-decoration-skip-ink: revert
}

:where(#app,#toast) address {
    margin-bottom: revert;
    font-style: revert;
    line-height: revert
}

:where(#app,#toast) ol {
    padding-left: revert
}

:where(#app,#toast) ul {
    padding-left: revert
}

:where(#app,#toast) dl {
    margin-top: revert;
    margin-bottom: revert
}

:where(#app,#toast) ol {
    margin-top: revert;
    margin-bottom: revert
}

:where(#app,#toast) ul {
    margin-top: revert;
    margin-bottom: revert
}

:where(#app,#toast) ol ol {
    margin-bottom: revert
}

:where(#app,#toast) ol ul {
    margin-bottom: revert
}

:where(#app,#toast) ul ol {
    margin-bottom: revert
}

:where(#app,#toast) ul ul {
    margin-bottom: revert
}

:where(#app,#toast) dt {
    font-weight: revert
}

:where(#app,#toast) dd {
    margin-bottom: revert;
    margin-left: revert
}

:where(#app,#toast) blockquote {
    margin: revert
}

:where(#app,#toast) b {
    font-weight: revert
}

:where(#app,#toast) strong {
    font-weight: revert
}

:where(#app,#toast) small {
    font-size: revert
}

:where(#app,#toast) mark {
    padding: revert;
    color: revert;
    background-color: revert
}

:where(#app,#toast) sub {
    position: revert;
    font-size: revert;
    line-height: revert;
    vertical-align: revert
}

:where(#app,#toast) sup {
    position: revert;
    font-size: revert;
    line-height: revert;
    vertical-align: revert
}

:where(#app,#toast) sub {
    bottom: revert
}

:where(#app,#toast) sup {
    top: revert
}

:where(#app,#toast) a {
    color: revert;
    text-decoration: revert
}

:where(#app,#toast) code {
    font-family: revert;
    font-size: revert
}

:where(#app,#toast) kbd {
    font-family: revert;
    font-size: revert
}

:where(#app,#toast) pre {
    font-family: revert;
    font-size: revert
}

:where(#app,#toast) samp {
    font-family: revert;
    font-size: revert
}

:where(#app,#toast) pre {
    display: revert;
    margin-top: revert;
    margin-bottom: revert;
    overflow: revert;
    font-size: revert
}

    :where(#app,#toast) pre code {
        font-size: revert;
        color: revert;
        word-break: revert
    }

:where(#app,#toast) code {
    font-size: revert;
    color: revert;
    word-wrap: revert
}

:where(#app,#toast) a > code {
    color: revert
}

:where(#app,#toast) kbd {
    padding: revert;
    font-size: revert;
    color: revert;
    background-color: revert;
    border-radius: revert
}

    :where(#app,#toast) kbd kbd {
        padding: revert;
        font-size: revert
    }

:where(#app,#toast) figure {
    margin: revert
}

:where(#app,#toast) img {
    vertical-align: revert
}

:where(#app,#toast) svg {
    vertical-align: revert
}

:where(#app,#toast) table {
    caption-side: revert;
    border-collapse: revert
}

:where(#app,#toast) caption {
    padding-top: revert;
    padding-bottom: revert;
    color: revert;
    text-align: revert
}

:where(#app,#toast) th {
    text-align: revert
}

:where(#app,#toast) tbody {
    border-color: revert;
    border-style: revert;
    border-width: revert
}

:where(#app,#toast) td {
    border-color: revert;
    border-style: revert;
    border-width: revert
}

:where(#app,#toast) tfoot {
    border-color: revert;
    border-style: revert;
    border-width: revert
}

:where(#app,#toast) th {
    border-color: revert;
    border-style: revert;
    border-width: revert
}

:where(#app,#toast) thead {
    border-color: revert;
    border-style: revert;
    border-width: revert
}

:where(#app,#toast) tr {
    border-color: revert;
    border-style: revert;
    border-width: revert
}

:where(#app,#toast) label {
    display: revert
}

:where(#app,#toast) button {
    border-radius: revert
}

    :where(#app,#toast) button:focus:not(:focus-visible) {
        outline: revert
    }

:where(#app,#toast) button {
    margin: revert;
    font-family: revert;
    font-size: revert;
    line-height: revert
}

:where(#app,#toast) input {
    margin: revert;
    font-family: revert;
    font-size: revert;
    line-height: revert
}

:where(#app,#toast) optgroup {
    margin: revert;
    font-family: revert;
    font-size: revert;
    line-height: revert
}

:where(#app,#toast) select {
    margin: revert;
    font-family: revert;
    font-size: revert;
    line-height: revert
}

:where(#app,#toast) textarea {
    margin: revert;
    font-family: revert;
    font-size: revert;
    line-height: revert
}

:where(#app,#toast) button {
    text-transform: revert
}

:where(#app,#toast) select {
    text-transform: revert
}

:where(#app,#toast) select {
    word-wrap: revert
}

    :where(#app,#toast) select:disabled {
        opacity: revert
    }

:where(#app,#toast) [type=button] {
    -webkit-appearance: revert
}

:where(#app,#toast) [type=reset] {
    -webkit-appearance: revert
}

:where(#app,#toast) [type=submit] {
    -webkit-appearance: revert
}

:where(#app,#toast) button {
    -webkit-appearance: revert
}

:where(#app,#toast) textarea {
    resize: revert
}

:where(#app,#toast) fieldset {
    min-width: revert;
    padding: revert;
    margin: revert;
    border: revert
}

:where(#app,#toast) legend {
    float: revert;
    width: revert;
    padding: revert;
    margin-bottom: revert;
    font-size: revert;
    line-height: revert
}

    :where(#app,#toast) legend + * {
        clear: revert
    }

:where(#app,#toast) *::-webkit-datetime-edit-day-field {
    padding: revert
}

:where(#app,#toast) *::-webkit-datetime-edit-fields-wrapper {
    padding: revert
}

:where(#app,#toast) *::-webkit-datetime-edit-hour-field {
    padding: revert
}

:where(#app,#toast) *::-webkit-datetime-edit-minute {
    padding: revert
}

:where(#app,#toast) *::-webkit-datetime-edit-month-field {
    padding: revert
}

:where(#app,#toast) *::-webkit-datetime-edit-text {
    padding: revert
}

:where(#app,#toast) *::-webkit-datetime-edit-year-field {
    padding: revert
}

:where(#app,#toast) *::-webkit-inner-spin-button {
    height: revert
}

:where(#app,#toast) [type=search] {
    -webkit-appearance: revert;
    outline-offset: revert
}

:where(#app,#toast) *::-webkit-search-decoration {
    -webkit-appearance: revert
}

:where(#app,#toast) *::-webkit-color-swatch-wrapper {
    padding: revert
}

:where(#app,#toast) *::-webkit-file-upload-button {
    font: revert;
    -webkit-appearance: revert
}

:where(#app,#toast) *::file-selector-button {
    font: revert;
    -webkit-appearance: revert
}

:where(#app,#toast) output {
    display: revert
}

:where(#app,#toast) iframe {
    border: revert
}

:where(#app,#toast) summary {
    display: revert
}

:where(#app,#toast) progress {
    vertical-align: revert
}

.home-view,
.deposit-1-view,
.deposit-2-view,
.deposit-3-view,
.payout-1-view,
.payout-2-view,
.payout-3-view,
.customers-view,
.history-view,
.create-user-view,
.edit-customer-view,
.coupons-view,
.coupon-filters-view,
.coupon-detail-view,
.turnover-view,
.deposit-transactions-view,
.payout-transactions-view,
.shop-view {
    display: contents
}

/* <a> yerine eskiden <button> olan öğeler: tarayıcının buton varsayılanlarını taklit eder.
   Özgüllük (0,0,1): Bootstrap'in `a{...}` kuralıyla eşit (site.css sonra yüklendiği için kazanır), sınıf kuralları ise her zaman üstündedir. */
a:where([class]:not(.drawer-qr-link)) {
    display: inline-block;
    margin: 0;
    padding: 1px 6px;
    border: 2px outset buttonborder;
    background-color: buttonface;
    color: buttontext;
    text-align: center;
    text-decoration: none;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    cursor: pointer;
}

/* Eski <button> shrink-wrap davranışı (block içindeki display:flex buton içeriği kadar geniştir).
   :where() => .btn{width:100%} gibi sınıf kuralları (mobil) yine önceliklidir. */
:where(a.wettscheine-extra-filter) {
    width: fit-content
}

:root {
    --navy: #020b20;
    --navy2: #07162d;
    --blue: #0648f5;
    --blue2: #0038d8;
    --green: #00ae36;
    --red: #ff1438;
    --orange: #ff8a00;
    --violet: #8c20f7;
    --ink: #111827;
    --muted: #667085;
    --line: #e4e8ef;
    --bg: #f5f7fb;
    --card: #fff;
    --shadow: 0 12px 35px rgba(14,28,54,.08);
    font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-synthesis: none
}

* {
    box-sizing: border-box
}

html {
    min-height: 100%;
    background: var(--bg)
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: linear-gradient(180deg,#edf1f7 0,#f8f9fc 350px)
}

button,
input,
select {
    font: inherit
}

button,
a,
[role=button] {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.topbar {
    height: 82px;
    background: linear-gradient(105deg,#020918,#07162d);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 2px 12px rgba(0,0,0,.14)
}

.topbar-main {
    height: 82px;
    display: flex;
    align-items: center;
    padding: 0 clamp(18px,4vw,48px);
    gap: 22px
}

.mobile-status {
    display: none
}

.svg-icon {
    width: 1em;
    height: 1em;
    display: block
}

.brand-zone {
    display: flex;
    align-items: center;
    gap: 18px
}

.brand {
    border: 0;
    background: none;
    color: #fff;
    font-weight: 850;
    font-size: 28px;
    letter-spacing: -1.5px;
    padding: 0;
    white-space: nowrap;
    text-align: left
}

.brand-x {
    color: #355cff
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 2.5px;
    color: #8fa0bc;
    text-transform: uppercase;
    margin-top: 1px
}

.mobile-total {
    display: none
}

    .mobile-total small {
        display: block;
        color: #a7b2c5;
        font-size: 9px;
        margin-bottom: 3px
    }

    .mobile-total strong {
        font-size: 20px;
        letter-spacing: .2px
    }

.home-button,
.menu-button,
.icon-button {
    border: 0;
    background: transparent;
    color: inherit;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 22px
}

    .home-button:hover,
    .menu-button:hover {
        background: rgba(255,255,255,.08)
    }

.top-spacer {
    flex: 1
}

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

.balance-icon {
    width: 42px;
    height: 42px;
    border: 1px solid #284362;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #5274ff
}

.balance-copy small {
    font-size: 11px;
    color: #9eabc0;
    display: block
}

.balance-copy strong {
    font-size: 15px;
    letter-spacing: .2px
}

.layout {
    flex: 1;
    width: min(1180px,100%);
    margin: 0 auto;
    padding: clamp(18px,3vw,34px)
}

.footer {
    width: min(1180px,100%);
    margin: 0 auto;
    padding: 22px clamp(18px,3vw,34px);
    display: flex;
    justify-content: space-between;
    color: #7d889a;
    font-size: 12px;
    position: relative
}

.mobile-home-indicator {
    display: none
}

.page-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px
}

.page-icon {
    width: 54px;
    height: 54px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 25px;
    box-shadow: 0 4px 16px rgba(20,44,90,.04);
    flex: 0 0 auto
}

    .page-icon .svg-icon {
        width: 29px;
        height: 29px;
        stroke-width: 1.7
    }

.page-head h1 {
    font-size: 26px;
    margin: 0 0 5px;
    letter-spacing: -.45px
}

.page-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.head-action {
    margin-left: auto
}

.page-close {
    width: 54px;
    height: 54px;
    border: 1.5px solid #111;
    background: #fff;
    border-radius: 12px;
    color: var(--blue);
    display: grid;
    place-items: center;
    flex: 0 0 auto
}

    .page-close:hover {
        background: #f7f9ff
    }

    .page-close .svg-icon {
        width: 25px;
        height: 25px;
        stroke-width: 1.8
    }

.bx-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(20,40,80,.035)
}

.card-pad {
    padding: 22px
}

.section-title {
    font-size: 17px;
    margin: 0 0 16px
}

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

.bx-btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 750;
    color: #fff;
    background: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    transition: .18s ease
}

    .bx-btn:hover {
        transform: translateY(-1px);
        background: var(--blue2);
        box-shadow: 0 8px 18px rgba(36,72,242,.18)
    }

    .bx-btn:active {
        transform: translateY(0)
    }

    .bx-btn.secondary {
        background: #eef1f6;
        color: #344054
    }

        .bx-btn.secondary:hover {
            background: #e5e9f0;
            box-shadow: none
        }

    .bx-btn.outline {
        background: #fff;
        color: var(--blue);
        border: 1px solid #cfd8ff
    }

    .bx-btn.danger {
        background: var(--red)
    }

    .bx-btn.success {
        background: var(--green)
    }

    .bx-btn.bx-small {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px
    }

    .bx-btn.block {
        width: 100%
    }

.back-link {
    border: 0;
    background: transparent;
    color: #344054;
    font-weight: 700;
    display: inline-flex;
    gap: 7px;
    padding: 0;
    margin-bottom: 18px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

    .field label {
        font-size: 13px;
        font-weight: 700
    }

.control {
    width: 100%;
    height: 46px;
    border: 1px solid #dfe4ec;
    border-radius: 9px;
    background: #fff;
    padding: 0 13px;
    color: #1c2434;
    outline: 0
}

    .control:focus {
        border-color: #7289fa;
        box-shadow: 0 0 0 3px rgba(36,72,242,.09)
    }

    .control::placeholder {
        color: #a3adbb
    }

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

.actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 22px
}

    .actions .bx-btn {
        min-width: 150px
    }

.helper {
    font-size: 11px;
    color: #8791a2;
    margin: 0
}

.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 6px auto 30px;
    max-width: 520px
}

.step {
    width: 120px;
    text-align: center;
    position: relative;
    font-size: 12px;
    color: #8c96a6
}

    .step:not(:last-child):after {
        content: "";
        height: 2px;
        background: #dde3ed;
        position: absolute;
        left: 63%;
        right: -37%;
        top: 16px
    }

    .step.done:not(:last-child):after {
        background: var(--blue)
    }

.step-num {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 7px;
    background: #eef1f6;
    color: #7a8494;
    font-weight: 800;
    position: relative;
    z-index: 1
}

.step.active .step-num,
.step.done .step-num {
    background: var(--blue);
    color: #fff
}

.step.active {
    color: var(--blue);
    font-weight: 750
}

.flow-card {
    max-width: 610px;
    margin: 0 auto
}

    .flow-card h2 {
        margin: 0 0 7px;
        font-size: 24px
    }

    .flow-card > .muted {
        margin: 0 0 24px
    }

.amounts {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 9px;
    margin-top: 10px
}

.amount-chip {
    border: 1px solid #dfe4ec;
    background: #fff;
    border-radius: 8px;
    min-height: 40px;
    font-weight: 700;
    color: #4e596c
}

    .amount-chip:hover,
    .amount-chip.selected {
        border-color: var(--blue);
        background: #eef2ff;
        color: var(--blue)
    }

.summary-list {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 18px
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 14px
}

    .summary-row:last-child {
        border: 0
    }

    .summary-row span {
        color: var(--muted)
    }

    .summary-row strong {
        font-weight: 800
    }

.success-panel {
    text-align: center;
    padding: 44px 24px
}

.success-mark {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    background: #e9f8ef;
    color: var(--green);
    font-size: 38px
}

.success-panel h2 {
    font-size: 27px;
    margin: 0 0 8px
}

.success-panel > .muted {
    margin-bottom: 24px
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-bottom: 22px
}

.quick-card {
    text-align: left;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 19px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    transition: .18s
}

    .quick-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
        border-color: #ccd5e4
    }

.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex: 0 0 auto
}

.quick-card.green .quick-icon {
    background: #e7f7ed;
    color: var(--green)
}

.quick-card.red .quick-icon {
    background: #ffebee;
    color: var(--red)
}

.quick-card.blue .quick-icon {
    background: #edf1ff;
    color: var(--blue)
}

.quick-copy strong {
    display: block;
    margin-bottom: 5px
}

.quick-copy small {
    color: var(--muted)
}

.mobile-section-title {
    display: none
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px
}

.date-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px
}


.tab {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 12px
}

    .tab.active {
        background: #edf1ff;
        border-color: #cbd5ff;
        color: var(--blue);
        font-weight: 750
    }

.custom-date {
    width: 100%;
    height: 44px;
    border: 1px solid #dce3ef;
    background: #fff;
    border-radius: 9px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    color: #344054;
    margin-bottom: 12px
}

    .custom-date:hover,
    .custom-date.active {
        border-color: #aebcff;
        background: #f7f9ff
    }

.custom-date-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.custom-date span:last-child {
    margin-left: auto;
    color: var(--blue)
}

.date-range-panel {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: end;
    padding: 11px;
    margin: -4px 0 12px;
    border: 1px solid #dce3ef;
    border-radius: 9px;
    background: #f8faff
}

    .date-range-panel label {
        display: grid;
        gap: 4px;
        font-size: 10px;
        font-weight: 700;
        color: #526078
    }

    .date-range-panel input {
        width: 100%;
        height: 35px;
        border: 1px solid #dce3ef;
        border-radius: 6px;
        padding: 0 7px;
        background: #fff;
        color: #111;
        font-size: 11px
    }

    .date-range-panel button {
        height: 35px;
        border: 0;
        border-radius: 6px;
        padding: 0 13px;
        background: var(--blue);
        color: #fff;
        font-size: 11px;
        font-weight: 750
    }

/* turnover: refresh button next to the period tabs */
.date-tabs .tab-refresh {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 9px 12px;
    display: inline-grid;
    place-items: center;
    color: var(--blue);
    cursor: pointer;
}

    .date-tabs .tab-refresh:hover {
        background: #f7f9ff;
        border-color: #cbd5ff
    }

    .date-tabs .tab-refresh .svg-icon {
        width: 16px;
        height: 16px
    }

    .date-tabs .tab-refresh.is-spinning .svg-icon {
        animation: bx-spin .8s linear infinite
    }

    .date-tabs .tab-refresh:disabled {
        opacity: .7;
        cursor: default
    }

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

/* mobile: keep the 4 period tabs + refresh button on ONE row */
@media(max-width:520px) {
    .date-tabs:has(.tab-refresh) {
        flex-wrap: nowrap;
        gap: 6px;
    }

        .date-tabs:has(.tab-refresh) .tab {
            flex: 1 1 0;
            min-width: 0;
            padding: 7px 3px;
            font-size: 11px;
            line-height: 1.15;
            white-space: normal;
            overflow-wrap: anywhere;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .date-tabs:has(.tab-refresh) .tab-refresh {
            flex: 0 0 auto;
            padding: 0 10px;
            align-self: stretch;
        }
}

/* shop home (mobile): 4 tab + narrow refresh column */
@media(max-width:520px) {
    .home-view .date-tabs:has(.tab-refresh) {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr)) 46px;
        gap: 0;
    }

        .home-view .date-tabs:has(.tab-refresh) .tab {
            padding: 0 4px;
        }

    .home-view .date-tabs .tab-refresh {
        height: 44px;
        padding: 0;
        border: 0;
        border-left: 1px solid #e6eaf1;
        border-radius: 0 9px 9px 0;
        background: transparent;
        display: grid;
        place-items: center;
    }
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px
}


.kpi {
    padding: 16px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0
}

.kpi-icon {
    font-size: 20px;
    margin-bottom: 14px
}

.kpi label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 5px
}

.kpi strong {
    font-size: 17px
}

.kpi.green {
    border-bottom: 3px solid var(--green)
}

.kpi.red {
    border-bottom: 3px solid var(--red)
}

.kpi.orange {
    border-bottom: 3px solid var(--orange)
}

.kpi.violet {
    border-bottom: 3px solid var(--violet)
}

.menu-list {
    display: grid;
    gap: 7px
}

.menu-entry {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px
}

    .menu-entry:hover {
        background: #fafbff;
        border-color: #d2d9e8
    }

    .menu-entry > span:first-child {
        width: 35px;
        height: 35px;
        border-radius: 9px;
        background: #edf1ff;
        color: var(--blue);
        display: grid;
        place-items: center
    }

    .menu-entry strong {
        display: block;
        font-size: 13px
    }

    .menu-entry small {
        color: var(--muted);
        font-size: 10px
    }

.chev {
    margin-left: auto;
    color: #96a0b1
}

.filters {
    display: grid;
    grid-template-columns: repeat(4,minmax(130px,1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 18px
}

    .filters.three {
        grid-template-columns: repeat(3,minmax(130px,1fr))
    }

.filter-actions {
    display: flex;
    gap: 8px
}

.table-card {
    overflow: hidden
}

.table-wrap {
    overflow: auto
}

.data-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 820px;
    font-size: 12px
}

    .data-table th {
        background: #123da6;
        color: #fff;
        text-align: left;
        padding: 12px 11px;
        white-space: nowrap
    }

    .data-table td {
        padding: 11px;
        border-bottom: 1px solid #e9edf3;
        white-space: nowrap
    }

    .data-table tbody tr:hover {
        background: #f8faff
    }

    .data-table .positive {
        color: var(--green);
        font-weight: 800
    }

    .data-table .negative {
        color: var(--red);
        font-weight: 800
    }

.status {
    font-size: 14px;
    border-radius: 5px;
    padding: 5px 7px;
    font-weight: 850;
    display: inline-block
}

    .status.active,
    .status.win {
        background: #e3f7eb;
        color: #087d37
    }

    .status.loss {
        background: #ffe7eb;
        color: #d91d3d
    }

    .status.open {
        background: #fff2d8;
        color: #b66a00
    }

    .status.neutral {
        background: #eef1f6;
        color: #576174
    }

.table-bottom {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line)
}

.bx-pagination {
    display: flex;
    gap: 5px
}

.page-btn {
    width: 31px;
    height: 31px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white
}

    .page-btn.active {
        background: var(--blue);
        border-color: var(--blue);
        color: white
    }

.toggle-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px;
    margin-bottom: 18px
}

.toggle-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px
}

.switch {
    width: 38px;
    height: 22px;
    border-radius: 20px;
    background: #dfe4ec;
    position: relative;
    flex: 0 0 auto;
    border: 0
}

    .switch:before {
        content: "";
        width: 16px;
        height: 16px;
        background: white;
        border-radius: 50%;
        position: absolute;
        top: 3px;
        left: 3px;
        box-shadow: 0 1px 4px rgba(0,0,0,.18);
        transition: .18s
    }

    .switch.on {
        background: var(--blue)
    }

        .switch.on:before {
            left: 19px
        }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3,9,20,.48);
    z-index: 49;
    opacity: 0;
    pointer-events: none;
    transition: .2s
}

    .drawer-backdrop.open {
        opacity: 1;
        pointer-events: auto
    }

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px,88vw);
    height: 100vh;
    background: #fff;
    z-index: 50;
    box-shadow: -20px 0 50px rgba(0,0,0,.2);
    transform: translateX(105%);
    transition: .25s;
    display: flex;
    flex-direction: column
}

    .drawer.open {
        transform: none
    }

.drawer-head {
    height: 82px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 18px;
    justify-content: space-between
}

.drawer-nav {
    padding: 14px;
    overflow: auto
}

.drawer-group {
    color: #9aa3b2;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin: 14px 9px 7px
}

.drawer-link {
    border: 0;
    background: #fff;
    border-radius: 9px;
    width: 100%;
    padding: 11px 12px;
    text-align: left;
    display: flex;
    gap: 10px;
    color: #344054
}

    .drawer-link:hover,
    .drawer-link.active {
        background: #edf1ff;
        color: var(--blue);
        font-weight: 750
    }

.ticket-head {
    display: flex;
    align-items: center;
    gap: 14px
}

    .ticket-head .avatar {
        margin-left: auto
    }

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #aa95ef;
    color: #fff;
    display: grid;
    place-items: center
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-bottom: 16px
}

.stat {
    text-align: center;
    padding: 18px;
    border-right: 1px solid var(--line)
}

    .stat:last-child {
        border: 0
    }

    .stat small {
        display: block;
        color: var(--muted);
        margin-bottom: 8px
    }

    .stat strong {
        font-size: 20px
    }

.ticket-meta {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

    .ticket-meta div {
        background: white;
        padding: 13px
    }

    .ticket-meta small {
        display: block;
        color: var(--muted);
        margin-bottom: 6px
    }

.revenue-top {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 0
}

.revenue-card {
    text-align: center;
    padding: 20px 10px;
    border-right: 1px solid var(--line)
}

    .revenue-card:last-child {
        border: 0
    }

    .revenue-card .bubble {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin: 0 auto 12px;
        background: #f0f3f8;
        font-size: 21px
    }

    .revenue-card label {
        font-size: 12px;
        display: block;
        margin-bottom: 8px
    }

    .revenue-card strong {
        font-size: 16px
    }

.spark {
    height: 20px;
    margin: 10px auto 0;
    width: 70px
}

.record-list {
    display: grid
}

.record {
    display: grid;
    grid-template-columns: 1.3fr repeat(3,1fr) 24px;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    font-size: 12px
}

    .record:last-child {
        border: 0
    }

    .record .positive {
        color: var(--green)
    }

    .record .negative {
        color: var(--red)
    }

    .record .gain {
        color: var(--blue)
    }

.empty {
    padding: 35px;
    text-align: center;
    color: var(--muted)
}

.bx-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%,20px);
    background: #101828;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    z-index: 80;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    opacity: 0;
    pointer-events: none;
    transition: .2s;
    font-size: 13px
}

    .bx-toast.show {
        opacity: 1;
        transform: translate(-50%,0)
    }

@media(max-width:850px) {
    .layout {
        padding: 18px 14px
    }

    .topbar {
        height: 72px
    }

    .topbar-main {
        height: 72px;
        padding: 0 14px;
        gap: 9px
    }

    .brand {
        font-size: 24px
    }

        .brand small {
            display: none
        }

    .home-button {
        display: none
    }

    .balance {
        margin-left: auto
    }

    .balance-icon {
        width: 36px;
        height: 36px
    }

    .balance-copy small {
        font-size: 9px
    }

    .balance-copy strong {
        font-size: 12px
    }

    .menu-button {
        width: 38px
    }

    .page-head {
        margin-bottom: 16px
    }

    .page-icon {
        width: 46px;
        height: 46px
    }

    .page-head h1 {
        font-size: 21px
    }

    .page-head p {
        font-size: 12px
    }

    .quick-grid {
        gap: 8px
    }

    .quick-card {
        padding: 12px 8px;
        display: block;
        text-align: center
    }

    .quick-icon {
        width: 42px;
        height: 42px;
        margin: 0 auto 8px
    }

    .quick-copy strong {
        font-size: 12px
    }

    .quick-copy small {
        font-size: 9px
    }

    .dash-grid {
        grid-template-columns: 1fr
    }

    .kpis {
        grid-template-columns: repeat(2,1fr)
    }

    .filters,
    .filters.three {
        grid-template-columns: 1fr 1fr
    }

    .toggle-grid {
        grid-template-columns: 1fr 1fr
    }

    .stats-row {
        grid-template-columns: repeat(2,1fr)
    }

    .stat:nth-child(2) {
        border-right: 0
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .ticket-meta {
        grid-template-columns: repeat(2,1fr)
    }

    .revenue-top {
        grid-template-columns: repeat(2,1fr)
    }

    .revenue-card:nth-child(2n) {
        border-right: 0
    }

    .revenue-card {
        border-bottom: 1px solid var(--line)
    }

        .revenue-card:last-child {
            grid-column: 1/-1
        }

    .record {
        grid-template-columns: 1.3fr repeat(3,1fr) 15px;
        gap: 6px;
        padding: 11px 8px
    }

    .footer {
        padding: 18px 14px
    }

    .form-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:520px) {
    body {
        background: #fff
    }

    .layout {
        padding: 16px 12px
    }

    .brand {
        font-size: 22px
    }

    .balance-icon {
        display: none
    }

    .bx-card {
        border-radius: 11px
    }

    .card-pad {
        padding: 16px
    }

    .page-head {
        gap: 12px
    }

        .page-head h1 {
            font-size: 19px
        }

        .page-head p {
            font-size: 11px
        }

    .page-icon {
        width: 44px;
        height: 44px
    }

        .page-icon .svg-icon {
            width: 25px;
            height: 25px
        }

    .page-close {
        width: 44px;
        height: 44px;
        border-radius: 10px
    }

        .page-close .svg-icon {
            width: 22px;
            height: 22px
        }

    .head-action .bx-btn {
        font-size: 0;
        width: 44px;
        padding: 0
    }

        .head-action .bx-btn:first-letter {
            font-size: 18px
        }

    .amounts {
        grid-template-columns: repeat(4,1fr)
    }

    .actions {
        flex-direction: column-reverse
    }

        .actions .bx-btn {
            width: 100%
        }

    .filters,
    .filters.three {
        grid-template-columns: 1fr
    }

    .filter-actions {
        grid-column: 1/-1
    }

        .filter-actions .bx-btn {
            flex: 1
        }

    .toggle-grid {
        grid-template-columns: 1fr
    }

    .step {
        width: 95px
    }

    .kpis {
        gap: 7px
    }

    .kpi {
        padding: 13px 10px
    }

        .kpi strong {
            font-size: 15px
        }

    .ticket-head .avatar {
        display: none
    }

    .ticket-meta {
        grid-template-columns: 1fr 1fr
    }

    .record {
        font-size: 10px
    }

    .footer {
        font-size: 10px
    }

        .footer span:first-child {
            max-width: 210px
        }

    .table-bottom {
        flex-wrap: wrap;
        gap: 10px
    }
}

@media(max-width:520px) {
    :has(.home-view) .topbar {
        height: 92px;
        position: relative;
        background: linear-gradient(112deg,#02091a 0%,#031027 65%,#06142b 100%);
        box-shadow: none
    }

    .home-view .mobile-status {
        height: 28px;
        padding: 8px 17px 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        font-size: 12px;
        line-height: 1
    }

        .home-view .mobile-status strong {
            font-size: 12px;
            letter-spacing: .1px
        }

    .status-icons {
        display: flex;
        align-items: center;
        gap: 6px;
        height: 12px
    }

    .cell-bars {
        height: 10px;
        display: flex;
        align-items: flex-end;
        gap: 1.5px
    }

        .cell-bars b {
            display: block;
            width: 2.5px;
            background: white;
            border-radius: 1px
        }

            .cell-bars b:nth-child(1) {
                height: 4px
            }

            .cell-bars b:nth-child(2) {
                height: 6px
            }

            .cell-bars b:nth-child(3) {
                height: 8px
            }

            .cell-bars b:nth-child(4) {
                height: 10px
            }

    .wifi-mark {
        width: 13px;
        height: 9px;
        border-top: 2px solid #fff;
        border-radius: 50% 50% 0 0;
        position: relative
    }

        .wifi-mark:before {
            content: "";
            position: absolute;
            left: 2px;
            right: 2px;
            top: 2px;
            height: 5px;
            border-top: 2px solid #fff;
            border-radius: 50%
        }

        .wifi-mark:after {
            content: "";
            position: absolute;
            left: 5px;
            top: 6px;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #fff
        }

    .battery-mark {
        width: 22px;
        height: 10px;
        border: 1px solid rgba(255,255,255,.75);
        border-radius: 3px;
        display: grid;
        place-items: center;
        position: relative
    }

        .battery-mark:after {
            content: "";
            position: absolute;
            right: -3px;
            width: 2px;
            height: 5px;
            background: rgba(255,255,255,.75);
            border-radius: 0 2px 2px 0
        }

        .battery-mark b {
            font-size: 7px;
            line-height: 1
        }

    :has(.home-view) .topbar-main {
        height: 92px;
        padding: 0 16px 13px;
        gap: 10px;
        align-items: center
    }

    :has(.home-view) .brand-zone {
        height: 70px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 9px
    }

    :has(.home-view) .brand {
        font-size: 21px;
        line-height: 1;
        letter-spacing: -.8px
    }

    :has(.home-view) .brand-x {
        color: #4269ff
    }

    :has(.home-view) .mobile-total {
        display: block
    }

        :has(.home-view) .mobile-total small {
            font-size: 9px;
            color: #fff;
            margin-bottom: 4px
        }

        :has(.home-view) .mobile-total strong {
            font-size: 21px;
            line-height: 1;
            font-weight: 750
        }

    :has(.home-view) .balance {
        margin-left: auto
    }

    :has(.home-view) .balance-copy {
        display: none
    }

    .home-view .balance-icon {
        display: grid;
        width: 43px;
        height: 43px;
        background: #063df0;
        border-color: #063df0;
        color: #fff;
        border-radius: 8px;
        font-size: 23px
    }

        .home-view .balance-icon .svg-icon {
            width: 22px;
            height: 22px
        }

    :has(.home-view) .menu-button {
        font-size: 27px;
        width: 35px;
        height: 43px;
        border-radius: 0
    }

        :has(.home-view) .menu-button .svg-icon {
            width: 25px;
            height: 25px;
            stroke-width: 1.5
        }

    :has(.home-view) .layout {
        padding: 14px 16px 7px
    }

    .home-view .page-head {
        display: none
    }

    .home-view .mobile-section-title {
        display: block;
        font-size: 15px;
        margin: 0 0 10px
    }

    .home-view .quick-grid {
        gap: 8px;
        margin-bottom: 17px
    }

    .home-view .quick-card {
        min-height: 101px;
        padding: 11px 4px 10px;
        border: 0;
        border-radius: 7px;
        box-shadow: none
    }

        .home-view .quick-card.green {
            background: linear-gradient(135deg,#f6faf7,#f2f8f5)
        }

        .home-view .quick-card.red {
            background: linear-gradient(135deg,#fff6f7,#fff1f3)
        }

        .home-view .quick-card.blue {
            background: linear-gradient(135deg,#f3f6ff,#f1f4ff)
        }

    .home-view .quick-icon {
        width: 34px;
        height: 34px;
        font-size: 22px;
        margin: 0 auto 10px;
        color: #fff
    }

        .home-view .quick-icon .svg-icon {
            width: 23px;
            height: 23px;
            stroke-width: 2.1
        }

    .home-view .quick-card.green .quick-icon {
        background: var(--green);
        color: #fff
    }

    .home-view .quick-card.red .quick-icon {
        background: var(--red);
        color: #fff
    }

    .home-view .quick-card.blue .quick-icon {
        background: #063df0;
        color: #fff
    }

    .home-view .quick-copy strong {
        font-size: 11px;
        margin-bottom: 8px
    }

    .home-view .quick-card.green strong {
        color: var(--green)
    }

    .home-view .quick-card.red strong {
        color: var(--red)
    }

    .home-view .quick-card.blue strong {
        color: #063df0
    }

    .home-view .quick-copy small {
        font-size: 8px;
        color: #111
    }

    .home-view .dash-grid {
        gap: 14px
    }

        .home-view .dash-grid > .bx-card {
            border: 0;
            box-shadow: none;
            padding: 0;
            border-radius: 0
        }

    .home-view .section-title {
        font-size: 15px;
        margin-bottom: 9px
    }

    .home-view .date-tabs {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 3px;
        margin-bottom: 8px;
        background: #f5f7fb;
        border-radius: 7px
    }

    .home-view .tab {
        border: 0;
        padding: 8px 1px;
        font-size: 9px;
        background: transparent;
        white-space: nowrap
    }

        .home-view .tab.active {
            background: #e9efff
        }

    .home-view .custom-date {
        height: 30px;
        font-size: 9px;
        margin-bottom: 8px;
        border-radius: 6px;
        padding: 0 9px;
        color: #111
    }

        .home-view .custom-date .svg-icon {
            width: 13px;
            height: 13px;
            stroke-width: 1.8
        }

        .home-view .custom-date span:last-child {
            transform: rotate(90deg);
            color: #123c95
        }

    .home-view .date-range-panel {
        grid-template-columns: 1fr 1fr;
        margin: -1px 0 8px;
        padding: 7px;
        gap: 6px
    }

        .home-view .date-range-panel button {
            grid-column: 1/-1;
            height: 30px
        }

        .home-view .date-range-panel input {
            height: 31px;
            font-size: 9px
        }

    .home-view .kpis {
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 5px
    }

    .home-view .kpi {
        height: 112px;
        padding: 10px 4px 8px;
        border-radius: 7px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: linear-gradient(145deg,#fff,#fbfcfe);
        border-color: #edf0f5;
        border-bottom-width: 2px
    }

    .home-view .kpi-icon {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin: 0 0 8px;
        background: #f3f5fa
    }

        .home-view .kpi-icon .svg-icon {
            width: 26px;
            height: 26px;
            stroke-width: 1.5
        }

    .home-view .kpi.green .kpi-icon {
        color: var(--green);
        background: #edf8f1
    }

    .home-view .kpi.red .kpi-icon {
        color: var(--red);
        background: #fff0f2
    }

    .home-view .kpi.orange .kpi-icon {
        color: var(--orange);
        background: #fff4e9
    }

    .home-view .kpi.violet .kpi-icon {
        color: var(--violet);
        background: #f5edff
    }

    .home-view .kpi label {
        font-size: 9px;
        line-height: 1.2;
        min-height: 20px;
        margin: 0;
        color: #111
    }

    .home-view .kpi.green label {
        color: var(--green)
    }

    .home-view .kpi.red label {
        color: var(--red)
    }

    .home-view .kpi.orange label {
        color: var(--orange)
    }

    .home-view .kpi.violet label {
        color: var(--violet)
    }

    .home-view .kpi strong {
        font-size: 13px;
        margin-top: 0
    }

    .home-view .menu-list {
        gap: 2px
    }

    .home-view .menu-entry {
        height: 54px;
        padding: 2px 8px;
        gap: 8px;
        border-radius: 7px;
        border-color: #f0f2f6;
        box-shadow: 0 2px 7px rgba(20,40,80,.025)
    }

        .home-view .menu-entry > span:first-child {
            width: 27px;
            height: 27px;
            border-radius: 7px;
            font-size: 17px;
            color: #0648f5
        }

            .home-view .menu-entry > span:first-child .svg-icon {
                width: 19px;
                height: 19px;
                stroke-width: 1.5
            }

        .home-view .menu-entry.primary-icon > span:first-child {
            border-radius: 50%;
            background: #0648f5;
            color: #fff
        }

        .home-view .menu-entry strong {
            font-size: 13.5px;
            color: #111;
            line-height: 1.15
        }

        .home-view .menu-entry small {
            font-size: 10.5px;
            color: #52688f;
            line-height: 1.1
        }

    .home-view .chev .svg-icon {
        width: 13px;
        height: 13px;
        stroke-width: 1.5
    }

    :has(.home-view) .footer {
        padding: 7px 16px 15px;
        font-size: 7.5px;
        min-height: 29px
    }

    :has(.home-view) .mobile-home-indicator {
        display: none !important
    }
}

@media(max-width:350px) {
    :has(.home-view) .layout {
        padding-left: 10px;
        padding-right: 10px
    }

    .home-view .quick-grid {
        gap: 5px
    }

    .home-view .kpi {
        padding-left: 2px;
        padding-right: 2px
    }

        .home-view .kpi strong {
            font-size: 11px
        }

        .home-view .kpi label {
            font-size: 8px
        }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}
/* deposit-entry-refresh:start */
:has(.deposit-1-view) .layout {
    width: min(720px,100%);
    padding-top: 24px;
    padding-bottom: 36px;
}

.deposit-1-view .deposit-minimal-page {
    max-width: 620px;
    margin: 0 auto;
}

.deposit-1-view .deposit-minimal-head {
    min-height: 50px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

    .deposit-1-view .deposit-minimal-head h1 {
        margin: 0;
        color: #07142f;
        font-size: 24px;
        line-height: 1.1;
        font-weight: 850;
        letter-spacing: -.45px;
    }

.deposit-1-view .deposit-back {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #f4f6fa;
    color: #07142f;
    display: grid;
    place-items: center;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
}

    .deposit-1-view .deposit-back:hover {
        background: #edf1f7;
    }

.deposit-1-view .deposit-minimal-close {
    width: 40px;
    height: 40px;
    border: 1.4px solid #111;
    border-radius: 10px;
    background: #fff;
    color: #0b50ea;
    display: grid;
    place-items: center;
    justify-self: end;
}

    .deposit-1-view .deposit-minimal-close .svg-icon {
        width: 20px;
        height: 20px;
        stroke-width: 1.8;
    }

.deposit-1-view .stepper {
    max-width: 470px;
    margin: 3px auto 26px;
}

.deposit-1-view .step {
    width: 118px;
    font-size: 12px;
}

.deposit-1-view .step-num {
    width: 31px;
    height: 31px;
    margin-bottom: 6px;
}

.deposit-1-view .step:not(:last-child):after {
    top: 15px;
}

.deposit-1-view .deposit-minimal-form {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 5px 18px rgba(20,40,80,.035);
}

.deposit-1-view .deposit-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

    .deposit-1-view .deposit-form-grid .field {
        gap: 8px;
    }

        .deposit-1-view .deposit-form-grid .field label {
            color: #0a1530;
            font-size: 13px;
            line-height: 1.2;
            font-weight: 800;
        }

.deposit-1-view .customer-select-shell,
.deposit-1-view .deposit-amount-shell {
    position: relative;
    height: 50px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fbfcfe;
}

    .deposit-1-view .customer-select-shell:focus-within,
    .deposit-1-view .deposit-amount-shell:focus-within {
        border-color: #7892fb;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(6,72,245,.07);
    }

.deposit-1-view .customer-select-icon,
.deposit-1-view .customer-select-chevron,
.deposit-1-view .deposit-amount-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    color: #7a879c;
}

.deposit-1-view .customer-select-icon {
    left: 15px;
}

    .deposit-1-view .customer-select-icon .svg-icon {
        width: 21px;
        height: 21px;
        stroke-width: 1.7;
    }

.deposit-1-view .customer-select-value {
    position: absolute;
    left: 47px;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #8793a7;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.deposit-1-view .customer-select-chevron {
    right: 15px;
    color: #0a1530;
    transform: translateY(-50%) rotate(90deg);
}

    .deposit-1-view .customer-select-chevron .svg-icon {
        width: 14px;
        height: 14px;
        stroke-width: 2.3;
    }

.deposit-1-view .customer-select-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.deposit-1-view .deposit-amount-shell .control {
    width: 100%;
    height: 100%;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    padding: 0 60px 0 16px;
    box-shadow: none !important;
    outline: 0;
    color: #0a1530;
    font-size: 14px;
}

    .deposit-1-view .deposit-amount-shell .control::placeholder {
        color: #9ba6b8;
        opacity: 1;
    }

.deposit-1-view .deposit-amount-icon {
    right: 15px;
    padding-left: 13px;
    border-left: 1px solid #e0e5ed;
}

    .deposit-1-view .deposit-amount-icon .svg-icon {
        width: 22px;
        height: 22px;
        stroke-width: 1.7;
    }

.deposit-1-view .deposit-helper {
    display: block;
    margin-top: 18px;
    color: #7a8598;
    font-size: 12px;
    font-weight: 500;
}

.deposit-1-view .amounts {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
    margin-top: 10px;
}

.deposit-1-view .amount-chip {
    min-height: 42px;
    border: 1px solid #dbe1ea;
    border-radius: 9px;
    background: #fbfcfe;
    color: #0a1530;
    font-size: 13px;
    font-weight: 800;
    transition: .15s ease;
}

    .deposit-1-view .amount-chip:hover,
    .deposit-1-view .amount-chip.selected {
        border-color: #7f97fb;
        background: #f0f4ff;
        color: #0648f5;
    }

.deposit-1-view .actions {
    margin-top: 21px;
}

.deposit-1-view .deposit-continue {
    min-height: 48px;
    border-radius: 9px;
    background: linear-gradient(90deg,#0751f4,#1d75ff);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(6,72,245,.16);
}

    .deposit-1-view .deposit-continue span {
        font-size: 20px;
        line-height: 1;
        margin-left: 2px;
    }

@media(max-width:520px) {
    :has(.deposit-1-view) .layout {
        padding: 13px 14px 28px;
    }

    .deposit-1-view .deposit-minimal-head {
        min-height: 42px;
        grid-template-columns: 38px 1fr 38px;
        gap: 8px;
        margin-bottom: 10px;
    }

        .deposit-1-view .deposit-minimal-head h1 {
            font-size: 20px;
            letter-spacing: -.3px;
        }

    .deposit-1-view .deposit-back,
    .deposit-1-view .deposit-minimal-close {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .deposit-1-view .deposit-back {
        font-size: 28px;
    }

    .deposit-1-view .deposit-minimal-close .svg-icon {
        width: 18px;
        height: 18px;
    }

    .deposit-1-view .stepper {
        max-width: 330px;
        margin: 0 auto 18px;
    }

    .deposit-1-view .step {
        width: 96px;
        font-size: 10px;
    }

    .deposit-1-view .step-num {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
        font-size: 11px;
    }

    .deposit-1-view .step:not(:last-child):after {
        top: 13px;
    }

    .deposit-1-view .deposit-minimal-form {
        border: 0;
        border-radius: 0;
        padding: 8px 0 0;
        box-shadow: none;
    }

    .deposit-1-view .deposit-form-grid {
        gap: 17px;
    }

        .deposit-1-view .deposit-form-grid .field {
            gap: 7px;
        }

            .deposit-1-view .deposit-form-grid .field label {
                font-size: 12px;
            }

    .deposit-1-view .customer-select-shell,
    .deposit-1-view .deposit-amount-shell {
        height: 48px;
        border-radius: 9px;
    }

    .deposit-1-view .customer-select-value {
        font-size: 13px;
    }

    .deposit-1-view .deposit-amount-shell .control {
        font-size: 16px;
    }

    .deposit-1-view .customer-select-native {
        font-size: 16px;
    }

    .deposit-1-view .deposit-helper {
        margin-top: 16px;
        font-size: 11px;
    }

    .deposit-1-view .amounts {
        gap: 8px 7px;
        margin-top: 9px;
    }

    .deposit-1-view .amount-chip {
        min-height: 40px;
        border-radius: 8px;
        font-size: 12px;
    }

    .deposit-1-view .actions {
        margin-top: 18px;
    }

    .deposit-1-view .deposit-continue {
        min-height: 47px;
        border-radius: 8px;
        font-size: 13px;
    }
}

@media(max-width:350px) {
    :has(.deposit-1-view) .layout {
        padding-left: 10px;
        padding-right: 10px
    }

    .deposit-1-view .step {
        width: 88px
    }

    .deposit-1-view .amount-chip {
        font-size: 11px
    }
}
/* deposit-entry-refresh:end */
/* ios-global-input-zoom-fix:start */
/* Prevent automatic iPhone/iOS Safari zoom when focusing form controls on every page. */
@supports (-webkit-touch-callout: none) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}
/* ios-global-input-zoom-fix:end */
/* global-fixed-header-scroll-lock:start */
/* Keep the app stable while scrolling and keep the main header visible on every page. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    touch-action: pan-y pinch-zoom;
}

#app,
.app {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.app {
    padding-top: 82px;
}

.topbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

.layout,
.footer {
    max-width: 100%;
}

@media(max-width:850px) {
    .app {
        padding-top: 72px;
    }
}

@media(max-width:520px) {
    .app:has(.home-view) {
        padding-top: 92px;
    }

    :has(.home-view) .topbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
    }
}
/* global-fixed-header-scroll-lock:end */
/* deposit-confirm-amount-highlight:start */
.deposit-2-view .summary-row.deposit-amount-highlight {
    background: linear-gradient(90deg,#f2fff6 0%,#f8fffa 100%);
    box-shadow: inset 0 0 0 1.5px var(--green);
    position: relative;
    z-index: 1;
}

    .deposit-2-view .summary-row.deposit-amount-highlight span {
        color: #07953a;
        font-weight: 800;
    }

    .deposit-2-view .summary-row.deposit-amount-highlight strong {
        color: #00a83b;
        font-weight: 900;
        letter-spacing: .1px;
    }
/* deposit-confirm-amount-highlight:end */
/* ios-keyboard-layout-lock:start */
/* While the iOS software keyboard is open, keep the document geometry fixed. */
html.ios-keyboard-locked,
body.ios-keyboard-locked {
    overscroll-behavior: none;
    overflow: hidden !important;
    max-width: 100% !important;
}

body.ios-keyboard-locked {
    touch-action: none;
}
/* ios-keyboard-layout-lock:end */
/* payout-match-deposit:start */
/* Payout page 1 mirrors the compact deposit layout. */
:has(.payout-1-view) .layout {
    width: min(720px,100%);
    padding-top: 24px;
    padding-bottom: 36px;
}

.payout-1-view .payout-minimal-page {
    max-width: 620px;
    margin: 0 auto;
}

.payout-1-view .payout-minimal-head {
    min-height: 50px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

    .payout-1-view .payout-minimal-head h1 {
        margin: 0;
        color: #07142f;
        font-size: 24px;
        line-height: 1.1;
        font-weight: 850;
        letter-spacing: -.45px;
    }

.payout-1-view .payout-back {
    width: 40px;
    height: 40px;
    border: 1px solid #e1e6ef;
    border-radius: 10px;
    background: #fff;
    color: #0b50ea;
    display: grid;
    place-items: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(20,40,80,.04);
}

    .payout-1-view .payout-back .svg-icon {
        width: 22px;
        height: 22px;
        stroke-width: 1.9;
    }

    .payout-1-view .payout-back:hover {
        background: #f7f9fd;
    }

.payout-1-view .payout-minimal-close {
    width: 40px;
    height: 40px;
    border: 1.4px solid #111;
    border-radius: 10px;
    background: #fff;
    color: #0b50ea;
    display: grid;
    place-items: center;
    justify-self: end;
}

    .payout-1-view .payout-minimal-close .svg-icon {
        width: 20px;
        height: 20px;
        stroke-width: 1.8;
    }

.payout-1-view .stepper {
    max-width: 470px;
    margin: 3px auto 26px;
}

.payout-1-view .step {
    width: 118px;
    font-size: 12px;
}

.payout-1-view .step-num {
    width: 31px;
    height: 31px;
    margin-bottom: 6px;
}

.payout-1-view .step:not(:last-child):after {
    top: 15px;
}

.payout-1-view .payout-minimal-form {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 5px 18px rgba(20,40,80,.035);
}

.payout-1-view .payout-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

    .payout-1-view .payout-form-grid .field {
        gap: 8px;
    }

        .payout-1-view .payout-form-grid .field label {
            color: #0a1530;
            font-size: 13px;
            line-height: 1.2;
            font-weight: 800;
        }

.payout-1-view .customer-select-shell,
.payout-1-view .payout-amount-shell,
.payout-1-view .payout-balance-display {
    position: relative;
    height: 50px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fbfcfe;
}

.payout-1-view .payout-balance-display {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #0a1530;
    font-size: 14px;
}

.payout-1-view .customer-select-shell:focus-within,
.payout-1-view .payout-amount-shell:focus-within {
    border-color: #7892fb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6,72,245,.07);
}

.payout-1-view .customer-select-icon,
.payout-1-view .customer-select-chevron,
.payout-1-view .payout-amount-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    color: #7a879c;
}

.payout-1-view .customer-select-icon {
    left: 15px;
}

    .payout-1-view .customer-select-icon .svg-icon {
        width: 21px;
        height: 21px;
        stroke-width: 1.7;
    }

.payout-1-view .customer-select-value {
    position: absolute;
    left: 47px;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #8793a7;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.payout-1-view .customer-select-chevron {
    right: 15px;
    color: #0a1530;
    transform: translateY(-50%) rotate(90deg);
}

    .payout-1-view .customer-select-chevron .svg-icon {
        width: 14px;
        height: 14px;
        stroke-width: 2.3;
    }

.payout-1-view .customer-select-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.payout-1-view .payout-amount-shell .control {
    width: 100%;
    height: 100%;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    padding: 0 60px 0 16px;
    box-shadow: none !important;
    outline: 0;
    color: #0a1530;
    font-size: 14px;
}

    .payout-1-view .payout-amount-shell .control::placeholder {
        color: #9ba6b8;
        opacity: 1;
    }

.payout-1-view .payout-amount-icon {
    right: 15px;
    padding-left: 13px;
    border-left: 1px solid #e0e5ed;
}

    .payout-1-view .payout-amount-icon .svg-icon {
        width: 22px;
        height: 22px;
        stroke-width: 1.7;
    }

.payout-1-view .payout-helper {
    display: block;
    margin-top: 18px;
    color: #7a8598;
    font-size: 12px;
    font-weight: 500;
}

.payout-1-view .amounts {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
    margin-top: 10px;
}

.payout-1-view .amount-chip {
    min-height: 42px;
    border: 1px solid #dbe1ea;
    border-radius: 9px;
    background: #fbfcfe;
    color: #0a1530;
    font-size: 13px;
    font-weight: 800;
    transition: .15s ease;
}

    .payout-1-view .amount-chip:hover,
    .payout-1-view .amount-chip.selected {
        border-color: #7f97fb;
        background: #f0f4ff;
        color: #0648f5;
    }

.payout-1-view .actions {
    margin-top: 21px;
}

.payout-1-view .payout-continue {
    min-height: 48px;
    border-radius: 9px;
    background: linear-gradient(90deg,#0751f4,#1d75ff);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(6,72,245,.16);
}

    .payout-1-view .payout-continue span {
        font-size: 20px;
        line-height: 1;
        margin-left: 2px;
    }
/* On confirmation, highlight only the payout amount row and keep its dimensions unchanged. */
.payout-2-view .summary-row.payout-amount-highlight,
.payout-3-view .summary-row.payout-amount-highlight {
    background: linear-gradient(90deg,#fff4f6 0%,#fffafa 100%);
    box-shadow: inset 0 0 0 1.5px var(--red);
    position: relative;
    z-index: 1;
}

    .payout-2-view .summary-row.payout-amount-highlight span,
    .payout-3-view .summary-row.payout-amount-highlight span {
        color: #d91d3d;
        font-weight: 800;
    }

    .payout-2-view .summary-row.payout-amount-highlight strong,
    .payout-3-view .summary-row.payout-amount-highlight strong {
        color: var(--red);
        font-weight: 900;
        letter-spacing: .1px;
    }

@media(max-width:520px) {
    :has(.payout-1-view) .layout {
        padding: 13px 14px 28px;
    }

    .payout-1-view .payout-minimal-head {
        min-height: 42px;
        grid-template-columns: 38px 1fr 38px;
        gap: 8px;
        margin-bottom: 10px;
    }

        .payout-1-view .payout-minimal-head h1 {
            font-size: 20px;
            letter-spacing: -.3px;
        }

    .payout-1-view .payout-back,
    .payout-1-view .payout-minimal-close {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .payout-1-view .payout-back {
        font-size: 28px;
    }

    .payout-1-view .payout-minimal-close .svg-icon {
        width: 18px;
        height: 18px;
    }

    .payout-1-view .stepper {
        max-width: 330px;
        margin: 0 auto 18px;
    }

    .payout-1-view .step {
        width: 96px;
        font-size: 10px;
    }

    .payout-1-view .step-num {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
        font-size: 11px;
    }

    .payout-1-view .step:not(:last-child):after {
        top: 13px;
    }

    .payout-1-view .payout-minimal-form {
        border: 0;
        border-radius: 0;
        padding: 8px 0 0;
        box-shadow: none;
    }

    .payout-1-view .payout-form-grid {
        gap: 17px;
    }

        .payout-1-view .payout-form-grid .field {
            gap: 7px;
        }

            .payout-1-view .payout-form-grid .field label {
                font-size: 12px;
            }

    .payout-1-view .customer-select-shell,
    .payout-1-view .payout-amount-shell,
    .payout-1-view .payout-balance-display {
        height: 48px;
        border-radius: 9px;
    }

    .payout-1-view .customer-select-value {
        font-size: 13px;
    }

    .payout-1-view .payout-amount-shell .control,
    .payout-1-view .customer-select-native {
        font-size: 16px;
    }

    .payout-1-view .payout-balance-display {
        font-size: 16px;
    }

    .payout-1-view .payout-helper {
        margin-top: 16px;
        font-size: 11px;
    }

    .payout-1-view .amounts {
        gap: 8px 7px;
        margin-top: 9px;
    }

    .payout-1-view .amount-chip {
        min-height: 40px;
        border-radius: 8px;
        font-size: 12px;
    }

    .payout-1-view .actions {
        margin-top: 18px;
    }

    .payout-1-view .payout-continue {
        min-height: 47px;
        border-radius: 8px;
        font-size: 13px;
    }
}

@media(max-width:350px) {
    :has(.payout-1-view) .layout {
        padding-left: 10px;
        padding-right: 10px
    }

    .payout-1-view .step {
        width: 88px
    }

    .payout-1-view .amount-chip {
        font-size: 11px
    }
}
/* payout-match-deposit:end */
/* payout-balance-visibility:start */
.payout-1-view .payout-balance-field[hidden] {
    display: none !important;
}
/* payout-balance-visibility:end */
/* searchable-customer-picker:start */
.customer-picker {
    position: relative;
    width: 100%;
}

.customer-picker-trigger {
    width: 100%;
    height: 50px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fbfcfe;
    color: #0a1530;
    padding: 0 45px 0 47px;
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    outline: 0;
}

    .customer-picker-trigger:hover {
        border-color: #cfd7e4;
    }

    .customer-picker.open .customer-picker-trigger,
    .customer-picker-trigger:focus-visible {
        border-color: #7892fb;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(6,72,245,.07);
    }

.customer-picker .customer-select-icon,
.customer-picker .customer-select-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #7a879c;
}

.customer-picker .customer-select-icon {
    left: 15px;
}

    .customer-picker .customer-select-icon .svg-icon {
        width: 21px;
        height: 21px;
        stroke-width: 1.7;
    }

.customer-picker .customer-select-value {
    display: block;
    width: 100%;
    color: #8793a7;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-picker .customer-select-chevron {
    right: 15px;
    color: #0a1530;
    transform: translateY(-50%) rotate(90deg);
}

    .customer-picker .customer-select-chevron .svg-icon {
        width: 14px;
        height: 14px;
        stroke-width: 2.3;
    }

.customer-picker-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: min(430px,55vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #dbe1ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15,35,70,.16);
    padding: 10px;
}

    .customer-picker-menu[hidden],
    .customer-picker-section[hidden],
    .customer-option[hidden],
    .customer-picker-empty[hidden] {
        display: none !important;
    }

.customer-search-wrap {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    padding-bottom: 9px;
}

.customer-search-input {
    width: 100%;
    height: 42px;
    border: 1px solid #dbe1ea;
    border-radius: 9px;
    background: #f8fafc;
    padding: 0 12px 0 39px;
    outline: 0;
    color: #0a1530;
}

    .customer-search-input:focus {
        border-color: #7892fb;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(6,72,245,.07);
    }

    .customer-search-input::placeholder {
        color: #929db0;
    }

.customer-search-icon {
    position: absolute;
    left: 12px;
    top: 21px;
    transform: translateY(-50%);
    color: #7a879c;
    pointer-events: none;
}

    .customer-search-icon .svg-icon {
        width: 19px;
        height: 19px;
    }

.customer-picker-heading {
    padding: 7px 8px 6px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8b95a6;
}

.customer-picker-options {
    display: grid;
    gap: 3px;
}

.customer-option {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #142037;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 13px;
    font-weight: 650;
}

    .customer-option:hover,
    .customer-option:focus-visible {
        background: #f2f6ff;
        color: #0648f5;
        outline: 0;
    }

.customer-option-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #f3f5f9;
    color: #75829a;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
    /*.customer-option-icon .svg-icon{
  width:17px;
  height:17px;
}*/
    .customer-option-icon::before {
        content: "";
        width: 17px;
        height: 17px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 20c.8-3.7 3-5.6 6.5-5.6s5.7 1.9 6.5 5.6'/%3E%3C/svg%3E") center/contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 20c.8-3.7 3-5.6 6.5-5.6s5.7 1.9 6.5 5.6'/%3E%3C/svg%3E") center/contain no-repeat;
    }

.customer-picker-divider {
    height: 1px;
    background: #e8ecf2;
    margin: 9px 3px;
}

.customer-picker-empty {
    padding: 18px 10px;
    text-align: center;
    color: #8b95a6;
    font-size: 12px;
}

@media(max-width:520px) {
    .customer-picker-trigger {
        height: 48px;
        border-radius: 9px;
    }

    .customer-picker .customer-select-value {
        font-size: 13px;
    }

    .customer-picker-menu {
        max-height: min(390px,52vh);
        border-radius: 10px;
        padding: 8px;
    }

    .customer-search-input {
        height: 40px;
        font-size: 16px !important;
    }

    .customer-search-icon {
        top: 20px;
    }

    .customer-option {
        min-height: 39px;
        font-size: 13px;
    }
}
/* searchable-customer-picker:end */
/* hide-transaction-subtitles:start */
.deposit-2-view .page-head p,
.deposit-3-view .page-head p,
.payout-2-view .page-head p,
.payout-3-view .page-head p {
    display: none !important;
}
/* hide-transaction-subtitles:end */
/* single-customer-search-field:start */
.customer-picker .customer-picker-input {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #0a1530;
    font: inherit;
    font-size: 14px;
    line-height: normal;
    appearance: none;
    -webkit-appearance: none;
}

    .customer-picker .customer-picker-input::placeholder {
        color: #8793a7;
        opacity: 1;
    }

    .customer-picker .customer-picker-input::-webkit-search-cancel-button {
        display: none;
        -webkit-appearance: none;
    }

.customer-picker.open .customer-select-chevron {
    transform: translateY(-50%) rotate(270deg);
}

@media(max-width:520px) {
    .customer-picker .customer-picker-input {
        font-size: 16px !important;
    }
}
/* single-customer-search-field:end */
/* unified-page-top-spacing:start */
/* Keep every internal page comfortably separated from the fixed top bar. */
#app > .app:not(:has(.home-view)) > .layout {
    padding-top: 41px !important;
}

@media(max-width:850px) {
    #app > .app:not(:has(.home-view)) > .layout {
        padding-top: 39px !important;
    }
}

@media(max-width:520px) {
    #app > .app:not(:has(.home-view)) > .layout {
        padding-top: 23px !important;
    }
}
/* unified-page-top-spacing:end */
/* remove-simulated-statusbar:start */
.mobile-status,
.status-icons,
.cell-bars,
.wifi-mark,
.battery-mark {
    display: none !important;
}
/* remove-simulated-statusbar:end */
/* create-user-refresh:start */
.create-user-view .create-user-back {
    display: none !important;
}

:has(.create-user-view) .layout {
    width: min(720px,100%);
    padding-bottom: 36px;
}

.create-user-page {
    max-width: 620px;
    margin: 0 auto;
}

.create-user-head {
    min-height: 52px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 44px;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.create-user-back,
.create-user-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(20,40,80,.04);
}

.create-user-back {
    border: 1px solid #e1e6ef;
    color: #0b50ea;
}

    .create-user-back .svg-icon {
        width: 18px;
        height: 18px;
        stroke-width: 2;
        transform: rotate(180deg);
    }

.create-user-close {
    justify-self: end;
    border: 1.4px solid #111;
    color: #0b50ea;
}

    .create-user-close .svg-icon {
        width: 20px;
        height: 20px;
        stroke-width: 1.8;
    }

    .create-user-back:hover,
    .create-user-close:hover {
        background: #f7f9fd;
    }

.create-user-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.create-user-heading-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #edf2ff;
    color: #0648f5;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

    .create-user-heading-icon .svg-icon {
        width: 23px;
        height: 23px;
        stroke-width: 1.8;
    }

.create-user-heading h1 {
    margin: 0;
    color: #07142f;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.4px;
}

.create-user-heading p {
    margin: 4px 0 0;
    color: #7a8598;
    font-size: 11px;
}

.create-user-form-card {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 5px 18px rgba(20,40,80,.035);
}

.create-user-form-title {
    margin-bottom: 20px;
}

    .create-user-form-title h2 {
        margin: 0;
        color: #07142f;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 850;
    }

    .create-user-form-title p {
        margin: 5px 0 0;
        color: #7a8598;
        font-size: 12px;
    }

.create-user-fields {
    display: grid;
    gap: 18px;
}

.create-user-view .field {
    gap: 8px;
}

    .create-user-view .field label {
        color: #0a1530;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 800;
    }

.create-user-input-shell {
    position: relative;
    height: 50px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fbfcfe;
    display: flex;
    align-items: center;
    transition: .15s ease;
}

    .create-user-input-shell:focus-within {
        border-color: #7892fb;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(6,72,245,.07);
    }

.create-user-field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: #7a879c;
    pointer-events: none;
    display: grid;
    place-items: center;
}

    .create-user-field-icon .svg-icon {
        width: 21px;
        height: 21px;
        stroke-width: 1.7;
    }

.create-user-input-shell .control {
    width: 100%;
    height: 100%;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    padding: 0 16px 0 48px;
    outline: 0;
    box-shadow: none !important;
    color: #0a1530;
    font-size: 14px;
}

    .create-user-input-shell .control::placeholder {
        color: #9ba6b8;
        opacity: 1;
    }

.create-user-helper {
    margin: 0;
    color: #8a94a5;
    font-size: 11px;
    line-height: 1.35;
}

.create-user-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

    .create-user-actions .bx-btn {
        min-height: 48px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 800;
    }

.create-user-cancel {
    min-width: 140px;
}

.create-user-submit {
    min-width: 190px;
    background: linear-gradient(90deg,#0751f4,#1d75ff);
    box-shadow: 0 8px 18px rgba(6,72,245,.16);
}

    .create-user-submit span {
        margin-left: 2px;
        font-size: 18px;
        line-height: 1;
    }

@media(max-width:520px) {
    :has(.create-user-view) .layout {
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: 28px;
    }

    .create-user-head {
        min-height: 44px;
        grid-template-columns: minmax(0,1fr) 38px;
        gap: 9px;
        margin-bottom: 14px;
    }

    .create-user-back,
    .create-user-close {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

        .create-user-back .svg-icon {
            width: 16px;
            height: 16px;
        }

        .create-user-close .svg-icon {
            width: 18px;
            height: 18px;
        }

    .create-user-heading {
        gap: 8px;
    }

    .create-user-heading-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

        .create-user-heading-icon .svg-icon {
            width: 20px;
            height: 20px;
        }

    .create-user-heading h1 {
        font-size: 19px;
        letter-spacing: -.25px;
    }

    .create-user-heading p {
        display: none;
    }

    .create-user-form-card {
        border-radius: 12px;
        padding: 18px 16px;
    }

    .create-user-form-title {
        margin-bottom: 17px;
    }

        .create-user-form-title h2 {
            font-size: 18px;
        }

        .create-user-form-title p {
            font-size: 11px;
        }

    .create-user-fields {
        gap: 16px;
    }

    .create-user-view .field label {
        font-size: 12px;
    }

    .create-user-input-shell {
        height: 48px;
        border-radius: 9px;
    }

        .create-user-input-shell .control {
            border-radius: 9px;
            font-size: 16px !important;
        }

    .create-user-actions {
        flex-direction: column-reverse;
        gap: 9px;
        margin-top: 20px;
    }

        .create-user-actions .bx-btn {
            width: 100%;
            min-width: 0;
            min-height: 47px;
        }
}

@media(max-width:350px) {
    :has(.create-user-view) .layout {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .create-user-form-card {
        padding-left: 13px;
        padding-right: 13px;
    }
}
/* create-user-refresh:end */
/* footer-position-adjustment:start */
.footer {
    top: -9px;
}
/* footer-position-adjustment:end */
/* home-mobile-visual-refresh-v40:start */
@media(max-width:520px) {
    /* Topbar: menu left, brand center-left, balance right. No wallet icon. */
    :has(.home-view) .topbar {
        height: 79px;
        background: linear-gradient(112deg,#02091a 0%,#031027 66%,#071936 100%);
        overflow: hidden;
    }

    :has(.home-view) .topbar-main {
        height: 91px;
        transform: translateY(-5px);
        padding: 0 16px;
        gap: 12px;
        align-items: center;
    }

    :has(.home-view) .menu-button {
        order: 1;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 10px;
        background: rgba(33,82,157,.34);
        color: #fff;
    }

        :has(.home-view) .menu-button .svg-icon {
            width: 25px;
            height: 25px;
            stroke-width: 1.7;
        }

    :has(.home-view) .brand-zone {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        height: auto;
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        align-items: center;
        gap: 12px;
    }

    :has(.home-view) .brand {
        min-width: 0;
        font-size: 23px;
        line-height: 1;
        letter-spacing: -.9px;
        text-align: left;
    }

        :has(.home-view) .brand small {
            display: block;
            margin-top: 7px;
            color: #fff;
            font-size: 10px;
            line-height: 1;
            letter-spacing: .2px;
            text-transform: none;
            font-weight: 500;
        }

    :has(.home-view) .mobile-total {
        display: block;
        padding-left: 13px;
        border-left: 1px solid rgba(255,255,255,.22);
        text-align: left;
        white-space: nowrap;
    }

        :has(.home-view) .mobile-total small {
            margin-bottom: 5px;
            color: #d9e0ec;
            font-size: 10px;
            line-height: 1;
        }

        :has(.home-view) .mobile-total strong {
            color: #fff;
            font-size: 19px;
            line-height: 1;
            font-weight: 800;
            letter-spacing: .1px;
        }

    :has(.home-view) .home-button,
    :has(.home-view) .top-spacer,
    :has(.home-view) .balance {
        display: none !important;
    }

    .home-view .quick-grid {
        margin-top: 15px;
    }
    /* Requested overview typography. */
    .home-view .overview-title {
        margin: 0 0 12px;
        color: #0d1424;
        font-size: 15px;
        line-height: 1.12;
        font-weight: 850;
        letter-spacing: -.5px;
    }
    /* Date choices: black, +2px from previous 9px, evenly distributed. */
    .home-view .date-tabs {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 0;
        min-height: 44px;
        margin-bottom: 10px;
        padding: 0;
        overflow: hidden;
        border: 1px solid #e1e7f0;
        border-radius: 10px;
        background: #f5f7fb;
    }

    .home-view .tab {
        min-width: 0;
        height: 44px;
        padding: 0 4px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: #111 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        line-height: 1;
        font-weight: 650;
        text-align: center;
        white-space: nowrap;
    }

        .home-view .tab + .tab {
            border-left: 1px solid #e6eaf1;
        }

        .home-view .tab.active {
            background: #e5edff;
            color: #111 !important;
            font-weight: 800;
        }

    .home-view .custom-date {
        height: 40px;
        margin-bottom: 10px;
        padding: 0 12px;
        border-radius: 9px;
        color: #111;
        font-size: 11px;
        font-weight: 600;
    }

        .home-view .custom-date .svg-icon {
            width: 15px;
            height: 15px;
        }
}
/* home-mobile-visual-refresh-v40:end */
/* unified-topbar-content-gap-v43:start */
/* UI only: keep a precise 5px visual gap below the top bar on every route. */
#app > .app > .layout {
    padding-top: 5px !important;
}
/* Mobile home has its own fixed-header offset; content itself still starts 5px below it. */
@media(max-width:520px) {
    .app:has(.home-view) {
        padding-top: 79px;
    }

    :has(.home-view) .layout {
        padding-top: 5px !important;
    }
    /* Accepted visual treatment for the three quick-action cards. */
    .home-view .quick-card {
        border: 1px solid rgba(74,80,88,.45) !important;
    }
}
/* unified-topbar-content-gap-v43:end */
/* home-drawer-left-v60:start */
/* Drawer is a sibling of the .app shell (home variant), not a descendant. */
:has(.home-view) + .drawer-backdrop + .drawer {
    left: 0;
    right: auto;
    box-shadow: 20px 0 50px rgba(0,0,0,.2);
    transform: translateX(-105%);
}

    :has(.home-view) + .drawer-backdrop + .drawer.open {
        transform: none;
    }
/* home-drawer-left-v60:end */
/* drawer-compact-categories-v62:start */
.drawer {
    width: min(292px,78vw);
}

.drawer-nav {
    padding: 10px 10px 22px;
}

.drawer-category {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 5px 5px;
    padding: 10px 5px 0;
    border-top: 1px solid #e6eaf1;
    color: #18243a;
}

    .drawer-category:first-child {
        margin-top: 4px;
        padding-top: 2px;
        border-top: 0;
    }

.drawer-category-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: 0 0 27px;
}

    .drawer-category-icon .svg-icon {
        width: 16px;
        height: 16px;
        stroke-width: 1.9;
    }

.drawer-category strong {
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.drawer-category.deposit .drawer-category-icon {
    background: #edf8f1;
    color: var(--green);
}

.drawer-category.deposit strong {
    color: var(--green);
}

.drawer-category.payout .drawer-category-icon {
    background: #fff0f2;
    color: var(--red);
}

.drawer-category.payout strong {
    color: var(--red);
}

.drawer-category.other .drawer-category-icon {
    background: #edf1ff;
    color: var(--blue);
}

.drawer-category.other strong {
    color: var(--blue);
}

.drawer-link {
    min-height: 39px;
    padding: 8px 10px 8px 41px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.15;
}

    .drawer-link > span {
        min-width: 0;
    }

    .drawer-link.active {
        background: #edf2ff;
        color: #0b57ee;
        font-weight: 800;
    }

@media(max-width:520px) {
    .drawer {
        width: min(286px,78vw);
    }

    .drawer-nav {
        padding: 8px 9px 18px;
    }

    .drawer-link {
        min-height: 38px;
        padding: 7px 8px 7px 40px;
        font-size: 11.5px;
    }

    .drawer-category {
        margin-top: 10px;
    }
}
/* drawer-compact-categories-v62:end */
/* home-drawer-top-transition-v63:start */
@media(max-width:520px) {
    :has(.home-view) + .drawer-backdrop {
        top: 79px;
    }

        :has(.home-view) + .drawer-backdrop + .drawer {
            top: 79px;
            height: calc(100vh - 79px);
            border-top-right-radius: 16px;
            overflow: hidden;
        }
}
/* home-drawer-top-transition-v63:end */
/* drawer-final-v64:start */
.drawer {
    background: linear-gradient(112deg,#02091a 0%,#031027 66%,#071936 100%);
    color: #fff;
}

.drawer-nav {
    padding: 72px 10px 20px;
    background: transparent;
}

.drawer-primary {
    width: 100%;
    min-height: 50px;
    margin: 0 0 10px;
    padding: 4px 10px 4px 6px;
    border: 1px solid rgba(25,116,230,.32);
    border-radius: 10px;
    background: linear-gradient(90deg,rgba(4,47,95,.8),rgba(6,65,127,.52));
    color: #fff;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) 20px;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.drawer-primary-icon,
.drawer-section-icon,
.drawer-sub-icon {
    display: grid;
    place-items: center;
}

.drawer-primary-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
}

    .drawer-primary-icon .svg-icon {
        width: 24px;
        height: 24px;
        stroke-width: 2;
    }

.drawer-primary strong {
    min-width: 0;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 820;
    letter-spacing: -.1px;
}

.drawer-primary-chevron {
    display: grid;
    place-items: center;
    color: #fff;
}

    .drawer-primary-chevron .svg-icon,
    .drawer-sub-chevron .svg-icon {
        width: 16px;
        height: 16px;
        stroke-width: 2;
    }

.drawer-primary.deposit .drawer-primary-icon {
    background: #069a63;
}

.drawer-primary.payout .drawer-primary-icon {
    background: #f21643;
}

.drawer-primary.turnover .drawer-primary-icon {
    background: linear-gradient(145deg,#7a35bd,#9d43d0);
}

.drawer-primary.active {
    border-color: rgba(70,154,255,.65);
    background: linear-gradient(90deg,rgba(6,61,123,.92),rgba(7,77,151,.62));
}

.drawer-section-title {
    width: 100%;
    min-height: 50px;
    margin: 0 0 4px;
    padding: 4px 10px 4px 6px;
    border: 1px solid rgba(25,116,230,.32);
    border-radius: 10px;
    background: linear-gradient(90deg,rgba(4,47,95,.8),rgba(6,65,127,.52));
    color: #fff;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
    gap: 10px;
}

.drawer-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: linear-gradient(145deg,#0875e8,#075fc6);
    color: #fff;
}

    .drawer-section-icon .svg-icon {
        width: 23px;
        height: 23px;
        stroke-width: 2;
    }

.drawer-section-title strong {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 820;
    letter-spacing: -.1px;
}

.drawer-sub-link {
    width: 100%;
    min-height: 40px;
    padding: 4px 10px 4px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #f3f6fb;
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) 18px;
    align-items: center;
    gap: 9px;
    text-align: left;
}

    .drawer-sub-link:hover,
    .drawer-sub-link.active {
        background: rgba(16,89,174,.22);
    }

.drawer-sub-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(145deg,#0a79ea,#0863c9);
    color: #fff;
}

    .drawer-sub-icon .svg-icon {
        width: 19px;
        height: 19px;
        stroke-width: 1.9;
    }

.drawer-sub-label {
    min-width: 0;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 530;
    white-space: nowrap;
}

.drawer-sub-chevron {
    display: grid;
    place-items: center;
    color: #fff;
}

.drawer-menu-divider,
.drawer-footer-rule {
    height: 1px;
    background: #fff;
    opacity: .95;
}

.drawer-menu-divider {
    margin: 4px 0 8px;
}

.drawer-footer {
    margin-top: 20px;
    text-align: center;
}

.drawer-footer-rule {
    margin-bottom: 16px;
}

.drawer-qr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border-radius: 8px;
    text-decoration: none;
}

.drawer-qr {
    display: block;
    width: 104px;
    height: 104px;
}

.drawer-footer-copy {
    margin-top: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    transform: translateX(1.6px);
}

    .drawer-footer-copy i {
        display: block;
        width: 1px;
        height: 18px;
        background: #fff;
        opacity: .95;
    }

@media(max-width:520px) {
    .drawer-nav {
        padding: 10px 9px 18px;
    }

    .drawer-primary,
    .drawer-section-title {
        min-height: 48px;
    }

    .drawer-primary {
        grid-template-columns: 36px minmax(0,1fr) 18px;
    }

    .drawer-section-title {
        grid-template-columns: 36px minmax(0,1fr);
    }

    .drawer-primary-icon,
    .drawer-section-icon {
        width: 36px;
        height: 36px;
    }

    .drawer-primary strong,
    .drawer-section-title strong {
        font-size: 14px;
    }

    .drawer-sub-link {
        min-height: 38px;
        grid-template-columns: 30px minmax(0,1fr) 17px;
        gap: 8px;
        padding-left: 8px;
    }

    .drawer-sub-icon {
        width: 30px;
        height: 30px;
    }

    .drawer-sub-label {
        font-size: 11.5px;
    }

    .drawer-qr-link,
    .drawer-qr {
        width: 96px;
        height: 96px;
    }
}
/* drawer-final-v64:end */
/* drawer-reference-v65:start */
@media(max-width:520px) {
    /* Header geometry from the supplied reference. */
    .app:has(.home-view) {
        padding-top: 72px !important;
    }

    :has(.home-view) .topbar {
        height: 72px !important;
        overflow: hidden;
    }

    :has(.home-view) .topbar-main {
        height: 72px !important;
        transform: none !important;
        padding: 0 15px !important;
        gap: 10px !important;
        align-items: center;
    }

    :has(.home-view) .menu-button {
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        background: rgba(33,82,157,.34) !important;
    }

        :has(.home-view) .menu-button .svg-icon {
            width: 24px !important;
            height: 24px !important;
            stroke-width: 1.7 !important;
        }

    :has(.home-view) .brand-zone {
        gap: 10px !important;
    }

    :has(.home-view) .brand {
        font-size: 22px !important;
        letter-spacing: -.85px !important;
    }

        :has(.home-view) .brand small {
            margin-top: 6px !important;
            font-size: 9.5px !important;
        }

    :has(.home-view) .mobile-total {
        padding-left: 12px !important;
    }

        :has(.home-view) .mobile-total small {
            margin-bottom: 4px !important;
            font-size: 9.5px !important;
        }

        :has(.home-view) .mobile-total strong {
            font-size: 18px !important;
        }
    /* Drawer starts exactly below the top bar and matches the reference width. */
    :has(.home-view) + .drawer-backdrop {
        top: 72px !important;
        background: rgba(3,9,20,.48) !important;
    }

        :has(.home-view) + .drawer-backdrop + .drawer {
            top: 72px !important;
            left: 0 !important;
            right: auto !important;
            width: min(286px,65vw) !important;
            height: calc(100dvh - 72px) !important;
            border-top-right-radius: 16px !important;
            overflow: hidden !important;
            box-shadow: 20px 0 50px rgba(0,0,0,.2) !important;
        }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-nav {
                height: 100%;
                padding: 8px 8px 14px !important;
                overflow-y: auto;
                overscroll-behavior: contain;
            }
            /* Large category buttons. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title {
                min-height: 42px !important;
                margin-bottom: 9px !important;
                padding: 4px 8px 4px 5px !important;
                border-radius: 9px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary {
                grid-template-columns: 32px minmax(0,1fr) 17px !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title {
                grid-template-columns: 32px minmax(0,1fr) !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-icon,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon {
                width: 32px !important;
                height: 32px !important;
                border-radius: 8px !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-icon .svg-icon,
                :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon .svg-icon {
                    width: 21px !important;
                    height: 21px !important;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary strong,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title strong {
                font-size: 13.5px !important;
                line-height: 1.05 !important;
            }
            /* Secondary menu rows. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-link {
                min-height: 34px !important;
                padding: 3px 7px 3px 7px !important;
                grid-template-columns: 28px minmax(0,1fr) 16px !important;
                gap: 7px !important;
                border-radius: 7px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-icon {
                width: 28px !important;
                height: 28px !important;
                border-radius: 7px !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-icon .svg-icon {
                    width: 18px !important;
                    height: 18px !important;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-label {
                font-size: 11.5px !important;
                line-height: 1.05 !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-chevron .svg-icon,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-chevron .svg-icon {
                width: 14px !important;
                height: 14px !important;
            }
            /* Dividers and footer / QR spacing. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-menu-divider {
                margin: 5px 0 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer {
                margin-top: 14px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-rule {
                margin-bottom: 14px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-link,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr {
                width: 80px !important;
                height: 80px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-copy {
                margin-top: 10px !important;
                gap: 12px !important;
                font-size: 10.5px !important;
                transform: translateX(.5px) !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-copy i {
                    height: 17px !important;
                }
}
/* drawer-reference-v65:end */
/* drawer-reference-v66:start */
@media(max-width:520px) {
    /* Exact proportions of the supplied mobile reference. */
    .app:has(.home-view) {
        padding-top: 52px !important;
    }

    :has(.home-view) .topbar {
        height: 52px !important;
        background: linear-gradient(112deg,#02091a 0%,#031027 66%,#071936 100%) !important;
        overflow: hidden !important;
    }

    :has(.home-view) .topbar-main {
        height: 52px !important;
        transform: none !important;
        padding: 0 13px !important;
        gap: 9px !important;
        align-items: center !important;
    }

    :has(.home-view) .menu-button {
        order: 1 !important;
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        border-radius: 9px !important;
        background: rgba(26,75,145,.40) !important;
        color: #fff !important;
    }

        :has(.home-view) .menu-button .svg-icon {
            width: 23px !important;
            height: 23px !important;
            stroke-width: 1.7 !important;
        }

    :has(.home-view) .brand-zone {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        align-items: center !important;
        gap: 9px !important;
    }

    :has(.home-view) .brand {
        min-width: 0 !important;
        font-size: 20px !important;
        line-height: 1 !important;
        letter-spacing: -.8px !important;
        text-align: left !important;
    }

        :has(.home-view) .brand small {
            display: block !important;
            margin-top: 5px !important;
            color: #fff !important;
            font-size: 8.5px !important;
            line-height: 1 !important;
            letter-spacing: .1px !important;
            text-transform: none !important;
            font-weight: 500 !important;
        }

    :has(.home-view) .mobile-total {
        display: block !important;
        min-width: 112px !important;
        padding-left: 12px !important;
        border-left: 1px solid rgba(255,255,255,.78) !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

        :has(.home-view) .mobile-total small {
            margin-bottom: 4px !important;
            color: #eef2f8 !important;
            font-size: 9px !important;
            line-height: 1 !important;
        }

        :has(.home-view) .mobile-total strong {
            color: #fff !important;
            font-size: 18px !important;
            line-height: 1 !important;
            font-weight: 800 !important;
            letter-spacing: .1px !important;
        }

    :has(.home-view) .home-button,
    :has(.home-view) .top-spacer,
    :has(.home-view) .balance {
        display: none !important;
    }
    /* Drawer panel and dimmed page area. */
    :has(.home-view) + .drawer-backdrop {
        top: 52px !important;
        background: rgba(4,10,20,.48) !important;
    }

        :has(.home-view) + .drawer-backdrop + .drawer {
            top: 52px !important;
            left: 0 !important;
            right: auto !important;
            width: 61vw !important;
            max-width: 300px !important;
            height: calc(100dvh - 52px) !important;
            border-top-right-radius: 14px !important;
            overflow: hidden !important;
            background: linear-gradient(112deg,#02091a 0%,#031027 66%,#071936 100%) !important;
            box-shadow: 20px 0 50px rgba(0,0,0,.2) !important;
        }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-nav {
                height: 100% !important;
                padding: 12px 13px 16px !important;
                overflow-y: auto !important;
                overscroll-behavior: contain !important;
            }
            /* Four primary blocks. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title {
                min-height: 42px !important;
                margin: 0 0 10px !important;
                padding: 4px 8px 4px 5px !important;
                border: 1px solid rgba(25,116,230,.34) !important;
                border-radius: 9px !important;
                background: linear-gradient(90deg,rgba(4,47,95,.82),rgba(6,65,127,.54)) !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary {
                grid-template-columns: 32px minmax(0,1fr) 16px !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title {
                grid-template-columns: 32px minmax(0,1fr) !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-icon,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon {
                width: 32px !important;
                height: 32px !important;
                border-radius: 8px !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-icon .svg-icon,
                :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon .svg-icon {
                    width: 21px !important;
                    height: 21px !important;
                    stroke-width: 2 !important;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary strong,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title strong {
                font-size: 13.5px !important;
                line-height: 1.05 !important;
                font-weight: 820 !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary.deposit .drawer-primary-icon {
                background: #07995f !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary.payout .drawer-primary-icon {
                background: #f21643 !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary.turnover .drawer-primary-icon {
                background: linear-gradient(145deg,#7a35bd,#9d43d0) !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon {
                background: linear-gradient(145deg,#0875e8,#075fc6) !important;
            }
            /* Secondary rows. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-link {
                min-height: 36px !important;
                padding: 3px 7px 3px 7px !important;
                grid-template-columns: 29px minmax(0,1fr) 16px !important;
                gap: 8px !important;
                border-radius: 7px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-icon {
                width: 29px !important;
                height: 29px !important;
                border-radius: 7px !important;
                background: linear-gradient(145deg,#0a79ea,#0863c9) !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-icon .svg-icon {
                    width: 18px !important;
                    height: 18px !important;
                    stroke-width: 1.9 !important;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-label {
                font-size: 11.5px !important;
                line-height: 1.05 !important;
                font-weight: 530 !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-chevron .svg-icon,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-chevron .svg-icon {
                width: 14px !important;
                height: 14px !important;
                stroke-width: 2 !important;
            }
            /* Separators and lower QR block. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-menu-divider {
                margin: 4px 0 9px !important;
                opacity: .95 !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer {
                margin-top: 22px !important;
                text-align: center !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-rule {
                margin-bottom: 18px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-link,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr {
                width: 64px !important;
                height: 64px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-copy {
                margin-top: 13px !important;
                gap: 12px !important;
                color: #fff !important;
                font-size: 10.5px !important;
                line-height: 1 !important;
                transform: none !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-copy i {
                    height: 17px !important;
                }
}
/* drawer-reference-v66:end */
/* drawer-reference-v67:start */
@media(max-width:520px) {
    /* Reference top bar: 46px high in CSS coordinates. */
    .app:has(.home-view) {
        padding-top: 46px !important;
    }

    :has(.home-view) .topbar {
        height: 46px !important;
    }

    :has(.home-view) .topbar-main {
        height: 46px !important;
        padding: 0 13px !important;
        gap: 9px !important;
        transform: none !important;
    }

    :has(.home-view) .menu-button {
        flex-basis: 34px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 8px !important;
    }

        :has(.home-view) .menu-button .svg-icon {
            width: 22px !important;
            height: 22px !important;
        }

    :has(.home-view) .brand {
        font-size: 20px !important;
    }

        :has(.home-view) .brand small {
            margin-top: 4px !important;
            font-size: 8.5px !important;
        }

    :has(.home-view) .mobile-total {
        min-width: 110px !important;
        padding-left: 11px !important;
    }

        :has(.home-view) .mobile-total small {
            margin-bottom: 3px !important;
            font-size: 8.5px !important;
        }

        :has(.home-view) .mobile-total strong {
            font-size: 17px !important;
        }
    /* Reference drawer width = ~60.5% of the viewport. */
    :has(.home-view) + .drawer-backdrop {
        top: 46px !important;
    }

        :has(.home-view) + .drawer-backdrop + .drawer {
            top: 46px !important;
            width: 60.5vw !important;
            max-width: none !important;
            height: calc(100dvh - 46px) !important;
            border-top-right-radius: 12px !important;
        }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-nav {
                padding: 12px 13px 14px !important;
            }
            /* Primary blocks are visibly shorter in the reference. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title {
                min-height: 32px !important;
                margin-bottom: 9px !important;
                padding: 2px 7px 2px 5px !important;
                border-radius: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary {
                grid-template-columns: 30px minmax(0,1fr) 15px !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title {
                grid-template-columns: 30px minmax(0,1fr) !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-icon,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon {
                width: 30px !important;
                height: 30px !important;
                border-radius: 7px !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-icon .svg-icon,
                :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-icon .svg-icon {
                    width: 20px !important;
                    height: 20px !important;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary strong,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-section-title strong {
                font-size: 13px !important;
                line-height: 1 !important;
            }
            /* Compact secondary rows. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-link {
                min-height: 28px !important;
                padding: 2px 7px !important;
                grid-template-columns: 27px minmax(0,1fr) 15px !important;
                gap: 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-icon {
                width: 27px !important;
                height: 27px !important;
                border-radius: 7px !important;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-icon .svg-icon {
                    width: 17px !important;
                    height: 17px !important;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-label {
                font-size: 11px !important;
                line-height: 1 !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary-chevron .svg-icon,
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-sub-chevron .svg-icon {
                width: 13px !important;
                height: 13px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-menu-divider {
                margin: 5px 0 8px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer {
                margin-top: 31px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-rule {
                margin-bottom: 18px !important;
            }
            /* QR block from the reference, including the Telegram center badge. */
            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-link {
                position: relative !important;
                width: 60px !important;
                height: 60px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr {
                width: 60px !important;
                height: 60px !important;
            }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-telegram {
                position: absolute;
                left: 50%;
                top: 50%;
                width: 21px;
                height: 21px;
                transform: translate(-50%,-50%);
                border: 2px solid #fff;
                border-radius: 50%;
                background: #0796e8;
                color: #fff;
                display: grid;
                place-items: center;
                box-shadow: 0 1px 4px rgba(0,0,0,.25);
                pointer-events: none;
            }

                :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-telegram .svg-icon {
                    width: 12px;
                    height: 12px;
                }

            :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer-copy {
                margin-top: 18px !important;
                gap: 12px !important;
                font-size: 10.5px !important;
            }
}
/* drawer-reference-v67:end */
/* drawer-qr-left-v68:start */
@media(max-width:520px) {
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-link {
        transform: translateX(-11px) !important;
    }
}
/* drawer-qr-left-v68:end */
/* drawer-footer-bottom-v69:start */
@media(max-width:520px) {
    /* Keep the complete QR/footer block at the lower reference position. */
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-nav {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        padding-bottom: 24px !important;
    }

    :has(.home-view) + .drawer-backdrop + .drawer .drawer-footer {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }
    /* Preserve the approved QR-only 11px left offset. */
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-qr-link {
        transform: translateX(-11px) !important;
    }
}
/* drawer-footer-bottom-v69:end */
/* home-topbar-visible-top-space-v82:start */
@media(max-width:520px) {
    /* Keep the top-bar outer geometry unchanged.
     Move only its inner content 3px downward so 3px of the dark bar
     becomes visibly exposed above the content. */
    :has(.home-view) .topbar {
        top: -17px !important;
        height: 70px !important;
    }

    :has(.home-view) .topbar-main {
        height: 46px !important;
        transform: translateY(20px) !important;
    }
}
/* home-topbar-visible-top-space-v82:end */
/* drawer-bookkeeping-gap-v79:start */
@media(max-width:520px) {
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary.turnover {
        margin-bottom: 30px !important;
    }
}
/* drawer-bookkeeping-gap-v79:end */
/* drawer-deposit-down-v83:start */
@media(max-width:520px) {
    /* Move only the Einzahlung card visually 10px downward.
     All other drawer elements keep their exact layout positions. */
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-primary.deposit {
        transform: translateY(10px) !important;
    }
}
/* drawer-deposit-down-v83:end */
/* unified-home-topbar-drawer-v84:start */
@media(max-width:520px) {
    /* Apply the Startseite top-bar appearance to every route.
     Page content spacing/layout is intentionally untouched. */
    #app > .app .topbar {
        top: -17px !important;
        height: 70px !important;
        background: linear-gradient(112deg,#02091a 0%,#031027 66%,#071936 100%) !important;
        overflow: hidden !important;
    }

    #app > .app .topbar-main {
        height: 46px !important;
        padding: 0 13px !important;
        gap: 9px !important;
        align-items: center !important;
        transform: translateY(20px) !important;
    }

    #app > .app .menu-button {
        order: 1 !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        background: rgba(26,75,145,.40) !important;
        color: #fff !important;
    }

        #app > .app .menu-button .svg-icon {
            width: 22px !important;
            height: 22px !important;
            stroke-width: 1.7 !important;
        }

    #app > .app .brand-zone {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        align-items: center !important;
        gap: 9px !important;
    }

    #app > .app .brand {
        min-width: 0 !important;
        font-size: 20px !important;
        line-height: 1 !important;
        letter-spacing: -.8px !important;
        text-align: left !important;
    }

        #app > .app .brand small {
            display: block !important;
            margin-top: 4px !important;
            color: #fff !important;
            font-size: 8.5px !important;
            line-height: 1 !important;
            letter-spacing: .1px !important;
            text-transform: none !important;
            font-weight: 500 !important;
        }

    #app > .app .mobile-total {
        display: block !important;
        min-width: 110px !important;
        padding-left: 11px !important;
        border-left: 1px solid rgba(255,255,255,.78) !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

        #app > .app .mobile-total small {
            margin-bottom: 3px !important;
            color: #eef2f8 !important;
            font-size: 8.5px !important;
            line-height: 1 !important;
        }

        #app > .app .mobile-total strong {
            color: #fff !important;
            font-size: 17px !important;
            line-height: 1 !important;
            font-weight: 800 !important;
            letter-spacing: .1px !important;
        }

    #app > .app .home-button,
    #app > .app .top-spacer,
    #app > .app .balance {
        display: none !important;
    }
    /* Apply the Startseite drawer appearance to every route. */
    #app > .app + .drawer-backdrop {
        top: 46px !important;
        background: rgba(4,10,20,.48) !important;
    }

        #app > .app + .drawer-backdrop + .drawer {
            top: 46px !important;
            left: 0 !important;
            right: auto !important;
            width: 60.5vw !important;
            max-width: none !important;
            height: calc(100dvh - 46px) !important;
            border-top-right-radius: 12px !important;
            overflow: hidden !important;
            background: linear-gradient(112deg,#02091a 0%,#031027 66%,#071936 100%) !important;
            box-shadow: 20px 0 50px rgba(0,0,0,.2) !important;
        }

            #app > .app + .drawer-backdrop + .drawer .drawer-nav {
                display: flex !important;
                flex-direction: column !important;
                height: 100% !important;
                padding: 12px 13px 24px !important;
                overflow-y: auto !important;
                overscroll-behavior: contain !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary,
            #app > .app + .drawer-backdrop + .drawer .drawer-section-title {
                min-height: 32px !important;
                margin: 0 0 9px !important;
                padding: 2px 7px 2px 5px !important;
                border: 1px solid rgba(25,116,230,.34) !important;
                border-radius: 8px !important;
                background: linear-gradient(90deg,rgba(4,47,95,.82),rgba(6,65,127,.54)) !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary {
                grid-template-columns: 30px minmax(0,1fr) 15px !important;
                gap: 8px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-section-title {
                grid-template-columns: 30px minmax(0,1fr) !important;
                gap: 8px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary-icon,
            #app > .app + .drawer-backdrop + .drawer .drawer-section-icon {
                width: 30px !important;
                height: 30px !important;
                border-radius: 7px !important;
            }

                #app > .app + .drawer-backdrop + .drawer .drawer-primary-icon .svg-icon,
                #app > .app + .drawer-backdrop + .drawer .drawer-section-icon .svg-icon {
                    width: 20px !important;
                    height: 20px !important;
                }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary strong,
            #app > .app + .drawer-backdrop + .drawer .drawer-section-title strong {
                font-size: 13px !important;
                line-height: 1 !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary.deposit .drawer-primary-icon {
                background: #07995f !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary.payout .drawer-primary-icon {
                background: #f21643 !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary.turnover .drawer-primary-icon {
                background: linear-gradient(145deg,#7a35bd,#9d43d0) !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-section-icon {
                background: linear-gradient(145deg,#0875e8,#075fc6) !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-sub-link {
                min-height: 28px !important;
                padding: 2px 7px !important;
                grid-template-columns: 27px minmax(0,1fr) 15px !important;
                gap: 8px !important;
                border-radius: 7px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-sub-icon {
                width: 27px !important;
                height: 27px !important;
                border-radius: 7px !important;
                background: linear-gradient(145deg,#0a79ea,#0863c9) !important;
            }

                #app > .app + .drawer-backdrop + .drawer .drawer-sub-icon .svg-icon {
                    width: 17px !important;
                    height: 17px !important;
                }

            #app > .app + .drawer-backdrop + .drawer .drawer-sub-label {
                font-size: 11px !important;
                line-height: 1 !important;
                font-weight: 530 !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary-chevron .svg-icon,
            #app > .app + .drawer-backdrop + .drawer .drawer-sub-chevron .svg-icon {
                width: 13px !important;
                height: 13px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-menu-divider {
                margin: 5px 0 8px !important;
                opacity: .95 !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary.turnover {
                margin-bottom: 30px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-primary.deposit {
                transform: translateY(10px) !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-footer {
                flex: 0 0 auto !important;
                width: 100% !important;
                margin-top: auto !important;
                margin-bottom: 0 !important;
                text-align: center !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-footer-rule {
                margin-bottom: 18px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-qr-link {
                position: relative !important;
                width: 60px !important;
                height: 60px !important;
                transform: translateX(-11px) !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-qr {
                width: 60px !important;
                height: 60px !important;
            }

            #app > .app + .drawer-backdrop + .drawer .drawer-qr-telegram {
                position: absolute !important;
                left: 50% !important;
                top: 50% !important;
                width: 21px !important;
                height: 21px !important;
                transform: translate(-50%,-50%) !important;
                border: 2px solid #fff !important;
                border-radius: 50% !important;
                background: #0796e8 !important;
                color: #fff !important;
                display: grid !important;
                place-items: center !important;
                box-shadow: 0 1px 4px rgba(0,0,0,.25) !important;
                pointer-events: none !important;
            }

                #app > .app + .drawer-backdrop + .drawer .drawer-qr-telegram .svg-icon {
                    width: 12px !important;
                    height: 12px !important;
                }

            #app > .app + .drawer-backdrop + .drawer .drawer-footer-copy {
                margin-top: 18px !important;
                gap: 12px !important;
                color: #fff !important;
                font-size: 10.5px !important;
                line-height: 1 !important;
                transform: none !important;
            }

                #app > .app + .drawer-backdrop + .drawer .drawer-footer-copy i {
                    height: 17px !important;
                }
}
/* unified-home-topbar-drawer-v84:end */
/* all-pages-drawer-state-fix-v85:start */
@media(max-width:520px) {
    /* On every page/subpage, keep the left drawer fully outside the
     viewport while closed, and place it exactly at the Startseite
     position when opened. This fixes the partially visible drawer
     on internal pages without changing its dimensions or contents. */
    #app > .app + .drawer-backdrop + .drawer {
        transform: translateX(-105%) !important;
    }

        #app > .app + .drawer-backdrop + .drawer.open {
            transform: none !important;
        }
}
/* all-pages-drawer-state-fix-v85:end */
/* wettscheine-header-filter-v88:start */
.coupons-view .wettscheine-extra-filter {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 16px;
}

    .coupons-view .wettscheine-extra-filter .svg-icon {
        width: 18px;
        height: 18px;
    }

@media(max-width:520px) {
    .coupons-view .wettscheine-extra-filter {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
    }
}
/* wettscheine-header-filter-v88:end */
/* coupon-filter-approved-v91:start */
.coupon-filters-view .coupon-filter-shell {
    width: min(760px,100%);
    margin: 0 auto;
}

.coupon-filters-view .coupon-filter-hero {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid #dbe4f2;
    border-radius: 16px;
    background: linear-gradient(130deg,transparent 0 72%,rgba(221,232,252,.58) 72% 82%,transparent 82%), linear-gradient(135deg,#fff,#f8fbff);
    box-shadow: 0 4px 18px rgba(20,40,80,.035);
}

.coupon-filters-view .coupon-filter-hero-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid #cbdcff;
    border-radius: 15px;
    background: linear-gradient(145deg,#f8fbff,#edf4ff);
    color: var(--blue);
}

    .coupon-filters-view .coupon-filter-hero-icon .svg-icon {
        width: 36px;
        height: 36px;
        stroke-width: 2;
    }

.coupon-filters-view .coupon-filter-hero-copy h1 {
    margin: 0 0 7px;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.5px;
}

.coupon-filters-view .coupon-filter-back {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
}

    .coupon-filters-view .coupon-filter-back > span {
        font-size: 20px;
        line-height: 1;
    }

    .coupon-filters-view .coupon-filter-back strong {
        font-weight: 800;
    }

.coupon-filters-view .coupon-filter-list {
    display: grid;
    gap: 12px;
}

.coupon-filters-view .coupon-filter-row {
    display: grid;
    grid-template-columns: 54px minmax(0,1fr);
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 13px 16px;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20,40,80,.028);
}

.coupon-filters-view .coupon-filter-row-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #f0f4f9;
    color: #081a37;
}

    .coupon-filters-view .coupon-filter-row-icon .svg-icon {
        width: 28px;
        height: 28px;
        stroke-width: 1.9;
    }

.coupon-filters-view .coupon-filter-field {
    min-width: 0;
}

    .coupon-filters-view .coupon-filter-field label {
        display: block;
        margin-bottom: 7px;
        font-size: 16px;
        font-weight: 800;
        color: #0c1930;
    }

    .coupon-filters-view .coupon-filter-field .control {
        height: 48px;
        border-color: #d2dcee;
        border-radius: 10px;
        font-size: 15px;
    }

.coupon-filters-view .coupon-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

    .coupon-filters-view .coupon-filter-actions .bx-btn {
        min-height: 54px;
        font-size: 16px;
        border-radius: 11px;
    }

@media(max-width:520px) {
    .coupon-filters-view .coupon-filter-shell {
        width: 100%;
    }

    .coupon-filters-view .coupon-filter-hero {
        grid-template-columns: 46px minmax(0,1fr);
        gap: 10px;
        margin-bottom: 12px;
        padding: 10px 11px;
        border-radius: 12px;
    }

    .coupon-filters-view .coupon-filter-hero-icon {
        width: 46px;
        height: 46px;
        border-radius: 10px;
    }

        .coupon-filters-view .coupon-filter-hero-icon .svg-icon {
            width: 25px;
            height: 25px;
        }

    .coupon-filters-view .coupon-filter-hero-copy h1 {
        margin-bottom: 4px;
        font-size: 19px;
        letter-spacing: -.25px;
    }

    .coupon-filters-view .coupon-filter-back {
        gap: 5px;
        font-size: 11px;
    }

        .coupon-filters-view .coupon-filter-back > span {
            font-size: 15px;
        }

    .coupon-filters-view .coupon-filter-list {
        gap: 9px;
    }

    .coupon-filters-view .coupon-filter-row {
        grid-template-columns: 42px minmax(0,1fr);
        gap: 11px;
        min-height: 70px;
        padding: 9px 11px;
        border-radius: 11px;
    }

    .coupon-filters-view .coupon-filter-row-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

        .coupon-filters-view .coupon-filter-row-icon .svg-icon {
            width: 23px;
            height: 23px;
        }

    .coupon-filters-view .coupon-filter-field label {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .coupon-filters-view .coupon-filter-field .control {
        height: 39px;
        padding: 0 11px;
        border-radius: 8px;
        font-size: 13px;
    }

    .coupon-filters-view .coupon-filter-actions {
        gap: 9px;
        margin-top: 10px;
    }

        .coupon-filters-view .coupon-filter-actions .bx-btn {
            min-height: 46px;
            padding: 10px 12px;
            font-size: 14px;
            border-radius: 9px;
        }
}
/* coupon-filter-approved-v91:end */
/* wettscheine-slim-toggle-cards-v92:start */
@media(max-width:520px) {
    .coupons-view .toggle-grid {
        gap: 8px;
        margin-bottom: 14px;
    }

    .coupons-view .toggle-card {
        padding: 8px 12px;
        min-height: 42px;
        border-radius: 9px;
        gap: 10px;
    }

        .coupons-view .toggle-card .switch {
            width: 38px;
            height: 22px;
        }

            .coupons-view .toggle-card .switch:before {
                width: 16px;
                height: 16px;
                top: 3px;
                left: 3px;
            }

            .coupons-view .toggle-card .switch.on:before {
                left: 19px;
            }
}
/* wettscheine-slim-toggle-cards-v92:end */
/* wettscheine-compact-search-actions-v94:start */
@media(max-width:520px) {
    .coupons-view .wettscheine-extra-filter {
        min-height: 40px;
        margin-bottom: 11px;
        padding: 8px 12px;
        border-radius: 9px;
        font-size: 13px;
    }

        .coupons-view .wettscheine-extra-filter .svg-icon {
            width: 17px;
            height: 17px;
        }

    .coupons-view .filters.three {
        gap: 9px;
        margin-bottom: 0;
    }

    .coupons-view .filters .field {
        gap: 5px;
    }

        .coupons-view .filters .field label {
            font-size: 12px;
        }

    .coupons-view .filters .control {
        height: 40px;
        padding: 0 11px;
        border-radius: 8px;
        font-size: 13px;
    }

    .coupons-view .filter-actions {
        gap: 8px;
        margin-top: 2px;
    }

        .coupons-view .filter-actions .bx-btn {
            min-height: 39px;
            padding: 7px 12px;
            border-radius: 9px;
            font-size: 13px;
        }
}
/* wettscheine-compact-search-actions-v94:end */
/* unified-subpage-top-gap-v97:start */
@media(max-width:520px) {
    /* Keep the mobile top bar unchanged. Only reduce the content's
     top offset on every page/subpage except the Startseite.
     Existing internal spacing, sizes and horizontal positioning stay intact. */
    #app > .app:not(:has(.home-view)) > .layout {
        padding-top: 8px !important;
    }
}
/* unified-subpage-top-gap-v97:end */
/* wettscheine-compact-table-v100:start */
@media(max-width:520px) {
    .coupons-view .table-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .coupons-view .data-table {
        width: max-content;
        min-width: 0 !important;
        font-size: 11.5px;
        table-layout: auto;
    }

        .coupons-view .data-table th {
            padding: 9px 5px;
            line-height: 1.15;
            font-size: 11.5px;
            font-weight: 800;
        }

        .coupons-view .data-table td {
            padding: 8px 5px;
            height: 42px;
            line-height: 1.15;
            vertical-align: middle;
        }
            /* Let every column use its real content width instead of reserving extra space. */
            .coupons-view .data-table th:nth-child(1),
            .coupons-view .data-table td:nth-child(1) {
                width: auto;
                min-width: 72px;
                max-width: 100px;
            }

            .coupons-view .data-table th:nth-child(2),
            .coupons-view .data-table td:nth-child(2) {
                width: auto;
                min-width: 86px;
            }

            .coupons-view .data-table th:nth-child(3),
            .coupons-view .data-table td:nth-child(3) {
                width: auto;
                min-width: 50px;
                text-align: right;
            }

            .coupons-view .data-table th:nth-child(4),
            .coupons-view .data-table td:nth-child(4) {
                width: auto;
                min-width: 54px;
                text-align: center;
            }

            .coupons-view .data-table th:nth-child(5),
            .coupons-view .data-table td:nth-child(5) {
                width: auto;
                min-width: 68px;
                text-align: right;
            }

            .coupons-view .data-table th:nth-child(6),
            .coupons-view .data-table td:nth-child(6) {
                width: auto;
                min-width: 46px;
                text-align: center;
            }

            .coupons-view .data-table th:nth-child(7),
            .coupons-view .data-table td:nth-child(7) {
                width: auto;
                min-width: 34px;
            }

            .coupons-view .data-table td:first-child,
            .coupons-view .data-table td:first-child strong {
                white-space: normal;
            }

                .coupons-view .data-table td:first-child strong {
                    display: block;
                    overflow: visible;
                    text-overflow: clip;
                    line-height: 1.15;
                }

        .coupons-view .data-table .status {
            padding: 4px 6px;
            border-radius: 5px;
            font-size: 9px;
            line-height: 1;
        }

        .coupons-view .data-table .bx-btn.bx-small {
            min-height: 28px;
            padding: 5px 8px;
            border-radius: 7px;
            font-size: 10px;
            line-height: 1;
        }
}
/* wettscheine-compact-table-v100:end */
/* wettscheine-open-button-v102:start */
.coupons-view .coupon-open-btn {
    min-height: 32px;
    padding: 5px 8px;
    border: 1px solid #aebfff;
    border-radius: 8px;
    background: #f4f7ff;
    color: #164ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(22,78,216,.07);
    transition: .16s ease;
}

    .coupons-view .coupon-open-btn:hover {
        background: #eaf0ff;
        border-color: #7695ff;
        box-shadow: 0 4px 10px rgba(22,78,216,.12);
    }

    .coupons-view .coupon-open-btn:active {
        transform: translateY(1px);
    }

.coupons-view .coupon-open-eye {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
}

    .coupons-view .coupon-open-eye .svg-icon {
        width: 16px;
        height: 16px;
        stroke-width: 1.9;
    }

.coupons-view .coupon-open-arrow {
    font-size: 17px;
    line-height: .8;
    margin-left: 1px;
}

@media(max-width:520px) {
    .coupons-view .coupon-open-btn {
        min-height: 28px;
        padding: 4px 6px;
        gap: 4px;
        border-radius: 7px;
        font-size: 9.5px;
    }

    .coupons-view .coupon-open-eye,
    .coupons-view .coupon-open-eye .svg-icon {
        width: 14px;
        height: 14px;
    }

    .coupons-view .coupon-open-arrow {
        font-size: 15px;
    }
}
/* wettscheine-open-button-v102:end */
/* wettscheine-max-profit-emphasis-v110:start */
.coupons-view .data-table td:nth-child(4) {
    text-align: left;
    font-weight: 800;
}

@media(max-width:520px) {
    .coupons-view .data-table td:nth-child(4) {
        text-align: left;
        font-weight: 800;
    }
}
/* wettscheine-max-profit-emphasis-v110:end */
/* wettscheine-column-order-v106:start */
.coupons-view .coupon-row-meta {
    display: block;
    margin-top: 3px;
    color: #4f5968;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.05;
    white-space: nowrap;
}

.coupons-view .coupon-type {
    font-size: 10px;
    font-weight: 800;
    color: #26354f;
    white-space: nowrap;
}

@media(max-width:520px) {
    .coupons-view .data-table th,
    .coupons-view .data-table td {
        padding-left: 5px;
        padding-right: 5px;
    }

        .coupons-view .data-table th:nth-child(1),
        .coupons-view .data-table td:nth-child(1) {
            width: auto;
            min-width: 88px;
            max-width: 110px;
        }

        .coupons-view .data-table th:nth-child(2),
        .coupons-view .data-table td:nth-child(2) {
            width: auto;
            min-width: 52px;
            text-align: right;
        }

        .coupons-view .data-table th:nth-child(3),
        .coupons-view .data-table td:nth-child(3) {
            width: auto;
            min-width: 56px;
            text-align: center;
        }

        .coupons-view .data-table th:nth-child(4),
        .coupons-view .data-table td:nth-child(4) {
            width: auto;
            min-width: 68px;
            text-align: right;
        }

        .coupons-view .data-table th:nth-child(5),
        .coupons-view .data-table td:nth-child(5) {
            width: auto;
            min-width: 46px;
            text-align: center;
        }

        .coupons-view .data-table th:nth-child(6),
        .coupons-view .data-table td:nth-child(6) {
            width: auto;
            min-width: 66px;
            text-align: center;
        }

        .coupons-view .data-table th:nth-child(7),
        .coupons-view .data-table td:nth-child(7) {
            width: auto;
            min-width: 70px;
            text-align: left;
        }
}
/* wettscheine-column-order-v106:end */
/* wettscheine-status-cell-shading-v111:start */
/* Very subtle status shading only for Einsatz, Status and Max. Gewinn. */
.coupons-view .coupon-status-row.coupon-status-loss > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-loss > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-loss > td:nth-child(4) {
    background: rgba(239,68,68,.065);
}

.coupons-view .coupon-status-row.coupon-status-won > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-won > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-won > td:nth-child(4) {
    background: rgba(34,197,94,.065);
}

.coupons-view .coupon-status-row.coupon-status-cancelled > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-cancelled > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-cancelled > td:nth-child(4),
.coupons-view .coupon-status-row.coupon-status-canceled > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-canceled > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-canceled > td:nth-child(4),
.coupons-view .coupon-status-row.coupon-status-storniert > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-storniert > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-storniert > td:nth-child(4) {
    background: rgba(59,130,246,.065);
}

.coupons-view .coupon-status-row.coupon-status-sold > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-sold > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-sold > td:nth-child(4),
.coupons-view .coupon-status-row.coupon-status-verkauft > td:nth-child(2),
.coupons-view .coupon-status-row.coupon-status-verkauft > td:nth-child(3),
.coupons-view .coupon-status-row.coupon-status-verkauft > td:nth-child(4) {
    background: rgba(245,158,11,.07);
}
/* wettscheine-status-cell-shading-v111:end */
/* coupon-detail-mobile-horizontal-scroll-v120:start */
@media(max-width:520px) {
    /* Horizontal swipe only for the Wett-Details table. */
    .coupon-detail-view .table-card .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
    }

    .coupon-detail-view .table-card .data-table {
        min-width: 820px;
        width: 100%;
        table-layout: auto;
    }
}
/* coupon-detail-mobile-horizontal-scroll-v120:end */
/* coupon-detail-title-29px-v121:start */
.coupon-detail-view .ticket-head h1 {
    font-size: 20px !important;
}
/* coupon-detail-title-29px-v121:end */
/* coupon-detail-approved-table-v122:start */
.coupon-detail-view .coupon-detail-table .data-table {
    min-width: 1050px;
}

    .coupon-detail-view .coupon-detail-table .data-table th,
    .coupon-detail-view .coupon-detail-table .data-table td {
        padding-left: 14px;
        padding-right: 14px;
    }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(1),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(1) {
            min-width: 205px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(2),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(2) {
            min-width: 135px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(3),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(3) {
            min-width: 105px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(4),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(4) {
            min-width: 72px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(5),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(5) {
            min-width: 76px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(6),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(6) {
            min-width: 108px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(7),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(7) {
            min-width: 190px;
        }

        .coupon-detail-view .coupon-detail-table .data-table th:nth-child(8),
        .coupon-detail-view .coupon-detail-table .data-table td:nth-child(8) {
            min-width: 92px;
        }

.coupon-detail-view .bet-team-cell {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.coupon-detail-view .bet-team-lines,
.coupon-detail-view .bet-league-lines {
    display: grid;
    gap: 3px;
    line-height: 1.2;
    white-space: normal;
}

.coupon-detail-view .bet-status-dot {
    width: 9px;
    height: 9px;
    margin-top: 3px;
    border-radius: 50%;
    flex: 0 0 9px;
}

    .coupon-detail-view .bet-status-dot.loss {
        background: #EF4444
    }

    .coupon-detail-view .bet-status-dot.won {
        background: #22C55E
    }

    .coupon-detail-view .bet-status-dot.cancelled {
        background: #3B82F6
    }

.coupon-detail-view .bet-detail-bold {
    font: inherit;
    font-weight: 800;
}

.coupon-detail-view .status.won {
    background: #e3f7eb;
    color: #087d37;
}

.coupon-detail-view .status.cancelled {
    background: #e8f1ff;
    color: #1767d6;
}

@media(max-width:520px) {
    .coupon-detail-view .coupon-detail-table .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
    }

    .coupon-detail-view .coupon-detail-table .data-table {
        min-width: 1050px !important;
        width: max-content;
    }
}
/* coupon-detail-approved-table-v122:end */
/* coupon-detail-back-link-highlight-v123:start */
.coupon-detail-view .back-link {
    min-height: 38px;
    padding: 8px 12px;
    margin-bottom: 18px;
    border: 1px solid #c9d7ff;
    border-radius: 10px;
    background: #f3f6ff;
    color: #0b50ea;
    font-weight: 800;
    align-items: center;
    box-shadow: 0 2px 8px rgba(11,80,234,.06);
}

    .coupon-detail-view .back-link:hover {
        background: #eaf0ff;
        border-color: #9eb7ff;
    }
/* coupon-detail-back-link-highlight-v123:end */
/* coupon-detail-title-status-v126:start */
.coupon-detail-view .ticket-title-label,
.coupon-detail-view .ticket-title-number {
    display: block;
}

.coupon-detail-view .ticket-title-number {
    margin-top: 2px;
}

.coupon-detail-view .ticket-meta .ticket-status-loss {
    color: #EF4444;
}

.coupon-detail-view .ticket-meta .ticket-status-won {
    color: #22C55E;
}

.coupon-detail-view .ticket-meta .ticket-status-open {
    color: #111;
}

.coupon-detail-view .ticket-meta .ticket-status-cancelled {
    color: #3B82F6;
}
/* coupon-detail-title-status-v126:end */
/* coupon-detail-user-heading-v127:start */
.coupon-detail-view .ticket-head > strong {
    margin-left: auto;
    margin-right: 15px;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

@media(max-width:520px) {
    .coupon-detail-view .ticket-head > strong {
        margin-left: auto;
        margin-right: 15px;
        font-size: 18px;
        font-weight: 800;
        text-align: right;
        white-space: nowrap;
    }
}
/* coupon-detail-user-heading-v127:end */
/* wettscheine-selected-row-v132:start */
.coupons-view .coupon-status-row.coupon-selected-row > td {
    background-image: linear-gradient(rgba(6,72,245,.045),rgba(6,72,245,.045));
    box-shadow: inset 0 1px 0 rgba(6,72,245,.18),inset 0 -1px 0 rgba(6,72,245,.18);
}

    .coupons-view .coupon-status-row.coupon-selected-row > td:first-child {
        box-shadow: inset 3px 0 0 #6f8ff7,inset 0 1px 0 rgba(6,72,245,.18),inset 0 -1px 0 rgba(6,72,245,.18);
    }
/* wettscheine-selected-row-v132:end */
/* turnover-functional-layout-v134:start */
.turnover-view .turnover-period-card,
.turnover-view .turnover-summary-card,
.turnover-view .turnover-shop-card,
.turnover-view .turnover-records-card {
    width: 100%;
}

.turnover-view .turnover-date-tabs {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    margin-bottom: 10px;
}

    .turnover-view .turnover-date-tabs .tab {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

.turnover-view .turnover-custom-date {
    margin-bottom: 0;
}

.turnover-view .turnover-date-range {
    margin: 10px 0 0;
}

.turnover-view .turnover-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
}

    .turnover-view .turnover-section-head small {
        display: block;
        margin-top: 4px;
    }

.turnover-view .turnover-record-count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.turnover-view .revenue-card .svg-icon {
    width: 24px;
    height: 24px;
}

@media(max-width:520px) {
    .turnover-view .page-head {
        margin-bottom: 18px;
    }

    .turnover-view .turnover-period-card {
        padding: 16px;
    }

        .turnover-view .turnover-period-card .section-title {
            margin-bottom: 12px;
        }

    .turnover-view .turnover-date-tabs {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
    }

        .turnover-view .turnover-date-tabs .tab {
            min-height: 40px;
            padding: 8px 6px;
            font-size: 12px;
        }

    .turnover-view .turnover-custom-date {
        height: 40px;
        font-size: 12px;
    }

    .turnover-view .turnover-date-range {
        grid-template-columns: 1fr 1fr;
        padding: 9px;
        gap: 7px;
    }

        .turnover-view .turnover-date-range button {
            grid-column: 1/-1;
            min-height: 36px;
        }

    .turnover-view .revenue-card {
        min-height: 132px;
        padding: 14px 8px 12px;
    }

        .turnover-view .revenue-card .bubble {
            width: 42px;
            height: 42px;
            margin-bottom: 9px;
            font-size: 18px;
        }

        .turnover-view .revenue-card label {
            margin-bottom: 6px;
            font-size: 11px;
        }

        .turnover-view .revenue-card strong {
            font-size: 16px;
        }

        .turnover-view .revenue-card .spark {
            width: 58px;
            height: 14px;
            margin-top: 8px;
        }

    .turnover-view .turnover-section-head {
        padding: 14px 12px 9px;
    }

        .turnover-view .turnover-section-head .section-title {
            font-size: 15px;
        }

    .turnover-view .turnover-shop-card .bx-btn {
        min-height: 34px;
        padding: 6px 9px;
        font-size: 10px;
    }

    .turnover-view .record {
        grid-template-columns: 1.25fr repeat(3,1fr) 12px;
        gap: 5px;
        padding: 10px 8px;
        font-size: 9.5px;
    }
}
/* turnover-functional-layout-v134:end */
/* turnover-summary-approved-design-v136:start */
.turnover-view .turnover-summary-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

    .turnover-view .turnover-summary-card .revenue-top {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px;
    }

    .turnover-view .turnover-summary-card .revenue-card {
        position: relative;
        overflow: hidden;
        min-height: 160px;
        padding: 22px 22px 20px;
        border: 1px solid #e3e8f1;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(20,40,80,.055);
        display: grid;
        grid-template-columns: auto minmax(0,1fr);
        grid-template-rows: auto 1fr;
        column-gap: 14px;
        row-gap: 18px;
        align-items: center;
        text-align: left;
    }

        /* 5th and 6th card (crypto) sit side by side; neutralise the generic ".revenue-card:last-child{grid-column:1/-1}" */
        .turnover-view .turnover-summary-card .revenue-card:last-child {
            grid-column: auto;
        }

        .turnover-view .turnover-summary-card .revenue-card::after {
            content: "";
            position: absolute;
            right: -8%;
            bottom: -34%;
            width: 72%;
            height: 74%;
            border-radius: 62% 0 0 0;
            opacity: .6;
            transform: rotate(-5deg);
            pointer-events: none;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(1) {
            background: linear-gradient(135deg,#ffffff 0%,#f7fffb 100%);
            border-color: #d7f3e5;
        }

            .turnover-view .turnover-summary-card .revenue-card:nth-child(1)::after {
                background: linear-gradient(135deg,rgba(34,197,94,.02),rgba(34,197,94,.22));
            }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(2) {
            background: linear-gradient(135deg,#ffffff 0%,#fff8fa 100%);
            border-color: #f6dbe2;
        }

            .turnover-view .turnover-summary-card .revenue-card:nth-child(2)::after {
                background: linear-gradient(135deg,rgba(255,20,56,.02),rgba(255,20,56,.20));
            }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(3) {
            background: linear-gradient(135deg,#ffffff 0%,#f7faff 100%);
            border-color: #d9e4ff;
        }

            .turnover-view .turnover-summary-card .revenue-card:nth-child(3)::after {
                background: linear-gradient(135deg,rgba(6,72,245,.02),rgba(6,72,245,.18));
            }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(4) {
            background: linear-gradient(135deg,#ffffff 0%,#fafbfd 100%);
            border-color: #e0e5ed;
        }

            .turnover-view .turnover-summary-card .revenue-card:nth-child(4)::after {
                background: linear-gradient(135deg,rgba(102,112,133,.02),rgba(102,112,133,.16));
            }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(n+5) {
            background: linear-gradient(135deg,#fffefa 0%,#fff9ec 100%);
            border-color: #f3dfb2;
        }

            .turnover-view .turnover-summary-card .revenue-card:nth-child(n+5)::after {
                width: 60%;
                height: 86%;
                right: -3%;
                bottom: -43%;
                background: linear-gradient(135deg,rgba(214,145,0,.02),rgba(214,145,0,.22));
            }

        .turnover-view .turnover-summary-card .revenue-card .bubble {
            position: relative;
            z-index: 1;
            width: 54px;
            height: 54px;
            margin: 0;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: #f1f4f9;
            font-size: 22px;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(1) .bubble {
            background: #dcf9e9;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(2) .bubble {
            background: #ffe2e8;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(3) .bubble {
            background: #e2ecff;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(4) .bubble {
            background: #e9eef5;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(n+5) .bubble {
            background: #ffefc9;
            color: #d18a00 !important;
        }

        .turnover-view .turnover-summary-card .revenue-card label {
            position: relative;
            z-index: 1;
            margin: 0;
            display: block;
            font-size: 17px;
            line-height: 1.2;
            font-weight: 800;
            color: #101828;
        }

        .turnover-view .turnover-summary-card .revenue-card strong {
            position: relative;
            z-index: 1;
            grid-column: 1/-1;
            align-self: start;
            font-size: 32px;
            line-height: 1;
            font-weight: 850;
            letter-spacing: -.7px;
        }

        .turnover-view .turnover-summary-card .revenue-card .spark {
            display: none;
        }

@media(max-width:520px) {
    .turnover-view .turnover-summary-card .revenue-top {
        gap: 9px;
    }

    .turnover-view .turnover-summary-card .revenue-card {
        min-height: 107px;
        padding: 14px 12px 7px;
        border-radius: 13px;
        column-gap: 9px;
        row-gap: 11px;
    }

        .turnover-view .turnover-summary-card .revenue-card .bubble {
            width: 38px;
            height: 38px;
            font-size: 17px;
        }

            .turnover-view .turnover-summary-card .revenue-card .bubble .svg-icon {
                width: 20px;
                height: 20px;
            }

        .turnover-view .turnover-summary-card .revenue-card label {
            font-size: 12px;
        }

        .turnover-view .turnover-summary-card .revenue-card strong {
            font-size: 21px;
            letter-spacing: -.4px;
        }

        .turnover-view .turnover-summary-card .revenue-card:nth-child(n+5) {
            min-height: 103px;
        }
}
/* turnover-summary-approved-design-v136:end */
/* turnover-independent-till-v138:start */
.turnover-view .turnover-reset-table {
    min-width: 680px;
}

    .turnover-view .turnover-reset-table th:first-child,
    .turnover-view .turnover-reset-table td:first-child {
        min-width: 64px;
    }

    .turnover-view .turnover-reset-table td {
        vertical-align: middle;
    }

@media(max-width:520px) {
    .turnover-view .turnover-reset-table {
        min-width: 620px;
    }

        .turnover-view .turnover-reset-table th,
        .turnover-view .turnover-reset-table td {
            padding: 9px 8px;
        }

            .turnover-view .turnover-reset-table th:first-child,
            .turnover-view .turnover-reset-table td:first-child {
                min-width: 60px;
            }
}
/* turnover-independent-till-v138:end */
/* turnover-records-pagination-v139:start */
.turnover-view .turnover-record-pagination {
    justify-content: flex-end;
}

.turnover-view .turnover-reset-time {
    font-weight: 400;
}
/* turnover-records-pagination-v139:end */
/* turnover-shop-compact-columns-v144:start */
@media(max-width:520px) {
    .turnover-view .turnover-shop-card .data-table {
        min-width: 328px;
    }

        .turnover-view .turnover-shop-card .data-table th,
        .turnover-view .turnover-shop-card .data-table td {
            padding-left: 4px;
            padding-right: 4px;
        }

            .turnover-view .turnover-shop-card .data-table th:first-child,
            .turnover-view .turnover-shop-card .data-table td:first-child {
                width: 1%;
                padding-right: 2.4px;
            }

            .turnover-view .turnover-shop-card .data-table th:nth-child(2),
            .turnover-view .turnover-shop-card .data-table td:nth-child(2) {
                padding-left: 2.4px;
            }
}
/* turnover-shop-compact-columns-v144:end */
/* turnover-reset-button-v147:start */
.turnover-view [data-reset-turnover] {
    height: 50px;
    min-height: 50px;
    box-sizing: border-box;
    padding: 0 16px 0 10px;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: .1px;
    border-radius: 14px;
    gap: 9px;
    background: #fff;
    color: #000;
    border: 1px solid #cfd8ff;
    box-shadow: 0 2px 6px rgba(36,72,242,.06);
}

    .turnover-view [data-reset-turnover] .turnover-reset-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 50%;
        background: #eef4ff;
        color: var(--blue);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .turnover-view [data-reset-turnover] .turnover-reset-icon .svg-icon {
            width: 24px;
            height: 24px;
            stroke-width: 2.2;
        }

    .turnover-view [data-reset-turnover] > span:last-child {
        color: #000 !important;
    }
/* turnover-reset-button-v147:end */
/* turnover-records-deposit-align-v162:start */
@media(max-width:520px) {
    .turnover-view .turnover-reset-table th:first-child,
    .turnover-view .turnover-reset-table td:first-child {
        padding-right: 0;
    }

    .turnover-view .turnover-reset-table th:nth-child(2),
    .turnover-view .turnover-reset-table td:nth-child(2) {
        padding-left: 0;
        position: static;
        left: auto;
        text-indent: -18px;
    }
}
/* turnover-records-deposit-align-v162:end */
/* home-mobile-vertical-space-redistribution-v172:start */
@media(max-width:520px) {
    /*
    Split the previously bottom-only flexible free space equally above and
    below the home content. This moves exactly half of that free space above
    the quick-action cards without changing any card/section dimensions.
  */
    :has(.home-view) .layout {
        display: flex;
        flex-direction: column;
    }

        :has(.home-view) .layout::before,
        :has(.home-view) .layout::after {
            content: "";
            display: block;
            flex: 1 1 0;
            min-height: 0;
            pointer-events: none;
        }

    .home-view .quick-grid,
    .home-view .dash-grid {
        flex: 0 0 auto;
    }
}
/* home-mobile-vertical-space-redistribution-v172:end */
/* turnover-reset-confirm-v175:start */
.turnover-reset-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5,13,30,.38);
    backdrop-filter: blur(2px);
}

.turnover-reset-confirm {
    width: min(430px,100%);
    border: 1px solid #e1e6ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(10,24,50,.22);
    padding: 24px;
}

    .turnover-reset-confirm h3 {
        margin: 0 0 10px;
        color: #111827;
        font-size: 21px;
        line-height: 1.2;
        font-weight: 850;
    }

    .turnover-reset-confirm p {
        margin: 0;
        color: #5f6b7d;
        font-size: 14px;
        line-height: 1.55;
    }

.turnover-reset-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

    .turnover-reset-confirm-actions .bx-btn {
        min-height: 42px;
    }

@media(max-width:520px) {
    .turnover-reset-confirm-backdrop {
        padding: 16px;
    }

    .turnover-reset-confirm {
        border-radius: 14px;
        padding: 20px 18px 18px;
    }

        .turnover-reset-confirm h3 {
            font-size: 19px;
        }

        .turnover-reset-confirm p {
            font-size: 13px;
        }

    .turnover-reset-confirm-actions {
        flex-direction: column-reverse;
        gap: 8px;
        margin-top: 20px;
    }

        .turnover-reset-confirm-actions .bx-btn {
            width: 100%;
            min-height: 44px;
        }
}
/* turnover-reset-confirm-v175:end */
/* customer-search-layout-v180:start */
.customers-view .customers-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customers-view .customers-table-card .data-table td {
    padding-top: 8px;
    padding-bottom: 8px;
}

.customers-view .customer-table-bottom {
    padding-top: 9px;
    padding-bottom: 9px;
}

    .customers-view .customer-table-bottom .bx-pagination {
        align-items: center;
    }

@media(max-width:520px) {
    .customers-view .customers-head-actions {
        gap: 8px;
    }

        .customers-view .customers-head-actions .page-close {
            width: 44px;
            height: 44px;
        }

    .customers-view .customers-table-card .data-table td {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .customers-view .customer-table-bottom {
        padding: 7px 10px;
        gap: 7px;
    }
}
/* customer-search-layout-v180:end */
/* customer-search-mobile-hide-create-v183:start */
@media(max-width:520px) {
    .customers-view .customers-head-actions > .bx-btn {
        display: none !important;
    }
}
/* customer-search-mobile-hide-create-v183:end */
/* customer-search-horizontal-spacing-v184:start */
.customers-view .customers-table-card .data-table th:first-child,
.customers-view .customers-table-card .data-table td:first-child {
    width: 72px;
    min-width: 72px;
    padding-right: 6.5px;
}

.customers-view .customers-table-card .data-table th:nth-child(2),
.customers-view .customers-table-card .data-table td:nth-child(2) {
    padding-left: 6.5px;
}

.customers-view .customer-table-bottom {
    justify-content: flex-start;
    column-gap: 18px;
}

@media(max-width:520px) {
    .customers-view .customers-table-card .data-table th:first-child,
    .customers-view .customers-table-card .data-table td:first-child {
        width: 68px;
        min-width: 68px;
        padding-right: 6px;
    }

    .customers-view .customers-table-card .data-table th:nth-child(2),
    .customers-view .customers-table-card .data-table td:nth-child(2) {
        padding-left: 6px;
    }

    .customers-view .customer-table-bottom {
        column-gap: 10px;
    }
}
/* customer-search-horizontal-spacing-v184:end */
/* customer-search-column-spacing-v185:start */
.customers-view .customers-table-card .data-table {
    min-width: 700px;
}

    .customers-view .customers-table-card .data-table th:first-child,
    .customers-view .customers-table-card .data-table td:first-child {
        width: 56px;
        min-width: 56px;
        padding-left: 8px;
        padding-right: 4px;
    }

    .customers-view .customers-table-card .data-table th:nth-child(2),
    .customers-view .customers-table-card .data-table td:nth-child(2) {
        padding-left: 4px;
        padding-right: 5px;
    }

    .customers-view .customers-table-card .data-table th:nth-child(3),
    .customers-view .customers-table-card .data-table td:nth-child(3) {
        padding-left: 5px;
        padding-right: 8px;
    }

@media(max-width:520px) {
    .customers-view .customers-table-card .data-table {
        min-width: 660px;
    }

        .customers-view .customers-table-card .data-table th:first-child,
        .customers-view .customers-table-card .data-table td:first-child {
            width: 52px;
            min-width: 52px;
            padding-left: 7px;
            padding-right: 3px;
        }

        .customers-view .customers-table-card .data-table th:nth-child(2),
        .customers-view .customers-table-card .data-table td:nth-child(2) {
            padding-left: 3px;
            padding-right: 4px;
        }

        .customers-view .customers-table-card .data-table th:nth-child(3),
        .customers-view .customers-table-card .data-table td:nth-child(3) {
            padding-left: 4px;
            padding-right: 7px;
        }
}
/* customer-search-column-spacing-v185:end */
/* account-history-layout-v186:start */
.history-view .history-date-time {
    display: inline-block;
    white-space: nowrap;
}

    .history-view .history-date-time > span {
        display: block;
    }

@media(max-width:520px) {
    .history-view .history-table-card .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .history-view .history-table-card .data-table {
        min-width: 900px;
    }
}
/* account-history-layout-v186:end */
/* account-history-close-v187:start */
.history-view .history-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media(max-width:520px) {
    .history-view .history-head-actions {
        gap: 8px;
    }
}
/* account-history-close-v187:end */
/* account-history-export-v188:start */
.history-view .history-filter-grid {
    display: grid;
    grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

.history-view .history-export-action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.history-view .history-export-btn {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #1745b7;
    border-radius: 10px;
    background: #123da6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(18,61,166,.14);
}

    .history-view .history-export-btn:hover {
        background: #0f348f;
    }

    .history-view .history-export-btn .svg-icon {
        width: 20px;
        height: 20px;
        stroke-width: 2;
    }

.history-view .history-total {
    display: flex;
    align-items: center;
    background: #f4f6fb;
    font-weight: 800;
    color: #1c2434;
}
/* mobile: Status select 65% + Total Amount 35% on one row */
@media(max-width:760px) {
    .history-view .history-filter-grid {
        grid-template-columns: 65fr 35fr;
    }

    .history-view .history-export-action {
        justify-content: stretch;
    }

    .history-view .history-export-btn {
        width: 100%;
    }

    .history-view .history-total {
        font-size: 13px;
        padding: 0 10px;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }
}

@media(max-width:520px) {
    .history-view .history-filter-grid .filter-actions,
    .history-view .history-export-action {
        grid-column: 1 / -1;
    }
}
/* account-history-export-v188:end */
/* account-history-balance-head-v189:start */
.history-view .history-balance-head {
    display: inline-block;
    line-height: 1.15;
}

    .history-view .history-balance-head > span {
        display: block;
    }

        .history-view .history-balance-head > span + span {
            margin-top: 2px;
        }
/* account-history-balance-head-v189:end */
/* edit-customer-page-v197:start */
.edit-customer-view .edit-customer-card {
    max-width: 920px;
    margin: 0 auto;
}

.edit-customer-view .edit-customer-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px 20px;
}

    .edit-customer-view .edit-customer-grid .field {
        min-width: 0;
    }

    .edit-customer-view .edit-customer-grid .control {
        width: 100%;
        min-height: 44px;
    }

.edit-customer-view .edit-customer-readonly {
    display: flex;
    align-items: center;
    background: #f6f7f9;
    color: #667085;
    cursor: not-allowed;
    user-select: none;
}

.edit-customer-view .edit-customer-toggle-field {
    display: flex;
    flex-direction: column;
}

.edit-customer-view .edit-customer-switch-row {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    color: #344054;
    font-size: 13px;
    font-weight: 650;
}

    .edit-customer-view .edit-customer-switch-row input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.edit-customer-view .edit-customer-switch-ui {
    width: 38px;
    height: 22px;
    border-radius: 20px;
    background: var(--red);
    position: relative;
    flex: 0 0 auto;
    transition: .18s ease;
}

    .edit-customer-view .edit-customer-switch-ui:before {
        content: "";
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: 3px;
        left: 3px;
        box-shadow: 0 1px 4px rgba(0,0,0,.18);
        transition: .18s ease;
    }

.edit-customer-view .edit-customer-switch-row input:checked + .edit-customer-switch-ui {
    background: var(--green);
}

    .edit-customer-view .edit-customer-switch-row input:checked + .edit-customer-switch-ui:before {
        left: 19px;
    }

.edit-customer-view .edit-customer-switch-row:focus-within {
    border-color: #aebcff;
    box-shadow: 0 0 0 3px rgba(36,72,242,.08);
}

.edit-customer-view .edit-customer-status-text {
    font-weight: 800;
}

    .edit-customer-view .edit-customer-status-text.active {
        color: var(--green);
    }

    .edit-customer-view .edit-customer-status-text.inactive {
        color: var(--red);
    }

.edit-customer-view .edit-customer-section-title {
    grid-column: 1/-1;
    font-weight: 800;
    color: #0a1530;
    padding-top: 2px;
}

.edit-customer-view .edit-customer-phone-shell {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.edit-customer-view .edit-customer-call {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

    .edit-customer-view .edit-customer-call:hover {
        background: #f5f7ff;
        border-color: #bfcaff;
    }

    .edit-customer-view .edit-customer-call[aria-disabled="true"] {
        opacity: .5;
        pointer-events: none;
    }

.edit-customer-view .edit-customer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.edit-customer-view .edit-customer-save {
    min-width: 120px;
}

@media(max-width:700px) {
    .edit-customer-view .edit-customer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .edit-customer-view .edit-customer-actions {
        margin-top: 20px;
    }
}

@media(max-width:520px) {
    .edit-customer-view .edit-customer-card {
        padding: 16px;
    }

    .edit-customer-view .edit-customer-phone-shell {
        grid-template-columns: 1fr auto;
    }

    .edit-customer-view .edit-customer-call {
        min-width: 82px;
    }

    .edit-customer-view .edit-customer-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

        .edit-customer-view .edit-customer-actions .bx-btn {
            width: 100%;
        }
}
/* edit-customer-page-v197:end */
/* transaction-datetime-v201:start */
.deposit-transactions-view .transaction-date-time,
.payout-transactions-view .transaction-date-time {
    display: inline-block;
    white-space: nowrap;
}

    .deposit-transactions-view .transaction-date-time > span,
    .payout-transactions-view .transaction-date-time > span {
        display: block;
    }
/* transaction-datetime-v201:end */
/* transaction-date-filter-v202:start */
.deposit-transactions-view .transaction-date-range,
.payout-transactions-view .transaction-date-range {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

    .deposit-transactions-view .transaction-date-range > label,
    .payout-transactions-view .transaction-date-range > label {
        display: grid;
        gap: 5px;
        min-width: 0;
    }

        .deposit-transactions-view .transaction-date-range > label > span,
        .payout-transactions-view .transaction-date-range > label > span {
            font-size: 11px;
            color: var(--muted);
        }


/* deposit/payout transactions: filter row */
.deposit-transactions-view .tx-filters,
.payout-transactions-view .tx-filters {
    display: grid;
    grid-template-columns: minmax(280px,1.7fr) minmax(130px,1fr) minmax(130px,1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 0;
}

    .deposit-transactions-view .tx-filters .field,
    .payout-transactions-view .tx-filters .field {
        min-width: 0
    }

@media(max-width:768px) {
    .deposit-transactions-view .tx-filters,
    .payout-transactions-view .tx-filters {
        grid-template-columns: 1fr 1fr;
    }

        .deposit-transactions-view .tx-filters .tx-period,
        .payout-transactions-view .tx-filters .tx-period,
        .deposit-transactions-view .tx-filters .filter-actions,
        .payout-transactions-view .tx-filters .filter-actions {
            grid-column: 1 / -1;
        }

            .deposit-transactions-view .tx-filters .filter-actions .bx-btn,
            .payout-transactions-view .tx-filters .filter-actions .bx-btn {
                flex: 1;
            }
}

#transactionList.is-loading {
    opacity: .55;
    pointer-events: none
}


@media(max-width:520px) {
    .deposit-transactions-view .transaction-date-range,
    .payout-transactions-view .transaction-date-range {
        grid-template-columns: 1fr 1fr;
    }
}
/* transaction-date-filter-v202:end */
/* multilingual-language-selector-v203:start */
.drawer-language-block {
    width: 100%;
}

.drawer-language-trigger {
    grid-template-columns: 32px minmax(0,1fr) auto;
}

.drawer-language-current {
    min-width: 0;
    max-width: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: #dbe7f7;
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-language-right {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

    .drawer-language-right .drawer-sub-chevron {
        flex: 0 0 auto;
    }

.drawer-language-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-language-current > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-language-flag {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
}

.drawer-language-kurdish-flag {
    width: 24px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}

    .drawer-language-kurdish-flag svg {
        display: block;
        width: 24px;
        height: 16px;
    }

.drawer-language-list {
    margin: 3px 6px 7px 41px;
    padding: 5px;
    border: 1px solid rgba(54,137,235,.28);
    border-radius: 9px;
    background: rgba(2,30,64,.78);
    display: grid;
    gap: 2px;
    max-height: 310px;
    overflow: auto;
}

.drawer-language-option {
    width: 100%;
    min-height: 32px;
    padding: 5px 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #f5f8fd;
    display: grid;
    grid-template-columns: 24px minmax(0,1fr);
    align-items: center;
    gap: 7px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
}

    .drawer-language-option:hover,
    .drawer-language-option.active {
        background: rgba(33,116,213,.34);
    }

    .drawer-language-option.active {
        box-shadow: inset 2px 0 0 #4da3ff;
    }

.drawer-language-trigger[aria-expanded="true"] .drawer-sub-chevron {
    transform: rotate(90deg);
}

@media(max-width:520px) {
    .drawer-language-trigger {
        grid-template-columns: 30px minmax(0,1fr) auto;
    }

    .drawer-language-current {
        max-width: 92px;
        font-size: 10px;
    }

    .drawer-language-list {
        margin-left: 38px;
        max-height: 270px;
    }
}
/* multilingual-language-selector-v203:end */
/* language-flag-mobile-fix-v208:start */
.drawer-language-trigger {
    grid-template-columns: 32px minmax(0,1fr) auto !important;
}

.drawer-language-current {
    max-width: none;
    overflow: visible;
    flex: 0 0 auto;
}

.drawer-language-right {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: max-content !important;
}

    .drawer-language-right .drawer-language-flag {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

.flag {
    display: inline-block;
    width: 22px;
    height: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Bayrak Görselleri */
.flag-en {
    background-image: url('/img/flags/en.svg');
}

.flag-de {
    background-image: url('/img/flags/de.svg');
}

.flag-tr {
    background-image: url('/img/flags/tr.svg');
}

.flag-it {
    background-image: url('/img/flags/it.svg');
}

.flag-fr {
    background-image: url('/img/flags/fr.svg');
}

.flag-es {
    background-image: url('/img/flags/es.svg');
}

.main-flag-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .main-flag-icon .flag-img,
    .main-flag-icon .flag {
        width: 20px;
        height: 14px;
        border-radius: 2px;
        object-fit: cover;
    }

@media(max-width:520px) {
    #app > .app + .drawer-backdrop + .drawer .drawer-language-trigger,
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-language-trigger {
        grid-template-columns: 27px minmax(0,1fr) auto !important;
    }

    #app > .app + .drawer-backdrop + .drawer .drawer-language-right,
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-language-right {
        min-width: 46px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }

    #app > .app + .drawer-backdrop + .drawer .drawer-language-current,
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-language-current {
        max-width: none !important;
        overflow: visible !important;
    }

    #app > .app + .drawer-backdrop + .drawer .drawer-language-flag,
    :has(.home-view) + .drawer-backdrop + .drawer .drawer-language-flag {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
    }
}
/* language-flag-mobile-fix-v208:end */
/* customer-return-state-v209:start */
.customers-view .customers-table-card .data-table tbody tr.customer-selected-row {
    background: #e7f0ff;
    box-shadow: inset 4px 0 0 var(--blue), inset 0 0 0 1px rgba(36,72,242,.16);
}

    .customers-view .customers-table-card .data-table tbody tr.customer-selected-row:hover {
        background: #e7f0ff;
    }
/* customer-return-state-v209:end */
/* drawer-shop-user-v211:start */
.drawer-shop-user {
    width: 100%;
    min-height: 40px;
    padding: 4px 8px 5px 6px;
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    align-items: center;
    gap: 9px;
    color: #f5f8fd;
}

.drawer-shop-user-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,#0a79ea,#0863c9);
    color: #fff;
}

    .drawer-shop-user-icon .svg-icon {
        width: 19px;
        height: 19px;
        stroke-width: 1.9;
    }

.drawer-shop-user strong {
    min-width: 0;
    font-size: 13px;
    line-height: 1;
    font-weight: 780;
}

.drawer-shop-user-divider {
    width: 100%;
    height: 1px;
    margin: 2px 0 10px;
    background: rgba(153,177,207,.28);
}

@media(max-width:520px) {
    .drawer-shop-user {
        min-height: 34px;
        padding: 2px 7px 3px 5px;
        grid-template-columns: 27px minmax(0,1fr);
        gap: 8px;
    }

    .drawer-shop-user-icon {
        width: 27px;
        height: 27px;
        border-radius: 7px;
    }

        .drawer-shop-user-icon .svg-icon {
            width: 17px;
            height: 17px;
        }

    .drawer-shop-user strong {
        font-size: 11.5px;
    }

    .drawer-shop-user-divider {
        margin: 4px 0 8px;
    }
}
/* drawer-shop-user-v211:end */
/* language-list-and-kurdish-flag-v212:start */
.drawer-language-flag {
    width: 24px;
    height: 18px;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 24px !important;
    line-height: 1;
    overflow: visible;
}

.drawer-language-emoji-flag {
    font-size: 17px;
}

.drawer-language-kurdish-flag {
    width: 24px;
    height: 18px;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

    .drawer-language-kurdish-flag svg {
        width: 21px;
        height: 16px;
        display: block;
        overflow: visible;
        filter: drop-shadow(0 1px 1px rgba(0,0,0,.16));
    }

.drawer-language-list {
    max-height: 314px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

@media(hover:none), (pointer:coarse) {
    .drawer-language-option:hover:not(.active) {
        background: transparent;
    }
}

@media(max-width:520px) {
    .drawer-language-list {
        max-height: 280px !important;
    }
}
/* language-list-and-kurdish-flag-v212:end */
/* kurdish-emoji-shape-v214:start */
.drawer-language-kurdish-flag {
    width: 24px !important;
    height: 18px !important;
    display: inline-grid !important;
    place-items: center !important;
    overflow: visible !important;
    flex: 0 0 24px !important;
}

    .drawer-language-kurdish-flag svg {
        width: 23px !important;
        height: 17px !important;
        display: block !important;
        overflow: visible !important;
        transform: rotate(-1.2deg);
        transform-origin: center;
        filter: drop-shadow(0 1px 1px rgba(0,0,0,.22));
    }
/* kurdish-emoji-shape-v214:end */
/* kurdish-emoji-shape-v215:start */
.drawer-language-kurdish-flag {
    width: 24px !important;
    height: 18px !important;
    display: inline-grid !important;
    place-items: center !important;
    overflow: visible !important;
    flex: 0 0 24px !important;
}

    .drawer-language-kurdish-flag svg {
        width: 24px !important;
        height: 18px !important;
        display: block !important;
        overflow: visible !important;
        transform: none !important;
        filter: drop-shadow(0 1px 1px rgba(0,0,0,.24));
    }
/* kurdish-emoji-shape-v215:end */
/* shop-login-password-v218:start */
.drawer-shop-user {
    grid-template-columns: 32px minmax(0,1fr) 18px;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .drawer-shop-user:hover,
    .drawer-shop-user.active {
        background: rgba(33,116,213,.16);
        border-radius: 8px;
    }

.drawer-shop-user-chevron {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: #9bb0c8;
}

    .drawer-shop-user-chevron .svg-icon {
        width: 15px;
        height: 15px;
    }

.shop-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px;
    display: grid;
    place-items: center;
    background: #f4f7fb;
}

.shop-login-card {
    width: min(100%,420px);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(6,18,40,.12);
}

.shop-login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.shop-login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-login-x {
    display: block;
    width: 111px;
    height: 111px;
}

.shop-login-form {
    display: grid;
    gap: 16px;
}

.shop-login-password-shell {
    position: relative;
}

    .shop-login-password-shell .control {
        position: relative;
        z-index: 1;
        /* color:transparent;
  -webkit-text-fill-color:transparent;
  caret-color:transparent;*/
    }

.shop-login-password-display {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 13px;
    color: #1c2434;
    font: inherit;
    line-height: 1;
    white-space: pre;
    overflow: hidden;
    pointer-events: none;
}

.shop-login-password-shell:focus-within .shop-login-password-display::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 24px;
    margin-left: 2px;
    background: #1c2434;
    border-radius: 1px;
    flex: 0 0 auto;
    animation: shopLoginCaretBlink 1s steps(1,end) infinite;
}

@keyframes shopLoginCaretBlink {
    0%,49% {
        opacity: 1
    }

    50%,100% {
        opacity: 0
    }
}

.shop-view .shop-password-card {
    max-width: 760px;
    margin: 0 auto;
}

.shop-view .shop-password-form {
    display: grid;
    gap: 22px;
}

.shop-view .shop-password-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}

.shop-view .shop-password-actions {
    display: flex;
    justify-content: flex-end;
}

    .shop-view .shop-password-actions .bx-btn {
        min-width: 150px;
    }

@media(max-width:700px) {
    .shop-view .shop-password-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:520px) {
    .drawer-shop-user {
        grid-template-columns: 27px minmax(0,1fr) 17px;
    }

    .shop-login-page {
        padding: 16px;
    }

    .shop-login-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .shop-view .shop-password-actions .bx-btn {
        width: 100%;
    }
}
/* shop-login-password-v218:end */
/* shop-password-validation-v219:start */
.shop-view .shop-password-rule {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
}

    .shop-view .shop-password-rule.invalid {
        color: #c92a2a;
    }

    .shop-view .shop-password-rule.valid {
        color: #0a8f45;
    }

.shop-view .control.shop-password-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220,53,69,.08);
}

.shop-view .control.shop-password-valid {
    border-color: #2ca56c;
}
/* shop-password-validation-v219:end */
/* drawer-spacing-typography-v227:start */
@media(max-width:520px) {
    /* More generous vertical rhythm in the left menu.
     Icons, colors and horizontal positioning stay unchanged. */
    #app > .app + .drawer-backdrop + .drawer .drawer-shop-user {
        min-height: 42px !important;
    }

        #app > .app + .drawer-backdrop + .drawer .drawer-shop-user strong {
            font-size: 13px !important;
        }

    #app > .app + .drawer-backdrop + .drawer .drawer-primary,
    #app > .app + .drawer-backdrop + .drawer .drawer-section-title {
        min-height: 42px !important;
    }

        #app > .app + .drawer-backdrop + .drawer .drawer-primary strong,
        #app > .app + .drawer-backdrop + .drawer .drawer-section-title strong {
            font-size: 14.5px !important;
        }

    #app > .app + .drawer-backdrop + .drawer .drawer-sub-link {
        min-height: 38px !important;
    }

    #app > .app + .drawer-backdrop + .drawer .drawer-sub-label {
        font-size: 12.5px !important;
    }
}
/* drawer-spacing-typography-v227:end */
/* wettscheine-compact-status-grid-v228:start */
@media(max-width:520px) {
    .coupons-view .toggle-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 7px !important;
        margin-bottom: 12px !important;
    }

    .coupons-view .toggle-card {
        min-height: 38px !important;
        padding: 5px 8px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }
}
/* wettscheine-compact-status-grid-v228:end */
/* wettscheine-status-visual-v229:start */
@media(max-width:520px) {
    .coupons-view .toggle-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .coupons-view .toggle-card.status-toggle {
        min-height: 46px !important;
        padding: 5px 8px !important;
        display: grid !important;
        grid-template-columns: 38px 32px minmax(0,1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        border-radius: 9px !important;
        background: #fff !important;
    }

        .coupons-view .toggle-card.status-toggle:nth-child(5) {
            grid-column: 1/-1 !important;
            justify-self: center !important;
            width: calc(50% - 4px) !important;
        }

    .coupons-view .status-toggle-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        display: grid !important;
        place-items: center !important;
    }

        .coupons-view .status-toggle-icon .svg-icon {
            width: 19px !important;
            height: 19px !important;
        }

    .coupons-view .status-toggle-label {
        min-width: 0 !important;
        color: #111827 !important;
        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 560 !important;
        white-space: nowrap !important;
    }

    .coupons-view .status-0 .status-toggle-icon {
        color: #1769e8 !important;
        background: #edf3ff !important;
    }

    .coupons-view .status-1 .status-toggle-icon {
        color: #1fac55 !important;
        background: #ebf9ef !important;
    }

    .coupons-view .status-2 .status-toggle-icon {
        color: #df2d35 !important;
        background: #fff0f1 !important;
    }

    .coupons-view .status-3 .status-toggle-icon {
        color: #e6531b !important;
        background: #fff2e9 !important;
    }

    .coupons-view .status-4 .status-toggle-icon {
        color: #7040e8 !important;
        background: #f2edff !important;
    }
}
/* wettscheine-status-visual-v229:end */
/* topbar-dark-area-v230:start */
@media(max-width:520px) {
    /* Increase only the visible dark top-banner area by 5px total.
     Keep all banner contents at their exact existing viewport position. */
    #app > .app .topbar {
        top: -14.5px !important;
        height: 72.5px !important;
    }

    #app > .app .topbar-main {
        transform: translateY(17.5px) !important;
    }
}
/* topbar-dark-area-v230:end */
/* mobile-language-menu-viewport-fix-v231:start */
@media(max-width:520px) {
    /* Keep the opened language selector inside the visible mobile area.
     The language list itself scrolls instead of extending behind Safari's bottom UI. */
    #app > .app + .drawer-backdrop + .drawer .drawer-language-list {
        max-height: 190px !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

        #app > .app + .drawer-backdrop + .drawer .drawer-language-list::-webkit-scrollbar {
            display: none !important;
        }
}
/* mobile-language-menu-viewport-fix-v231:end */
/* shop-login-password-spacing-v232:start */
.shop-login-form {
    row-gap: 16px;
}

    .shop-login-form .field {
        margin: 0;
        min-height: 0;
    }

.shop-login-password-shell {
    height: 46px;
    min-height: 46px;
    max-height: 46px;
}

    .shop-login-password-shell .control,
    .shop-login-password-display {
        height: 46px;
        min-height: 46px;
        max-height: 46px;
    }

.shop-login-form > .bx-btn {
    margin: 0;
}

.shop-login-password-shell + .shop-login-password-hint,
.shop-login-password-shell + small {
    margin: 4px 0 0;
    line-height: 1.25;
}

@media(max-width:520px) {
    .shop-login-password-shell,
    .shop-login-password-shell .control,
    .shop-login-password-display {
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
    }
}
/* shop-login-password-spacing-v232:end */
/* login-x-brand-v233:start */
.shop-login-brand {
    margin-bottom: 26px;
}

@media(max-width:520px) {
    .shop-login-x {
        width: 103px;
        height: 103px;
    }
}
/* login-x-brand-v233:end */


/* ---- Modal (Wettscheine: Zusätzliche Filter + Wettschein-Details) ---- */
body.bx-modal-open {
    overflow: hidden
}

.bx-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 14px;
    overflow-y: auto;
    background: rgba(3,9,20,.55);
}

    .bx-modal.open {
        display: flex
    }

.bx-modal-dialog {
    position: relative;
    width: min(760px,100%);
    margin: auto 0;
    padding: 18px;
    border-radius: 18px;
    background: #f4f6fb;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
}

    .bx-modal-dialog.wide {
        width: min(900px,100%)
    }

.bx-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2
}

.bx-modal-loading {
    padding: 40px 10px;
    text-align: center;
    color: #8b95a6;
    font-size: 13px
}

@media (max-width:520px) {
    .bx-modal {
        padding: 10px 8px
    }

    .bx-modal-dialog {
        padding: 12px;
        border-radius: 14px
    }
}
/* Bildirim (Toast) muss über dem Modal liegen */
.bx-toast {
    z-index: 120
}
/* Schließen-Knopf soll den Kopf des Wettscheins nicht überdecken */
.bx-modal .ticket-head {
    padding-right: 60px
}



/* ---- Wettscheine: Auge-Symbol per CSS statt SVG in jeder Zeile ---- */
.coupons-view .coupon-open-eye::before {
    content: "";
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.4-5.5 9.5-5.5S21.5 12 21.5 12 18.1 17.5 12 17.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.4-5.5 9.5-5.5S21.5 12 21.5 12 18.1 17.5 12 17.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width:520px) {
    .coupons-view .coupon-open-eye::before {
        width: 14px;
        height: 14px
    }
}
/* Liste lädt */
#couponList.is-loading {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s
}


.coupon-detail-view .bet-status-dot.open {
    visibility: hidden
}




/* modallar */

/* ===== master home: quick-action picker modal ===== */
.bx-pick {
    width: min(440px,100%);
    padding: 20px;
    text-align: left
}

.bx-pick-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: #5b6575;
    cursor: pointer;
    transition: .18s
}

    .bx-pick-close:hover {
        background: #f7f9ff;
        border-color: #cbd5ff;
        color: var(--blue)
    }

    .bx-pick-close .svg-icon {
        width: 16px;
        height: 16px
    }

.bx-pick-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-right: 44px
}

    .bx-pick-head .muted {
        display: block;
        margin-top: 3px
    }

.bx-pick-list {
    display: grid;
    gap: 10px
}

.bx-pick-ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #edf1ff;
    color: var(--blue)
}

    .bx-pick-ico .svg-icon {
        width: 22px;
        height: 22px
    }

.bx-pick[data-tone="green"] .bx-pick-ico {
    background: #e7f7ed;
    color: var(--green)
}

.bx-pick[data-tone="red"] .bx-pick-ico {
    background: #ffebee;
    color: var(--red)
}

.bx-pick[data-tone="blue"] .bx-pick-ico {
    background: #edf1ff;
    color: var(--blue)
}

.bx-pick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    min-height: 78px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    text-align: left;
    transition: .18s
}

    .bx-pick-link:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow);
        border-color: #ccd5e4;
        color: inherit
    }

.bx-pick[data-tone="green"] .bx-pick-link:hover {
    border-color: var(--green)
}

.bx-pick[data-tone="red"] .bx-pick-link:hover {
    border-color: var(--red)
}

.bx-pick[data-tone="blue"] .bx-pick-link:hover {
    border-color: var(--blue)
}

.bx-pick-copy {
    min-width: 0;
    flex: 1 1 auto
}

    .bx-pick-copy strong {
        display: block;
        margin-bottom: 3px
    }

    .bx-pick-copy small {
        color: var(--muted)
    }

.bx-pick-chev {
    flex: 0 0 auto;
    color: #9aa6b8
}

    .bx-pick-chev .svg-icon {
        width: 18px;
        height: 18px
    }

@media(max-width:520px) {
    .bx-pick {
        padding: 16px
    }

    .bx-pick-link {
        padding: 12px 14px;
        min-height: 70px;
        gap: 12px
    }

    .bx-pick-ico {
        width: 42px;
        height: 42px
    }
}




/* ===== create agent: multi select (checkbox dropdown) ===== */
.bx-multi {
    overflow: visible
}

    .bx-multi.is-open {
        border-color: #7892fb;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(6,72,245,.07)
    }

    .bx-multi .bx-multi-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
        cursor: pointer;
        font: inherit;
        font-size: 14px
    }

    .bx-multi .bx-multi-text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

        .bx-multi .bx-multi-text.is-placeholder {
            color: #9ba6b8
        }

    .bx-multi .bx-multi-chev {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        color: #7a879c;
        transition: transform .15s
    }

        .bx-multi .bx-multi-chev .svg-icon {
            width: 18px;
            height: 18px
        }

    .bx-multi.is-open .bx-multi-chev {
        transform: rotate(180deg)
    }

.bx-multi-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(10,21,48,.14)
}

    .bx-multi-panel[hidden] {
        display: none
    }

.bx-multi-tools {
    display: flex;
    gap: 6px;
    padding: 2px 2px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line)
}

    .bx-multi-tools button {
        border: 0;
        background: transparent;
        color: var(--blue);
        font-size: 12px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 7px;
        cursor: pointer
    }

        .bx-multi-tools button:hover {
            background: #edf1ff
        }

.bx-multi-opt, .create-user-view .field label.bx-multi-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
    color: #0a1530;
    margin: 0;
    font-weight: 500
}

    .bx-multi-opt:hover {
        background: #f4f6fb
    }

    .bx-multi-opt input {
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: var(--blue);
        flex: 0 0 auto
    }

    .bx-multi-opt span {
        min-width: 0;
        overflow-wrap: anywhere
    }

@media(max-width:520px) {
    .bx-multi .bx-multi-toggle {
        font-size: 16px
    }

    .bx-multi-panel {
        max-height: 220px
    }
}



/* ===== create shop: single select inside .create-user-input-shell ===== */
.create-user-input-shell select.control {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a879c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 18px !important;
    text-overflow: ellipsis;
}

    .create-user-input-shell select.control.is-empty {
        color: #9ba6b8
    }

    .create-user-input-shell select.control option {
        color: #0a1530
    }



/* ===== master turnover: shop link + reset button + history modal ===== */
.turnover-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    color: var(--blue);
    cursor: pointer;
    text-align: left
}

    .turnover-shop-link:hover strong {
        text-decoration: underline
    }

.turnover-shop-zoom {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #edf1ff;
    color: var(--blue);
    flex: 0 0 auto;
    transition: .15s
}

    .turnover-shop-zoom .svg-icon {
        width: 15px;
        height: 15px
    }

.turnover-shop-link:hover .turnover-shop-zoom {
    background: var(--blue);
    color: #fff
}

.turnover-records-card td.tunoverReset {
    white-space: nowrap
}

.turnover-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

    .turnover-reset-btn .turnover-reset-icon {
        display: inline-grid;
        place-items: center
    }

    .turnover-reset-btn .svg-icon {
        width: 14px;
        height: 14px
    }

.bx-history-dialog {
    width: min(760px,100%);
    padding: 20px
}

.bx-history-head {
    margin-bottom: 14px;
    padding-right: 44px
}

    .bx-history-head small {
        display: block;
        margin-top: 3px;
        font-weight: 700;
        color: var(--blue)
    }

.bx-history-card {
    margin: 0
}

    .bx-history-card .data-table.bx-history-table {
        min-width: 0
    }

.bx-history-table th, .bx-history-table td {
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px
}

.bx-history-period {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px
}

.bx-history-sep {
    color: #9aa6b8
}

.bx-modal-loading[hidden], #shopHistoryEmpty[hidden] {
    display: none
}

@media(max-width:520px) {
    .bx-history-dialog {
        padding: 14px
    }

    .bx-history-card .data-table.bx-history-table {
        min-width: 540px
    }
    /* scrolls horizontally inside the card */
    .bx-history-period {
        flex-direction: column;
        gap: 0
    }

        .bx-history-period .bx-history-sep {
            display: none
        }
}

