/* 账单库 · 影擎没有独立页,按商品库/团队中心的页头、深色指标卡、data-panel 风格排。不改共享 .btn/.pill/.input */ .account-page { --klein: #002fa7; --klein-hover: #002680; --st-muted: #6f747c; --st-text: #17181a; --st-black: #101012; --st-line: rgba(34, 42, 54, 0.10); --st-wash: rgba(34, 42, 54, 0.045); --st-shadow: 0 8px 20px rgba(20, 27, 38, 0.09); width: 100%; max-width: none; box-sizing: border-box; margin: -24px -28px -60px; padding: 52px clamp(40px, 3.2vw, 68px) 48px; .ac-inner { width: min(1560px, 100%); margin: 0 auto; } .ac-head { min-height: 76px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 34px; } .ac-head h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--accent-black); } .ac-head p { margin: 0; color: var(--st-muted); font-size: 15px; } .ac-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(430px, 0.9fr); gap: 20px; margin-bottom: 28px; align-items: stretch; } @media (max-width: 1120px) { .ac-top { grid-template-columns: 1fr; } } .ac-hero { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 14px; color: #fff; background: #202124; box-shadow: 0 14px 30px rgba(16, 16, 18, 0.18); } .ac-hero > span, .ac-hero-stats span, .ac-progress-meta { color: rgba(255, 255, 255, 0.58); font-size: 12px; } .ac-hero > strong { display: block; margin: 8px 0 6px; font-size: 38px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; } .ac-hero > em { font-style: normal; color: rgba(255, 255, 255, 0.46); font-size: 12px; } .ac-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 22px 0 18px; } .ac-hero-stats strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; } .ac-progress { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.15); } .ac-progress > span { display: block; min-width: 7px; height: 100%; background: var(--klein); } .ac-progress-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; } .ac-recharge { padding: 22px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-wash); box-shadow: var(--st-shadow); display: flex; flex-direction: column; } .ac-recharge h2 { margin: 0 0 5px; font-size: 18px; font-weight: 600; color: var(--st-text); } .ac-recharge > p { margin: 0 0 18px; color: var(--st-muted); font-size: 12px; } .ac-recharge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .ac-option { min-height: 66px; padding: 10px; border: 1px solid rgba(34, 42, 54, 0.10); border-radius: 10px; background: rgba(34, 42, 54, 0.035); cursor: pointer; text-align: center; position: relative; } .ac-option:hover { background: rgba(34, 42, 54, 0.06); } .ac-option.active { border-color: var(--klein); background: rgba(0, 47, 167, 0.08); } .ac-option strong, .ac-option span { display: block; } .ac-option strong { font-size: 16px; font-weight: 600; color: var(--st-text); font-variant-numeric: tabular-nums; } .ac-option span { margin-top: 4px; color: #16a34a; font-size: 10px; } .ac-option span.plain { color: var(--st-muted); } .ac-option .ribbon { position: absolute; top: 6px; left: 7px; font-size: 9px; padding: 1px 5px; background: var(--klein); color: #fff; font-weight: 600; border-radius: 4px; } .ac-pay-title { margin: 16px 0 8px; font-size: 12px; font-weight: 600; color: var(--st-text); } .ac-recharge .input { width: 100%; height: 42px; margin: 0; padding: 0 13px; border: 1px solid rgba(34, 42, 54, 0.11); border-radius: 10px; background: #fff; } .ac-pay-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; } .ac-pay { height: 42px; border: 1px solid rgba(28, 34, 43, 0.12); border-radius: 11px; background: #fff; color: var(--st-text); display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: inherit; font-size: 14px; cursor: pointer; } .ac-pay:hover { background: rgba(34, 42, 54, 0.05); } .ac-pay .pay-logo { width: 18px; height: 18px; border-radius: 6px; overflow: hidden; flex: 0 0 18px; } .ac-pay .pay-logo img { width: 100%; height: 100%; display: block; object-fit: cover; } .ac-tip { margin-top: 14px; font-size: 12px; color: var(--st-muted); line-height: 1.65; } .ac-tip strong { color: var(--st-text); font-weight: 600; } @media (max-width: 720px) { .ac-recharge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .pane { background: var(--st-wash); border: 1px solid var(--st-line); border-radius: 14px; padding: 20px; margin-bottom: 16px; box-shadow: var(--st-shadow); } .pane h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--st-text); } .pane .desc { font-size: 12px; color: var(--st-muted); margin-bottom: 14px; } .billing-tabs { display: flex; align-items: center; gap: 8px; border-bottom: 0; margin: 0 0 18px; padding: 0; overflow-x: auto; scrollbar-width: none; } .billing-tabs::-webkit-scrollbar { display: none; } .ac-tab { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 6px; height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: #50555d; cursor: pointer; letter-spacing: 0; user-select: none; } .ac-tab:hover { color: var(--st-text); background: rgba(34, 42, 54, 0.06); } .ac-tab:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(0, 47, 167, 0.28); } .ac-tab.active { color: #fff; background: var(--st-black); font-weight: 500; } .ac-tab .count { font-family: var(--font-mono); font-size: 10.5px; color: inherit; opacity: .72; padding: 1px 7px; background: rgba(34, 42, 54, 0.08); border-radius: 7px; letter-spacing: .04em; } .ac-tab.active .count { background: rgba(255, 255, 255, 0.14); color: #fff; opacity: 1; } .tab-panel { display: none; } .tab-panel.active { display: block; } .overview-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: stretch; } @media (max-width: 980px) { .overview-grid { grid-template-columns: 1fr; } } .trend-pane { padding: 0; display: flex; flex-direction: column; overflow: hidden; } .trend-head { min-height: 64px; display: flex; align-items: center; gap: 8px; padding: 0 20px; margin-bottom: 0; border-bottom: 1px solid rgba(34, 42, 54, 0.08); } .trend-head h3 { margin-bottom: 0; font-size: 18px; } .trend-head .sub { font-size: 12px; color: var(--st-muted); } .trend-head .spacer { flex: 1; } .ac-seg { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; color: #50555d; background: transparent; cursor: pointer; font: inherit; font-size: 14px; } .ac-seg:hover { background: rgba(34, 42, 54, 0.10); color: var(--st-text); } .ac-seg.active { color: #fff; background: var(--st-black); } .ac-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 20px 2px; } .ac-summary div { padding: 14px; border-radius: 11px; background: rgba(0, 47, 167, 0.055); } .ac-summary span, .ac-summary strong { display: block; } .ac-summary span { color: var(--st-muted); font-size: 11px; } .ac-summary strong { margin-top: 7px; font-size: 16px; font-weight: 600; color: var(--st-text); } .trend-chart { position: relative; height: 220px; display: flex; align-items: flex-end; gap: 12px; padding: 30px 28px 22px; min-height: 0; } .trend-chart::after { content: ""; position: absolute; right: 28px; bottom: 42px; left: 28px; height: 1px; background: rgba(34, 42, 54, 0.12); } .ac-bar-group { position: relative; z-index: 1; height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 9px; color: var(--st-muted); font-size: 11px; min-width: 0; } .ac-bar { width: min(30px, 70%); min-height: 10px; border-radius: 7px 7px 3px 3px; background: var(--klein); opacity: 0.78; } .ac-bar-value { color: #343a45; font-size: 10px; font-weight: 600; } .ac-bar-group span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .trend-chart-empty { width: 100%; height: 100%; display: grid; place-items: center; color: var(--st-muted); font-size: 13px; } .trend-foot { display: flex; gap: 14px; margin: 0 20px 16px; padding-top: 10px; border-top: 1px solid var(--st-line); font-size: 12px; } .trend-foot .item { display: flex; align-items: baseline; gap: 6px; } .trend-foot .item .k { color: var(--st-muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .02em; } .trend-foot .item .v { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--st-text); } .trend-foot .item .v.warn { color: var(--accent-honey); } .stage-pane .usage-line { display: flex; justify-content: space-between; padding: 4px 0 4px; font-size: 13px; } .stage-pane .usage-line .k { color: var(--st-text); } .stage-pane .usage-line .v { font-variant-numeric: tabular-nums; color: var(--st-text); font-weight: 600; } .stage-pane .usage-bar { height: 4px; background: rgba(34, 42, 54, 0.08); border-radius: 2px; margin: 4px 0 10px; overflow: hidden; } .stage-pane .usage-bar > span { display: block; height: 100%; transition: width .3s ease; } .stage-pane .total { display: flex; justify-content: space-between; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--st-line); font-size: 13px; font-weight: 600; } .stage-pane .total .v { font-variant-numeric: tabular-nums; } .rule-pane .rule-list { font-size: 13px; color: var(--st-muted); line-height: 1.7; } .rule-pane .rule-list strong { color: var(--st-text); font-weight: 600; } .rule-pane .mono-acc { font-family: var(--font-mono); color: var(--klein); background: rgba(0, 47, 167, 0.09); padding: 1px 5px; font-size: 11.5px; border-radius: var(--r-sm); } .quota-rules { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--st-line); } .quota-rules .qr-head { font-family: var(--font-mono); font-size: 10.5px; color: var(--st-muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; } .quota-rules .step { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; margin-bottom: 6px; font-size: 13px; color: var(--st-text); } .quota-rules .step .num { width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 47, 167, 0.09); color: var(--klein); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; display: grid; place-items: center; } .quota-rules .step .formula { font-family: var(--font-mono); font-size: 11.5px; color: var(--klein); background: rgba(0, 47, 167, 0.09); padding: 0 4px; border-radius: var(--r-sm); } .billing-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--st-line); border-radius: 14px; overflow: hidden; box-shadow: var(--st-shadow); } .billing-table th, .billing-table td { padding: 13px 16px; text-align: left; font-size: 13px; border-bottom: 0; } .billing-table thead th { background: var(--st-wash); border-bottom: 1px solid var(--st-line); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--st-muted); letter-spacing: .04em; text-transform: uppercase; } .billing-table tbody tr:hover { background: var(--st-wash); } .billing-table .ts { font-family: var(--font-mono); font-size: 11px; color: var(--st-muted); letter-spacing: .02em; } .billing-table .neg { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--st-text); text-align: right; } .billing-table .pos { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--accent-forest); text-align: right; } .billing-table .zero { font-variant-numeric: tabular-nums; font-weight: 500; color: rgba(28, 34, 43, 0.28); text-align: right; } .billing-table .quota { font-variant-numeric: tabular-nums; text-align: left; } .billing-table .quota .used { font-weight: 500; color: var(--st-text); } .billing-table .quota .lim { color: rgba(28, 34, 43, 0.32); } .billing-table .muted { color: var(--st-muted); font-size: 12px; } .billing-table .sys { font-family: var(--font-mono); font-size: 10.5px; color: rgba(28, 34, 43, 0.32); } .billing-table .ref { color: var(--st-muted); font-size: 10.5px; font-family: var(--font-mono); } .billing-table .who { display: inline-flex; align-items: center; gap: 8px; } .billing-table .who .av { width: 24px; height: 24px; border-radius: 50%; background: var(--st-wash); border: 1px solid var(--st-line); display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--st-text); } .billing-table .role-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 500; } .billing-table .role-pill .dot { width: 5px; height: 5px; border-radius: 50%; } .billing-table .role-super { background: rgba(0, 47, 167, 0.09); color: var(--klein); } .billing-table .role-super .dot { background: var(--klein); } .billing-table .role-admin { background: rgba(22, 184, 78, 0.10); color: #138d3f; } .billing-table .role-admin .dot { background: #138d3f; } .billing-table .role-member { background: var(--st-wash); color: var(--st-muted); } .billing-table .role-member .dot { background: var(--st-muted); } .billing-table .status-tag { font-family: var(--font-mono); font-size: 10px; padding: 1px 6px; border-radius: var(--r-sm); letter-spacing: .04em; } .billing-table .status-tag.ok { background: rgba(66,195,102,.12); color: var(--accent-forest); } .billing-table .status-tag.wip { background: rgba(0, 47, 167, 0.09); color: var(--klein); } .billing-table .status-tag.fail { background: rgba(235,52,36,.10); color: var(--accent-crimson); } .bill-pager { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12px; } .bill-pager .total { font-family: var(--font-mono); font-size: 12px; color: var(--st-muted); letter-spacing: .02em; } .bill-pager .pages { display: inline-flex; gap: 4px; margin-left: auto; } .bill-pager .pages button { min-width: 28px; height: 28px; padding: 0 8px; border: 1px solid var(--st-line); border-radius: var(--r-sm); background: #fff; font-family: var(--font-mono); font-size: 12px; color: var(--st-muted); cursor: pointer; } .bill-pager .pages button:hover:not(.active):not(:disabled) { border-color: rgba(28, 34, 43, 0.22); color: var(--st-text); } .bill-pager .pages button.active { background: var(--st-black); color: #fff; border-color: var(--st-black); font-weight: 600; } .bill-pager .pages button:disabled { opacity: .4; cursor: not-allowed; } .bill-pager .pages .ellipsis { min-width: 20px; height: 28px; display: inline-flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; color: rgba(28, 34, 43, 0.28); font-family: var(--font-mono); font-size: 12px; user-select: none; } .bill-pager .bill-jump { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--st-muted); } .bill-pager .bill-jump input { width: 48px; height: 28px; padding: 0 6px; border: 1px solid var(--st-line); border-radius: var(--r-sm); background: #fff; font-family: var(--font-mono); font-size: 12px; color: var(--st-text); text-align: center; } .bill-pager .bill-jump input:focus { outline: none; border-color: var(--klein); } .bill-pager .bill-jump button { min-width: 40px; height: 28px; padding: 0 10px; border: 1px solid var(--st-line); border-radius: var(--r-sm); background: #fff; font-family: var(--font-mono); font-size: 12px; color: var(--st-muted); cursor: pointer; } .bill-pager .bill-jump button:hover:not(:disabled) { border-color: rgba(28, 34, 43, 0.22); color: var(--st-text); } .bill-pager .bill-jump button:disabled { opacity: .4; cursor: not-allowed; } .billing-table .bill-detail { max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .billing-table .bill-status { white-space: nowrap; } .billing-table .progress-mini { width: 80px; height: 4px; background: rgba(34, 42, 54, 0.08); border-radius: 2px; overflow: hidden; display: inline-block; vertical-align: middle; margin-left: 8px; } .billing-table .progress-mini > span { display: block; height: 100%; background: var(--klein); } .filter-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; } .filter-bar select, .filter-bar input { background: #fff; border: 1px solid var(--st-line); border-radius: 8px; padding: 6px 10px; font-size: 13px; font-family: inherit; color: var(--st-text); } .filter-bar select:hover, .filter-bar input:hover { border-color: rgba(28, 34, 43, 0.18); } .filter-bar select { padding-right: 24px; } .filter-bar .spacer { flex: 1; } .filter-bar .ct { font-family: var(--font-mono); font-size: 11px; color: var(--st-muted); letter-spacing: .02em; } .filter-bar .ct b { color: var(--st-text); font-weight: 600; } .filter-reset { height: 30px; padding: 0 10px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font-family: var(--font-mono); font-size: 11px; color: var(--st-muted); letter-spacing: .02em; cursor: pointer; } .filter-reset:hover { border-color: rgba(28, 34, 43, 0.18); color: var(--st-text); background: var(--st-wash); } .billing-table .proj-name { font-weight: 500; color: var(--st-text); } .topup-modal { width: min(460px, 92vw); } .topup-modal .topup-info { text-align: center; font-size: 13px; color: var(--st-muted); margin-bottom: 4px; } .topup-modal .topup-amt { text-align: center; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--klein); margin-bottom: 6px; line-height: 1.1; } .topup-modal .topup-note { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--st-muted); letter-spacing: .02em; margin-bottom: 14px; } .topup-modal .topup-qr { aspect-ratio: 1; max-width: 200px; margin: 0 auto 12px; background: var(--st-wash); border: 1px solid var(--st-line); border-radius: var(--r-md); display: grid; place-items: center; position: relative; overflow: hidden; } .topup-modal .topup-qr::before { content: ''; position: absolute; inset: 16px; background-image: linear-gradient(45deg, var(--st-black) 25%, transparent 25%), linear-gradient(-45deg, var(--st-black) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--st-black) 75%), linear-gradient(-45deg, transparent 75%, var(--st-black) 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0px; opacity: .12; } .topup-modal .topup-qr .center { position: relative; z-index: 1; background: #fff; padding: 10px 12px; border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 11px; color: var(--st-muted); letter-spacing: .02em; text-align: center; line-height: 1.6; } .topup-modal .topup-qr .ref { color: rgba(28, 34, 43, 0.32); } .topup-modal .topup-valid { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--st-muted); letter-spacing: .02em; } }