:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #18211d;
    background: #f4f7f5;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 8% 0%, rgba(86, 164, 126, 0.1), transparent 28rem),
        #f4f7f5;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.fuw-app-shell {
    min-height: 100vh;
}

.fuw-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    column-gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 0 5vw;
    border-bottom: 1px solid #dfe6e2;
    background: rgba(248, 250, 249, 0.92);
    backdrop-filter: blur(18px);
}

.fuw-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #16221c;
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.fuw-brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: #fff;
    background: #163e2d;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(22, 62, 45, 0.2);
}

.fuw-brand-mark-small {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: none;
}

.fuw-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid #dfe6e2;
    border-radius: 12px;
    background: #fff;
}

.fuw-nav-link {
    padding: 8px 13px;
    border-radius: 8px;
    color: #66726b;
    font-size: 0.84rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.fuw-nav-link:hover,
.fuw-nav-active {
    color: #163e2d;
    background: #edf4f0;
}

.fuw-user-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
}

.fuw-header-balance {
    display: flex;
    flex-direction: column;
    min-width: 78px;
    padding: 5px 10px;
    border: 1px solid #dce5e0;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease;
}

.fuw-header-balance:hover {
    border-color: #a9c7b7;
    background: #f7faf8;
}

.fuw-header-balance > span {
    color: #738078;
    font-size: 0.58rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fuw-header-balance > strong {
    margin-top: 1px;
    color: #225b40;
    font-size: 0.78rem;
    white-space: nowrap;
}

.fuw-user-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #23533e;
    background: #dcece3;
    font-size: 0.68rem;
    font-weight: 800;
}

.fuw-user-name {
    color: #455049;
    font-size: 0.84rem;
    font-weight: 650;
}

.fuw-main {
    width: min(1120px, 90vw);
    margin: 0 auto;
    padding: 72px 0 80px;
}

.fuw-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 42px;
}

.fuw-eyebrow,
.fuw-panel-label,
.fuw-role-label {
    margin: 0 0 9px;
    color: #4b8067;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.fuw-page-title {
    margin: 0;
    color: #15211b;
    font-size: clamp(2.15rem, 5vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.fuw-page-copy {
    max-width: 610px;
    margin: 16px 0 0;
    color: #68736d;
    font-size: 1rem;
    line-height: 1.65;
}

.fuw-status-pill,
.fuw-device-chip,
.fuw-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid #dce5e0;
    border-radius: 999px;
    color: #536059;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.fuw-status-online {
    color: #286144;
    background: #edf8f1;
    border-color: #d2eadb;
}

.fuw-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45a871;
    box-shadow: 0 0 0 3px rgba(69, 168, 113, 0.12);
}

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

.fuw-role-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 180px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #dfe6e2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(28, 51, 40, 0.045);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.fuw-role-card:hover {
    transform: translateY(-3px);
    border-color: #a9c7b7;
    box-shadow: 0 18px 45px rgba(28, 51, 40, 0.09);
}

.fuw-role-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: #2f6f50;
    background: #e8f3ed;
}

.fuw-role-icon svg {
    width: 28px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fuw-role-content {
    display: flex;
    flex-direction: column;
}

.fuw-role-content strong {
    margin-bottom: 7px;
    color: #17231d;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.fuw-role-content > span:last-child {
    color: #6b756f;
    font-size: 0.88rem;
    line-height: 1.5;
}

.fuw-role-arrow {
    color: #397456;
    font-size: 1.4rem;
    transition: transform 180ms ease;
}

.fuw-role-card:hover .fuw-role-arrow {
    transform: translateX(4px);
}

.fuw-info-strip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 17px 20px;
    border: 1px solid #dde6e1;
    border-radius: 14px;
    color: #5f6a64;
    background: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
    line-height: 1.55;
}

.fuw-info-strip p {
    margin: 0;
}

.fuw-info-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #4f8068;
    font-size: 0.72rem;
    font-weight: 800;
}

.fuw-simulator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.fuw-panel {
    padding: 28px;
    border: 1px solid #dfe6e2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 35px rgba(28, 51, 40, 0.045);
}

.fuw-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf0ee;
}

.fuw-panel-title {
    margin: 0;
    color: #19251f;
    font-size: 1.2rem;
    letter-spacing: -0.025em;
}

.fuw-panel-copy {
    margin: 12px 0 24px;
    color: #748079;
    font-size: 0.87rem;
    line-height: 1.55;
}

.fuw-tools-panel {
    position: sticky;
    top: 92px;
}

.fuw-tools-panel .fuw-button + .fuw-button {
    margin-top: 9px;
}

.fuw-empty-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 42px 20px 20px;
    text-align: center;
}

.fuw-empty-panel h3 {
    margin: 20px 0 7px;
    font-size: 1.05rem;
}

.fuw-empty-panel p {
    max-width: 360px;
    margin: 0 0 23px;
    color: #738078;
    font-size: 0.87rem;
    line-height: 1.55;
}

.fuw-phone-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 58px;
    height: 92px;
    padding: 8px;
    border: 3px solid #3b6852;
    border-radius: 13px;
    background: #eef6f1;
    box-shadow: 0 12px 24px rgba(38, 89, 62, 0.12);
}

.fuw-phone-visual span {
    width: 15px;
    height: 3px;
    border-radius: 3px;
    background: #85a894;
}

.fuw-transaction-card {
    padding-top: 10px;
}

.fuw-detail-list {
    margin: 0;
}

.fuw-detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 16px 3px;
    border-bottom: 1px solid #edf0ee;
}

.fuw-detail-list dt {
    color: #78837d;
    font-size: 0.82rem;
}

.fuw-detail-list dd {
    margin: 0;
    color: #26322c;
    font-size: 0.87rem;
    font-weight: 700;
    text-align: right;
}

.fuw-muted {
    color: #8b948f;
    font-weight: 500;
}

.fuw-amount {
    color: #286144 !important;
}

.fuw-status-tag {
    padding: 5px 9px;
    color: #35654d;
    background: #edf6f1;
}

.fuw-action-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.fuw-action-row-center {
    justify-content: center;
}

.fuw-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.fuw-button:hover {
    transform: translateY(-1px);
}

.fuw-button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.fuw-button:focus-visible,
.fuw-input:focus-visible,
.fuw-nav-link:focus-visible,
.fuw-role-card:focus-visible {
    outline: 3px solid rgba(74, 142, 108, 0.25);
    outline-offset: 2px;
}

.fuw-button-primary {
    color: #fff;
    background: #183f2e;
    box-shadow: 0 8px 18px rgba(24, 63, 46, 0.14);
}

.fuw-button-primary:hover {
    background: #22543e;
}

.fuw-button-secondary {
    color: #30463b;
    border-color: #d5dfda;
    background: #fff;
}

.fuw-button-secondary:hover,
.fuw-button-quiet:hover {
    background: #edf4f0;
}

.fuw-button-quiet {
    color: #5b6962;
    border-color: transparent;
    background: transparent;
}

.fuw-button-balance {
    min-height: 36px;
    padding: 7px 12px;
    color: #fff;
    background: #2f7655;
    box-shadow: 0 7px 16px rgba(47, 118, 85, 0.15);
}

.fuw-button-balance:hover {
    background: #266247;
}

.fuw-topup-short {
    display: none;
    font-size: 1.1rem;
    line-height: 1;
}

.fuw-button-full {
    width: 100%;
}

.fuw-wallet-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr);
    gap: 20px;
    align-items: stretch;
}

.fuw-balance-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 390px;
    padding: 34px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(161, 225, 190, 0.28), transparent 12rem),
        linear-gradient(145deg, #153d2b, #286b4b);
    box-shadow: 0 22px 50px rgba(23, 67, 47, 0.2);
}

.fuw-balance-card::before,
.fuw-balance-card::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.fuw-balance-card::before {
    top: -70px;
    right: -52px;
    width: 220px;
    height: 220px;
}

.fuw-balance-card::after {
    top: -27px;
    right: -8px;
    width: 130px;
    height: 130px;
}

.fuw-balance-card .fuw-panel-label {
    position: relative;
    z-index: 1;
    color: #b8dcc8;
}

.fuw-balance-value,
.fuw-balance-loading {
    position: relative;
    z-index: 1;
    margin-top: 5px;
}

.fuw-balance-value {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.fuw-balance-loading {
    color: #d7eade;
    font-size: 1rem;
}

.fuw-balance-caption {
    position: relative;
    z-index: 1;
    margin-top: 13px;
    color: #c5dfd0;
    font-size: 0.78rem;
}

.fuw-topup-panel {
    display: flex;
    flex-direction: column;
}

.fuw-topup-selection {
    color: #245e42;
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
}

.fuw-amount-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.fuw-amount-option {
    min-height: 58px;
    border: 1px solid #d8e2dc;
    border-radius: 12px;
    color: #3d4b43;
    background: #fbfcfb;
    cursor: pointer;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 750;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.fuw-amount-option:hover {
    border-color: #9cbfac;
    background: #f3f8f5;
}

.fuw-amount-option-selected {
    border-color: #3c805d;
    color: #1f593d;
    background: #eaf5ee;
    box-shadow: inset 0 0 0 1px #3c805d;
}

.fuw-amount-option:focus-visible {
    outline: 3px solid rgba(74, 142, 108, 0.25);
    outline-offset: 2px;
}

.fuw-mollie-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 12px;
    color: #637069;
    background: #f4f7f5;
}

.fuw-mollie-note p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
}

.fuw-secure-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #367052;
    background: #e0eee6;
}

.fuw-secure-mark svg {
    width: 15px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fuw-payment-message {
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid #dfe6e2;
    border-radius: 10px;
    color: #59665f;
    background: #f7f9f8;
    font-size: 0.8rem;
    line-height: 1.45;
}

.fuw-payment-message-success {
    border-color: #c9e7d5;
    color: #246240;
    background: #edf8f1;
}

.fuw-payment-message-pending {
    border-color: #e7ddbd;
    color: #75611f;
    background: #fff9e9;
}

.fuw-payment-message-error {
    border-color: #edceca;
    color: #913d36;
    background: #fff1ef;
}

.fuw-topup-submit {
    margin-top: auto;
}

.fuw-machine-visual {
    width: 160px;
    margin: 40px auto 30px;
    padding: 17px;
    border: 3px solid #345b48;
    border-radius: 16px;
    background: #edf5f0;
    box-shadow: 0 18px 30px rgba(38, 89, 62, 0.12);
}

.fuw-machine-window {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 11px;
    border-radius: 8px;
    background: #d7e7de;
}

.fuw-machine-window span {
    aspect-ratio: 1;
    border-radius: 50% 50% 45% 45%;
    background: #6ca082;
    box-shadow: inset 0 -5px 0 rgba(35, 83, 60, 0.18);
}

.fuw-machine-slot {
    width: 65%;
    height: 13px;
    margin: 20px auto 3px;
    border-radius: 4px;
    background: #345b48;
}

.fuw-login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 28px;
    background:
        radial-gradient(circle at 20% 12%, rgba(86, 164, 126, 0.18), transparent 25rem),
        radial-gradient(circle at 88% 85%, rgba(22, 62, 45, 0.1), transparent 28rem),
        #f4f7f5;
}

.fuw-login-card {
    width: min(100%, 410px);
    padding: 38px;
    border: 1px solid #dae3de;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(25, 53, 40, 0.1);
}

.fuw-login-card > .fuw-brand-mark {
    margin-bottom: 28px;
}

.fuw-login-title {
    margin: 0;
    color: #15211b;
    font-size: 2rem;
    letter-spacing: -0.045em;
}

.fuw-login-copy {
    margin: 9px 0 28px;
    color: #6e7973;
    font-size: 0.9rem;
    line-height: 1.55;
}

.fuw-login-form {
    display: grid;
    gap: 16px;
}

.fuw-field {
    display: grid;
    gap: 7px;
}

.fuw-field-label {
    color: #3f4d46;
    font-size: 0.78rem;
    font-weight: 700;
}

.fuw-input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #d4ded9;
    border-radius: 10px;
    color: #1c2822;
    background: #fbfcfb;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.fuw-input:focus {
    border-color: #6b9c82;
    box-shadow: 0 0 0 3px rgba(74, 142, 108, 0.1);
}

.fuw-form-error {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    color: #9a3d36;
    background: #fff1ef;
    font-size: 0.78rem;
}

.fuw-demo-hint {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf0ee;
    color: #7a847f;
    font-size: 0.72rem;
}

.fuw-demo-hint code {
    color: #486456;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.fuw-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 560px;
    padding-top: 8vh;
}

.fuw-empty-state .fuw-button {
    margin-top: 24px;
}

.fuw-empty-code {
    margin-bottom: 12px;
    color: #6a9b83;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

#blazor-error-ui {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1000;
    display: none;
    max-width: 520px;
    margin-left: auto;
    padding: 14px 42px 14px 16px;
    border: 1px solid #e9c9c5;
    border-radius: 12px;
    color: #7f332d;
    background: #fff1ef;
    box-shadow: 0 15px 40px rgba(77, 35, 31, 0.14);
    font-size: 0.82rem;
}

.fuw-error-reload {
    margin-left: 6px;
    font-weight: 700;
}

.fuw-error-dismiss {
    position: absolute;
    top: 9px;
    right: 12px;
    cursor: pointer;
    font-size: 1.2rem;
}

.fuw-error-boundary {
    padding: 1rem;
    border-radius: 10px;
    color: #7f332d;
    background: #fff1ef;
}

.fuw-loading-progress {
    position: absolute;
    display: block;
    width: 7rem;
    height: 7rem;
    inset: 30vh 0 auto;
    margin: auto;
}

.fuw-loading-progress circle {
    fill: none;
    stroke: #dce5e0;
    stroke-width: 0.45rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.fuw-loading-progress circle:last-child {
    stroke: #326b4f;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.fuw-loading-progress-text {
    position: absolute;
    inset: calc(30vh + 2.85rem) 0 auto;
    color: #315c47;
    font-size: 0.78rem;
    font-weight: 750;
    text-align: center;
}

.fuw-loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "FuW Payments");
}

@media (max-width: 850px) {
    .fuw-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 56px;
        column-gap: 4px;
        padding: 0 12px;
        backdrop-filter: none;
    }

    .fuw-language-toggle {
        padding-inline: 6px;
        min-width: 40px;
    }

    .fuw-nav {
        position: fixed;
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        left: 16px;
        z-index: 20;
        justify-content: space-around;
        width: auto;
        padding: 5px;
        box-shadow: 0 12px 35px rgba(28, 51, 40, 0.16);
    }

    .fuw-nav-link {
        flex: 1;
        min-height: 42px;
        padding: 11px 8px;
        text-align: center;
    }

    .fuw-brand > span:last-child,
    .fuw-user-avatar,
    .fuw-user-name {
        display: none;
    }

    .fuw-main {
        padding: 20px 0 calc(100px + env(safe-area-inset-bottom));
    }

    .fuw-role-grid,
    .fuw-simulator-grid,
    .fuw-wallet-grid {
        grid-template-columns: 1fr;
    }

    .fuw-balance-card {
        min-height: 270px;
    }

    .fuw-tools-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .fuw-user-menu {
        gap: 4px;
    }

    .fuw-button-balance {
        width: 36px;
        padding-inline: 9px;
        font-size: 0.75rem;
    }

    .fuw-topup-label {
        display: none;
    }

    .fuw-topup-short {
        display: inline;
    }

    .fuw-header-balance {
        min-width: 62px;
        padding-inline: 7px;
    }

    .fuw-header-balance > span {
        display: none;
    }

    .fuw-main {
        width: min(100% - 28px, 1120px);
        padding-top: 16px;
    }

    .fuw-nav {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
    }

    .fuw-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 28px;
    }

    .fuw-page-title {
        font-size: 2.5rem;
    }

    .fuw-role-card {
        grid-template-columns: auto 1fr;
        min-height: 0;
        padding: 22px;
    }

    .fuw-role-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .fuw-role-arrow {
        display: none;
    }

    .fuw-panel,
    .fuw-login-card {
        padding: 22px;
        border-radius: 17px;
    }

    .fuw-panel-heading {
        flex-direction: column;
    }

    .fuw-topup-panel .fuw-panel-heading {
        flex-direction: row;
    }

    .fuw-action-row {
        flex-direction: column;
    }

    .fuw-action-row .fuw-button {
        width: 100%;
    }

    .fuw-demo-hint {
        flex-direction: column;
    }
}

.fuw-language-bar {
    display: flex;
    justify-content: flex-end;
    padding: 4px 4vw;
    background: #f4f7f5;
}

.fuw-simulator-grid {
    grid-template-columns: minmax(0, 1fr);
}

.fuw-zero-balance {
    margin-bottom: 24px;
}

.fuw-machine-selection {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-block: 20px;
}

.fuw-scanner {
    margin-block: 20px;
}

.fuw-scanner video {
    display: block;
    width: 100%;
    max-width: 480px;
    max-height: 50vh;
    border-radius: 12px;
    background: #15211b;
}

@media (max-width: 850px) {
    .fuw-nav {
        display: none;
    }

    .fuw-main {
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
