/* 会员中心样式 — 与全站浅底运动风一致 */
.member-container {
    display: flex;
    max-width: 1200px;
    margin: 32px auto 48px;
    gap: 28px;
    padding: 0 20px;
}

.member-sidebar {
    width: 250px;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.1);
    height: fit-content;
    position: sticky;
    top: 88px;
}

.user-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background: linear-gradient(145deg, #ccfbf1, #e0f2fe);
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.15);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0d9488;
    font-weight: 700;
}

.member-level {
    color: #64748b;
    font-size: 14px;
    margin-top: 10px;
}

.member-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-nav .nav-item {
    padding: 12px 14px;
    text-decoration: none;
    color: #334155;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}

.member-nav .nav-item:hover {
    background: #f0fdfa;
    color: #0d9488;
}

.member-nav .nav-item.active {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.member-content {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px 36px;
    box-shadow: 0 4px 24px rgba(13, 148, 136, 0.07);
    border: 1px solid rgba(13, 148, 136, 0.08);
}

.member-content h2 {
    margin-bottom: 28px;
    color: #0f766e;
    font-size: 1.5rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 55%, #06b6d4 100%);
    color: #fff;
    padding: 22px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.stat-icon {
    font-size: 40px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h3 {
    margin-bottom: 20px;
    color: #134e4a;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(13, 148, 136, 0.35);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.venue-list,
.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.venue-item,
.team-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s;
}

.venue-item:hover,
.team-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.venue-item h4,
.team-item h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.team-item h4 a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.team-item h4 a:hover {
    color: #0d9488;
    text-decoration: underline;
}

.venue-item p,
.team-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #2c3e50;
}

.data-table tr:hover {
    background: #f9f9f9;
}

/* 平板 / 手机：纵向堆叠，整体收紧留白（不影响 >768px 桌面） */
@media (max-width: 768px) {
    .member-container {
        flex-direction: column;
        margin: 8px auto 24px;
        gap: 10px;
        padding: 0 12px;
    }

    .member-sidebar {
        width: 100%;
        position: static;
        padding: 10px 10px 12px;
        border-radius: 10px;
    }

    /* 头像 + 昵称横排，收紧间距 */
    .member-sidebar .user-profile {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
        text-align: left;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .member-sidebar .user-avatar {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 48px;
        height: 48px;
        margin: 0;
        border-width: 2px;
        box-shadow: 0 2px 10px rgba(13, 148, 136, 0.12);
    }

    .member-sidebar .avatar-placeholder {
        font-size: 18px;
    }

    .member-sidebar .user-profile h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.2;
        align-self: end;
    }

    .member-sidebar .member-level {
        grid-column: 2;
        grid-row: 2;
        font-size: 10px;
        margin: 0;
        align-self: start;
        line-height: 1.3;
    }

    /* 功能入口三列网格，铺满宽度 */
    .member-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .member-nav .nav-item {
        padding: 8px 6px;
        font-size: 12px;
        border-radius: 8px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.25;
        font-weight: 600;
    }

    .member-nav .nav-item.active {
        box-shadow: 0 2px 10px rgba(13, 148, 136, 0.28);
    }

    .member-content {
        padding: 16px 14px 22px;
        border-radius: 10px;
    }

    .member-content h2 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .stat-card {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 10px;
    }

    .stat-icon {
        font-size: 28px;
    }

    .stat-value {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 12px;
    }

    .content-section {
        margin-bottom: 22px;
    }

    .content-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .empty-state {
        padding: 24px 12px;
        font-size: 14px;
    }

    .venue-list,
    .team-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .venue-item,
    .team-item {
        padding: 12px;
        border-radius: 8px;
    }

    .team-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .team-item > img:first-of-type {
        float: none !important;
        margin: 0 0 8px 0 !important;
        align-self: flex-start;
    }

    .team-item h4 {
        margin-bottom: 6px;
    }

    .venue-item p,
    .team-item p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    /* 订单表横向滑动，保持 table 语义 */
    .content-section:has(.data-table) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        font-size: 12px;
        min-width: 480px;
    }

    .data-table th,
    .data-table td {
        padding: 8px;
        white-space: nowrap;
    }
}

/* 窄屏：再收边距；导航四列更省纵向空间 */
@media (max-width: 480px) {
    .member-container {
        margin: 6px auto 20px;
        padding: 0 10px;
        gap: 8px;
    }

    .member-sidebar {
        padding: 8px 8px 10px;
    }

    .member-sidebar .user-avatar {
        width: 44px;
        height: 44px;
    }

    .member-sidebar .avatar-placeholder {
        font-size: 16px;
    }

    .member-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .member-nav .nav-item {
        padding: 7px 5px;
        font-size: 11px;
        min-height: 38px;
    }

    .member-content {
        padding: 14px 12px 18px;
    }

    .member-content h2 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .stat-card {
        padding: 12px 14px;
    }
}

/* 会员首页 · 社交平台胶囊按钮（与个人信息中填写的链接一致） */
.member-social-section .member-social-hint {
    margin: 0 0 4px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.member-social-section .member-social-hint a {
    color: #0369a1;
    font-weight: 600;
    text-decoration: none;
}

.member-social-section .member-social-hint a:hover {
    text-decoration: underline;
}

.member-social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

a.member-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

a.member-social-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

a.member-social-pill--unset {
    opacity: 0.62;
    box-shadow: none;
}

a.member-social-pill--unset:hover {
    opacity: 0.85;
}

.member-social-pill__icon {
    font-size: 16px;
    line-height: 1;
}

/* 各平台主色 */
.member-social-pill--douyin {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.member-social-pill--bilibili {
    background: linear-gradient(135deg, #00a1d6 0%, #0084b8 100%);
}

.member-social-pill--xhs {
    background: linear-gradient(135deg, #ff2442 0%, #e11d48 100%);
}

.member-social-pill--kuaishou {
    background: linear-gradient(135deg, #ff6600 0%, #ea580c 100%);
}

@media (max-width: 480px) {
    .member-social-pills {
        gap: 8px;
    }

    a.member-social-pill {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* 会员首页 body.member-home：统计卡横排、区块收紧，移动端更紧凑精致 */
@media (max-width: 768px) {
    body.member-home .member-content > h2 {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    body.member-home .stats-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 16px;
    }

    body.member-home .stat-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 6px;
        gap: 4px;
        border-radius: 10px;
        min-height: 0;
    }

    body.member-home .stat-icon {
        font-size: 22px;
        line-height: 1;
    }

    body.member-home .stat-info {
        min-width: 0;
    }

    body.member-home .stat-value {
        font-size: 19px;
        margin-bottom: 2px;
        line-height: 1.1;
    }

    body.member-home .stat-label {
        font-size: 10px;
        line-height: 1.25;
        opacity: 0.95;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.member-home .content-section {
        margin-bottom: 18px;
    }

    body.member-home .content-section h3 {
        margin-bottom: 8px;
        padding-bottom: 6px;
        font-size: 0.95rem;
        letter-spacing: 0.02em;
    }

    body.member-home .empty-state {
        padding: 18px 12px;
        font-size: 13px;
    }

    body.member-home .venue-list,
    body.member-home .team-list {
        gap: 10px;
    }

    body.member-home .venue-item,
    body.member-home .team-item {
        padding: 12px 14px;
        border-radius: 10px;
    }

    body.member-home .venue-item h4,
    body.member-home .team-item h4 {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

    body.member-home .venue-item p,
    body.member-home .team-item p {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    body.member-home .venue-item .btn,
    body.member-home .team-item .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    body.member-home .member-social-section .member-social-hint {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 0;
    }

    body.member-home .member-social-pills {
        margin-top: 8px;
        gap: 6px;
    }

    body.member-home a.member-social-pill {
        padding: 7px 11px;
        font-size: 12px;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }

    body.member-home .member-social-pill__icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body.member-home .stats-cards {
        gap: 6px;
    }

    body.member-home .stat-card {
        padding: 10px 4px;
    }

    body.member-home .stat-icon {
        font-size: 18px;
    }

    body.member-home .stat-value {
        font-size: 17px;
    }

    body.member-home .stat-label {
        font-size: 9px;
    }

    body.member-home .content-section {
        margin-bottom: 14px;
    }

    body.member-home .member-social-pills {
        gap: 5px;
    }

    body.member-home a.member-social-pill {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* 打卡记录页：侧栏与主内容之间的「扫码打卡」入口 */
.member-checkins-main-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkin-scan-cta {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06);
}

button.checkin-scan-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.checkin-scan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 55%, #06b6d4 100%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.checkin-scan-btn:hover,
.checkin-scan-btn:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
    outline: none;
}

.checkin-scan-btn__icon {
    font-size: 1.25em;
    line-height: 1;
}

.checkin-scan-hint {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

.checkin-scan-hint strong {
    color: #0f766e;
    font-weight: 600;
}

.checkin-scan-block--desktop {
    display: none;
    text-align: center;
}

.checkin-scan-desktop-msg {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.checkin-scan-venue-link {
    display: inline-block;
}

@media (min-width: 769px) {
    body.member-checkins-page .checkin-scan-block--mobile {
        display: none !important;
    }
    body.member-checkins-page .checkin-scan-block--desktop {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .checkin-scan-block--desktop {
        display: none !important;
    }
    .checkin-scan-block--mobile {
        display: block;
    }
}

/* 微信内：打卡区仅一块（微信扫一扫或降级说明），由 PHP 分支输出 */
.checkin-scan-block--wechat-only {
    display: block;
    text-align: center;
}

.checkin-scan-block--wechat-only .checkin-scan-wechat-lead,
.checkin-scan-block--wechat-only .checkin-scan-wechat-list {
    text-align: left;
}

.checkin-scan-wechat-lead {
    text-align: left !important;
    margin-bottom: 8px;
}

.checkin-scan-wechat-list {
    margin: 0 0 12px;
    padding-left: 1.2em;
    font-size: 12px;
    line-height: 1.55;
    color: #475569;
}

.checkin-scan-wechat-list li {
    margin-bottom: 6px;
}

.checkin-scan-wechat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* 扫码打卡 · 摄像头弹层 */
.checkin-scan-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(15, 23, 42, 0.5);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.checkin-scan-modal-overlay.is-open {
    display: flex;
}

.checkin-scan-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.checkin-scan-modal-hd {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkin-scan-modal-hd h3 {
    margin: 0;
    font-size: 16px;
    color: #0f766e;
}

.checkin-scan-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 4px 8px;
}

.checkin-scan-modal-bd {
    padding: 12px 14px 16px;
}

.checkin-scan-viewport {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    /* 视频未加载时仍保留取景区域，避免手机 WebView 高度塌为 0 */
    aspect-ratio: 4 / 3;
    min-height: 200px;
    max-height: min(56vh, 360px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@supports not (aspect-ratio: 1) {
    .checkin-scan-viewport {
        min-height: min(52vh, 280px);
    }
}

.checkin-scan-viewport::after {
    content: '';
    position: absolute;
    inset: 12% 18%;
    border: 2px solid rgba(45, 212, 191, 0.65);
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.35);
    pointer-events: none;
    z-index: 1;
}

.checkin-scan-status {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
    min-height: 2.5em;
}

#checkinScanVideo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #0f172a;
    object-fit: cover;
}

.checkin-scan-modal-ft {
    padding: 10px 14px 14px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

/* 立即打卡 · 主按钮强调 */
.checkin-scan-btn--pulse {
    position: relative;
    overflow: visible;
    animation: checkin-btn-pulse 2.4s ease-in-out infinite;
}

@keyframes checkin-btn-pulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    }
    50% {
        box-shadow: 0 6px 22px rgba(13, 148, 136, 0.5), 0 0 0 4px rgba(45, 212, 191, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkin-scan-btn--pulse {
        animation: none;
    }
}

a.checkin-scan-btn.checkin-scan-btn--link {
    display: inline-flex;
    width: auto;
    min-width: 200px;
    padding: 12px 28px;
}

.checkin-link-venue-muted {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
}

.checkin-link-venue-muted:hover {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
}

.checkin-scan-wechat-actions .btn-copy-page {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 999px;
}

/* 打卡结果弹窗（本页 AJAX 反馈） */
.checkin-result-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10070;
    background: rgba(15, 23, 42, 0.55);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.checkin-result-overlay.is-open {
    display: flex;
}

.checkin-result-card {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px 22px;
    text-align: center;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.checkin-result-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 56px;
    font-weight: 800;
}

.checkin-result-card.is-success .checkin-result-icon {
    background: linear-gradient(145deg, #ccfbf1, #99f6e4);
    color: #0f766e;
}

.checkin-result-card.is-error .checkin-result-icon {
    background: linear-gradient(145deg, #fee2e2, #fecaca);
    color: #b91c1c;
}

.checkin-result-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.checkin-result-msg {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.checkin-result-ok {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.checkin-result-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
}

/* 打卡记录页：统计卡与会员首页一致，移动端一行三列、更紧凑 */
@media (max-width: 768px) {
    body.member-checkins-page .member-checkins-main-col {
        width: 100%;
        max-width: 100%;
    }

    body.member-checkins-page .member-content > h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    body.member-checkins-page .stats-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }

    body.member-checkins-page .stat-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 6px;
        gap: 4px;
        border-radius: 10px;
        min-height: 0;
    }

    body.member-checkins-page .stat-icon {
        font-size: 22px;
        line-height: 1;
    }

    body.member-checkins-page .stat-value {
        font-size: 19px;
        margin-bottom: 2px;
        line-height: 1.1;
    }

    body.member-checkins-page .stat-label {
        font-size: 10px;
        line-height: 1.25;
        opacity: 0.95;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.member-checkins-page .content-section {
        margin-bottom: 18px;
    }

    body.member-checkins-page .content-section h3 {
        margin-bottom: 8px;
        padding-bottom: 6px;
        font-size: 0.95rem;
    }

    .checkin-scan-cta {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .checkin-scan-btn {
        padding: 11px 16px;
        font-size: 15px;
    }

    .checkin-scan-hint {
        font-size: 11px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    body.member-checkins-page .stats-cards {
        gap: 6px;
    }

    body.member-checkins-page .stat-card {
        padding: 10px 4px;
    }

    body.member-checkins-page .stat-icon {
        font-size: 18px;
    }

    body.member-checkins-page .stat-value {
        font-size: 17px;
    }

    body.member-checkins-page .stat-label {
        font-size: 9px;
    }
}

