/* ==========================================================================
   Fundverse — dark theme
   Loaded after styles.css on every user page and overrides it.
   Near-black surfaces, one lime accent, monospace figures. No gradients.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
    --fv-bg: #0b0d10;
    --fv-surface: #12151a;
    --fv-surface-2: #1a1e24;
    --fv-surface-3: #22272e;
    --fv-border: #232830;
    --fv-border-strong: #313842;
    --fv-text: #e8eaed;
    --fv-muted: #8a919c;
    --fv-faint: #5c636e;
    --fv-accent: #c5f82a;
    --fv-accent-hover: #b4e61c;
    --fv-on-accent: #0b0d10;
    --fv-accent-soft: rgba(197, 248, 42, 0.1);
    --fv-up: #c5f82a;
    --fv-down: #ff5c5c;
    --fv-down-soft: rgba(255, 92, 92, 0.1);
    --fv-radius: 14px;
    --fv-radius-sm: 10px;
    --fv-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --fv-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Template tokens */
    --primary: var(--fv-accent);
    --interactive: var(--fv-accent);
    --menuBlue: var(--fv-surface);
    --surface: var(--fv-bg);
    --menuDark: var(--fv-surface);
    --line: var(--fv-border-strong);
    --secondary: var(--fv-muted);
    --secondary2: var(--fv-border);
    --secondary-white: var(--fv-muted);
    --white: var(--fv-text);
    --black: var(--fv-text);
    --red: var(--fv-down);
    --critical: var(--fv-down);
    --backdrop: rgba(0, 0, 0, 0.7);
    --shadow1: none;
    color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
html,
body {
    background-color: var(--fv-bg) !important;
}

body,
input,
select,
textarea,
button {
    font-family: var(--fv-sans) !important;
}

body {
    color: var(--fv-text);
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--fv-text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 30px; line-height: 38px; }
h2 { font-size: 24px; line-height: 32px; }
h3 { font-size: 20px; line-height: 28px; }
h4 { font-size: 17px; line-height: 24px; }
h5 { font-size: 15px; line-height: 22px; }
h6 { font-size: 13px; line-height: 18px; }

p {
    color: inherit;
}

a {
    color: inherit;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

a:hover {
    color: var(--fv-text);
}

::selection {
    background: var(--fv-accent);
    color: var(--fv-on-accent);
}

.mono,
.tabular {
    font-family: var(--fv-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.text-white,
.text-black,
.text-dark,
.text-light {
    color: var(--fv-text) !important;
}

.text-secondary,
.text-muted,
.dom-text {
    color: var(--fv-muted) !important;
}

.text-primary,
.text-success {
    color: var(--fv-accent) !important;
}

.text-red,
.text-danger {
    color: var(--fv-down) !important;
}

.bg-white {
    background-color: var(--fv-surface) !important;
}

/* ==========================================================================
   Surfaces
   ========================================================================== */
.bg-menuDark,
.bg-surface {
    background-color: transparent !important;
    box-shadow: none !important;
}

.accent-box,
.accent-box-v2,
.accent-box-v3,
.accent-box-v4,
.accent-box-v6,
.trade-box .accent-box,
.box-detail-chart {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius);
    box-shadow: none !important;
}

.line-border {
    border: 1px solid var(--fv-border) !important;
    border-radius: var(--fv-radius-sm) !important;
    background-color: var(--fv-surface);
}

hr,
.new-hr {
    border: 0;
    border-top: 1px solid var(--fv-border);
    background: none !important;
    opacity: 1;
}

.shadow,
.shadow-md,
.shadow-sm {
    box-shadow: none !important;
}

/* ==========================================================================
   Headers
   ========================================================================== */
.header,
.header-style2 {
    background-color: rgba(11, 13, 16, 0.92) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fv-border);
    box-shadow: none !important;
    max-width: none;
}

.header {
    height: 56px;
    justify-content: flex-start !important;
    padding-left: 60px;
}

.header .left,
.header .right {
    height: 56px;
}

.header .left a,
.header .left i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--fv-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fv-text);
    font-size: 14px;
}

.header h3,
.header-style2 h3 {
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
}

.header-style2 {
    padding: 12px 16px;
}

.box-account {
    gap: 10px;
}

.box-account .avt {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--fv-surface-2);
}

.box-account .info p {
    color: var(--fv-muted) !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.box-account .info h5 {
    font-size: 15px;
    margin-top: 2px !important;
}

/* Page offset below fixed header, and room above the floating nav */
.pt-45,
.pt-55,
.pt-68 {
    padding-top: 72px !important;
}

.pb-80,
.pb-90,
.pb-120 {
    padding-bottom: 112px !important;
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type=text],
input[type=password],
input[type=number],
input[type=email],
input[type=tel],
input[type=url],
input[type=search],
input[type=date],
textarea,
select,
.tf-select,
.form-control,
.form-select {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border-strong) !important;
    border-radius: var(--fv-radius-sm) !important;
    color: var(--fv-text) !important;
    font-size: 15px;
    line-height: 22px;
    padding: 13px 14px;
    box-shadow: none !important;
    transition: border-color .15s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--fv-faint) !important;
}

input:focus,
textarea:focus,
select:focus,
.tf-select:focus,
.form-control:focus {
    border-color: var(--fv-accent) !important;
    outline: none;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 40px var(--fv-surface) inset !important;
    -webkit-text-fill-color: var(--fv-text) !important;
}

input[type=checkbox] {
    accent-color: var(--fv-accent);
}

label,
.label-ip p,
.box-input-field > p {
    color: var(--fv-muted) !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.label-ip:focus-within {
    color: inherit;
}

.show-pass i,
.box-input-field .icon-close {
    color: var(--fv-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.tf-btn {
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    border-radius: var(--fv-radius-sm);
    border: 1px solid transparent;
    letter-spacing: -0.01em;
}

.tf-btn.lg {
    padding: 14px 24px;
}

.tf-btn.primary,
button.tf-btn.primary {
    background-color: var(--fv-accent) !important;
    color: var(--fv-on-accent) !important;
}

.tf-btn.primary:hover,
.tf-btn.primary:focus {
    background-color: var(--fv-accent-hover) !important;
    color: var(--fv-on-accent) !important;
}

.tf-btn.secondary,
.tf-btn.line,
.tf-btn.dark {
    background-color: transparent !important;
    border-color: var(--fv-border-strong) !important;
    color: var(--fv-text) !important;
}

.tf-btn.secondary:hover,
.tf-btn.line:hover,
.tf-btn.dark:hover {
    background-color: var(--fv-surface-2) !important;
}

.btn-sm,
.btn-primary,
.btn-success {
    background-color: var(--fv-surface-2) !important;
    border: 1px solid var(--fv-border-strong) !important;
    color: var(--fv-text) !important;
    border-radius: 8px !important;
    font-weight: 600;
    box-shadow: none !important;
}

/* Template styles every bare <button> as a primary button */
button,
input[type=button],
input[type=submit] {
    background-color: var(--fv-accent);
    border-color: var(--fv-accent);
    color: var(--fv-on-accent);
    font-weight: 700;
}

button:hover,
input[type=button]:hover,
input[type=submit]:hover {
    background-color: var(--fv-accent-hover);
    border-color: var(--fv-accent-hover);
    color: var(--fv-on-accent);
}

button.fv-row,
button.fv-row:hover {
    width: 100%;
    padding: 15px 16px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--fv-text);
    font-size: 14px;
    font-weight: 600;
    justify-content: flex-start;
    display: flex;
}

button.fv-row:hover {
    background-color: var(--fv-surface-2);
}

.fv-list > .fv-row + button.fv-row,
.fv-list > button.fv-row + .fv-row {
    border-top: 1px solid var(--fv-border);
}

button.fv-copy {
    width: auto;
    flex: none;
    padding: 7px 14px;
    font-size: 12px;
    line-height: 16px;
    border-radius: 8px;
    background-color: var(--fv-surface-2);
    border: 1px solid var(--fv-border-strong);
    color: var(--fv-text);
}

button.fv-copy:hover {
    background-color: var(--fv-surface-2);
    border-color: var(--fv-accent);
    color: var(--fv-accent);
}

/* ==========================================================================
   Amount chips and selectors
   ========================================================================== */
.tag-money,
.tag-money2 {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border) !important;
    border-radius: var(--fv-radius-sm);
    box-shadow: none !important;
    color: var(--fv-text);
    font-family: var(--fv-mono);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 6px;
}

.tag-money:hover,
.tag-money2:hover {
    border-color: var(--fv-border-strong) !important;
}

.tag-money.active,
.tag-money2.active {
    border-color: var(--fv-accent) !important;
    background-color: var(--fv-accent-soft) !important;
    color: var(--fv-accent) !important;
}

ul li .method-option,
.accent-box-v5 {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border) !important;
    border-radius: var(--fv-radius-sm) !important;
    box-shadow: none !important;
    color: var(--fv-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 8px;
}

ul li .method-option.active,
.accent-box-v5.active,
.active-border {
    border-color: var(--fv-accent) !important;
    background-color: var(--fv-accent-soft) !important;
    color: var(--fv-accent) !important;
}

/* ==========================================================================
   Tabs
   ========================================================================== */
.tab-slide,
.tab-slide.trade-tab,
.tab-slide.style-2 {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border);
    border-radius: 12px;
    padding: 4px;
}

.tab-slide .item-slide-effect {
    display: none;
}

.wallet-tabs .nav-link,
.nav-tabs .nav-link {
    color: var(--fv-muted) !important;
    font-weight: 600;
    font-size: 14px;
    border: 0 !important;
    background: none;
}

.tab-slide .nav-link {
    border-radius: 9px !important;
}

.tab-slide .nav-link.active,
.tab-slide.trade-tab .nav-link.active {
    background-color: var(--fv-surface-3) !important;
    color: var(--fv-text) !important;
}

/* Underline tabs (trade page) */
.tf-tab .nav-tabs:not(.wallet-tabs) {
    border-bottom: 1px solid var(--fv-border) !important;
}

.tf-tab .nav-tabs:not(.wallet-tabs) .nav-link.active {
    color: var(--fv-text) !important;
    box-shadow: inset 0 -2px 0 var(--fv-accent);
}

/* ==========================================================================
   Lists, tables, modals
   ========================================================================== */
.coin-item.style-1,
.coin-item.style-2 {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius);
    box-shadow: none !important;
    padding: 14px 16px;
}

.coin-item .title p {
    color: var(--fv-text);
    font-weight: 600;
}

.coin-item .box-price p:first-child {
    font-family: var(--fv-mono);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--fv-text);
    color: var(--fv-text) !important;
    font-size: 13px;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    border-color: var(--fv-border) !important;
    background-color: transparent !important;
    color: var(--fv-text);
    padding: 11px 8px;
}

.table th {
    color: var(--fv-muted) !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.table td {
    font-family: var(--fv-mono);
    font-size: 12px;
}

.table-bordered > :not(caption) > * > * {
    border-width: 0 0 1px !important;
}

.modal-content {
    background-color: var(--fv-surface) !important;
    border: 1px solid var(--fv-border) !important;
    border-radius: 18px;
    color: var(--fv-text);
}

.modal.modalRight .modal-content,
.modal.modalRight .modal-dialog {
    background-color: var(--fv-bg) !important;
    border-radius: 0;
    border: 0 !important;
}

.action-sheet .modal-content {
    border-radius: 18px 18px 0 0;
}

.modal-header {
    border-bottom: 1px solid var(--fv-border) !important;
    color: var(--fv-text);
    font-weight: 700;
}

.modal-backdrop.show {
    opacity: 0.7;
}

.item-check {
    color: var(--fv-text);
}

.withdrawal-alert {
    background-color: var(--fv-down-soft) !important;
    border: 1px solid rgba(255, 92, 92, 0.3) !important;
    border-radius: var(--fv-radius-sm) !important;
    color: var(--fv-text) !important;
}

.withdrawal-alert strong {
    color: var(--fv-down) !important;
}

.withdrawal-alert p {
    color: var(--fv-muted) !important;
}

/* ==========================================================================
   Bottom navigation (floating) and fixed submit bar
   ========================================================================== */
.menubar-footer.footer-fixed {
    background-color: transparent !important;
    border: 0;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom));
    pointer-events: none;
}

.menubar-footer.footer-fixed > * {
    pointer-events: auto;
}

.menubar-footer ul.inner-bar {
    background-color: rgba(18, 21, 26, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--fv-border-strong);
    border-radius: 20px;
    padding: 6px;
    max-width: 480px;
}

.menubar-footer ul.inner-bar li {
    flex: 1 1 0;
    width: auto;
}

.menubar-footer ul.inner-bar li a {
    color: var(--fv-faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 12px;
    gap: 3px;
    padding: 8px 0 7px;
    border-radius: 14px;
}

.menubar-footer ul.inner-bar li a svg {
    fill: currentColor !important;
    width: 20px;
    height: 20px;
}

.menubar-footer ul.inner-bar li.active a {
    color: var(--fv-accent);
    background-color: var(--fv-accent-soft);
}

.menubar-footer .wrap,
.menubar-footer ul.inner-bar li.active a .wrap {
    background: none !important;
    width: 22px;
    height: 22px;
    padding: 0;
}

/* Single-button bar used by the form pages */
.menubar-footer.footer-fixed div.inner-bar {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.menubar-footer.footer-fixed div.inner-bar .tf-btn {
    box-shadow: 0 0 0 12px var(--fv-bg);
}

/* ==========================================================================
   Components used by the redesigned pages
   ========================================================================== */

/* Hero balance */
.fv-hero {
    padding: 8px 0 4px;
}

.fv-label {
    color: var(--fv-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.fv-amount,
.fv-amount a {
    color: var(--fv-text) !important;
    font-family: var(--fv-mono);
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.fv-amount .fv-currency {
    color: var(--fv-faint);
    font-weight: 400;
    margin-right: 2px;
}

.fv-figures {
    display: flex;
    gap: 28px;
    margin-top: 14px;
}

.fv-figures span {
    display: block;
    color: var(--fv-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fv-figures strong {
    font-family: var(--fv-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--fv-text);
}

/* Primary action pair */
.fv-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.fv-actions .tf-btn {
    padding: 13px 12px;
}

/* Section label */
.fv-section {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 28px 0 10px;
}

.fv-section h6 {
    color: var(--fv-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.fv-section a {
    color: var(--fv-accent);
    font-size: 12px;
    font-weight: 600;
}

/* Row list */
.fv-list {
    background-color: var(--fv-surface);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius);
    overflow: hidden;
}

.fv-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px 16px;
    color: var(--fv-text);
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: 0;
    text-align: left;
}

.fv-row + .fv-row {
    border-top: 1px solid var(--fv-border);
}

a.fv-row:hover,
button.fv-row:hover {
    background-color: var(--fv-surface-2);
    color: var(--fv-text);
}

.fv-row-icon {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background-color: var(--fv-surface-2);
    border: 1px solid var(--fv-border);
    color: var(--fv-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-row-icon svg {
    width: 18px;
    height: 18px;
}

.fv-row-body {
    flex: 1 1 auto;
    min-width: 0;
}

.fv-row-body small {
    display: block;
    color: var(--fv-muted);
    font-size: 12px;
    font-weight: 500;
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fv-row-value {
    color: var(--fv-muted);
    font-family: var(--fv-mono);
    font-size: 13px;
    font-weight: 400;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fv-row-arrow {
    color: var(--fv-faint);
    flex: none;
    display: flex;
}

.fv-row.is-danger,
.fv-row.is-danger:hover {
    color: var(--fv-down);
}

.fv-row.is-danger .fv-row-icon {
    color: var(--fv-down);
    background-color: var(--fv-down-soft);
    border-color: rgba(255, 92, 92, 0.2);
}

.fv-copy {
    flex: none;
    background: var(--fv-surface-2);
    border: 1px solid var(--fv-border-strong);
    color: var(--fv-text);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
}

.fv-copy:hover {
    border-color: var(--fv-accent);
    color: var(--fv-accent);
}

/* Markets */
.fv-market {
    display: grid;
    grid-template-columns: 32px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
}

.fv-market + .fv-market {
    border-top: 1px solid var(--fv-border);
}

.fv-market img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.fv-market .sym {
    font-weight: 700;
    font-size: 14px;
}

.fv-market .name {
    color: var(--fv-muted);
    font-size: 12px;
    display: block;
}

.fv-market .price {
    font-family: var(--fv-mono);
    font-size: 13px;
    text-align: right;
}

.fv-market .chg {
    font-family: var(--fv-mono);
    font-size: 12px;
    font-weight: 500;
    min-width: 64px;
    text-align: center;
    padding: 4px 6px;
    border-radius: 6px;
}

.fv-market .chg.up {
    color: var(--fv-up);
    background-color: var(--fv-accent-soft);
}

.fv-market .chg.down {
    color: var(--fv-down);
    background-color: var(--fv-down-soft);
}

.fv-empty {
    color: var(--fv-muted);
    font-size: 13px;
    padding: 18px 16px;
    text-align: center;
}

/* Code block (referral code) */
.fv-code {
    font-family: var(--fv-mono);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--fv-accent);
}

/* Auth pages */
.fv-auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.fv-auth-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.fv-auth-brand span {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.02em;
}

/* Hide the old quick-action row and third-party widget if present */
.new-list,
gecko-coin-list-widget {
    display: none !important;
}

/* Checkbox rows keep normal case */
label:has(input[type=checkbox]),
label:has(input[type=checkbox]) * {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 13px;
}

/* Placeholder coin discs on the swap page */
.trade-box .img,
.coin-item .img:not([src]) {
    background-color: var(--fv-surface-3) !important;
}

/* Order cards (trade page history) */
.fv-order {
    background-color: var(--fv-surface);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.fv-order-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 12px;
}

.fv-order-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex: none;
}

.fv-order-title {
    flex: 1 1 auto;
    min-width: 0;
}

.fv-order-pair {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fv-text);
    font-size: 15px;
    font-weight: 700;
}

.fv-order-side {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 4px;
}

.fv-order-side.is-buy {
    color: var(--fv-up);
    background-color: var(--fv-accent-soft);
}

.fv-order-side.is-sell {
    color: var(--fv-down);
    background-color: var(--fv-down-soft);
}

.fv-order-type {
    display: block;
    color: var(--fv-muted);
    font-size: 12px;
    margin-top: 2px;
}

.fv-order-result {
    text-align: right;
    flex: none;
}

.fv-order-result strong {
    display: block;
    font-family: var(--fv-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--fv-text);
}

.fv-order-result strong.is-won {
    color: var(--fv-up);
}

.fv-order-result strong.is-lost {
    color: var(--fv-down);
}

.fv-order-result span {
    color: var(--fv-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fv-order-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    border-top: 1px solid var(--fv-border);
}

.fv-order-stats > div {
    padding: 10px 16px;
}

.fv-order-stats > div + div {
    border-left: 1px solid var(--fv-border);
}

.fv-order-stats dt {
    color: var(--fv-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.fv-order-stats dd {
    color: var(--fv-text);
    font-family: var(--fv-mono);
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fv-order-time {
    border-top: 1px solid var(--fv-border);
    background-color: var(--fv-bg);
    color: var(--fv-muted);
    font-family: var(--fv-mono);
    font-size: 11px;
    padding: 8px 16px;
}

.fv-order-time span {
    color: var(--fv-faint);
    margin: 0 4px;
}

/* Open order markers */
.fv-order-pending {
    color: var(--fv-faint) !important;
}

.fv-order-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
    color: var(--fv-accent);
    font-family: var(--fv-sans);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fv-order-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fv-accent);
}

/* Team list (affiliate page) */
.fv-team-tabs.wallet-tabs {
    grid-template-columns: repeat(4, 1fr) !important;
}

.fv-team-tabs .nav-link {
    padding: 8px 4px !important;
    font-size: 13px !important;
}

.fv-team-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--fv-surface);
    border: 1px solid var(--fv-border);
    border-radius: var(--fv-radius);
}

.fv-team-summary > div {
    padding: 12px 14px;
}

.fv-team-summary > div + div {
    border-left: 1px solid var(--fv-border);
}

.fv-team-summary span {
    display: block;
    color: var(--fv-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.fv-team-summary strong {
    font-family: var(--fv-mono);
    font-size: 17px;
    font-weight: 600;
    color: var(--fv-text);
}

.fv-team-summary strong.is-accent {
    color: var(--fv-accent);
}

.fv-team-note {
    color: var(--fv-muted);
    font-size: 12px;
    line-height: 18px;
    margin: 10px 2px 12px;
}

.fv-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
}

.fv-member + .fv-member {
    border-top: 1px solid var(--fv-border);
}

.fv-member-avatar {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background-color: var(--fv-surface-2);
    border: 1px solid var(--fv-border);
    color: var(--fv-text);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-member-body {
    flex: 1 1 auto;
    min-width: 0;
}

.fv-member-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fv-text);
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
}

.fv-member-body small {
    display: block;
    color: var(--fv-muted);
    font-size: 12px;
    margin-top: 1px;
}

.fv-member-status {
    flex: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--fv-muted);
    background-color: var(--fv-surface-2);
}

.fv-member-status.is-active {
    color: var(--fv-accent);
    background-color: var(--fv-accent-soft);
}

.fv-member-earned {
    flex: none;
    font-family: var(--fv-mono);
    font-size: 13px;
    color: var(--fv-muted);
}

.fv-member-earned.is-positive {
    color: var(--fv-accent);
}

.fv-team-empty {
    padding: 28px 20px;
    text-align: center;
}

.fv-team-empty strong {
    display: block;
    color: var(--fv-text);
    font-size: 14px;
    font-weight: 700;
}

.fv-team-empty span {
    display: block;
    color: var(--fv-muted);
    font-size: 12px;
    margin-top: 4px;
}
