:root {
    --vmic-blue: #070b10;
    --vmic-blue-soft: #101820;
    --vmic-gold: #d6b181;
    --vmic-paper: #05070a;
    --vmic-white: #ffffff;
    --vmic-ink: #f8f3e7;
    --vmic-muted: #c5b9a6;
    --vmic-line: rgba(214, 177, 129, .30);
    --vmic-danger: #ff7b7b;
    --vmic-success: #54d296;
    --vmic-radius: 14px;
    --vmic-shadow-card: 0 18px 48px rgba(0, 0, 0, .36);
    --vmic-focus: 0 0 0 3px rgba(214, 177, 129, .22);
    --vmic-space-xs: 4px;
    --vmic-space-sm: 8px;
    --vmic-space-md: 12px;
    --vmic-space-lg: 16px;
    --vmic-space-xl: 24px;
    --vmic-font-xs: 12px;
    --vmic-font-sm: 13px;
    --vmic-font-md: 14px;
    --vmic-font-lg: 16px;
    --vmic-font-xl: 20px;
}

body[class*="vmic-page-"] {
    background: var(--vmic-paper);
    color: var(--vmic-ink);
    letter-spacing: 0;
    overflow-x: hidden;
}

body[class*="vmic-page-"] *,
body[class*="vmic-page-"] *::before,
body[class*="vmic-page-"] *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

body[class*="vmic-page-"] a,
body[class*="vmic-page-"] button,
body[class*="vmic-page-"] input,
body[class*="vmic-page-"] textarea,
body[class*="vmic-page-"] select {
    font: inherit;
}

body[class*="vmic-page-"] img {
    max-width: 100%;
    height: auto;
}

body[class*="vmic-page-"] .vmic-card {
    margin: var(--vmic-space-md);
    padding: var(--vmic-space-lg);
    border: 1px solid var(--vmic-line);
    border-left: 3px solid var(--vmic-gold);
    border-radius: var(--vmic-radius);
    background: var(--vmic-white);
    box-shadow: var(--vmic-shadow-card);
    color: var(--vmic-ink);
    overflow-wrap: break-word;
    word-break: break-word;
}

body[class*="vmic-page-"] .vmic-card__title {
    margin: 0 0 var(--vmic-space-md);
    color: var(--vmic-blue);
    font-size: var(--vmic-font-lg);
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
}

body[class*="vmic-page-"] .vmic-card__body {
    color: var(--vmic-muted);
    font-size: var(--vmic-font-md);
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: break-word;
}

body[class*="vmic-page-"] .layui-btn.vmic-button,
body[class*="vmic-page-"] .vmic-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: max-content;
    min-height: 38px;
    padding: 0 var(--vmic-space-lg);
    border: 1px solid transparent;
    border-radius: var(--vmic-radius);
    font-size: var(--vmic-font-md);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    cursor: pointer;
    box-shadow: none;
}

body[class*="vmic-page-"] .layui-btn.vmic-button-primary,
body[class*="vmic-page-"] .vmic-button-primary {
    border-color: var(--vmic-blue);
    background: var(--vmic-blue);
    color: var(--vmic-white);
}

body[class*="vmic-page-"] .layui-btn.vmic-button-accent,
body[class*="vmic-page-"] .vmic-button-accent {
    border-color: var(--vmic-gold);
    background: var(--vmic-gold);
    color: var(--vmic-blue);
}

body[class*="vmic-page-"] .layui-btn.vmic-button-secondary,
body[class*="vmic-page-"] .vmic-button-secondary {
    border-color: var(--vmic-line);
    background: var(--vmic-white);
    color: var(--vmic-blue);
}

body[class*="vmic-page-"] .layui-btn.vmic-button[disabled],
body[class*="vmic-page-"] .vmic-button[disabled],
body[class*="vmic-page-"] .vmic-button.is-disabled {
    border-color: #cfd6dd;
    background: #e6eaee;
    color: #7c8792;
    cursor: not-allowed;
}

body[class*="vmic-page-"] .layui-form.vmic-form {
    margin: 0;
}

body[class*="vmic-page-"] .vmic-form-item,
body[class*="vmic-page-"] .layui-form-item.vmic-form-item {
    display: block;
    margin: 0 0 var(--vmic-space-lg);
}

body[class*="vmic-page-"] .vmic-form-label,
body[class*="vmic-page-"] .layui-form-label.vmic-form-label {
    display: block;
    float: none;
    width: auto;
    padding: 0 0 var(--vmic-space-sm);
    color: var(--vmic-blue);
    font-size: var(--vmic-font-sm);
    font-weight: 800;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
}

body[class*="vmic-page-"] .vmic-input-block,
body[class*="vmic-page-"] .layui-input-block.vmic-input-block {
    display: block;
    margin-left: 0;
    min-height: 0;
}

body[class*="vmic-page-"] .layui-input.vmic-input,
body[class*="vmic-page-"] .layui-textarea.vmic-input,
body[class*="vmic-page-"] .vmic-input {
    width: 100%;
    min-height: 42px;
    padding: 0 var(--vmic-space-md);
    border: 1px solid var(--vmic-line);
    border-radius: var(--vmic-radius);
    background: var(--vmic-white);
    color: var(--vmic-ink);
    font-size: var(--vmic-font-md);
    line-height: 1.45;
    box-shadow: none;
}

body[class*="vmic-page-"] .layui-input.vmic-input:focus,
body[class*="vmic-page-"] .layui-textarea.vmic-input:focus,
body[class*="vmic-page-"] .vmic-input:focus {
    border-color: var(--vmic-gold);
    outline: none;
    box-shadow: var(--vmic-focus);
}

body[class*="vmic-page-"] .vmic-form-item.is-error .layui-input,
body[class*="vmic-page-"] .vmic-form-item.is-error .layui-textarea,
body[class*="vmic-page-"] .vmic-form-item.is-error .vmic-input {
    border-color: var(--vmic-danger);
}

body[class*="vmic-page-"] .vmic-inline-error {
    display: block;
    min-height: 18px;
    margin-top: var(--vmic-space-xs);
    color: var(--vmic-danger);
    font-size: var(--vmic-font-xs);
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: break-word;
}

body[class*="vmic-page-"] .vmic-inline-error:empty {
    min-height: 0;
    margin-top: 0;
}

body[class*="vmic-page-"] .vmic-stepper {
    display: flex;
    gap: var(--vmic-space-sm);
    margin: var(--vmic-space-md);
    padding: var(--vmic-space-md);
    border: 1px solid var(--vmic-line);
    background: var(--vmic-white);
    overflow-x: auto;
}

body[class*="vmic-page-"] .vmic-step {
    display: inline-flex;
    align-items: center;
    gap: var(--vmic-space-xs);
    min-width: max-content;
    color: var(--vmic-muted);
    font-size: var(--vmic-font-xs);
    font-weight: 700;
    line-height: 1.4;
}

body[class*="vmic-page-"] .vmic-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0 var(--vmic-space-xs);
    border: 1px solid var(--vmic-line);
    background: var(--vmic-white);
    color: var(--vmic-muted);
}

body[class*="vmic-page-"] .vmic-step.is-active {
    color: var(--vmic-blue);
}

body[class*="vmic-page-"] .vmic-step.is-active .vmic-step__index {
    border-color: var(--vmic-gold);
    background: var(--vmic-gold);
    color: var(--vmic-blue);
}

body[class*="vmic-page-"] .vmic-progress {
    display: flex;
    align-items: center;
    gap: var(--vmic-space-sm);
    color: var(--vmic-muted);
    font-size: var(--vmic-font-xs);
    line-height: 1.4;
}

body[class*="vmic-page-"] .vmic-progress__track {
    flex: 1 1 auto;
    min-width: 48px;
    height: 5px;
    background: #dfe5ea;
    overflow: hidden;
}

body[class*="vmic-page-"] .vmic-progress__bar {
    display: block;
    height: 100%;
    background: var(--vmic-gold);
}

body[class*="vmic-page-"] .vmic-skeleton {
    position: relative;
    overflow: hidden;
    background: #e6eaee;
}

body[class*="vmic-page-"] .vmic-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    animation: vmic-skeleton-loading 1.2s infinite;
}

body[class*="vmic-page-"] .vmic-skeleton-line {
    min-height: 14px;
    margin-bottom: var(--vmic-space-sm);
}

body[class*="vmic-page-"] .vmic-skeleton-card {
    min-height: 112px;
    margin: var(--vmic-space-md);
    border: 1px solid var(--vmic-line);
}

@keyframes vmic-skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}

body[class*="vmic-page-"] .vmic-text-safe,
body[class*="vmic-page-"] .vmic-card,
body[class*="vmic-page-"] .vmic-button,
body[class*="vmic-page-"] .vmic-inline-error,
body[class*="vmic-page-"] .vmic-form-label {
    overflow-wrap: break-word;
    word-break: break-word;
}

body.vmic-lang-en .vmic-button,
body.vmic-lang-en .vmic-card__title,
body.vmic-lang-en .vmic-form-label,
body.vmic-lang-ja .vmic-button,
body.vmic-lang-th .vmic-button {
    line-height: 1.5;
}

body.vmic-page-checkout .mobile {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background: var(--vmic-paper);
    overflow-x: hidden;
}

body.vmic-page-checkout .othertop {
    width: 100%;
    max-width: 100vw;
    background: var(--vmic-blue);
    color: var(--vmic-white);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

body.vmic-page-checkout .othertop-font {
    color: var(--vmic-white);
    font-weight: 800;
}

body.vmic-page-checkout .goback img {
    filter: brightness(0) invert(1);
}

body.vmic-page-checkout .form_outer {
    margin: var(--vmic-space-md);
    padding: 0;
    background: transparent;
}

body.vmic-page-checkout .form_top {
    margin: 0 0 var(--vmic-space-md);
    padding: var(--vmic-space-lg);
    border: 1px solid var(--vmic-line);
    border-left: 3px solid var(--vmic-gold);
    background: var(--vmic-white);
    box-shadow: var(--vmic-shadow-card);
}

body.vmic-page-checkout .form_top p {
    display: flex;
    justify-content: space-between;
    gap: var(--vmic-space-md);
    margin: 0 0 var(--vmic-space-sm);
    color: var(--vmic-muted);
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}

body.vmic-page-checkout .form_top p:last-child {
    margin-bottom: 0;
}

body.vmic-page-checkout .form_top .span_tit {
    color: var(--vmic-muted);
    font-size: var(--vmic-font-md);
    font-weight: 700;
}

body.vmic-page-checkout .form_top .span_num {
    color: var(--vmic-blue);
    font-size: var(--vmic-font-md);
    font-weight: 800;
    text-align: right;
}

body.vmic-page-checkout .form_top strong {
    color: var(--vmic-blue);
    font-size: var(--vmic-font-lg);
    font-weight: 800;
}

body.vmic-page-checkout .vmic-checkout-card {
    margin: 0;
}

body.vmic-page-checkout .vmic-static-row {
    display: block;
    margin-bottom: var(--vmic-space-md);
    color: var(--vmic-muted);
    font-size: var(--vmic-font-md);
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: break-word;
}

body.vmic-page-checkout .vmic-static-row strong,
body.vmic-page-checkout .vmic-static-row em {
    color: var(--vmic-blue);
    font-style: normal;
    font-weight: 800;
}

body.vmic-page-checkout .caculate {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--vmic-space-sm);
}

body.vmic-page-checkout .caculate i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border: 1px solid var(--vmic-line);
    background: var(--vmic-white);
    color: var(--vmic-blue);
    font-style: normal;
    font-weight: 800;
    cursor: pointer;
}

body.vmic-page-checkout .vmic-submit-row {
    margin-top: var(--vmic-space-lg);
}

body.vmic-page-checkout .vmic-submit-row .vmic-button {
    width: 100%;
}

body.vmic-page-checkout .othertop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
}

body.vmic-page-checkout .othertop-font {
    height: 52px;
    line-height: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.vmic-page-checkout .goback {
    position: absolute;
    left: 12px;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 52px;
}

body.vmic-page-checkout .form_outer {
    margin-top: calc(52px + var(--vmic-space-md));
}

body.vmic-page-checkout .form_top {
    overflow: visible;
}

body.vmic-page-checkout .form_top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
    border: 0;
    border-left: 0;
    border-radius: 4px;
    background: var(--vmic-blue);
    box-shadow: none;
}

body.vmic-page-checkout .form_top p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

body.vmic-page-checkout .form_top p + p {
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

body.vmic-page-checkout .form_top .span_tit,
body.vmic-page-checkout .form_top .span_num {
    display: block;
    min-width: 0;
    max-width: none;
    overflow: visible;
    line-height: 1.35;
    text-overflow: clip;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

body.vmic-page-checkout .form_top .span_tit {
    flex: 0 0 auto;
    margin-bottom: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

body.vmic-page-checkout .form_top .span_num {
    flex: 1 1 auto;
    color: #fff;
    font-size: clamp(14px, 4vw, 18px);
    font-weight: 900;
    text-align: right;
}

body.vmic-page-checkout .form_top .span_num strong {
    color: #fff;
    font-size: inherit;
    font-weight: 900;
}

/* VMIC design system foundation. Keep this layer framework-neutral for Blade partial reuse. */
:root {
    --color-bg-primary: #050709;
    --color-bg-secondary: #080b0e;
    --color-surface: #0c1013;
    --color-surface-raised: #12171b;
    --color-gold-light: #f3ddae;
    --color-gold-primary: #d9aa59;
    --color-gold-dark: #8d6228;
    --button-primary-text: #0a0703;
    --button-primary-bg-start: #b77f35;
    --button-primary-bg-mid: #f0cf87;
    --button-primary-bg-end: #a96f2d;
    --button-primary-border: rgba(255, 221, 157, .58);
    --button-primary-hover: linear-gradient(135deg, #c89143 0%, #f6dc9f 48%, #ad7435 100%);
    --button-primary-active: linear-gradient(135deg, #ad7435 0%, #ddb76f 48%, #a96f2d 100%);
    --button-primary-disabled-text: #e1d2b4;
    --button-primary-disabled-bg: linear-gradient(135deg, #413728 0%, #5a4b35 52%, #352b20 100%);
    --button-primary-disabled-border: rgba(184, 167, 134, .28);
    --color-text-primary: #f5f1e8;
    --color-text-secondary: #aaa49a;
    --color-text-muted: #77736c;
    --color-border: rgba(218, 170, 89, .24);
    --color-border-active: rgba(218, 170, 89, .56);
    --color-danger: #ff6b6b;
    --color-success: #4fd18b;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 999px;
    --space-1: 4px;
    --space-2: 6px;
    --space-3: 8px;
    --space-4: 10px;
    --space-5: 12px;
    --space-6: 16px;
    --space-7: 20px;
    --space-8: 24px;
    --space-9: 32px;
    --space-10: 40px;
    --shadow-card: 0 18px 40px rgba(0, 0, 0, .36);
    --shadow-modal: 0 24px 64px rgba(0, 0, 0, .54);
    --shadow-gold: 0 0 22px rgba(218, 170, 89, .22);
    --shadow-focus: 0 0 0 3px rgba(218, 170, 89, .18);
    --header-height: 56px;
    --bottom-nav-height: 68px;
    --content-max-width: 430px;
    --z-page: 1;
    --z-sticky: 100;
    --z-dropdown: 900;
    --z-overlay: 12000;
    --z-dialog: 12100;
    --z-loading: 12200;
    --z-toast: 12300;
    --vmic-ds-bg: var(--color-bg-primary);
    --vmic-ds-bg-soft: var(--color-bg-secondary);
    --vmic-ds-surface: var(--color-surface);
    --vmic-ds-surface-raised: var(--color-surface-raised);
    --vmic-ds-gold: var(--color-gold-primary);
    --vmic-ds-gold-strong: var(--color-gold-light);
    --vmic-ds-gold-dark: var(--color-gold-dark);
    --vmic-ds-text: var(--color-text-primary);
    --vmic-ds-text-muted: var(--color-text-secondary);
    --vmic-ds-text-faint: var(--color-text-muted);
    --vmic-ds-border: var(--color-border);
    --vmic-ds-border-strong: var(--color-border-active);
    --vmic-ds-danger: var(--color-danger);
    --vmic-ds-success: var(--color-success);
    --vmic-ds-warning: #f4cf83;
    --vmic-ds-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", sans-serif;
    --vmic-ds-font-xs: 12px;
    --vmic-ds-font-sm: 13px;
    --vmic-ds-font-md: 14px;
    --vmic-ds-font-lg: 16px;
    --vmic-ds-font-xl: 18px;
    --vmic-ds-font-2xl: 22px;
    --vmic-ds-font-3xl: 28px;
    --vmic-ds-space-1: var(--space-1);
    --vmic-ds-space-2: var(--space-2);
    --vmic-ds-space-3: var(--space-3);
    --vmic-ds-space-4: var(--space-5);
    --vmic-ds-space-5: var(--space-6);
    --vmic-ds-space-6: var(--space-7);
    --vmic-ds-space-7: var(--space-8);
    --vmic-ds-space-8: var(--space-9);
    --vmic-ds-radius-sm: var(--radius-sm);
    --vmic-ds-radius-md: var(--radius-md);
    --vmic-ds-radius-lg: var(--radius-lg);
    --vmic-ds-radius-xl: 16px;
    --vmic-ds-shadow-card: var(--shadow-card);
    --vmic-ds-shadow-modal: var(--shadow-modal);
    --vmic-ds-safe-bottom: env(safe-area-inset-bottom, 0px);
    --vmic-ds-safe-top: env(safe-area-inset-top, 0px);
    --vmic-ds-bottom-nav-height: var(--bottom-nav-height);
}

body.vmic-client {
    width: 100%;
    min-width: 0;
    margin: 0;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

.vmic-app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: calc(var(--vmic-ds-safe-top) + clamp(14px, 4vw, 22px)) clamp(12px, 4vw, 18px) calc(var(--vmic-ds-bottom-nav-height) + var(--vmic-ds-safe-bottom) + clamp(14px, 4vw, 22px));
    background: radial-gradient(circle at 50% 0, rgba(214, 177, 129, .18), transparent 32%), var(--vmic-ds-bg);
    color: var(--vmic-ds-text);
    font-family: var(--vmic-ds-font-family);
    letter-spacing: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.vmic-app-shell *,
.vmic-app-shell *::before,
.vmic-app-shell *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.vmic-app-header,
.vmic-brand-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: var(--vmic-ds-space-4);
    min-width: 0;
    min-height: var(--header-height);
    margin-bottom: clamp(16px, 5vw, 24px);
}

.vmic-app-header__right,
.vmic-brand-header__right {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.vmic-app-header__title,
.vmic-brand-header__title {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: var(--vmic-ds-text);
    font-size: var(--vmic-ds-font-2xl);
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.vmic-brand-header {
    display: flex;
    justify-content: flex-start;
}

.vmic-brand-header__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(54px, 16vw, 68px);
    height: clamp(54px, 16vw, 68px);
    flex: 0 0 clamp(54px, 16vw, 68px);
    border: 1px solid var(--color-border-active);
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-surface-raised), var(--color-bg-secondary));
    color: var(--color-gold-light);
    font-size: clamp(28px, 9vw, 42px);
    font-weight: 900;
    box-shadow: var(--shadow-gold);
    overflow: hidden;
}

.vmic-brand-header__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vmic-brand-header__copy {
    min-width: 0;
}

.vmic-brand-header__copy p {
    margin: var(--space-1) 0 0;
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-xs);
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vmic-language-switcher {
    min-width: 0;
}

.vmic-language-switcher select {
    min-width: 120px;
    max-width: 100%;
    min-height: 44px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: var(--color-surface-raised);
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--vmic-ds-font-sm);
}

.vmic-language-switcher select:focus-visible {
    outline: 0;
    box-shadow: var(--shadow-focus);
}

.vmic-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--vmic-ds-border-strong);
    border-radius: 50%;
    background: rgba(5, 8, 11, .72);
    color: var(--vmic-ds-gold-strong);
    text-decoration: none;
}

.vmic-icon-button:focus-visible,
.vmic-button-ds:focus-visible,
.vmic-bottom-nav-ds__item:focus-visible,
.vmic-modal-close:focus-visible,
.vmic-input-action:focus-visible {
    outline: 0;
    box-shadow: var(--shadow-focus);
}

.vmic-icon-button svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vmic-card-ds,
.vmic-page-section {
    min-width: 0;
    border: 1px solid var(--vmic-ds-border);
    border-radius: var(--vmic-ds-radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--vmic-ds-surface);
    color: var(--vmic-ds-text);
    box-shadow: var(--vmic-ds-shadow-card);
}

.vmic-card-ds {
    padding: var(--vmic-ds-space-5);
}

.vmic-card-ds--raised {
    background: var(--color-surface-raised);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}

.vmic-form-field {
    min-width: 0;
    margin-bottom: var(--vmic-ds-space-5);
}

.vmic-form-field__label {
    display: block;
    margin-bottom: var(--vmic-ds-space-3);
    color: var(--vmic-ds-text);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-input-shell {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 58px;
    border: 1px solid var(--vmic-ds-border-strong);
    border-radius: var(--vmic-ds-radius-lg);
    background: rgba(2, 5, 8, .82);
    overflow: hidden;
}

.vmic-input-shell.is-disabled {
    opacity: .62;
}

.vmic-input-shell__control {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
}

.vmic-input-shell__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex: 0 0 48px;
    color: var(--vmic-ds-gold);
}

.vmic-input-shell__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vmic-input-shell input,
.vmic-input-shell select,
.vmic-input-shell textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--vmic-ds-text);
    font: inherit;
    font-size: var(--vmic-ds-font-lg);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vmic-input-shell input,
.vmic-input-shell select {
    height: 56px;
}

.vmic-input-shell select {
    box-sizing: border-box;
    color-scheme: dark;
}

.vmic-input-shell select option {
    background: #0c1013;
    color: var(--color-text-primary);
}

.vmic-input-shell select option:disabled,
.vmic-input-shell select option[value=""] {
    color: var(--color-text-muted);
}

.vmic-input-shell--select .vmic-input-shell__control {
    position: relative;
}

.vmic-select-trigger {
    display: none;
}

.vmic-select-menu {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .vmic-input-shell--select.is-vmic-select-enhanced .vmic-select-native {
        position: absolute !important;
        inset: 0;
        width: 1px !important;
        min-width: 1px !important;
        height: 1px !important;
        min-height: 1px !important;
        padding: 0 !important;
        border: 0 !important;
        opacity: 0;
        pointer-events: none;
    }

    .vmic-input-shell--select.is-vmic-select-enhanced {
        position: relative;
        overflow: visible;
    }

    .vmic-input-shell--select.is-vmic-select-enhanced .vmic-input-shell__control {
        position: static;
    }

    .vmic-input-shell--select.is-vmic-select-enhanced .vmic-select-trigger {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 56px;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        padding: 0 var(--space-4) 0 0;
        border: 0;
        background: transparent;
        color: var(--color-text-primary);
        font: inherit;
        font-size: var(--vmic-ds-font-lg);
        line-height: 1.25;
        text-align: left;
        cursor: pointer;
    }

    .vmic-select-trigger:disabled {
        cursor: not-allowed;
    }

    .vmic-select-value {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vmic-select-trigger.is-placeholder .vmic-select-value {
        color: var(--color-text-muted);
    }

    .vmic-select-icon {
        flex: 0 0 auto;
        color: var(--color-gold-light);
        font-size: 14px;
        line-height: 1;
        transition: transform .16s ease;
    }

    .vmic-input-shell--select.is-open .vmic-select-icon {
        transform: rotate(180deg);
    }

    .vmic-select-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 6px);
        z-index: 80;
        display: none;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        max-height: min(280px, 46vh);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-sizing: border-box;
        padding: var(--space-2);
        border: 1px solid var(--color-border-active);
        border-radius: var(--radius-md);
        background: var(--color-surface-raised);
        color: var(--color-text-primary);
        box-shadow: var(--shadow-modal);
    }

    .vmic-input-shell--select.is-open .vmic-select-menu {
        display: grid;
        gap: var(--space-1);
    }

    .vmic-input-shell--select.is-open-up .vmic-select-menu {
        top: auto;
        bottom: calc(100% + 6px);
    }

    .vmic-select-option {
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: flex-start;
        padding: var(--space-3) var(--space-4);
        border: 1px solid transparent;
        border-radius: var(--radius-sm);
        background: transparent;
        color: var(--color-text-primary);
        font: inherit;
        line-height: 1.3;
        text-align: left;
        cursor: pointer;
        overflow-wrap: anywhere;
    }

    .vmic-select-option:hover,
    .vmic-select-option.is-active {
        border-color: var(--color-border);
        background: rgba(243, 221, 174, .10);
        color: var(--color-gold-light);
    }

    .vmic-select-option[aria-selected="true"] {
        border-color: var(--color-border-active);
        background: linear-gradient(135deg, rgba(141, 98, 40, .72), rgba(217, 170, 89, .26));
        color: var(--color-text-primary);
        font-weight: 800;
    }

    .vmic-select-option:disabled,
    .vmic-select-option[aria-disabled="true"] {
        cursor: not-allowed;
        color: var(--color-text-muted);
    }

    .vmic-select-trigger:focus-visible,
    .vmic-select-option:focus-visible {
        outline: 2px solid var(--color-gold-light);
        outline-offset: 2px;
    }
}

.vmic-input-shell textarea {
    min-height: 112px;
    padding: var(--vmic-ds-space-4) var(--vmic-ds-space-4) var(--vmic-ds-space-4) 0;
    resize: vertical;
}

.vmic-input-shell input::placeholder,
.vmic-input-shell textarea::placeholder {
    color: var(--vmic-ds-text-faint);
}

.vmic-input-shell:focus-within {
    border-color: var(--vmic-ds-gold);
    box-shadow: var(--shadow-focus);
}

.vmic-form-field.is-error .vmic-input-shell,
.vmic-form-field.is-invalid .vmic-input-shell {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(255, 91, 91, .14);
}

.vmic-input-shell--code {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 30%);
}

.vmic-input-shell--code .vmic-input-shell__control {
    display: flex;
    align-items: center;
    min-width: 0;
}

.vmic-input-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0 var(--space-5);
    border: 0;
    border-left: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-gold-light);
    font: inherit;
    font-size: var(--vmic-ds-font-sm);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.vmic-input-action:disabled,
.vmic-input-action.is-loading {
    cursor: not-allowed;
    opacity: .58;
}

.vmic-input-action--gold {
    align-self: stretch;
    min-width: 92px;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light));
    color: var(--color-bg-primary);
}

.vmic-form-helper {
    margin-top: var(--space-2);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-xs);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vmic-form-error {
    min-height: 18px;
    margin-top: var(--vmic-ds-space-2);
    color: var(--vmic-ds-danger);
    font-size: var(--vmic-ds-font-xs);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vmic-auth-form-status {
    display: none;
    min-width: 0;
    margin: 0 0 var(--space-4);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(8, 11, 14, .82);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vmic-auth-form-status.is-visible {
    display: block;
}

.vmic-auth-form-status.is-error {
    border-color: rgba(255, 91, 91, .36);
    color: var(--color-danger);
}

.vmic-auth-form-status.is-warning {
    color: var(--color-gold-light);
}

.vmic-auth-form-status.is-success {
    border-color: rgba(86, 196, 132, .35);
    color: var(--color-success);
}

.vmic-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 32px;
    padding: 4px var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .04);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-xs);
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-status-badge--success,
.vmic-status-badge--approved {
    border-color: rgba(86, 196, 132, .35);
    background: rgba(86, 196, 132, .12);
    color: var(--color-success);
}

.vmic-status-badge--warning,
.vmic-status-badge--pending {
    border-color: rgba(217, 170, 89, .38);
    background: rgba(217, 170, 89, .12);
    color: var(--color-gold-light);
}

.vmic-status-badge--danger,
.vmic-status-badge--rejected {
    border-color: rgba(255, 91, 91, .35);
    background: rgba(255, 91, 91, .12);
    color: var(--color-danger);
}

.vmic-image-upload {
    min-width: 0;
}

.vmic-image-upload__drop {
    display: grid;
    gap: var(--space-4);
    min-width: 0;
    padding: var(--space-4);
    border: 1px dashed var(--color-border-active);
    border-radius: var(--radius-md);
    background: rgba(2, 5, 8, .72);
    cursor: pointer;
}

.vmic-image-upload__drop:focus-within {
    border-color: var(--color-gold-primary);
    box-shadow: var(--shadow-focus);
}

.vmic-image-upload__drop.is-disabled {
    cursor: default;
}

.vmic-image-upload__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(128px, 38vw, 184px);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
    overflow: hidden;
}

.vmic-image-upload__preview img {
    width: 100%;
    max-height: clamp(160px, 48vw, 240px);
    object-fit: contain;
}

.vmic-image-upload__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-gold-primary);
}

.vmic-image-upload__placeholder svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vmic-image-upload__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: var(--space-3) var(--space-5);
    border: 1px solid var(--color-border-active);
    border-radius: var(--radius-sm);
    color: var(--color-gold-light);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}

.vmic-image-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vmic-button-ds {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--vmic-ds-space-3);
    width: auto;
    max-width: 100%;
    min-height: 54px;
    padding: 0 var(--vmic-ds-space-6);
    border: 1px solid transparent;
    border-radius: var(--vmic-ds-radius-lg);
    font: inherit;
    font-size: var(--vmic-ds-font-lg);
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    opacity: 1;
}

.vmic-button-ds span,
.vmic-button-ds svg {
    color: inherit;
}

.vmic-button-ds.is-loading {
    position: relative;
    cursor: wait;
}

.vmic-button-ds.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: vmic-spin .75s linear infinite;
}

.vmic-button-ds--block {
    width: 100%;
}

.vmic-button-ds--primary {
    border-color: var(--button-primary-border);
    background: linear-gradient(135deg, var(--button-primary-bg-start) 0%, var(--button-primary-bg-mid) 48%, var(--button-primary-bg-end) 100%);
    color: var(--button-primary-text);
}

.vmic-button-ds--primary:hover {
    border-color: var(--button-primary-border);
    background: var(--button-primary-hover);
    color: var(--button-primary-text);
}

.vmic-button-ds--primary:active {
    border-color: var(--button-primary-border);
    background: var(--button-primary-active);
    color: var(--button-primary-text);
}

.vmic-button-ds--secondary {
    border-color: var(--vmic-ds-border-strong);
    background: rgba(2, 5, 8, .48);
    color: var(--vmic-ds-gold-strong);
}

.vmic-button-ds--danger {
    border-color: rgba(255, 107, 107, .42);
    background: rgba(255, 107, 107, .16);
    color: var(--color-danger);
}

.vmic-button-ds--subtle-danger {
    min-height: 42px;
    padding: 0 var(--space-4);
    border-color: rgba(255, 107, 107, .36);
    background: rgba(255, 107, 107, .08);
    color: #ffb1b1;
    font-size: var(--vmic-ds-font-sm);
}

.vmic-button-ds:disabled,
.vmic-button-ds.is-disabled {
    cursor: not-allowed;
    opacity: 1;
    border-color: rgba(170, 164, 154, .22);
    background: rgba(170, 164, 154, .10);
    color: var(--color-text-muted);
}

.vmic-button-ds--primary:disabled,
.vmic-button-ds--primary.is-disabled,
.vmic-button-ds--primary[aria-disabled="true"] {
    border-color: var(--button-primary-disabled-border);
    background: var(--button-primary-disabled-bg);
    color: var(--button-primary-disabled-text);
}

.vmic-button-ds--ghost {
    border-color: transparent;
    background: transparent;
    color: var(--color-gold-light);
}

.vmic-notice-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--vmic-ds-space-3);
    min-height: 44px;
    padding: 0 var(--vmic-ds-space-4);
    border: 1px solid var(--vmic-ds-border);
    border-radius: var(--vmic-ds-radius-md);
    background: rgba(8, 12, 14, .92);
    color: var(--vmic-ds-text);
}

.vmic-notice-bar__label {
    max-width: 96px;
    padding: 3px 10px;
    border: 1px solid var(--vmic-ds-border);
    border-radius: 999px;
    color: var(--vmic-ds-gold);
    font-size: var(--vmic-ds-font-xs);
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vmic-notice-bar__text {
    min-width: 0;
    color: var(--vmic-ds-text);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vmic-modal-ds,
.vmic-toast-ds {
    font-family: var(--vmic-ds-font-family);
    color: var(--vmic-ds-text);
}

.vmic-overlay-root,
.vmic-toast-root {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    pointer-events: none;
    overflow: visible;
    z-index: var(--z-overlay);
}

.vmic-toast-root {
    z-index: var(--z-toast);
}

.vmic-modal-root {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    display: grid;
    place-items: center;
    padding: max(16px, var(--vmic-ds-safe-top)) 16px max(16px, var(--vmic-ds-safe-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
}

.vmic-modal-root.is-sheet {
    place-items: end center;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: var(--vmic-ds-safe-bottom);
}

.vmic-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
}

.vmic-modal-ds {
    position: relative;
    z-index: var(--z-dialog);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(calc(100vw - 32px), 420px);
    max-height: min(calc(100dvh - 32px), 720px);
    border: 1px solid var(--vmic-ds-border-strong);
    border-radius: var(--vmic-ds-radius-lg);
    background: var(--vmic-ds-surface);
    box-shadow: var(--vmic-ds-shadow-modal);
    overflow: hidden;
}

.vmic-toast-ds.is-success {
    border-color: rgba(84, 210, 150, .46);
}

.vmic-toast-ds.is-error {
    border-color: rgba(255, 123, 123, .54);
}

.vmic-toast-ds.is-warning {
    border-color: rgba(243, 221, 174, .54);
}

.vmic-modal-ds--sheet {
    width: min(100vw, var(--content-max-width));
    max-height: min(82dvh, 720px);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.vmic-modal-ds--danger .vmic-modal-title {
    color: var(--color-danger);
}

.vmic-modal-header,
.vmic-modal-footer {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    min-width: 0;
    padding: var(--space-6);
    background: var(--color-surface);
}

.vmic-modal-header {
    border-bottom: 1px solid var(--color-border);
}

.vmic-modal-footer {
    justify-content: flex-end;
    border-top: 1px solid var(--color-border);
}

.vmic-modal-title {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--vmic-ds-font-lg);
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-modal-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-gold-light);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.vmic-modal-ds__body {
    min-height: 0;
    max-height: none;
    padding: var(--vmic-ds-space-5);
    overflow: auto;
    color: var(--vmic-ds-text-muted);
    font-size: var(--vmic-ds-font-md);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.vmic-modal-actions {
    display: flex;
    gap: var(--space-3);
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.vmic-redeem-modal-actions {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    justify-content: flex-end;
}

.vmic-redeem-modal-actions .vmic-button-ds {
    width: auto;
    max-width: 100%;
    min-width: min(10rem, 100%);
    min-height: 44px;
    height: auto;
    flex: 0 1 auto;
    padding: var(--space-3) var(--space-5);
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
}

.vmic-redeem-modal-actions .js-redeem-cancel {
    flex: 0 1 auto;
}

.vmic-redeem-modal-actions .js-redeem-confirm {
    flex: 0 1 auto;
}

.vmic-redeem-modal-actions .js-redeem-confirm:disabled {
    border-style: dashed;
    background: rgba(170, 164, 154, .14);
    color: var(--color-text-secondary);
}

@media (max-width: 359px) {
    .vmic-redeem-modal-actions {
        flex-direction: column-reverse;
    }

    .vmic-redeem-modal-actions .vmic-button-ds {
        width: 100%;
    }
}

.vmic-action-sheet-list {
    display: grid;
    gap: var(--space-3);
}

.vmic-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-loading);
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    pointer-events: auto;
}

.vmic-loading-overlay.is-active {
    display: flex;
}

.vmic-loading-box {
    display: flex;
    min-width: 132px;
    min-height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-modal);
}

.vmic-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-gold-primary);
    border-radius: 50%;
    animation: vmic-spin .75s linear infinite;
}

.vmic-body-lock {
    overflow: hidden !important;
}

.vmic-toast-ds {
    position: fixed;
    left: 50%;
    bottom: calc(var(--vmic-ds-safe-bottom) + 24px);
    z-index: var(--z-toast);
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 48px));
    padding: var(--vmic-ds-space-4) var(--vmic-ds-space-5);
    border: 1px solid var(--vmic-ds-border-strong);
    border-radius: var(--vmic-ds-radius-lg);
    background: rgba(8, 12, 14, .96);
    box-shadow: var(--vmic-ds-shadow-modal);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
    pointer-events: auto;
    box-sizing: border-box;
}

.vmic-toast-ds.is-success {
    border-color: rgba(84, 210, 150, .46);
}

.vmic-toast-ds.is-error {
    border-color: rgba(255, 123, 123, .54);
}

.vmic-toast-ds.is-warning {
    border-color: rgba(243, 221, 174, .54);
}

@media (min-width: 768px) {
    .vmic-modal-root,
    .vmic-loading-overlay {
        left: 50%;
        right: auto;
        width: min(100vw, var(--content-max-width));
        transform: translateX(-50%);
    }

    .vmic-modal-root.is-sheet {
        place-items: center;
        padding: max(16px, var(--vmic-ds-safe-top)) 16px max(16px, var(--vmic-ds-safe-bottom));
    }

    .vmic-modal-ds--sheet {
        width: min(calc(100vw - 32px), 420px);
        max-height: min(80dvh, 720px);
        border-radius: var(--vmic-ds-radius-lg);
    }

    .vmic-toast-ds {
        width: min(360px, calc(var(--content-max-width) - 32px));
    }
}

.vmic-empty-state {
    padding: var(--vmic-ds-space-8) var(--vmic-ds-space-5);
    color: var(--vmic-ds-text-muted);
    text-align: center;
}

.vmic-empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--vmic-ds-space-4);
    border: 1px solid var(--vmic-ds-border);
    border-radius: 50%;
    color: var(--vmic-ds-gold);
}

.vmic-empty-state__title {
    margin: 0 0 var(--vmic-ds-space-2);
    color: var(--vmic-ds-text);
    font-size: var(--vmic-ds-font-lg);
    font-weight: 800;
}

.vmic-bottom-nav-ds {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    min-height: calc(var(--vmic-ds-bottom-nav-height) + var(--vmic-ds-safe-bottom));
    padding-bottom: var(--vmic-ds-safe-bottom);
    border-top: 1px solid var(--vmic-ds-border);
    background: rgba(6, 8, 10, .96);
    backdrop-filter: blur(12px);
}

.vmic-bottom-nav-ds__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: var(--vmic-ds-bottom-nav-height);
}

.vmic-bottom-nav-ds__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--vmic-ds-text-muted);
    text-decoration: none;
}

.vmic-bottom-nav-ds__item.is-active {
    color: var(--vmic-ds-gold);
}

.vmic-bottom-nav-ds__item svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vmic-bottom-nav-ds__label {
    max-width: 100%;
    padding: 0 4px;
    font-size: var(--vmic-ds-font-xs);
    font-weight: 750;
    line-height: 1.18;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 374px) {
    .vmic-app-shell {
        padding-left: var(--vmic-ds-space-4);
        padding-right: var(--vmic-ds-space-4);
    }

    .vmic-button-ds {
        min-height: 50px;
        padding-left: var(--vmic-ds-space-5);
        padding-right: var(--vmic-ds-space-5);
        font-size: var(--vmic-ds-font-md);
    }

    .vmic-input-shell {
        min-height: 54px;
    }

    .vmic-input-shell input,
    .vmic-input-shell select {
        height: 52px;
        font-size: var(--vmic-ds-font-md);
    }
}

@media (max-width: 360px) {
    .vmic-modal-footer,
    .vmic-modal-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .vmic-modal-actions .vmic-button-ds {
        width: 100%;
    }

    .vmic-input-shell--code {
        grid-template-columns: minmax(0, 1fr) 88px;
    }
}

@media (min-width: 768px) {
    .vmic-app-shell {
        border-right: 1px solid var(--color-border);
        border-left: 1px solid var(--color-border);
    }
}

body.vmic-finance-page {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

body.vmic-finance-page .mobile {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--color-bg-primary);
}

.vmic-finance-page .vmic-app-shell {
    gap: 0;
}

.vmic-finance-stack {
    display: grid;
    gap: clamp(12px, 4vw, 18px);
    min-width: 0;
}

.vmic-app-header + .vmic-finance-stack,
.vmic-app-header + .vmic-page-section,
.vmic-page-withdraw .vmic-withdraw-page-shell > .vmic-finance-stack,
.vmic-page-withdraw .vmic-withdraw-page-shell > #withdrawShell {
    padding-top: clamp(20px, 5vw, 24px);
}

.vmic-finance-title-row,
.vmic-finance-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-width: 0;
}

.vmic-finance-card-title {
    margin-bottom: var(--space-5);
}

.vmic-finance-card-title h2,
.vmic-finance-section-title {
    min-width: 0;
    margin: 0;
    color: var(--color-gold-light);
    font-size: var(--vmic-ds-font-lg);
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-finance-subtitle,
.vmic-finance-card-title p,
.vmic-finance-note {
    margin: var(--space-2) 0 0;
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.vmic-finance-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border-active);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(217, 170, 89, .20), rgba(5, 7, 9, .18) 34%),
        var(--color-surface);
    box-shadow: var(--shadow-card);
}

.vmic-finance-hero__inner {
    display: grid;
    gap: var(--space-6);
    min-width: 0;
    padding: clamp(16px, 5vw, 24px);
}

.vmic-finance-profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.vmic-finance-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(56px, 17vw, 72px);
    height: clamp(56px, 17vw, 72px);
    border: 1px solid var(--color-border-active);
    border-radius: 50%;
    background: var(--color-surface-raised);
    color: var(--color-gold-light);
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.vmic-finance-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vmic-finance-profile__copy {
    min-width: 0;
}

.vmic-finance-profile__name {
    display: block;
    color: var(--color-text-primary);
    font-size: clamp(18px, 5.8vw, 24px);
    font-weight: 850;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vmic-finance-profile__meta {
    display: block;
    margin-top: var(--space-2);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-finance-balance {
    display: grid;
    gap: var(--space-2);
    min-width: 0;
}

.vmic-finance-balance__label {
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-finance-balance__value {
    color: var(--color-gold-light);
    font-size: clamp(28px, 10vw, 42px);
    font-weight: 900;
    line-height: 1.08;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow-wrap: normal;
}

.vmic-finance-balance__bonus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(218, 170, 89, .22);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
}


.vmic-finance-balance__bonus strong {
    flex: 0 0 auto;
    color: var(--color-gold-light);
    font-size: var(--vmic-ds-font-md);
    font-variant-numeric: tabular-nums;
}

.vmic-finance-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    min-width: 0;
}

.vmic-finance-stat {
    min-width: 0;
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .035);
}

.vmic-finance-stat--wide {
    grid-column: 1 / -1;
}

.vmic-finance-stat__label,
.vmic-finance-list__label {
    display: block;
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-xs);
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-finance-stat__value,
.vmic-finance-list__value {
    display: block;
    min-width: 0;
    margin-top: var(--space-2);
    color: var(--color-text-primary);
    font-size: clamp(15px, 4.2vw, var(--vmic-ds-font-lg));
    font-weight: 850;
    line-height: 1.28;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow-wrap: normal;
}

.vmic-finance-list {
    display: grid;
    gap: var(--space-3);
}

.vmic-finance-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    gap: var(--space-4);
    align-items: start;
    min-width: 0;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
}

.vmic-finance-list__item:last-child {
    border-bottom: 0;
}

.vmic-finance-list__value {
    margin-top: 0;
    color: var(--color-gold-light);
    text-align: right;
}

.vmic-finance-list__desc {
    grid-column: 1 / -1;
    color: var(--color-text-muted);
    font-size: var(--vmic-ds-font-xs);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vmic-finance-menu {
    display: grid;
    gap: var(--space-3);
    min-width: 0;
}

.vmic-finance-menu--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vmic-finance-menu__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    gap: var(--space-4);
    align-items: center;
    min-width: 0;
    min-height: 66px;
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .025);
    color: var(--color-text-primary);
    text-decoration: none;
}

.vmic-finance-menu__item:hover,
.vmic-finance-menu__item:active,
.vmic-finance-menu__item:focus-visible {
    border-color: var(--color-border-active);
    background: rgba(217, 170, 89, .08);
    outline: 0;
    box-shadow: var(--shadow-focus);
}

.vmic-finance-menu--grid .vmic-finance-menu__item {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
}

.vmic-finance-menu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border-active);
    border-radius: 50%;
    color: var(--color-gold-primary);
}

.vmic-finance-menu__icon svg,
.vmic-payment-option svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vmic-finance-menu__copy {
    min-width: 0;
}

.vmic-finance-menu__copy strong {
    display: block;
    color: var(--color-gold-light);
    font-size: var(--vmic-ds-font-md);
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-finance-menu__copy span {
    display: block;
    margin-top: var(--space-1);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-xs);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-finance-menu__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    color: var(--color-gold-primary);
    font-size: 22px;
    line-height: 1;
}

.vmic-settings-profile-card {
    display: flex;
    align-items: center;
    gap: clamp(14px, 4vw, 16px);
    padding: clamp(18px, 4.5vw, 20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 20% 0%, rgba(243, 221, 174, .10), transparent 32%),
        linear-gradient(135deg, rgba(12, 16, 19, .96), rgba(5, 7, 9, .98));
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.vmic-settings-avatar {
    flex: 0 0 clamp(56px, 15vw, 64px);
    width: clamp(56px, 15vw, 64px);
    height: clamp(56px, 15vw, 64px);
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-active);
    background: var(--color-surface);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.vmic-settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vmic-settings-profile-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: clamp(6px, 1.8vw, 8px);
}

.vmic-settings-profile-copy strong {
    display: block;
    color: var(--color-text-primary);
    font-size: clamp(24px, 6vw, 28px);
    line-height: 1.12;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vmic-settings-profile-copy span {
    display: block;
    color: var(--color-text-secondary);
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vmic-language-switcher--settings,
.vmic-language-switcher--settings select {
    width: 100%;
}

.vmic-message-list,
.vmic-service-list {
    display: grid;
    gap: var(--space-3);
}

.vmic-message-card {
    min-height: 120px;
}

.vmic-message-card__summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: default;
}

.vmic-message-card__summary .vmic-status-badge {
    align-self: start;
    max-width: min(34vw, 128px);
    white-space: normal;
    text-align: center;
}

.vmic-message-card__summary:focus-visible,
.vmic-service-item:focus-visible {
    outline: 2px solid var(--color-border-active);
    outline-offset: 2px;
}

.vmic-message-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    color: var(--color-gold-light);
    background: rgba(217, 170, 89, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 218, 145, .06);
}

.vmic-message-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.vmic-message-card.is-unread .vmic-message-card__icon {
    color: #f4c66f;
    border-color: rgba(244, 198, 111, .72);
}

.vmic-message-card__copy,
.vmic-service-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
    align-content: center;
}

.vmic-message-card__title-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    max-width: 100%;
    color: var(--color-text-primary);
    flex-wrap: wrap;
}

.vmic-message-card__copy strong,
.vmic-service-copy strong {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--color-text-primary);
    font-size: clamp(1rem, 3.8vw, 1.08rem);
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.vmic-message-card__type {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    color: var(--color-gold-light);
    background: rgba(217, 170, 89, .1);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.vmic-message-card__copy time,
.vmic-service-copy span {
    display: block;
    min-width: 0;
    color: var(--color-text-muted);
    font-size: .78rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-message-card__body {
    border-top: 0;
    padding: 0 88px 0 calc(44px + var(--space-3));
}

.vmic-message-card__content {
    color: var(--color-text-secondary);
    line-height: 1.55;
    max-height: none;
    overflow: visible;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.vmic-message-card__actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    margin-top: 0;
}

.vmic-message-card__actions .vmic-button-ds {
    min-height: 40px;
    padding-block: 8px;
    padding-inline: 14px;
}

.vmic-message-shell {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + var(--space-6));
}

@media (max-width: 360px) {
    .vmic-message-card__summary {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .vmic-message-card__summary .vmic-status-badge {
        grid-column: 2;
        justify-self: start;
        max-width: 100%;
    }

    .vmic-message-card__body {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 48px;
    }

    .vmic-message-card__title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vmic-message-card__copy strong {
        white-space: normal;
    }

    .vmic-message-card__type {
        max-width: 100%;
    }
}

.vmic-pagination-wrap {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: var(--space-2);
}

body.vmic-message-page .notification-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 120px;
    margin-bottom: 12px;
    padding: 12px;
    overflow: hidden;
}

body.vmic-message-page .notification-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

body.vmic-message-page .notification-title {
    min-width: 0;
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 850;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

body.vmic-message-page .notification-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    padding: 2px 8px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(217, 170, 89, .10);
    color: var(--color-gold-light);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

body.vmic-message-page .notification-status {
    flex: 0 0 auto;
    max-width: 42%;
    min-width: 0;
}

body.vmic-message-page .notification-meta,
body.vmic-message-page .notification-time {
    display: block;
    min-width: 0;
    margin-top: 4px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.35;
    opacity: .7;
    word-break: break-word;
    overflow-wrap: anywhere;
}

body.vmic-message-page .notification-body {
    min-width: 0;
    padding-right: 88px;
}

body.vmic-message-page .notification-content {
    min-width: 0;
    color: var(--color-text-secondary);
    line-height: 1.55;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

body.vmic-message-page .notification-action {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
    min-width: 0;
}

body.vmic-message-page .notification-delete {
    min-width: 0;
}

@media (max-width: 360px) {
    body.vmic-message-page .notification-header {
        flex-direction: column;
    }

    body.vmic-message-page .notification-status {
        max-width: 100%;
    }

    body.vmic-message-page .notification-body {
        padding-right: 0;
        padding-bottom: 48px;
    }
}

.vmic-record-shell {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + var(--space-6));
}

.vmic-record-list {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.vmic-record-card {
    display: grid;
    gap: var(--space-4);
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)), var(--color-surface);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.vmic-record-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
}

.vmic-record-card__header > div {
    min-width: 0;
}

.vmic-record-card__label,
.vmic-record-meta dt,
.vmic-record-section-title p {
    display: block;
    color: var(--color-text-muted);
    font-size: var(--vmic-ds-font-xs);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vmic-record-card__header strong {
    display: block;
    margin-top: var(--space-1);
    color: var(--color-text-primary);
    font-size: var(--vmic-ds-font-md);
    font-weight: 850;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-record-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
    min-width: 0;
}

.vmic-record-meta div {
    min-width: 0;
    padding: var(--space-3);
    border: 0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .026);
}

.vmic-record-meta dd {
    margin: var(--space-1) 0 0;
    color: var(--color-text-primary);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 800;
    line-height: 1.38;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.vmic-amount-text {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow-wrap: normal;
}

.vmic-record-card__actions {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.vmic-record-card__status-description {
    margin: 0;
    color: var(--color-text-secondary, #b8ad9a);
    font-size: var(--vmic-ds-font-sm, 13px);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.vmic-record-card__actions[hidden] {
    display: none !important;
}

.vmic-record-section-title {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
    margin-bottom: var(--space-4);
}

.vmic-record-section-title h3 {
    margin: 0;
    color: var(--color-gold-light);
    font-size: var(--vmic-ds-font-lg);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-record-pending-card {
    margin-bottom: var(--space-5);
}

@media (max-width: 360px) {
    .vmic-record-card__header {
        flex-direction: column;
    }

    .vmic-record-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .vmic-recharge-rewards__summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .vmic-record-card__actions,
    .vmic-record-card__actions .vmic-button-ds {
        width: 100%;
    }
}

.vmic-service-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .02);
    text-decoration: none;
}

.vmic-service-media {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: .78rem;
    text-align: center;
    overflow: hidden;
}

.vmic-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vmic-service-copy em {
    justify-self: start;
    color: var(--color-gold-light);
    font-size: .86rem;
    font-style: normal;
}

.vmic-service-card {
    display: grid;
    gap: var(--space-5);
    min-width: 0;
    padding: var(--space-5);
}

.vmic-service-card__header {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: var(--space-4);
    align-items: center;
    min-width: 0;
}

.vmic-service-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(217, 170, 89, .10);
    color: var(--color-gold-light);
    overflow: hidden;
}

.vmic-service-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vmic-service-card__avatar svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.vmic-service-card__title {
    display: grid;
    gap: var(--space-1);
    min-width: 0;
}

.vmic-service-card__title p,
.vmic-service-card__title span,
.vmic-service-security-note {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.vmic-service-card__title h2 {
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-service-qrcode {
    display: grid;
    justify-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.vmic-service-qrcode a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(220px, 74vw);
    max-width: 100%;
    aspect-ratio: 1;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04);
}

.vmic-service-qrcode img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.vmic-service-qrcode__error {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid rgba(255, 107, 107, .42);
    border-radius: var(--radius-md);
    background: rgba(255, 107, 107, .10);
    color: var(--color-danger);
    font-size: var(--vmic-ds-font-sm);
    text-align: center;
    overflow-wrap: anywhere;
}

.vmic-service-meta {
    display: grid;
    gap: var(--space-3);
    min-width: 0;
    margin: 0;
}

.vmic-service-meta div {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: var(--space-3);
    align-items: center;
    min-width: 0;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .03);
}

.vmic-service-meta dt,
.vmic-service-meta dd {
    min-width: 0;
    margin: 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vmic-service-meta dt {
    color: var(--color-text-muted);
    font-size: var(--vmic-ds-font-xs);
    font-weight: 750;
}

.vmic-service-meta dd {
    color: var(--color-text-primary);
    font-size: var(--vmic-ds-font-md);
    font-weight: 800;
}

.vmic-service-card .vmic-button-ds {
    min-height: 48px;
}

.vmic-service-card .vmic-finance-status {
    margin-bottom: 0;
}

@media (max-width: 360px) {
    .vmic-service-card__header {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .vmic-service-card__avatar {
        width: 48px;
        height: 48px;
    }

    .vmic-service-meta div {
        grid-template-columns: 1fr;
        gap: var(--space-1);
    }
}

.vmic-rich-content {
    color: var(--color-text-secondary);
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.vmic-rich-content img,
.vmic-rich-content video,
.vmic-rich-content iframe {
    max-width: 100%;
    height: auto;
}

.vmic-rich-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.vmic-rich-content a {
    color: var(--color-gold-light);
}

.vmic-finance-status {
    display: none;
    margin-bottom: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .035);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vmic-finance-status.is-visible {
    display: block;
}

.vmic-finance-status.is-error {
    border-color: rgba(255, 107, 107, .42);
    color: var(--color-danger);
}

.vmic-finance-status.is-success {
    border-color: rgba(79, 209, 139, .42);
    color: var(--color-success);
}

.vmic-bank-card-list {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    min-width: 0;
}

.vmic-bank-card-list__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
}

.vmic-bank-card-add {
    min-height: 44px;
    padding: 0 var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(217, 170, 89, .08);
    color: var(--color-gold-light);
    font-weight: 700;
    cursor: pointer;
}

.vmic-bank-card-add:focus-visible,
.vmic-bank-card-option:focus-visible {
    outline: 2px solid var(--color-border-active);
    outline-offset: 2px;
}

.vmic-bank-card-list__items {
    display: grid;
    gap: var(--space-3);
}

.vmic-bank-card-option {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(12, 16, 19, .72);
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
    min-width: 0;
}

.vmic-bank-card-option.is-selected {
    border-color: var(--color-border-active);
    background: rgba(217, 170, 89, .12);
    box-shadow: var(--shadow-focus);
}

.vmic-bank-card-option__main,
.vmic-bank-card-option__meta {
    display: grid;
    gap: var(--space-1);
    min-width: 0;
}

.vmic-bank-card-option__main strong,
.vmic-bank-card-option__main small,
.vmic-bank-card-option__meta {
    overflow-wrap: anywhere;
}

.vmic-bank-card-option__main strong {
    font-size: var(--vmic-ds-font-md);
    color: var(--color-text-primary);
}

.vmic-bank-card-option__main small,
.vmic-bank-card-option__meta {
    font-size: var(--vmic-ds-font-sm);
    color: var(--color-text-secondary);
}

.vmic-bank-card-option__meta {
    justify-items: end;
    text-align: right;
}

.vmic-bank-card-option__meta em {
    font-style: normal;
    color: var(--color-gold-light);
}

@media (max-width: 360px) {
    .vmic-bank-card-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .vmic-bank-card-option__meta {
        justify-items: start;
        text-align: left;
    }
}

.vmic-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    min-width: 0;
}

.vmic-recharge-rewards {
    margin: 0 0 var(--space-5);
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .03);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.vmic-recharge-rewards__title,
.vmic-recharge-rewards__subtitle {
    color: var(--color-gold-light);
    font-weight: 850;
}

.vmic-recharge-rewards__subtitle {
    margin-top: var(--space-3);
}

.vmic-recharge-rewards__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin: var(--space-3) 0 0;
}

.vmic-recharge-rewards__summary > div {
    min-width: 0;
    padding: var(--space-3);
    border: 1px solid rgba(218, 170, 89, .16);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, .18);
}

.vmic-recharge-rewards__summary dt {
    margin: 0 0 var(--space-1);
    color: var(--color-text-muted);
    font-size: var(--vmic-ds-font-xs);
    overflow-wrap: anywhere;
}

.vmic-recharge-rewards__summary dd {
    margin: 0;
    color: var(--color-gold-light);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.vmic-recharge-rewards__rules {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.vmic-recharge-rewards__rules > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
}

.vmic-recharge-rewards__rules span,
.vmic-recharge-rewards__rules strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vmic-recharge-rewards__rules strong {
    color: var(--color-gold-primary);
}

.vmic-payment-option {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
    min-height: 72px;
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .03);
    color: var(--color-text-primary);
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

.vmic-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vmic-payment-option:has(input:checked),
.vmic-payment-option.is-active {
    border-color: var(--color-border-active);
    background:
        linear-gradient(135deg, rgba(217, 170, 89, .18), rgba(255, 255, 255, .045)),
        rgba(255, 255, 255, .04);
    color: var(--color-text-primary);
    box-shadow: inset 0 0 0 1px rgba(243, 221, 174, .22), var(--shadow-focus);
}

.vmic-payment-option:has(input:checked)::after,
.vmic-payment-option.is-active::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--color-gold-light);
    box-shadow: 0 0 0 4px rgba(217, 170, 89, .16);
}

.vmic-payment-option__media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(243, 221, 174, .28);
    background: rgba(217, 170, 89, .12);
    color: var(--color-gold-light);
}

.vmic-payment-option__media svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.vmic-payment-option__media img {
    width: auto;
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.vmic-payment-option__name {
    min-width: 0;
    color: var(--color-text-primary);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 850;
    line-height: 1.25;
    text-align: left;
    overflow-wrap: anywhere;
}

.vmic-payment-option:has(input:checked) .vmic-payment-option__name,
.vmic-payment-option.is-active .vmic-payment-option__name {
    color: var(--color-gold-light);
}

.vmic-withdraw-bank[role="tabpanel"],
.vmic-withdraw-usdt[role="tabpanel"] {
    margin-top: 16px;
}

.vmic-payment-option:hover,
.vmic-payment-option:active,
.vmic-payment-option:focus-visible {
    border-color: var(--color-border-active);
    background: rgba(217, 170, 89, .10);
    outline: none;
    box-shadow: var(--shadow-focus);
}

.vmic-finance-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
    min-width: 0;
    min-height: 44px;
    padding: var(--space-1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .035);
}

.vmic-finance-mode-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.vmic-finance-mode-switch a.is-active,
.vmic-finance-mode-switch a[aria-selected="true"] {
    border-color: rgba(243, 221, 174, .42);
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light));
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-gold);
}

.vmic-finance-mode-switch a:hover,
.vmic-finance-mode-switch a:active,
.vmic-finance-mode-switch a:focus-visible {
    color: var(--color-text-primary);
    outline: none;
    box-shadow: var(--shadow-focus);
}

.vmic-dynamic-form {
    min-width: 0;
}

.vmic-dynamic-form table,
.vmic-dynamic-form tbody,
.vmic-dynamic-form tr,
.vmic-dynamic-form td {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--color-text-primary) !important;
}

.vmic-dynamic-form table {
    margin-top: var(--space-5) !important;
}

.vmic-dynamic-form tr {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border) !important;
}

.vmic-dynamic-form tr:first-child td {
    color: var(--color-gold-light) !important;
    font-size: var(--vmic-ds-font-lg) !important;
    font-weight: 850;
    text-align: left !important;
}

.vmic-dynamic-form td[align="right"],
.vmic-dynamic-form .tb_class1[align="right"] {
    margin-bottom: var(--space-2);
    color: var(--color-text-secondary) !important;
    font-size: var(--vmic-ds-font-sm) !important;
    font-weight: 750;
    text-align: left !important;
}

.vmic-dynamic-form input[type="text"],
.vmic-dynamic-form input[type="password"],
.vmic-dynamic-form textarea,
.vmic-dynamic-form select {
    width: 100% !important;
    min-width: 0;
    min-height: 52px !important;
    height: auto !important;
    padding: 0 var(--space-5) !important;
    border: 1px solid var(--color-border-active) !important;
    border-radius: var(--radius-md) !important;
    background: rgba(2, 5, 8, .82) !important;
    color: var(--color-text-primary) !important;
    line-height: 1.35 !important;
}

.vmic-dynamic-form input[type="button"],
.vmic-dynamic-form .layui-btn {
    min-width: 0 !important;
    min-height: 50px !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--space-3) var(--space-5) !important;
    border: 1px solid var(--color-border-active) !important;
    border-radius: var(--radius-md) !important;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light)) !important;
    color: var(--color-bg-primary) !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.vmic-dynamic-form .btncancel,
.vmic-dynamic-form .vmic-recharge-cancel {
    background: rgba(2, 5, 8, .48) !important;
    color: var(--color-gold-light) !important;
}

.vmic-dynamic-form .codepic {
    width: min(220px, 100%) !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-sm);
}

.vmic-recharge-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.vmic-finance-formula {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .03);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-xs);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.vmic-moneylog-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    min-width: 0;
}

@media (max-width: 360px) {
    .vmic-finance-stat-grid,
    .vmic-finance-menu--grid,
    .vmic-recharge-actions,
    .vmic-moneylog-actions {
        grid-template-columns: 1fr;
    }

    .vmic-finance-list__item {
        grid-template-columns: 1fr;
    }

    .vmic-finance-list__value {
        text-align: left;
    }
}

@keyframes vmic-spin {
    to {
        transform: rotate(360deg);
    }
}

.vmic-investment-page .vmic-section-heading,
.vmic-investment-page .vmic-invest-record-card__header,
.vmic-investment-page .vmic-invest-card__header,
.vmic-investment-page .vmic-moneylog-card__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
}

.vmic-investment-page .vmic-section-heading {
    width: 100%;
    margin: var(--space-3) 0 var(--space-5);
    align-items: center;
}

.vmic-investment-page .vmic-section-heading h2,
.vmic-investment-page .vmic-section-heading h1,
.vmic-investment-page .vmic-invest-card__title,
.vmic-investment-page .vmic-invest-record-card h2,
.vmic-investment-page .vmic-prose-card h2,
.vmic-investment-page .vmic-moneylog-card h2 {
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(17px, 4.8vw, 21px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-investment-page .vmic-section-kicker,
.vmic-investment-page .vmic-section-link,
.vmic-investment-page .vmic-invest-card__metrics span,
.vmic-investment-page .vmic-invest-card__footer span,
.vmic-investment-page .vmic-detail-list dt,
.vmic-investment-page .vmic-moneylog-card p,
.vmic-investment-page .vmic-moneylog-card time,
.vmic-investment-page .vmic-invest-summary-card span {
    color: var(--color-text-secondary);
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vmic-investment-page .vmic-section-kicker {
    margin: 0 0 var(--space-1);
    color: var(--color-gold-primary);
    font-weight: 700;
}

.vmic-investment-page .vmic-section-link {
    flex: 0 1 auto;
    min-width: 0;
    color: var(--color-gold-light);
    text-decoration: none;
}

.vmic-invest-list-heading > div {
    min-width: 0;
    flex: 1 1 auto;
}

.vmic-invest-record-entry {
    display: inline-flex;
    min-height: 44px;
    max-width: 48%;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(217, 170, 89, .08);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-invest-record-entry:hover,
.vmic-invest-record-entry:active,
.vmic-invest-record-entry:focus-visible {
    border-color: var(--color-border-active);
    background: rgba(217, 170, 89, .16);
    color: var(--color-gold-light);
    text-decoration: none;
    outline: none;
    box-shadow: var(--shadow-focus);
}

.vmic-invest-list,
.vmic-invest-record-list,
.vmic-moneylog-list {
    display: grid;
    gap: var(--space-5);
    min-width: 0;
}

.vmic-invest-tabs {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-5);
    padding: var(--space-1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .035);
    overflow-x: auto;
    scrollbar-width: none;
}

.vmic-invest-tabs::-webkit-scrollbar {
    display: none;
}

.vmic-invest-tabs a {
    flex: 0 0 auto;
    min-height: 40px;
    max-width: min(62vw, 220px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.vmic-invest-tabs a.is-active {
    border-color: rgba(243, 221, 174, .42);
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-primary));
    color: var(--color-bg-primary);
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}

.vmic-invest-tabs a:hover,
.vmic-invest-tabs a:active,
.vmic-invest-tabs a:focus-visible {
    color: var(--color-text-primary);
    outline: none;
    box-shadow: var(--shadow-focus);
}

.vmic-invest-card,
.vmic-invest-record-card,
.vmic-invest-detail-card,
.vmic-invest-hero-card,
.vmic-prose-card,
.vmic-moneylog-card,
.vmic-agreement-summary-card,
.vmic-invest-summary-card {
    min-width: 0;
    overflow: visible;
}

.vmic-invest-card__title-wrap {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
}

.vmic-invest-card__title-wrap .vmic-invest-card__title {
    min-width: 0;
    flex: 1 1 min(13rem, 100%);
}

.vmic-invest-card__link {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(243, 221, 174, .46);
    border-radius: var(--radius-pill);
    background: rgba(217, 170, 89, .12);
    color: var(--color-gold-light);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(217, 170, 89, .06);
}

.vmic-invest-card__link:hover,
.vmic-invest-card__link:active,
.vmic-invest-card__link:focus-visible {
    border-color: var(--color-border-active);
    background: rgba(217, 170, 89, .22);
    color: #fff4d7;
    outline: none;
    box-shadow: var(--shadow-focus);
}

.vmic-invest-card__link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.3;
}

.vmic-invest-card__status {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-gold-light);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
}

.vmic-invest-card__status.is-completed,
.vmic-invest-card__status.is-upcoming {
    color: var(--color-text-secondary);
}

.vmic-invest-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.vmic-invest-card__tags span {
    max-width: 100%;
    padding: var(--space-1) var(--space-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-gold-light);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.vmic-invest-card__metrics,
.vmic-invest-summary-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.vmic-invest-card__metrics > div,
.vmic-invest-summary-card > div {
    min-width: 0;
}

.vmic-invest-card__metrics strong,
.vmic-invest-card__footer strong,
.vmic-invest-summary-card strong,
.vmic-detail-list dd,
.vmic-moneylog-card strong {
    display: block;
    margin-top: var(--space-1);
    color: var(--color-text-primary);
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.vmic-user-tender-page .vmic-invest-summary-card {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    padding: var(--space-5);
}

.vmic-user-tender-page .vmic-invest-summary-card > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-3);
    align-items: center;
    min-height: 48px;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(218, 170, 89, .18);
}

.vmic-user-tender-page .vmic-invest-summary-card > div:last-child {
    border-bottom: 0;
}

.vmic-user-tender-page .vmic-invest-summary-card strong {
    margin-top: 0;
    color: var(--color-gold-light);
    font-size: clamp(16px, 4.8vw, 20px);
    text-align: right;
    white-space: nowrap;
    overflow-wrap: normal;
}

.vmic-invest-card__progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
    color: var(--color-gold-light);
    font-size: 13px;
    font-weight: 800;
}

.vmic-invest-card__progress-track {
    min-width: 0;
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.vmic-invest-card__progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
}

.vmic-invest-card__footer,
.vmic-invest-record-card__actions,
.vmic-sticky-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
}

.vmic-invest-card__footer {
    margin-top: var(--space-4);
}

.vmic-invest-card__footer > div {
    min-width: 0;
}

.vmic-invest-card__footer .vmic-button-ds,
.vmic-invest-record-card__actions .vmic-button-ds {
    flex: 0 1 auto;
    min-width: 112px;
}

.vmic-invest-hero-card {
    background:
        radial-gradient(circle at 80% 0, rgba(217, 170, 89, .18), transparent 35%),
        var(--color-surface-raised);
}

.vmic-invest-hero-card h1 {
    margin: var(--space-3) 0;
    color: var(--color-text-primary);
    font-size: clamp(23px, 7vw, 32px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-invest-hero-card__status {
    color: var(--color-gold-light);
    font-size: 13px;
    font-weight: 800;
}

.vmic-invest-hero-card__rate strong {
    display: block;
    color: var(--color-gold-light);
    font-size: clamp(30px, 11vw, 46px);
    line-height: 1.1;
}

.vmic-detail-list {
    display: grid;
    gap: var(--space-3);
    margin: 0;
}

.vmic-detail-list > div {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    min-width: 0;
}

.vmic-detail-list > div:last-child {
    border-bottom: 0;
}

.vmic-detail-list dt,
.vmic-detail-list dd {
    min-width: 0;
}

.vmic-detail-list dd {
    margin: 0;
    text-align: right;
}

.vmic-detail-list--compact > div {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: var(--space-2) 0;
}

.vmic-prose {
    color: var(--color-text-secondary);
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.vmic-prose table {
    width: 100% !important;
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

.vmic-sticky-action {
    position: sticky;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    z-index: 20;
    width: min(100%, var(--content-max-width));
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(180deg, rgba(5, 7, 9, 0), var(--color-bg-primary) 28%);
}

.vmic-invest-record-card__header h2,
.vmic-moneylog-card__main > div {
    min-width: 0;
}

.vmic-invest-record-card__actions {
    flex-wrap: wrap;
    margin-top: var(--space-4);
    justify-content: flex-end;
}

.vmic-invest-record-card__actions .vmic-button-ds {
    flex: 1 1 140px;
}

.vmic-invest-record-card__actions .vmic-early-redeem-button {
    flex: 0 1 auto;
    min-width: 0;
}

.vmic-moneylog-card__main strong.is-income {
    color: var(--color-success);
}

.vmic-moneylog-card__main strong.is-expense {
    color: var(--color-danger);
}

.vmic-moneylog-card time {
    display: block;
    margin-top: var(--space-3);
}

.vmic-tender-pagination {
    margin-top: var(--space-5);
}

.vmic-dialog-copy {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.vmic-dialog-copy--danger {
    margin-top: var(--space-3);
    color: #ffb1b1;
}

.vmic-redeem-summary {
    display: grid;
    gap: var(--space-2);
    margin: var(--space-4) 0 0;
}

.vmic-redeem-summary > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-3);
    min-width: 0;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
}

.vmic-redeem-summary dt,
.vmic-redeem-summary dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.vmic-redeem-summary dt {
    color: var(--color-text-secondary);
}

.vmic-redeem-summary dd {
    color: var(--color-text-primary);
    text-align: right;
    font-weight: 850;
}

.vmic-agreement-page {
    min-width: 0;
    overflow-x: hidden;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.vmic-agreement-shell {
    width: min(100%, var(--content-max-width));
    margin: 0 auto;
    min-width: 0;
}

.vmic-agreement-page .wrap {
    width: min(calc(100vw - 24px), var(--content-max-width)) !important;
    max-width: var(--content-max-width);
    margin: var(--space-4) auto 0 !important;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #111111;
    box-shadow: var(--shadow-card);
}

.vmic-agreement-page #capture {
    -webkit-overflow-scrolling: touch;
}

.vmic-agreement-page .ylb-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vmic-agreement-page .table {
    max-width: 100%;
}

.vmic-agreement-page .vmic-agreement-tools {
    width: min(calc(100vw - 32px), var(--content-max-width));
    margin: var(--space-5) auto calc(var(--space-6) + env(safe-area-inset-bottom));
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-raised);
    box-shadow: var(--shadow-card);
}

.vmic-agreement-page .vmic-agreement-email-help {
    display: block;
    color: var(--color-text-secondary);
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.vmic-agreement-page .vmic-agreement-email-row {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-3);
    min-width: 0;
}

.vmic-agreement-page .vmic-agreement-email-field {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.vmic-agreement-page .vmic-agreement-email-row .vmic-button-ds {
    flex: 0 1 auto;
    min-width: 96px;
}

.vmic-agreement-page .vmic-agreement-email-help {
    margin: var(--space-3) 0 0;
}

.vmic-checkout-shell {
    gap: var(--space-4);
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.vmic-checkout-form,
.vmic-checkout-form .vmic-card-ds,
.vmic-checkout-form .vmic-form-field {
    min-width: 0;
}

.vmic-checkout-form {
    display: grid;
    gap: var(--space-4);
}

.vmic-checkout-form .vmic-card-ds,
.vmic-checkout-password-field {
    margin: 0;
}

.vmic-checkout-form .vmic-form-field {
    margin-bottom: 0;
}

.vmic-checkout-hero-card {
    background:
        radial-gradient(circle at 78% 0, rgba(243, 221, 174, .16), transparent 38%),
        var(--color-surface-raised);
}

.vmic-checkout-hero-card h1 {
    margin: var(--space-2) 0 var(--space-4);
    color: var(--color-text-primary);
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.vmic-checkout-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
}

.vmic-checkout-summary-grid > div {
    min-width: 0;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(5, 7, 9, .46);
}

.vmic-checkout-summary-grid dt,
.vmic-detail-list dt {
    color: var(--color-text-secondary);
    font-size: clamp(12px, 3.4vw, 13px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vmic-checkout-summary-grid dd {
    min-width: 0;
    margin: var(--space-1) 0 0;
    color: var(--color-text-primary);
    font-size: clamp(15px, 4.2vw, 18px);
    font-weight: 850;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vmic-checkout-detail-list dd {
    color: var(--color-text-primary);
}

.vmic-checkout-amount-field .vmic-form-helper a {
    color: var(--color-gold-light);
    font-weight: 850;
}

.vmic-checkout-funding-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
    margin: var(--space-3) 0;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(217, 170, 89, .06);
}

.vmic-checkout-funding-preview > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
}

.vmic-checkout-funding-preview dt,
.vmic-checkout-funding-preview dd {
    min-width: 0;
    margin: 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.vmic-checkout-funding-preview dt {
    color: var(--color-text-secondary);
    font-size: var(--vmic-ds-font-sm);
}

.vmic-checkout-funding-preview dd {
    color: var(--color-text-primary);
    font-size: var(--vmic-ds-font-sm);
    font-weight: 850;
    text-align: right;
}

.vmic-amount-control {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: stretch;
    min-width: 0;
    min-height: 58px;
    border: 1px solid var(--color-border-active);
    border-radius: var(--radius-lg);
    background: rgba(2, 5, 8, .82);
    overflow: hidden;
}

.vmic-amount-control:focus-within {
    border-color: var(--color-gold-primary);
    box-shadow: var(--shadow-focus);
}

.vmic-amount-control input {
    width: 100%;
    min-width: 0;
    height: auto;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    font-size: clamp(18px, 5.2vw, 22px);
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
}

.vmic-amount-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: rgba(217, 170, 89, .1);
    color: var(--color-gold-light);
    font: inherit;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

.vmic-amount-step:first-child {
    border-right: 1px solid var(--color-border);
}

.vmic-amount-step:last-child {
    border-left: 1px solid var(--color-border);
}

.vmic-amount-step:disabled,
.vmic-checkout-agreement input:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.vmic-checkout-amount-field.is-invalid .vmic-amount-control {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(255, 91, 91, .14);
}

.vmic-checkout-password-field {
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-raised);
    box-shadow: var(--shadow-card);
}

.vmic-checkout-agreement {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--color-text-primary);
    font-size: clamp(13px, 3.7vw, 15px);
    font-weight: 750;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.vmic-checkout-agreement input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--color-gold-primary);
}

.vmic-checkout-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.vmic-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 0 var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: rgba(217, 170, 89, .08);
    color: var(--color-gold-light);
    font: inherit;
    font-size: clamp(12px, 3.6vw, 14px);
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.vmic-link-button:focus-visible,
.vmic-amount-step:focus-visible,
.vmic-checkout-agreement input:focus-visible {
    outline: 0;
    box-shadow: var(--shadow-focus);
}

.vmic-checkout-action-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 100;
    width: min(100%, var(--content-max-width));
    transform: translateX(-50%);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(5, 7, 9, 0), var(--color-bg-primary) 30%);
}

.vmic-checkout-action-bar .vmic-button-ds {
    width: 100%;
    min-width: 0;
    min-height: 54px;
}

.vmic-checkout-sheet-copy {
    color: var(--color-text-secondary);
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

@media (max-width: 360px) {
    .vmic-invest-card__metrics,
    .vmic-invest-summary-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .vmic-invest-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .vmic-invest-card__footer .vmic-button-ds {
        width: 100%;
    }

    .vmic-detail-list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-1);
    }

    .vmic-detail-list dd {
        text-align: left;
    }

    .vmic-agreement-page .vmic-agreement-email-row {
        flex-direction: column;
    }

    .vmic-agreement-page .vmic-agreement-email-row .vmic-button-ds {
        width: 100%;
    }

    .vmic-checkout-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vmic-checkout-links {
        flex-direction: column;
    }

    .vmic-link-button {
        width: 100%;
    }
}
