/* ============================================================ */
/* 活動中心 — ABSite (TY) 粉色主題                                 */
/* 布局参考 active.html：现有活动 / 每日任务 / 活动记录             */
/* ============================================================ */

.ac-page {
    padding: 16px 16px 48px;
}

.ac-inner {
    max-width: 640px;
    margin: 0 auto;
}

.ac-page-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--sn-primary, #E88CA5);
    letter-spacing: 0.02em;
    text-align: center;
}

/* 通用 section */
.ac-section {
    margin-bottom: 28px;
}

.ac-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--sn-text, #1A1A2E);
    position: relative;
    padding-left: 12px;
}

.ac-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--sn-primary, #E88CA5) 0%, var(--sn-primary-dark, #D4738E) 100%);
}

.ac-empty {
    text-align: center;
    padding: 24px 16px;
    color: var(--sn-text-muted, #9CA3AF);
    font-size: 13px;
    background: var(--sn-gray-bg, #F6F7F8);
    border-radius: var(--sn-radius-sm, 10px);
}

/* ============================================================ */
/* 顶部签到 hero — 连续 7 天循环签到                                */
/* H5: 4 + 3 网格；WEB (>=768px): 7 格平铺                          */
/* ============================================================ */
.ac-hero {
    margin: 0 0 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFF4E6 0%, #FFE9D2 100%);
    padding: 18px 16px 18px;
    box-shadow: 0 8px 28px rgba(245, 161, 84, 0.15);
    position: relative;
    overflow: hidden;
}

.ac-hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 200, 130, 0.45) 0%, rgba(255, 200, 130, 0) 70%);
    pointer-events: none;
}

.ac-hero-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}

.ac-hero-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.ac-hero-title {
    min-width: 0;
    flex: 1;
}

.ac-hero-name {
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 800;
    color: #5B3014;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.ac-hero-subtitle {
    margin: 0;
    font-size: 12px;
    color: #9C6B40;
    line-height: 1.3;
}

.ac-hero-streak {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF8C5A 0%, #F36B3A 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(243, 107, 58, 0.35);
    white-space: nowrap;
}

.ac-hero-streak-icon {
    font-size: 14px;
    line-height: 1;
}

/* ====== 签到 7 格网格 ====== */
.ac-sign-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ac-sign-row {
    display: grid;
    gap: 10px;
}

.ac-sign-row--top {
    grid-template-columns: repeat(4, 1fr);
}

.ac-sign-row--bottom {
    grid-template-columns: 1fr 1fr 2fr;
}

/* 单个签到格 */
.ac-sign-cell {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(245, 161, 84, 0.10);
    border: 1px solid rgba(245, 161, 84, 0.12);
    display: flex;
    flex-direction: column;
}

.ac-sign-cell-top {
    background: linear-gradient(180deg, #FFC58A 0%, #F8A35A 100%);
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 4px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.ac-sign-cell-body {
    flex: 1;
    padding: 5px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #fff;
}

.ac-sign-cell-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ac-sign-cell-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ac-sign-cell-coin {
    width: 22px;
    height: 22px;
}

.ac-sign-cell-vip {
    width: 22px;
    height: 22px;
}

.ac-sign-cell-main {
    font-size: 13px;
    font-weight: 800;
    color: #2A1B0F;
    line-height: 1.1;
    text-align: center;
}

.ac-sign-cell-sub {
    font-size: 11px;
    color: #9C6B40;
    line-height: 1;
}

.ac-sign-cell-day {
    font-size: 11px;
    color: #B59470;
    line-height: 1;
    font-weight: 600;
}

/* 已签到角标 */
.ac-sign-cell-check {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4CAF50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
}

/* 已签到状态：图标置灰 + 数字置灰 */
.ac-sign-cell.is-signed .ac-sign-cell-body {
    background: #F8F8F8;
}

.ac-sign-cell.is-signed .ac-sign-cell-icon img {
    filter: grayscale(50%);
    opacity: 0.55;
}

.ac-sign-cell.is-signed .ac-sign-cell-main {
    color: #9CA3AF;
}

/* 今日要签的格子高亮 */
.ac-sign-cell.is-current {
    border: 2px solid #F36B3A;
    box-shadow: 0 6px 16px rgba(243, 107, 58, 0.35);
    transform: translateY(-2px);
}

/* VIP 格（紫色） */
.ac-sign-cell--vip .ac-sign-cell-top {
    background: linear-gradient(180deg, #B47BFF 0%, #8B4DFF 100%);
}

.ac-sign-cell--vip .ac-sign-cell-main {
    color: #6B33CC;
}

.ac-sign-cell--vip.is-current {
    border-color: #8B4DFF;
    box-shadow: 0 6px 16px rgba(139, 77, 255, 0.35);
}

/* 第 7 天通栏：终极大奖 */
.ac-sign-cell--final.ac-sign-cell--wide {
    background: linear-gradient(135deg, #D5B5FF 0%, #B47BFF 100%);
    border-color: rgba(139, 77, 255, 0.4);
    box-shadow: 0 4px 12px rgba(139, 77, 255, 0.25);
}

.ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-top {
    background: linear-gradient(180deg, #8B4DFF 0%, #6E2FE0 100%);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-body {
    flex-direction: row;
    background: transparent;
    padding: 5px 10px;
    gap: 6px;
    justify-content: center;
}

.ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-icon img {
    width: 100%;
    height: 100%;
}

.ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-main {
    font-size: 13px;
    color: #3D1A6F;
}

.ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-day {
    color: #6E2FE0;
    font-weight: 700;
}

.ac-sign-cell--final.ac-sign-cell--wide.is-signed .ac-sign-cell-body {
    opacity: 0.7;
}

/* ====== 签到按钮区域 ====== */
.ac-sign-action {
    margin-top: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ac-sign-btn {
    display: block;
    width: 100%;
    padding: 14px 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFB46B 0%, #F58A3E 50%, #F36B3A 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(243, 107, 58, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0.05em;
}

.ac-sign-btn:hover:not(.is-disabled):not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(243, 107, 58, 0.45);
}

.ac-sign-btn.is-disabled,
.ac-sign-btn:disabled {
    background: linear-gradient(135deg, #C9C9C9 0%, #A0A0A0 100%);
    color: #fff;
    box-shadow: none;
    cursor: default;
}

.ac-sign-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #9C6B40;
    line-height: 1.4;
}

/* ====== 当前金币（顶部 streak 旁边） ====== */
.ac-sign-coin {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px 6px 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 161, 84, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #F58A3E;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(243, 107, 58, 0.15);
}

.ac-sign-coin img {
    width: 18px;
    height: 18px;
    display: block;
}

/* ============================================================ */
/* 现有活动                                                       */
/* ============================================================ */
.ac-current-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ac-current-card {
    position: relative;
    display: block;
    border-radius: var(--sn-radius, 16px);
    overflow: hidden;
    background: var(--sn-white, #fff);
    border: 1px solid rgba(232, 140, 165, 0.18);
    box-shadow: 0 4px 16px rgba(232, 140, 165, 0.10);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: inherit;
    height: 132px;
}

.ac-current-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(232, 140, 165, 0.20);
}

.ac-current-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: blur(4px) saturate(0.95);
    transform: scale(1.05); /* 配合 blur 防止边缘出现透明缝 */
    transform-origin: center;
}

.ac-current-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 240, 243, 0.82) 40%,
        rgba(255, 240, 243, 0.55) 70%,
        rgba(255, 240, 243, 0.30) 100%);
}

.ac-current-body {
    position: absolute;
    inset: 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.ac-current-badge {
    align-self: flex-start;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 8px;
}

.ac-current-badge--active {
    background: var(--sn-primary, #E88CA5);
}

.ac-current-badge--warn {
    background: #FF5C7A;
    box-shadow: 0 0 0 2px rgba(255, 92, 122, 0.15);
}

.ac-current-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #B8456A;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.6);
}

.ac-current-desc {
    font-size: 13px;
    color: #1A1A2E;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ac-current-time {
    font-size: 11px;
    color: #4A4A5C;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ============================================================ */
/* 每日任务                                                       */
/* ============================================================ */
/* ============================================================ */
/* 每日任务（阶梯进度条卡片）                                       */
/* ============================================================ */
.ac-task-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ac-task-card {
    background: var(--sn-white, #fff);
    border: 1px solid var(--sn-border, #E5E7EB);
    border-radius: 14px;
    padding: 10px 16px 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    transition: box-shadow 0.18s ease;
}

.ac-task-card:hover {
    box-shadow: 0 4px 14px rgba(232, 140, 165, 0.1);
}

.ac-task-card--done {
    opacity: 0.85;
}

/* 头部：图标 + 标题/描述 + 右上计数 */
.ac-task-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.ac-task-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ac-task-card-icon svg { display: block; }

.ac-task-icon--buy     { background: linear-gradient(135deg, #ffb547, #ff8c1a); }
.ac-task-icon--share   { background: linear-gradient(135deg, #6dd97a, #3aaf4d); }
.ac-task-icon--comment { background: linear-gradient(135deg, #7ba6ff, #4e7fe6); }
.ac-task-icon--read    { background: linear-gradient(135deg, #c08bff, #8b5cf6); }
.ac-task-icon--default { background: linear-gradient(135deg, var(--sn-primary, #E88CA5), var(--sn-primary-dark, #D4738E)); }

.ac-task-card-meta {
    flex: 1;
    min-width: 0;
}

.ac-task-card-name {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sn-text, #1A1A2E);
    line-height: 1.25;
}

.ac-task-card-desc {
    margin: 0;
    font-size: 12px;
    color: var(--sn-text-secondary, #6B7280);
    line-height: 1.4;
}

.ac-task-card-count {
    flex-shrink: 0;
    text-align: right;
    line-height: 1.1;
    color: #ff8c1a;
    font-weight: 700;
    white-space: nowrap;
}

.ac-task-card-count-num   { font-size: 20px; }
.ac-task-card-count-total { font-size: 13px; color: var(--sn-text-muted, #9CA3AF); font-weight: 600; }
.ac-task-card-count-unit  { font-size: 11px; color: var(--sn-text-muted, #9CA3AF); font-weight: 600; display: block; margin-top: 2px; }

/* ---- 阶梯进度条 ---- */
.ac-task-stepper {
    position: relative;
    padding: 2px 12px 0;
    margin-bottom: 10px;
}

.ac-task-stepper-track {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 11px;
    height: 4px;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
}

.ac-task-stepper-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffb547 0%, #ff8c1a 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.ac-task-stepper-nodes {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ac-task-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 64px;
    text-align: center;
}

.ac-task-step-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d9d9d9;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.ac-task-step.is-received .ac-task-step-dot {
    background: #ff8c1a;
    border-color: #ff8c1a;
    box-shadow: 0 0 0 2px rgba(255, 140, 26, .12);
}

.ac-task-step.is-ready .ac-task-step-dot {
    background: #ff4d4f;
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, .15);
    animation: ac-task-step-pulse 1.6s ease-in-out infinite;
}

@@keyframes ac-task-step-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 77, 79, .15); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 77, 79, .08); }
}

.ac-task-step.is-current:not(.is-ready):not(.is-received) .ac-task-step-dot {
    border-color: #ff8c1a;
}

.ac-task-step-label {
    margin-top: 4px;
    font-size: 12px;
    color: var(--sn-text, #1A1A2E);
    font-weight: 600;
}

.ac-task-step-reward {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff5e6;
    color: #ff8c1a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.ac-task-step-reward img {
    width: 16px;
    height: 16px;
    display: block;
}

.ac-task-step.is-received .ac-task-step-reward {
    background: #f3f4f6;
    color: var(--sn-text-muted, #9CA3AF);
}

/* ---- 底部：提示 + 操作按钮 ---- */
.ac-task-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ac-task-card-tip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #fff1f1;
    color: #ff4d4f;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.ac-task-card-tip.is-muted {
    background: #f3f4f6;
    color: var(--sn-text-muted, #9CA3AF);
}

.ac-task-card-tip-icon {
    font-size: 12px;
    line-height: 1;
}

.ac-task-card-tip-spacer { flex: 1; }

.ac-task-card-action { flex-shrink: 0; }

.ac-task-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 100px;
    padding: 9px 18px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.ac-task-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.ac-task-btn--receive {
    background: linear-gradient(135deg, #ffb547 0%, #ff8c1a 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255, 140, 26, .35);
}

.ac-task-btn--receive:hover {
    box-shadow: 0 4px 14px rgba(255, 140, 26, .45);
}

.ac-task-btn--go {
    background: var(--sn-primary-light, #FFF0F3);
    color: var(--sn-primary-dark, #D4738E);
    border: 1px solid rgba(232, 140, 165, 0.4);
}

.ac-task-btn--done {
    background: #f3f4f6;
    color: var(--sn-text-muted, #9CA3AF);
    cursor: default;
}

.ac-task-btn--done:hover {
    transform: none;
}

.ac-task-btn-check {
    display: inline-block;
    line-height: 1;
}

/* 单档位时让节点居中、进度条短一些 */
.ac-task-stepper[data-count="1"] .ac-task-stepper-nodes { justify-content: center; }
.ac-task-stepper[data-count="1"] .ac-task-stepper-track { left: 50%; right: 50%; }

/* 小屏自适应 */
@@media (max-width: 480px) {
    .ac-task-card { padding: 14px 12px 12px; }
    .ac-task-stepper { padding: 4px 4px 0; }
    .ac-task-stepper-track { left: 18px; right: 18px; }
    .ac-task-step { width: 52px; }
    .ac-task-step-reward { padding: 3px 8px; font-size: 12px; }
    .ac-task-step-reward img { width: 14px; height: 14px; }
    .ac-task-btn { min-width: 88px; padding: 8px 14px; font-size: 12px; }
    .ac-task-card-tip { padding: 5px 10px; font-size: 11px; }
}

/* 未登录提示 */
.ac-task-login {
    text-align: center;
    background: linear-gradient(135deg, var(--sn-primary-light, #FFF0F3) 0%, #ffffff 100%);
    border: 1px dashed rgba(232, 140, 165, 0.4);
    border-radius: var(--sn-radius-sm, 10px);
    padding: 24px 16px;
}

.ac-task-login p {
    margin: 0 0 12px;
    color: var(--sn-text-secondary, #6B7280);
    font-size: 13px;
}

.ac-task-login-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--sn-primary, #E88CA5) 0%, var(--sn-primary-dark, #D4738E) 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 22px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(232, 140, 165, 0.35);
}

/* ============================================================ */
/* 活动记录                                                       */
/* ============================================================ */
.ac-past-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ac-past-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--sn-white, #fff);
    border: 1px solid var(--sn-border, #E5E7EB);
    border-radius: var(--sn-radius-sm, 10px);
    padding: 12px 14px;
    opacity: 0.85;
}

.ac-past-info {
    min-width: 0;
    flex: 1;
}

.ac-past-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--sn-text, #1A1A2E);
    margin: 0 0 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-past-time {
    font-size: 11px;
    color: var(--sn-text-muted, #9CA3AF);
}

.ac-past-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sn-primary-dark, #D4738E);
    background: var(--sn-primary-light, #FFF0F3);
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
}

.ac-past-badge svg {
    display: block;
}

/* ============================================================ */
/* 开屏图弹窗（保持原逻辑）                                       */
/* ============================================================ */
.actSplashPopup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.actSplashPopup.show {
    display: flex;
}

.actSplashPopup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.actSplashPopup-content {
    position: relative;
    width: 360px;
    max-width: 90vw;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.actSplashPopup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.3s;
}

.actSplashPopup-close:hover {
    transform: scale(1.1);
}

.actSplashPopup-link {
    display: block;
    width: 100%;
    line-height: 0;
    position: relative;
}

.actSplashPopup-link img {
    width: 100%;
    height: auto;
    display: block;
}

.actSplashPopup .splash-hotzone {
    position: absolute;
    bottom: 6%;
    width: 42%;
    height: 12%;
    z-index: 2;
    display: block;
}

.actSplashPopup .splash-btn-left {
    left: 6%;
}

.actSplashPopup .splash-btn-right {
    right: 6%;
}

/* ============================================================ */
/* PC 适配                                                        */
/* ============================================================ */
@media (min-width: 768px) {
    .ac-page {
        padding: 24px 20px 64px;
    }
    .ac-inner {
        max-width: 920px;
    }
    .ac-page-title {
        font-size: 26px;
    }
    .ac-current-card {
        height: 156px;
    }
    .ac-current-name {
        font-size: 20px;
    }
    .ac-current-desc {
        font-size: 14px;
    }

    /* 签到 hero — PC 端 7 格平铺 */
    .ac-hero {
        padding: 22px 24px 22px;
    }
    .ac-hero-name {
        font-size: 20px;
    }
    .ac-hero-subtitle {
        font-size: 13px;
    }
    .ac-sign-grid {
        gap: 12px;
    }
    /* 把上下两行合并为一行 7 格 */
    .ac-sign-row {
        display: contents;
    }
    .ac-sign-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 12px;
    }
    .ac-sign-cell-top {
        font-size: 11px;
        padding: 4px 4px;
    }
    .ac-sign-cell-body {
        padding: 6px 6px;
        gap: 3px;
    }
    .ac-sign-cell-icon,
    .ac-sign-cell-coin,
    .ac-sign-cell-vip {
        width: 26px;
        height: 26px;
    }
    .ac-sign-cell-main {
        font-size: 14px;
    }
    /* PC 端第 7 天不再通栏，回归普通格 */
    .ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-body {
        flex-direction: column;
        padding: 6px 6px;
        gap: 3px;
        justify-content: center;
    }
    .ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-icon {
        width: 26px;
        height: 26px;
    }
    .ac-sign-cell--final.ac-sign-cell--wide .ac-sign-cell-main {
        font-size: 13px;
    }
    .ac-sign-btn {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ============================================================ */
/* 我的页面：去签到按钮（跳转到活动中心）                          */
/* ============================================================ */
.sn-mine-sign-action {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* 游客提示：绑定邮箱以免清缓存丢资产，红色醒目，置于「去簽到」左侧 */
.sn-mine-guest-warn {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #ff5252;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.sn-mine-sign-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid var(--sn-primary);
    border-radius: 6px;
    background: var(--sn-primary);
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.sn-mine-sign-btn:hover {
    background: var(--sn-primary-dark);
    border-color: var(--sn-primary-dark);
    color: #fff !important;
    text-decoration: none;
}

/* ===== 每日驚喜 - 活动卡片入口 ===== */
.ac-surprise-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFF0F3 0%, #FFE0E8 100%);
    border: 1px solid var(--sn-border, #f0d8df);
    color: #333;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.ac-surprise-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 140, 165, 0.25);
    text-decoration: none;
    color: #333;
}

.ac-surprise-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 2px 8px rgba(232, 140, 165, 0.2);
}

.ac-surprise-card-body {
    flex: 1;
    min-width: 0;
}

.ac-surprise-card-name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-surprise-card-desc {
    margin: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-surprise-card-cta {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--sn-primary, #E88CA5);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 480px) {
    .ac-surprise-card {
        padding: 12px 14px;
        gap: 12px;
    }
    .ac-surprise-card-icon {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    .ac-surprise-card-name {
        font-size: 14px;
    }
    .ac-surprise-card-desc {
        font-size: 12px;
    }
    .ac-surprise-card-cta {
        padding: 7px 12px;
        font-size: 12px;
    }
}
