/* 메인 페이지 출석 마퀴 띠 (헤더 아래) */
.attn-strip {
    background: linear-gradient(90deg, #fff7e6 0%, #fffbeb 50%, #fff7e6 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.35);
    overflow: hidden;
}
.attn-strip-inner {
    display: flex;
    align-items: center;
    height: 38px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 16px;
}
.attn-strip-me {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 13px;
    color: #7c2d12;
    font-weight: 600;
}
.attn-strip-me .btn { padding: 0 10px; height: 26px; min-height: 26px; font-size: 12px; }
.attn-strip-divider {
    flex-shrink: 0;
    width: 1px;
    height: 18px;
    background: rgba(180, 83, 9, 0.25);
}
.attn-strip-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.attn-strip-track {
    display: inline-flex;
    align-items: center;
    gap: 72px;
    animation: attn-scroll 80s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
.attn-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 800;
    color: #92400e;
    background: rgba(180, 83, 9, 0.1);
    padding: 3px 11px;
    border-radius: 999px;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}
.attn-strip-label.rank {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.1);
}
.attn-strip-track:hover { animation-play-state: paused; }
@keyframes attn-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.attn-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #78350f;
    flex-shrink: 0;
}
.attn-strip-item .attn-msg {
    color: #422006;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.attn-strip-item .attn-streak {
    color: #ea580c;
    font-weight: 700;
    font-size: 11.5px;
}
.attn-strip-item .attn-rank {
    color: #b45309;
    font-weight: 800;
    font-size: 11.5px;
}
.attn-strip-cta {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}
.attn-strip-cta:hover { color: #92400e; text-decoration: underline; }

/* 접기 버튼 (띠 우측 끝) */
.attn-strip-toggle {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: #b45309;
    font-size: 13px;
    border-radius: 6px;
    transition: background 0.15s;
}
.attn-strip-toggle:hover {
    background: rgba(180, 83, 9, 0.1);
    color: #78350f;
}

/* 접힘 상태 — 띠 자체 숨김 */
.attn-strip.collapsed { display: none; }

/* 펴기 fab (접힌 상태에서만 표시) */
.attn-strip-expand {
    position: fixed;
    top: 76px; /* 헤더 64px + 여백 */
    right: 14px;
    z-index: 25;
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    border: 1px solid #d97706;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(180, 83, 9, 0.25);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: transform 0.15s, box-shadow 0.15s;
}
.attn-strip-expand:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(180, 83, 9, 0.35);
}
.attn-strip-expand[hidden] { display: none; }

/* 모바일도 데스크탑과 동일하게 마퀴 흘러감 */
