/* 金币中心页面 */
.coins-container {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 16px;
}

/* 顶部导航 */
.coins-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(10px + var(--safe-top)) 12px 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.coins-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coins-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: center;
}

.coins-record-link {
    font-size: 13px;
    color: #1890ff;
    min-width: 52px;
    text-align: right;
}

/* 余额卡片 */
.balance-card {
    margin: 12px;
    padding: 16px 14px;
    background: linear-gradient(135deg, #ff7a45 0%, #ff4d4f 100%);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 77, 79, 0.22);
}

.balance-label {
    text-align: center;
    font-size: 12px;
    opacity: 0.95;
    margin-bottom: 4px;
}

.balance-value {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2px;
}

.balance-sub {
    text-align: center;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 12px;
}

/* 提现统计 */
.withdraw-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 12px;
}

.withdraw-stat-item {
    text-align: center;
    flex: 1;
}

.withdraw-stat-label {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.withdraw-stat-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* 提现金额 */
.withdraw-section {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
}

.withdraw-section-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.withdraw-input-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.withdraw-input {
    display: flex;
    align-items: center;
    flex: 1;
    font-size: 20px;
    color: #333;
}

.withdraw-input span {
    color: #ff4d4f;
    margin-right: 4px;
    font-weight: 600;
}

.withdraw-input input {
    border: none;
    outline: none;
    font-size: 20px;
    width: 150px;
    color: #333;
    background: transparent;
}

.withdraw-input input::placeholder {
    color: #ccc;
    font-size: 14px;
}

.withdraw-all-btn {
    font-size: 12px;
    color: #ff4d4f;
    border: 1px solid #ff4d4f;
    padding: 4px 8px;
    border-radius: 16px;
    background: transparent;
    white-space: nowrap;
}

.withdraw-submit-btn {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    color: #ff4d4f;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* 任务区域 */
.task-section {
    margin: 0 12px 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a45 0%, #ff4d4f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.task-icon svg {
    color: #fff;
}

.task-info {
    flex: 1;
}

.task-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.task-desc {
    font-size: 11px;
    color: #999;
}

.task-btn {
    font-size: 12px;
    color: #fff;
    background: #1890ff;
    padding: 5px 12px;
    border-radius: 14px;
    border: none;
    white-space: nowrap;
    text-decoration: none;
}

/* 提现说明 */
.tips-section {
    margin: 0 12px 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
}

.tips-list {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
    padding-left: 16px;
}

.tips-list li {
    margin-bottom: 2px;
}

/* 客服二维码 */
.qr-section {
    margin: 0 12px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.qr-code {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 悬浮按钮 */
.floating-home {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.35);
    z-index: 9999;
    cursor: pointer;
    user-select: none;
    touch-action: none;
    color: #fff;
}

.floating-home svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    margin-bottom: 1px;
}

.floating-home-text {
    font-size: 9px;
    color: #fff;
}
