/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #4f46e5;
    --accent-light: #ede9fe;
    --bg: #f8f8fb;
    --bg-card: #ffffff;
    --text: #18181b;
    --text-2: #52525b;
    --text-3: #a1a1aa;
    --border: #e4e4e7;
    --radius: 10px;
    --trans: 0.2s ease;
}

body {
    font-family: 'Pretendard', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* ===== Page Header — compact strip ===== */
.page-header {
    padding: 14px 0 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.page-header-inner {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.page-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 2px 8px;
    border-radius: 20px;
}

.page-subtitle {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 3px;
}

/* ===== Section ===== */
.section {
    margin-bottom: 16px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-3);
    margin-bottom: 10px;
}

/* ===== Overview Grid ===== */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.overview-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
}

.overview-card .oc-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.overview-card .oc-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

/* ===== Info Strip ===== */
.info-strip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ===== Theme Table ===== */
.theme-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.theme-row {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    align-items: start;
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    gap: 16px;
    transition: background var(--trans);
}

.theme-row:last-child {
    border-bottom: none;
}

.theme-row:hover {
    background: #fafafa;
}

.theme-day {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}

.theme-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.theme-desc {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.5;
}

.theme-points {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.theme-point {
    font-size: 12px;
    color: var(--text-2);
    padding: 3px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.4;
}

.theme-point:last-child {
    border-bottom: none;
}

/* ===== Host Logo Grid ===== */
.host-logo-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.host-logo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    min-width: 140px;
    flex: 1;
    text-decoration: none;
    transition: box-shadow var(--trans), border-color var(--trans);
    cursor: pointer;
    min-height: 70px;
}

.host-logo-card:hover {
    border-color: #a5b4fc;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.host-logo-card.leader {
    border-color: #86efac;
    background: #f0fdf4;
}

.host-logo-card.leader:hover {
    border-color: #4ade80;
}

.host-logo-card img {
    max-height: 32px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter var(--trans);
}

.host-logo-card:hover img {
    filter: grayscale(0);
}

.logo-img-wrap {
    width: 80px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.logo-img-wrap img {
    max-height: 36px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter var(--trans);
}

.host-logo-card:hover .logo-img-wrap img {
    filter: grayscale(0);
}

.logo-initial {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.logo-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
    text-align: center;
    line-height: 1.3;
}

.host-role-badge {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-3);
}

.host-role-badge.leader-badge {
    color: #16a34a;
}

.budget-strip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-2);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .theme-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .budget-strip {
        flex-direction: column;
        gap: 6px;
    }
}