/**
 * 背包 / 消费明细 / 充值钻石 — 与商城/寄售统一的活动页风格
 */

.acct-page .page-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 24px;
}

.acct-page .act-page-header h1 {
    font-size: 1.45rem;
    background: linear-gradient(90deg, #7ee787, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.acct-section {
    padding: 0 12px;
}

.acct-page .acct-panel.panel-box {
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    background: rgba(12, 18, 32, 0.82);
    backdrop-filter: blur(18px);
    border-radius: var(--act-radius, 14px);
    overflow: hidden;
}

.acct-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--act-border);
}

.acct-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #7ee787;
}

.acct-panel-head .acct-panel-meta {
    font-size: 12px;
    color: var(--act-muted);
}

.acct-panel-body {
    padding: 12px 14px 16px;
}

.acct-tabs {
    justify-content: center;
    padding: 0 14px 12px;
    margin: 0;
    border-bottom: 1px solid var(--act-border);
    background: rgba(0, 0, 0, 0.2);
}

.acct-btn-outline {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(126, 231, 135, 0.45);
    background: rgba(126, 231, 135, 0.1);
    color: #7ee787;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.acct-btn-outline:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.acct-btn-outline:not(:disabled):active {
    background: rgba(126, 231, 135, 0.2);
}

.acct-empty,
.acct-loading {
    text-align: center;
    padding: 40px 16px;
    color: var(--act-muted);
    font-size: 14px;
}

.acct-loading .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(126, 231, 135, 0.2);
    border-top-color: #7ee787;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: acctSpin 0.8s linear infinite;
}

@keyframes acctSpin {
    to { transform: rotate(360deg); }
}

/* 背包列表 */
.acct-bag-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acct-bag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 1px solid rgba(126, 231, 135, 0.18);
}

.acct-bag-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
}

.acct-bag-info {
    flex: 1;
    min-width: 0;
}

.acct-bag-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--act-text);
    line-height: 1.35;
    word-break: break-word;
}

.acct-bag-qty {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffd700;
    min-width: 36px;
    text-align: right;
}

.acct-bag-btn {
    flex-shrink: 0;
    min-height: 36px;
    padding: 0 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #2ecc71, #7ee787);
    color: #0f1419;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.acct-bag-btn:active {
    opacity: 0.9;
    transform: scale(0.97);
}

/* 消费明细 */
.acct-log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acct-log-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--act-border);
}

.acct-log-main {
    flex: 1;
    min-width: 0;
}

.acct-log-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.acct-log-type.coupon {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.acct-log-type.token {
    background: rgba(0, 217, 255, 0.12);
    color: #00d9ff;
    border: 1px solid rgba(0, 217, 255, 0.28);
}

.acct-log-mark {
    display: block;
    font-size: 14px;
    color: var(--act-text);
    line-height: 1.4;
    word-break: break-word;
}

.acct-log-side {
    flex-shrink: 0;
    text-align: right;
}

.acct-log-money {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 4px;
}

.acct-log-time {
    font-size: 11px;
    color: var(--act-muted);
}

.acct-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 4px;
    flex-wrap: wrap;
}

.acct-pagination button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(126, 231, 135, 0.35);
    background: rgba(126, 231, 135, 0.1);
    color: #7ee787;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.acct-pagination span {
    font-size: 13px;
    color: var(--act-muted);
}

/* 充值 */
.acct-role-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(126, 231, 135, 0.12), rgba(0, 217, 255, 0.08));
    border: 1px solid rgba(126, 231, 135, 0.25);
}

.acct-role-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.acct-role-info {
    flex: 1;
    min-width: 0;
}

.acct-role-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--act-text);
    margin-bottom: 4px;
}

.acct-role-server {
    font-size: 12px;
    color: var(--act-muted);
}

.acct-form-label {
    display: block;
    font-size: 13px;
    color: var(--act-muted);
    margin-bottom: 8px;
}

.acct-form-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid var(--act-border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--act-text);
    font-size: 18px;
    font-weight: 600;
}

.acct-form-input:focus {
    outline: none;
    border-color: rgba(126, 231, 135, 0.5);
}

.acct-recharge-preview {
    margin: 16px 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--act-border);
}

.acct-recharge-preview p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--act-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.acct-recharge-preview p:last-child {
    margin-bottom: 0;
}

.acct-recharge-preview strong,
.acct-recharge-preview .acct-diamond {
    color: #7ee787;
    font-weight: 700;
}

.acct-recharge-preview .acct-diamond {
    font-size: 1.25rem;
}

.acct-page .act-btn-primary.acct-btn-submit {
    background: linear-gradient(90deg, #2ecc71, #7ee787);
    color: #0f1419;
    box-shadow: 0 4px 16px rgba(126, 231, 135, 0.35);
}

.acct-tips {
    margin-top: 12px;
}

.acct-modal-open {
    overflow: hidden;
}

.acct-receive-sheet {
    border-top: 2px solid rgba(126, 231, 135, 0.45);
}

.acct-receive-name {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--act-text);
}

.acct-receive-stock {
    text-align: center;
    font-size: 13px;
    color: var(--act-muted);
    margin: 0 0 16px;
}

.acct-receive-stock strong {
    color: #ffd700;
}

.acct-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.acct-qty-row .qty-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--act-border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--act-text);
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.acct-qty-row .qty-btn.max-btn {
    width: auto;
    padding: 0 12px;
    font-size: 13px;
}

.acct-qty-row input {
    flex: 1;
    min-height: 44px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--act-border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--act-text);
}
