/* ============================================================
   拼多多红包组队广场 - 红火简洁主题
   配色策略：暖米底 + 中国红点缀(约3成) + 金色细线，久看不腻
   ============================================================ */
:root {
    --red-50: #FFF4F0;
    --red-100: #FFE7E0;
    --red-200: #FFCFC2;
    --red-400: #F0554A;
    --red-500: #E23E32;      /* 主红 */
    --red-600: #C8281F;
    --red-700: #A1160F;      /* 深红 */
    --gold: #D9A441;         /* 金 */
    --gold-light: #F3D9A4;
    --cream: #FFFAF6;        /* 页面暖底 */
    --card: #FFFFFF;
    --ink: #3D2B26;          /* 暖黑正文 */
    --ink-soft: #8A6F66;     /* 次要文字 */
    --line: #F3E3DC;         /* 分隔线 */
    --ok: #1F7A3C;
    --radius: 18px;
    --shadow: 0 6px 24px rgba(193, 39, 25, .08);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
    background: var(--cream);
    color: var(--ink);
    /* 顶部一抹暖红晕染，不铺满，避免压抑 */
    background-image: radial-gradient(1200px 420px at 50% -180px, #FFE9E2 0%, transparent 70%);
    background-repeat: no-repeat;
    min-height: 100vh;
    min-height: 100dvh;   /* iOS Safari 地址栏场景下更准确，旧浏览器回退 100vh */
}
a { color: var(--red-600); }

/* ---------------- 顶部横幅 ---------------- */
.hero {
    background: linear-gradient(135deg, var(--red-500) 0%, var(--red-700) 100%);
    color: #FFF;
    padding: clamp(22px, 5vw, 36px) 20px clamp(26px, 6vw, 40px);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 10px 30px rgba(161, 22, 15, .22);
}
/* 金色细线 + 暗纹，克制点缀 */
.hero::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
    opacity: .9;
}
.hero__glow {
    position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 160, .25), transparent 65%);
    top: -140px; right: -100px; pointer-events: none;
}
.hero__inner { position: relative; max-width: 700px; margin: 0 auto; }
.hero__logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: clamp(22px, 5.4vw, 30px); font-weight: 800; letter-spacing: 1px;
}
.hero__logo .env {
    font-size: 1.3em;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25));
    animation: envFloat 3.2s ease-in-out infinite;
}
@keyframes envFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(4deg); } }
.hero__sub {
    margin: 10px auto 0; font-size: clamp(13px, 3.4vw, 15px); opacity: .92;
    max-width: 30em; line-height: 1.7;
}
.hero__chips { margin-top: 14px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero__chip {
    font-size: 12px; padding: 4px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(4px);
}

/* ---------------- 主体 ---------------- */
.container { max-width: 700px; margin: auto; padding: 16px 16px 90px; }  /* 底部留位给悬浮举报按钮 */

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 14px;
}

/* 输入区 */
.inputBox { display: flex; gap: 8px; align-items: center; }
.inputBox input {
    flex: 1; min-width: 0; height: 52px; padding: 0 16px;
    font-size: 16px; border: 1.5px solid var(--line); border-radius: 14px;
    background: #FFFDFB; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.inputBox input::placeholder { color: #C4A99F; }
.inputBox input:focus { outline: none; border-color: var(--red-400); box-shadow: 0 0 0 4px rgba(226, 62, 50, .10); }
.btn-red {
    flex-shrink: 0; height: 52px; padding: 0 22px; border: none; border-radius: 14px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: #FFF; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 6px 16px rgba(226, 62, 50, .28);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-red:active { transform: translateY(1px) scale(.98); }

/* 一键获取：红底金边，页面视觉焦点 */
.btn-get {
    width: 100%; height: 56px; border: none; border-radius: 16px; cursor: pointer;
    background: linear-gradient(135deg, var(--red-500) 0%, var(--red-700) 100%);
    color: #FFF; font-size: 17px; font-weight: 800; letter-spacing: .5px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: relative; overflow: hidden;
    box-shadow: 0 10px 24px rgba(226, 62, 50, .30);
    transition: transform .15s, box-shadow .15s;
}
.btn-get::before {   /* 金色描边 */
    content: ""; position: absolute; inset: 3px; border-radius: 13px;
    border: 1.5px solid rgba(243, 217, 164, .55); pointer-events: none;
}
.btn-get::after {    /* 掠光动画，克制不刺眼 */
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    animation: sheen 3.6s ease-in-out infinite; pointer-events: none;
}
@keyframes sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-get:active { transform: translateY(0) scale(.99); }
.btn-get.is-cooldown { filter: grayscale(.35); opacity: .8; cursor: not-allowed; animation: none; }
.btn-get.is-cooldown::after { animation: none; }

.tip-text { font-size: 13px; color: var(--ink-soft); margin: 10px 2px 0; line-height: 1.7; }
.tip-text b { color: var(--red-600); }

/* 列表 */
.list {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; margin-top: 8px;
}
.list__head {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--red-700);
    background: linear-gradient(180deg, var(--red-50), #FFF);
    border-bottom: 1px solid var(--line);
}
.list__head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 3px rgba(226, 62, 50, .15); }
.item {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 20px;
    transition: background .15s;
}
.item:last-child { border-bottom: none; }
.code { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; font-weight: 700; color: var(--ink); }
.code-text { font-variant-numeric: tabular-nums; letter-spacing: .5px; }
/* 脱敏中间位：默认模糊 + 淡红底衬（提示可点击），点击该条目后变清晰 */
/* 脱敏位：中间三位用红色圆点代替（完整数字不下发到前端） */
.code-dots {
    color: var(--red-500);
    letter-spacing: 1px;
    margin: 0 1px;
    padding: 0 2px;
    font-size: .82em;
    user-select: none;
    -webkit-user-select: none;
}
.time-tag {
    flex: 0 0 auto; font-size: 12px; line-height: 1; color: var(--ink-soft);
    background: #FBF3EE; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px;
}
.item-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.btn-copy {
    flex: 0 0 auto; min-height: 40px; padding: 9px 14px; font-size: 14px; font-weight: 700;
    border: none; border-radius: 10px; cursor: pointer; color: #FFF;
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    box-shadow: 0 3px 10px rgba(226, 62, 50, .25);
    transition: transform .12s, filter .12s;
}
.btn-copy:active { transform: translateY(1px) scale(.97); }
.btn-report {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; text-decoration: none;
    border: 1.5px solid var(--line); background: #FFF; font-size: 15px;
    transition: border-color .15s, background .15s, transform .12s;
}
.item.done { color: var(--ink-soft); font-size: 18px; }
.item.done .code-text { text-decoration: line-through; text-decoration-color: #D8BFB6; }
.tag { font-size: 13px; color: #B49A90; }
.empty-tip { text-align: center; color: var(--ink-soft); padding: 14px 20px; font-size: 14px; line-height: 1.7; }

/* 举报徽标 */
.report-badge {
    flex: 0 0 auto; font-size: 12px; line-height: 1; padding: 3px 8px; border-radius: 999px;
    color: #92400E; background: #FEF3C7; border: 1px solid #FDE68A;
}
.report-badge.danger { color: var(--red-700); background: var(--red-100); border-color: var(--red-200); }

/* 统计区：竖排三行卡片（今日助力 / 累计完成 / 即刻获取），窄屏不会横向溢出 */
.stats {
    margin: 16px 0 4px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    font-size: 14px; color: var(--ink-soft);
}
.stats > * + * { border-top: 1px solid var(--line); }
.stats .bar {
    flex: 0 0 auto; width: 4px; height: 16px; border-radius: 2px;
    background: linear-gradient(180deg, var(--red-500), var(--gold));
}
.stat-row { display: flex; align-items: center; gap: 10px; padding: 13px 16px; }
.stat-label { font-weight: 700; color: var(--ink); }
.stat-value { margin-left: auto; color: var(--red-600); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
/* 第三行：即刻获取 CTA，点击直接取码 */
.stat-cta {
    width: 100%; display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border: none; cursor: pointer; text-align: left;
    background: linear-gradient(180deg, var(--red-50), #FFF);
    font-size: 14px; color: var(--ink-soft);
    transition: background .15s;
}
.stat-cta .stat-label { color: var(--red-700); }
.stat-cta-go {
    margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
    font-size: 15px; font-weight: 800; color: var(--red-600);
}
.stat-cta .arrow { transition: transform .15s; }
.stat-cta:active { background: var(--red-100); }
.stat-cta.is-cooldown { filter: grayscale(.3); opacity: .75; cursor: not-allowed; }

/* Toast */
.toast {
    position: fixed; bottom: 18%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(61, 43, 38, .94); color: #FFF; padding: 13px 20px; border-radius: 14px;
    font-size: 15px; display: none; z-index: 10000; text-align: center; max-width: 82%;
    white-space: pre-line; line-height: 1.6; box-shadow: 0 10px 30px rgba(61, 43, 38, .3);
}

/* 悬浮举报按钮 */
.report-float {
    position: fixed; bottom: max(25px, env(safe-area-inset-bottom)); right: 18px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: 999px; text-decoration: none; z-index: 998;
    background: linear-gradient(135deg, var(--red-600), var(--red-700)); color: #FFF !important;
    font-size: 14px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(161, 22, 15, .35);
    transition: transform .15s;
}

/* ---------------- 弹窗 ---------------- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(61, 43, 38, .55);
    display: none; align-items: center; justify-content: center; z-index: 9999;
    backdrop-filter: blur(3px); padding: 20px;
    overflow-y: auto;              /* 横屏/小高度屏：弹窗超高时可滚动，避免被裁剪 */
    -webkit-overflow-scrolling: touch;
}
.modal-overlay.show { display: flex; }
.copy-modal {
    background: var(--card); border-radius: 22px; padding: clamp(22px, 5vw, 32px);
    max-width: 400px; width: 100%; position: relative; margin: auto;
    box-shadow: 0 24px 60px rgba(61, 43, 38, .3);
    animation: modalIn .28s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--ink-soft); background: var(--red-50);
    cursor: pointer; border: none; border-radius: 50%; transition: all .2s; line-height: 1;
}
.copy-modal h3 { margin: 0 0 18px; font-size: 19px; color: var(--ink); text-align: center; }
/* 红包样式码展示 */
.code-display {
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: #FFF; padding: 22px 16px; border-radius: 16px; text-align: center;
    font-size: clamp(24px, 7vw, 30px); font-weight: 800; letter-spacing: 3px;
    margin-bottom: 12px; word-break: break-all; position: relative; overflow: hidden;
    box-shadow: 0 8px 22px rgba(226, 62, 50, .35);
}
.code-display::before {
    content: ""; position: absolute; inset: 4px; border-radius: 12px;
    border: 1.5px dashed rgba(243, 217, 164, .6); pointer-events: none;
}
.lock-timer { text-align: center; font-size: 13px; color: #92400E; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.modal-tip { font-size: 14px; color: var(--ink-soft); text-align: center; margin-bottom: 22px; line-height: 1.8; }
.modal-buttons { display: flex; gap: 10px; }
.modal-btn {
    flex: 1; min-height: 48px; border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.modal-btn:active { transform: translateY(1px); }
.modal-btn-primary { background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: #FFF; box-shadow: 0 5px 14px rgba(226, 62, 50, .3); }
.modal-btn-secondary { background: var(--red-50); color: var(--red-700); border: 1.5px solid var(--red-100); }
#copyAgainBtn { width: 100%; margin-bottom: 10px; }

/* ---------------- 微信引导 ---------------- */
.wechat-guide-overlay { position: fixed; inset: 0; background: rgba(61, 43, 38, .82); z-index: 9999; display: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wechat-guide-overlay.show { display: block; }
.wechat-guide-content {
    position: relative; max-width: 320px; margin: 72px auto 24px; padding: 22px 18px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    border-radius: 20px; color: #FFF; text-align: center;
    box-shadow: 0 20px 60px rgba(61, 43, 38, .4);
}
.wechat-guide-content::before {
    content: ""; position: absolute; inset: 5px; border-radius: 15px;
    border: 1.5px dashed rgba(243, 217, 164, .55); pointer-events: none;
}
.wechat-guide-arrow { position: absolute; top: -46px; right: 24px; font-size: 38px; animation: bounceArrow 1s infinite; }
@keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wechat-guide-icon { font-size: 42px; margin-bottom: 6px; }
.wechat-guide-title { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.wechat-guide-text { font-size: 14px; line-height: 1.8; margin-bottom: 14px; opacity: .95; }
.wechat-guide-steps { text-align: left; background: rgba(255, 255, 255, .15); border-radius: 14px; padding: 12px 12px 4px; margin-bottom: 16px; }
.wechat-guide-step { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.step-number { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #FFF; color: var(--red-600); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.wechat-guide-close {
    width: 100%; min-height: 46px; border: none; border-radius: 12px; font-size: 16px; font-weight: 800;
    background: #FFF; color: var(--red-600); cursor: pointer;
}

/* 页脚 */
.foot { text-align: center; color: #B49A90; font-size: 12px; margin-top: 22px; line-height: 1.8; }
.foot a { color: var(--ink-soft); text-decoration: none; margin: 0 6px; }

/* ---------------- 举报页 ---------------- */
.page-wrap { width: 100%; max-width: 480px; margin: 0 auto; padding: 18px 14px 44px; }
.card-top {
    padding: 20px 18px 14px; border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: #FFF;
    position: relative; overflow: hidden;
}
.card-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.card-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--red-700); background: var(--gold-light); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.card-top h1 { margin: 0; font-size: 21px; }
.card-top .sub { margin-top: 8px; font-size: 13px; opacity: .92; line-height: 1.7; }
.card-body { background: var(--card); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 18px; }
.label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.input, .select, .textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px;
    font-size: 16px; color: var(--ink); background: #FFFDFB; outline: none;
    transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--red-400); box-shadow: 0 0 0 4px rgba(226, 62, 50, .10); }
.input.code-input { font-size: 24px; font-weight: 800; letter-spacing: 2px; text-align: center; }
.textarea { min-height: 88px; resize: vertical; }
.hint { margin-top: 8px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.btn { margin-top: 14px; width: 100%; min-height: 50px; border: none; border-radius: 14px; color: #FFF; font-size: 16px; font-weight: 800; background: linear-gradient(135deg, var(--red-500), var(--red-700)); box-shadow: 0 8px 18px rgba(226, 62, 50, .28); cursor: pointer; transition: transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: #FFF; color: var(--red-600); border: 1.5px solid var(--red-200); box-shadow: none; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.msg { margin-top: 14px; border-radius: 12px; padding: 12px; font-size: 14px; text-align: center; border: 1.5px solid transparent; display: none; line-height: 1.6; }
.msg.ok { background: #ECFDF3; color: var(--ok); border-color: #BBF7D0; display: block; }
.msg.err { background: var(--red-50); color: var(--red-700); border-color: var(--red-200); display: block; }
.report-count-line { margin-top: 14px; padding: 11px 12px; border-radius: 12px; background: #FFFBEB; border: 1.5px solid #FDE68A; color: #92400E; font-size: 13px; display: none; line-height: 1.6; }
.report-count-line.show { display: block; }

/* ---------------- 管理后台 ---------------- */
.admin-head {
    background: linear-gradient(135deg, var(--red-600), var(--red-700)); color: #FFF;
    padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.admin-head h1 { font-size: 18px; margin: 0; }
.admin-user {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; color: #FFE9B8;
}
.admin-user .mini-btn { margin-right: 0; }
.admin-nav { display: flex; gap: 8px; padding: 14px 20px 0; flex-wrap: wrap; }
.admin-nav button {
    border: 1.5px solid var(--line); background: #FFF; color: var(--ink-soft);
    border-radius: 12px; padding: 9px 18px; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: all .15s;
}
.admin-nav button.active { background: linear-gradient(135deg, var(--red-500), var(--red-700)); border-color: transparent; color: #FFF; box-shadow: 0 4px 12px rgba(226, 62, 50, .25); }
.admin-section { display: none; padding: 14px 20px 44px; }
.admin-section.show { display: block; }
.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.admin-card h3 { margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.admin-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.admin-row .field { display: flex; flex-direction: column; gap: 4px; }
.admin-row .field label { font-size: 12px; color: var(--ink-soft); }
.admin-row input { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; min-width: 0; }
.admin-row input:focus { outline: none; border-color: var(--red-400); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.admin-table th, .admin-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { color: var(--ink-soft); font-weight: 700; background: var(--red-50); }
.admin-table td.wrap { white-space: normal; word-break: break-all; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.pill.pending { background: #FEF3C7; color: #92400E; }
.pill.processed { background: #ECFDF3; color: var(--ok); }
.pill.ignored { background: #F5F0EC; color: var(--ink-soft); }
.pill.st0 { background: #EFF6FF; color: #1D4ED8; }
.pill.st1 { background: #FEF3C7; color: #92400E; }
.pill.st2 { background: #ECFDF3; color: var(--ok); }
.pill.st3 { background: var(--red-100); color: var(--red-700); }
.mini-btn { border: 1.5px solid var(--line); background: #FFF; border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer; margin-right: 6px; transition: all .15s; }
.mini-btn.danger { color: var(--red-700); border-color: var(--red-200); }
.mini-btn.primary { color: #1D4ED8; border-color: #BFDBFE; }

/* 管理后台登录面板 */
.login-card { max-width: 420px; margin: 28px auto; }
.login-card .admin-row { width: 100%; }
.login-card .field { flex: 1; width: 100%; }
.login-card .field input { width: 100%; }
.login-card .login-btn { margin: 14px 0 0; min-height: 44px; padding: 9px 24px; font-size: 15px; }
.login-card .hint { margin-top: 14px; }

/* ---------------- 悬停效果：仅精确指针设备生效 ----------------
   触摸屏不包这一层的话，点击后 :hover 样式会粘滞不消失 */
@media (hover: hover) {
    .btn-red:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(226, 62, 50, .34); }
    .btn-get:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(226, 62, 50, .36); }
    .item:hover { background: var(--red-50); }
    .btn-copy:hover { filter: brightness(1.06); }
    .btn-report:hover { border-color: var(--red-200); background: var(--red-50); transform: translateY(-1px); }
    .report-float:hover { transform: translateY(-2px); }
    .stat-cta:hover { background: var(--red-100); }
    .stat-cta:hover .arrow { transform: translateX(3px); }
    .modal-close:hover { background: var(--red-100); color: var(--red-700); transform: rotate(90deg); }
    .modal-btn-primary:hover { box-shadow: 0 8px 18px rgba(226, 62, 50, .38); }
    .modal-btn-secondary:hover { background: var(--red-100); }
    .foot a:hover { color: var(--red-600); }
    .mini-btn:hover { background: var(--red-50); }
    .mini-btn.danger:hover { background: var(--red-50); }
    .mini-btn.primary:hover { background: #EFF6FF; }
}

/* ---------------- 响应式微调 ---------------- */
@media (max-width: 480px) {
    .container { padding: 12px 12px 88px; }   /* 给悬浮举报按钮留位，避免遮住页脚 */
    .item { font-size: 18px; padding: 12px 14px; }
    .hero { border-radius: 0 0 22px 22px; }
    .modal-buttons { flex-direction: column; }
    .modal-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
