/* ==========================================================
   三只喵转运屋 - 样式（纯白+亮橙 · 通透干净版）
   ========================================================== */

/* ===== CSS 变量 ===== */
:root {
    --primary: #E8834A;
    --primary-dark: #D4723A;
    --primary-light: #FDE8D8;
    --primary-gradient: linear-gradient(135deg, #F5A88A, #E8834A);
    --primary-gradient-dark: linear-gradient(135deg, #E8834A, #D4723A);
    --bg: #F9F9F9;
    --bg-card: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #999999;
    --text-muted: #BBBBBB;
    --border: #EFEFEF;
    --border-light: #F2F2F2;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-btn: 0 2px 16px rgba(232, 131, 74, 0.30);
    --radius: 16px;
    --radius-btn: 30px;
    --font: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    padding-top: 50px;
    padding-bottom: 60px;
    font-size: 14px;
    line-height: 1.5;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #F0F0F0; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ===== 通用按钮 ===== */
.btn-base {
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s;
}

.btn-primary-bg {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-btn);
}
.btn-primary-bg:hover {
    background: var(--primary-gradient-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(232, 131, 74, 0.35);
}
.btn-primary-bg:active {
    transform: scale(0.95);
}

/* ===== 顶部栏 ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(249, 249, 249, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 100;
    white-space: nowrap;
    overflow: hidden;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.brand-logo {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}
.brand-name .hl {
    color: var(--primary);
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.login-btn {
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    padding: 4px 12px;
    border: 2px solid var(--primary);
    border-radius: 24px;
    background: transparent;
    transition: all 0.3s;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.login-btn:hover {
    background: var(--primary);
    color: #fff;
}
.login-btn.logged-in {
    border-color: var(--primary);
    background: rgba(232, 131, 74, 0.08);
    color: var(--primary);
}
.logout-btn {
    font-size: 11px;
    color: var(--text-light);
    cursor: pointer;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}
.logout-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 主内容 ===== */
.main-content {
    padding: 12px 16px;
    max-width: 480px;
    margin: 0 auto;
}
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 14px 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* ===== 幸运值行 ===== */
.lucky-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 16px;
}
.lucky-label {
    font-size: 13px;
    color: var(--text-light);
}
.lucky-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.btn-lucky {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.25s;
    box-shadow: 0 2px 10px rgba(232, 131, 74, 0.20);
}
.btn-lucky:active,
.btn-lucky.disabled {
    transform: scale(0.94);
}
.btn-lucky.disabled {
    background: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}
.lucky-hint {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
    padding-left: 4px;
}

/* ===== 打赏区域 ===== */
.donate-section {
    margin: 12px 0;
}
.donate-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    overflow: hidden;
}
.donate-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    flex-shrink: 0;
    margin-right: 10px;
}
.donate-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    height: 26px;
    position: relative;
}
.donate-scroll {
    display: flex;
    white-space: nowrap;
    animation: scrollRightToLeft 38s linear infinite;
    position: absolute;
    left: 0;
    top: 0;
}
.donate-scroll .item {
    font-size: 13px;
    color: var(--text);
    padding-right: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.donate-scroll .item .amount {
    color: var(--primary);
    font-weight: 700;
}
.donate-scroll-wrapper:hover .donate-scroll {
    animation-play-state: paused;
}
@keyframes scrollRightToLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 打赏按钮 ===== */
.btn-donate {
    width: auto;
    min-width: 120px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s;
    letter-spacing: 0.5px;
    display: block;
    margin: 0 auto;
}
.btn-donate:active {
    transform: scale(0.95);
}

.btn-donate-light {
    width: auto;
    min-width: 100px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    padding: 6px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: block;
    margin: 8px auto 0;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(232, 131, 74, 0.15);
}
.btn-donate-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 131, 74, 0.25);
}
.btn-donate-light:active {
    transform: scale(0.95);
}

#confirmDonateBtn {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(232, 131, 74, 0.35);
    transition: all 0.25s;
    letter-spacing: 1px;
    margin: 12px auto 0;
    text-align: center;
}
#confirmDonateBtn:hover {
    background: var(--primary-gradient-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(232, 131, 74, 0.45);
}
#confirmDonateBtn:active {
    transform: scale(0.97);
}

/* ===== 发布区域 ===== */
.publish-section {
    margin-bottom: 12px;
}
.publish-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.publish-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: var(--border-light);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: inherit;
    min-height: 38px;
    height: 38px;
    transition: all 0.3s;
    color: var(--text);
    resize: none;
    line-height: 1.4;
}
.publish-input:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(232, 131, 74, 0.10);
    height: 80px;
}
.publish-input::placeholder {
    color: var(--text-light);
}
.publish-input.expanded {
    height: 80px;
}
.btn-publish {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    height: 38px;
    align-self: stretch;
}
.btn-publish:hover {
    background: var(--primary-gradient-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-btn);
}
.btn-publish:active {
    transform: scale(0.95);
}
.publish-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}
.publish-extra .label {
    font-size: 12px;
    color: var(--text-light);
}
.publish-extra .type-group {
    display: flex;
    gap: 6px;
}
.publish-extra .type-group label {
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--text);
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--border-light);
    transition: all 0.2s;
}
.publish-extra .type-group label.active-type {
    background: rgba(232, 131, 74, 0.10);
    color: var(--primary);
    font-weight: 600;
}
.publish-extra .type-group label input {
    display: none;
}

.cat-group {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-shrink: 0;
}
.cat-group .cat-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: all 0.3s;
    object-fit: cover;
    padding: 2px;
    background: var(--border-light);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-group .cat-btn.active-cat {
    border-color: var(--primary);
    background: var(--bg-card);
    transform: scale(1.10);
}
.cat-group .cat-btn:hover {
    transform: scale(1.05);
}
.cat-group .cat-name {
    font-size: 10px;
    color: var(--text-light);
    margin-left: 2px;
    white-space: nowrap;
}

/* ===== Tab栏 ===== */
.tab-bar {
    display: flex;
    gap: 4px;
    background: var(--border-light);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 12px;
}
.tab-item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
}
.tab-item:active {
    transform: scale(0.96);
}
.tab-item.active {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ===== 愿望列表 ===== */
.wish-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wish-item {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.wish-item.thanks {
    border-color: var(--primary-light);
    background: #FDF8F5;
}
.wish-item .wish-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.wish-item .wish-cat-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-light);
}
.wish-item .wish-cat-icon img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.wish-item .wish-user {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.wish-item .wish-time {
    font-size: 11px;
    color: var(--text-light);
    margin-left: auto;
}
.wish-item .wish-type-badge {
    display: inline-block;
    font-size: 11px;
    padding: 0 10px;
    border-radius: 12px;
    font-weight: 600;
    margin-right: 6px;
}
.wish-item .wish-type-badge.wish {
    background: #E8F0FE;
    color: #4A7FC1;
}
.wish-item .wish-type-badge.thanks {
    background: rgba(232, 131, 74, 0.10);
    color: var(--primary);
}
.wish-item .wish-content {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text);
    word-break: break-word;
}
.wish-item .wish-actions {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}
.wish-item .wish-actions span {
    cursor: pointer;
    user-select: none;
    transition: all 0.15s;
}
.wish-item .wish-actions span:active {
    transform: scale(0.92);
}
.wish-item .wish-actions .liked {
    color: var(--primary);
}
.wish-item .wish-actions .helped {
    color: var(--text-light);
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0 4px 0;
}
.page-btn {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}
.page-btn:active {
    transform: scale(0.95);
}
.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.page-info {
    font-size: 13px;
    color: var(--text-light);
}
.footer-stats {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 8px 0 4px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
}

/* ===== 底部导航 ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    padding: 4px 16px;
    user-select: none;
    position: relative;
}
.nav-item i {
    font-size: 20px;
    transition: all 0.3s;
}
.nav-item.active {
    color: var(--primary);
}
.nav-item.active i {
    transform: scale(1.05);
}
.nav-item:active {
    transform: scale(0.92);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: var(--bg);
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    z-index: 999;
    animation: toastIn 0.4s ease;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.15);
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== 认证弹窗 ===== */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.25);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.auth-overlay.open {
    display: flex;
}
.auth-box {
    background: var(--bg);
    border-radius: 24px;
    padding: 28px 24px 20px;
    max-width: 380px;
    width: 92%;
    border-top: 4px solid var(--primary);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}
.auth-box .auth-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--text);
}
.auth-box .auth-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}
.auth-box .auth-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: var(--text);
    transition: border 0.3s;
    margin-bottom: 10px;
}
.auth-box .auth-input:focus {
    border-color: var(--primary);
}
.auth-box .auth-btn {
    width: 100%;
    padding: 12px 0;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: var(--shadow-btn);
}
.auth-box .auth-btn:active {
    transform: scale(0.97);
}
.auth-box .auth-switch {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
}
.auth-box .auth-switch span {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
}
.auth-box .auth-close {
    text-align: center;
    margin-top: 12px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    padding: 4px 0;
}

/* ===== 头像选择 ===== */
.avatar-select {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}
.avatar-select .av-option {
    cursor: pointer;
    text-align: center;
    padding: 8px 12px;
    border: 3px solid var(--border);
    border-radius: 16px;
    transition: all 0.25s;
    background: #fff;
    min-width: 64px;
}
.avatar-select .av-option:hover {
    border-color: var(--primary-light);
}
.avatar-select .av-option.active {
    border-color: var(--primary);
    background: rgba(232, 131, 74, 0.04);
    box-shadow: 0 0 0 3px rgba(232, 131, 74, 0.06);
}
.avatar-select .av-option .av-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 4px;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.avatar-select .av-option.active .av-img {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 131, 74, 0.08);
}
.avatar-select .av-option .av-emoji {
    font-size: 32px;
    display: block;
    line-height: 48px;
    text-align: center;
}
.avatar-select .av-option .av-name {
    font-size: 10px;
    color: var(--text);
    margin-top: 2px;
}
.avatar-select .av-option input {
    display: none;
}

/* ===== 通用弹窗 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.25);
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.open {
    display: flex;
}
.modal-sheet {
    background: var(--bg);
    border-radius: 24px 24px 0 0;
    padding: 16px 20px 20px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-top: 4px solid var(--primary);
}

/* ===== 打赏弹窗内容 ===== */
.modal-donate-wrapper {
    height: 76px;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}
.modal-donate-list {
    display: flex;
    flex-direction: column;
    animation: scrollUp 14s linear infinite;
}
.modal-donate-list:hover {
    animation-play-state: paused;
}
.modal-donate-list .row {
    height: 25px;
    line-height: 25px;
    padding: 0 12px;
    font-size: 12px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.modal-donate-list .row:last-child {
    border-bottom: none;
}
.modal-donate-list .row .amount {
    color: var(--primary);
    font-weight: 700;
    margin-left: auto;
}
.modal-donate-list.paused {
    animation: none !important;
}
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
}
.amount-item {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 10px;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}
.amount-item:active {
    transform: scale(0.94);
}
.amount-item.active {
    border-color: var(--primary);
    background: rgba(232, 131, 74, 0.06);
    color: var(--primary);
}
.amount-item.custom {
    color: var(--text-light);
    font-weight: 400;
}

.qr-area {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    border: 1.5px dashed var(--border);
    margin-bottom: 6px;
}
.qr-area img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
.qr-area .qr-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}
.qr-area .qr-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--text);
}
.modal-sub {
    text-align: center;
    color: var(--text-light);
    margin: 4px 0 12px;
    font-size: 13px;
}
.modal-close {
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    color: var(--text-light);
    transition: all 0.3s;
    font-weight: 500;
}
.modal-close:active {
    background: var(--border-light);
    border-radius: 0 0 24px 24px;
}

/* ===== 确认对话框 ===== */
.modal-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.25);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-box.open {
    display: flex;
}
.modal-box .modal-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 20px 24px;
    max-width: 400px;
    width: 92%;
    max-height: 70vh;
    overflow-y: auto;
    border-top: 4px solid var(--primary);
}
.modal-box .modal-card .modal-card-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.modal-box .modal-card .modal-card-sub {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.modal-box .modal-card .modal-card-close {
    text-align: center;
    padding: 10px 0 4px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
}

/* ===== 日历 ===== */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-top: 8px;
}
.calendar-grid .cal-cell {
    text-align: center;
    padding: 6px 0;
    font-size: 13px;
    border-radius: 8px;
    background: var(--border-light);
    color: var(--text-light);
}
.calendar-grid .cal-cell.weekday {
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 11px;
}
.calendar-grid .cal-cell.today {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.calendar-grid .cal-cell.checked {
    background: rgba(232, 131, 74, 0.12);
    color: var(--primary);
    font-weight: 600;
}
.calendar-grid .cal-cell.empty {
    background: transparent;
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}
.empty-state i {
    font-size: 40px;
    color: #DDD8D4;
    display: block;
    margin-bottom: 8px;
}

/* ===== 分享模块 ===== */
.share-section {
    background: #fff;
    border-radius: 12px;
    padding: 8px 14px 10px;
    margin: 8px 0;
    border: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}
.share-section .share-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
    text-align: center;
}
.share-section .share-title::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 1px auto 0;
    border-radius: 4px;
}
.share-desc {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}
.share-tip {
    background: rgba(232, 131, 74, 0.04);
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 11px;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.share-tab-switch-wrap {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}
.share-tab-switch {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 14px;
    cursor: pointer;
    background: var(--border-light);
    transition: all 0.3s;
    border: none;
}
.share-tab-switch.active {
    background: var(--primary-gradient);
    color: #fff;
}
.share-wish-select {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 6px;
    max-height: 100px;
    overflow-y: auto;
}
.share-wish-select .sw-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    border: 2px solid transparent;
}
.share-wish-select .sw-item:hover {
    background: #E8E4E0;
}
.share-wish-select .sw-item.selected {
    border-color: var(--primary);
    background: rgba(232, 131, 74, 0.04);
}
.share-wish-select .sw-item .sw-cat {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.share-wish-select .sw-item .sw-text {
    flex: 1;
    color: var(--text);
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
}
.share-wish-select .sw-item .sw-type {
    font-size: 10px;
    color: var(--text-light);
}
.share-empty-tip {
    color: var(--text-light);
    font-size: 12px;
    padding: 4px 0;
    text-align: center;
}
.share-custom-input {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    outline: none;
    background: #fff;
    color: var(--text);
    transition: border 0.3s;
    margin-bottom: 6px;
    resize: vertical;
    min-height: 32px;
    font-family: inherit;
}
.share-custom-input:focus {
    border-color: var(--primary);
}
.share-card-preview {
    background: linear-gradient(145deg, var(--bg), var(--border-light));
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
    border: 2px solid rgba(232, 131, 74, 0.06);
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}
.share-card-preview::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 10%;
    right: 10%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 0 0 50% 50%;
}
.share-card-preview .card-cats {
    font-size: 20px;
    margin-bottom: 2px;
}
.share-card-preview .card-cats img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 2px;
    object-fit: cover;
    vertical-align: middle;
}
.share-card-preview .card-content {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    padding: 4px 0 2px;
    line-height: 1.5;
}
.share-card-preview .card-user {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.share-card-preview .card-divider {
    width: 40px;
    height: 1.5px;
    background: var(--primary);
    margin: 0 auto 8px;
    border-radius: 4px;
}
.share-card-preview .card-qr-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.share-card-preview .card-qr-row img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 2px solid rgba(232, 131, 74, 0.06);
    background: #fff;
    padding: 4px;
    display: block;
    object-fit: contain;
}
.share-card-preview .card-qr-info {
    text-align: left;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}
.share-card-preview .card-qr-info .brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}
.share-card-preview .card-qr-info .url {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.share-card-preview .card-footer {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 6px;
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.share-buttons .share-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: var(--radius-btn);
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    color: #fff;
}
.share-buttons .share-btn:active {
    transform: scale(0.94);
}
.share-buttons .share-btn i {
    font-size: 14px;
}
.share-buttons .share-btn.primary {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-btn);
}
.share-buttons .share-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(232, 131, 74, 0.35);
}
.share-buttons .share-btn.secondary {
    background: #8B7A6A;
}
.share-buttons .share-btn.secondary:hover {
    background: #7A6A5A;
    transform: translateY(-1px);
}
.share-buttons .share-btn.save {
    background: var(--primary-gradient);
    box-shadow: 0 2px 12px rgba(232, 131, 74, 0.15);
}
.share-buttons .share-btn.save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 131, 74, 0.25);
}
.share-history {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border-light);
}
.share-history .sh-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2px;
}
.share-history .sh-item {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-light);
    padding: 1px 0;
    border-bottom: 1px solid var(--border-light);
}
.share-history .sh-item:last-child {
    border-bottom: none;
}
.share-history .sh-item .sh-platform {
    color: var(--text);
}
.share-tab-content {
    display: none;
}
.share-tab-content.active {
    display: block;
}

/* ===== 个人中心 ===== */
.profile-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 18px 18px;
    margin: 10px 0;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.profile-section .profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.profile-section .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-gradient);
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(232, 131, 74, 0.15);
}
.profile-section .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-section .profile-info {
    flex: 1;
    min-width: 0;
}
.profile-section .profile-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}
.profile-section .profile-sig {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 1px;
    overflow: hidden;
    white-space: nowrap;
}
.profile-section .profile-days {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}
.profile-section .profile-days strong {
    color: var(--primary);
}
.profile-section .profile-edit {
    font-size: 12px;
    color: var(--primary);
    cursor: pointer;
    padding: 4px 12px;
    border: 1.5px solid var(--primary);
    border-radius: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.profile-section .profile-edit:hover {
    background: var(--primary);
    color: #fff;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.profile-stats .stat-item {
    background: var(--bg);
    border-radius: 12px;
    padding: 10px 4px;
    text-align: center;
    border: 1px solid var(--border);
}
.profile-stats .stat-item .stat-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.profile-stats .stat-item .stat-label {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 2px;
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 4px;
}
.profile-grid .grid-item {
    background: var(--bg);
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border);
}
.profile-grid .grid-item:active {
    transform: scale(0.94);
}
.profile-grid .grid-item .grid-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 2px;
}
.profile-grid .grid-item .grid-label {
    font-size: 10px;
    color: var(--text);
}
.profile-logout {
    width: 100%;
    padding: 12px 0;
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 4px;
}
.profile-logout:hover {
    background: var(--primary);
    color: #fff;
}
.profile-logout:active {
    transform: scale(0.97);
}
.profile-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}
.profile-placeholder i {
    font-size: 48px;
    color: #DDD8D4;
    display: block;
    margin-bottom: 12px;
}
.profile-placeholder .placeholder-title {
    font-size: 17px;
    color: var(--text);
    font-weight: 600;
}
.profile-placeholder .placeholder-desc {
    font-size: 13px;
    margin-top: 4px;
}
.profile-placeholder .placeholder-btn {
    margin-top: 14px;
    padding: 10px 32px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s;
}
.profile-placeholder .placeholder-btn:active {
    transform: scale(0.95);
}

/* ===== 猫咪选择器 ===== */
.cat-select-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.settings-btn:hover {
    background: var(--border-light) !important;
}

/* ===== 响应式 ===== */
@media (max-width: 380px) {
    .brand-name { font-size: 14px; }
    .btn-donate { font-size: 16px; padding: 13px 0; }
    .lucky-number { font-size: 17px; }
    .amount-grid { grid-template-columns: repeat(3, 1fr); }
    .share-buttons .share-btn { font-size: 12px; padding: 4px 12px; }
    .share-buttons .share-btn i { font-size: 12px; }
    .share-section .share-title { font-size: 15px; }
    .profile-stats { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: repeat(3, 1fr); }
    .profile-section .profile-avatar { width: 46px; height: 46px; }
    .calendar-grid .cal-cell { font-size: 11px; padding: 4px 0; }
    .avatar-select .av-option { min-width: 50px; padding: 4px 8px; }
    .avatar-select .av-option .av-img { width: 40px; height: 40px; }
    .share-card-preview .card-qr-row img { width: 56px; height: 56px; }
    .share-card-preview .card-qr-info { font-size: 11px; }
    .share-card-preview .card-qr-info .brand { font-size: 12px; }
    .share-card-preview .card-qr-info .url { font-size: 11px; }
}

@media (min-width: 600px) {
    .main-content { max-width: 480px; margin: 0 auto; }
    .modal-sheet { max-width: 480px; }
}

/* ===== 回复样式 ===== */
.reply-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}
.reply-toggle {
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    padding: 2px 0;
    user-select: none;
}
.reply-toggle:hover {
    color: var(--primary);
}
.reply-list.hidden {
    display: none;
}

/* ===== 回复项 ===== */
.reply-item {
    display: flex;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    position: relative;
    margin-left: 0;
    padding-left: 0;
}
.reply-item:last-child {
    border-bottom: none;
}

/* ===== 竖线容器 ===== */
.reply-line-container {
    position: relative;
    width: 28px;
    flex-shrink: 0;
    min-height: 40px;
}

.reply-line-continue {
    position: absolute;
    left: 50%;
    top: -40px;
    bottom: 50%;
    width: 2px;
    transform: translateX(-50%);
}

.reply-line-node {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reply-line-vertical {
    width: 2px;
    flex: 1;
    min-height: 20px;
}

.reply-line-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    flex-shrink: 0;
    margin: 2px 0;
    z-index: 1;
}

/* ===== 内容区域 - 完全左对齐 ===== */
.reply-content-wrap {
    flex: 1;
    min-width: 0;
    padding-left: 0;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1px;
    flex-wrap: wrap;
}
.reply-header .reply-floor {
    font-size: 11px;
    font-weight: 600;
    padding: 0 6px;
    border-radius: 10px;
    flex-shrink: 0;
}
.reply-header .reply-user {
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
}
.reply-header .reply-time {
    font-size: 10px;
    color: var(--text-light);
    flex-shrink: 0;
    margin-left: auto;
}

.reply-body {
    padding-left: 0;
    min-height: 20px;
}
.reply-body .reply-content {
    color: var(--text);
    word-break: break-word;
    line-height: 1.5;
}

.reply-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    justify-content: flex-end;
    margin-top: 1px;
}
.reply-actions .reply-like-btn {
    font-size: 11px;
    color: #B09888;
    cursor: pointer;
    white-space: nowrap;
}
.reply-actions .reply-like-btn:hover {
    color: #E8834A;
}
.reply-actions .reply-like-btn.liked {
    color: #E8834A;
    font-weight: 600;
}
.reply-actions .reply-to-btn {
    font-size: 11px;
    color: #B09888;
    cursor: pointer;
    white-space: nowrap;
}
.reply-actions .reply-to-btn:hover {
    color: var(--primary);
}
.reply-actions .reply-delete {
    font-size: 11px;
    color: #D4723A;
    cursor: pointer;
    white-space: nowrap;
}
.reply-actions .reply-delete:hover {
    color: #c0392b;
}

.reply-btn {
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}
.reply-btn:hover {
    color: var(--primary);
}
.hot-reply-btn {
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.hot-reply-btn:hover {
    color: #1D4ED8 !important;
}

/* 回复输入框 */
.reply-input-area {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    padding: 4px 0 4px 36px;  /* ← 输入框也缩进对齐 */
    align-items: flex-start;
}
.reply-input-area textarea {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #dccfc3;
    border-radius: 36px;
    font-size: 13px;
    outline: none;
    background: white;
    resize: none;
    min-height: 36px;
    max-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}
.reply-input-area textarea:focus {
    border-color: var(--primary);
}
.reply-input-area button {
    padding: 6px 16px;
    border: none;
    border-radius: 36px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    height: 36px;
    flex-shrink: 0;
    transition: all 0.25s;
}
.reply-input-area button:hover {
    transform: scale(1.02);
}
.reply-input-area button:active {
    transform: scale(0.95);
}

/* ===== 抽签弹窗 ===== */
.lucky-modal-box {
    background: var(--bg);
    border-radius: 24px;
    padding: 32px 28px 24px;
    max-width: 340px;
    width: 92%;
    text-align: center;
    border-top: 4px solid var(--primary);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    display: block;
    position: relative;
}

/* ===== 抽签弹窗 - 垂直居中 ===== */
#luckyModal.modal-overlay {
    align-items: center;
    justify-content: center;
}

.lottery-barrel {
    font-size: 64px;
    margin-bottom: 8px;
    cursor: pointer;
}

@keyframes shake-barrel {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(-6deg); }
    60% { transform: rotate(6deg); }
    70% { transform: rotate(-3deg); }
    80% { transform: rotate(3deg); }
    90% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}
.lottery-barrel.shaking {
    animation: shake-barrel 0.7s ease-in-out;
}

@keyframes stick-pop {
    0% { transform: scale(0.5) translateY(30px); opacity: 0; }
    60% { transform: scale(1.05) translateY(-4px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.lottery-stick-pop {
    animation: stick-pop 0.6s ease-out forwards;
}

.btn-draw-lot {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s;
}
.btn-draw-lot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(232, 131, 74, 0.35);
}
.btn-draw-lot:active {
    transform: scale(0.95);
}

/* ===== 新增类 ===== */
.pull-to-refresh {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 9999;
    transition: top 0.3s;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 10px rgba(232, 131, 74, 0.15);
}
.auth-avatar-label {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
    text-align: center;
}
.modal-sheet-confirm {
    max-width: 360px;
    border-radius: 20px;
}
.confirm-icon {
    text-align: center;
    font-size: 40px;
    margin-bottom: 4px;
}
.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.btn-outline {
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary {
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    border: none;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
}
.donate-section-compact {
    padding: 6px 12px;
}
.donate-section-compact .donate-scroll-wrapper {
    height: 22px;
    margin-bottom: 4px;
}
.share-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.share-header-row .share-tab-switch-wrap {
    margin-bottom: 0;
}
.btn-donate-small {
    flex-shrink: 0;
    margin: 0;
    padding: 6px 16px;
    font-size: 12px;
}
.qr-card-img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 2px solid rgba(232, 131, 74, 0.06);
    background: #fff;
    padding: 4px;
    display: block;
    object-fit: contain;
}
.qr-fallback {
    font-size: 28px;
}
.donate-anonymous {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}
.donate-anonymous label {
    cursor: pointer;
}
.lottery-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.lottery-subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.lot-close {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    z-index: 10;
}
.lot-close:hover {
    color: var(--primary);
}
.lot-level-emoji {
    font-size: 44px;
    margin-bottom: 2px;
}
.lot-level {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.lot-divider {
    width: 32px;
    height: 2px;
    background: var(--primary);
    margin: 0 auto 8px;
    border-radius: 2px;
}
.lot-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    padding: 0 6px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lot-bonus {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.lot-bonus strong {
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}
.lot-separator {
    border-top: 1px solid var(--border-light);
    margin: 0 0 10px 0;
}
.lot-qr-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lot-qr-img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}
.lot-brand-info {
    text-align: left;
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
}
.lot-brand-name {
    font-weight: 600;
    color: var(--text);
    font-size: 12px;
}
.lot-domain {
    color: var(--text-muted);
    font-size: 9px;
}
.lot-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-lot-share,
.btn-lot-save {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(232, 131, 74, 0.15);
}
.btn-lot-share:hover,
.btn-lot-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 131, 74, 0.25);
}
.btn-lot-share:active,
.btn-lot-save:active {
    transform: scale(0.95);
}

/* ===== 通知角标 ===== */
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    border: 2px solid #fff;
}
.notif-badge.hidden {
    display: none;
}