.app-mobile-menu,
.app-mobile-toggle,
.mobile-sticky-bar,
.mobile-fab-btn {
    display: none;
}
@media (max-width: 991px) {
    .bot-share-receiver { margin-top: 0; padding-top: 4rem; padding-bottom: calc(var(--mobile-sticky-height) + var(--mobile-sticky-bottom) + 2rem); }
    .bot-share-receiver h1 { font-size: 1.65rem; }
    .bot-share-receiver h2 { font-size: 1rem; }
    .bot-share-apply-desktop { display: none; }
    .bot-share-apply-mobile { display: inline; }
    :root {
        --app-header-height: 56px;
        --mobile-sticky-height: 52px;
        --mobile-sticky-radius: 15px;
        --mobile-sticky-padding-x: 1rem;
        --mobile-sticky-width: calc((100vw - 2 * var(--mobile-sticky-padding-x) - 0.75rem) / 2);
        --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
        --mobile-sticky-bottom: calc(12px + var(--mobile-safe-bottom));
        --mobile-sticky-shadow: 0 12px 28px rgba(0,0,0,0.18);
        --mobile-modal-text: 0.95rem;
        --mobile-modal-small: 0.85rem;
        --mobile-modal-padding: 1.5rem;
        --mobile-modal-radius: 18px;
        --modal-max-height: min(500px, calc(100dvh - 2rem));
        --wizard-sticky-width: min(70vw, 260px);
    }

    .mobile-page-header,
    .referral-headline,
    .payments-header {
        margin-top: 1.25rem !important;
        margin-bottom: 2rem !important;
        text-align: left !important;
        display: block !important;
    }
    .mobile-page-title,
    .referral-headline .headline-primary,
    .referral-headline .headline-secondary,
    .payments-balance {
    font-size: 2.1rem !important;
        font-weight: 700 !important;
    letter-spacing: -0.03em !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        display: inline-block;
    }
    .header-app {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0;
        left: 0;
        right: 0;
        height: var(--app-header-height) !important;
        min-height: var(--app-header-height) !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        overflow: visible !important;
        z-index: 3200;
    }
    .header-app .container {
        display: flex;
        align-items: center;
        height: 100% !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }
    .header-app .logo {
        font-size: 1.2rem;
        gap: 0.45rem;
    }
    .header-app .logo-icon {
        width: 34px;
        height: 34px;
    }
    .header-app .header-right {
        display: none;
    }
    .header-app .mobile-menu-toggle.app-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        margin-left: auto;
        z-index: 3300;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto;
    }
    body.account-page a:not(.btn),
    body.referral-page a:not(.btn),
    body.bots-page a:not(.btn),
    body.brokers-page a:not(.btn),
    body.payments-page a:not(.btn),
    body.dashboard-page a:not(.btn),
    body.bot-details-page a:not(.btn),
    body.add-bot-page a:not(.btn) {
        color: inherit;
    }
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
        -webkit-appearance: none;
        appearance: none;
        color: inherit;
        background-color: transparent;
        -webkit-text-fill-color: currentColor;
    }
    .btn-danger {
        background-color: var(--color-red);
        color: var(--color-white);
        border-color: var(--color-red);
    }
    .btn-danger:hover {
        background-color: var(--color-red);
        border-color: var(--color-red);
    }
    body.account-page .btn-primary,
    body.referral-page .btn-primary,
    body.bots-page .btn-primary,
    body.brokers-page .btn-primary,
    body.payments-page .btn-primary,
    body.dashboard-page .btn-primary,
    body.bot-details-page .btn-primary,
    body.add-bot-page .btn-primary {
        background-color: var(--color-dark);
        color: var(--color-white);
        border-color: var(--color-dark);
    }
    body.account-page .btn-ghost,
    body.referral-page .btn-ghost,
    body.bots-page .btn-ghost,
    body.brokers-page .btn-ghost,
    body.payments-page .btn-ghost,
    body.dashboard-page .btn-ghost,
    body.bot-details-page .btn-ghost,
    body.add-bot-page .btn-ghost,
    body.account-page .btn-link,
    body.referral-page .btn-link,
    body.bots-page .btn-link,
    body.brokers-page .btn-link,
    body.payments-page .btn-link,
    body.dashboard-page .btn-link,
    body.bot-details-page .btn-link,
    body.add-bot-page .btn-link {
        color: var(--color-dark);
    }
    .mobile-sticky-btn {
        min-height: var(--mobile-sticky-height);
        padding: 0.9rem 1.2rem;
        border: none;
        border-radius: var(--mobile-sticky-radius) !important;
        background: var(--color-dark);
        color: var(--color-white) !important;
        box-shadow: var(--mobile-sticky-shadow);
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        box-sizing: border-box;
    }
    .mobile-sticky-btn.mobile-sticky-btn--floating,
    .mobile-sticky-actions--floating {
        position: fixed !important;
        left: auto !important;
        right: var(--mobile-sticky-padding-x) !important;
        bottom: var(--mobile-sticky-bottom) !important;
        z-index: 2600;
        width: var(--mobile-sticky-width) !important;
        min-width: 150px;
    }
    .mobile-sticky-actions--floating {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .mobile-sticky-btn--chevron::after,
    #trigger-brokers::after,
    #trigger-bots::after,
    .payments-actions .btn::after,
    .auth-page .auth-sticky-btn::after,
    body.add-bot-page .action-buttons-container .btn-primary-large::after,
    body.add-bot-page .action-buttons-container .btn-text-link::after,
    #add-api-key-form .wizard-actions .wizard-btn-next::after {
        content: '';
        display: block;
        position: static;
        margin-left: auto;
    }
    .mobile-action-icon {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }
    .mobile-action-icon svg {
        display: block;
        width: 100%;
        height: 100%;
    }
    .mobile-more-icon {
        width: 14px;
        height: 4px;
    }
    .mobile-more-icon svg {
        fill: currentColor;
    }
    .mobile-check-icon {
        width: 14px;
        height: 14px;
    }
    .mobile-check-icon svg {
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .account-page .level-sidebar-footer .upgrade-btn-styled {
        border-radius: var(--mobile-sticky-radius) !important;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
    }
    .app-mobile-menu {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-height: 100vh;
        background: var(--color-light);
        z-index: 3100;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        overflow-y: auto;
    }
    .app-mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .app-mobile-panel {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 6.75rem 1.5rem calc(2.6rem + env(safe-area-inset-bottom));
        min-height: 100dvh;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .app-mobile-availability {
        width: 100%;
        padding: 0;
        position: relative;
    }
    .app-mobile-availability > .mobile-menu-section-title {
        position: absolute;
        top: -1.75rem;
        left: 1rem;
        margin: 0;
    }
    .app-mobile-balances {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .app-mobile-balances::-webkit-scrollbar {
        display: none;
    }
    .app-mobile-stat-box {
        flex: 0 0 150px;
        min-width: 150px;
        height: 96px;
        padding: 0.9rem;
        border-radius: 18px;
        background: var(--color-white);
        border: 1px solid transparent;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        scroll-snap-align: start;
        text-decoration: none;
        color: var(--color-dark);
    }
    .app-mobile-stat-box .stat-label {
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--color-text-secondary);
    }
    .app-mobile-stat-box .stat-value {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -0.02em;
        color: var(--color-dark);
        text-align: left;
        word-break: break-all;
    }
    .app-mobile-nav {
        margin: 0;
    }
    .app-mobile-services {
        width: auto;
        margin: 2.8rem 1rem 0;
        padding: 0;
    }
    .app-mobile-nav a.account-link--mobile {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .app-mobile-nav a.account-link--mobile .account-link__label--mobile {
        display: inline-block;
    }
    .app-mobile-nav a.account-link--mobile .pending-request-dot--mobile-inline {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%) scale(0.6);
    }
    .header-app.has-pending-requests .app-mobile-nav a.account-link--mobile .pending-request-dot--mobile-inline {
        transform: translateY(-50%) scale(1);
    }
    .app-mobile-footer {
        width: auto;
        margin: 0;
    }
    .app-mobile-footer a {
        font-weight: 400;
    }
    body.app-menu-open .header-app {
        z-index: 9999 !important;
    }
    body.app-menu-open {
        overflow: hidden;
    }
    .dashboard-page .setup-completion-card {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "ring content"
            "action action";
        gap: 0.8rem 1rem;
        padding: 1.1rem;
        align-items: center;
        text-align: left;
    }
    .dashboard-page .setup-completion-card .progress-indicator-wrapper {
        grid-area: ring;
        margin: 0;
        display: flex;
        justify-content: center;
    }
    .dashboard-page .setup-completion-card .progress-ring,
    .dashboard-page .setup-completion-card .progress-ring__svg {
        width: 56px;
        height: 56px;
    }
    .dashboard-page .setup-completion-card .step-count {
        font-size: 0.75rem;
        font-weight: 700;
    }
    .dashboard-page .setup-completion-card .setup-content {
        grid-area: content;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .dashboard-page .setup-completion-card .setup-title {
        font-size: 0.95rem;
        font-weight: 700;
        margin: 0 0 0.3rem 0;
        line-height: 1.2;
    }
    .dashboard-page .setup-completion-card .setup-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }
    .dashboard-page .setup-completion-card .setup-action {
        grid-area: action;
        margin: 0;
        width: 100%;
    }
    .dashboard-page .setup-completion-card .setup-btn {
        width: 100%;
        min-height: 44px;
        font-size: 0.9rem;
        border-radius: 12px;
        padding: 0 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--color-white) !important;
    }
    .graph-container-inner {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        height: clamp(170px, 30vh, 215px) !important;
        margin-bottom: 1.25rem;
        overscroll-behavior: contain;
        touch-action: none;
    }
    #dashboard-chart,
    #bot-chart,
    #backtesting-chart {
        height: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }
    #backtesting-chart-container {
        overscroll-behavior: contain;
        touch-action: none;
    }
    #chartjs-tooltip {
        max-width: calc(100vw - 24px);
        will-change: left, top, opacity;
    }
    .dashboard-top-row {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .dashboard-chart-panel {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .stats-grid {
        padding: 1rem 0.9rem;
        gap: 0.75rem;
    }
    .stat .value {
        font-size: 1.32rem;
    }
    .stat .label {
        font-size: 0.62rem;
    }
    .stats-management-row {
        grid-template-columns: 1fr;
        margin-top: 0.7rem;
        margin-bottom: 1rem;
    }
    .management-grid {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        border-top: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 2500;
    }
    #trigger-brokers {
        order: 1;
    }
    #trigger-bots {
        order: 2;
    }
    .management-box {
        padding: 0.9rem 1rem;
        flex-direction: row;
        gap: 0.5rem;
    }
    .management-title {
        position: static;
        opacity: 1;
        pointer-events: auto;
        margin: 0;
        font-size: 0;
        font-weight: 600;
        color: var(--color-dark);
    }
    .management-arrow {
        display: none;
    }
    #trigger-brokers .management-title::before {
        content: 'Broker';
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-white);
    }
    #trigger-bots .management-title::before {
        content: 'Bots';
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-white);
    }
    .section-before-footer {
        padding-bottom: calc(96px + var(--mobile-safe-bottom));
    }
    body.dashboard-page,
    body.dashboard-page main,
    body.dashboard-page .container {
        overflow-x: hidden;
    }
    .ranking-grid {
        display: flex;
        gap: 0.75rem;
        margin-top: 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .ranking-grid::-webkit-scrollbar {
        display: none;
    }
    .ranking-card {
        flex: 0 0 clamp(120px, 36vw, 145px);
        min-height: 128px;
        padding: 0.9rem;
        scroll-snap-align: start;
    }
    .friends-header-grid {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title toggle"
            "link link";
        row-gap: 0.25rem;
        column-gap: 0.75rem;
        align-items: center;
        width: 100%;
    }
    .friends-title-group {
        grid-area: title;
    }
    .friends-activation-button {
        grid-area: toggle;
        justify-self: end;
    }
    .friends-ranking-link {
        grid-area: link;
        font-size: 0.85rem;
    color: var(--color-text-tertiary) !important; /* Erzwingt die Desktop-Farbe gegen den Mobile-Reset */
    }
    .friends-ranking-card {
        min-height: 145px;
        padding: 0.75rem;
    }
    .friends-card-bottom {
        margin-bottom: 30px;
}
    .dashboard-page .card-header .card-title {
        font-size: 1.05rem;
    }
    .timeframe-selector {
        gap: 0.5rem;
        margin-top: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    .timeframe-btn {
        font-size: 0.78rem;
        padding: 0.35rem 0.2rem;
        min-width: 40px;
    }
    .bots-page main,
    .brokers-page main {
        padding-bottom: calc(96px + var(--mobile-safe-bottom));
    }
    .mobile-page-header {
        margin-top: 1.25rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    .mobile-page-title {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.1;
        color: var(--color-dark);
    }
    .mobile-page-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin: 0 0 2rem;
        text-align: left;
        max-width: 32ch;
    }
    .mobile-list .bot-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        max-height: calc(100dvh - 300px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-list .bot-list::-webkit-scrollbar {
        display: none;
    }
    .mobile-sticky-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
        box-sizing: border-box;
    }
    .mobile-sticky-btn {
        width: 100%;
    }
    .mobile-sticky-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-white);
    }
    .mobile-back-btn {
        width: 100% !important;
        visibility: hidden;
        pointer-events: none;
    }
    .mobile-new-btn .chevron-right {
        display: none;
    }
    .mobile-new-btn {
        justify-content: space-between;
    }
    .mobile-new-btn::after {
        content: '+';
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--color-white);
        margin-left: auto;
    }
    .dashboard-sidebar {
        position: fixed;
        left: 0;
        right: 0;
        top: calc(56px + env(safe-area-inset-top));
        bottom: calc(96px + var(--mobile-safe-bottom));
        padding: 0 16px;
        opacity: 0;
        pointer-events: none;
        transform: none;
        background: transparent;
        z-index: 2200;
    }
    .dashboard-grid.sidebar-visible .dashboard-sidebar {
        opacity: 1;
        pointer-events: auto;
    }
    .dashboard-grid.sidebar-visible .management-grid {
        display: none;
    }
    .dashboard-sidebar .split-card {
        height: 100%;
        max-height: 100%;
        border-radius: 18px;
        padding: 1.2rem;
    }
    .dashboard-sidebar .card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }
    .dashboard-sidebar .card-title {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.1;
    }
    .dashboard-sidebar .timeframe-selected,
    .account-page .account-share-trigger {
        font-size: 0.82rem;
        padding: 6px 10px;
        height: auto;
    }
    .dashboard-sidebar .scrollable-list-wrapper {
        flex: 1;
        height: auto;
    }
    .dashboard-sidebar .fixed-action-area {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        display: flex;
        justify-content: flex-end;
    }
    .dashboard-sidebar .fixed-action-area .primary-button {
        width: calc(50% - 0.375rem);
        padding: 0.9rem 1rem;
        font-size: 0;
    }
    .dashboard-sidebar .fixed-action-area .primary-button::before {
        content: 'Neu';
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-white);
    }
    .dashboard-sidebar .fixed-action-area .primary-button::after {
        content: '+';
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--color-white);
        margin-left: auto;
    }
    :is(#filter-modal, #top-movers-filter-modal) .filter-modal-content {
        width: calc(100% - 2rem);
        max-width: 360px;
        padding: var(--mobile-modal-padding);
        border-radius: var(--mobile-modal-radius);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    :is(#filter-modal, #top-movers-filter-modal) .filter-modal-header {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0;
    }
    :is(#filter-modal, #top-movers-filter-modal) .filter-modal-title {
        line-height: 1.2;
    }
    :is(#filter-modal, #top-movers-filter-modal) .filter-modal-body {
        min-height: 0;
        padding: 0;
        overflow-y: auto;
    }
    :is(#filter-modal, #top-movers-filter-modal) .filter-modal-footer {
        margin-top: 1.5rem;
        padding-top: 0;
    }
    :is(#filter-modal, #top-movers-filter-modal) .filter-pill {
        font-size: 0.85rem;
    }
    .dashboard-page #api-key-modal .modal-description {
        max-width: 26ch;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .dashboard-page .api-key-selection-container .filter-accordion-header {
        font-size: 1rem;
    }
    .dashboard-page .api-key-selection-container input {
        font-size: 1rem;
    }
    .dashboard-page .api-key-item {
        color: var(--color-white) !important;
    }
    .dashboard-page .broker-selection-container {
        padding: 1.5rem;
    }
    .dashboard-page .broker-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .dashboard-page .broker-card {
        max-width: none;
        width: 100%;
        min-height: 88px;
        padding: 0.65rem 0.6rem;
        gap: 0.45rem;
        border-radius: 12px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .dashboard-page .broker-logo {
        height: 24px;
        width: 24px;
        margin-bottom: 0;
    }
    .dashboard-page .broker-name {
        font-size: 0.8rem;
        line-height: 1.15;
        word-break: break-word;
        white-space: normal;
    }
    .payments-header {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    .payments-balance {
        font-size: 2rem;
        margin-top: 0.75rem;
    }
    .payments-balance-secondary {
        margin: 0.35rem 0 0;
        font-size: 0.95rem;
        color: var(--color-text-secondary);
    }
    .payments-page .payments-currency-label {
        display: block;
        text-align: left;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    .payments-page .payments-currency-label .tooltip-icon {
        display: inline-flex;
        margin-left: 2px;
        vertical-align: 0.1em;
    }
    .payments-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0 !important;
        margin: 0 !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
    }
    .payments-actions .btn {
        width: 100%;
        padding: 0.9rem 1rem;
        margin: 0 !important;
        gap: 0.5rem;
        text-align: left;
    }
    .payments-actions .btn.btn-secondary {
        background: var(--color-dark);
        color: var(--color-white);
    }
    .payments-actions .mobile-invoices-btn::after {
        content: none;
    }
    .payments-page main {
        padding-bottom: calc(96px + var(--mobile-safe-bottom));
    }
    .payments-actions .btn-primary {
        order: 1;
    }
    .payments-page .modal-body .confirmation-row span {
        font-size: var(--mobile-modal-small);
        line-height: 1.4;
    }
    .transaction-white-container {
        padding: 0.4rem 1rem;
        border-radius: 18px;
    }
    .transaction-item {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) auto !important;
        align-items: start;
        column-gap: 0.75rem;
        padding: 0.7rem 0;
    }
    .transaction-icon-wrapper {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        margin-right: 0;
    }
    .transaction-info {
        min-height: 34px;
        justify-content: center;
        min-width: 0;
        text-align: left;
        max-width: 46vw;
    }
    .transaction-title {
        font-size: 0.86rem;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .transaction-note {
        font-size: 0.75rem;
        line-height: 1.3;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    .transaction-value {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        text-align: right;
    }
    .value-amount {
        font-size: 0.88rem;
    }
    .transaction-date {
        font-size: 0.7rem;
    }
    .empty-transactions,
    .empty-state-text {
        font-size: 0.85rem;
    }
    .payments-page .transactions-header {
        margin-top: 0.5rem;
        margin-bottom: var(--app-section-gap-after-heading);
    }
    .payments-page .transactions-header .profile-subtitle {
        font-size: 0.78rem;
        margin: 0 !important;
    }
    .payments-page .transactions-section {
        margin-top: var(--app-section-gap-before-heading);
    }
    .payments-page .modal-content {
        width: calc(100% - 2rem);
        max-width: 360px;
        border-radius: var(--mobile-modal-radius);
    }
    .payments-page .modal-overlay {
        z-index: 3000;
    }
    .payments-page .payment-setup-modal.is-summary-step {
        height: var(--modal-max-height);
        overflow: hidden;
    }
    .payments-page #payments-filter-modal .filter-modal-content {
        width: calc(100% - 2rem);
        max-width: 360px;
        padding: var(--mobile-modal-padding);
        border-radius: var(--mobile-modal-radius);
        text-align: center;
    }
    .payments-page #payments-filter-modal .filter-modal-header {
        margin-bottom: 1rem;
        padding-bottom: 0;
    }
    .payments-page #payments-filter-modal .filter-modal-title {
        line-height: 1.2;
    }
    .payments-page #payments-filter-modal .filter-modal-body {
        padding: 0;
    }
    .payments-page #payments-filter-modal .filter-accordion-header {
        font-size: 1rem;
    }
    .payments-page #payments-filter-modal .filter-pill {
        font-size: 0.85rem;
    }
    .payments-page .deposit-step {
        position: relative;
    }
    .payments-page .payment-setup-modal.is-summary-step #deposit-step-summary.active {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        height: 100%;
        min-height: 0;
    }
    .payments-page .modal-header {
        padding: 1.25rem 1.5rem 0.75rem;
        position: static;
        top: auto;
        background: var(--color-white);
        z-index: 0;
        border-bottom: none !important;
    }
    .payments-page .modal-header h3 {
        line-height: 1.2;
        margin-top: 0.75rem;
        margin-bottom: 0.9rem;
    }
    .payments-page .modal-header p,
    .payments-page .payment-info-text {
        font-size: var(--mobile-modal-small);
        line-height: 1.4;
    }
    .payments-page .modal-header .btn-close {
        position: absolute;
        top: 2rem;
        right: 1.5rem;
        margin-left: 0;
    }
    .payments-page .modal-body {
        padding: 0 1.5rem 1.25rem;
    }
    .payments-page .payment-setup-modal #deposit-step-summary .modal-body {
        --summary-body-padding: 1.5rem;
        padding-bottom: 0;
    }
    .payments-page .payment-setup-modal .summary-confirmations {
        padding-bottom: 1.25rem;
    }
    body.support-page-body .support-contact-modal .support-contact-content,
    #support-contact-modal .support-contact-content {
        width: calc(100% - 2rem);
        max-width: 360px;
        box-sizing: border-box;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: var(--mobile-modal-padding);
        border-radius: var(--mobile-modal-radius);
    }
    body.support-page-body #public-support-modal .modal-scroll-content {
        overflow: hidden;
    }
    .payments-page .modal-body p,
    .payments-page .modal-body label,
    .payments-page .amount-info,
    .payments-page .summary-card .label,
    .payments-page .summary-item span {
        font-size: var(--mobile-modal-text);
        line-height: 1.45;
    }
    .payments-page .summary-card .value,
    .payments-page .summary-item strong {
        font-size: 1rem;
    }
    .payments-page .summary-grid {
        width: calc(100% + 1.5rem);
        margin-right: -1.5rem;
        margin-bottom: 1.25rem;
        padding-right: 1.5rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .payments-page .summary-track {
        grid-template-columns: 112px 150px 112px;
        width: max-content;
    }
    .payments-page .summary-card {
        min-height: 85px;
        padding: 0.8rem 0.6rem;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
    }
    .payments-page .summary-card .label {
        margin-bottom: 0.35rem;
        font-size: 0.85rem;
        line-height: 1.35;
    }
    .payments-page .form-control,
    .payments-page .amount-presets .btn {
        font-size: 1.2rem;
    }
    .payments-page .modal-footer .btn {
        font-size: 0.95rem;
    }
    .payments-page .modal-footer {
        border-top: none;
        padding: 0 1.5rem 1.5rem;
    }
    .payments-page .payment-setup-modal.is-summary-step #deposit-step-summary .modal-footer {
        position: relative;
        z-index: 1;
        background: var(--color-white);
        box-shadow: 0 -12px 24px rgba(255, 255, 255, 0.96);
    }
    .payments-page .amount-presets .btn-secondary {
        background-color: transparent !important;
        border: 1px solid var(--color-border) !important;
        color: var(--color-dark) !important;
        box-shadow: none !important;
    }
    .payments-page .payment-setup-amount {
    margin-top: 1.5rem;    /* Abstand zum Text darüber */
    margin-bottom: 2.5rem; /* Abstand zur Checkbox darunter */
    }
    .payments-actions .btn-secondary,
    .payments-actions .btn-primary {
        background-color: var(--color-dark) !important;
        color: var(--color-white) !important;
        border: none !important;
    }
    body.homepage .mobile-app-note,
    body.about-us-page .mobile-app-note,
    body.support-page-body .mobile-app-note,
    body.legal-page-body .mobile-app-note {
        display: flex !important;
    }
    body.referral-page,
    body.referral-page main,
    body.referral-page .container {
        overflow-x: hidden;
    }
    .referral-page .container {
        max-width: 100%;
        padding: 0 16px 4rem;
    }
    .referral-section {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        text-align: left;
    }
    .referral-section .referral-headline {
        justify-content: flex-start;
        gap: 0.4rem;
        margin-bottom: 1rem !important;
    }
    .referral-section .referral-headline .headline-primary,
    .referral-section .referral-headline .headline-secondary {
        font-size: 2rem;
        letter-spacing: -0.01em;
    }
    .referral-section .referral-subheadline {
        font-size: 0.88rem;
        line-height: 1.5;
        margin: 0 0 2rem;
        text-align: left;
        max-width: 32ch;
    }
    .referral-stats {
        justify-content: flex-start !important;
        gap: 2rem;
        padding-left: 0.2rem;
        margin-bottom: 2.5rem;
    }
    .referral-stats .stat {
        text-align: left;
        padding: 0 !important;
    }
    .stat .stat-value {
        font-size: 1.6rem;
    }
    .stat .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.04em;
    }
    .referral-page .referral-link-section {
        max-width: 100%;
        margin-top: 1.5rem;
    }
    .referral-page .share-link-wrapper {
        display: block;
        background: transparent;
        border: none;
        padding: 0;
        min-height: auto;
        box-shadow: none;
    }
    .referral-page .share-link-input {
        width: 100%;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        border: 1px solid var(--color-border);
        background: var(--color-white);
        color: var(--color-text-primary);
        font-size: 0.9rem;
        line-height: 1.3;
    }
    .referral-page #invite-friends-btn {
        width: var(--mobile-sticky-width);
        height: var(--mobile-sticky-height);
        max-height: var(--mobile-sticky-height);
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem !important;
        display: inline-flex;
        justify-content: space-between;
        gap: 0.5rem;
        line-height: 1;
        text-align: left;
        align-self: auto;
    }
    .referral-page #invite-friends-btn::before {
        content: none;
    }
    .referral-page #invite-friends-btn .invite-btn-icon {
        width: 14px;
        height: 14px;
        margin-left: auto;
    }
    .referral-page #invite-friends-btn .invite-label-desktop {
        display: none;
    }
    .referral-page main {
        padding-bottom: calc(96px + var(--mobile-safe-bottom));
    }
    .rewards-explanation {
        margin-top: 1.25rem;
        padding-top: 1.5rem;
    }
    .rewards-explanation h3 {
        font-size: 0.85rem;
    }
    .rewards-explanation p {
        font-size: 0.78rem;
        line-height: 1.5;
    }
    body.account-page,
    body.account-page main,
    body.account-page .account-container {
        overflow-x: hidden;
        touch-action: pan-y;
    }
    body.account-page .account-container {
        padding: 0 16px 4rem;
    }
    .highlights-selector-container,
    .level-list {
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    .highlights-selector-container {
        gap: 12px;
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
        scroll-snap-type: x proximity;
    }
    body.account-page #level-section {
        margin-bottom: -2rem !important;
    }
    .account-page .friends-comparison-section {
        padding: 1rem 0 0;
        margin-bottom: 5rem;
    }
    .highlight-selector-card {
        min-width: 150px;
        height: 96px;
        padding: 0.9rem;
        border-radius: 18px;
        scroll-snap-align: start;
    }
    .selector-label {
        font-size: 0.7rem;
    }
    .selector-value {
        font-size: 1.25rem;
    }
    .level-list {
        gap: 12px;
        padding: 0 0 0.75rem;
        margin-bottom: 0rem;
        border-bottom: none;
        scroll-snap-type: x proximity;
    }
    .level-list-item {
        min-width: 150px;
        height: 96px !important;
        padding: 0.85rem;
        border-radius: 18px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        scroll-snap-align: start;
    }
    .level-card-label {
        margin-left: 0;
        font-size: 0.85rem;
    }
    .custom-visual-icon {
        width: 22px;
        height: 22px;
    }
    .level-details-area {
        padding: 0;
        min-height: auto;
    }
    .white-content-wrapper {
        background: var(--color-white);
        box-shadow: 0 10px 40px rgba(0,0,0,0.03);
        border-radius: 24px;
        padding: 2rem 1.5rem;
    }
    .features-grid-boxes {
        gap: 0.6rem !important;
        margin-top: 1.25rem;
    }
    .feature-box {
        min-height: 90px;
        padding: 0.85rem 0.75rem !important;
        border-radius: 14px;
        background-color: var(--color-white);
        box-shadow: none;
    }
    .feat-icon-box {
        width: 26px;
        height: 26px;
    }
    .feature-box span {
        font-size: 0.78rem;
    }
    .level-details-pane-minimal .level-detail-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.4rem;
    }
    .level-details-pane-minimal .level-detail-desc {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }
    .settings-accordion summary,
    .settings-accordion .privacy-setting-title {
        font-size: 0.95rem !important;
    }
    .settings-accordion summary {
        padding: 1.15rem 1.5rem !important;
    }
    .settings-accordion summary::after {
        font-size: 1.5rem !important;
    }
    .invite-friends-modal-content h2,
    .twofa-setup-modal-content h2 {
        font-size: 1.35rem;
    }
    .invite-friends-modal-content .modal-body > p,
    .twofa-setup-modal-content .modal-body > p {
        font-size: 0.95rem;
    }
    .account-page .api-item-header {
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-areas:
            "logo details"
            "actions actions";
        row-gap: 0.75rem;
        column-gap: 0.75rem;
        align-items: center;
    }
    .account-page .broker-logo {
        grid-area: logo;
    }
    .account-page .api-details {
        grid-area: details;
    }
    .account-page .api-actions {
        grid-area: actions;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .account-page .btn-edit-api,
    .account-page .remove-link {
        font-size: 0.82rem;
        padding: 0.45rem 0.75rem;
        color: var(--color-dark);
    }
    .account-page .remove-link {
        color: var(--color-text-secondary);
    }
    .account-page .tradic-modal-content.confirm-modal-content {
        width: calc(100% - 2rem);
        max-width: 360px;
        border-radius: 18px;
        padding: 1.5rem;
    }
    .account-page .tradic-modal-content.confirm-modal-content h3 {
        line-height: 1.25;
        margin-top: 0.75rem;
        margin-bottom: 0.95rem;
    }
    .account-page .tradic-modal-content.confirm-modal-content p {
        font-size: var(--mobile-modal-text);
        line-height: 1.45;
    }
    .account-page .tradic-modal-content.confirm-modal-content {
        text-align: center;
    }
    .account-page .tradic-modal-content.confirm-modal-content .btn-group {
        justify-content: center;
        width: 100%;
    }
    .account-page .tradic-modal-content.confirm-modal-content .btn {
        font-size: 1rem;
        min-height: 44px;
    }
    .account-page #edit-api-modal input,
    .account-page #delete-api-modal input,
    .account-page #delete-account-modal input,
    .account-page #delete-pic-modal input {
        font-size: 1rem;
        min-height: 44px;
    }
    #quiz-modal .modal-content {
        max-width: 360px;
        padding: 1.5rem;
        border-radius: 18px;
    }
    #quiz-modal .modal-header {
        margin-bottom: 0.75rem;
    }
    #quiz-modal .modal-header h3 {
        line-height: 1.25;
        margin-bottom: 0.35rem;
    }
    #quiz-progress {
        font-size: var(--mobile-modal-small);
    }
    #quiz-question-text {
        font-size: var(--mobile-modal-text);
        line-height: 1.45;
    }
    .quiz-answer-btn {
        font-size: 0.95rem;
        padding: 0.75rem 0.9rem;
    }
    #quiz-result-icon {
        width: 72px;
        height: 72px;
    }
    #quiz-result-icon svg {
        width: 48px;
        height: 48px;
    }
    #quiz-result-text {
        font-size: var(--mobile-modal-text);
        margin-bottom: 1.5rem;
    }
    .bot-details-page .tradic-modal-content.confirm-modal-content {
        width: calc(100% - 2rem);
        max-width: 360px;
        border-radius: var(--mobile-modal-radius);
        padding: var(--mobile-modal-padding);
    }
    .bot-details-page .tradic-modal-content.confirm-modal-content h3 {
        line-height: 1.25;
        margin-top: 0.75rem;
        margin-bottom: 0.95rem;
    }
    .bot-details-page .tradic-modal-content.confirm-modal-content {
        text-align: center;
    }
    .bot-details-page .tradic-modal-content.confirm-modal-content .btn-group {
        justify-content: center;
        width: 100%;
    }
    .bot-details-page .tradic-modal-content.confirm-modal-content p {
        font-size: var(--mobile-modal-text);
        line-height: 1.45;
    }
    .bot-details-page .tradic-modal-content.confirm-modal-content .btn {
        font-size: 1rem;
        min-height: 44px;
    }
    .account-page .profile-section.danger-zone {
        margin-top: 0 !important;
        padding-top: var(--app-danger-zone-divider-gap);
        border-top: 1px solid var(--color-border);
    }
    .account-page .danger-zone-actions {
        grid-template-columns: max-content minmax(0, 1fr);
    }
    .account-page .danger-zone-item {
        gap: 1.5rem;
        margin-top: 0;
    }
    .account-page .danger-zone-text {
        grid-column: 1 / -1;
    }
    .account-page .danger-zone-title {
        font-size: 1rem;
        margin: 0 0 0.4rem 0;
        color: var(--color-dark);
    }
    .account-page .danger-zone-text p {
        font-size: 0.85rem;
        margin: 0.4rem 0 0 0;
    }
    .account-page .danger-zone .btn {
        grid-column: 1;
        align-self: start;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .account-page .mobile-upgrade-style {
        justify-content: space-between;
    }
    .account-page .upgrade-content {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    .account-page main {
        padding-bottom: calc(112px + var(--mobile-safe-bottom));
    }
    .bots-page .container,
    .brokers-page .container {
        padding: 0 16px 4rem;
        padding-top: 0;
        overflow-x: hidden;
    }
    .bots-page main,
    .brokers-page main {
        padding-top:2rem;
    }
    .bots-page .mobile-page-header,
    .brokers-page .mobile-page-header {
        margin-top: 1.25rem !important;
        margin-bottom: 2rem !important;
    }
    .bots-page .mobile-page-title,
    .brokers-page .mobile-page-title {
        font-size: 2rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        line-height: 1.1;
    }
    .bots-page .mobile-page-subtitle,
    .brokers-page .mobile-page-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin: 1rem 0 2rem;
        color: var(--color-text-secondary);
        font-weight: 400;
    }
    .bots-page .mobile-page-subtitle strong,
    .brokers-page .mobile-page-subtitle strong {
        color: var(--color-dark);
        font-weight: 600;
    }
    .bots-page .mobile-list,
    .brokers-page .mobile-list {
        height: auto;
    }
    .bots-page .mobile-list .bot-list,
    .brokers-page .mobile-list .bot-list {
        height: auto;
        max-height: none;
        overflow: visible;
    }
    .bots-page .mobile-sticky-bar .mobile-new-btn,
    .brokers-page .mobile-sticky-bar .mobile-new-btn {
        justify-self: end;
    }
    .bots-page main,
    .brokers-page main {
        padding-bottom: calc(var(--mobile-sticky-height) + 2.5rem);
    }
    .bots-page .mobile-fab-btn,
    .brokers-page .mobile-fab-btn {
        width: var(--mobile-sticky-width) !important;
        min-width: 0;
        display: inline-flex;
    }
    body.bot-details-page main {
        padding-bottom: calc(112px + var(--mobile-safe-bottom));
    }
    body.bot-details-page {
        overflow-x: hidden;
    }
    .bot-details-page .page-container-narrow {
        max-width: 100%;
        padding: 0 16px;
        margin: 1.5rem auto 2.5rem;
    }
    .bot-details-page .graph-container-inner,
    .bot-details-page #bot-chart {
        height: 180px !important;
        margin-bottom: 0.5rem !important;
    }
    .bot-details-page .graph-card {
        padding: 1.25rem 1rem 0.75rem 1rem !important;
    }
    .bot-details-page .bot-stats-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .bot-details-page .bot-stats-grid::-webkit-scrollbar {
        display: none;
    }
    .bot-details-page .bot-stats-grid .stat-row {
        flex: 0 0 150px;
        min-width: 150px;
        height: 96px;
        padding: 0.9rem;
        border-radius: 18px;
        background: var(--color-white);
        border: 1px solid transparent;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        scroll-snap-align: start;
    }
    .bot-details-page .bot-stats-grid .stat-label {
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--color-text-secondary);
    }
    .bot-details-page .bot-stats-grid .stat-value {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -0.02em;
        text-align: left;
        word-break: break-all;
    }
    .bot-details-page .history-section .section-label {
        font-size: 0;
        margin-bottom: var(--app-section-gap-after-heading);
    }
    .bot-details-page .history-section .section-label::before {
        content: 'Transaktionsverlauf';
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-text-tertiary);
    }
    .bot-details-page .history-section .section-label::after {
        content: '(letzte 2 Zyklen)';
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--color-text-secondary);
        margin-top: 0.25rem;
        text-transform: none;
        letter-spacing: 0;
    }
    .bot-details-page .btn-text-action {
        color: var(--color-dark);
    }
    .bot-details-page .bot-history-download-action {
        min-height: auto;
        padding: 6px 10px;
        font-size: 0.82rem;
        font-weight: 600;
    }
    .bot-details-page .history-section,
    .bot-details-page .history-accordion-wrapper,
    .bot-details-page .history-inner-content,
    .bot-details-page .cycle-group {
        min-width: 0;
        max-width: 100%;
    }
    .bot-details-page .table-wrapper,
    .bot-details-page .tr-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
    }
    .bot-details-page .tr-table-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    .bot-details-page .tr-table-wrapper::-webkit-scrollbar-thumb {
        background: var(--color-border);
        border-radius: 999px;
    }
    .bot-details-page .tr-table {
        min-width: 720px;
        table-layout: auto;
    }
    .bot-details-page .tr-table thead {
        background-color: var(--color-light);
    }
    .bot-details-page .tr-table th {
        position: sticky;
        top: 0;
        z-index: 10;
        background-color: var(--color-light);
        background-clip: padding-box;
        line-height: 1.35;
        overflow: visible;
        padding: 13px 14px;
        box-shadow:
            0 -12px 0 12px var(--color-light),
            0 1px 0 var(--color-border);
    }
    .bot-details-page .tr-table th,
    .bot-details-page .tr-table td {
        white-space: nowrap;
        overflow: visible;
        padding-left: 14px;
        padding-right: 14px;
    }
    .bot-details-page .tr-table th:nth-child(1),
    .bot-details-page .tr-table td:nth-child(1) {
        min-width: 128px;
    }
    .bot-details-page .tr-table th:nth-child(2),
    .bot-details-page .tr-table td:nth-child(2) {
        min-width: 104px;
    }
    .bot-details-page .tr-table th:nth-child(3),
    .bot-details-page .tr-table td:nth-child(3),
    .bot-details-page .tr-table th:nth-child(4),
    .bot-details-page .tr-table td:nth-child(4),
    .bot-details-page .tr-table th:nth-child(5),
    .bot-details-page .tr-table td:nth-child(5),
    .bot-details-page .tr-table th:nth-child(6),
    .bot-details-page .tr-table td:nth-child(6) {
        min-width: 116px;
    }
    .bot-details-page .danger-zone a {
        color: var(--color-dark);
    }
    .bot-details-page #edit-settings-btn,
    .bot-details-page #open-bot-share {
        height: var(--mobile-sticky-height);
        font-family: inherit;
        line-height: 1;
        gap: 0.5rem;
        min-width: 0;
        background: var(--color-dark);
        transform: none;
        transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    }
    .bot-details-page #edit-settings-btn {
        left: var(--mobile-sticky-padding-x) !important;
        right: auto !important;
    }
    .bot-details-page #open-bot-share .invite-btn-icon {
        width: 14px !important;
        height: 14px !important;
        margin-left: auto;
        stroke-width: 2;
    }
    .bot-details-page .bot-share-desktop-icon {
        display: none;
    }
    .bot-details-page .bot-share-mobile-content {
        display: contents;
    }
    .bot-details-page #edit-settings-btn .arrow {
        display: none;
    }
    .bot-details-page #edit-settings-btn .edit-settings-icon {
        display: inline-flex;
        margin-left: auto;
    }
    .wizard-overlay {
        align-items: flex-start;
        justify-content: center;
        padding: calc(env(safe-area-inset-top) + 1.25rem) 0 calc(var(--mobile-safe-bottom) + 1.25rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .wizard-container {
        width: 100%;
        max-width: 420px;
        padding: 1.25rem 1rem calc(120px + var(--mobile-safe-bottom));
        text-align: left;
        margin: 0 auto;
    }
    .wizard-close-btn {
        top: calc(env(safe-area-inset-top) + 12px);
        right: 16px;
        width: 34px;
        height: 34px;
    }
    #bronze-wizard .wizard-close-btn {
        top: calc(env(safe-area-inset-top) + 30px);
        right: 30px;
    }
    .wizard-progress {
        justify-content: flex-start;
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }
    .wizard-progress-dot {
        width: 6px;
        height: 6px;
    }
    .wizard-progress-dot.is-active {
        width: 18px;
    }
    .onboarding-wizard-page .wizard-step {
        animation: none !important;
    }
    .onboarding-wizard-page .wizard-step.active {
        transform: none !important;
    }
    #bronze-wizard .wizard-step {
        animation: none !important;
    }
    #bronze-wizard .wizard-step.active {
        transform: none !important;
    }
    .wizard-title {
        font-size: 1.5rem;
        margin-top: 3rem;
        margin-bottom: 0.4rem;
    }
    .wizard-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .auth-page .wizard-container {
        padding-bottom: calc(var(--mobile-sticky-height) + 2.5rem);
    }
    .auth-page .auth-submit-btn {
        display: none;
    }
    .auth-page .auth-sticky-bar {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
        box-sizing: border-box;
    }
    .auth-page .auth-overlay,
    .auth-page .auth-container,
    .auth-page #login-form,
    .auth-page #register-form {
        transform: none !important;
        animation: none !important;
        filter: none !important;
        backdrop-filter: none !important;
    }
    .auth-page .auth-sticky-btn {
        width: 100%;
    }
    .auth-page .form-check {
        justify-content: center;
    }
    .auth-page .auth-forgot-row {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    .auth-page .forgot-password-status {
        font-size: 0.8rem;
    }
    .auth-page .auth-status-row {
        margin-bottom: 1rem;
    }
    .auth-page #register-form .auth-status-row {
        margin-top: 0.2rem;
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    .auth-page #register-form .auth-status-row .forgot-password-status {
        font-size: 0.8rem;
    }
    .auth-page #register-form .password-group {
        margin-bottom: 0;
    }
    .auth-page .social-btn {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    .auth-page .social-btn img {
        width: 24px;
        height: 24px;
    }
    .wizard-step[data-step="profile"] .wizard-description {
        margin-bottom: 3rem;
    }
    #bronze-wizard .wizard-step[data-step="1"] .wizard-description {
        margin-bottom: 3rem;
    }
    .wizard-input-wrapper {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }
    .wizard-input-large {
        font-size: 2.2rem;
        max-width: 100%;
        text-align: left;
        padding-bottom: 0.35rem;
    }
    .wizard-actions {
        align-items: stretch;
        gap: 0.75rem;
    }
    .wizard-btn-next {
        max-width: none;
        width: 100%;
        min-height: 48px;
        margin-top: 0;
    }
    .wizard-step[data-step="profile"] .wizard-actions,
    .wizard-step[data-step="api-intro"] .wizard-actions {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
        margin: 0;
        box-sizing: border-box;
    }
    #bronze-wizard .wizard-step > .wizard-actions {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
        margin: 0;
    }
    #bronze-wizard .wizard-step[data-step="api-connect"] .wizard-actions {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 2.75rem;
        padding: 0 0 0.5rem;
    }
    #bronze-wizard .wizard-step[data-step="api"] #accordion-existing-keys.active .filter-accordion-content {
        transform: none;
        overflow: visible;
    }
    #bronze-wizard .wizard-step[data-step="api"] #existing-keys-list {
        position: fixed !important;
        left: auto !important;
        right: var(--mobile-sticky-padding-x) !important;
        bottom: var(--mobile-sticky-bottom) !important;
        width: var(--mobile-sticky-width) !important;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    #bronze-wizard .wizard-step[data-step="api"] #existing-keys-list .wizard-btn-next {
        grid-column: auto;
        width: 100%;
        margin: 0;
    }
    .wizard-step[data-step^="broker-setup"] .wizard-actions {
        position: sticky !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
        margin-top: 0;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    .wizard-step[data-step="profile"] .wizard-btn-next,
    .wizard-step[data-step="api-intro"] .wizard-btn-next,
    .wizard-step[data-step^="broker-setup"] .wizard-btn-next {
        grid-column: 2;
        width: 100%;
        padding: 0.9rem 1rem;
        white-space: nowrap;
    }
    .wizard-step[data-step^="broker-setup"] .wizard-access-revocation-note {
        display: none;
    }
    .wizard-step[data-step^="broker-setup"] .wizard-access-revocation-note-mobile {
        display: block;
        margin: -0.25rem 0 1.5rem;
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: left;
    }
    #bronze-wizard .wizard-btn-next {
        grid-column: 2;
        width: 100%;
        padding: 0.9rem 1rem;
        white-space: nowrap;
        margin-top: 0;
        max-width: none;
    }
    #bronze-wizard .wizard-btn-next:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background-color: var(--color-border);
        box-shadow: none;
    }
    .wizard-balance-inline {
        margin-bottom: 1.5rem;
    }
    .wizard-media-controls {
        justify-content: flex-start;
    }
    .wizard-media-card {
        border-radius: 16px;
        padding: 0.75rem;
    }
    .wizard-faq-strip .faq-item summary {
        font-size: 0.85rem;
    }
    .wizard-faq-strip .faq-item p {
        font-size: 0.78rem;
    }
    .onboarding-wizard-page .wizard-step[data-step="api-intro"] .wizard-faq-strip .faq-item p {
        font-size: 0.9rem;
    }
    #bronze-wizard .wizard-faq-strip .faq-item summary {
        font-size: 0.85rem;
    }
    #bronze-wizard .wizard-faq-strip .faq-item summary::after {
        font-size: 1.4rem;
        margin-left: 1rem;
    }
    #bronze-wizard .wizard-faq-strip .faq-item p {
        font-size: 0.78rem;
    }
    .wizard-selection-grid {
        gap: 0.75rem;
    }
    .wizard-selection-card {
        padding: 0.9rem;
        border-radius: 16px;
    }
    .wizard-selection-card .selection-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0.75rem;
    }
    .wizard-selection-card .selection-icon svg,
    .wizard-selection-card .selection-icon img {
        width: 24px;
        height: 24px;
    }
    .wizard-selection-card h3 {
        font-size: 1.05rem;
    }
    .wizard-selection-card p {
        font-size: 0.82rem;
    }
    .onboarding-wizard-page {
        --broker-list-height: 52vh;
    }
    .onboarding-wizard-page .wizard-broker-list-scroll {
        margin-top: 3rem;
    }
    .onboarding-wizard-page .wizard-broker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
    .onboarding-wizard-page .wizard-broker-grid .broker-card {
        min-height: 96px;
        padding: 0.6rem;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
    }
    .onboarding-wizard-page .wizard-broker-grid .broker-logo {
        width: 28px;
        height: 28px;
        margin-bottom: 0;
    }
    .onboarding-wizard-page .wizard-broker-grid .broker-name {
        font-size: 0.82rem;
    }
    .wizard-step[data-step="api-connect"] .wizard-actions .btn-link {
        font-size: 0.9rem;
        line-height: 1.45;
        font-weight: 500;
        align-self: flex-start !important;
        text-align: left !important;
    }
    .wizard-step[data-step="api-connect"] .wizard-actions {
        margin-top: 2.75rem;
        padding-bottom: 0.5rem;
    }
    .onboarding-wizard-page .wizard-ai-btn-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .onboarding-wizard-page .wizard-ai-btn {
        padding: 0.75rem 0.9rem;
        border-radius: 14px;
    }
    .onboarding-wizard-page .ai-setup-card {
        margin-top: 1.75rem !important;
        margin-bottom: 1.25rem !important;
        padding: 1.25rem !important;
        border-radius: 14px;
    }
    .onboarding-wizard-page .ai-setup-card .ai-setup-header {
        margin-bottom: 0.9rem !important;
    }
    .onboarding-wizard-page .ai-setup-card .ai-setup-header p {
        margin-bottom: 1.3rem !important;
    }
    .onboarding-wizard-page .wizard-ai-btn-grid {
        gap: 0.9rem;
        margin-bottom: 0;
    }
    .onboarding-wizard-page #dynamic-fields-container {
        margin-top: 2rem;
    }
    .onboarding-wizard-page .onboarding-instruction-modal {
        width: calc(100% - 1rem);
        max-width: 360px;
        padding: 1.25rem 1rem;
        border-radius: 16px;
        text-align: center;
    }
    .onboarding-wizard-page .onboarding-instruction-modal h3 {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin: 0 0 0.8rem !important;
    }
    .onboarding-wizard-page .onboarding-instruction-modal .modal-intro-broker-context {
        display: none;
    }
    .onboarding-wizard-page .onboarding-instruction-modal .modal-intro {
        font-size: 0.9rem;
        line-height: 1.25;
        margin: 0 0 0.5rem;
    }
    .onboarding-wizard-page .onboarding-instruction-modal .step-by-step-modal {
        --instruction-step-line-height: 1.44rem;
        --instruction-step-number-size: 22px;
        text-align: left;
        font-size: 0.9rem;
        line-height: 1.25;
        overflow-y: auto;
        padding-right: 0.25rem;
    }
    .onboarding-wizard-page .onboarding-instruction-modal .step-by-step-modal .step {
        gap: 0.75rem !important;
        margin-bottom: 0.4rem !important;
        align-items: flex-start !important;
    }
    .onboarding-wizard-page .onboarding-instruction-modal .step-by-step-modal .step-content {
        line-height: var(--instruction-step-line-height) !important;
    }
    .onboarding-wizard-page .onboarding-instruction-modal .step-by-step-modal .step-number {
        width: var(--instruction-step-number-size);
        height: var(--instruction-step-number-size);
        margin-top: calc((var(--instruction-step-line-height) - var(--instruction-step-number-size)) / 2);
        font-size: 0.75rem;
    }
    body.add-bot-page {
        overflow-x: hidden;
    }
    .add-bot-page main,
    .add-bot-page .container {
        max-width: 100%;
    }
    body.add-bot-page main {
        padding: 2rem 0 calc(112px + var(--mobile-safe-bottom));
        overflow-x: hidden;
    }
    body.add-bot-page .container {
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box !important;
    }
    .add-bot-page .add-bot-header {
        margin-top: 1.25rem !important;
        margin-bottom: 2rem !important;
        text-align: left;
        min-width: 0;
    }
    .add-bot-page .add-bot-header .section-headline {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    .add-bot-page .add-bot-header .section-headline .headline-primary,
    .add-bot-page .add-bot-header .section-headline .headline-secondary {
        font-size: 2.1rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.03em !important;
        line-height: 1.1 !important;
        white-space: normal;
    }
    .add-bot-page .add-bot-header p {
        font-size: 0.88rem;
        line-height: 1.5;
        margin: 0;
        max-width: 32ch;
        color: var(--color-text-secondary);
    }
    .add-bot-page .add-bot-layout {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .add-bot-page .strategy-preview-container {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .add-bot-page .summary-panel {
        order: -1;
        position: static;
        top: auto;
        max-height: none;
        overflow: hidden;
        width: 100%;
        min-width: 0;
        padding: 1rem;
        border-radius: 18px;
        box-sizing: border-box !important;
    }
    .add-bot-page .config-panel {
        width: 100%;
        min-width: 0;
        gap: 1rem;
        box-sizing: border-box !important;
    }
    .add-bot-page .config-section,
    .add-bot-page .level-gate {
        padding: 1.1rem;
        border-radius: 18px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box !important;
    }
    .add-bot-page .config-grid {
        grid-template-columns: 1fr !important;
    }
    .add-bot-page .config-section h2,
    .add-bot-page .level-gate h2 {
        font-size: 1.1rem;
        margin-bottom: 0.9rem;
    }
    .add-bot-page summary {
        color: var(--color-dark) !important;
    }
    .add-bot-page .terms-container a {
        color: var(--color-dark);
    }
    .add-bot-page .form-group.full-width {
        max-width: 100%;
        box-sizing: border-box;
    }
    .add-bot-page .level-lock-content a {
        color: var(--color-white) !important;
    }
    body.add-bot-page .action-buttons-container {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.6rem var(--mobile-sticky-padding-x) var(--mobile-sticky-bottom);
        background: transparent;
        z-index: 2400;
    }
    body.add-bot-page .action-buttons-container .btn-primary-large {
        order: 2;
    }
    body.add-bot-page .action-buttons-container .btn-text-link {
        order: 1;
    }
    body.add-bot-page .action-buttons-container .btn-primary-large,
    body.add-bot-page .action-buttons-container .btn-text-link {
        width: 100%;
        padding: 0.9rem 1rem;
        gap: 0.5rem;
    }
    body.add-bot-page .action-buttons-container .mobile-check-btn::after,
    body.add-bot-page .action-buttons-container .mobile-more-btn::after {
        content: none;
    }
    body.add-bot-page .action-buttons-container .mobile-check-btn .fa-rocket {
        display: none;
    }
     .twofa-login-page .wizard-title {
         margin-top: 3.5rem;
     }
     .twofa-login-page .wizard-description {
         margin-bottom: 1rem;
     }
     .twofa-login-page .wizard-title {
         margin-top: 3.5rem;
     }
     .twofa-login-page .wizard-description {
         margin-bottom: 1rem;
     }
     .twofa-login-page .twofa-input-block {
         margin-top: 4rem;
         display: flex;
         flex-direction: column;
         align-items: flex-start;
     }
     .twofa-login-page .twofa-code-inputs {
         justify-content: flex-start;
         margin-left: 0;
     }
    .twofa-login-page .twofa-feedback,
     .twofa-login-page .twofa-lockout {
         text-align: left;
         justify-content: flex-start;
     }
     .twofa-login-page .twofa-fallback-row {
         justify-content: flex-start;
         text-align: left;
     }
    .twofa-login-page .twofa-fallback-btn {
        font-size: 0.9rem;
        line-height: 1.45;
        font-weight: 500;
    }
    #add-api-key-form .wizard-actions {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 0 !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    #add-api-key-form .wizard-actions .wizard-btn-next {
        width: var(--mobile-sticky-width) !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: var(--mobile-sticky-radius) !important;
        min-height: var(--mobile-sticky-height) !important;
        box-shadow: none !important;
        background: var(--color-dark) !important;
        color: var(--color-white) !important;
        padding: 0.9rem 1rem !important;
        border: none !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 0 !important;
        box-sizing: border-box !important;
    }
    #add-api-key-form .wizard-actions .wizard-btn-next::before {
        content: 'Auswählen';
        font-size: 0.9rem !important;
        font-weight: 600;
        color: var(--color-white);
        white-space: nowrap;
    }
    #add-api-key-form .wizard-actions .wizard-btn-next::after {
        margin-left: 0 !important;
    }
}
@media (max-width: 991px) and (prefers-color-scheme: dark) {
    body { --mobile-sticky-shadow: none; }
}
