﻿/* ========== WAAT — OAT-WHITE / DEEP-NAVY / GOLD THEME ========== */
:root {
    /* Backgrounds — near-white with subtle warmth */
    --bg-primary: #FDFCFA;
    --bg-secondary: #F6F4EF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F6F4EF;
    --bg-nav: rgba(253, 252, 250, 0.88);
    --bg-nav-scroll: rgba(253, 252, 250, 0.96);

    /* Accents — navy + gold (ax-on.net 계열 톤매너) */
    --accent-cyan: #1A2238;       /* deep navy — primary accent */
    --accent-blue: #2E3A5F;       /* navy variant */
    --accent-purple: #6B7BA0;
    --accent-pink: #C9A961;       /* warm gold */
    --accent-green: #5B8A72;
    --accent-orange: #C9A961;
    --accent-gold: #C9A961;
    --accent-gold-soft: #E8D9B0;

    /* Text */
    --text-primary: #1A2238;
    --text-secondary: #4A5670;
    --text-muted: #8A8F9E;

    /* Border */
    --border: #EAEAEC;

    /* Glows */
    --glow-cyan: rgba(26, 34, 56, 0.08);
    --glow-blue: rgba(201, 169, 97, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 글로벌 이미지 반응형 — 모바일에서 가로 오버플로 방지 */
img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ========== BACKGROUND — clean pure white ========== */
/* 비네팅·노이즈·컬러 구체 제거. 깔끔한 흰 배경 유지. */
.bg-grid {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--bg-primary);
}

.bg-orb {
    display: none;
}

/* ========== NAV ========== */
nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: var(--bg-nav);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 74, 138, 0.5);
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo .ai {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(26, 34, 56, 0.4);
}

.nav-logo .sc {
    color: var(--text-primary);
}

.brand-num {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    color: #f59e0b !important;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    -webkit-text-fill-color: #f59e0b !important;
}

.nav-logo .brand-num {
    font-size: 1.3rem;
    margin-left: 0.15rem;
}

.footer-logo .brand-num {
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

#nav-login-link,
#nav-signup-link {
    margin-left: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.3rem 0.7rem !important;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-primary) !important;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.01em;
}

.nav-cta:hover {
    color: var(--bg-primary) !important;
    box-shadow: 0 0 25px rgba(26, 34, 56, 0.3);
}

.nav-cta::after { display: none !important; }

.nav-login-btn {
    padding: 0.3rem 0.7rem !important;
    border: 1px solid rgba(201, 169, 97, 0.4);
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.01em;
    color: var(--accent-purple) !important;
    background: rgba(201, 169, 97, 0.08);
    margin-left: 0.4rem;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    border-color: var(--accent-purple);
    background: rgba(201, 169, 97, 0.15);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.2);
}

.nav-login-btn::after { display: none !important; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    /* 모바일 터치 타겟 44x44 확보 */
    min-width: 44px;
    min-height: 44px;
    padding: 0.4rem 0.6rem;
    line-height: 1;
}

/* ========== HERO ========== */
/* hero brand text — 한 줄 (자연 줄바꿈 방지) */
.hero-brand-text { white-space: nowrap; }
@media (max-width: 480px) {
    /* 좁은 화면에서 너무 크면 폰트 축소로 한 줄 유지 */
    .hero-brand-text { font-size: 0.8rem; }
}

.hero {
    position: relative;
    z-index: 1;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5.5rem 2rem 1.5rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(26, 34, 56, 0.08);
    border: 1px solid rgba(26, 34, 56, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-size: clamp(2.5rem, 5.5vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    white-space: nowrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(26, 34, 56, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: rgba(26, 34, 56, 0.05);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat .number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTIONS COMMON ========== */
section {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text .highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
    transform: translateX(8px);
}

.value-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.value-item:nth-child(1) .value-icon { background: rgba(26, 34, 56, 0.1); }
.value-item:nth-child(2) .value-icon { background: rgba(201, 169, 97, 0.1); }
.value-item:nth-child(3) .value-icon { background: rgba(245, 158, 11, 0.1); }
.value-item:nth-child(4) .value-icon { background: rgba(16, 185, 129, 0.1); }

.value-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.value-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== ABOUT ORIGIN LINK ========== */
.about-origin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.about-origin-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* ========== ATTEND BUTTON IN CARD ========== */
.attend-btn-wrap {
    margin-top: 1.5rem;
    text-align: center;
}

/* ========== ATTEND INLINE (under schedule card) ========== */
.attend-inline {
    margin-top: 1.5rem;
    text-align: center;
}

.attend-toggle {
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
}

.attend-form-inline {
    margin-top: 1.5rem;
    text-align: left;
    animation: fadeInUp 0.4s ease forwards;
}

/* ========== ACTIVITIES ========== */
.activities-section {
    background: var(--bg-secondary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.activity-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover {
    border-color: rgba(26, 34, 56, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.activity-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.activity-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 6px;
    background: rgba(26, 34, 56, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(26, 34, 56, 0.15);
}

/* ========== MEMBER TYPES ========== */
.members-section {
    background: var(--bg-secondary);
}

.member-types {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.member-type {
    text-align: center;
    padding: 2rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.member-type:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.member-type .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.member-type h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.member-type p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== SCHEDULE ========== */
.schedule-card {
    background: linear-gradient(135deg, rgba(26, 34, 56, 0.05), rgba(26, 34, 56, 0.05));
    border: 1px solid rgba(26, 34, 56, 0.15);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.schedule-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.schedule-date-label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.schedule-meeting-no {
    display: inline-block;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border: 1.5px solid var(--accent-gold);
    border-radius: 999px;
    margin-bottom: 1rem;
}

.schedule-capacity {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0.6rem 0 1.2rem;
    text-align: center;
}

.schedule-capacity .capacity-remaining {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.4rem;
}

.schedule-date {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* New: 한 줄 날짜 (2026년 3월 5일 (수)) */
.schedule-date-line {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.4rem 0 1.6rem;
    color: var(--text-primary);
}
.schedule-date-line .month { color: var(--accent-cyan); }
.schedule-date-line .day-name {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 0.4em;
}

.schedule-date .month {
    color: var(--accent-cyan);
}

.schedule-date .day-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: baseline;
}

.schedule-time {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.schedule-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
}

.schedule-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.schedule-info-icon {
    width: 40px; height: 40px;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.schedule-info-text .info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-info-text .info-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.schedule-info-text .info-value.provision-value,
.schedule-info-text .info-value.description-value {
    font-weight: 500;
    line-height: 1.6;
}
.schedule-info-text .provision-line {
    margin: 0.15rem 0;
    line-height: 1.5;
}
/* 참고사항(입금계좌, ※ 음료 지참, ※ 불편 안내 등) — 글씨 최소화 */
.schedule-info-text .provision-line.provision-note {
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}
/* 장소 옆 회의실 안내 (햇살: 2번 회의실 · 노을/달빛: 5번 회의실) */
.schedule-info-text .info-rooms {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
}
@media (max-width: 480px) {
    .schedule-info-text .info-rooms {
        display: block;
        margin-left: 0;
        margin-top: 0.15rem;
    }
}

.schedule-info-text .info-value a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.schedule-info-text .info-value a:hover {
    text-decoration: underline;
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0;
    width: 2px; height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.48rem; top: 8px;
    width: 12px; height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(26, 34, 56, 0.4);
}

.timeline-item .tl-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 0.3rem;
}

.timeline-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== LOCATION ========== */
.location-section {
    background: var(--bg-secondary);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.location-card.primary {
    border-color: rgba(26, 34, 56, 0.3);
    background: linear-gradient(135deg, rgba(26, 34, 56, 0.05), rgba(26, 34, 56, 0.05));
}

.location-card .loc-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.location-card.primary .loc-badge {
    background: rgba(26, 34, 56, 0.1);
    color: var(--accent-cyan);
}

.location-card.secondary .loc-badge {
    background: rgba(201, 169, 97, 0.1);
    color: var(--accent-purple);
}

.location-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.location-card .loc-address {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.location-card .loc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.location-card .loc-link:hover {
    text-decoration: underline;
}

.location-card .loc-note {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(26, 34, 56, 0.05);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========== MEMBERSHIP & ATTEND FORMS ========== */
.membership-section {
    background: var(--bg-secondary);
}

.attend-section {
    background: var(--bg-primary);
}

.site-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group .required {
    color: var(--accent-cyan);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(26, 34, 56, 0.1);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b82a8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: var(--accent-cyan);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.privacy-agree-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.privacy-agree-label input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 1.05rem;
    padding: 1rem 2rem;
}

.form-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.5rem;
}

.form-status.success {
    color: var(--accent-green);
}

.form-status.error {
    color: var(--accent-pink);
}

.form-status.loading {
    color: var(--accent-cyan);
}

.join-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.join-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.join-method:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.join-method .jm-icon {
    font-size: 1.5rem;
}

.join-method .jm-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.join-method .jm-value {
    font-weight: 700;
}

/* ========== INQUIRY SECTION ========== */
.inquiry-section {
    padding: 5rem 0;
    position: relative;
}
.inquiry-form-wrap {
    max-width: 700px;
    margin: 2rem auto 0;
}

/* ========== PROFILE VIEW ========== */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.profile-info-full {
    grid-column: 1 / -1;
}
.profile-info-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}
.profile-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.profile-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    word-break: break-word;
}
@media (max-width: 600px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER ========== */
footer {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-logo .ai { color: var(--accent-cyan); }

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-since {
    font-family: 'Outfit', sans-serif;
    font-size: 0.90rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.footer-admin {
    margin-left: 2rem;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.3;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.footer-admin:hover {
    opacity: 1;
    color: var(--accent-cyan);
}

.footer-tags {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-tag {
    padding: 0.3rem 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2000;
    background: rgba(0, 10, 30, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 2rem;
    justify-content: center;
    align-items: flex-start;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 3rem auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    /* 모바일에서 긴 폼 스크롤 가능하도록 */
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 1;
    /* 모바일 터치 타겟 44x44 확보 */
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-notice {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1rem auto;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .modal-overlay {
        padding: 1rem;
    }
}

/* ========== FORM HINT ========== */
.form-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== AUTH TABS ========== */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.auth-tab:hover {
    background: rgba(26, 34, 56, 0.05);
    color: var(--text-primary);
}

.auth-tab.active {
    background: linear-gradient(135deg, rgba(26, 34, 56, 0.15), rgba(26, 34, 56, 0.15));
    color: var(--accent-cyan);
}

/* ========== NAV USER MENU ========== */
.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 34, 56, 0.1);
    border: 1px solid rgba(26, 34, 56, 0.2);
    border-radius: 8px;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.nav-user-btn:hover {
    background: rgba(26, 34, 56, 0.15);
    border-color: rgba(26, 34, 56, 0.4);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-dropdown.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(26, 34, 56, 0.1);
    color: var(--accent-cyan);
}

/* ========== LOGIN PROMPT ========== */
.login-prompt-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

#attend-login-prompt {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 34, 56, 0.03);
    border: 1px dashed rgba(26, 34, 56, 0.2);
    border-radius: 16px;
}

/* ========== ATTEND ALREADY ========== */
.attend-already-msg {
    text-align: center;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    color: var(--accent-green);
    font-weight: 600;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    margin-left: 1rem;
}

/* ========== ADMIN PAGE ========== */
.admin-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.admin-header {
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: var(--text-secondary);
}

.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.admin-tab {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.admin-tab:hover {
    background: rgba(26, 34, 56, 0.05);
    color: var(--text-primary);
}

.admin-tab.active {
    background: linear-gradient(135deg, rgba(26, 34, 56, 0.15), rgba(26, 34, 56, 0.15));
    color: var(--accent-cyan);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: fixed;
}

.admin-table th,
.admin-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 멤버 테이블 컬럼 너비 */
#members-table th:nth-child(1),
#members-table td:nth-child(1) { width: 10%; } /* 이름 */
#members-table th:nth-child(2),
#members-table td:nth-child(2) { width: 12%; } /* 전화번호 */
#members-table th:nth-child(3),
#members-table td:nth-child(3) { width: 20%; } /* 이메일 */
#members-table th:nth-child(4),
#members-table td:nth-child(4) { width: 45%; white-space: normal; } /* 관심분야 */
#members-table th:nth-child(5),
#members-table td:nth-child(5) { width: 10%; } /* 유형 */
#members-table th:nth-child(6),
#members-table td:nth-child(6) { width: 10%; } /* 가입일 */
#members-table th:nth-child(7),
#members-table td:nth-child(7) { width: 8%; } /* 관리 */

.admin-table th {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(26, 34, 56, 0.05);
}

.admin-table td {
    color: var(--text-secondary);
}

.admin-table tr:hover td {
    background: rgba(26, 34, 56, 0.03);
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.admin-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-search {
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.admin-search:focus {
    border-color: var(--accent-cyan);
}

.admin-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.admin-badge.inactive {
    background: rgba(255, 61, 139, 0.15);
    color: var(--accent-pink);
}

.admin-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.admin-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* 참여 신청 메모 팝업 */
.attend-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.attend-popup-overlay.open {
    display: flex;
}

.attend-popup-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 450px;
    width: 100%;
    position: relative;
}

.attend-popup-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.attend-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.attend-popup-close:hover {
    color: var(--text-primary);
}

.event-form-card {
    max-width: none;
}

/* 모임/장소 패널 가로 레이아웃 */
.admin-horizontal {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.admin-horizontal .event-form-card {
    position: sticky;
    top: 5rem;
}

.admin-horizontal .event-form-card .form-grid {
    grid-template-columns: 1fr;
}

.admin-horizontal .admin-table {
    table-layout: auto;
}

@media (max-width: 1024px) {
    .admin-horizontal {
        grid-template-columns: 1fr;
    }
    .admin-horizontal .event-form-card {
        position: static;
        top: auto;
    }
}

.attendee-list {
    margin-top: 1rem;
}

/* 문의 상세보기 모달 */
.inquiry-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.inquiry-detail-modal.open {
    display: flex;
}

.inquiry-detail-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.inquiry-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.inquiry-detail-close:hover {
    color: var(--text-primary);
}

.inquiry-detail-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.inquiry-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.inquiry-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.inquiry-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inquiry-detail-value {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.inquiry-detail-message {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 80px;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1100;
    background: transparent;
    pointer-events: none;
}

.scroll-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left center;
}

/* ========== HERO BUBBLES — 배경 말풍선 모티프 (정적) ========== */
.hero-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.hero-bubbles use {
    fill: var(--accent-gold);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

/* ========== TYPING EFFECT ========== */
.typing-active::after {
    content: '|';
    color: var(--accent-cyan);
    animation: blink 0.7s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========== WAVE DIVIDER ========== */
.wave-divider {
    position: relative;
    z-index: 1;
    margin-top: -2px;
    margin-bottom: -2px;
    line-height: 0;
    overflow: hidden;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 24px;
}

/* ========== 3D TILT PERSPECTIVE ========== */
.activity-card,
.value-item,
.location-card,
.member-type {
    transform-style: preserve-3d;
}

/* ========== SCROLL ANIMATION (removed — GSAP handles all animations) ========== */

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-progress {
        display: none !important;
    }

    .hero-subtitle {
        opacity: 1 !important;
    }
}

/* ========== MOBILE NAV MENU ========== */
.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-nav-scroll);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
    .member-types { grid-template-columns: repeat(3, 1fr); }
    .schedule-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .admin-horizontal { grid-template-columns: 1fr; }

    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    /* 모바일 메뉴 열렸을 때 로그인/가입 버튼 */
    .nav-links.show {
        display: flex;
    }
    .nav-links.show #nav-login-link,
    .nav-links.show #nav-signup-link {
        margin-left: 0;
    }
    .nav-links.show .nav-cta {
        text-align: center;
        display: block;
    }
    .nav-links.show .nav-login-btn {
        text-align: center;
        display: block;
    }

    /* 모바일 섹션 간격 */
    section { padding: 3rem 1.5rem; }

    .hero { padding: 6rem 1.5rem 1.5rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat .number { font-size: 1.8rem; }

    .about-grid { grid-template-columns: 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
    .member-types { grid-template-columns: repeat(2, 1fr); }
    .schedule-card { padding: 1.5rem; }
    .schedule-date { font-size: 2.5rem; }
    .location-grid { grid-template-columns: 1fr; }
    .join-methods { flex-direction: column; align-items: center; }
    .form-grid { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }

    /* wave divider 모바일 축소 */
    .wave-divider svg { height: 24px; }

    /* 플로팅 키워드 모바일 숨김 */
    .float-keyword { display: none; }

    /* 모달 모바일 */
    .modal-content {
        margin: 1rem auto;
        padding: 1.5rem;
        border-radius: 16px;
    }
    .modal-overlay { padding: 0.5rem; }
    .modal-title { font-size: 1.4rem; }

    /* 관리자 페이지 모바일 */
    .admin-container { padding: 5rem 1rem 1rem; }
    .admin-tabs { flex-direction: column; }
    .admin-tab { padding: 0.7rem 1rem; }
    .admin-card { padding: 1.2rem; }
    .admin-search { min-width: auto; width: 100%; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th,
    .admin-table td { padding: 0.5rem; }

    /* 모임 관리: 모바일에서는 목록을 위로, 등록 폼은 아래로 */
    .admin-horizontal { display: flex; flex-direction: column; }
    .admin-horizontal > div:first-child { order: 2; }
    .admin-horizontal > div:not(:first-child) { order: 1; }

    /* 사용자 드롭다운 모바일 */
    .nav-user-menu { width: 100%; }
    .nav-user-btn { width: 100%; justify-content: center; }
    .nav-dropdown {
        position: static;
        margin-top: 0.5rem;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    section { padding: 2.5rem 1rem; }

    /* iOS Safari 자동 줌 차단: 모바일에서 폼 입력 폰트 16px 이상 보장 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .member-types { grid-template-columns: 1fr; }
    /* hero-stats: 모바일에서도 가로 유지 (3열 균등) */
    .hero-stats { flex-direction: row; gap: 1rem; justify-content: space-between; }
    .checkbox-grid { grid-template-columns: 1fr; }

    .hero { padding: 5rem 1rem 1rem; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -1px; white-space: normal; }
    .hero-subtitle { font-size: 1rem; }
    .hero-badge { font-size: 0.75rem; margin-bottom: 1rem; }
    .btn-primary, .btn-secondary { font-size: 0.9rem; padding: 0.8rem 1.5rem; }

    .section-title { font-size: 1.6rem; }
    .section-desc { font-size: 0.95rem; margin-bottom: 1.5rem; }

    .schedule-card { padding: 1.2rem; gap: 1rem; }
    .schedule-date { font-size: 2rem; }
    .schedule-time { font-size: 1.2rem; }

    .wave-divider svg { height: 16px; }

    .modal-content { padding: 1.2rem; }

    .timeline { margin-top: 1.5rem; }
    .timeline-item { margin-bottom: 1.5rem; }

    footer { padding: 1.5rem 1rem; }

    /* ===== Speak Up 모바일 — Facebook 모바일 타이포 1:1 매칭 =====
       기준 (Facebook for Mobile / m.facebook.com 2026 기준):
       - 작성자명: 15px / weight 600
       - 타임스탬프: 13px / muted
       - 게시글 본문: 15px / line-height 1.3333
       - 액션 버튼(좋아요/댓글/공유): 15px / weight 600
       - 댓글 작성자: 13px / weight 600
       - 댓글 본문: 15px / line-height 1.3333
       - 댓글 시간: 12px
       - 아바타: 40px
    */
    .posts-container { gap: 0.75rem; }
    .post-card { padding: 12px 16px 4px; border-radius: 8px; }
    .post-form { padding: 1rem; border-radius: 8px; }
    .post-form input,
    .post-form textarea {
        padding: 0.85rem;
        font-size: 16px;
        line-height: 1.35;
    }
    .post-form textarea { min-height: 130px; }
    .post-form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .post-form-actions .btn-primary,
    .post-form-actions .btn-secondary {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 15px;
        min-height: 48px;
    }
    .post-write-open-btn {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 15px;
        min-height: 48px;
    }

    /* 게시글 헤더 */
    .post-header { flex-wrap: nowrap; gap: 0.5rem; margin-bottom: 8px; align-items: flex-start; }
    .post-author-info { gap: 8px; min-width: 0; flex: 1; }
    .post-avatar { width: 40px; height: 40px; font-size: 15px; }
    .post-author { font-size: 15px; font-weight: 600; line-height: 1.2; }
    .post-time { font-size: 13px; margin-top: 1px; line-height: 1.2; }
    .post-actions { flex-shrink: 0; gap: 6px; }
    .post-action-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 36px;
        min-width: 44px;
        font-weight: 600;
        -webkit-tap-highlight-color: rgba(24,119,242,0.15);
        touch-action: manipulation;
    }

    /* 게시글 본문 — 제목·본문 동일 크기, 제목만 볼드 */
    .post-body { margin-bottom: 8px; }
    .post-title { font-size: 15px; line-height: 1.25; font-weight: 700; margin-bottom: 4px; word-break: break-word; }
    .post-content { font-size: 15px; line-height: 1.25; font-weight: 400; word-break: break-word; }

    /* 푸터 (좋아요/댓글/공유) */
    .post-footer {
        flex-direction: row;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: visible;
        padding-top: 8px;
        margin-top: 4px;
    }
    .post-reactions { gap: 2px; flex-shrink: 0; }
    .post-footer-right { gap: 2px; flex-shrink: 0; margin-left: auto; }
    .reaction-btn {
        padding: 8px 10px;
        font-size: 15px;
        font-weight: 600;
        min-height: 36px;
        border-radius: 6px;
    }
    .comment-toggle-btn {
        padding: 8px 10px;
        font-size: 15px;
        font-weight: 600;
        min-height: 36px;
        border-radius: 6px;
    }
    .post-share-btn { padding: 8px 10px; font-size: 15px; font-weight: 600; min-height: 36px; }
    .post-view-count { font-size: 13px; padding: 4px 6px; }

    /* 댓글 영역 */
    .comments-section { margin-top: 8px; padding-top: 8px; }
    .comment-item { padding: 8px 0; }
    .comment-header { gap: 8px; margin-bottom: 2px; }
    .comment-author { font-size: 13px; font-weight: 600; }
    .comment-time { font-size: 12px; }
    .comment-reply-btn,
    .comment-delete-btn { padding: 2px 8px; font-size: 12px; font-weight: 600; }
    .comment-body { font-size: 15px; line-height: 1.25; }
    .comment-reply { margin-left: 24px; padding-left: 12px; }

    /* 댓글/답글 폼 */
    .comment-form,
    .reply-form {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .comment-input {
        width: 100%;
        padding: 10px 12px;
        font-size: 16px;
        border-radius: 18px;
    }
    .comment-form .comment-submit-btn,
    .reply-form .comment-submit-btn {
        width: 100%;
        padding: 10px;
        font-size: 15px;
        font-weight: 600;
        min-height: 44px;
    }

    /* 페이지 헤더 */
    .speakup-page .section-title { font-size: 20px; }
    .speakup-page .section-desc { font-size: 13px; }
    .post-login-prompt { padding: 16px; font-size: 15px; border-radius: 8px; }
}

@media (max-width: 480px) {
    /* FB는 480px 이하에서도 본문 15px 유지 — 카드 패딩만 약간 좁힘 */
    .post-card { padding: 12px 14px 4px; }
    .post-form { padding: 14px; }
}

/* ========== SPEAK UP — LIGHT THEME ========== */
body.speakup-light {
    background: #ffffff;
    color: #1a1a2e;
}

body.speakup-light nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e0e0e0;
}

body.speakup-light .nav-logo .sc { color: #1a1a2e; }
body.speakup-light .nav-links a { color: #555; }
body.speakup-light .nav-links a:hover { color: var(--accent-blue); }
body.speakup-light .nav-user-btn {
    background: rgba(26, 34, 56, 0.08);
    border-color: rgba(26, 34, 56, 0.2);
    color: var(--accent-blue);
}
body.speakup-light .nav-dropdown {
    background: #fff;
    border-color: #e0e0e0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
body.speakup-light .dropdown-item { color: #555; }
body.speakup-light .dropdown-item:hover {
    background: rgba(26, 34, 56, 0.06);
    color: var(--accent-blue);
}

body.speakup-light .speakup-page { background: #ffffff; }

body.speakup-light .section-label { color: var(--accent-blue); }
body.speakup-light .section-title { color: #1a1a2e; }
body.speakup-light .section-desc { color: #666; }

body.speakup-light .post-form {
    background: #f8f9fa;
    border-color: #e0e0e0;
}

body.speakup-light .post-form input,
body.speakup-light .post-form textarea {
    background: #ffffff;
    border-color: #d0d0d0;
    color: #1a1a2e;
}

body.speakup-light .post-form input::placeholder,
body.speakup-light .post-form textarea::placeholder { color: #999; }

body.speakup-light .post-form input:focus,
body.speakup-light .post-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(26, 34, 56, 0.1);
}

body.speakup-light .post-card {
    background: #ffffff;
    border-color: #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.speakup-light .post-card:hover {
    border-color: rgba(26, 34, 56, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.speakup-light .post-avatar {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
}

body.speakup-light .post-author { color: #1a1a2e; }
body.speakup-light .post-time { color: #999; }
body.speakup-light .post-title { color: #1a1a2e; }
body.speakup-light .post-content { color: #444; }

body.speakup-light .post-action-btn {
    border-color: #d0d0d0;
    color: #333;
}
body.speakup-light .post-action-btn:hover {
    border-color: #333;
    color: #000;
}
body.speakup-light .post-delete-btn {
    color: #333;
}
body.speakup-light .post-delete-btn:hover {
    border-color: #333;
    color: #000;
}

body.speakup-light .post-footer { border-top-color: #eee; }

body.speakup-light .reaction-btn,
body.speakup-light .comment-toggle-btn {
    border-color: #ccc;
    color: #333;
}

body.speakup-light .reaction-btn:hover,
body.speakup-light .comment-toggle-btn:hover {
    border-color: #999;
    color: #000;
}

body.speakup-light .like-btn.active {
    border-color: #333;
    background: rgba(0, 0, 0, 0.06);
    color: #000;
}

body.speakup-light .dislike-btn.active {
    border-color: #333;
    background: rgba(0, 0, 0, 0.06);
    color: #000;
}

body.speakup-light .comments-section { border-top-color: #eee; }
body.speakup-light .comment-item { border-bottom-color: #f0f0f0; }
body.speakup-light .comment-reply { border-left-color: #ddd; }
body.speakup-light .comment-author { color: #333; font-weight: 700; }
body.speakup-light .comment-time { color: #666; }
body.speakup-light .comment-body { color: #333; }

body.speakup-light .comment-reply-btn,
body.speakup-light .comment-delete-btn {
    border-color: #ccc;
    color: #333;
}

body.speakup-light .comment-reply-btn:hover,
body.speakup-light .comment-delete-btn:hover {
    border-color: #999;
    color: #000;
}

body.speakup-light .comment-input {
    background: #f8f9fa;
    border-color: #d0d0d0;
    color: #1a1a2e;
}
body.speakup-light .comment-input::placeholder { color: #999; }
body.speakup-light .comment-input:focus { border-color: var(--accent-blue); }

body.speakup-light .btn-primary {
    background: #222;
    color: #fff;
}

body.speakup-light .btn-primary:hover {
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.speakup-light .btn-secondary {
    color: #333;
    border: 2px solid #333;
    background: #fff;
}

body.speakup-light .btn-secondary:hover {
    color: #000;
    border-color: #000;
    background: #f0f0f0;
}

body.speakup-light .post-login-prompt {
    background: rgba(26, 34, 56, 0.04);
    border-color: rgba(26, 34, 56, 0.2);
    color: #666;
}

body.speakup-light .speakup-empty { color: #999; }

body.speakup-light .post-link { color: var(--accent-blue); word-break: break-all; }
body.speakup-light .post-link:hover { text-decoration: underline; }

.post-link { color: var(--accent-cyan); text-decoration: none; word-break: break-all; }
.post-link:hover { text-decoration: underline; }

.post-write-btn-wrap { margin-bottom: 2rem; }
.post-write-open-btn { padding: 0.8rem 2rem; font-size: 1rem; }

body.speakup-light .form-status.success { color: var(--accent-green); }
body.speakup-light .form-status.error { color: var(--accent-pink); }
body.speakup-light .form-status.loading { color: var(--accent-blue); }

body.speakup-light footer {
    background: #f8f9fa;
    border-top-color: #e0e0e0;
}
body.speakup-light .footer-logo .ai { color: var(--accent-blue); }
body.speakup-light .footer-text,
body.speakup-light .footer-since { color: #888; }

body.speakup-light .mobile-menu-btn { color: #1a1a2e; }
body.speakup-light .nav-links.show {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: #e0e0e0;
}

/* ========== SPEAK UP — MAIN PREVIEW ========== */
.speakup-preview-section {
    background: var(--bg-secondary);
}

.speakup-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.speakup-preview-card {
    display: block;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.speakup-preview-card:hover {
    border-color: rgba(26, 34, 56, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.spc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.spc-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.spc-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.spc-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spc-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.speakup-preview-more {
    text-align: center;
    margin-top: 1rem;
}

.speakup-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* ========== SPEAK UP — BOARD PAGE ========== */
.speakup-page {
    padding-top: 6rem;
}

.speakup-nav-active {
    color: var(--accent-cyan) !important;
}

.speakup-nav-active::after {
    width: 100% !important;
}

/* Post Form */
.post-form-wrap {
    margin-bottom: 2rem;
}

.post-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem 1.5rem 0.8rem;
}

.post-form .form-group {
    margin-bottom: 0.8rem;
}

.post-form input,
.post-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px; /* iOS Safari가 포커스 시 자동 줌 하지 않도록 */
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.post-form input:focus,
.post-form textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(26, 34, 56, 0.1);
}

.post-form input::placeholder,
.post-form textarea::placeholder {
    color: var(--text-muted);
}

/* 내용 입력칸 — 글자 수에 따라 JS(spAutoGrow)가 높이를 조절. 수동 리사이즈 비활성. */
.post-form textarea#post-content {
    resize: none;
    min-height: 110px;
    overflow-y: hidden;
    line-height: 1.6;
    transition: border-color 0.3s ease, height 0.12s ease;
}

.post-form-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.post-form-actions .btn-primary,
.post-form-actions .btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.post-submit-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.post-form .form-status {
    margin-top: 0.3rem;
    min-height: 0;
}

.post-login-prompt {
    text-align: center;
    padding: 1.5rem;
    background: rgba(26, 34, 56, 0.03);
    border: 1px dashed rgba(26, 34, 56, 0.2);
    border-radius: 16px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.speakup-login-link {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
}

.speakup-login-link:hover {
    text-decoration: underline;
}

/* Post Card */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.post-card:hover {
    border-color: rgba(26, 34, 56, 0.2);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.post-author {
    font-weight: 600;
    font-size: 0.95rem;
}

.post-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-actions {
    display: flex;
    gap: 0.3rem;
}

.post-action-btn {
    padding: 0.3rem 0.7rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.post-action-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.post-delete-btn:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.post-body {
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Post Footer — Reactions & Comments Toggle */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.post-reactions {
    display: flex;
    gap: 0.5rem;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.reaction-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.reaction-btn.active {
    border-color: var(--accent-cyan);
    background: rgba(26, 34, 56, 0.1);
    color: var(--accent-cyan);
}

.like-btn.active {
    border-color: var(--accent-blue);
    background: rgba(26, 34, 56, 0.1);
    color: var(--accent-blue);
}

.dislike-btn.active {
    border-color: var(--accent-pink);
    background: rgba(255, 61, 139, 0.1);
    color: var(--accent-pink);
}

.post-footer-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-view-count {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
}

.post-share-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.post-share-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

@keyframes postHighlight {
    0%   { box-shadow: 0 0 0 3px var(--accent-cyan); }
    100% { box-shadow: none; }
}

.post-highlighted {
    animation: postHighlight 3s ease-out;
}

.comment-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.comment-toggle-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

/* Comments Section */
.comments-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.comments-list {
    margin-bottom: 1rem;
}

.comment-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(10, 74, 138, 0.3);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-reply {
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comment-reply-btn,
.comment-delete-btn {
    padding: 0.15rem 0.5rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.comment-reply-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.comment-delete-btn:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.comment-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comment Form */
.comment-form-wrap {
    margin-top: 0.5rem;
}

.comment-form,
.reply-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.comment-input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px; /* iOS Safari 자동 줌 방지 */
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.comment-input:focus {
    border-color: var(--accent-cyan);
}

.comment-input::placeholder {
    color: var(--text-muted);
}

.comment-submit-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.reply-form-wrap {
    margin-top: 0.5rem;
}

/* Load More */
.load-more-wrap {
    text-align: center;
    margin-top: 2rem;
}

/* Privacy Policy Page */
.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}

.privacy-section p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.privacy-section li {
    color: #444;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Responsive — Board page (이전 작은 폰트 블록 — 새 큰 폰트 블록으로 대체됨) */
@media (max-width: 768px) {
    .speakup-preview-grid { grid-template-columns: 1fr; }
    .speakup-page { padding-top: 5rem; }
}

/* ========== WAAT 2026-05-09 — light theme overrides + new components ========== */

/* Buttons that previously used dark-on-light contrast — now navy bg needs white text */
.btn-primary,
.nav-cta {
    color: #fff !important;
}
.hero-actions .btn-primary { color: #fff !important; }

/* Background grid/orbs muted on light theme */
.bg-grid { opacity: 0.35; }
.bg-orb { opacity: 0.18; }

/* Nav — 3-zone layout */
nav {
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 6px;
}
.nav-links-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav-links-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}
.nav-links-center li,
.nav-links-right li {
    list-style: none;
}
.nav-links-center a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-links-center a:hover {
    color: var(--accent-gold);
}

/* Section title — 영문 + 한글 병기 */
.section-title .title-ko {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.7em;
    margin-left: 0.4em;
    letter-spacing: 0;
}

/* Section label — gold tint for ax-on tone */
.section-label {
    color: var(--accent-gold) !important;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* Hero badge — softer */
.hero-badge {
    background: rgba(26, 34, 56, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.hero-badge .dot {
    background: var(--accent-gold);
}

/* Hero gradient text — navy → gold */
.hero h1 .gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer — 4 line stack */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-poster {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.footer-poster img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .footer-poster { max-width: 220px; border-radius: 8px; margin-bottom: 0.8rem; }
}
.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}
.footer-links {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--accent-gold);
}
.footer-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-meta a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-muted);
}
.footer-meta a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}
.footer-sep {
    color: var(--text-muted);
    margin: 0 0.4rem;
    opacity: 0.6;
}
.footer-since {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .nav-inner { gap: 0.75rem; }
    .nav-logo-img { height: 34px; }
    .nav-links-center { display: none; }
    .nav-links-right { gap: 0.4rem; }
    .footer-links,
    .footer-meta { font-size: 0.8rem; }
    .section-title .title-ko { display: block; margin-left: 0; font-size: 0.55em; margin-top: 0.3rem; }
}

/* ========== WAAT 2026-05-09 v2 — Auth additions ========== */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.4rem 0 1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fff;
    color: #3c4043;
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-google:hover {
    background: #f7f8fa;
    border-color: #b9bcc2;
    box-shadow: 0 2px 8px rgba(60, 64, 67, 0.1);
}
.btn-google:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-google svg { flex-shrink: 0; }

/* ========== WAAT 2026-05-09 v2 — Hero redesign ========== */

.hero {
    min-height: auto;
    padding: 6rem 2rem 2.5rem;
    display: flex;
    align-items: flex-start;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* Brandline — WAAT 마크 + 풀네임 (두드러지게) */
.hero-brandline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 0 0 1.6rem;
    animation: fadeInUp 0.8s ease forwards;
}
.hero-brand-mark {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--accent-cyan);
    background: linear-gradient(135deg, #1A2238 0%, #1A2238 40%, #C9A961 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.hero-brand-divider {
    color: var(--accent-gold);
    font-weight: 300;
    font-size: 1.2rem;
    opacity: 0.7;
}
.hero-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

/* Headline — 새 클래스 (기존 .hero h1 오버라이드) */
.hero h1.hero-headline {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.025em !important;
    white-space: normal !important;
    color: var(--text-primary) !important;
    margin: 0 auto 1.4rem !important;
    animation: fadeInUp 0.8s ease 0.15s both;
    max-width: 880px;
    -webkit-text-fill-color: var(--text-primary) !important;
}
.hero-headline .hero-accent {
    color: var(--accent-gold);
    font-weight: 800;
    position: relative;
    -webkit-text-fill-color: var(--accent-gold);
}
.hero-headline .hero-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.32em;
    background: rgba(201, 169, 97, 0.22);
    z-index: -1;
    border-radius: 2px;
}

/* Lead — 정체성 카피 (H2급) */
.hero-lead {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.55;
    font-weight: 700;
    color: var(--text-primary);
    max-width: 760px;
    margin: 0 auto 1.4rem;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-lead .lead-accent {
    color: var(--text-primary);
    font-weight: 800;
}

/* Tagline — 한 줄 강조 카피 (테두리 박스 제거, 여백으로 분리) */
.hero-tagline {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 2.4rem auto 2.8rem;
    padding: 0;
    display: block;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-actions {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Stats — 라이트 테마 + 골드 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.75s both;
    text-align: center;
}
.hero-stat { text-align: center; }
.hero-stat .number {
    color: var(--accent-cyan) !important;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-stat .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* btn-primary — navy 배경 + 흰글씨 (라이트 테마) */
.hero-actions .btn-primary {
    background: var(--accent-cyan) !important;
    color: #fff !important;
    padding: 1.2rem 2.6rem;
    border-radius: 10px;
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(26, 34, 56, 0.18);
}
.hero-actions .btn-primary:hover {
    background: #0F1729 !important;
    box-shadow: 0 8px 28px rgba(201, 169, 97, 0.25);
    transform: translateY(-2px);
}

/* Tablet/Mobile */
@media (max-width: 768px) {
    .hero { padding: 5rem 1rem 2rem; min-height: auto; }
    .hero h1.hero-headline { font-size: clamp(1.25rem, 5.2vw, 1.9rem) !important; line-height: 1.32 !important; white-space: nowrap; }
    .hero-brandline { margin-bottom: 1.6rem; gap: 0.4rem 0.7rem; }
    .hero-brand-mark { font-size: 1.4rem !important; }
    .hero-brand-text { font-size: clamp(0.65rem, 3vw, 0.95rem); font-weight: 700; letter-spacing: 0.05em; white-space: nowrap; }
    .hero-brand-divider { display: none; }
    .hero-lead { font-size: clamp(0.85rem, 3.5vw, 1.2rem); line-height: 1.55; font-weight: 700; white-space: nowrap; letter-spacing: -0.01em; }
    .hero-tagline { font-size: clamp(0.72rem, 2.9vw, 1.05rem); padding-left: 0.7rem; font-weight: 700; white-space: nowrap; letter-spacing: -0.015em; }
    .hero-actions .btn-primary { font-size: 1.05rem; padding: 1rem 1.8rem; }
    .hero-actions { margin-bottom: 2rem; }
    /* Stats: 가로 3열 유지 */
    .hero-stats {
        flex-direction: row !important;
        justify-content: space-between;
        gap: 0.5rem !important;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    .hero-stat { flex: 1 1 0; min-width: 0; text-align: center; }
    .hero-stat .number { font-size: 1.4rem !important; }
    .hero-stat .label { font-size: 0.66rem; letter-spacing: 0.05em; }
}

/* Bilingual section subtitle (English alongside Korean H2) */
.section-title-en {
    font-family: 'Outfit', sans-serif;
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-left: 0.65em;
    vertical-align: 0.18em;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .section-title-en { display: block; margin-left: 0; margin-top: 0.4rem; font-size: 0.65rem; vertical-align: baseline; }
}

/* ========== WAAT 3 Time Slot Cards ========== */
.waat-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0 1.4rem;
    width: 100%;
    max-width: 920px;
}
.waat-slot-card {
    background: var(--bg-secondary, #ffffff);
    border: 1.5px solid var(--border, #E8E4DA);
    border-radius: 14px;
    padding: 1.5rem 1rem 1.3rem;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}
.waat-slot-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 28px rgba(201, 169, 97, 0.18);
}
.waat-slot-emoji { font-size: 2.4rem; line-height: 1; }
.waat-slot-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.waat-slot-time {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
}
.info-rooms {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted, #6b7280);
    margin-left: 0.4rem;
    font-weight: 400;
}
.waat-slot-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.btn-primary.waat-slot-btn {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 8px;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.waat-slot-btn.slot-attended {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 8px;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.12);
    color: var(--accent-gold);
    border: 1.5px solid var(--accent-gold);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.waat-slot-btn.slot-attended:hover {
    background: rgba(201, 169, 97, 0.22);
}
.waat-slot-card.is-attended {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 18px rgba(201, 169, 97, 0.18);
}
.waat-slot-card.is-full {
    opacity: 0.78;
    border-color: rgba(220, 80, 100, 0.45);
    background: rgba(220, 80, 100, 0.04);
}
.waat-slot-btn.slot-full {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 8px;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 80, 100, 0.10);
    color: #c84a5e;
    border: 1.5px solid rgba(220, 80, 100, 0.55);
    cursor: not-allowed;
    font-family: inherit;
    letter-spacing: 0.04em;
}
.waat-slot-btn.slot-full:hover {
    background: rgba(220, 80, 100, 0.10);
}
.slot-count.slot-count-full {
    color: #c84a5e;
}
.slot-full-badge {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: #c84a5e;
    background: rgba(220, 80, 100, 0.12);
    border: 1px solid rgba(220, 80, 100, 0.45);
    border-radius: 4px;
    vertical-align: middle;
    white-space: nowrap;
    letter-spacing: 0.05em;
    line-height: 1.3;
}
.slot-count {
    font-size: 0.82em;
    font-weight: 600;
    color: var(--accent-gold);
    margin-left: 0.2em;
}
.waat-slots-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: 600px;
    margin: 0.6rem auto 0;
}
.ga-selected-slot {
    background: rgba(201, 169, 97, 0.1);
    border-left: 3px solid var(--accent-gold);
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.ga-selected-slot:empty { display: none; }

@media (max-width: 768px) {
    .waat-slots { grid-template-columns: 1fr; gap: 0.8rem; max-width: 420px; margin: 1rem auto 1.2rem; }
    .waat-slot-card { padding: 1.2rem 1rem; flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; gap: 0.4rem 0.7rem; }
    .waat-slot-emoji { font-size: 1.8rem; }
    .waat-slot-name { font-size: 1.05rem; }
    .waat-slot-time { font-size: 0.95rem; flex: 1; text-align: right; }
    .waat-slot-tag { width: 100%; margin: 0; font-size: 0.72rem; }
    .btn-primary.waat-slot-btn { width: 100%; margin-top: 0.5rem; }
}

/* Schedule → Location 점프 링크 */
.location-jump-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1.5px dashed var(--accent-cyan);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.location-jump-link:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

/* Location 카드 강조 (점프 시) */
.location-card.loc-highlight {
    animation: locPulse 2.4s ease;
    box-shadow: 0 0 0 3px var(--accent-gold), 0 12px 32px rgba(201, 169, 97, 0.28);
}
@keyframes locPulse {
    0%   { box-shadow: 0 0 0 0   rgba(201, 169, 97, 0); }
    15%  { box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.45), 0 16px 40px rgba(201, 169, 97, 0.32); }
    100% { box-shadow: 0 0 0 0   rgba(201, 169, 97, 0); }
}

/* ========== Identity Choice Modal — Phase 3 (2026-05-10) ========== */
.identity-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.identity-btn-member,
.identity-btn-guest {
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-family: inherit;
}
.identity-btn-guest {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.identity-btn-guest:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(201, 169, 97, 0.06);
}

/* Toast — 회원 신청 완료 알림 */
.app-toast {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: rgba(15, 22, 40, 0.96);
    color: #fff;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border: 1px solid var(--accent-gold);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    max-width: 90vw;
    text-align: center;
    backdrop-filter: blur(8px);
}
.app-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.app-toast.error { border-color: #ff6b6b; }

/* ===== Admin: Event slot rows ===== */
.ev-slots-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ev-slot-row {
    display: grid;
    grid-template-columns: 70px 1fr 100px 14px 100px auto;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.5rem;
}
.ev-slot-row input[type="text"],
.ev-slot-row input[type="time"] {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: inherit;
    font-size: 0.9rem;
}
.ev-slot-row .ev-slot-del {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid rgba(255,107,107,0.4);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
}
.ev-slot-row .ev-slot-del:hover {
    background: rgba(255,107,107,0.1);
}
.ev-slot-row .ev-slot-tilde {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
@media (max-width: 600px) {
    .ev-slot-row { grid-template-columns: 60px 1fr 80px 12px 80px auto; gap: 0.3rem; }
    .ev-slot-row input[type="text"],
    .ev-slot-row input[type="time"] { padding: 0.3rem 0.4rem; font-size: 0.85rem; }
}

/* ============================================================
   Free Talk — Facebook for Mobile 타이포 (cascade 우선순위 확보)
   파일 후반에서 정의되는 데스크탑 기본값을 확실히 덮어쓰기 위해
   파일 끝에 배치한다.
   ============================================================ */
@media (max-width: 768px) {
    /* 제목·본문 동일 크기 (15px), 제목만 볼드. line-height 페북 매칭 */
    .post-card .post-title { font-size: 15px !important; line-height: 1.25 !important; font-weight: 700 !important; margin-bottom: 4px !important; }
    .post-card .post-content { font-size: 15px !important; line-height: 1.25 !important; font-weight: 400 !important; }
    .post-card .post-author { font-size: 15px !important; font-weight: 600; line-height: 1.2; }
    .post-card .post-time { font-size: 13px !important; }
    .post-card .post-avatar { width: 40px; height: 40px; font-size: 15px !important; }
    .post-card .reaction-btn { font-size: 15px !important; font-weight: 600; padding: 8px 10px; min-height: 36px; }
    .post-card .comment-toggle-btn { font-size: 15px !important; font-weight: 600; padding: 8px 10px; min-height: 36px; }
    .post-card .post-share-btn { font-size: 15px !important; font-weight: 600; padding: 8px 10px; min-height: 36px; }
    .post-card .post-view-count { font-size: 13px !important; }
    .post-card .post-action-btn { font-size: 13px !important; }
    .comment-item .comment-author { font-size: 13px !important; font-weight: 600; }
    .comment-item .comment-time { font-size: 12px !important; }
    .comment-item .comment-body { font-size: 15px !important; line-height: 1.25 !important; font-weight: 400 !important; }
    .comment-item .comment-reply-btn,
    .comment-item .comment-delete-btn { font-size: 12px !important; font-weight: 600; }
    .comment-input { font-size: 15px !important; padding: 8px 12px !important; line-height: 1.3 !important; }
    .speakup-page .section-title { font-size: 20px !important; }
    .speakup-page .section-desc { font-size: 13px !important; }

    /* ===== 입력박스 가로폭 최대화 + 페북 작성칸 글씨 크기 ===== */
    /* 1) 페이지 좌우 패딩 최소화 (자유발언 페이지 한정) */
    body section.speakup-page { padding-left: 8px !important; padding-right: 8px !important; }
    .speakup-page .section-inner { padding-left: 0 !important; padding-right: 0 !important; }

    /* 2) 글쓰기 폼 박스 패딩 축소 */
    .post-form { padding: 12px !important; border-radius: 8px !important; }
    .post-form-wrap { margin-left: 0 !important; margin-right: 0 !important; }

    /* 3) input / textarea — 페이스북 m.facebook.com 실측 매칭
       - font-size: 15px (페북 15.2px)
       - line-height: 1.3 (페북 1.3 / 19.76px)
       - padding: 10px 12px (페북 대비 컴팩트)
       - viewport에 maximum-scale=1.0 이므로 iOS 줌 차단됨 */
    .post-form .form-group { margin-bottom: 8px !important; }
    .post-form input[type="text"],
    .post-form input[type="url"],
    .post-form textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        border-radius: 8px !important;
        font-weight: 400 !important;
    }
    .post-form input#post-title {
        font-size: 15px !important;
        font-weight: 500 !important;
    }
    .post-form input#post-fb-url { font-size: 14px !important; }
    .post-form textarea {
        min-height: 130px !important;
        font-size: 15px !important;
    }

    /* 4) 게시글 카드 좌우 패딩도 살짝 축소 */
    .post-card { padding-left: 12px !important; padding-right: 12px !important; }
}

/* ========== 내 신청 현황 박스 ========== */
.my-attend-status {
    margin: 0 0 1rem 0;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.55);
}
.my-attend-status.attended {
    background: linear-gradient(135deg, rgba(34,197,94,0.10), rgba(34,197,94,0.04));
    border-color: rgba(34,197,94,0.45);
}
.my-attend-status.not-attended {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.30);
}
.my-attend-status-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.my-attend-status.attended .my-attend-status-label { color: #16a34a; }
.my-attend-status.not-attended .my-attend-status-label { color: #d97706; }
.my-attend-status-value {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 6px;
}
.my-status-slot-tag {
    display: inline-block;
    margin-right: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34,197,94,0.15);
    color: #16a34a;
    font-weight: 600;
    font-size: 0.85rem;
}
.my-attend-status-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-decoration: none;
}
.my-attend-status-link:hover { text-decoration: underline; }

/* ========== 슬롯 카드 신청자 명단 ========== */
.slot-attendees {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,0,0,0.10);
    text-align: left;
}
.slot-attendees-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.slot-attendees-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.attendee-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,0.05);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}
.attendee-tag.is-me {
    background: rgba(34,197,94,0.20);
    color: #15803d;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
}
.attendee-tag.is-guest {
    background: rgba(99,102,241,0.10);
    color: #4338ca;
}
.attendee-guest-mark {
    display: inline-block;
    padding: 0 4px;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(99,102,241,0.20);
    color: #4338ca;
    border-radius: 4px;
    margin-left: 2px;
}
.slot-attendees-empty {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,0,0,0.10);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* 모바일 */
@media (max-width: 768px) {
    .my-attend-status { padding: 12px 14px; }
    .my-attend-status-label { font-size: 14px; }
    .my-attend-status-value { font-size: 13px; }
    .my-status-slot-tag { font-size: 12px; padding: 2px 8px; }
    .slot-attendees-label { font-size: 11px; }
    .attendee-tag { font-size: 12px; padding: 3px 8px; }
}

/* ========== 내 프로필 페이지 ========== */
.profile-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.profile-row:last-child { border-bottom: none; }
.profile-key {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}
.profile-val {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}
.profile-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 16px;
}
.my-attendances-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.my-att-section-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(22,163,74,0.20);
}
.my-att-section-label.past {
    color: var(--text-muted);
    border-bottom-color: rgba(0,0,0,0.08);
}
.my-att-section-label.cancelled {
    color: #dc2626;
    border-bottom-color: rgba(220,38,38,0.20);
}
.my-att-item.cancelled {
    border-left-color: #dc2626;
    background: rgba(220,38,38,0.03);
    opacity: 0.85;
}
.my-att-status-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}
.my-att-status-badge.cancelled {
    background: rgba(220,38,38,0.10);
    color: #dc2626;
}
.my-att-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid #16a34a;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.my-att-item.past {
    border-left-color: rgba(0,0,0,0.20);
    opacity: 0.75;
}
.my-att-date {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.my-att-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.my-att-emoji { font-size: 1.1rem; }
.my-att-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.my-att-time {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.04);
    padding: 2px 8px;
    border-radius: 6px;
}
.my-att-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.my-att-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}
.my-att-cancel-btn {
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #dc2626;
    cursor: pointer;
    font-weight: 500;
}
.my-att-cancel-btn:hover { background: #fef2f2; border-color: #fca5a5; }
.my-att-cancel-btn:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 768px) {
    .profile-card { padding: 16px 18px; }
    .profile-row { padding: 8px 0; }
    .profile-key { font-size: 0.82rem; }
    .profile-val { font-size: 0.9rem; }
    .my-att-item { padding: 12px 14px; }
    .my-att-date { font-size: 0.88rem; }
}

/* ========== 페이스북 원본 링크 배지 ========== */
.post-fb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 12px;
    background: #1877f2;
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.15s;
}
.post-fb-badge:hover {
    background: #166fe5;
    text-decoration: none;
}
.post-fb-badge.post-threads-badge {
    background: #000;
}
.post-fb-badge.post-threads-badge:hover {
    background: #222;
}
.post-fb-badge svg {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .post-fb-badge {
        font-size: 13px;
        padding: 6px 10px;
        margin-top: 10px;
    }
}

